io-package.json on NPM has wrong Version

NPM Package<EMAIL_ADDRESS>contains io-package.json and package.json with version
1.1.0
..

Hmm, curius,
I installed the adapter new freshly and get 1.1.1:

Did you install it from NPM / via the latest repository?
If you download the tarball from https://registry.npmjs.org/iobroker.lgtv/-/iobroker.lgtv-1.1.1.tgz you can see that the io-package.json reads 1.1.0..
It takes https://github.com/SebastianSchultz/ioBroker.lgtv/commit/d6cffff50dd06b16b5021f818b17c7de05ab36d2 ..
As you can see here:
https://registry.npmjs.org/iobroker.lgtv/
Browse to obj.versions['1.1.1']..
"1.1.1": {
			"_from": "https://github.com/SebastianSchultz/ioBroker.lgtv/tarball/d6cffff50dd06b16b5021f818b17c7de05ab36d2",
			"_id"<EMAIL_ADDRESS>			"_inBundle": false,
			"_integrity": "sha512-niNf+64SFlh0ansIMBk+qOBS3KwFt3gNPis+Hu/FcaPpoNC9epnwX0WxNqcgtLLWh30/13vJAIkE4EqeZiIb4A==",
			"_location": "/iobroker.lgtv",
			"_phantomChildren": {
.........

The problem is ican't republish the same version :(

Then bump it to 1.1.2 (after changing version to 1.1.2 in io-package.json and package.json :wink:)

Done. Thank you for your help :)


[Bug] Cmd4 Crashes Homebridge When Internet Unavailable

Describe The Bug:
When Cmd4 is unable to reach the internet it will put Homebridge into a crash loop.
To Reproduce:
Disable internet access for the device hosting Homebridge, then restart Homebridge. Shortly after startup is complete, the log will show the error below and Homebridge will shut down.
Expected Behaviour:
Cmd4 should catch the error and log it.
Paste of Logs:
[2/10/2022, 8:49:44 AM] RequestError: getaddrinfo EAI_AGAIN registry.npmjs.org
    at ClientRequest.<anonymous> (/usr/lib/node_modules/homebridge-cmd4/node_modules/got/source/request-as-event-emitter.js:178:14)
    at Object.onceWrapper (node:events:510:26)
    at ClientRequest.emit (node:events:402:35)
    at ClientRequest.origin.emit (/usr/lib/node_modules/homebridge-cmd4/node_modules/@szmarczak/http-timer/source/index.js:37:11)
    at TLSSocket.socketErrorListener (node:_http_client:447:9)
    at TLSSocket.emit (node:events:390:28)
    at emitErrorNT (node:internal/streams/destroy:157:8)
    at emitErrorCloseNT (node:internal/streams/destroy:122:3)
    at processTicksAndRejections (node:internal/process/task_queues:83:21)
[2/10/2022, 8:49:44 AM] Got SIGTERM, shutting down Homebridge...

Cmd4 Config:
Not relevant to this bug as it's a core Cmd4 issue.
Environment:

Node.js Version: 16.13.2
NPM Version: 8.1.2
Homebridge Version: 1.4.0
homebridge-cmd4 Version: 6.1.1
Operating System: Tested on both Raspbian and Debian
Process Supervisor: hb-service

Hi,
There are no CMD4 procedures in the callback.  Not unexpected as Cmd4
does not use http or any IP protocols. Homebridge does of course and I
suspect it is their issue.
However, I can dig to try and reproduce it first.
Your complete config.json would be helpful, to see if there are any other
plugins configured. You most likely have Homebridge-ui, for instance.
Ttyl,
John
On Thu, Feb 10, 2022 at 12:05 PM nano9g @.***> wrote:

Assigned #126 https://github.com/ztalbot2000/homebridge-cmd4/issues/126
to @ztalbot2000 https://github.com/ztalbot2000.
—
Reply to this email directly, view it on GitHub
https://github.com/ztalbot2000/homebridge-cmd4/issues/126#event-6043997338,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABSBCX7EWXTTPNVCRIBVQQLU2PV5DANCNFSM5OBMGTSQ
.
You are receiving this because you were assigned.Message ID:
@.***>

Thanks for the quick response and sorry for assuming it was definitely a Cmd4 issue. I'll do some more testing and get back to you, hopefully later today.

After additional testing I was able to identify the root cause in the Cmd4 code, so I submitted pull request #127 to resolve the problem. The problem is that there was no error handling for the update check that Cmd4 automatically initiates at startup, so when the got library threw an error for the NPM registry hostname being unknown, the error wouldn't be caught and would go all the way up the stack and crash Homebridge.
Now instead of crashing, an error similar to this will be logged:
[UPDATE CHECK FAILED] Unable to check for updates to homebridge-cmd4 - RequestError: getaddrinfo EAI_AGAIN registry.npmjs.org

FYI, the crash was happening regardless of whether Cmd4 was actually set up in config.json or not - it just needed to be installed and the issue would be triggered when Homebridge started up without internet access. It also didn't matter what other plugins were installed (I stripped my test instance down to only Cmd4 to verify this).
In other words, even with an absolutely minimal config.json like the one below, just having Cmd4 installed was enough to throw Homebridge into a crash loop.
{
    "bridge": {
        "name": "Homebridge Test",
        "username": "##:##:##:##:##:##",
        "port": ####,
        "pin": "###-##-###"
    },
    "platforms": [],
    "accessories": []
}

Let me know if you have any questions. Thanks!

Oh Wow!  I love it when users fix things for me.  I wish I could buy you a
coffee!
Thanks ever ever so much.  You do not know how much this means to me!
John
On Fri, Feb 11, 2022 at 1:14 PM nano9g @.***> wrote:

After additional testing I was able to identify the root cause in the Cmd4
code, so I submitted pull request #127
https://github.com/ztalbot2000/homebridge-cmd4/pull/127 to resolve the
problem. The problem is that there was no error handling for the update
check that Cmd4 automatically initiates at startup, so when the got
library threw an error for the NPM registry hostname being unknown, the
error wouldn't be caught and would go all the way up the stack and crash
Homebridge.
Now instead of crashing, an error similar to this will be logged:
[UPDATE CHECK FAILED] Unable to check for updates to homebridge-cmd4 - RequestError: getaddrinfo EAI_AGAIN registry.npmjs.org
FYI, the crash was happening regardless of whether Cmd4 was actually set
up in config.json or not - it just needed to be installed and the issue
would be triggered when Homebridge started up without internet access. It
also didn't matter what other plugins were installed (I stripped my test
instance down to only Cmd4 to verify this).
In other words, even with an absolutely minimal config.json like the one
below, just having Cmd4 installed was enough to throw Homebridge into a
crash loop.
{
"bridge": {
"name": "Homebridge Test",
"username": "##:##:##:##:##:##",
"port": ####,
"pin": "###-##-###"
},
"platforms": [],
"accessories": []
}
Let me know if you have any questions. Thanks!
—
Reply to this email directly, view it on GitHub
https://github.com/ztalbot2000/homebridge-cmd4/issues/126#issuecomment-1036486139,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABSBCX2DA272ATGZX45OYWTU2VGYJANCNFSM5OBMGTSQ
.
You are receiving this because you were mentioned.Message ID:
@.***>


koord-manager: Optimize logs for reporting node devices

Ⅰ. Describe what this PR does

Optimize logs for reporting node devices

/lgtm
/approve


Implement Rewrite trait for syntax::ast::Attribute

This PR implements basic formatting against syntax::ast::Attribute.
Possible TODOs:

Add an option to change indent style or list layout when list (e.g. [derive(..)]) goes multi line
Implement https://github.com/rust-lang-nursery/fmt-rfcs/issues/72

Closes #984, closes #1261, and closes #1462.

Thank you!

Fixed typos and rebased.


Can not compile using LLVM 18 due to old version of bindgen

Compile error
I get the following error on build
Compiling ta-lib-wrapper v0.2.0
error: failed to run custom build command for `ta-lib-wrapper v0.2.0`

Caused by:
  process didn't exit successfully: `/[masked]/target/debug/build/ta-lib-wrapper-f988d2d81e18d3e8/build-script-build` (exit status: 101)
  --- stdout
  cargo:rustc-link-lib=ta_lib

  --- stderr
  thread 'main' panicked at /[masked]/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bindgen-0.51.1/src/ir/context.rs:891:9:
  "__mbstate_t_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/__mbstate_t_h_16_3)" is not a valid Ident
  note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

I am on Ubuntu, Here is some extra info:
rustc --version
$ rustc 1.78.0

llvm-config  --version
$ 18.1.3

Research
I found these discussions useful:
https://github.com/rust-lang/rust-bindgen/issues/2700
https://stackoverflow.com/questions/76443280/rust-bindgen-causes-a-is-not-a-valid-ident-error-on-build
https://github.com/rust-lang/rust-bindgen/issues/2312
I seems to be an issue with newer versions of llvm and older versions of bindgen.
It appears that latest vesion of bindgen works.

Seems similar to this PR
https://github.com/CLevasseur/ta-lib-rust/pull/7
I'll open a pull request with bindgen upgraded


[SPARK-20202][BUILD][SQL] Remove references to org.spark-project.hive (Hive 1.2.1)

What changes were proposed in this pull request?
As of today,

SPARK-30034 Apache Spark 3.0.0 switched its default Hive execution engine from Hive 1.2 to Hive 2.3. This removes the direct dependency to the forked Hive 1.2.1 in maven repository.
SPARK-32981 Apache Spark 3.1.0(master branch) removed Hive 1.2 related artifacts from Apache Spark binary distributions.

This PR(SPARK-20202) aims to remove the following usage of unofficial Apache Hive fork completely from Apache Spark master for Apache Spark 3.1.0.
<hive.group>org.spark-project.hive</hive.group>
<hive.version>1.2.1.spark2</hive.version>

For the forked Hive 1.2.1.spark2 users, Apache Spark 2.4(LTS) and 3.0 (~ 2021.12) will provide it.
Why are the changes needed?

First, Apache Spark community should not use the unofficial forked release of another Apache project.
Second, Apache Hive 1.2.1 was released at 2015-06-26 and the forked Hive 1.2.1.spark2 exposed many unfixable bugs in Apache because the forked 1.2.1.spark2 is not maintained at all. Apache Hive 2.3.0 was released at 2017-07-19 and it has been used with less number of bugs compared with 1.2.1.spark2. Many bugs still exist in hive-1.2 profile and new Apache Spark unit tests are added with HiveUtils.isHive23 condition so far.

Does this PR introduce any user-facing change?
No. This is a dev-only change. PRBuilder will not accept [test-hive1.2] on master and branch-3.1.
How was this patch tested?

