Text gets blurry in popup selection with two monitors

I have two monitors with different resolution and scale coefficient. which is configured with
# 4k with scale 2
monitor=DP-1,3840x2160,0x0,2
# 1080P with scale 1
monitor=eDP-1,1920x1080@144,1920x0,1

And I launched pavucontrol (a wayland-native app) in my 4k monitor, then select port, the text in popup is blurry.

An interesting thing is that if I add a small scale coefficient (e.g. 1.0001) to my 1080P monitor, text will not be blurry. But if the scale coefficient is less or equal to 1, text gets blurry.

I can reproduce the bug. Another thing I noticed is that only GTK applications (e.g. evince, nemo) have the problem. The popup in Qt applications (e.g. Dolphin) is not blurry.
I can confirm that if I add a small scale coefficient (e.g. 1.0001) to the 1080P monitor, text will not be blurry.
Both menu popups and tooltip popups are affected.

My Hyprland config about monitors:
monitor = eDP-1,1920x1080,3072x648,1
monitor = DP-1,3840x2160,0x0,1.25

Hyprland Version:
Hyprland, built from branch main at commit ab5497a0c9e9269b1036a0bede42cbd0bbfd94b9 dirty (input: properly track xdg surfaces' geometry in vectorToSurfaceLocal).
Tag: v0.31.0-61-gab5497a0

flags: (if any)
debug

It doesn't seem to be an Hyprland issue on my end. I tried these version combinations:

Fcitx5: [5.0.23, 5.11]
Hyprland: [0.31 at commit 4a4e13f8acedd2dc44236deed13fd47096cbe508, 0.32 at commit 2e26542e3bba3533e71e13f2257823d96da2318a]

5.11 Fcitx5 has the issue regardless of Hyprland versions and 5.0.23 Fcitx5 doesn't have the issue. I worked around the issue by pinning fcitx5 version to 5.0.23 in on NixOS like this

Update: Disabling "Enable fractional scale under Wayland" in the Fcitx5 Classic User Interface addons fixes the issue on 2X scale on 5.11 Fcitx5.

This is a hyprland issue, not a fcitx5 bug: env WAYLAND_DEBUG=1 fcitx5 shows that a preferred_scale of 120 (which means a scale of 1 in this context) is sent by hyprland, even though scaling is enabled on the monitor.
fcitx5_pr.log

is this still a thing?

Yes, it's still blurry on 0.40

It seems this issue has been fixed. If anyone encountered again, please leave a comment with reproduce log or open a new issue. thanks.


I can't provision, I get an error in "TASK: [Configure host machine drush aliases.]"

When I run provision i got this error:
Ansible version: 1.8.2
Vagrant version: 1.7.2
Mac OSX: 10.10.3
TASK: [Configure host machine drush aliases.] *********************************
failed: [drupaldev -> <IP_ADDRESS>] => {"failed": true}
msg: Destination directory /Users/username/.drush does not exist

FATAL: all hosts have already failed -- aborting

PLAY RECAP ********************************************************************
           to retry, use: --limit @/Users/username/playbook.retry

drupaldev                  : ok=155  changed=9    unreachable=0    failed=1

Ansible failed to complete successfully. Any error output should be
visible above. Please fix these errors and try again.

Does anyone have an idea what could be wrong?

@jclopez - It seems your ~ alias might not be configured correctly. What is the output of the command echo ~ (if you enter it in your Terminal)?
It should point to, in your case, /Users/jclopez or something like that. Maybe something you have running that's taking over your .profile or .bash_profile is messing with the ~ path?

problably is that Im running fish
 ~/Projects/drupal · (master±)
  ⟩ echo ~
  /Users/jclopez

Same error runing Vagrant provision without fish

should I have to install drush on the host?

Ah... I just realized the task prior to the one that was failing wasn't configured correctly. The above commit should hopefully fix this—can you update your clone to the latest revision and run vagrant provision again to see if it gets past that command?

And no, you don't need to have Drush installed on the host (though that's usually more convenient than having to remain logged into the guest to run drush commands, in my experience).

It worked like a champ with the latest commit.
Thanks and for the advice on Drush

Awesome, glad I could help, and thanks for posting an issue!


No CSS

CSS doesn’t load on mobile (iPhone, Safari)

thanks! just tested it on my iphone and it seems to work. sometimes there is some weird loading error. can you replicate it again?


Swift errors during compilation

Running new Xcode Version 12.0 beta 2.  Gettting Swift compilation errors:

is it works with Xcode 11?

I actually think this is a result of upgrading from 2.9.1 alpha7 -> 3.0.1 rc1.  After upgrading, Swift compilation fails in both Xcode 11 and beta 12.
Searches online seem to indicate that swift files need to be suffixed with .mm and .hh instead of .m and .h.  I looked for a solution to always treat .m and .h files as swift but I don't seem to be able to solve this.
If you have any suggestions let me know.  Otherwise, is it too big of an ask to request that your codebase follow Swift file naming standards?  I don't know if others are dealing with this but for now I'm going to downgrade back to 2.9.1.

Can confirm rolling back to 2.9.1 fixes compile errors.

what your RN version?

have you done this?
https://github.com/syanbo/react-native-agora/blob/master/docs/v3/installation.ios.md#step-1-migrating-to-swift

if you are using auto-linking, pls ignore the Step2

I am using cocopods and have done the npx pod-init, yes.  And yes, I have a swift file.
The RN 0.63 Podfile is quite different so I am not copying and pasting like you are suggesting.  If you need one line from that file (which I'm unaware of) then you might want to update the instructions to specify which that is.  Overwriting the Podfile is bad form.
This still doesn't explain why 3.x doesn't compile but 2.9 compiles?

pls share your react-native info

you can reopen this issue if the problem still exists.


To do branch

Proposal for a new topic revealing the new To Do feature integrated in ERP.net
The article describes key strong points including:
•	What problems is To Do targeting
•	How it differs from specialized comprehensive software modules for project management and implementation
•	Why it is important for anyone's work model, be it "lone wolf" or teamwork-oriented.
•	How it solves problems that are too small, insignificant or hard to track and be addressed elsewhere.
•	Advantages to using conventional paper means or other external apps.
TOC edit: Added To Do in the list of features.

Great article! It's a little to long for my taste, but this could be good to SEO.


Add "Print History" for closed installs

Describe the solution you'd like
Add ability to print a history detail for closed install orders

Implemented as "Print Follow-Up Info" feature in merge #15


Custom template.md is included in the html export

I'm submitting a ...
[ ] language request
[x] bug report
[ ] feature request
[ ] question about the decisions made in the repository
[ ] question about how to use this project

Summary
Custom template.md is included in the html export

Other information (e.g. detailed explanation, stacktraces, related issues, suggestions how to fix, links for us to have context, eg. StackOverflow, personal fork, etc.)

Would you like to have a PR to fix this?


changed concatenation of strings to f-strings to avoid potential type…

changed concatenation of strings to f-strings to avoid potential type's mismatch and for unify with the rest parts of code

Thanks for this patch :+1:, however we try to avoid trivial code reformatting unless it's a big problem as it creates extra noise in the history.


About the code publishing

When can you release your code? It would be great if you can do it.

I have the same question.


Power Toys Run stopped working

Microsoft PowerToys version
v0.61.1
Running as admin

[X] Yes

Area(s) with issue?
PowerToys Run
Steps to reproduce
alt + space - or any shortcut don't do anything
✔ Expected Behavior
to be working :)
❌ Actual Behavior
nothing
Other Software
No response

/bugreport

PowerToysReport_2022-08-11-01-10-49.zip

Are you still experiencing this issue? /needinfo


Update doc "Adding Internationalization and Localization"

Fixes https://github.com/wso2/docs-apim/issues/6530

@ruthryi , pls send this change to the master branch if you have not done so already.


DesiredOS missing from DAG JDFs

Per Steve Timm HEPCloud jobs need it:

it will never be matched to T3_US_NERSC unless it has a DesiredOS flag set

Maybe we need a "common" JDF template with standard attributes etc that can be included everywhere?


boot2docker init does not check to see if vbox is installed

need to add a isItThere() to the driver interface

Sorry, this repository is long-since deprecated in favor of Docker Toolbox (whose usage is now also discouraged in favor of Docker for Windows and Docker for Mac).


percentile function raises a RuntimeError when given a list of identical values

Hi,
I've come across this issue (At least I think it's an issue)
When I try to calculate a percentile over a list of data which contains only one value (regardless of the number of occurrences it has), a RuntimeError will be raised with the following message:
RuntimeError: Can't find a candidate to return. Debugging info: Rand: <Random number between 0 and 1), Probabilities: [nan, nan, nan, (Depends on the length of the list)]

Is this behaviour expected?
If so, if there's a workaround or maybe a flag I can pass to the function to receive anything other than an error?
Thank you :)

Hi there,
Thanks for finding this bug. We will investigate this and let you know when we derive a solution.
Thanks, Naoise.

Thanks for the update :)
BTW, I've found another case where this issue arises...
If you try to use it with this


is impossible install or bootstrap freebsd (aws marketplace) to opnsense on EC2?

i have install .raw file from opnsense and "instance status check" is failed,
i try another solution, it's bootstrap freebsd (aws marketplace) to opnsense, and still "instance status check" is failed,
NO ONE is successfully, anyone has a documentation, article or anything is help me alot :)
thanks!
~tyo

duplicate https://github.com/opnsense/core/issues/6239#issuecomment-1380037316


Crashes and errors with statestore and CosmosDB.

Expected Behavior
Statestore with cosmosdb occurs crashes on dapr sidecar with Dapr 1.7.4
Using .NET App with Dapr Client for ASP.NET SDK with .Net 6 runtime.
This my dapr component :
apiVersion: dapr.io/v1alpha1
kind: Component
metadata:
  name: shared-statestore
  namespace: azure
spec:
  type: state.azure.cosmosdb
  version: v1
  metadata:
  - name: url
    value: https://XXXXXXXXXXXXXXX.azure.com:443/
  - name: masterKey
    value: XXXXXXXXXX
  - name: database
    value: rec-statestores
  - name: collection
    value: shared-state
  - name: keyPrefix
    value: none

Actual Behavior
The dapr process crash probably when calling StateStore on CosmosDb.
No problem on Redis statestore.
2022-08-10T08:38:11.094454210Z goroutine 6630 [running]:
2022-08-10T08:38:11.094459310Z github.com/dapr/components-contrib/state/azure/cosmosdb.(StateStore).Get(0xc000b74280, 0xc000e7cab0)
2022-08-10T08:38:11.094465710Z     /home/runner/go/pkg/mod/github.com/dapr/c**@v1.7.1/state/azure/cosmosdb/cosmosdb.go:241 +0x61a
2022-08-10T08:38:11.094471010Z github.com/dapr/dapr/pkg/grpc.(api).GetState.func1({0x398e6c0, 0x4510801})
2022-08-10T08:38:11.106194011Z ℹ
2022-08-10T08:38:11.106214211Z terminated signal received: shutting down
2022-08-10T08:38:11.106280411Z ❌  The daprd process exited with error code: exit status 2
2022-08-10T08:38:11.106290511Z ❌  Error exiting Dapr: exit status 2
2022-08-10T08:38:11.107867311Z ✅  Exited App successfully
Steps to Reproduce the Problem
Using Statestore with CosmosDb with prefix and without prefix (2 dapr components)

Cosmos DB seems to indicate the data you are trying to read is binary. It tries to decode to string. The problem is that your data isn't actually binary and so decoding fails.
https://github.com/dapr/components-contrib/blob/release-1.7/state/azure/cosmosdb/cosmosdb.go#L240
I would say that this isn't a problem with Dapr or the component -- though the error message should be better in cases like this.
Please make sure that the contentType you submit on the Set operation matches the data you provide. In this case the state stored cannot be read because the content type doesn't match the data.

As an aside, I do not know anything about the .NET SDK. But surely you are just simply sending the wrong content type with the .NET SDK somehow.
@halspang as the .NET SDK maintainer can chime in here.