SBT/Hadoop 3.2/Hive 2.3 (https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/129366)
SBT/Hadoop 2.7/Hive 2.3 (https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/129382)
SBT/Hadoop 3.2/Hive 1.2 (This has not been supported already due to Hive 1.2 doesn't work with Hadoop 3.2.)
SBT/Hadoop 2.7/Hive 1.2 (https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/129383, This is rejected)

Test build #129353 has started for PR 29936 at commit 032499e.

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

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

Merged build finished. Test PASSed.

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

Merged build finished. Test FAILed.

Retest this please

Test build #129362 has started for PR 29936 at commit 032499e.

Test build #129363 has started for PR 29936 at commit 621582f.

Test build #129363 has finished for PR 29936 at commit 621582f.

This patch fails to build.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

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

Merged build finished. Test FAILed.

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

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

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

Merged build finished. Test PASSed.

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

Test build #129366 has started for PR 29936 at commit 16b3452.

Test build #129362 has finished for PR 29936 at commit 032499e.

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

Merged build finished. Test PASSed.

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

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

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

Merged build finished. Test PASSed.

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

Test build #129366 has finished for PR 29936 at commit 16b3452.

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

Merged build finished. Test PASSed.

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

Retest this please

Test build #129382 has started for PR 29936 at commit 16b3452.

Retest this please.

Test build #129383 has started for PR 29936 at commit 16b3452.

Test build #129383 has finished for PR 29936 at commit 16b3452.

This patch fails some tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

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

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

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

Merged build finished. Test PASSed.

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

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

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

Merged build finished. Test PASSed.

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

Test build #129382 has finished for PR 29936 at commit 16b3452.

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

Merged build finished. Test PASSed.

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

Thank you, @srowen .

@wangyum can you review this? I think it's important to get your review here.

Thank you so much for review, @HyukjinKwon and @wangyum . It's difficult to remove all conditional logics in this PR. We have more instances in the test cases, too. I want to clean up them in another PR or a follow-up carefully. Is it okay for you guys?

cc @dbtsai , @holdenk , @viirya , @sunchao

Looks OK and the tests/Github Actions were passed. It is okay to clean up other Hive 1.2 related code in next PRs.

Test build #129424 has started for PR 29936 at commit c855260.

Thank you all. Merged to master for Apache Spark 3.1.0.

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

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

Merged build finished. Test PASSed.

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

Yeah, followup is fine. LGTM.

Test build #129424 has finished for PR 29936 at commit c855260.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

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


In FieldArry, Field can't be removed except the last one

<div key={index}>
<Field  name="Filepic" component="input" type="file"/>
<FontIcon onClick={() => fields.remove(index)}>{'clear'}</FontIcon>
</div>

if type="file"
No matter what index is，only delete the last one.

Do not use index as key. Instead, uniquely identify the element, e.g. with an ever increasing ID. Using index as key causes all kinds of rendering issues, including yours.


Jonmv/revert gc heaven commits

@bratseth config servers in CD have been struggling with deployments, due to really heavy GC, after this was merged. I can't see any other possible explanations, so I think we should revert and investigate.

@baldersheim @aressem


Can you explain how to use the lexer stand-alone?

i.e. I want to use it much the way I use http://benhanson.net/lexertl.html (ignore all Unicode etc for now, see the Examples)

There is no official standalone lexer feature. There is a way, but I'm not convinced it should be official in its current state.
If you want you can look under the hood and see how regex parser implements it's lexer.

Or did I just completely misunderstood you and you want to just use the regex lexer without the actual parser?
In this case you are out of luck. You could theoretically create a  huge regex with all lexical tokens (just separate them with | ) like this:
(token_1_regex)|(token_2_regex)
but unfortunately there is no support for grouping captures.
You won't know which sub-regex was actually matched.
I'm open implementing this feature, this would take some time though.

Yes, I was hoping to be able to use the regex lexer without the parser.
If you have the ability for your regexes to have numeric ids you just include that in the end state for each regex. You resolve ambiguity by only setting the id in an end state if one has not already been set.

I guess I could do a standalone lexer feature, it shouldn't be too hard to expose some interface for that. Like you said I already am creating a DFA from all the terminal symbols.
It would be a lexer class that resemble a parser interface but simpler, just the terms(...) call is enough.
And then a 'match' method accepting same kinds of arguments (buffer, options, error stream) and returning an index and a string view of a matched text.

There are a couple of conventions:

If there is no match for the lexer at the current position, you usually return a single character (I return an id of ~0 in this case too). This allows you to continue lexing.
It is customary to return 0 for End of Input.


Added solution for Maximun Absolute Difference Array in JAVA from Greedy Algo problem

@RoyalEagle73  don't add single questions every time , add all solutions of java/GreedyAlgo in this PR

I do solve questions when I get time bro, As I'm working on other projects too, I'm not able to solve all questions at a single time, I'm extremely sorry for that ;__;

Sure


Component: Instructables

Trying to figure out the api, was able to find these two api endpoints:

stats on an instructable: https://www.instructables.com/json-api/getIbleStats?id=EB6WTATIAHP9GA1
files from an instructable: https://www.instructables.com/json-api/getFiles?instructableId=EB6WTATIAHP9GA1
author stats: https://www.instructables.com/json-api/showAuthorStats?screenName=scottnath

{
  "draftsCount": 0,
  "draftCollectionsCount": 0,
  "commentCount": 8,
  "views": 30339,
  "featuredCount": 2,
  "favoritesCount": 131,
  "instructablesCount": 2,
  "publishedCollectionsCount": 0,
  "publishedProjectCount": 2,
  "quarantinedProjectCount": 0,
  "limboedProjectCount": 0,
  "privateInstructablesCount": 0,
  "followersCount": 20,
  "subscriptionsCount": 2,
  "collaborationsCount": 0,
  "inboxNewMessageCount": 0,
  "contestWinnerCount": 0
}

Heard from instructables:
Hello Scott,

Our API is not officially public-facing or supported, and we cannot provide any formal documentation.

Also, please keep in mind that we frequently make changes to it. Should you build something around it, the code could break at any point without notice.

We unfortunately do not have plans to build a truly public API at this time.

Regards,
Support Team @ Instructables


fix(services/s3): Return error if region not set for AWS S3

Fix https://github.com/apache/incubator-opendal/issues/2201

Hi! This changed missed the doc here: https://github.com/apache/incubator-opendal/blob/21ebe0fc4f23f0a4a2eb01418e4e728599c090ae/core/src/services/s3/backend.rs#L373
I'll come up with a PR fixing it

Hi! This change missed the doc here:

Oh, thanks a lot!


Move genesis out of Frontier

What was wrong?
Genesis was part of the Frontier fork. This is incorrect especially since other chains can have a genesis block that isn't part of Frontier (e.g. has a base_fee_per_gas).
How was it fixed?
Move genesis logic out of frontier into an independent genesis.py.
Cute Animal Picture

Codecov Report
Base: 72.04% // Head: 72.04% // Increases project coverage by +0.00% :tada:

Coverage data is based on head (d30aceb) compared to base (f60a1b2).
Patch coverage: 81.81% of modified lines in pull request are covered.

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #701   +/-   ##
=======================================
  Coverage   72.04%   72.04%
=======================================
  Files         531      531
  Lines       29214    29215    +1
=======================================
+ Hits        21046    21048    +2
+ Misses       8168     8167    -1

Flag
Coverage Δ

unittests
72.04% <81.81%> (+<0.01%)
:arrow_up:

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

Impacted Files
Coverage Δ

src/ethereum/frontier/spec.py
97.31% <ø> (+3.49%)
:arrow_up:

src/ethereum/genesis.py
80.00% <80.00%> (ø)

src/ethereum/utils/hexadecimal.py
100.00% <100.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


Creating tags, adding/removing tags from posts

Q
A

Is bugfix?
❌

New feature?
✔

Breaks BC?
❌

Fixed issues

Thanks!


Optimize LeastActiveLoadBalance select.

Now the select is select a random one when there are several least active invokers and all of them are in warm up.
After this pr, it will select also by weight and warm up.
ISSUE:
https://github.com/apache/incubator-dubbo/issues/904

Codecov Report

Merging #2161 into master will not change coverage.
The diff coverage is 75%.

@@            Coverage Diff            @@
##             master    #2161   +/-   ##
=========================================
  Coverage     54.22%   54.22%
+ Complexity     5101     5099    -2
=========================================
  Files           559      559
  Lines         24947    24947
  Branches       4447     4447
=========================================
  Hits          13527    13527
+ Misses         9382     9380    -2
- Partials       2038     2040    +2

Impacted Files
Coverage Δ
Complexity Δ

...pc/cluster/loadbalance/LeastActiveLoadBalance.java
71.42% <75%> (ø)
6 <0> (ø)
:arrow_down:

...onfig/spring/extension/SpringExtensionFactory.java
75% <0%> (-10.72%)
10% <0%> (ø)

.../dubbo/remoting/transport/netty4/NettyChannel.java
60% <0%> (-6.25%)
21% <0%> (-2%)

...org/apache/dubbo/rpc/filter/ActiveLimitFilter.java
83.33% <0%> (-5.56%)
6% <0%> (-1%)

...e/dubbo/remoting/transport/netty4/NettyServer.java
72.13% <0%> (-3.28%)
9% <0%> (-1%)

...apache/dubbo/rpc/protocol/dubbo/DubboProtocol.java
59.16% <0%> (+0.83%)
31% <0%> (+1%)
:arrow_up:

...dubbo/rpc/protocol/dubbo/CallbackServiceCodec.java
78.67% <0%> (+1.47%)
29% <0%> (ø)
:arrow_down:

...bo/remoting/transport/netty/NettyCodecAdapter.java
54.68% <0%> (+1.56%)
3% <0%> (ø)
:arrow_down:

...ubbo/rpc/protocol/dubbo/ChannelWrappedInvoker.java
45.83% <0%> (+4.16%)
3% <0%> (ø)
:arrow_down:

...he/dubbo/remoting/transport/netty/NettyClient.java
81.35% <0%> (+8.47%)
13% <0%> (+1%)
:arrow_up:

Continue to review full report at Codecov.

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

Hi,
Would you please add some unit test for this change?

Sorry for rebase sth wrong into current branch, the new pr is here:
https://github.com/apache/incubator-dubbo/pull/2172


App is not Working in Android 21 below

App is not Working in Android 21 below

Logs
Launching lib\main.dart on Android SDK built for x86 in debug mode...
Initializing gradle...
Resolving dependencies...
Gradle task 'assembleDebug'...
registerResGeneratingTask is deprecated, use registerGeneratedResFolders(FileCollection)
registerResGeneratingTask is deprecated, use registerGeneratedResFolders(FileCollection)
registerResGeneratingTask is deprecated, use registerGeneratedResFolders(FileCollection)
registerResGeneratingTask is deprecated, use registerGeneratedResFolders(FileCollection)
registerResGeneratingTask is deprecated, use registerGeneratedResFolders(FileCollection)
Note: C:\Users\iqor\AppData\Roaming\Pub\Cache\hosted\pub.dartlang.org\cloud_firestore-0.8.1+1\android\src\main\java\io\flutter\plugins\firebase\cloudfirestore\CloudFirestorePlugin.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
Note: C:\Users\iqor\AppData\Roaming\Pub\Cache\hosted\pub.dartlang.org\firebase_auth-0.6.2+1\android\src\main\java\io\flutter\plugins\firebaseauth\FirebaseAuthPlugin.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: C:\Users\iqor\AppData\Roaming\Pub\Cache\hosted\pub.dartlang.org\firebase_core-0.2.5+1\android\src\main\java\io\flutter\plugins\firebase\core\FirebaseCorePlugin.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
Note: C:\Users\iqor\AppData\Roaming\Pub\Cache\hosted\pub.dartlang.org\firebase_messaging-2.0.1\android\src\main\java\io\flutter\plugins\firebasemessaging\FlutterFirebaseInstanceIDService.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Built build\app\outputs\apk\debug\app-debug.apk.
Installing build\app\outputs\apk\app.apk...
timeout waiting for the application to start

Following app configuration
app\build,gradle
def localProperties = new Properties()
def localPropertiesFile = rootProject.file('local.properties')
if (localPropertiesFile.exists()) {
    localPropertiesFile.withReader('UTF-8') { reader ->
        localProperties.load(reader)
    }
}

def flutterRoot = localProperties.getProperty('flutter.sdk')
if (flutterRoot == null) {
    throw new GradleException("Flutter SDK not found. Define location with flutter.sdk in the local.properties file.")
}

def flutterVersionCode = localProperties.getProperty('flutter.versionCode')
if (flutterVersionCode == null) {
    flutterVersionCode = '1'
}

def flutterVersionName = localProperties.getProperty('flutter.versionName')
if (flutterVersionName == null) {
    flutterVersionName = '1.0'
}

apply plugin: 'com.android.application'
apply plugin: 'kotlin-android'
apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"

android {
    compileSdkVersion 27

    sourceSets {
        main.java.srcDirs += 'src/main/kotlin'
    }

    lintOptions {
        disable 'InvalidPackage'
    }

    defaultConfig {
        // TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
        applicationId "com.com.kaledateapp"
        minSdkVersion 16
        targetSdkVersion 27
        versionCode flutterVersionCode.toInteger()
        versionName flutterVersionName
        multiDexEnabled true
        testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
    }

    buildTypes {
        release {
            // TODO: Add your own signing config for the release build.
            // Signing with the debug keys for now, so `flutter run --release` works.
            signingConfig signingConfigs.debug
        }
    }
}

flutter {
    source '../..'
}

dependencies {
    implementation "org.jetbrains.kotlin:kotlin-stdlib-jre7:$kotlin_version"
    testImplementation 'junit:junit:4.12'
    androidTestImplementation 'com.android.support.test:runner:1.0.2'
    androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2'

    implementation "com.android.support:appcompat-v7:27.1.1"
    implementation 'com.android.support:multidex:1.0.3'
//    implementation 'com.google.android.gms:play-services-places:15.0.1'

}
apply plugin: 'com.google.gms.google-services'
// Work around for one signal-gradle-plugin compatibility
com.google.gms.googleservices.GoogleServicesPlugin.config.disableVersionCheck = true

android\build.gradle
buildscript {
    ext.kotlin_version = '1.2.71'
    repositories {
        google()
        jcenter()
    }

    dependencies {
        classpath 'com.android.tools.build:gradle:3.2.1'
        classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
        classpath 'com.google.gms:google-services:4.0.1'
    }
}

allprojects {
    repositories {
        google()
        jcenter()
    }
}

rootProject.buildDir = '../build'
subprojects {
    project.buildDir = "${rootProject.buildDir}/${project.name}"
}
subprojects {
    project.evaluationDependsOn(':app')
}

task clean(type: Delete) {
    delete rootProject.buildDir
}
subprojects {
    project.configurations.all {
        resolutionStrategy.eachDependency { details ->
            if (details.requested.group == 'com.android.support'
                    && !details.requested.name.contains('multidex') ) {
                details.useVersion "27.1.1"
            }
        }
    }
}

pubspec.yaml  dependencies
dependencies:
  flutter:
    sdk: flutter

  # The following adds the Cupertino Icons font to your application.
  # Use with the CupertinoIcons class for iOS style icons.
  cupertino_icons: ^0.1.2
  google_sign_in: ^3.2.1
  firebase_auth: ^0.6.2+1
  firebase_core: ^0.2.5+1
  firebase_database: ^1.0.5
  firebase_storage: ^1.0.4
  cloud_firestore: ^0.8.1+1
  flutter_facebook_login: ^1.1.1
  intl: ^0.15.7
  geocoder: ^0.1.1
  image_picker: ^0.4.10
  shared_preferences: ^0.4.3
  codable: ^1.0.0
  flutter_staggered_grid_view: ^0.2.2
  fluttertoast: ^2.0.9
  cached_network_image: ^0.5.0
  firebase_messaging: ^2.0.1
  dio: ^1.0.6
  flutter_local_notifications: ^0.3.9
  time_machine: ^0.9.4

@nokia6290 But I want to support devices below 21 also. any solution for that?

Flutter officially supports 16+
Plugins you use might depend on newer API versions.
There also was or is an issue with Flutter on emulator with API < 19 https://stackoverflow.com/questions/48802841/minimum-android-version-with-flutter

I tested in real device still it is crashing

You cant upload apps below api 26 on the play store from today.
https://developer.android.com/distribute/best-practices/develop/target-sdk

One possible approach would be for plugins to declare the minimum iOS and Android platform version that they support in their pubspec and at build time they could the developer to update their Podfile and build.gradle if necessary.

This relates somewhat to discussion @mklim recently raised around version constraints in the pubspec vs the underlying platform. @mklim if this should be de-duped against another such bug, please go for it.

There is no actionable bug here. Is this a request that we check android dependencies for compatibility with the app target?
I'm leaving this open for historical reasons but someone else will need to provide some context on what the desired resolution is

@jonahwilliams not sure about the original request here, but the issue I had pinged mklim about on this issue was something we'd previously discussed in person.
Today, Flutter checks Dart version constraints but the Dart constraints specified in pubspecs don't necessarily map in any meaningful way to underlying android library constraints. The issue is really the interplay of two version constraint solving systems that have no knowledge of each other.
Not having spent a huge amount of time working directly on plugin infrastructure, I can't say I'm super well-acquainted with the failure modes here, how common they are, how diagnosable our tooling makes them to the users, or how much of a mess the user can get stuck in, but that's the issue I was referring to. I think what we need is an issue that clearly specs out the actual problems and how to reproduce them, then close this one out in favour of that one. As I say, I'm probably not the right person to file that issue though.


[NEW]: US Fed takes aim at blocking banks from trading and holding crypto

Date
2023-01-27
Description
The Biden Administration is quietly trying to ban crypto.  This article details the Biden Admin's coordinated, ongoing effort across virtually every US financial regulator to deny crypto firms access to banking services
Links
https://www.piratewires.com/p/crypto-choke-point
https://www.whitehouse.gov/briefing-room/statements-releases/2022/09/16/fact-sheet-white-house-releases-first-ever-comprehensive-framework-for-responsible-development-of-digital-assets/
Agreement

[X] I irrevocably agree to release my contribution under the CC-BY 3.0 License

Attribution name
Alan
Personal link
https://www.linkedin.com/in/alansmithson/

Thanks! I covered it in my recent newsletter, and some of the individual events mentioned in Nic's piece have made it to W3IGG, but W3IGG isn't great for capturing a general shift rather than a one-off event.

Great.  Thanks for keeping track of this shitty topic.  As someone who
believes in the fundamentals of the technology for creating good, it is
frustrating to watch how it has been used for ill gain so much.
Alan
On Thu, Feb 9, 2023 at 8:14 PM Molly White @.***> wrote:

Thanks! I covered it in my recent newsletter
https://newsletter.mollywhite.net/i/101946713/in-banking, and some of
the individual events mentioned in Nic's piece have made it to W3IGG, but
W3IGG isn't great for capturing a general shift rather than a one-off event.
—
Reply to this email directly, view it on GitHub
https://github.com/molly/web3-is-going-great/issues/860#issuecomment-1425043385,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AGW4WA4W3IJT5DXIZ7HLAVTWWWI6RANCNFSM6AAAAAAUXEYOZA
.
You are receiving this because you authored the thread.Message ID:
@.***>

--
Alan Smithson, Co-Founder
MetaVRse.com
Practical Guide to AI in the Metaverse
https://alan-smithson.medium.com/practical-guide-to-ai-in-the-metaverse-583020bbe61f
MetaVRse™ 2023. This email communication and any attached files are
confidential and is subject to solicitor-client privilege. Any review or
distribution without the consent of MetaVRse, Inc. is strictly prohibited.
If you are not the intended recipient, please notify by return email to
@.*** and delete this communication and any copy immediately.
--
https://metavrse.com/
Our mission is to unlock the power of spatial
computing (3D/XR) for everyone with a fully web-based design and
development engine. Learn more
https://metavrse.com/features/.MetaVRse.com https://MetaVRse.com |
XRIgnite.com https://XRIgnite.com | XRforBusiness.io
https://XRforBusiness.io | XRforLearning.io https://XRforLearning.io
https://twitter.com/MetaVRse   https://www.facebook.com/metavrse/
https://www.linkedin.com/company/metavrse/


Pkg.build("Gurobi") problem for Gurobi in conda environment

I'm having trouble with Pkg.build("Gurobi"). Tried changing ["GUROBI_HOME"] to installation location but still does not work, so I'm wondering what possible issues are. Details:
I installed Gurobi using command line in a conda environment by following Steps 2-3 here: https://www.gurobi.com/gurobi-and-anaconda-for-linux/
Gurobi 9.0.2, Julia 1.0.3
The files gurobi_cl, gurobi.env, gurobi.sh (corresponds to Gurobi installation right?) are in: /home/changd/anaconda3/envs/virtual_env/bin/
So I set ["GUROBI_HOME"] = /home/changd/anaconda3/envs/virtual_env/bin/
gurobi.lic is in /home/changd/.
I think try "import Pkg" followed by "Pkg.build("Gurobi")", then receive the following error message:
┌ Error: Error building Gurobi:
│ ERROR: LoadError: Unable to locate Gurobi installation. If the advice above did not help,
│ open an issue at https://github.com/JuliaOpt/Gurobi.jl and post the full
│ print-out of this diagnostic attempt.
│
│ Stacktrace:
│  [1] error(::String) at ./error.jl:33
│  [2] top-level scope at /home/changd/.julia/packages/Gurobi/CI8ht/deps/build.jl:154
│  [3] include at ./boot.jl:317 [inlined]
│  [4] include_relative(::Module, ::String) at ./loading.jl:1044
│  [5] include(::Module, ::String) at ./sysimg.jl:29
│  [6] include(::String) at ./client.jl:392
│  [7] top-level scope at none:0
│ in expression starting at /home/changd/.julia/packages/Gurobi/CI8ht/deps/build.jl:152
│ Unable to locate Gurobi installation. Running some common diagnostics.
│
│ Gurobi.jl only supports the following versions:
│
│  - gurobi90
│  - gurobi81
│  - gurobi80
│  - gurobi75
│  - gurobi70
│
│ Did you download and install one of these versions from gurobi.com?
│
│
│ Found GUROBI_HOME =  /home/changd/anaconda3/envs/virtual_env/bin/
│
│ Does this point to the correct install location?
│ - on Windows, this might be C:\Program Files\gurobi810\win64\
│ - alternatively, on Windows, this might be C:/Program Files/gurobi810/win64/
│ - on OSX, this might be /Library/gurobi810/mac64/
│ - on Unix, this might be /home/my_user/gurobi810/linux64/
│
│ Note: this has to be a full path, not a path relative to your current
│ directory or your home directory.
│
│ We're going to look for the Gurobi library in this directory:
│     /home/changd/anaconda3/envs/virtual_env/bin/lib
│
│ That directory has the following files:
│
│ Aha! We tried looking in /home/changd/anaconda3/envs/virtual_env/bin/lib, but something went wrong. Are
│ you sure that your GUROBI_HOME environment variable is correct?
│ When combined with the appropriate suffix (e.g., lib or
│ bin, it needs to point to a valid directory.

I've never tried Gurobi and Anaconda. Just install it normally. You need the following structure
$GUROBI_HOME/
    /lib
        gurobi90.dylib

I need to run Julia w/ Gurobi on a remote server. What do you mean by 'install it normally'? And by 'structure', do you mean: '/home/changd/anaconda3/envs/virtual_env/bin/lib/gurobi90.so'

What do you mean by 'install it normally'?

https://www.gurobi.com/documentation/9.0/quickstart_linux/software_installation_guid.html#section:Installation

And by 'structure', do you mean: '/home/changd/anaconda3/envs/virtual_env/bin/lib/gurobi90.so'

Yes.
Note that Gurobi.jl isn't officially supported by Gurobi.

Ok. Is this your suggestion for how to proceed (on a remote server):

Download and install the latest Julia version on the server (but not in a conda environment)
Download Gurobi, secure transfer download file to remote server, then extract contents and install on server

Yes, that seems sensible. Gurobi support may have a better way to do this; worth checking with them.

I will check that out with Gurobi support, thanks.

I updated my Gurobi installation, the Gurobi Python API appears to be functioning properly. Most likely there is not an issue on Gurobi's end.
However, now I get the following error message (see below) for Pkg.build("Gurobi"). I then tried Pkg.build("CodecZlib") but get a very similar error message.

Building CodecZlib ─→ ~/.julia/packages/CodecZlib/5t9zO/deps/build.log
┌ Error: Error building CodecZlib:
│ ERROR: LoadError: InitError: No download engines found. We looked for: curl, wget, fetch, busybox. Install one and ensure it  is available on the path.
│ No compression engines found. We looked for: tar, busybox. Install one and ensure it is available on the path.
│
│ Stacktrace:
│  [1] error(::String) at ./error.jl:33
│  [2] #probe_platform_engines!#30(::Bool, ::Function) at /home/changd/.julia/packages/BinaryProvider/kcGxO/src/PlatformEngines.jl:407
│  [3] probe_platform_engines! at /home/changd/.julia/packages/BinaryProvider/kcGxO/src/PlatformEngines.jl:169 [inlined]
│  [4] init() at /home/changd/.julia/packages/BinaryProvider/kcGxO/src/BinaryProvider.jl:28
│  [5] _include_from_serialized(::String, ::Array{Any,1}) at ./loading.jl:633
│  [6] _require_search_from_serialized(::Base.PkgId, ::String) at ./loading.jl:713
│  [7] _require(::Base.PkgId) at ./loading.jl:937
│  [8] require(::Base.PkgId) at ./loading.jl:858
│  [9] require(::Module, ::Symbol) at ./loading.jl:853
│  [10] include at ./boot.jl:317 [inlined]
│  [11] include_relative(::Module, ::String) at ./loading.jl:1044
│  [12] include(::Module, ::String) at ./sysimg.jl:29
│  [13] include(::String) at ./client.jl:392
│  [14] top-level scope at none:0
│ during initialization of module BinaryProvider
│ in expression starting at /home/changd/.julia/packages/CodecZlib/5t9zO/deps/build.jl:1
└ @ Pkg.Operations /home/conda/feedstock_root/build_artifacts/julia_1548684429855/work/usr/share/julia/stdlib/v1.0/Pkg/src/Operations.jl:1097
Building MbedTLS ───→ ~/.julia/packages/MbedTLS/X4xar/deps/build.log
┌ Error: Error building MbedTLS:
│ ERROR: LoadError: InitError: No download engines found. We looked for: curl, wget, fetch, busybox. Install one and ensure it  is available on the path.
│ No compression engines found. We looked for: tar, busybox. Install one and ensure it is available on the path.
│
│ Stacktrace:
│  [1] error(::String) at ./error.jl:33
│  [2] #probe_platform_engines!#30(::Bool, ::Function) at /home/changd/.julia/packages/BinaryProvider/kcGxO/src/PlatformEngines.jl:407
│  [3] probe_platform_engines! at /home/changd/.julia/packages/BinaryProvider/kcGxO/src/PlatformEngines.jl:169 [inlined]
│  [4] init() at /home/changd/.julia/packages/BinaryProvider/kcGxO/src/BinaryProvider.jl:28
│  [5] _include_from_serialized(::String, ::Array{Any,1}) at ./loading.jl:633
│  [6] _require_search_from_serialized(::Base.PkgId, ::String) at ./loading.jl:713
│  [7] _require(::Base.PkgId) at ./loading.jl:937
│  [8] require(::Base.PkgId) at ./loading.jl:858
│  [9] require(::Module, ::Symbol) at ./loading.jl:853
│  [10] include at ./boot.jl:317 [inlined]
│  [11] include_relative(::Module, ::String) at ./loading.jl:1044
│  [12] include(::Module, ::String) at ./sysimg.jl:29
│  [13] include(::String) at ./client.jl:392
│  [14] top-level scope at none:0
│ during initialization of module BinaryProvider
│ in expression starting at /home/changd/.julia/packages/MbedTLS/X4xar/deps/build.jl:1
└ @ Pkg.Operations /home/conda/feedstock_root/build_artifacts/julia_1548684429855/work/usr/share/julia/stdlib/v1.0/Pkg/src/Operations.jl:1097
Building CodecBzip2 → ~/.julia/packages/CodecBzip2/T5yr7/deps/build.log
┌ Error: Error building CodecBzip2:
│ ERROR: LoadError: InitError: No download engines found. We looked for: curl, wget, fetch, busybox. Install one and ensure it  is available on the path.
│ No compression engines found. We looked for: tar, busybox. Install one and ensure it is available on the path.
│
│ Stacktrace:
│  [1] error(::String) at ./error.jl:33
│  [2] #probe_platform_engines!#30(::Bool, ::Function) at /home/changd/.julia/packages/BinaryProvider/kcGxO/src/PlatformEngines.jl:407
│  [3] probe_platform_engines! at /home/changd/.julia/packages/BinaryProvider/kcGxO/src/PlatformEngines.jl:169 [inlined]
│  [4] init() at /home/changd/.julia/packages/BinaryProvider/kcGxO/src/BinaryProvider.jl:28
│  [5] _include_from_serialized(::String, ::Array{Any,1}) at ./loading.jl:633
│  [6] _require_search_from_serialized(::Base.PkgId, ::String) at ./loading.jl:713
│  [7] _require(::Base.PkgId) at ./loading.jl:937
│  [8] require(::Base.PkgId) at ./loading.jl:858
│  [9] require(::Module, ::Symbol) at ./loading.jl:853
│  [10] include at ./boot.jl:317 [inlined]
│  [11] include_relative(::Module, ::String) at ./loading.jl:1044
│  [12] include(::Module, ::String) at ./sysimg.jl:29
│  [13] include(::String) at ./client.jl:392
│  [14] top-level scope at none:0
│ during initialization of module BinaryProvider
│ in expression starting at /home/changd/.julia/packages/CodecBzip2/T5yr7/deps/build.jl:1
└ @ Pkg.Operations /home/conda/feedstock_root/build_artifacts/julia_1548684429855/work/usr/share/julia/stdlib/v1.0/Pkg/src/Operations.jl:1097
Building Gurobi ────→ ~/.julia/packages/Gurobi/CI8ht/deps/build.log

ERROR: LoadError: InitError: No download engines found. We looked for: curl, wget, fetch, busybox. Install one and ensure it is available on the path.
│ No compression engines found. We looked for: tar, busybox. Install one and ensure it is available on the path.

Did you follow this instruction?

I installed busybox but I'm still getting the same error message. Message said "Install one and ensure it is available on the path." What "path" is being referred to // is this the most probable issue or is something else likely the problem?

What machine are you trying to install this on? Its linux but it doesn't have curl or tar?
The PATH environment variable:
http://www.linfo.org/path_env_var.html
https://unix.stackexchange.com/questions/26047/how-to-correctly-add-a-path-to-path

This is a linux machine. Presumably it should have curl or tar but somehow I'm getting the above error message.
Where should I be installing busybox (or some similar counterpart)?
FYI:
ENV[“GUROBI_HOME”] = “/home/changd/gurobi902/linux64”
ENV["PATH"] = "/home/changd/gurobi902/linux64/bin"
ENV["LD_LIBRARY_PATH"] = "/home/changd/gurobi902/linux64/lib"
echo $PATH:
/home/changd/anaconda3/bin:/home/changd/anaconda3/condabin:/usr/lib64/qt-3.3/bin:/bin:/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/opt/dell/srvadmin/bin:/home/changd/.local/bin:/home/changd/bin
I installed busybox in "/home/changd" which appears to be problematic.

Try
ENV["PATH"] = ENV["PATH"] * ":/home/changd"
import Pkg
Pkg.build("Gurobi")

Or move busy box into /home/changd/bin.
Do you really not have curl or tar in /usr/bin? What distro? Is this a VM? Or a server? You might need to contact your sysadmin.

I checked ‘home/changd/anaconda3/bin’, where I found curl but not tar. I do not have a folder of the form ‘home/changd/bin’.. (I’m working on a server) I will check this with the sysadmin.
I updated ENV["PATH"] = ENV["PATH"] * ":/home/changd/anaconda3/bin"
I also moved busy box into /home/changd/anaconda3/bin.
The original error message was:
"No download engines found. We looked for: curl, wget, fetch, busybox. Install one and ensure it is available on the path.
│ No compression engines found. We looked for: tar, busybox. Install one and ensure it is available on the path."
Now a download engine was found (curl), but not a compression engine (they did not find busybox).
I wondering whether it's because the busybox folder under /home/changd/anaconda3/bin is titled 'busybox-1.31.1' and therefore it was not found.

Your sysadmin can help you with this. It seems like it's a non-standard setup. They'll know how to modify your path to get curl and tar, so this isn't a Julia or Gurobi.jl issue.

Pkg.add("Gurobi") and using Gurobi are working now after some fixes. It appears the issue was cross contamination of the anaconda environment.


Activity data as time series

This add-on is great for the use case of seeing the last time baby was fed, changed, etc. However, I'm having trouble using it to view historical data and trends because the sensors don't represent true time series.
For comparison, look at how most sensors are plotted in the history tab of HA:

Imagine if one of those sensors was "sleeping", so you could see a state timeline of when your baby slept. That's what I want.
(Edited to make the desired output clearer and remove references to other programs)

Unfortunately, I don't know anything about InfluxDB or Grafana.
Would the proposed changes in #45 help?

I'm not sure I understand the intent of adding a new sensor, but it doesn't sound like a fix. Although #45 as a whole is another footgun that I've run across 😄
I'm still getting to know HA / InfluxDB / Grafana, but my understanding is that they all rely on time series data, which in the case of Baby Buddy would look something like:

Time
Activity

14:05
Feeding

14:10
Feeding

14:15
None

This format is great because it can be easily translated into state timelines that look like this (this one is from the Huckleberry app, each color is a different activity):

The sensor.baby_last_feeding format isn't a time series and is difficult or impossible to parse in the same way. It also leads to unexpected behavior, i.e. if you forgot to log a feed that took place before the latest feed and add it in Baby Buddy, it will never show up in HA.
Having said all that: I'm realizing that sending true time series data from Baby Buddy to HA may be impossible because HA doesn't let you backdate or retroactively import sensor data. Since Baby Buddy allows you to start a timer and only label it as an activity after the fact, it would be impossible to get that data into HA 😢 I hope someone can tell me I'm wrong.

Also just to clarify, while InfluxDB and Grafana are my preferred visualization tools, you can put them aside for the purposes of this issue. This is problem with Baby Buddy's sensors in HA itself. Basically, I'd like for the baby activity sensors to look and work like all of the other sensors in the "History" tab:

Since Baby Buddy allows you to start a timer and only label it as an activity after the fact, it would be impossible to get that data into HA 😢 I hope someone can tell me I'm wrong.

I think I understand what you're asking now.
What you're asking for is a binary_sensor and I think you're correct that this isn't feasible since 1. BabyBuddy only labels the timer at the end instant and 2. I don't know of a way to update a previous entity value.

Yep, I think you're right on both counts: that's what I want, and it's not possible 😄
I'm realizing that Home Assistant is really bad for consuming manually-entered mistakes. Data produced by people needs to be mutable (either by design, as with BB timers, or by accident, when people make mistakes). HA is really hostile to this since sensor data is essentially immutable.
If I can come up with any other constructive solutions, I'll open a new issue 😄


SIGSEGV

Hello everyone,
I have an error when executing reasoning. The error is
SIGSEGV (0xb) at pc=0x00007f34fff347e8, pid=23224, tid=0x00007f3553b5d700
I have tried to get it down to a minimal example, found here. The offending rule seems to be the one in line 69.
Another problem that might be related (or a misunderstanding on my part) is the rule in line 73. This should result in a derivation as far as I can see, but it does not.
Greetings,
Adrian Bielefeldt

Thanks, this sounds like a problem caused by the underlying C++ code.
@jrbn @CerielJacobs Can you comment?

I fixed these issues in the underlying C++ code (I hope). Rebuilding vlog4j with the build-vlog-library.sh script should do the trick.


Improve CRUD spec documentation

More info: https://relay.dev/docs/en/graphql-server-specification

This is an opening ended issue which is hard to close

Actually we can close it as we have done base of the work


Add jmoldow to CONTRIBUTORS

Mind making that just one short line please? :) People can always look up detailed work in git logs.

:cake:

@shazow Done.
@sigmavirus24 :cake: ?

:custard:


Marriage in Cambodia changes

Changes in the process for marriage or civil partnership in Cambodia and some globally applicable copy improvements extracted from the change request for Cambodia.

I've reviewed all the commits on this except the one in which the regression test artefacts have been updated. I plan to look at that one in the morning.

Apart from some minor tweaks to commit notes, this all looks good to me :+1:

I've addressed the feedback and merged manually in 608baf4. Thanks for reviewing, James :trophy:


SAK-43295 Group Manager - Create New Group: Selecting filter membersh…

…ip wipes out title and description

 Here is an overview of what got changed by this pull request:

Complexity increasing per file
==============================
- site-manage/site-group-manager/src/main/java/org/sakaiproject/groupmanager/controller/GroupController.java  3

See the complete overview on Codacy


Incorporating YAML and Global Information

Main Aim of PR
@LinErinG @thanasipantazides , from the conversation this morning.
This PR incorporates using YAML in the Python code and so introduces a way for the context information to always be available. Code that requires access to the context information has been edited so it now accesses it correctly through the proposed method (e.g., foxsi4-science-tools-py/foxsi4_science_tools_py/download/sdo_download.py and foxsi4-science-tools-py/foxsi4_science_tools_py/tests/context_test.py).
Instructions for this can be found in the top level Python README file (foxsi4-science-tools-py/foxsi4_science_tools_py/README.md) and the implementation can be found in the Python top level __init_.py (foxsi4-science-tools-py/foxsi4_science_tools_py/init.py).
Essentially, now, just importing the package as
import foxsi4_science_tools_py as f4st

gives access to the global variable (was ~f4st.contextInfo~)
f4st.obsInfo

that contains all the context information (this is similar as to how matplotlib does it with their global matplotlib.rcParams information that is shared throughout all their plotting routines).
The context information can then be accessed like a Python dictionary as  (was ~f4st.contextInfo["flare"]["time_of_interest"]["start"]["utc"]~)
f4st.obsInfo["flare"]["time_of_interest"]["start"]["utc"]

while indexing with strings. In the future we could expand the API to also allow accessing the information with ".", where
f4st.obsInfo.flare.time_of_interest.start.utc

would produce the same result  (was ~f4st.contextInfo.flare.time_of_interest.start.utc~).
Additionally
Other changes:

This PR also relocates the test module as it was at the wrong level.
Any paths being used in the repo should now be OS independent making use of os.path.join(...) instead of being lazy with manually joining text with "/" which excluded Windows.
Two loader functions are also introduced (foxsi4-science-tools-py/foxsi4_science_tools_py/io/load_yaml.py) that allows a standard way to load in general YAML files but also the context file.

Looking at some old PRs and found this one.  I agree with the overall strategy here, but I have two comments.  First, the term "context" data is gathering degeneracy in our project, as this is sometimes used to refer to timing/pointing information; sometimes it refers to data from coordinated observatories; etc.  I wonder if there is another term we could use for this here in order to avoid more degeneracy?  Second - and this is probably due to my limited understanding - I had to look hard to find the README you mentioned that explains how to use the YAML, since it is the Readme for a folder called "foxsi4-science-tools-py" that is a subdirectory of a parent that has the same name and also has a (different) Readme.  I get that your file structure makes sense, but this was confusing to me.  Is there another place that documentation could live that will be more obvious?

Looking at some old PRs and found this one. I agree with the overall strategy here, but I have two comments. First, the term "context" data is gathering degeneracy in our project, as this is sometimes used to refer to timing/pointing information; sometimes it refers to data from coordinated observatories; etc. I wonder if there is another term we could use for this here in order to avoid more degeneracy? Second - and this is probably due to my limited understanding - I had to look hard to find the README you mentioned that explains how to use the YAML, since it is the Readme for a folder called "foxsi4-science-tools-py" that is a subdirectory of a parent that has the same name and also has a (different) Readme. I get that your file structure makes sense, but this was confusing to me. Is there another place that documentation could live that will be more obvious?

I think these are both really good points.

For the naming of the context information, would something like observation-details/flight-flare-info.yaml be more informative? There could also be an option to split the YAML file into two, one flight-information.yaml and flare-information.yaml file. There is more time to come to a consensus on this and it is fairly trivial to change the naming at any point.
The documentation being easy to find is obviously very important. I can bump up the first mentions of the YAML file(s) and how to use them to the top level README making it as clear as we can. I've also already looked up some links to provide instructions on how to load/read the file in different languages. I can test these out locally and place some code in the relevant directories.

Just an FYI, I've managed to set up automatic running of Python tests for the repo. I think this can also be made more general to perform checks (in multiple languages, etc.) we might want when a PR is submitted to make sure nothing crazy is changed that we weren't expecting.

The last commit changed the naming of the YAML and how the information is accessed.

Changed context-information/context.yaml to observational-information/observation-parameters.yaml.
Information (in Python) is now accessed via import foxsi4_science_tools_py as f4st then f4st.obsInfo.

**I will edit the original post to show the name change (f4st.contextInfo->f4st.obsInfo).

New commit includes more information on the use of the YAML file in the top level directory with various links to sources inside and outside the repo.


Unable to return the correct RPC Download Path (dir) value after importing settings for AriaNg Settings

I created 2 new PRCs, A and B, and I assigned the download path values to them as "C:\Users\User\Downloads\Music" and "G:\Game".
And here is my export settings data
{
"language": "en",
"theme": "light",
"title": "${downspeed}, ${upspeed} - ${title}",
"titleRefreshInterval": 5000,
"browserNotification": false,
"browserNotificationSound": true,
"browserNotificationFrequency": "unlimited",
"rpcAlias": "Aria2",
"rpcHost": "localhost",
"rpcPort": "6800",
"rpcInterface": "jsonrpc",
"protocol": "http",
"httpMethod": "POST",
"rpcRequestHeaders": "",
"rpcOptions": {
"dir": "Downloads"
},
"secret": "",
"extendRpcServers": [
{
"rpcAlias": "A",
"rpcHost": "localhost",
"rpcPort": "6800",
"rpcInterface": "jsonrpc",
"protocol": "http",
"httpMethod": "POST",
"rpcRequestHeaders": "",
"secret": "",
"rpcOptions": {
"dir": "C:\Users\User\Downloads\Music\"
},
"rpcId": "QXJpYU5nXzE3MDEwNzUwMDdfMC4yMzA0NzQ5MzAzNDQyNzA1OA=="
},
{
"rpcAlias": "B",
"rpcHost": "localhost",
"rpcPort": "6800",
"rpcInterface": "jsonrpc",
"protocol": "http",
"httpMethod": "POST",
"rpcRequestHeaders": "",
"secret": "",
"rpcOptions": {
"dir": "G:\Game\"
},
"rpcId": "QXJpYU5nXzE3MDEwNzUwMDJfMC45ODMyMzQ5MzM5MDM3MTc2"
}
],
"webSocketReconnectInterval": 5000,
"globalStatRefreshInterval": 1000,
"downloadTaskRefreshInterval": 1000,
"keyboardShortcuts": true,
"swipeGesture": true,
"dragAndDropTasks": true,
"rpcListDisplayOrder": "recentlyUsed",
"afterCreatingNewTask": "task-list",
"removeOldTaskAfterRetrying": false,
"confirmTaskRemoval": true,
"includePrefixWhenCopyingFromTaskDetails": true,
"showPiecesInfoInTaskDetailPage": "le10240",
"afterRetryingTask": "task-list-default",
"displayOrder": "default:asc",
"fileListDisplayOrder": "default:asc",
"peerListDisplayOrder": "default:asc",
"defaultTaskPage": "all",
"recCount": 4
}
Then I tried to Import settings using the export settings data I just had above, but as a result, I saw that the Download Path (dir) of A and B both changed to Downloads like that of Aria2.
Can you help me correct it so that when importing settings, it returns the correct RPC Download Path (dir) value? Thank you very much.

Thanks for feedback.
There is a bug that all the Aria2 options will be ignored when importing settings.
We will fix it in the next version.


readthedocs.io build failing

https://readthedocs.org/projects/structdataset/builds/5977809/
Let me know if I am missing sth. Philipp

... fixed.


Z-Axis Scaling - object rotation

Using Z-Axis Scaling -  using I-beam components  - with Z-axis setup forward.
placing along 3dlines -  place with Axis point in center of component not origin of component, and also can't control rotation.?

Orient Express usually aligns its local Y-axis parallel to the ground (XY plane). Therefore, you can adjust the local axis of your component accordingly, or alternatively, you can utilize SpinUp extension to achieve multiple local rotations simultaneously.
You can get SpinUp for free here: https://asav.xyz/spinup


Allow the watch dir to be passed on cli

I run Archean in Windows... however I do all my development through WSL2. Since WSL allows you to access the host systems (windows) drives under /mnt// it would be nice to be able to pass the blueprint dir directly to archbelt since it cannot detect the steam library. Currently I get the following:
$ archbelt watch
Blueprint not found, or no blueprint specified, defaulting to watching all blueprints
thread 'main' panicked at src/command/mod.rs:44:44:
could not find a steam library: InvalidSteamDir(ValidationError { inner: MissingDirectory })
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

If I could do: archbelt watch --blueprint-dir "/mnt/e/Games/Steam/steamapps/common/Archean/Archean-data/client/blueprints/" it would be really nice :)