Hello,
Thanks a lot @berndverst for your advices and your help.
I think you hit a development bug, I check datas on statestore.
With .NET SDK we serialize objects directly and we don't specify if we are using binary or string usage.
But ...
I discover that sometimes team serialize null objects ... and null is serialize as binary.

When the statestore serialize fine, we have a JSON string serialization with the binary attribute to false.
I'm not a Go lang developer but do you think if data: null and binary can occurs this error ?
I find in all datas, there no mix with binary storage with string.
Thanks.

Hello,
I add a firewall to building blocks to avoid to add null objects to statestore.

@alexandrejulien thanks for finding this! I will add some more error handling for the null case. Also, if we fail to decode the binary representation, I will change the implementation to just return the raw bytes (converted to string).

Thanks a lot @berndverst for your help and you reactivity.
I made a workaround in my case with testing this case directly in the .NET Building Block.

I made a firewall for null values in .NET Building Block.
It works fine now.
Thanks @berndverst for your investigation and your commits.


ast/non_null_attr

I don't understood - The reason of fail. I do not update clang and we do not update version of SQLite.
----------------------
Transpiling shell.c...
panic: could not match regexp with string
^(?P<address>[0-9a-fx]+) <(?P<position>.*)>(?P<a> \d+)(?P<b> \d+)?(?P<c> \d+)?[\s]*$
0x248ea60 <line:155:26, col:49> 0 1 2 4

goroutine 33 [running]:
github.com/elliotchance/c2go/ast.groupsFromRegex(0xc42104bd40, 0x54, 0xc421320d7a, 0x27, 0x200000000040f14f)
	/home/konstantin/go/src/github.com/elliotchance/c2go/ast/ast.go:250 +0x3cc
github.com/elliotchance/c2go/ast.parseNonNullAttr(0xc421320d7a, 0x27, 0x5e2deb)
	/home/konstantin/go/src/github.com/elliotchance/c2go/ast/non_null_attr.go:22 +0x62
github.com/elliotchance/c2go/ast.Parse(0xc421320d6e, 0x33, 0x5e16bf, 0x5)
	/home/konstantin/go/src/github.com/elliotchance/c2go/ast/ast.go:166 +0x25c8
main.convertLinesToNodes(0xc4201a2000, 0x2d02, 0xb409, 0x0, 0x0, 0x0)
	/home/konstantin/go/src/github.com/elliotchance/c2go/main.go:96 +0x196
main.convertLinesToNodesParallel.func1.1(0xc421748000, 0xc42000c008, 0xc4201a2000, 0x2d02, 0xb409, 0x0)
	/home/konstantin/go/src/github.com/elliotchance/c2go/main.go:120 +0x59
created by main.convertLinesToNodesParallel.func1
	/home/konstantin/go/src/github.com/elliotchance/c2go/main.go:124 +0x129

Clang:
$ clang --version
clang version 3.8.0-2ubuntu4 (tags/RELEASE_380/final)
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/bin

I'm not sure why that failed either. It is fixed when you add that test case for that regex?

Most likely caused by the regexp changes I made. I will have a look
On Nov 23, 2017, at 14:48, Elliot Chance<EMAIL_ADDRESS>wrote:
I'm not sure why that failed either. It is fixed when you add that test case for that regex?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.

@yulvil  I look on your PR and your changes in file ast/non_null_attr.go is look good.
Could you clarify changes in file  ast/ast.go :
rx = fullRegexp + "[\\s]*$" // <-- Added plus ....

In according to https://golang.org/pkg/regexp/syntax/ , it is only ignored any whitespaces at the end on line.
So, all is great and my clang have some specific.

Dear @yulvil and @elliotchance
If we look clang::NonNullAttr Member List, then we will see full list of members. Like I see, NonNullAttr have attribute Inherited like all InheritableAttr elements, but we don't implemented in c2go.ast.
In according to diagramm, ConstAttr  also attribute Inherited like all InheritableAttr elements, but we don't implemented in c2go.ast.
Have you idea - how to easy parse?

There are many part of the clang AST that are not implemented since we are only creating test cases when the issues arise. It would not be worth trying to implement everything else for a few reasons:

The attributes may not be used anywhere, ever.
It creates a lot of extra code that we may never use (lowering the code coverage).
It could only be triggered in environments we done use (like only with C++ code).

We should continue to write test cases as the syntax is discovered.

solved #478


Extension host terminated unexpectedly.

VSCode Version: Code 1.18.1 (929bacba01ef658b873545e26034d1a8067445e9, 2017-11-16T18:32:36.023Z)
OS Version: Windows_NT x64 10.0.16299
Extensions: none

I'm just installed vcode and get error "Extension host terminated unexpectedly. Code:<PHONE_NUMBER>  Signal:  null
e._onExtensionHostCrashed @ /C:/Program Files/Microsoft VS Code/resources/app/out/vs/workbench/workbench.main.js:9"
Reinstall did not help.

I install insider version, problem only in stable.

I solved the problem in a stable version through the installation of git, the insider version gave me a normal git failure message, in a stable js error message. After seeing the message about the lack of git in the insider version, I installed git and installed a stable version, so I solved the problem. Add a check for git in the stable version.

FYI @joaomoreno


Update startup.sh

chown the working dir on startup
Use s6-setuidgid to start everything as the user abc with the UID:GID 1000:1000

I can confirm that after applying this and https://github.com/katznboyz1/youtube-dl-server/pull/18 I was able to build and run the container successfully.

Thanks for this contribution, and my apologies for the insanely long delay, but this has been merged into master now.

No worries, it's an awesome tool, great work!


Firebase authentication questions

How is the FIRUser cached, even between app reinstalls?

After a full app reinstall, the FIRAuth.auth()?.currentUser still contains a valid user.

How can I get the access token from a logged in user's providerData?

After reinstalling the app, even if the currentUser is not null, FBSDKAccessToken.current()?.tokenString is, and I need access to it.

The current logged in FIRUser is saved in the device's keychain, which can survive app reinstallation. Call signOut to "forget about" the current logged in FIRUser.
Firebase Auth does not save or maintain Facebook's (or any other IDP's) access token. It is up to the client app to save it if needed.


Fix Telemetry semantic type support

First fix for semantic type support for #8 , this fixes the existing Telemetry property type.

Separate out the BaseType from the Type/@type that is serialised for DTDLv2 (and hide BaseType from JSON)
Where SemanticType is specified, include both BaseType and SemanticType.
Hide the SemanticType property from JSON
Correct naming for the Units property

Also includes unit tests for the relevant model serialisation. (Tests were written first, and checked in as a separate commit, for ease of review).
(Issue can remain open, as we still need to apply the same to Property attributes, and also define the types/units)

Could we have all the data for testing moved to TestTwins so they can be reused?

Could we have all the data for testing moved to TestTwins so they can be reused?

The data only has one attribute with details, TwinTelemetryAttribute, so is only useful for testing TwinTelemetryAttribute, and does not make sense to reuse (compared to TwinWithAllAttributes, which has many attributes, and could be reused any number of ways).
A general principal of good coding is keep related code close together.
Having the twin class, the expected result, and the code doing the test close together in the TwinTelemetryAttributeTests class makes it easy to see the relationship between the items and understand the code. You don't need to read anything outside those 70 lines.
In this case, putting the creation into a separate test object factory, would mean to understand the code I need to reference across two files, with the definition and expectation separated by more than 70 lines in the test factory.
Keeping classes short, files short, and having one class per file (with matching names), are related concepts.
Another principal is that unit tests should focus on one thing (once concept, not one assert).
The TwinTelemetryAttributeTests is a test for the TwinTelemetryAttribute in isolation. It only contains TwinTelemetryAttribute (and a basic DigitalTwinAttribute, but it has no additional properties set).
As these classes have nothing except the TwinTelemetryAttribute, they are not of much use in alternate tests (it makes no sense to reuse them).
The test object factory pattern / object mother can be useful for integration type tests, where you want to create complex objects with many/all properties set, that can be re-used across different tests.
For these style tests your one thing is not an individual behaviour (like does the semantic type serialize correctly) but generally some higher level concept.
Both are quite useful.
It is all about encapsulation. Note that when adding the TwinTelemetryAttribute tests, they only break when TwinTelemetryAttribute is wrong, and don't interact with any of the other tests; you don't need to look at anything outside that one test class to understand the test.
The low level features are decoupled from each other.
I plan on separating out the other low level unit tests; where they are independent of each other. These are for the micro tests that only refer to one element, so they will only have one property.
For example, my initial tests for Relationship multiplicity just followed the existing pattern, but really having the Count property on the class, or the DisplayName (of the DigitalTwin) simply complicate the code and add no value to testing multiplicity.
Once the test is working, I should have refactored into the simplest possible code; that would mean getting rid of all the irrelevant parts for testing relationships multiplicity, and then moving the relevant code (no longer useful for testing other than for the relationship attribute) into a TwinRelationshipAttributeTests class.
There is still a place for a test object factory, at a higher level, i.e. the objects where multiple attributes are relevant, so some of them would remain. Note that a higher level concept is related to lower level, in that it is dependent on them, so there is necessary coupling, but the lower level unit tests can be decoupled.
Right now, there are only a few tests, so it is not too bad, but long term view is that there are 8 attributes, so you would have 8 separate test classes, one focused on each attribute (and independent, only test that attribute).
This would be crazy to stick all of these independent items into one test class.


Make code color remain unchanged in dark mode

Dark mode turn code and pre color to gray, making them barely readable.
Also, I was learning git.

I didn't realize this was a blog, thought it was a theme, but ok. I should've read the readme next time lol.


Improve "community profile" health

See and improve: https://github.com/JamesMGreene/nestdb/community

Baseline established. ✅

Baseline established. ✅


Add page describing 'gold standard' analysis

When finalised, the 'gold standard' analysis should be described in the site.

Moved to https://github.com/opentargets/genetics/issues/65.


Spamming nodes with txs halts node consensus

Spamming nodes with txs halts node consensus
Description
Although txpool rpc methods such as txpool_content no longer hang during our spam test (see steps to repro this here https://github.com/0xPolygon/polygon-sdk/issues/291), it appears that running the same test as earlier stops the targeted node's state-change cycle. When enough nodes in the validator set are targeted, new blocks are no longer able to written to the chain.
One can verify this by observing a non-incrementing block number when calling the request below:
{"id":1,"jsonrpc":"2.0","method":"eth_getBlockByNumber","params":["latest", true]}

Looking at the logs of the targeted node, one can see the failed to broadcast, txpool is full message and the node timing out and getting stuck in AcceptState.
I'll be sure to update this issue with any additional info I find while testing.
Your environment

OS and version Ubuntu 20
version of the Polygon SDK 4765373
branch that causes this issue develop

Steps to reproduce

Create testnet with 4 validators and 1 non-sealing node
Using https://github.com/mrwillis/eth-txn-spam, run most basic type of test within that repo (mode=0 / regular transfer) with RANGE 200 and PARALLELISM 20 targeting the RPC urls of 2 validators

Used AWS c4.4xlarge Ubuntu 20 instance in our case

Although txpool rpc methods no longer hang, calling eth_getBlockByNumber(latest) will return a stuck block number.

Expected behaviour
Running this test shouldn't halt block writing on the targeted node and chain halt (if additional nodes are targeted).
Actual behaviour
Running this test halts block writing on the targeted node and chain halt (if additional nodes are targeted).

Hey @dankostiuk,
I ran this on the exact cluster setup you're describing and wasn't able to reproduce the problem - block production continues along normally on all nodes.
Have you been able to reproduce this with the latest develop version?

Hey @dankostiuk,
Following up, I was able to reproduce the issue you were experiencing by running the loadbot on each node in the network against another node - the chain stopped in Accept state.
We're currently looking into it 👍
Keeping you posted 💯

Hey @dankostiuk,
Sorry for the late reply regarding this issue.
I wanted to give you more information as to what is going on and how we managed to reproduce it on our end, as well as what's being done about it.
Reproduction
We haven't been able to reproduce following the steps you've described, but managed to see the issue during the following scenario:

4 node cluster (c4.4xlarge)
Each node has a running stress script with 10 mnemonics
The stress script is pointed at the next node, so Node 1 -(targets)-> Node 2 -> Node 3 -> Node 4 -> Node 1

We observed the consensus halt that you've mentioned, and identified it is caused due to a sudden buildup of transactions on the node, as well as a slowdown when processing those transactions, which cause a timeout before which someone was set to propose a block (but couldn't because they were hammered). The end result is that most nodes calculate the wrong proposer for the block, causing the consensus to halt.
Solution
The long-term solution is to add a fail safe mechanism that resyncs the nodes on who is the proposer for the next block, if they somehow time out and land on different proposers. We've added this as a task that's gonna be tackled eventually.
The current solution, that's already live on the develop branch, is to significantly speed up the TxPool, which doesn't lead to the node halting with consensus since requests are handled much, much quicker now.
I've tested out all of the scenarios, and the one mentioned in this reply with the new TxPool implementation, and can confirm that no such behavior was present 👍
Please attempt to reproduce this issue with the latest pull from develop, and let me know if you still run into this problem 🙏