I've got this prototyped in the development branch; you can cargo install it from the git URL and branch until I finish up the next release.  My windows machine doesn't have WSL2 setup at the moment to test this, so I'm not 100% sure it will work, but it should.. ?
I'll close this when the next development increment gets merged and released.

❯ archbelt --help
A tool to work with Archean blueprints and XenonCode modules

Usage: archbelt [OPTIONS] [COMMAND]

Commands:
  yank      Yank code files from a blueprint
  watch     watch for changes to blueprint file(s); will yank on change as if -f is set
  complete  Generate shell completion for zsh & bash
  help      Print this message or the help of the given subcommand(s)

Options:
      --blueprint-path <PATH>  override path to blueprint files
  -h, --help                   Print help
  -V, --version                Print version

... just realized it's actually the game path, since the rest of the path is assembled from there, so use the archean game root as that path for now, I'll get it updated tomorrow when I'm at the windows machine again.  are you tied to it being an option to set the blueprint path? my brain went right to the game root path because I have plans to look at other features beyond the blueprints at some point.

❯ archbelt --help
A tool to work with Archean blueprints and XenonCode modules

Usage: archbelt [OPTIONS] [COMMAND]

Commands:
  yank      Yank code files from a blueprint
  watch     watch for changes to blueprint file(s); will yank on change as if -f is set
  complete  Generate shell completion for zsh & bash
  help      Print this message or the help of the given subcommand(s)