Closing this issue due to  inactivity and inability to reproduce this with the latest develop branch.
I'll keep you guys posted on any related efforts in concerts to cementing the correct functioning of consensus 👍


How to load template with webpack?

This is for the angularjs version

Not able to require a template which is the webpacky way of doing this but I was able to load my templates into the cache and reference the url.


Add code quality badge from Codacy

This PR does not relate to any issue.
Changes proposed in this pull request:

Add code quality badge from Codacy.
The goal is to increase the trust on the library by making its quality visible

Request feedback from: @mcumings

The markdown files are analyzed by the RemarkLint engine.
According to a Codacy article about the Codacy Configuration File:

"If you want to disable an engine, that needs to be done directly in the Code Patterns page."

Therefor I disabled this code pattern engine in Codacy for the project. Also, since the engine is now disabled I think it is OK to not exclude the markdown files. But if you want to exclude them (or any other files) it can be done using the Codacy config file.
Currently the only code pattern engines which are enabled are PMD and Codestyle. Both can be configured using their own config file (see Code Patterns). I did not want to enforce any specific styling on a project which is not my own.
Cheers!

I do not appear to be able to configure the project.  I must not have administrative rights over it on Codacy's site.  By creating the configuration for this project I'm assuming it automatically granted you these rights?

I'm in the admins team of the eBay organization in Codacy, this is why I have rights...
I just created a new team in Codacy for this project and added you with write privileges. I think that should do the trick. Please update me if not.

That did it, thanks!


new yara versions fail to parse some big rules

Hello,
sometimes I have very big rules (KBs) but newer yara versions cannot parse them for some reason. Release 3.6.0 is ok, but both release 3.6.2 and actual master fail with strange message that is often non deterministic:
mingw-test.yara(7): error: invalid hex string "$1": *non-deterministic non-printable gibberish*
Example rule file:
mingw-test.yara.zip

After looking into closed issues, this is probably duplicate of #688, so I can cut strings in my rules.
I do not know what exactly limit mentioned in #688 does, but if long hex strings are discouraged, maybe
#define MAX_HEX_STRING_TOKENS           10000  should be adjusted aswell. Also printed error message should be better.

In ac368637fa2bdd32614b134ba5236d2717ed1a56 I'm removing MAX_HEX_STRINGS_TOKENS as it is not necessary anymore. A better error message is printed when RE_MAX_AST_TOKENS is reached. I'm not increasing RE_MAX_AST_TOKENS because with a value of 7500 the program overflows the stack when compiled with AddressSanitizer. Let's keep it at 6000, which is enough for reasonably long strings.


Grass doesn't grow in night worlds

Light level is set to level 15 in the night worlds, but it seems that grass does not spread.
I'm attempting to do a world where lore is based on eternal night, but my testers report that grass is not spreading even after a lengthy amount of time has passed.

All of the world provider settings are from vanilla Minecraft, OTG just lets you enable/disable them. Setting 'night world' to true enables world provider settings from the vanilla End dimension which has the same limitations you mentioned, this is not a bug.


Adjust the interior temperature of the car

LM35 temperature sensor can be measured.The LM35 is an integrated circuit sensor that can be used to measure temperature with an electrical output proportional to the temperature (in Oc). We will integrate this with the arduino to measure the temperature. The arduino will then read this measured value from the LM35 and translate into degrees fahrenheit and celsius, which we will be able to read from the computer from the arduino serial monitor.