Options:
      --game-path <PATH>  override path to game root
  -h, --help              Print help
  -V, --version           Print version
❯ archbelt watch --help
watch for changes to blueprint file(s); will yank on change as if -f is set

Usage: archbelt watch [OPTIONS] [TARGET]...

Arguments:
  [TARGET]...  target blueprint name (if none given, watches all)

Options:
      --blueprint-path <PATH>  path to blueprints folder
  -x, --no-collate             do not collate the files by component (use at own risk; this can get very messy..)
  -h, --help                   Print help

this was slightly-less simple to implement as I originally thought for the game path, so I've removed that for now; I'll stop posting here and instead you can keep track of #14

I see you are messing with it so I figured I would try it (very little rust experience so I saw it in commands and figured what the hell). It doesn't error but doesn't see any blueprints. I tried both the Archean main dir and the blueprints sub dir:
./target/debug/archbelt watch --blueprint-path /mnt/e/Games/Steam/steamapps/common/Archean/
Blueprint not found, or no blueprint specified, defaulting to watching all blueprints
waiting for blueprint events

./target/debug/archbelt watch --blueprint-path /mnt/e/Games/Steam/steamapps/common/Archean/Archean-data/client/blueprints/
Blueprint not found, or no blueprint specified, defaulting to watching all blueprints
waiting for blueprint events

It doesn't bother me how you want the arg to be passed, as long as it works :)

so the watch command waits for a blueprint to be saved in-game, maybe that's a documentation problem or an implementation problem (or both!).. or it's the mount point masking the filesystem update? I would expect WSL to pass the kernel notice down to user land in linux, but that may not be the case? meaning, this setup may not work if the game is running in windows, but you're watching the filesystem in linux?
or, if that's off the mark - are you expecting it to immediately copy all blueprint .xc files?

also, v0.3.0 is released and should install now with cargo install archbelt; I'll be online for another hour or so, and will be spending some time on 0.4.0 tomorrow. if I get this fixed to your satisfaction I'll publish it as v0.3.1.


Extensive testing for tool's correctness

The biggest impediment in formally announcing the tool is the lack of confidence in its correctness. The tool has not been tested extensively for all the backends that it supports with a variety of P4 programs. We can find more public domain P4 programs here for testing.
Possibly also need to craft custom P4 programs to test handling of corner cases.

After #34, I felt all but qpipe were straightforward and are not bringing good coverage. Should we instead write our own test cases as we have done in the past?
To build a good testing module, we need to cover all type of DFA transition combinations on the parser, maybe also keeping in mind the optimizations done by p4c.
The type is dependent on - input state, output state, and transition.
An input state can be one or more of -