thanks!
i think you should add this comment to the README.md file!
something like:
2. TempManager (i don't know!)
...
description, maybe?...
or other details and tools ...
:smile:


Help: Ordering posts by some weight parameter

Hi, first of all thank you so much for maintaining such a lovely template.
I wanted to to custom sort posts in my blog post,planning to add something like weight parameter to the meta:
date: 2018-06-22 12:51:36 +05:30
weight: 100

and then being able to sort all the displayed posts by weight instead of date (the default behavior).
It'd be very kind of you, if you can help me by letting me know what changes would I have to make to achieve this. Thanks in advance!

The way you'll go about doing this depends on where you want to sort the posts.
There are several layouts that display posts (e.g. posts by tag, posts by category, posts by year, recent posts on homepage, etc.). You'd have to modify the one you want.

When you set up a collection, say _docs, you can determine the order using numbers in the filename, eg 01-quick-start-guide.md, like @mmistakes has done here:
https://github.com/mmistakes/minimal-mistakes/tree/master/docs/_docs
Wouldn't that work with _posts as well?
Of course if you follow that approach, you will have to define the permalink in the frontmatter, otherwise the number in the filename will be displayed in the URL for that post.

Also, you'll probably need to use the sort filter as suggested by this post on SO.
https://stackoverflow.com/a/30274671

I'm using the recent posts layout.
I modified a couple of lines in the template to
{% assign posts = paginator.posts | sort:"weight" %}

{% for post in posts %}
  	{% include archive-single.html %}
{% endfor %}

It works, but the problem that I'm now facing it sorts the posts by weight just for that page. For example, if there's some other post on page 2 having the lowest weight of all, it'd be on the top of page 2 but not on page top of page 1.
Is there a way to fix this behavior? I tried looking for where paginator is populated in the code but couldn't find, I guess it's returned by some plugin...

Might be a limitation of Jekyll's pagination plugin that doesn't honor sort. You could submit and issue on their repo but not sure if that will get you anywhere as they deprecated the plugin a long time ago.
https://github.com/jekyll/jekyll-paginate

Okay, I'll create an issue there. Thanks for the help :)


Unable to start CUDA Context

I started clean GPU PyTorch instance where I tried to run the tutorial landcover.ipynb, but it failed in:
cluster = LocalCUDACluster(threads_per_worker=4)

2022-06-14 11:31:42,398 - distributed.preloading - INFO - Import preload module: dask_cuda.initialize
Unable to start CUDA Context
Traceback (most recent call last):
  File "/srv/conda/envs/notebook/lib/python3.8/site-packages/pynvml/nvml.py", line 782, in _nvmlGetFunctionPointer
    _nvmlGetFunctionPointer_cache[name] = getattr(nvmlLib, name)
  File "/srv/conda/envs/notebook/lib/python3.8/ctypes/__init__.py", line 386, in __getattr__
    func = self.__getitem__(name)
  File "/srv/conda/envs/notebook/lib/python3.8/ctypes/__init__.py", line 391, in __getitem__
    func = self._FuncPtr((name_or_ordinal, self))
AttributeError: /usr/lib/x86_64-linux-gnu/libnvidia-ml.so.1: undefined symbol: nvmlDeviceGetComputeRunningProcesses_v2

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/srv/conda/envs/notebook/lib/python3.8/site-packages/dask_cuda/initialize.py", line 41, in _create_cuda_context
    ctx = has_cuda_context()
  File "/srv/conda/envs/notebook/lib/python3.8/site-packages/distributed/diagnostics/nvml.py", line 120, in has_cuda_context
    running_processes = pynvml.nvmlDeviceGetComputeRunningProcesses_v2(handle)
  File "/srv/conda/envs/notebook/lib/python3.8/site-packages/pynvml/nvml.py", line 2191, in nvmlDeviceGetComputeRunningProcesses_v2
    fn = _nvmlGetFunctionPointer("nvmlDeviceGetComputeRunningProcesses_v2")
  File "/srv/conda/envs/notebook/lib/python3.8/site-packages/pynvml/nvml.py", line 785, in _nvmlGetFunctionPointer
    raise NVMLError(NVML_ERROR_FUNCTION_NOT_FOUND)
pynvml.nvml.NVMLError_FunctionNotFound: Function Not Found

I was not sure where to report this issues.

A couple of things:

The LocalCUDACluster does get created successfully. The text you posted is a warning printed to stderr by one of distributed, dask-cuda, or pynvml.
I think the GPU is still being used. nvidia-smi doesn't show any processes using the GPU, but I do see the GPU memory increasing and we explicitly using things like torch.device("cuda") which should fail if the GPU weren't being used (I think).

So most likely there's an issue with our environment at https://github.com/microsoft/planetary-computer-containers/tree/main/gpu-pytorch. We're pulling dask-cuda from PyPI currently, but pynvml from conda-forge (https://github.com/microsoft/planetary-computer-containers/blob/535748775b971f2fe406c99a1714dd3d663f1db8/gpu-pytorch/conda-linux-64.lock#L250). I'm not sure exactly what is going wrong.

Thanks @TomAugspurger, it seems version incompatibility. This rapidsai/dask-cuda/issues/909 could be of help. They also report AttributeError: /usr/lib/x86_64-linux-gnu/libnvidia-ml.so.1: undefined symbol: nvmlDeviceGetComputeRunningProcesses_v2


python36Packages.plyvel: 0.9 -> 1.0.5

Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/python3.6-plyvel/versions.
meta.description for python36Packages.plyvel is: '"Fast and feature-rich Python interface to LevelDB"'.

Checks done (click to expand)

built on NixOS

0 of 0 passed binary check by having a zero exit code.

0 of 0 passed binary check by having the new version present in output.

found 1.0.5 with grep in /nix/store/2hzzx25biwfxphbb9hck6lfzhzdnjnbr-python3.6-plyvel-1.0.5

directory tree listing: https://gist.github.com/c303c1f5ef12d1540f16687c5b6b60a7

du listing: https://gist.github.com/489658fc846f1188bc554f7e12ac78e8

Outpath report (click to expand)

Outpath difference report
11 total rebuild paths
3 package rebuilds
3 x86_64-linux rebuilds
3 i686-linux rebuilds
2 x86_64-darwin rebuilds
3 aarch64-linux rebuilds
First ten rebuilds by attrpath
python27Packages.plyvel
python36Packages.plyvel
tribler

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/2hzzx25biwfxphbb9hck6lfzhzdnjnbr-python3.6-plyvel-1.0.5 \
  --option binary-caches 'https://cache.nixos.org/ https://r-ryantm.cachix.org/' \
  --option trusted-public-keys '
  r-ryantm.cachix.org-1:gkUbLkouDAyvBdpBX0JOdIiD2/DP1ldF3Z3Y6Gqcc4c=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(r-ryantm's Cachix cache is only trusted for this store-path realization.)
Or, build yourself:
nix-build -A python36Packages.plyvel https://github.com/r-ryantm/nixpkgs/archive/a117531c9aa0829b82572aa586d7eb387f1f30ac.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/2hzzx25biwfxphbb9hck6lfzhzdnjnbr-python3.6-plyvel-1.0.5
ls -la /nix/store/2hzzx25biwfxphbb9hck6lfzhzdnjnbr-python3.6-plyvel-1.0.5/bin

Failure on x86_64-darwin (full log)
Attempted: python36Packages.plyvel
Partial log (click to expand)

----------------------------------------------------------------------
Ran 3 tests in 0.001s

FAILED (errors=3)
Test failed: <unittest.runner.TextTestResult run=3 errors=3 failures=0>
error: Test failed: <unittest.runner.TextTestResult run=3 errors=3 failures=0>
builder for '/nix/store/s6szf4nbb6p40vbjrn2swqx0gqrm163h-python3.6-plyvel-1.0.5.drv' failed with exit code 1
error: build of '/nix/store/s6szf4nbb6p40vbjrn2swqx0gqrm163h-python3.6-plyvel-1.0.5.drv' failed

Success on aarch64-linux (full log)
Attempted: python36Packages.plyvel
Partial log (click to expand)
writing manifest file 'plyvel.egg-info/SOURCES.txt'
running build_ext
copying build/lib.linux-aarch64-3.6/plyvel/_plyvel.cpython-36m-aarch64-linux-gnu.so -> plyvel

----------------------------------------------------------------------
Ran 0 tests in 0.000s

OK
pytestcachePhase
/nix/store/ppn0wvcf2f9j9y44mx7brjrqbjj41yg9-python3.6-plyvel-1.0.5

Success on x86_64-linux (full log)
Attempted: python36Packages.plyvel
Partial log (click to expand)
writing manifest file 'plyvel.egg-info/SOURCES.txt'
running build_ext
copying build/lib.linux-x86_64-3.6/plyvel/_plyvel.cpython-36m-x86_64-linux-gnu.so -> plyvel

----------------------------------------------------------------------
Ran 0 tests in 0.000s

OK
pytestcachePhase
/nix/store/2hzzx25biwfxphbb9hck6lfzhzdnjnbr-python3.6-plyvel-1.0.5


[Eco news] Not translated to Ukrainian/Russian with UA/RU localization

Environment: Windows10 x64, Chrome 92.0.4515.159, Edge 92.0.902.84
Reproducible: always
Build found: 31.08.2021
Preconditions
User is logged in GreenCity https://ita-social-projects.github.io/GreenCityClient/#/welcome
The UA/RU localization is turned on.
Steps to reproduce
Click on the 'Eco news' at the header of the site.
Actual result
The date labels, count description and tags are not translated to Ukrainian/Russian with UA/RU localization after searching.
For news view

For news list

Expected result
The date labels, count description and tags are translated to Ukrainian/Russian with UA/RU localization after searching.
For news view

For news list


Main jar corrupts when automatically updating

When using the built in automatic updating for AutoPlug, the main jarfile will usually corrupt itself upon trying to update. This may be something that only happens on my system, I'm not sure. I am running Ubuntu Server version 21.04. The logs have no good information to go off of, at least for me.
Here are some relevant lines from the log, but they seem unhelpful. It just stops.
[11-07-2021 04:02:48][AP][DEBUG][TaskServerDownload] Downloading AutoPlug-Client.jar from: https://github.com/Osiris-Team/AutoPlug-Releases/raw/master/stable-builds/AutoPlug-Client.jar
[11-07-2021 04:02:50][AP][DEBUG][TaskServerDownload] Comparing hashes (SHA-256):
[11-07-2021 04:02:50][AP][DEBUG][TaskServerDownload] Input-Hash: 74f5a3adcc283a9293b3d3b37899d2d2f43b33147e228b2fd320d9f116397cbe
[11-07-2021 04:02:50][AP][DEBUG][TaskServerDownload] File-Hash: 74f5a3adcc283a9293b3d3b37899d2d2f43b33147e228b2fd320d9f116397cbe
[11-07-2021 04:02:50][AP][INFO] See you soon!
[11-07-2021 04:02:50][AP][DEBUG][AL] Stopped AP

After this happens, the server becomes unusable, with java simply returning, "Error: Invalid or corrupt jarfile AutoPlug-Client.jar"
I would imagine this may be something I'm doing wrong, and I'll edit and upload logs if you need them but I'd rather not since they contain possibly sensitive information.

I can agree that this does happen. I do not have a lot to go with this but it happens seemingly every time there is an update. I am using pterodactyl and that is a smaller use case so this may be related to only linux use or maybe even just docker and pterodactyl but not sure. You are welcome to use my pterodactyl server where I can setup a test server for you to use if you need. (I just updated to the beta and can let you know if it happens again, I will just leave it enabled on one server)

@DannyDorito24 from which version did you update?
I just tested the self updater on Ubuntu and Windows by myself and it works. (I fixed the self-updater in v2.4, if u were updating from a version below that, the error you get would be explained)
There is another exception at the, but not something that causes the jar to corrupt.
Here is my console output:
Initialising AutoPlug-Client - 2.0
[21:37][AP][INFO] | ------------------------------------------- |
[21:37][AP][INFO]      ___       __       ___  __
[21:37][AP][INFO]     / _ |__ __/ /____  / _ \/ /_ _____ _
[21:37][AP][INFO]    / __ / // / __/ _ \/ ___/ / // / _ `/
[21:37][AP][INFO]   /_/ |_\_,_/\__/\___/_/  /_/\_,_/\_, /
[21:37][AP][INFO]                                  /___/
[21:37][AP][INFO]
[21:37][AP][INFO] Version: AutoPlug-Client - 2.0
[21:37][AP][INFO] Author: Osiris Team
[21:37][AP][INFO] Web-Panel: https://autoplug.online/
[21:37][AP][INFO] | ------------------------------------------- |
[21:37][AP][INFO] Loading configurations...
[21:37][AP][INFO] Configurations loaded.
[21:37][AP][INFO] | ------------------------------------------- |
[21:37][AP][INFO] Authenticating server...
[21:37][AP][WARN] Connection issues! Details: [CON_TYPE: 0] Authentication failed (code:1): No matching server key found! Register your server at https://autoplug.online/ and get your server-key. Restart AutoPlug when done.
[21:37:12][AP][TASK] [\] > [Self-Updater] Update found (2.0 -> 3.0), started download!
[21:37:12][AP][TASK] [\] > [ServerFilesBackup] Initialising...
[21:37:12][AP][TASK] [\] > [WorldsBackup] Initialising...
[21:37:12][AP][TASK] [\] > [PluginsBackup] Initialising...
[21:37:12][AP][TASK] [\] > [DailyRestarter] Initialising...
[21:37:12][AP][TASK] [\] > [CustomRestarter] Initialising...
[21:37:12][AP][TASK] [\] > [JavaUpdater] Initialising...
[21:37:12][AP][TASK] [\] > [ServerUpdater] Initialising...
[21:37:12][AP][TASK] [\] > [PluginsUpdater] Initialising...
[21:37:12][AP][TASK] [#] > [Downloader][100%] Downloaded AutoPlug-Client.jar (8mb/8mb)
Initialising AutoPlug-Client - 3.0
osiris@ubuntu-mini:~/Desktop/my server$  + Created directory: plugins
 + Created directory: autoplug-downloads
 + Created directory: autoplug-backups
 + Created directory: server
 + Created directory: plugins
 + Created directory: worlds
 + Created directory: autoplug-logs
 + Created directory: autoplug-system
[21:37][AP][INFO] Found: /home/osiris/Desktop/my server/AutoPlug-Client.jar
[21:37][AP][INFO] Found: /home/osiris/Desktop/my server/autoplug-downloads/AutoPlug-Client-Copy.jar
[21:37][AP][INFO] Installing update...
[21:37][AP][INFO] Success!
[21:37][AP][INFO] Starting jar with: [/usr/lib/jvm/java-11-openjdk-amd64/bin/java, -jar, /home/osiris/Desktop/my server/AutoPlug-Client.jar]
[21:37][AP][INFO] See you soon!

Initialising AutoPlug-Client - 3.0
[21:37][AP][INFO] | ------------------------------------------- |
[21:37][AP][INFO]      ___       __       ___  __
[21:37][AP][INFO]     / _ |__ __/ /____  / _ \/ /_ _____ _
[21:37][AP][INFO]    / __ / // / __/ _ \/ ___/ / // / _ `/
[21:37][AP][INFO]   /_/ |_\_,_/\__/\___/_/  /_/\_,_/\_, /
[21:37][AP][INFO]                                  /___/
[21:37][AP][INFO]
[21:37][AP][INFO] Version: AutoPlug-Client - 3.0
[21:37][AP][INFO] Author: Osiris Team
[21:37][AP][INFO] Web-Panel: https://autoplug.online/
[21:37][AP][INFO] | ------------------------------------------- |
[21:37][AP][INFO] Loading configurations...
[21:37][AP][INFO] Configurations loaded.
[21:37][AP][INFO] | ------------------------------------------- |
[21:37][AP][INFO] Authenticating server...

Exception in thread "InputListenerThread" java.io.IOError: java.io.IOException: Input/output error
	at org.jline.keymap.BindingReader.readCharacter(BindingReader.java:170)
	at org.jline.keymap.BindingReader.readBinding(BindingReader.java:110)
	at org.jline.keymap.BindingReader.readBinding(BindingReader.java:61)
	at org.jline.reader.impl.LineReaderImpl.doReadBinding(LineReaderImpl.java:923)
	at org.jline.reader.impl.LineReaderImpl.readBinding(LineReaderImpl.java:956)
	at org.jline.reader.impl.LineReaderImpl.readLine(LineReaderImpl.java:651)
	at org.jline.reader.impl.LineReaderImpl.readLine(LineReaderImpl.java:446)
	at com.osiris.autoplug.client.console.UserInput.lambda$keyboard$0(UserInput.java:39)
	at java.base/java.lang.Thread.run(Thread.java:829)
Caused by: java.io.IOException: Input/output error
	at java.base/java.io.FileInputStream.read0(Native Method)
	at java.base/java.io.FileInputStream.read(FileInputStream.java:231)
	at org.jline.terminal.impl.AbstractPty$PtyInputStream.read(AbstractPty.java:73)
	at org.jline.utils.NonBlockingInputStream.read(NonBlockingInputStream.java:62)
	at org.jline.utils.NonBlocking$NonBlockingInputStreamReader.read(NonBlocking.java:168)
	at org.jline.utils.NonBlockingReader.read(NonBlockingReader.java:57)
	at org.jline.keymap.BindingReader.readCharacter(BindingReader.java:160)
	... 8 more

This is how I am testing the self-updater:

Open the AutoPlug-Client.jar and modify the autoplug.properties files version to something lower
Make sure that self updater is enabled and set to automatic (stable builds are selected)
Run AutoPlug

@Osiris-Team I was updating from version 2.9, and I'm using a paperMC server. I can reliably reproduce this issue on my server with an older jar. I'm running it in a screen session because it's a remote machine. Could this be the issue somehow?
Also I'm not entirely sure what you mean by "Open the AutoPlug-Client.jar and modify the autoplug.properties files version to something lower"

@DannyDorito24 ok great! Could you reproduce it and then attach the console log, like I did.
And what I meant was opening the AutoPlug-Client.jar with 7zip or winrar then open the autoplug.properties file inside it and change the version. That file holds some details regarding the jar.

Okay, out of curiosity I tried it outside of a screen session and it works fine. I'm not sure why it doesn't work but I'm pretty sure that's the issue.
(Also editing the files seems to corrupt the jar on a Mac, weird)

This is all I get from a log within a screen session.
[11-07-2021 18:45:38][AP][DEBUG][AL] Started Logger(AP)
[11-07-2021 18:45:38][AP][DEBUG][Main] !!!IMPORTANT!!! -> THIS LOG-FILE CONTAINS SENSITIVE INFORMATION <- !!!IMPORTANT!!!
[11-07-2021 18:45:38][AP][DEBUG][Main] !!!IMPORTANT!!! -> THIS LOG-FILE CONTAINS SENSITIVE INFORMATION <- !!!IMPORTANT!!!
[11-07-2021 18:45:38][AP][DEBUG][Main] !!!IMPORTANT!!! -> THIS LOG-FILE CONTAINS SENSITIVE INFORMATION <- !!!IMPORTANT!!!
[11-07-2021 18:45:38][AP][INFO] | ------------------------------------------- |
[11-07-2021 18:45:38][AP][INFO]      ___       __       ___  __
[11-07-2021 18:45:38][AP][INFO]     / _ |__ __/ /____  / _ \/ /_ _____ _
[11-07-2021 18:45:38][AP][INFO]    / __ / // / __/ _ \/ ___/ / // / _ `/
[11-07-2021 18:45:38][AP][INFO]   /_/ |_\_,_/\__/\___/_/  /_/\_,_/\_, /
[11-07-2021 18:45:38][AP][INFO]                                  /___/
[11-07-2021 18:45:38][AP][INFO]
[11-07-2021 18:45:38][AP][INFO] Version: AutoPlug-Client - 2.9
[11-07-2021 18:45:38][AP][INFO] Author: Osiris Team
[11-07-2021 18:45:38][AP][INFO] Web-Panel: https://autoplug.online/
[11-07-2021 18:45:38][AP][INFO] | ------------------------------------------- |
[11-07-2021 18:45:38][AP][INFO] Loading configurations...
[11-07-2021 18:45:38][AP][DEBUG][ConfigUtils] [autoplug-general-config] VAL: [] DEF: []
[11-07-2021 18:45:38][AP][DEBUG][ConfigUtils] [autoplug-general-config, server, key] VAL: [] DEF: [INSERT_KEY_HERE]
[11-07-2021 18:45:38][AP][DEBUG][ConfigUtils] [autoplug-general-config, server, auto-start] VAL: [] DEF: [true]
[11-07-2021 18:45:38][AP][DEBUG][ConfigUtils] [autoplug-general-config, server, autoplug-stop] VAL: [] DEF: [false]
[11-07-2021 18:45:38][AP][DEBUG][ConfigUtils] [autoplug-general-config, server, stop-command] VAL: [] DEF: [stop]
[11-07-2021 18:45:38][AP][DEBUG][ConfigUtils] [autoplug-general-config, server, java-version] VAL: [] DEF: [java]
[11-07-2021 18:45:38][AP][DEBUG][ConfigUtils] [autoplug-general-config, server, jar] VAL: [] DEF: [auto-find]
[11-07-2021 18:45:38][AP][DEBUG][ConfigUtils] [autoplug-general-config, server, flags, enable] VAL: [] DEF: [true]
[11-07-2021 18:45:38][AP][DEBUG][ConfigUtils] [autoplug-general-config, server, flags, list] VAL: [] DEF: [Xms2G, Xmx2G]
[11-07-2021 18:45:38][AP][DEBUG][ConfigUtils] [autoplug-general-config, server, arguments, enable] VAL: [] DEF: [true]
[11-07-2021 18:45:38][AP][DEBUG][ConfigUtils] [autoplug-general-config, server, arguments, list] VAL: [] DEF: [--nogui]
[11-07-2021 18:45:38][AP][DEBUG][ConfigUtils] [autoplug-logger-config] VAL: [] DEF: []
[11-07-2021 18:45:38][AP][DEBUG][ConfigUtils] [autoplug-logger-config, debug] VAL: [] DEF: [false]
[11-07-2021 18:45:38][AP][DEBUG][ConfigUtils] [autoplug-logger-config, autoplug-label] VAL: [] DEF: [AP]
[11-07-2021 18:45:38][AP][DEBUG][ConfigUtils] [autoplug-logger-config, force-ANSI] VAL: [] DEF: [false]
[11-07-2021 18:45:38][AP][DEBUG][ConfigUtils] [autoplug-web-config] VAL: [] DEF: []
[11-07-2021 18:45:38][AP][DEBUG][ConfigUtils] [autoplug-web-config, online-console, send] VAL: [] DEF: [false]
[11-07-2021 18:45:38][AP][DEBUG][ConfigUtils] [autoplug-web-config, online-console, receive] VAL: [] DEF: [false]
[11-07-2021 18:45:38][AP][DEBUG][ConfigUtils] [autoplug-web-config, updater-results, send-plugins-updaters-results] VAL: [] DEF: [true]
[11-07-2021 18:45:38][AP][DEBUG][ConfigUtils] [autoplug-web-config, updater-results, send-server-updaters-results] VAL: [] DEF: [true]
[11-07-2021 18:45:38][AP][DEBUG][ConfigUtils] [autoplug-web-config, updater-results, send-self-updaters-results] VAL: [] DEF: [true]
[11-07-2021 18:45:38][AP][DEBUG][ConfigUtils] [autoplug-backup-config] VAL: [] DEF: []
[11-07-2021 18:45:38][AP][DEBUG][ConfigUtils] [autoplug-backup-config, server-files-backup, enable] VAL: [] DEF: [false]
[11-07-2021 18:45:38][AP][DEBUG][ConfigUtils] [autoplug-backup-config, server-files-backup, max-days] VAL: [] DEF: [7]
[11-07-2021 18:45:38][AP][DEBUG][ConfigUtils] [autoplug-backup-config, server-files-backup, cool-down] VAL: [] DEF: [60]
[11-07-2021 18:45:38][AP][DEBUG][ConfigUtils] [autoplug-backup-config, server-files-backup, exclude, enable] VAL: [] DEF: [false]
[11-07-2021 18:45:38][AP][DEBUG][ConfigUtils] [autoplug-backup-config, server-files-backup, exclude, list] VAL: [] DEF: [./example/directory, ./specific-file.txt, C:\Users\Example Windows Directory]
[11-07-2021 18:45:38][AP][DEBUG][ConfigUtils] [autoplug-backup-config, server-files-backup, include, enable] VAL: [] DEF: [false]
[11-07-2021 18:45:38][AP][DEBUG][ConfigUtils] [autoplug-backup-config, server-files-backup, include, list] VAL: [] DEF: [./example/directory, ./specific-file.txt, C:\Users\Example Windows Directory]
[11-07-2021 18:45:38][AP][DEBUG][ConfigUtils] [autoplug-backup-config, server-files-backup, upload, enable] VAL: [] DEF: [false]
[11-07-2021 18:45:38][AP][DEBUG][ConfigUtils] [autoplug-backup-config, server-files-backup, upload, delete-on-complete] VAL: [] DEF: [false]
[11-07-2021 18:45:38][AP][DEBUG][ConfigUtils] [autoplug-backup-config, server-files-backup, upload, host] VAL: [] DEF: []
[11-07-2021 18:45:38][AP][DEBUG][ConfigUtils] [autoplug-backup-config, server-files-backup, upload, port] VAL: [] DEF: []
[11-07-2021 18:45:38][AP][DEBUG][ConfigUtils] [autoplug-backup-config, server-files-backup, upload, username] VAL: [] DEF: []
[11-07-2021 18:45:38][AP][DEBUG][ConfigUtils] [autoplug-backup-config, server-files-backup, upload, password] VAL: [] DEF: []
[11-07-2021 18:45:38][AP][DEBUG][ConfigUtils] [autoplug-backup-config, server-files-backup, upload, path] VAL: [] DEF: []
[11-07-2021 18:45:38][AP][DEBUG][ConfigUtils] [autoplug-backup-config, server-files-backup, upload, rsa-key] VAL: [] DEF: []
[11-07-2021 18:45:38][AP][DEBUG][ConfigUtils] [autoplug-backup-config, worlds-backup, enable] VAL: [] DEF: [false]
[11-07-2021 18:45:38][AP][DEBUG][ConfigUtils] [autoplug-backup-config, worlds-backup, max-days] VAL: [] DEF: [7]
[11-07-2021 18:45:38][AP][DEBUG][ConfigUtils] [autoplug-backup-config, worlds-backup, cool-down] VAL: [] DEF: [60]
[11-07-2021 18:45:38][AP][DEBUG][ConfigUtils] [autoplug-backup-config, worlds-backup, exclude, enable] VAL: [] DEF: [false]
[11-07-2021 18:45:38][AP][DEBUG][ConfigUtils] [autoplug-backup-config, worlds-backup, exclude, list] VAL: [] DEF: [./example/directory, ./specific-file.txt, C:\Users\Example Windows Directory]
[11-07-2021 18:45:38][AP][DEBUG][ConfigUtils] [autoplug-backup-config, worlds-backup, include, enable] VAL: [] DEF: [false]
[11-07-2021 18:45:38][AP][DEBUG][ConfigUtils] [autoplug-backup-config, worlds-backup, include, list] VAL: [] DEF: [./example/directory, ./specific-file.txt, C:\Users\Example Windows Directory]
[11-07-2021 18:45:38][AP][DEBUG][ConfigUtils] [autoplug-backup-config, worlds-backup, upload, enable] VAL: [] DEF: [false]
[11-07-2021 18:45:38][AP][DEBUG][ConfigUtils] [autoplug-backup-config, worlds-backup, upload, delete-on-complete] VAL: [] DEF: [false]
[11-07-2021 18:45:38][AP][DEBUG][ConfigUtils] [autoplug-backup-config, worlds-backup, upload, host] VAL: [] DEF: []
[11-07-2021 18:45:38][AP][DEBUG][ConfigUtils] [autoplug-backup-config, worlds-backup, upload, port] VAL: [] DEF: []
[11-07-2021 18:45:38][AP][DEBUG][ConfigUtils] [autoplug-backup-config, worlds-backup, upload, username] VAL: [] DEF: []
[11-07-2021 18:45:38][AP][DEBUG][ConfigUtils] [autoplug-backup-config, worlds-backup, upload, password] VAL: [] DEF: []
[11-07-2021 18:45:38][AP][DEBUG][ConfigUtils] [autoplug-backup-config, worlds-backup, upload, path] VAL: [] DEF: []
[11-07-2021 18:45:38][AP][DEBUG][ConfigUtils] [autoplug-backup-config, worlds-backup, upload, rsa-key] VAL: [] DEF: []
[11-07-2021 18:45:38][AP][DEBUG][ConfigUtils] [autoplug-backup-config, plugins-backup, enable] VAL: [] DEF: [true]
[11-07-2021 18:45:38][AP][DEBUG][ConfigUtils] [autoplug-backup-config, plugins-backup, max-days] VAL: [] DEF: [7]
[11-07-2021 18:45:38][AP][DEBUG][ConfigUtils] [autoplug-backup-config, plugins-backup, cool-down] VAL: [] DEF: [60]
[11-07-2021 18:45:38][AP][DEBUG][ConfigUtils] [autoplug-backup-config, plugins-backup, exclude, enable] VAL: [] DEF: [true]
[11-07-2021 18:45:38][AP][DEBUG][ConfigUtils] [autoplug-backup-config, plugins-backup, exclude, list] VAL: [] DEF: [./plugins/dynmap, ./plugins/WorldBorder]
[11-07-2021 18:45:38][AP][DEBUG][ConfigUtils] [autoplug-backup-config, plugins-backup, include, enable] VAL: [] DEF: [false]
[11-07-2021 18:45:38][AP][DEBUG][ConfigUtils] [autoplug-backup-config, plugins-backup, include, list] VAL: [] DEF: [./example/directory, ./specific-file.txt, C:\Users\Example Windows Directory]
[11-07-2021 18:45:38][AP][DEBUG][ConfigUtils] [autoplug-backup-config, plugins-backup, upload, enable] VAL: [] DEF: [false]
[11-07-2021 18:45:38][AP][DEBUG][ConfigUtils] [autoplug-backup-config, plugins-backup, upload, delete-on-complete] VAL: [] DEF: [false]
[11-07-2021 18:45:38][AP][DEBUG][ConfigUtils] [autoplug-backup-config, plugins-backup, upload, host] VAL: [] DEF: []
[11-07-2021 18:45:38][AP][DEBUG][ConfigUtils] [autoplug-backup-config, plugins-backup, upload, port] VAL: [] DEF: []
[11-07-2021 18:45:38][AP][DEBUG][ConfigUtils] [autoplug-backup-config, plugins-backup, upload, username] VAL: [] DEF: []
[11-07-2021 18:45:38][AP][DEBUG][ConfigUtils] [autoplug-backup-config, plugins-backup, upload, password] VAL: [] DEF: []
[11-07-2021 18:45:38][AP][DEBUG][ConfigUtils] [autoplug-backup-config, plugins-backup, upload, path] VAL: [] DEF: []
[11-07-2021 18:45:38][AP][DEBUG][ConfigUtils] [autoplug-backup-config, plugins-backup, upload, rsa-key] VAL: [] DEF: []
[11-07-2021 18:45:38][AP][DEBUG][ConfigUtils] [autoplug-restarter-config] VAL: [] DEF: []
[11-07-2021 18:45:38][AP][DEBUG][ConfigUtils] [autoplug-restarter-config, daily-restarter, enable] VAL: [] DEF: [false]
[11-07-2021 18:45:38][AP][DEBUG][ConfigUtils] [autoplug-restarter-config, daily-restarter, times] VAL: [] DEF: [23:00, 11:00]
[11-07-2021 18:45:38][AP][DEBUG][ConfigUtils] [autoplug-restarter-config, daily-restarter, commands, list] VAL: [] DEF: []
[11-07-2021 18:45:38][AP][DEBUG][ConfigUtils] [autoplug-restarter-config, daily-restarter, commands, list, 10] VAL: [] DEF: [say [Server] Server is restarting in 10 seconds., say [Server] Please allow up to 2min for this process to complete.]
[11-07-2021 18:45:38][AP][DEBUG][ConfigUtils] [autoplug-restarter-config, daily-restarter, commands, list, 3] VAL: [] DEF: [say [Server] Server is restarting in 3.]
[11-07-2021 18:45:38][AP][DEBUG][ConfigUtils] [autoplug-restarter-config, daily-restarter, commands, list, 2] VAL: [] DEF: [say [Server] Server is restarting in 2.]
[11-07-2021 18:45:38][AP][DEBUG][ConfigUtils] [autoplug-restarter-config, daily-restarter, commands, list, 1] VAL: [] DEF: [say [Server] Server is restarting in 1.]
[11-07-2021 18:45:38][AP][DEBUG][ConfigUtils] [autoplug-restarter-config, daily-restarter, commands, list, 0] VAL: [] DEF: [say [Server] Server is restarting...]
[11-07-2021 18:45:38][AP][DEBUG][ConfigUtils] [autoplug-restarter-config, custom-restarter, enable] VAL: [] DEF: [false]
[11-07-2021 18:45:38][AP][DEBUG][ConfigUtils] [autoplug-restarter-config, custom-restarter, cron] VAL: [] DEF: [0 30 9 * * ? *]
[11-07-2021 18:45:38][AP][DEBUG][ConfigUtils] [autoplug-restarter-config, custom-restarter, commands, list] VAL: [] DEF: []
[11-07-2021 18:45:38][AP][DEBUG][ConfigUtils] [autoplug-restarter-config, custom-restarter, commands, list, 10] VAL: [] DEF: [say [Server] Server is restarting in 10 seconds., say [Server] Please allow up to 2min for this process to complete.]
[11-07-2021 18:45:38][AP][DEBUG][ConfigUtils] [autoplug-restarter-config, custom-restarter, commands, list, 3] VAL: [] DEF: [say [Server] Server is restarting in 3.]
[11-07-2021 18:45:38][AP][DEBUG][ConfigUtils] [autoplug-restarter-config, custom-restarter, commands, list, 2] VAL: [] DEF: [say [Server] Server is restarting in 2.]
[11-07-2021 18:45:38][AP][DEBUG][ConfigUtils] [autoplug-restarter-config, custom-restarter, commands, list, 1] VAL: [] DEF: [say [Server] Server is restarting in 1.]
[11-07-2021 18:45:38][AP][DEBUG][ConfigUtils] [autoplug-restarter-config, custom-restarter, commands, list, 0] VAL: [] DEF: [say [Server] Server is restarting...]
[11-07-2021 18:45:38][AP][DEBUG][ConfigUtils] [autoplug-updater-config] VAL: [] DEF: []
[11-07-2021 18:45:38][AP][DEBUG][ConfigUtils] [autoplug-updater-config, self-updater, enable] VAL: [] DEF: [true]
[11-07-2021 18:45:38][AP][DEBUG][ConfigUtils] [autoplug-updater-config, self-updater, profile] VAL: [] DEF: [AUTOMATIC]
[11-07-2021 18:45:38][AP][DEBUG][ConfigUtils] [autoplug-updater-config, self-updater, build] VAL: [] DEF: [stable]
[11-07-2021 18:45:38][AP][DEBUG][ConfigUtils] [autoplug-updater-config, server-updater, enable] VAL: [] DEF: [false]
[11-07-2021 18:45:38][AP][DEBUG][ConfigUtils] [autoplug-updater-config, server-updater, profile] VAL: [] DEF: [MANUAL]
[11-07-2021 18:45:38][AP][DEBUG][ConfigUtils] [autoplug-updater-config, server-updater, software] VAL: [] DEF: [paper]
[11-07-2021 18:45:38][AP][DEBUG][ConfigUtils] [autoplug-updater-config, server-updater, version] VAL: [] DEF: [1.16.4]
[11-07-2021 18:45:38][AP][DEBUG][ConfigUtils] [autoplug-updater-config, server-updater, build-id] VAL: [] DEF: [0]
[11-07-2021 18:45:38][AP][DEBUG][ConfigUtils] [autoplug-updater-config, plugins-updater, enable] VAL: [] DEF: [true]
[11-07-2021 18:45:38][AP][DEBUG][ConfigUtils] [autoplug-updater-config, plugins-updater, profile] VAL: [] DEF: [MANUAL]
[11-07-2021 18:45:38][AP][DEBUG][ConfigUtils] [autoplug-updater-config, plugins-updater, async] VAL: [] DEF: [true]
[11-07-2021 18:45:38][AP][DEBUG][ConfigUtils] [autoplug-tasks-config] VAL: [] DEF: []
[11-07-2021 18:45:38][AP][DEBUG][ConfigUtils] [autoplug-tasks-config, live-tasks, enable] VAL: [] DEF: [true]
[11-07-2021 18:45:38][AP][DEBUG][ConfigUtils] [autoplug-tasks-config, live-tasks, refresh-interval] VAL: [] DEF: [250]
[11-07-2021 18:45:38][AP][DEBUG][ConfigUtils] [autoplug-tasks-config, show-warnings] VAL: [] DEF: [true]
[11-07-2021 18:45:38][AP][DEBUG][ConfigUtils] [autoplug-tasks-config, show-detailed-warnings] VAL: [] DEF: [false]
[11-07-2021 18:45:38][AP][INFO] Configurations loaded.
[11-07-2021 18:45:38][AP][DEBUG][Main]
[11-07-2021 18:45:38][AP][DEBUG][Main] DEBUG DETAILS:
[11-07-2021 18:45:38][AP][DEBUG][Main] SYSTEM OS: Mac OS X
[11-07-2021 18:45:38][AP][DEBUG][Main] SYSTEM VERSION: 11.4
[11-07-2021 18:45:38][AP][DEBUG][Main] JAVA VERSION: 16.0.1
[11-07-2021 18:45:38][AP][DEBUG][Main] JAVA VENDOR: Oracle Corporation https://java.oracle.com/
[11-07-2021 18:45:38][AP][DEBUG][Main] WORKING DIR: /Users/danielgroves/Documents/Downloads
[11-07-2021 18:45:38][AP][DEBUG][Main] SERVER FILE: /Users/danielgroves/Documents/Downloads/EssentialsXChat-2.19.0-dev+167-9bd35a2.jar
[11-07-2021 18:45:38][AP][INFO] | ------------------------------------------- |
[11-07-2021 18:45:38][AP][INFO] Thank you for installing AutoPlug!
[11-07-2021 18:45:38][AP][INFO] It seems like this is your first run and you haven't set your server key yet.
[11-07-2021 18:45:38][AP][INFO] For that, register yourself at https://autoplug.online/ and add a new server.
[11-07-2021 18:45:38][AP][INFO] Enter the key below:
[11-07-2021 18:45:43][AP][INFO] Authenticating server...
[11-07-2021 18:45:43][AP][DEBUG][SecuredConnection] [CON_TYPE: 0] Connecting to AutoPlug-Web...
[11-07-2021 18:45:49][AP][DEBUG][SecuredConnection] [CON_TYPE: 0] Handshake finished!
[11-07-2021 18:45:49][AP][DEBUG][SecuredConnection] [CON_TYPE: 0] Connected to AutoPlug-Web successfully!
[11-07-2021 18:45:49][AP][DEBUG][SecuredConnection] [CON_TYPE: 0] CipherSuite:TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384
[11-07-2021 18:45:49][AP][DEBUG][SecuredConnection] [CON_TYPE: 0] SessionId Session(1626047146024|TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384)
[11-07-2021 18:45:49][AP][DEBUG][SecuredConnection] [CON_TYPE: 0] Authenticating server with Server-Key...
[11-07-2021 18:45:49][AP][DEBUG][SecuredConnection] [CON_TYPE: 0] PeerHost <IP_ADDRESS>
[11-07-2021 18:45:52][AP][WARN] ================================
[11-07-2021 18:45:52][AP][WARN] Message: Connection issues!
[11-07-2021 18:45:52][AP][WARN] Details: [CON_TYPE: 0] Authentication failed (code:1): No matching server key found! Register your server at https://autoplug.online/ and get your server-key. Restart AutoPlug when done.
[11-07-2021 18:45:52][AP][WARN] Type: java.lang.Exception
[11-07-2021 18:45:52][AP][WARN] Stacktrace:
[11-07-2021 18:45:52][AP][WARN] com.osiris.autoplug.client.network.online.SecuredConnection.<init>(SecuredConnection.java:81)
[11-07-2021 18:45:52][AP][WARN] com.osiris.autoplug.client.network.online.MainConnection.run(MainConnection.java:44)
[11-07-2021 18:45:52][AP][WARN] ================================
[11-07-2021 18:45:57][AP][DEBUG][TaskServerDownload] Downloading AutoPlug-Client.jar from: https://github.com/Osiris-Team/AutoPlug-Releases/raw/master/stable-builds/AutoPlug-Client.jar
[11-07-2021 18:46:10][AP][DEBUG][TaskServerDownload] Comparing hashes (SHA-256):
[11-07-2021 18:46:10][AP][DEBUG][TaskServerDownload] Input-Hash: 74f5a3adcc283a9293b3d3b37899d2d2f43b33147e228b2fd320d9f116397cbe
[11-07-2021 18:46:10][AP][DEBUG][TaskServerDownload] File-Hash: 74f5a3adcc283a9293b3d3b37899d2d2f43b33147e228b2fd320d9f116397cbe
[11-07-2021 18:46:10][AP][INFO] See you soon!
[11-07-2021 18:46:10][AP][DEBUG][AL] Stopped AP

@DannyDorito24 Cant you copy the console log directly (bc it contains more info)? Or does the screen session close?

@DannyDorito24 yeah just tried it out my self with screen and could achieve your error!

Ok just found out how to fix it.
It can be fixed by preventing the screen session from closing when the self-updater is installing the update.
This can be achieved by simply modifing your startup script to something like this:
/usr/bin/screen -DmS AUTOPLUG%i sh -c 'java -jar AutoPlug-Client.jar; exec bash'
For more details see this: https://unix.stackexchange.com/a/47279


Switching between budgets

When i switch between budget, it seems that the extension is "off" until i refresh the page.
Is this by design?

I just noticed the same problem. When I switch between budgets, either through the standard YNAB workflow, or through the YNAB Toolkit addition of links in the left pane, I don't have Toolkit functions until I refresh the page.

No. Please see my response to Issue #1775.

Closing since this is a duplicate of the ticket @dbaldon linked.


NJ - ELR File Issues

Name: Mike Firkser
Email<EMAIL_ADDRESS>Please note the ELR errors in the attached emails.  Many records are missing ORC-23 (Ordering facility phone number).  Please correct and resubmit.

duplicate to 5537


Delayed message body loading

Delayed message body loading
Goal
The Mail page was crashing for me because I had a lot of large emails that were more than the browser could load at once.  This PR fixes that problem by delaying message body loading until each message is clicked to reveal the body (which is now loaded via AJAX).  I'm happy to do this a different way if you'd prefer.
DESCRIPTION
Not much else to say...

@mmcev106 unfortunately this currently breaks the integration tests here: https://github.com/cytopia/devilbox/blob/master/.tests/tests/intranet-email.sh#L72-L74
Do you have an idea, how to rewrite them and still make sure it tests for successful mail delivery?

I just pushed a commit that should fix that test script.  Let me know if you need anything else!

Would you like me to fix the PHP 5.3 test failures, or perhaps limit testing to PHP 7+?

Accidentally closed :facepalm: now the checks are running from scratch :-/


Feature: MDC support

Consider adding some additional functions for managing MDC (Javadoc: https://www.slf4j.org/api/org/slf4j/MDC.html) by putting and removing keys
Additional consideration: it would be great to have it with coroutines
Docs: https://www.slf4j.org/manual.html#mdc
I don't have a concrete API proposal but here is some initial thoughts:
object MDC {
  // additional overloads for varargs and up to some N number of `Pair`
  fun <T> withContext(keyPair: Pair<String, String>, body: () -> T) {
    return org.slf4j.MDC.putCloseable(keyPair.first, keyPair.second).use {
      body()
    }
  }
}

looks like a neat idea! any other suggestions?

How about an extension method instead:
inline fun <T> Pair<String, String>.asLoggingContextOf(body: () -> T): T =
            MDC.putCloseable(first, second).use { body() }

That works well if you have a single key/value pair you want to put into context.
How would multiple pairs or "additive" contexts look like?
I think that coming up with the right API here will be a bit difficult, so it might be worth it to enumerate use cases. Here are at least a few I am thinking of:

wrapping some method body with single pair:
fun myFunction(name: String) {
  mdc.withContext("name" to name) {
    doThing()
  }
}

wrapping multiple pairs
fun myFunction(name: String) {
  mdc.withContext("name" to name, "otherThing" to "otherValue") {
    doThing()
  }
}

a map of parameters
fun myFunction(params: Map<String, String>) {
  mdc.withContext(params) {
    doThing()
  }
}

coroutines support in (not sure how this works without more coroutine support, possibly in a different libarary or out of scope for this request)
fun myFunction(name: String) {
  launch(CommonPool) {
    mdc.withContext("name" to name) {
      // support for suspending functions?
      val thing1 = doThing1()
      val thing2 = doThing2()
      thing + thing2
    }
  }
}

I think coroutines are out of the initial scope as MDC current infra relies on threads.
Basically, for multiple pairs it is possible to do something like:
(key1 to value1).asLoggingContextOf {
  (key2 to value2).asLoggingContextOf {
     ...
  }
}

So the real question here is how required / strong is the use case. Currently, I don't use MDC (although I might start using it when support will be available ;-)
But I am not sure how strong is the use case. If it was I guess it would probably be implemented in MDC.putCloseable()
What do you think?

I agree in cutting MDC support for the first iteration of this. There might be some way to handle it with ContinuationInterceptor but that is for future investigation.
The background for how I am hoping to migrate to MDC in one part of our application:

We have an old log4j format custom layout that converts messages to JSON
loggers construct and pass in a special type type we have to the logger.info(Object message) (and other levels) that has a map of keys and values that are added to to the constructed JSON. This gets output and consumed downstream in log collection infrastructure
SLF4J API takes a String message, so we can't really keep passing in our custom object

I'd like to get us moving forward for us by:

Switch all of our stuff from using Log4j directly to SLF4J
Switch to using this library (which we are using in other places already)
store those key/values in MDC and have a Layout pull them out and format the message as JSON instead

In our case, our key/value maps sometimes have 9-10 keys and values (right now), so repeating (k to v).asLoggingContextOf {} that many nested times is not as desirable as vararg Pair<> (or N-arg Pair methods similar to Guava with https://google.github.io/guava/releases/21.0/api/docs/com/google/common/collect/ImmutableList.html#of-E-E-E-E-E-E-E-E-E-E-E- and https://google.github.io/guava/releases/21.0/api/docs/com/google/common/collect/ImmutableList.html#of-E-E-E-E-E-E-E-E-E-E-E-E-E...-) or Map<> methods.
We can do all of that migration ourselves, but Kotlin-friendly MDC helpers are not present in this library (right now!). I can always try out a few different APIs in our own internal project and see how my teammates feel before following up here, but I thought other users may also look for it.

ok, I will implement few flavors, let me know what you think.

please see the commit let me know what you think, then I will push it to 1.4.9

:+1: from me, looks good!

version 1.4.9 deployed.

More details on coroutines with mdc are here: https://github.com/Kotlin/kotlinx.coroutines/issues/119

coroutines support is now available, more details here: https://github.com/MicroUtils/kotlin-logging/wiki#mdc-and-threadscoroutines


Allow Modules as propagation method, remove :auto

In preparation for allowing for ODE solvers via an optional dependency, we now allow (and encourage) passing modules as a propagation method.
Also, the method now must be explicitly specified, :auto is no longer an option. The heuristics for choosing a propagation methods are brittle, and it's probably a good idea for people to think about which method they should use anyway.
With optional dependencies (ODE) being added, automatically choosing a method becomes even weirder.

Not sure why this is marked as "closed": it was properly merged into master


More accurate byte ranges for BAM search results

VirtualPosition's encode the start of a BGZF block in it's high bits (known also as the compressed part or the coffset). When getting results from a BAI query with noodles, the ending VirtualPosition's compressed value is pointing to the beginning of a block that might still include reads that need to be returned. If we want to translate that ending VirtualPosition into a byte offset in the file, we need to know where does that block finishes, but that's not something that the BAI index provides out of the box.
Our current solution is dummy and it just adds the maximum block size to the compressed part for the ending intervals to make sure that we don't loose any reads (at the expense of possibly adding many reads that don't belong to the sequence range that was queried)
A better alternative would be to construct a HashMap<u64, u64> from the BAI that would map the block starting offsets to the beginning of the closer contiguous block that we can infer from the BAI index. We could use that map to know the corresponding end for every compressed offset that we get for an end interval. In case that we don't find it in the map, we could fall back to the current strategy of adding the maximum block size.
To get that information from the BAI we can do something like:
  let index = bai::read(path.as_ref().with_extension("bam.bai"))?;

  let mut ref_seq_intervals: Vec<HashMap<u64, u64>> = Vec::with_capacity(index.reference_sequences().len());

  for (idx, idx_ref_seq) in index.reference_sequences().iter().enumerate() {
    if let Some(metadata) = idx_ref_seq.metadata() {
      let blocks: HashSet<u64> = idx_ref_seq
        .bins()
        .iter()
        .flat_map(|bin| bin.chunks().iter())
        .flat_map(|chunk| vec![chunk.start(), chunk.end()])
        .map(|vpos| vpos.compressed())
        .collect();
      let mut blocks: Vec<u64> = blocks.into_iter().collect();
      blocks.sort_unstable();

      let intervals: HashMap<u64, u64> = blocks
        .iter()
        .take(blocks.len() - 1)
        .zip(blocks.iter().skip(1))
        .map(|(start, end)| (*start, *end))
        .collect();

      ref_seq_intervals.push(intervals);
    }
  }

I would like to give this one a try!

By all means, please go ahead! :)


Beef up description of how to decompress Db2 records

I didn't mention the Db2 sample program DSNTSMFD (from SDSNSAMP) by name. 0C7 and other ABENDs can be caused by running with compressed data.
Note: As this is a sample in an IBM program product's library I don't feel we can incorporate it into this project.

Done.


Assign ref to formsy elements when using HOC or Decorator

When using the HOC or Decorator we are loosing the refs from children components when creating the new component with React.createClass, the newly component should have a ref like 'formsyElement'.
I fixed this but its hackish:
Formsy.Decorator = function () {
  return function (Component) {
    return React.createClass({
      mixins: [Formsy.Mixin],
      render: function () {
        return React.createElement(Component, {
          setValidations: this.setValidations,
          setValue: this.setValue,
          resetValue: this.resetValue,
          getValue: this.getValue,
          hasValue: this.hasValue,
          getErrorMessage: this.getErrorMessage,
          getErrorMessages: this.getErrorMessages,
          isFormDisabled: this.isFormDisabled,
          isValid: this.isValid,
          isPristine: this.isPristine,
          isFormSubmitted: this.isFormSubmitted,
          isRequired: this.isRequired,
          showRequired: this.showRequired,
          showError: this.showError,
          isValidValue: this.isValidValue,
          ref: 'formsyElement',
          ...this.props
        })
      }
    })
  }
}

With that changes I can now get the refs from the formsy element like this.refs.autocomplete.refs.formsyElement.refs.input for creating a new google autocomplete.
Thanks

+1 for this feature


Feature: Section.paragraphs

For issue #181
Support access paragraphs in a Section by paragraphs， For example:
from docx import Document
d = Document("a.xml")
d.sections[0].paragraphs

@scanny  Can you spend some time to review this pr?

I would really need this feature as soon as possible would it be possible to accept this pull request please?

@TheProgrammer21
The owner of this project has not merged any PR for two years

@TheProgrammer21
The owner of this project has not merged any PR for two years

Thanks for the information, I already saw it and created an own fork. I think it's pretty sad that such a popular and the most used library (and only one with that many features) I know is just not updated any more. Many developed pull requests wait to be accepted and just don't get accepted and the project owner doesn't take actions to transfer ownership or anything.. Or at least define new maintainers.


Add SidekickContext

To be tested

[x] Does plugin generation work with sidekick?
[x] Can users write unit tests for their sidekick commands?
[x] Can SidekickContext be accessed during sidekick update?
[x] Can SidekickContext be accessed in Plugin install script?

I think we should do another release before we merge this

I'm pretty happy with the outcome. Landing this and moving forward towards 1.0


Return affected rows

Giving some way to access the "affected rows" value for queries, similar to how last insert id is handled, would be quite spiffy.

So at the moment, there isn't a way to access the 'affected_row' directly when you make an update? I am trying to update a field in a row (accessed with its ID) and then get other field values from that row after the UPDATE. Is there a way to do this without 2 separate queries? (1 for update, 1 for select)

The example code maltzj posted worked fine for me without needing to run a second query.


Update Bellary to Ballari

Name change to reflect data

Other districts also named incorrectly right now. Related to #413

This will be resolved by #521


Upgrade base image to make composer work

Dependencies in composer.json requires a higher version of PHP therefore the base image should be upgraded.
composer.json says ^php 8.1.0, but some dependencies specified in composer.lock file requires php 8.2 to work. Therefore I updated the base image to php:8.2-fpm which works with existing lock files out of box.

thx @sunxiaoguang


Remove unnecessary information for estimatedDocumentCount

These docs should be valid only for countDocuments
estimatedDocumentCount doesn't have query parameter so no need to add these migration guide.
It seems this is a copy & paste docs from countDocuments issue.

Thanks for your contribution @Fonger!


Validate the contents of LANGUAGE_CACHE_FILE before use #22

This fix seems to be the kind of thing needed.
I think the extra is_readable is not a big performance hit, since it is likely to come from the file metatdata cache, and not need an actual disk access.
I have tested this with ./testsubmit.py, and that still seems to work fine.

Thanks Tim.


python312Packages.python-fontconfig: normalize pname

Description of changes
part of #245383
Things done

Built on platform(s)

[ ] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
24.05 Release Notes (or backporting 23.05 and 23.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

Result of nixpkgs-review pr 295104 run on x86_64-linux 1

2 packages failed to build:

python312Packages.python-fontconfig
python312Packages.python-fontconfig.dist

2 packages built:

python311Packages.python-fontconfig
python311Packages.python-fontconfig.dist

@ofborg build python311Packages.python-fontconfig


Recipe book not functioning correctly using 1.13.2 client on 1.12.2 server.

Recipe book not functioning correctly using 1.13.2 client on 1.12.2 server.
If I'm on 1.13.2 client and logging in to 1.12.2 server -> recipe book doesn't work at all.
If changing servers from 1.13.2 -> 1.12.2 server (on bungeecord network), the gold block that's in my recipe book from the 1.13.2 server stays in recipe book, but you can't click it at all.
ViaVersion Build 255
PaperSpigot Build: 426
Report: https://www.ecocitycraft.com/forum/threads/bug-recipe-book-in-wb-no-longer-working.178552/
Linked video: https://www.screencast.com/t/3H1kZDW8
Video shows a user on the 1.13.2 client playing on a 1.12.2 server.

@MylesIsCool would you happen to have any updates on this or any potential bypasses?
It's affecting our game play pretty heavily :( Any advice is very appreciated!

Unfortunately not, currently writing thesis proposal documents and time isn't plentiful sadly.

Thank you both so much!


Add option to restart VSCode

Searched but query returned previous results ?!

Currently, if you make some environment change you'll have to exit and reload or hope that VScode has an update to be presented with the option to reload VSCode. It would be nice if there was an option under help that had a static "Restart VSCode". It could be helpful if something isn't working right to be able to reload it.
Thank you for your consideration.

Hello @kaosaxis !
What version of VS Code are you using? On older versions you had indeed to restart manually after installing extensions. But since 1.37, I guess, VS Code doesn't need to restart anymore in most of the changes..
You are referring to what use cases?..

It is a basic feature, even if it is not supposed to be necessary, restarting solves 90% of bugs (short term).


after firing map.pm.enableDraw(...) - on each "mousemove" event getting error "Cannot read property 'lat' of null"

Hey there,
First, I have to say that despite the error that promping on console, the behaviour of the functionality is great. The result is pure Rectangle and the working progress is great.
The operation :
I'm trying to draw few shapes using leaflet.pm, and I found some troubles while using the method:
map.pm.enableDraw("Rectangle", {       drawing: true,       // snapping       snappable: true,       snapDistance: 20,       allowSelfIntersection: true,        finishOn: 'dblclick',        templineStyle: {         color: 'blue'       },       hintlineStyle: {         color: 'blue',         dashArray: [5, 5]       },       cursorMarker: true,       pathOptions: {         color: 'red',         fillColor: 'orange',         fillOpacity: 0.7       },       markerStyle: {         opacity: 0.5,         draggable: true,       }     });
Then, when I'm moving with the cursor around the leaflet map I'm getting error.
I already debugged the leaflet module all the day and I found the source of the bug :
In the function :
`
// @method latLngToLayerPoint(latlng: LatLng): Point
// Given a geographical coordinate, returns the corresponding pixel coordinate

// relative to the [origin pixel](#map-getpixelorigin)

latLngToLayerPoint: function (latlng) {
var projectedPoint = this.project(toLatLng(latlng))._round();
return projectedPoint._subtract(this.getPixelOrigin());
}
`
The function getting the parameter latlng that expecting to be type of LatLng but instead he getting
an array of 17 elements of type LatLng.

So - when executing the function toLatLng(latlng) it returns null, and then this null sended to 'this.project' method and then it throws an error to console.
So I tried to change and manipulate the code in purpose to avoid error's on console, and I have done it, but the performance of the drawing Rectangle process (while moving the cursor around the map) became awful (just getting too slow when mouse move during the draw), so I can't really found a good solution to the error's on console.

Needless to say that I already tried to wrap this code area by try & catch but I haven't find a solution that will work well.
I also tried to send each element of array with for-loop, and also tried to send only the last/first point in the array. All this workarounds has led me to heavy performance issue (But the error's on console disappeared).

I want to say again - the performance when I getting the error's on console were great, but I want to avoid the error's that coming from the leaflet module.
By the way, I'm using the latest version of leaflet : "1.2.0+HEAD.1ac320b"
Thank you friends.

hey @DavidLore. Do you mind using ``` to wrap the provided code so I actually know what options you passed? If I copy that, most of the code is commented out.
Also: if you can provide a JSfiddle showing the problem, it'd be much more helpful for me to get to the bottom of this.
Thanks for your help!

@codeofsumit I'm having the same issue.  Here's a JSFiddle of the problem.
https://jsfiddle.net/dqnzts6a/1/
It seems to be triggered by the combination of geojson and leaflet.pm.

Haven't been able to reproduce this yet, sorry. I'll close this issue for now. Feel free to reopen the issue with a JSfiddle and error reproduction 👍

I guess #249 is related and possibly the same issue.


feat(dao) support different read and write consistency levels in cassandra

Summary
This adds the capability to define different read and write
consitency levels for cassandra. Earlier both of these were set
by a single cassandra_consistency configuration parameter.
This PR introduces cassandra_write_consistency and
cassandra_read_consistency configuration parameters and removes
cassandra_consistency parameter.

 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.

Hi @Abhishekvrshny, nice PR. Should we still keep cassandra_consistency for backward compatibility. E.g. if a more specific consistency is not defined, use that?

@bungle Sure. In that case, should the PR be against master or next? Also, is there a way to mark a config as deprecated somehow, for users to migrate?
And I see some PR checks failing, not sure how to resolve those.

@bungle I have made the suggested changes to the best of my understanding. Please see if this works.

@bungle Checking if you got a chance to review this.

@thibaultcha Thanks for the review. I have made the required changes.

@thibaultcha gentle reminder for reviewing the last change. Thanks.

Merged to next with some edits, thank you!

@Abhishekvrshny Please fill out the following form to claim your contributor swag: https://github.com/Kong/kong/blob/master/CONTRIBUTING.md#contributor-t-shirt


Add fathomnet-py

Insert URLs to the project here: https://github.com/fathomnet/fathomnet-py

[x] The projects is active, documented, open source licensed, shows usage from external parties and is directly targeting environmental sustainability. Find more details in the Contribution Guide.

All issues labeled as Good First Issue of the project listed on OpenSustain.tech will be visible on ClimateTriage.com. This is a great way to welcome new community members to your project.
All new projects listed will be posted on our Mastodon channel.

@kevinsbarnard


this_state and ctor

Hi,
Is there a way to get the lua state from the ctor in a transparent manner like this is the case with function ?
Thanks !

Yes. Use this_state.

This is what I was doing but my mistake was to not add it to the arg list in the binding.
Thanks !


Change Apache server listening port

In the container, apache doesn't start when using port 80 (permission issue) but the service needs to be on port 80, glance doesn't accept any other ports than standard ports (80 or 443).

/retest-required


InstagramFeedResult and its list of objets

I'm try to get the tag users in the Media and the comments too, but a can't cast the result.
Cast user tagged i try this:
if (feedResult.usertags != null) {
                    for (Object o : feedResult.usertags.values()) {
                        InstagramUser userSummary = (InstagramUser) o;
                        //OR
                        InstagramUserSummaryuserSummary = (InstagramUserSummary) o;
                    }
                }

The comments I try this
if (feedResult.comment_count) {
                    System.out.println("Total Comments: "+feedResult.getComments());
                    for (Object o : feedResult.comments) {
                        InstagramComment comment = (InstagramComment) o;
                    }
                    //OR
                    for (Object o : feedResult.getComments()) {
                        InstagramComment comment = (InstagramComment) o;
                    }
                }

I can't understand the result of this objects and why its has to be Object and not a Instagram Object.
Please, explain to me. Thanks

Hey @krismorte,
I pushed something to handle this. Could you validate from master please?

I have the same problem.. How you do?

Addressed in rewrite or no longer relevant.


op not register

fix problem op not registered
fix header and source not found problems when using build_all_linux.sh

@vrv

@ekelsen checks blocked?

@petewarden Please give a review.

@petewarden Review needed. Thanks

@ekelsen @petewarden

@martinwicke @petewarden Please give a review.

Nagging Reviewer @petewarden: It has been 14 days with no activity and the awaiting review label was assigned. Can you please take a look?

Nagging Reviewer @petewarden: It has been 29 days with no activity and the awaiting review label was assigned. Can you please take a look?

Nagging Reviewer @petewarden: You have been added as a reviewer to this pull request. Please add your review or reassign. It has been 45 days with no activity and the awaiting review label has been applied.

@petewarden Please add a review or reassign. Thanks.

Nagging Reviewer @petewarden: You have been added as a reviewer to this pull request. Please add your review or reassign. It has been 14 days with no activity and the awaiting review label has been applied.


Add custom mouse precision property for SliderBar

RFC. In UI i thought it would be be nice to have a slider bar with text input field with higher precision, so you can quickly change a integer value with the sliderbar but use the text field if you need more precision. Example video below using a Slider from WPF.
In osu! framework this behaviour is not possible because the text input and slider bar have to share a Bindable and that bindable determines the precision of the slider bar and text input. This PR fixes this by adding a custom precision to the slider bar.
https://github.com/user-attachments/assets/1aa5c8d8-7ae8-414e-83d4-359e7947af5b

In osu! framework this behaviour is not possible because the text input and slider bar have to share a Bindable and that bindable determines the precision of the slider bar and text input

It's not immediately clear to me why this is an issue exactly? You steer mouse step by changing precision of the bindable. If you don't want the coupling, you can have a loose-coupled setup wherein the slider bindable is not bound to the other bindable but you set up bidirectional or one-directional value change callbacks to propagate the value.
I'm personally going to require a more convincing rationale to try this because the OP is not doing it for me. In particular, consider this: what happens if you set a Step that the underlying bindable cannot support? Something like 0.05 step and 0.1 precision. I imagine things will begin to break down at that point.

If you don't want the coupling, you can have a loose-coupled setup wherein the slider bindable is not bound to the other bindable but you set up bidirectional or one-directional value change callbacks to propagate the value.

That setup is actually not as bad as I initially thought. After implementing it the callback loop you create is not hard to fix.


Normal Operator

Now that we have a CG, it could be nice to add some kind of 'normal' to linearoperator, that defaults to calling adjoint and forward but can have more specific implementations.
This would allow to write
F=FourierOp@CSM
FHF=csm.H@F.normal()@csm
and use a fast implementation of the normal Fourier operation.
Next level of fancyness would be to make this possible:
FHF=F.H@F
and have it call fourierop.normal in the backend.
Final fancyness would be to support some kind of special logic for
F=cartesianmask@FourierOp@CSM
With cartesian undersampling it could only perform any fft operations along the undersampled dimensions and avoid the fft along readout... Not sure of we could achieve this...

Suggestion: Utilise our own Fourier operator to calculate the Toeplitz approximation for a fast normal operator

#443 is level 1
We could consider detecting some cases of a.h@a:In matmul of the adjointlinearop, we can check if other is the same as the operator.
If other is a composition, traverse always in the first op and check if we reach us.
If the underlaying op of adkoint is a composition, first go down on the left operator as far as possible, than apply the logic. If we find a match, backtrack one level and redo.
So (a.b.d).H@(a.b.c)
Matmul of adjoint operator would see that the op that we took the adjoint of is a composition.
It would consider the left most operator, a.
It would compare it with the lect most operator in other.
Find a match (a and a). So we could do a.gram() there.
Go up one level. Find another match.
Go up one level. Find no match.
So the result would be
D.h@(a@b).gram@c

#443 is level 1
We could consider detecting some cases of a.h@a:In matmul of the adjointlinearop, we can check if other is the same as the operator.
If other is a composition, traverse always in the first op and check if we reach us.
If the underlaying op of adkoint is a composition, first go down on the left operator as far as possible, than apply the logic. If we find a match, backtrack one level and redo.
So (a.b.d).H@(a.b.c)
Matmul of adjoint operator would see that the op that we took the adjoint of is a composition.
It would consider the left most operator, a.
It would compare it with the lect most operator in other.
Find a match (a and a). So we could do a.gram() there.
Go up one level. Find another match.
Go up one level. Find no match.
So the result would be
D.h@(a@b).gram@c
This logic should at least cover all operator composition cases. it would break for
(a.b.d).H@(lam*a.b.c)
With scalar lambda (not sure how often that should happen...)

One issue are patterns like
precon@FourierOp or CartesianSampling@FourierOp.
Either

we move all these think into FourierOp and not write them as operators (dislike)
we add logic to DCF and CartesianSampling to detect it is multiplied to a FourierOp and move themselves into the FourerOp,

class DCFOp
  __matmul__(self, other):
    if isinstance(other, FourierOp):
         new = return FourieOp.copy()
         new.dcf = self
      return new
    else:
         return LinearOperatorComp(self,other)

we add special logic to .gram of linearoperatorcomposition that handles common compositions with shortcuts


Introduced the ability to provide own client for spark streaming

I have the need to test this stuff locally, so the ability to provide own client is crucial.
A good usage example would be setting custom endpoint.

Great work! Thanks @ruseinov !
We will release the next version later this month.

@shimamoto please reach out once this is released, if you remember!