Start state
in-built / non in-built
can / can-not do some processing before the transition (we know that can-not is buggy)

An output state can be one or more of -

Accept state
in-built / non-inbuilt

A transition can be -

based on multiple fields from different headers (not supported)
one field, different header
one field, same header
multiple fields, same header
always
default

I don't think these should be too many test cases to build, but I'm not sure.


Series hidden trait audit

Each crew has a hidden trait in the game data that associates that crew member with one of the various Trek TV shows. There are a few instances where the associated series is incorrect. This trait is not really used anywhere in-game, so it's unlikely that the wrong traits will ever get corrected by the game developers. But DataCore does show the associated series on every crew page and a forthcoming DataCore feature will rely heavily on series accuracy.
Note that I'm not suggesting that DataCore should do anything about this issue. I just needed a thread I could point to that lists all known crew who have the wrong series. (Apologies if this has already been done elsewhere; I know the official forum has a similar Trait Audit Thread, but AFAIK no one has a list of incorrect series traits.)
INCORRECT
Abraham Lincoln 5* - Currently none, should be TOS ("Savage Curtain"); flavor text confirms TOS
Admiral Cartwright 5* - Currently TNG, should be TOS (Undiscovered Country); flavor text confirms Undiscovered Country
Alidar Jarok 2* - Currently DS9, should be TNG ("The Defector")
Ambassador Spock 4* - Currently TOS, should be TNG ("Unification"); flavor text confirms TNG; Ambassador Sarek is TNG
Belle Q 5* - Currently TNG, should be VOY ("The Q and the Grey")
Bridal Keiko 5* - Currently DS9, should be TNG ("Data's Day")
Captain La Forge 5* - Currently TNG, should be VOY ("Timeless"); flavor text confirms VOY
Captain Scott 5* - Currently TOS, should be TNG ("Relics"); flavor text confirms TNG
Carl, Guardian of Forever 5* - Currently TOS, should be DSC ("Terra Firma"); flavor text confirms DSC
Demora Sulu 5* - Currently TOS, should be TNG (Generations); Captain Harriman is TNG
Dr. Carol Marcus 3* - Currently TNG, should be TOS (Wrath of Khan)
Ephraim and Dot 5* - Currently none, should be DSC ("Ephraim and Dot"); other Short Treks are DSC
General Chang 5* - Currently TNG, should be TOS (Undiscovered Country); flavor text confirms Undiscovered Country
Helmsman Wyatt 5* - Currently none, should be TNG (First Contact)
Lonzak 5* - Currently none, should be VOY ("Bride of Chaotica", "Shattered")
Marla McGivers 4* - Currently TNG, should be TOS ("Space Seed"); flavor text confirms TOS
Midwife Worf 4* - Currently DS9, should be TNG ("Disaster"); flavor text confirms TNG
Mirror Data 5* - Currently none, should be TNG (Mirror Universe comics); most other Mirror TNG are TNG
Mirror Geordi La Forge 4* - Currently none, should be TNG (Mirror Universe comics); most other Mirror TNG are TNG
Nexus Kirk 4* - Currently TOS, should be TNG (Generations); Nexus Guinan is TNG
Subcommander T'Rul 4* - Currently TNG, should be DS9 ("The Search")
Wyatt Earp 5* - Currently TNG, should be TOS ("Spectre of the Gun"); flavor text confirms TOS
DEBATABLE
Admiral Janeway 5* - Currently VOY, could be TNG (Nemesis); flavor text confirms Nemesis; arena ability is from VOY ("Endgame")
Borg Queen 5* - Currently none, could be TNG (First Contact) or VOY ("Endgame"); flavor text quotes First Contact but references VOY ("Unimatrix Zero")
Botanist Keiko 1* - Currently DS9, sttwiki believes it's TNG
Chancellor Gowron 5* - Currently TNG, sttwiki believes it's DS9, though I think the flavor text references TNG
~Dr. Katherine Pulaski 5* - Currently DS9; Pulaski was never on DS9, nor did she ever use that uniform on screen; the uniform style is in active use in DS9, VOY, and TNG Generations~ Pulaski is from a DS9 comic, so she is correct
Emergency Medical Holoprogram Mk.1 2* - Currently VOY, could be TNG First Contact? Flavor text is ambiguous
Human Neelix 4* - Currently none, could be TNG First Contact; flavor text is clearly First Contact
MULTIPLE
The following crew have multiple series traits; DataCore shows the correct series for this group.
Chef Riker 5* - ENT (correct) and TNG
Commodore Robert April 5* - TAS (correct) and TOS
RAF Miles O'Brien 5* - DS9 (correct) and TNG
Rescue Team Uhura 5* - TAS (correct) and TOS
ORIGINALS
Timelines Originals are non-canonical, so there's no "correct" series for them; DataCore simply shows the Star Trek Timelines logo instead of any series. But as Displaced Andresyn notes, there could be more consistency for these in particular.
23rd Century Martok 5* - TOS and DS9
Augment O'Brien 5* - TOS, TNG, and DS9
Augment Picard 5* - TOS and TNG
Augment Riker 4* - TNG, ENT, and PIC
C.O.P. Founder Picard 5* - TNG, ENT, and PIC
Mirror K'Ehleyr 4* - DS9 and TNG
h/t to so many for their help here, but specifically Stellar Ice, Displaced Andresyn, Automaton_2000, avitrek, and Darxide
Feel free to comment if you know of any others and I'll update the list.

The Trait Audit thread on the official forums has been updated with missing/incorrect series traits, so this is no longer needed.


Add note about using Doorkeeper for OAuth2 support

I don't believe this merits an entry in the changelog or requires adding to the readme TOC.
Please let me know if it does

Thanks, fixed TOC in https://github.com/ruby-grape/grape/pull/1786


gui: Avoid search action if query is empty

This avoid to show api error from spotify.
Signed-off-by: Federico Guerinoni<EMAIL_ADDRESS>Co-authored-by: Paolo Barbolini<EMAIL_ADDRESS>

@jpochyla any news?


Change requestHooks() execution order back to how it was in v1.3

This should fix #4680.
As I said in the issue you can close it if you don't want to change the order of the functions that requestHooks() executes.
As of now, the execution order of requestHooks() goes from the outermost defined hook (on fixture) to the innermost defined one (on test and then, eventually, on t).
This might not be the correct behaviour because prior to v1.4.0 the hooks run the other way around, and the change of behaviour was not documented.
This behaviour might be correct for client scripts because you may want to override what was done in a fixture, but a request's response shouldn't be searched from the ones defined in fixture, then in test, then in t, but from the ones defined in t, then in test, then in fixture.
Please note that I didn't update any tests for now.

I really appreciate your contribution to TestCafe. This enhancement is a great idea and we really want to implement it. But after some internal discussion, we decided that it's better to modify DevExpress/testcafe-hammerhead in order to implement this feature. Please refer to this comment for details.


[4310] Add lead school user import

Context
Trello: https://trello.com/c/cacnwDy3/4310-lead-school-user-import-task
We need an import task that can consume the CSV of lead school users. This task does that.
I haven't included much validation because this is a one time import done by us and Claire has already sanity checked the CSV. I've included some validation to highlight if any schools are missing from our DB.
Note I've simplified some of the column heading names compared to what's on the spreadsheet that was sent to schools, so these will need to be amended on the spreadsheet before import.
Changes proposed in this pull request

Add rake task to consume lead school user CSV and import the users
Add CSV test fixture

Guidance to review

Please check the CSV test fixture and make sure I've sanitised enough of the data. The names and first part of the email addresses have been changed.
Check I haven't missed any relevant validation
To run the rake task:

be rake user_import:lead_school_users"[csv_path]"

There is a test csv in spec/support/fixtures which you could use to run the task.
Important business

[ ] Does this PR introduce any PII fields that need to be overwritten or deleted in db/scripts/sanitise.sql?
[ ] Does this PR change the database schema? If so, have you updated the config/analytics.yml file and considered whether you need to send 'import_entity' events?

NB: Please notify the #twd_data_insights team and ask for a review if new fields are being added to analytics.yml

 Lead school user import task


Improvement: Consistent usage of ISSUER_SEPARATOR

For a better code consistency:
ISSUER_SEPARATOR = '#' constant is defined here
Some places in the code however still have a hard-coded '#' character, which should be the ISSUER_SEPARATOR instead.

Fixed by #9


[Certificates] Uploading Certificate to an unconfirmed account does not show errors/nor uploads cert

I used an unconfirmed AAD account with 2FA disabled to upload a certificate. It did not show any errors upon uploading a certificate, and neither the certificate was uploaded.

Damon's suggestion: Do not show the upload button/disabled when account is unconfirmed.


Update to tip of p2pderivatives/rust-lightning#split-channel-experiment-116

Nothing new other than updating to the tip of p2pderivatives/rust-lightning#split-channel-experiment-116, instead
of depending on a merged PR branch.

Shouldn't we be using the tip of p2pderivatives/rust-lightning#split-channel-experiment? I think they're roughly the same but if we're to use it as out "main" branch it might be better?

Shouldn't we be using the tip of p2pderivatives/rust-lightning#split-channel-experiment? I think they're roughly the same but if we're to use it as out "main" branch it might be better?

Yep, we want to use the tip of rust-lightning#split-tx-experiment. This PR was an intermediary one which updated to an older tip of said branch. But now we can just close it and look at https://github.com/p2pderivatives/rust-dlc/pull/164 instead. That one is only one patch behind the tip, but I can update that quickly as the patch is inconsequential for consumers.


Please prioritize formatting of sequence diagrams

Is your feature request related to a problem? Please describe.
No
Describe the solution you'd like
The README says that sequence diagrams are not yet supported.  Please prioritize formatting of sequence diagrams!
Describe alternatives you've considered

The deprecated formatting in the VSCode extension makes things worse.
There's a list here: https://github.com/plantuml/plantuml/issues/714#issuecomment-946064676 -- alas this is the only Github project with a decent amount of stars.  The rest of the links listed have only a handful of stars...so a bit uncertain about ising them.

Additional context
Nada
Thank you in advance for your help!

Thank you @philCryoport . Thank you for your issue. You are right that sequence diagrams are currently not supported by this project.
Since I don't have a personal use case for parsing sequence diagrams, I won't be working on this any times soon. But I would welcome a contribution which would add support for more diagram types. So If you want to you can always create a pull request, which i will be happy to review & merge.

sorry closed by mistake.


Testing failure for overridden dependency

Description
I have a framework target and its unit tests. I have a dependency of shape (String,String) -> EffectTask<Result<A,B>>. It has a live value in framework target and an extension of its key in tests target with a testValue.
I wrote a test that exercises a reducer's event and uses said dependency. The dependency also has testValue defined in the test case file. The problem is that the testValue should override the network call. However I get a few errors where most of them I believe stem from swift-dependencies not being able to find overridden dependency. The failures are:

dependency doesn't have a test value (culprit)
an effect returned is still running (network request in live and simple EffectTask(value:) in test
expected but did not receive an action (because the previous effect is still running, because it didn't find a testValue for the dependency);

I read the test gotcha, however I don't believe it's valid in my case as I am testing a framework target. I also read this thread where Brandon writes

You aren't allowed to extend a protocol with default implementations from another module.

Is this the case? I am not extending a protocol, rather protocol's adoption from module A (framewokr) in module B (tests).
Checklist

[X] I have determined whether this bug is also reproducible in a vanilla SwiftUI project.
[ ] If possible, I've reproduced the issue using the main branch of this package.
[X] This issue hasn't been addressed in an existing GitHub issue or discussion.

Expected behavior
I would expect the tests to run smoothly as they don't exercise complex business logic. Simple action that triggers request/response and then maps to resulting success/failure action.
Actual behavior
The dependency is not found (ostensibly), the trigger effect is still running and result action is not received.
Steps to reproduce
No response
Dependencies version information
0.1.4
Destination operating system
iOS 16
Xcode version information
14.2
Swift Compiler version information
Apple Swift version 5.7.2 (swiftlang-<IP_ADDRESS>.5 clang-14<IP_ADDRESS>)
Target: x86_64-apple-macosx13.0

Hey @eimantas!

The dependency also has testValue defined in the test case file.

This doesn't seems right. If the dependency conforms to DependencyKey in the framework, it is fully defined when the framework is built, and the value you provide in the test file will not participate in Dependencies's logic.
If you want to assign values to your dependency when testing, you should use withDependencies, or, in TCA, the prepareDependencies closure of TestStore.
You should probably try to define an "unimplemented" testValue in the framework, and assign the testValue value you defined in the test file to the dependency using the prepareDependencies closure of TestStore.

Thanks for the reply. I have added the default implementation which raises (fatalError(...)). The problem now is that my prepareDependencies closure of TestStore doesn't override them in any way :( it's like the closure doesn't even exist although the breakpoint in it, when running the tests, gets hit.

The testing gotchas where updated a few days ago with one sneaky issue when you link your test target with the Dependencies module. This is fairly easy to check, as Xcode will print many "Duplicate implementation" message before running the tests.
Do you think you have an escaping closure somewhere? It should rarely happen when using TCA though, but this is typically something that escapes the testValue override.
I would try to put a breakpoint on the fatalError of testValue and check who's hitting that, and under which context.

Hi @eimantas, can you provide a sample project that reproduces the problem?

@tgrapperon — I am using Dependency package as TCA dependency, so not linking it directly or importing it all.
@mbrandonw — the vanilla SwiftUI works as expected. I want to believe that my complex project structure with huge codebase is at fault here although its rather modularized.

Hi @eimantas, do you have any update for this? If not can we close it and you can  start a discussion if you have more you want to share?

You can definitely close this. Sorry for the late response. It seems that this was mysterious issue with dependencies in my cobweb of a project, not the issue of the library.


Implement tracing

This PR addresses issue #170  by adding the @logging decorator shown in this article. I changed the print statements to logging as it got a little messy with print statements alternating with the logging, and I also got rid of the indentation as it didn't seem necessary when using logging. I didn't add the @logging decorator to the functions that got triggered a lot like the event handlers.
Next steps:

the record function still hangs sometimes near the end without any additional info from the added tracing, so I will have to find another way to give more information about what is causing the issue
even without the tracing, all the logging from different threads often gets mixed together into one sentence (example shown in the image below). If we want to make the logging more readable, we will have to make sure that only one thread logs at one time.

Instructions to run:
git remote add angelala3252 https://github.com/angelala3252/OpenAdapt.git
git fetch angelala3252
git checkout feat/tracing
python -m openadapt.record "test"
# tracing will show up in the terminal, "Enter" for when you enter a function, and "Leave" for when a function returns

Update:
The log messages now no longer get mixed up as they are now multiprocess safe. The recording hanging issue was due to a separate error I was getting, so now the recording does not hang and every major function gets traced. I haven't gone any further with the tracing itself, as it still just shows entering and exiting functions, but if that is necessary I can explore that more.

@angelala3252 can you please fix merge conflicts?

@abrichr resolved!


Reattach an orphaned attachment

Asked in DID-2106
If a user accidentally deletes drawio macro and wants to put a diagram back to a Confluence page without making a copy if it (duplicated attachment)

Original poster "the solution is not a solution to my problem, can this please be opened again?"


ISO8601 time decoding wrong in ceylon.time "1.2.2"

print(parseDateTime("20160611T123456.7"));
// yields 2016-06-11T12:34:56.007, should be 2016-06-11T12:34:56.700

print(parseDateTime("20160611T10.025"));
// yields 2016-06-11T10:01:00.000, should be 2016-06-11T10:01:30.000

print(parseDateTime("20160611T10.01"));
// yields 2016-06-11T10:00:00.000, should be 2016-06-11T10:00:36.000

First case is a bug in parseTime, we need to get fractionPart and do fractionPart.padTrailing(3, '0')
The others two cases Ill try to take a look tomorrow

There were two problems.
The first issue was that our milliseconds fraction calculation was
really simplistic and only worked if the milliseconds part was exactly
three digits long.
Second problem was that our fractional part calculation only affected
next smaller unit of time (e.g. hh.ms form only tried to fill in minutes) and filled up everything else with zeroes.
Thus, ...T10.025 means 0.025 hours, which is less than a minute, thus minutes part remained 0 and rest was fixed to 0, so this is how we got result as 10:00:00.000.
pasreDateTime inherited this behavior from parseTime, so both should now be okay.


GH-37177: [Java][Docs] Enable singleton allocator

Rationale for this change
Upstream SingletonAllocator
To close https://github.com/apache/arrow/issues/37177
What changes are included in this PR?
Enable SingletonAllocator utility
Are these changes tested?
Yes
Are there any user-facing changes?
No

Closes: #37177

I am going to close this issue and incorporate your recommendation into https://github.com/apache/arrow/issues/37216 PRs


commented code deleted during import change

If you have:
module Foo where

import Prelude
-- some comment here
import Data.Array as Array

Then if you type foo = String.split and select the import by pressing enter I get this:
module Foo where

import Prelude
import Data.Array as Array
import Data.String as String

foo = String.split

note the comment is removed

https://github.com/purescript/purescript/blob/master/psc-ide/DESIGN.org#we-pretty-print-the-entire-import-section-on-every-import-command-instead-of-patching-the-existing-section
It's purs ide's fault and it's part of the design.

makes sense, you can't really maintain comments if imports are being reordered.


0647 - Palindromic Substrings

Description of the Problem
Given a string, your task is to count how many palindromic substrings in this string.
The substrings with different start indexes or end indexes are counted as different substrings even they consist of the same characters.
Code
class Solution:
    def countSubstrings(self, s: str) -> int:

Link To The LeetCode Problem
Palindromic Substrings

i'll do this one


One step make folder

Description of the new feature / enhancement
Just select multiple file - right click - make folder then rename it
Scenario when this would be used?
When i download multiple file from my client in Whatsapp it make my download folder messy. Time is important to me so from this One Step i can make folder just by right click the multiple file that i select.
Supporting information
No response

Thanks for your message. This is a Duplicate of an other issue. Additional comments may be added there. /dup #3569


Feature: Add option for collapsedHeight

This adds an option to set the height of the content div after you collapsed it.
Without this option the content collapses to 0px and is set to display: none.
With this option you can show part of the content and expose all of it by clicking the expand button.

Fixed merged conflicts in readme.md


DBZ-8202 extended support for mongoDb

https://issues.redhat.com/browse/DBZ-8202

Hi @Naros , apologies for the delay I was struggling with changing commit messages. Hope everything is in line , have closed the previous PR.

@ajit97singh Hi, thanks for the PR. Could you please also execute code formatting before push?
Also I'd like to remind you that we officially dropped support for MongoDB 4. I am fine in adding this quite isolated change into the codebase but please bear in mind that you are on your own with aditional changes/bugfixes.
Thanks for understanding

@jpechane Thank you for your feedback and for taking the time to review my PR. I've executed the code formatting as requested. I also appreciate the reminder regarding MongoDB 4. I understand the support limitations, and I’ll keep that in mind for any future work or changes related to this.Thanks again for your guidance and support!

@ajit97singh Thanks, merged via https://github.com/debezium/debezium/pull/5839


URIBuilder property methods to allow Option values

After some time of taking the URIBuilder implementations for a test drive, it has become apparent that users should be allow to pass optional values to the implemented with_ methods.
Doing so, or at the very least modifying the exising implementation to allow for options would be most advantageous. Specifically, re-writing how these methods are constructed should collapse the development cost down stream when trying to
discern different paths for a single method or function.

This might be a wont-fix situation. After some preemptive experimentation, this adds more problems than it solves. This could just be an issue with the present usage, but the implementation doesn't seem to make sense.


Do we really need to reuse tyckers?

bors r+

https://github.com/aya-prover/aya-dev/blob/a88f24fab955edb262bdbed618723f0f88973c2d/base/src/main/java/org/aya/tyck/order/AyaSccTycker.java#L53

Maybe it is needed for keeping ExprTycker.state?

I tried to remove tyckerReuse

  [Tyck] Spaces::Torus::T2-HoTT (Spaces/Torus/T2-HoTT.aya)
org.aya.generic.util.InternalException: i
	at org.aya.tyck.env.LocalCtx.get(LocalCtx.java:104)

:: Running tests under /home/dev/projects/aya-dev/base/src/test/resources/failure
org.aya.generic.util.InternalException: i
	at org.aya.tyck.env.LocalCtx.get(LocalCtx.java:104)

I tried to remove tyckerReuse

  [Tyck] Spaces::Torus::T2-HoTT (Spaces/Torus/T2-HoTT.aya)
org.aya.generic.util.InternalException: i
	at org.aya.tyck.env.LocalCtx.get(LocalCtx.java:104)

:: Running tests under /home/dev/projects/aya-dev/base/src/test/resources/failure
org.aya.generic.util.InternalException: i
	at org.aya.tyck.env.LocalCtx.get(LocalCtx.java:104)

Of course you'll need to recover the scopes, but that's very easy: whatever is in the localCtx of ExprTycker, you should have them from the telescope of either the telescope or the patterns. So you need to add these variables to the scope, and I guess that's what you're missing. May I have your branch? Or you can do it yourself.


Add final packet dallying

When a get connection sends its final ACK, it should wait to see if the server sends the last data packet again. This suggests that the server did not receive the final ACK for the final data packet.

Hey Connor, I'd like to tackle this!

What would you suggest is the right time to wait if the server still sends a packet? Maybe I could wait till #47 get merged and use the retransmission timeout specified there.

Sweet, thanks!

What would you suggest is the right time to wait if the server still sends a packet?

Let's keep it low for now... maybe 3 seconds?

Maybe I could wait till #47 get merged and use the retransmission timeout specified there.

Up to you if you want to wait!

Alright, I'm gonna do this now!


Set up query to get user's favorited recipes in parse

[ ] Get current user's favorited recipes (these will be shown on saved recipes (stream) screeen)

Duplicate of #35


Use the torrent name instead of torrent filename

Hi, is possible to use the torrent name (directory name in the picture) instead of the torrent file (.mkv) to search and rename/move the file?
It's more easy to find the name on tvdb or tmdb with this without errors.  For example, as you can see, the normal method is to use the file with .mkv extension to search, rename, move, etc. But if I can put the name of the dir it's easiest for flexget to do it.

Please open issues only for bugs and feature requests, everything else should be in discussion.


Hydra feature + smerge + git-gutter hydra

This is a better show case than what I had up before.

Just a note so it gets referenced in #126


943 - Fix Multiplexed for Batch

Issue Number
Closes https://github.com/AlexsLemonade/scpca-portal/issues/943
Purpose/Implementation Notes

...
Types of changes
What types of changes does your code introduce?

Refactor (addresses code organization and design mentioned in corresponding issue)

Functional tests
N/A
Checklist

[ ] Lint and unit tests pass locally with my changes

Screenshots
N/A

If we like this approach, then I would update dispatch_to_batch to match loader::generate_computed_files (i.e. update the caller). Would like to get consensus first, before proceeding.


Add Quorum factory

📚 Context
Same context as https://github.com/cartesi/rollups-contracts/issues/25 but for the Quorum consensus.
✔ Solution
Create a contract that deploys Quroum contracts, ergo an Quorum factory.
There would also have to be a script that deploys such factory.

We should wait until the Quorum contract is consolidated until we take this initiative forward, otherwise there can be a lot of rework.


Make bridged String and collection types conform to CVarArg.

This allows String, Array, Dictionary, and Set to be passed as variadic arguments to Cocoa APIs like NSLog, NSPredicate, stringWithFormat:, etc. rdar://problem/27651717

@swift-ci Please smoke test

@gribozavr Do you mind reviewing?

How about the Foundation-level bridged types? What about Linux? cc @phausler

NSLog is omitted since print is preferred.
NSString has the method:
public convenience init(format: String, arguments argList: CVaListPointer) {
        let str = CFStringCreateWithFormatAndArguments(kCFAllocatorSystemDefault, nil, format._cfObject, argList)!
        self.init(str._swiftObject)
    }

which defers to CF, but there is no adoption else wise.

@jrose-apple We can add more conformances easily enough. String is by far the most important. This has no impact on Linux, since it would already have not worked before, but maybe corelibs could add the same conformances for parity.

@shahmishal Linux build seems to be broken by an LLVM change:
ninja: error: '/home/buildnode/jenkins/workspace/swift-PR-Linux-smoke-test/buildbot_linux/llvm-linux-x86_64/lib/libLLVMGlobalISel.a', needed by 'bin/swift', missing and no known rule to make it

Is this a good idea for String?  It's not obvious that converting to an NSString is better than, say, converting to const char*.

@rjmccall It mirrors our Swift 2 behavior, where strings in CVarArg context would implicitly convert to NSString. The CVarArg protocol doesn't provide any safe way to get a char* out of a String that I can think of either.

Alright, fair enough.

I'm not sure this is the right thing to do.  Do people actually expect that String is passed as NSString, or do they prefer char *?  Especially on Linux.
Also, please add tests for all new APIs and new usecases (e.g., passing an Array as a vararg).

@gribozavr This preserves the Swift 2 behavior for Darwin, and this never worked for Linux. I don't see how we can realistically support %s at all without a major redesign of CVarArg, and I doubt that's ever in the cards, since the affected APIs aren't particularly idiomatic to begin with.

@gribozavr The behavior should also already be exercised by existing tests where I've rolled back as conversions that were made necessary by the original implementation of SE-0072.

@swift-ci Please smoke test

Looks like we never really exercised (NS)Array or Dictionary varargs. Added a test for that.

(Just curious if the linux smoke test is fixed, Mishal cleared the workspace)

The behavior should also already be exercised by existing tests where I've rolled back as conversions that were made necessary by the original implementation of SE-0072.

We have a policy in the library that we don't add APIs without directed tests for them.  Accidental tests can come and go as those files are refactored.  We can't rely on them.

@gribozavr This preserves the Swift 2 behavior for Darwin, and this never worked for Linux.

I understand, but we are trying to do the right thing, and not just preserve the behavior.  If we were trying to preserve the behavior, we would not do id-as-Any.

@gribozavr OK, I added comments to the tests.


Show Loading, Success statuses for Registration, Login, Password Restore

Estimation: 4 hours
Show Loading, Success statuses for Registration, Login, Password Restore

Doesn't show avatar after initial registration

Show loading statuses when we re-send confirmation link to the user

Need to make redirect after validating email confirmation token


Relaxing the criteria for escaping single quotes when using JAVAMSGXXX format

Coverage increased (+0.3%) to 52.859% when pulling 00e912793fa8f9558cf50a218a7f68918c27ba8d on jugu:master into 5b6b8d4818a2b1894632807a73337e4178b46e4e on IBM-Cloud:master.