D:\Bluetooth\blue-pair-secret.properties (The system cannot find the file specified)

A problem occurred evaluating project ':app'.

D:\Bluetooth\blue-pair-secret.properties (The system cannot find the file specified)

Hey @Aniket-Softserv ! This problem occurs if you're trying to build a production build. In that case, you will have to create a blue-pair-secret.properties on your project with the information required for signing the apk. The file should look like this:
# Ads configuration
ad.app.id="ads_app_id_between_quotes"
ad.unit.id="ads_unit_id_between_quotes"

# Signing configuration
release.store.file=<path_to_keystore>
release.store.password=<keystore_password>
release.key.alias=<keystore_key_alias>
release.key.password=<keystore_key_password>

Let me know if you need other info and have a nice day

Hey @Aniket-Softserv ! This problem occurs if you're trying to build a production build. In that case, you will have to create a blue-pair-secret.properties on your project with the information required for signing the apk. The file should look like this:
# Ads configuration
ad.app.id="ads_app_id_between_quotes"
ad.unit.id="ads_unit_id_between_quotes"

# Signing configuration
release.store.file=<path_to_keystore>
release.store.password=<keystore_password>
release.key.alias=<keystore_key_alias>
release.key.password=<keystore_key_password>

Let me know if you need other info and have a nice day


sync PolicyRoute && sync StaticRoute to vpc spec

[x] Make sure you have followed Kube-OVN Code Style.

What type of this PR
Examples of user facing changes:

Bug fixes

some policies are not maintained by codes in vpc.go and not reflected in the vpc spec.
while updating default vpc, these policies will be accidentally deleted.
Which issue(s) this PR fixes:
Fixes #3102
WHAT

🤖 Generated by Copilot at bebf389
Improve policy route handling for vpcs in vpc.go. Optimize performance, fix edge cases, and exclude default vpc routes.

🤖 Generated by Copilot at bebf389

No more wasted calls to clear the routes
We handle the policy of the vpcs
We filter out the default ones that we don't need
We are the masters of the handleAddOrUpdateVpc

HOW

🤖 Generated by Copilot at bebf389

Optimize the performance of the handleAddOrUpdateVpc function by checking if the vpc has policy routes defined before clearing the existing policy routes in the ovn-nb database (link)
Ensure the consistency of the policy routes between the vpc resources and the ovn-nb database by adding an else branch to clear the existing policy routes in the ovn-nb database if the vpc has no policy routes defined (link)
Support the new logic in the diffPolicyRoute function by passing the vpc name as a parameter to the function call (link) and adding the vpc parameter to the function signature (link)
Avoid deleting the default policy routes for the default vpc by filtering out the policy routes with a fixed priority of util.NodeRouterPolicyPriority in the diffPolicyRoute function (link)

默认vpc的策略路由比较特殊，有大量的操作可能会自动更新策略路由，subnet gateway 模式切换，是否开启 u2o，集中式网关改网关节点或者设置 ecmp，不建议再在这里做双向同步了，很容易漏规则或者规则混乱


Fix Arm linux builds, allow adding version suffix, and add automatic linux build target testing

Fix Arm linux builds, allow setting a vendor-specific version suffix when building, and add a Travis-CI build automation file to help prevent further breakage of less commonly tested linux platforms. Hopefully the main repo can add integration with Travis-CI (free for open source projects) so this check is run for every commit.
This is a resubmit of #543, which I merged prematurely and then had to revert.

CI gfxreconstruct build queued with queue ID 18919.

CI gfxreconstruct build queued with queue ID 21288.

CI gfxreconstruct build # 535 running.

CI gfxreconstruct build # 535 passed.

Sorry about the slow response time. I am a bit confused about this. For cross-compiled environments, the problem is generally that you do not have many installed libraries available. The general way to deal with this is either to include them as submodules and compile them as needed, or (far more ugly) to include binary library blobs in git. gfxreconstruct seems to have opted for binaries, so we followed suit adding that also for the arm arch. In order to compile against these binary blobs, you also need the relevant headers added (you do not want to use random library headers from the host system, as these might have a different version). So that is why I added the zconf header, and if we want to use zstd, we'll need to add a binary blob + header for that as well. You can, of course, leave it up to the user to create a build environment that contains these libraries already installed for the target architectures, but unless you also provide instructions on how to do that, it is often a fairly large hurdle to overcome. Please advise which type of solution you would prefer, and we'll redo the patch to match to match.

Hi Per
I'll attempt to resurrect this PR in order to get it merged.
We agree with you that including binaries in the repo is not a nice solution. However we don't have a strong feel about it so feel free to add it however you like, either as a binary, or as a sub-module, or as something completely external that cmake can be pointed at it by setting ZSTD_ROOT.

Hi, can this please be merged so that arm linux builds can be done with less hassle? Currently the precompiled support for this platform is not working correctly. I agree it is not a great solution but it is a small change to remove a big annoyance for end users in that it won't cross-compile out of the box.

Hey, @per-mathisen-arm , this looks like it now rebases to dev with a couple of small changes to CMakeLists.txt.  I don't yet know how to rebase locally but make a PR to your PR that adds one commit, nor does merge seem to do what I want.    Let me know what you'd like!

Oh, this is already a PR by me with your commit.  :laughing:  Still, it's from your branch, so let me know what you'd like to do.

I'm off traveling for a few days, so if you want to merge it soon, feel free to commit it whichever way and under whichever name suits you :-)


Need new release for pull request #13

Yeah! I wanted to close one more issue and ship new release at once.
but it can wait.
thanks for nudge! :)


Introduce CodableMatchedStringRepresentable protocol

I found it useful to be able to use complex types in tests descriptions and Codable can be easily utilized for that. For that new protocol is introduced.
I.e. I can have a test step that is "I receive push (notification)" where notification is the same DTO that is used by the app.
There is one small caveat for this approach which is an override of description property so that print will output JSON string.

@deanWombourne done in 39c8182

Hey - I've just released this as version 0.16.0 :) Awesome!


Job Preparation Analysis

The issue I worked on is: #82
I made a Job preparation Analysis.

The analysis includes:
I-->imported the dataset and handled missing values.
-->Removed duplicate columns and rows to ensure data integrity.
-->Analyzed salary trends over the years and observed an increasing trend in median salaries.
-->Compared salaries between different countries, identifying the United States as having the highest median salary.
-->Visualized salary distributions across different developer roles, identifying back-end developers as having the highest salaries.
-->Explored language preferences for top developer roles, indicating the highest paying languages for roles like Data Scientist and Web Developer
-->Examined regional variations in salaries, highlighting countries with the highest pay such as Ireland, New Zealand, and the United States.
-->Visualized the relationship, noting that both slightly satisfied and highly satisfied individuals span a wide range of salaries.
I visualized all the salary trends, geographical trends and the skill trends and prepared all the analytical conclusions of the analysis. It gives all the suggestions that one need to get an high paying job.

Hi I liked the idea, but we dont need separate ipynb file, can u combine to the current main ipynb file please.

Sir @sanjay-kv  Can you brief me How can we do that please..?

Sir @sanjay-kv , I did the changes and added it locally could you please check that and let me know whether I did right or not..


first stab to recover dump_dynamical_matrices in public branch

grabbed handy tool from old develop branches. Moved to src, and incorporated in build_things

As I understand, the code currently reads in the force constants and dumps to an Abinit DDB file. Would convert_forceconstant_to_abinit_ddb be a better name, in line with https://github.com/ollehellman/tdep-devel/tree/master/src/convert_abinit_ddb_to_forceconstant ?

name can stay unchanged - the idea is others beyond abinit may want their own export  options, and the infrastructure is there.

Merge @mjv500 ?

Thanks for the time and nagging flokno!


Add interactive playground to storybook

I added an interactive story to the storybook so a custom combination of header/left/footer/right stickies can be tested, and also the ability to play with the table's container height and width.
To do so, I added the knobs-addon and removed both links and actions addons as they were not used.
Also updated storybook and @storybook/addons to last 5.3.18, which I assume will be the last v5 as v6 is due this or next month.
In the second commit I updated react, react-dom to the latest versions and styled-components to 5.1.0, which does not have breaking changes with v4 save for some .attrs() things I updated too.
There shouldn't be any breaking changes :)

Rebased in #91


Upload error: This package ID has been reserved...

Describe the bug
Upload package fail :
runtime.linux-mips64.Microsoft.NETCore.DotNetAppHost.3.1.7.nupkg
error info is :
This package ID has been reserved. Please request access to upload to this reserved namespace from the owner of the reserved prefix, or re-upload the package with a different ID.
Expected behavior
upload sucess

The package ID prefix runtime.* has been reserved by another package owner (the Microsoft organization). In this particular case you'll need to pick a different package ID that does not start with a reserved prefix.
For more information about ID prefix reservation, see https://docs.microsoft.com/en-us/nuget/nuget-org/id-prefix-reservation.

Thank you very much.  Now I want to build nuget server on Linux platform. Do you have any documents for me?

The NuGet.Server and NuGetGallery projects are both only supported on Windows.

Please let me know if you have any further questions about ID prefix reservation. If not, we'll leave this one closed. If you have questions about another subject, please open another issue specific to that subject and we can continue the conversation there.

You can find a list of NuGet server implementations here: https://docs.microsoft.com/en-us/nuget/hosting-packages/overview
A few of these options support Linux.


Convert JSON fields in PostGIS to geometry fields.

PostGIS supports a Geometry type. We should add a view that has the geometry and a foreign key to the original tables that have Geographical information.
This method from the documentation may be helpful.
I suspect this will be a SELECT UPDATE query.

This is for the waze data, FYI.

Added PostGIS to db. Created geotable with a row of geometry per each AJI record.

Great!
On Thu, Jul 5, 2018 at 10:02 AM, Bryan Blackford<EMAIL_ADDRESS>wrote:

Added PostGIS to db. Created geotable with a row of geometry per each AJI
record.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/CityOfLosAngeles/aqueduct/issues/16#issuecomment-402789127,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABp74jFIkr_M5GBcSFSSvB77ydri1rTJks5uDkamgaJpZM4Uk0zh
.

Can you commit the code somewhere?
On Thu, Jul 5, 2018 at 11:10 AM, Hunter Owens<EMAIL_ADDRESS>wrote:

Great!
On Thu, Jul 5, 2018 at 10:02 AM, Bryan Blackford<EMAIL_ADDRESS>
wrote:

Added PostGIS to db. Created geotable with a row of geometry per each AJI
record.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/CityOfLosAngeles/aqueduct/issues/16#issuecomment-402789127,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABp74jFIkr_M5GBcSFSSvB77ydri1rTJks5uDkamgaJpZM4Uk0zh
.


feat: handle .gitignore files recursively

Will fix  https://github.com/antoine-coulon/skott/issues/38

LGTM @tarrsalah thanks for contributing!


core: Add default behaviour for mapped objects where property names differ from field names

Basic usage:
@ConfigSerializable
static class Example {

    @PropertyKey("realKey")
    private String field = "defaultValue";

}

will serialize to/from a node "realKey" = "defaultValue" rather than "field" = "defaultValue"
More usage examples can be found in org.spongepowered.configurate.objectmapping.NodeResolverTest
Notes / Open Questions:

I added @since 4.2.0 to the javadoc of my additions - is this the correct version?
You might want to mention this addition in the wiki here (or wherever else you think is best) - should I / can I do that?

@Setting("path") already does this


Deconstructed defaults don't typecheck correctly.

https://flow.org/try/#0FAMwrgdgxgLglgewgAgOYFMYEYAUMEBCANglANYD8AXMhGALYBG6ATsgD7IDkRAhjOgDOMLsgC83PgOFcAlMgDeAX2ChIsRCgwwATDgXJ8xUmXGT+QkciU0FnIyXLVaDZm048LMjkvnKgA
function get1(toBlock?: number | 'latest' = 'latest') {}
function get2({ toBlock = 'latest' }: {| toBlock?: number | 'latest' |}) {}

get1 function type-checks ok.
get2 function complains, but should type-check the same way get1 does, right?

Yeah hmmm, this seems like a bug to me.

This works fine with recent versions, thank you ❤.


[ISSUE #6529] Some improvements for compactionTopic

Make sure set the target branch to develop
What is the purpose of the change

fix #6529
Brief changelog
XX
Verifying this change
XXXX
Follow this checklist to help us incorporate your contribution quickly and easily. Notice, it would be helpful if you could finish the following 5 checklist(the last one is not necessary)before request the community to review your PR.

[x] Make sure there is a Github issue filed for the change (usually before you start working on it). Trivial changes like typos do not require a Github issue. Your pull request should address just this issue, without pulling in other changes - one PR resolves one issue.
[x] Format the pull request title like [ISSUE #123] Fix UnknownException when host config not exist. Each commit in the pull request should have a meaningful subject line and body.
[x] Write a pull request description that is detailed enough to understand what the pull request does, how, and why.
[x] Write necessary unit-test(over 80% coverage) to verify your logic correction, more mock a little better when cross module dependency exist. If the new feature or significant change is committed, please remember to add integration-test in test module.
[x] Run mvn -B clean apache-rat:check findbugs:findbugs checkstyle:checkstyle to make sure basic checks pass. Run mvn clean install -DskipITs to make sure unit-test pass. Run mvn clean test-compile failsafe:integration-test  to make sure integration-test pass.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

change the compactionTopic dispatch process from asynchronous to synchronous
compactionTopic dispatch performance improvement

Is there any experimental data for performance optimization ?

@guyinyou

Is there any experimental data for performance optimization ?

Performance before and after modification of doDispatch process, just focus on OutTPS.
before:

after:


Kafka Charts keeps crashing

Which chart:
incubator/kafka
What happened:
After installing the chart,
Pods just crashing
kafka-0                             2/3       Error                   6          10m
kafka-1                             2/3       CrashLoopBackOff        6          9m
kafka-2                             2/3       CrashLoopBackOff        5          8m
kafka-exporter-9d78768f7-45gz5      1/2       CrashLoopBackOff        6          10m
kafka-zookeeper-0                   0/2       Init:CrashLoopBackOff   6          10m

What you expected to happen:
Work properly, with External IP
How to reproduce it (as minimally and precisely as possible):
Make these changes in values.yml and install the chart
@rfvermut Please have a look at this issue, Thanks!.

Strange to see them ALL crash. Can you post the logs of, say kafka-0 and kafka-zookeeper-0 ?

Where are the logs? What's the location?
cd /opt/kafka
bash: cd: /opt/kafka: No such file or directory

In kafka-exporter the error is:
kafka: client has run out of available brokers to talk to (Is your cluster reachable?)
at main.NewExporter (kafka_exporter.go:211)
at main.main (kafka_exporter.go:481)

I'm worried about kafka-zookeeper-0 most. It's a prerequisite for Kafka to start the cluster and it's failing at init container. Can you get Zookeeper's init container logs?

Can you get Zookeeper's init container logs?

Yes, Whats the Location? Can you give commands?

Hey, any update?
kafka-0                             2/3     CrashLoopBackOff        50         24h
kafka-1                             2/3     CrashLoopBackOff        48         24h
kafka-2                             2/3     CrashLoopBackOff        426        24h
kafka-3                             2/3     CrashLoopBackOff        50         24h
kafka-exporter-9d78768f7-vnkwk      1/2     CrashLoopBackOff        37         24h
kafka-zookeeper-0                   0/2     Init:CrashLoopBackOff   38         24h

You have Istio running, who injects it's Init containters into other pods. istio-init is crashing, that's why Zookeeper cannot start, that's why Kafka cannot start.
Not a Kafka issue.

Do I need to do something like --set sidecarInjectorWebhook.enabled=false
https://preliminary.istio.io/docs/setup/kubernetes/additional-setup/sidecar-injection/#disabling-or-updating-the-webhook

Same issue i'm getting. Here are the logs
$ kubectl logs zookeeper-0
+ zkGenConfig.sh
Validating environment
ZK_REPLICAS=3
MY_ID=1
ZK_LOG_LEVEL=INFO
ZK_DATA_DIR=/var/lib/zookeeper/data
ZK_DATA_LOG_DIR=/var/lib/zookeeper/log
ZK_LOG_DIR=/var/log/zookeeper
ZK_CLIENT_PORT=2181
ZK_SERVER_PORT=2888
ZK_ELECTION_PORT=3888
ZK_TICK_TIME=2000
ZK_INIT_LIMIT=5
ZK_SYNC_LIMIT=10
ZK_MAX_CLIENT_CNXNS=60
ZK_MIN_SESSION_TIMEOUT=4000
ZK_MAX_SESSION_TIMEOUT=40000
ZK_HEAP_SIZE=2G
ZK_SNAP_RETAIN_COUNT=3
ZK_PURGE_INTERVAL=0
ENSEMBLE
server.1=zalando-zookeeper-0.zalando-zookeeper-headless.default.svc.cluster.local:2888:3888
server.2=zalando-zookeeper-1.zalando-zookeeper-headless.default.svc.cluster.local:2888:3888
server.3=zalando-zookeeper-2.zalando-zookeeper-headless.default.svc.cluster.local:2888:3888
Environment validation successful
Creating ZooKeeper configuration
Wrote ZooKeeper configuration file to /opt/zookeeper/conf/zoo.cfg
Creating ZooKeeper log4j configuration
Wrote log4j configuration to /opt/zookeeper/conf/log4j.properties
Creating ZooKeeper data directories and setting permissions
/usr/bin/zkGenConfig.sh: line 130: /var/lib/zookeeper/data/myid: Permission denied
Created ZooKeeper data directories and set permissions in /var/lib/zookeeper/data
Creating JVM configuration file
Wrote JVM configuration to /opt/zookeeper/conf/java.env
+ exec zkServer.sh start-foreground
ZooKeeper JMX enabled by default
ZooKeeper remote JMX Port set to 1099
ZooKeeper remote JMX authenticate set to false
ZooKeeper remote JMX ssl set to false
ZooKeeper remote JMX log4j set to true
Using config: /usr/bin/../etc/zookeeper/zoo.cfg
2019-06-04 09:39:07,643 [myid:] - INFO  [main:QuorumPeerConfig@134] - Reading configuration from: /usr/bin/../etc/zookeeper/zoo.cfg
2019-06-04 09:39:11,660 [myid:] - WARN  [main:QuorumPeer$QuorumServer@173] - Failed to resolve address: zalando-zookeeper-2.zalando-zookeeper-headless.default.svc.cluster.local
java.net.UnknownHostException: zalando-zookeeper-2.zalando-zookeeper-headless.default.svc.cluster.local: Name or service not known
        at java.net.Inet4AddressImpl.lookupAllHostAddr(Native Method)
        at java.net.InetAddress$2.lookupAllHostAddr(InetAddress.java:928)
        at java.net.InetAddress.getAddressesFromNameService(InetAddress.java:1323)
        at java.net.InetAddress.getAllByName0(InetAddress.java:1276)
        at java.net.InetAddress.getAllByName(InetAddress.java:1192)
        at java.net.InetAddress.getAllByName(InetAddress.java:1126)
        at java.net.InetAddress.getByName(InetAddress.java:1076)
        at org.apache.zookeeper.server.quorum.QuorumPeer$QuorumServer.recreateSocketAddresses(QuorumPeer.java:166)
        at org.apache.zookeeper.server.quorum.QuorumPeer$QuorumServer.<init>(QuorumPeer.java:151)
        at org.apache.zookeeper.server.quorum.QuorumPeerConfig.parseProperties(QuorumPeerConfig.java:238)
        at org.apache.zookeeper.server.quorum.QuorumPeerConfig.parse(QuorumPeerConfig.java:150)
        at org.apache.zookeeper.server.quorum.QuorumPeerMain.initializeAndRun(QuorumPeerMain.java:101)
        at org.apache.zookeeper.server.quorum.QuorumPeerMain.main(QuorumPeerMain.java:78)
2019-06-04 09:39:15,665 [myid:] - WARN  [main:QuorumPeer$QuorumServer@173] - Failed to resolve address: zalando-zookeeper-1.zalando-zookeeper-headless.default.svc.cluster.local
java.net.UnknownHostException: zalando-zookeeper-1.zalando-zookeeper-headless.default.svc.cluster.local: Name or service not known
        at java.net.Inet4AddressImpl.lookupAllHostAddr(Native Method)
        at java.net.InetAddress$2.lookupAllHostAddr(InetAddress.java:928)
        at java.net.InetAddress.getAddressesFromNameService(InetAddress.java:1323)
        at java.net.InetAddress.getAllByName0(InetAddress.java:1276)
        at java.net.InetAddress.getAllByName(InetAddress.java:1192)
        at java.net.InetAddress.getAllByName(InetAddress.java:1126)
        at java.net.InetAddress.getByName(InetAddress.java:1076)
        at org.apache.zookeeper.server.quorum.QuorumPeer$QuorumServer.recreateSocketAddresses(QuorumPeer.java:166)
        at org.apache.zookeeper.server.quorum.QuorumPeer$QuorumServer.<init>(QuorumPeer.java:151)
        at org.apache.zookeeper.server.quorum.QuorumPeerConfig.parseProperties(QuorumPeerConfig.java:238)
        at org.apache.zookeeper.server.quorum.QuorumPeerConfig.parse(QuorumPeerConfig.java:150)
        at org.apache.zookeeper.server.quorum.QuorumPeerMain.initializeAndRun(QuorumPeerMain.java:101)
        at org.apache.zookeeper.server.quorum.QuorumPeerMain.main(QuorumPeerMain.java:78)
2019-06-04 09:39:15,669 [myid:] - INFO  [main:QuorumPeer$QuorumServer@167] - Resolved hostname: zalando-zookeeper-0.zalando-zookeeper-headless.default.svc.cluster.local to address: zalando-zookeeper-0.zalando-zookeeper-headless.default.svc.cluster.local/<IP_ADDRESS>
2019-06-04 09:39:15,669 [myid:] - INFO  [main:QuorumPeerConfig@396] - Defaulting to majority quorums
2019-06-04 09:39:15,670 [myid:] - ERROR [main:QuorumPeerMain@85] - Invalid config, exiting abnormally
org.apache.zookeeper.server.quorum.QuorumPeerConfig$ConfigException: Error processing /usr/bin/../etc/zookeeper/zoo.cfg
        at org.apache.zookeeper.server.quorum.QuorumPeerConfig.parse(QuorumPeerConfig.java:154)
        at org.apache.zookeeper.server.quorum.QuorumPeerMain.initializeAndRun(QuorumPeerMain.java:101)
        at org.apache.zookeeper.server.quorum.QuorumPeerMain.main(QuorumPeerMain.java:78)
Caused by: java.lang.IllegalArgumentException: /var/lib/zookeeper/data/myid file is missing
        at org.apache.zookeeper.server.quorum.QuorumPeerConfig.parseProperties(QuorumPeerConfig.java:406)
        at org.apache.zookeeper.server.quorum.QuorumPeerConfig.parse(QuorumPeerConfig.java:150)
        ... 2 more
Invalid config, exiting abnormally


Update sys-dm-exec-requests-transact-sql.md

Added information that statement_sql_handle and statement_context_id is NULL if Query Store is not enabled for the database.

@olahallengren : Thanks for your contribution! The author, @stevestein, has been notified to review your proposed change.

@olahallengren - thanks for updating and clarifying this.

#sign-off

Thank you.


[WIP]: Integrate source->wasm compiler with frontend

TODO:

[X] Add button for users to use wasm compiler
[ ] Integrate with sourceror-driver

Pull Request Test Coverage Report for Build 4434

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

Totals

Change from base Build 4430:
0.0%

Covered Lines:
2804

Relevant Lines:
6750

💛  - Coveralls


Drain response bodies

The retry helpers and a few other methods weren't reading and closing
response bodies leading to connection leaks.
Thank you for your contribution to Go-AutoRest! We will triage and review it as soon as we can.
As part of submitting, please make sure you can make the following assertions:

[ ] I've tested my changes, adding unit tests if applicable.
[ ] I've added Apache 2.0 Headers to the top of any new source files.
[ ] I'm submitting this PR to the dev branch, except in the case of urgent bug fixes warranting their own release.
[ ] If I'm targeting master, I've updated CHANGELOG.md to address the changes I'm making.

Fixes https://github.com/Azure/azure-sdk-for-go/issues/5243
Back-port of https://github.com/Azure/go-autorest/pull/432

Closing due to inactivity.


[SPARK-37360][SQL] Support TimestampNTZ in JSON data source

What changes were proposed in this pull request?
This PR adds support for TimestampNTZ type in the JSON data source.
Most of the functionality has already been added, this patch verifies that writes + reads work for TimestampNTZ type and adds schema inference depending on the timestamp value format written. The following applies:

If there is a mixture of TIMESTAMP_NTZ and TIMESTAMP_LTZ values, use TIMESTAMP_LTZ.
If there are only TIMESTAMP_NTZ values, resolve using the the default timestamp type configured with spark.sql.timestampType.

In addition, I introduced a new JSON option timestampNTZFormat which is similar to timestampFormat but it allows to configure read/write pattern for TIMESTAMP_NTZ types. It is basically a copy of timestamp pattern but without timezone.
Why are the changes needed?
The PR fixes issues when writing and reading TimestampNTZ to and from JSON.
Does this PR introduce any user-facing change?
Previously, JSON data source would infer timestamp values as TimestampType when reading a JSON file. Now, the data source would infer the timestamp value type based on the format (with or without timezone) and default timestamp type based on spark.sql.timestampType.
A new JSON option timestampNTZFormat is added to control the way values are formatted during writes or parsed during reads.
How was this patch tested?
I extended JsonSuite with a few unit tests to verify that write-read roundtrip works for TIMESTAMP_NTZ and TIMESTAMP_LTZ values.

Test build #145360 has started for PR 34638 at commit f9d097c.

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

I left some comments in the PR for CSV: https://github.com/apache/spark/pull/34596
Let's revisit this one after the CSV one is merged.

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

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

Test build #145360 has finished for PR 34638 at commit f9d097c.

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

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

Test build #145418 has started for PR 34638 at commit 522f7de.

Test build #145418 has finished for PR 34638 at commit 522f7de.

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

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

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

Test build #145428 has started for PR 34638 at commit e867277.

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

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

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

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

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

Test build #145428 has finished for PR 34638 at commit e867277.

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

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

Test build #145435 has started for PR 34638 at commit 55f9e3f.

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

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

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

Test build #145435 has finished for PR 34638 at commit 55f9e3f.

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

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

Can one of the admins verify this patch?

Test build #145872 has started for PR 34638 at commit 412bb61.

Test build #145873 has started for PR 34638 at commit 2cdbb18.

Test build #145872 has finished for PR 34638 at commit 412bb61.

This patch fails to build.
This patch merges cleanly.
This patch adds the following public classes (experimental):
class TimedeltaOps(DataTypeOps):
class TimedeltaIndex(Index):
class MissingPandasLikeTimedeltaIndex(MissingPandasLikeIndex):
class SQLStringFormatter(string.Formatter):
class UDFBasicProfiler(BasicProfiler):
class CloudPickleSerializer(FramedSerializer):
class DayTimeIntervalType(AtomicType):
class DayTimeIntervalTypeConverter(object):
class ExecutorPodsPollingSnapshotSource(
class ExecutorPodsWatchSnapshotSource(
  class AnsiCombinedTypeCoercionRule(rules: Seq[TypeCoercionRule]) extends
case class RelationTimeTravel(
case class AsOfTimestamp(timestamp: Long) extends TimeTravelSpec
case class AsOfVersion(version: String) extends TimeTravelSpec
 class CombinedTypeCoercionRule(rules: Seq[TypeCoercionRule]) extends TypeCoercionRule
case class PrettyPythonUDF(
case class UnclosedCommentProcessor(
case class CreateTable(
case class TableSpec(
case class OptimizeSkewedJoin(ensureRequirements: EnsureRequirements)
  // When this is enabled, this class does additional lookup on write operations (put/delete) to

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

Test build #145874 has started for PR 34638 at commit 5fd0dbe.

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

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

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

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

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

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

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

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

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

Test build #145873 has finished for PR 34638 at commit 2cdbb18.

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

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

Test build #145874 has finished for PR 34638 at commit 5fd0dbe.

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

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

@gengliangwang @MaxGekk could you review the PR? Thank you.

Test build #145883 has started for PR 34638 at commit 50690e9.

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

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

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

Test build #145883 has finished for PR 34638 at commit 50690e9.

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

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

JSONOptions have the following comment for inferTimestamp:

Enables inferring of TimestampType and TimestampNTZType from strings matched to the corresponding timestamp pattern defined by the timestampFormat and timestampNTZFormat options respectively.

Let me know if you would like any modifications to the javadoc.
I also updated the tests, would appreciate another round of reviews. Thanks!

Test build #145940 has started for PR 34638 at commit a626c9d.

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

+1, LGTM. Merging to master.
Thank you, @sadikovi and @gengliangwang for review.

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

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

Test build #145940 has finished for PR 34638 at commit a626c9d.

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

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

Thank you!


Display address in configuration list checksummed

The address in the list of existing addresses should be displayed in checksummed format.

Fixed


feat: allow root mutations/actions from module store

🐛 The bug
In vuex store there is a way to use root mutations/actions from module
https://vuex.vuejs.org/api/#commit
With nuxt-typed-vuex, as I understand, there is no such type in tree, so, when I pass this option and try to run my project, I get an error like
88:16 Argument of type '"rootMutation"' is not assignable to parameter of type '"actionDoSomething"'.
🛠 To reproduce
Steps to reproduce the behavior:

Add some mutations to root state

// index.ts
export const mutations = mutationTree(state, {
  rootMutation: (state: RootState) => {
    // mutate something
  },
});

Try to use root mutation from module with { root: true } option like

// module.ts
export const actions = actionTree(
  { state, getters, mutations },
  {
    actionDoSomething({ commit }) {
      commit('rootMutation', null, { root: true });
    },
}

Try to run the project
Get an error in log

🌈 Expected behaviour
No errors

@Yolley The reason I've not enabled that is because it would stop the type inference working for local commits. There is a type-safe way of making root mutations, however. Try:
// module.ts
export const actions = actionTree(
  { state, getters, mutations },
  {
    actionDoSomething() {
      this.app.$accessor.rootMutation()
    },
}

Does that work for you, or does your use case require calling commit?

@Yolley The reason I've not enabled that is because it would stop the type inference working for local commits (see docs). There is a type-safe way of making root mutations, however. Try:
// module.ts
export const actions = actionTree(
  { state, getters, mutations },
  {
    actionDoSomething() {
      this.app.$accessor.rootMutation()
    },
}

Does that work for you, or does your use case require calling commit?

Yes, this way works, thank you!


Add fav icon

@Anupkjha2601  Greetings I'm Deepesh Gupta from GSSOC. I notice when I opened this website does not have a icon of the website of a fav icon
A fav icon is missing in the website, I would like add an attracting fav icon to the website which gives good user experience.
Please assign this to me under GSSOC'23

hello sir. i would like to work on this issue . please assigne me this issue

@alwaystanaya20 , @anuzz08 , @lamdlvyak working on this project. on issue no #44 .

Ok no porblem, I am  happy for them, I will look for other issue . Thank you
Have a good day

Hey @Anupkjha2601
I added the favicon.
made a pull request #171 as i was assigned on it


draft: Add JSON/HTML conversion to the RPC API doc

Need to style the table properly.

Closing as we have a better plan now: https://polygon.atlassian.net/browse/DOCS-145


Insult Genarator Tests Pass with 100% test coverage

I wrote several tests that are similar to each other. Tests all no more than 3 lines of code.
Most of the code comes from the methods that allow the test cases to run.
Please review and leave feedback.

I have no idea how to resolve this conflict:


Schedule monthly planning meet-ups on meet-up.com

Monthly planning set-up through July, weekly set-up from August to November


pkgsStatic.python3: fix build

Description of changes
GCC does not come with a libgcc_eh.a for the target platform if it was built without --enable-shared. That flag was removed with c6dd11ca39ac87899c92b13a743f104c31cadb26, meaning we should no longer attempt to link against that lib.
Things done

Built on platform(s)

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

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

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

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

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[ ] Fits CONTRIBUTING.md.

@ofborg build pkgsStatic.python3

Thanks!


Jitsu deploy auto incrementing

Please see comments on issue 170 for proposed solution.
https://github.com/nodejitsu/jitsu/issues/170
I don't think this is ready to go, though it does work as expected.
It's just a hack I threw in to convey an idea to see what you think about the functionality.
If you like the idea, please let me know and I will flush it out properly with tests.
Just wanted to get to know the source of jitsu better by attempting to contribute.
Let me know what you think or if there is something else more worth my time.
Am willing to contribute a few hours a week to any of your open source projects.

I like this approach, but I don't think specifying this on the command line for each deploy is quite right.  This should be either a package.json option or a .jitsuconf option, in my opinion - and probably both.  The analyze and noanalyze options work much this way.

Then again, one might want to do any one of these at any time.  I take it back, I'm going to think about this some more.

After some thought, I think it might be best to specify the actual desired version as a command-line option, and, separately, to expose as a .jitsuconf option the default by which to increment, using the approach you used here.
@dnathe4th @gradus @indexzero @Marak @mmalecki @jesusabdullah what do you think of this?

I'll have to take a look, but it sounds reasonable to treat any config options similarly to how we treat --no-analyze now. Speaking of: Maybe we should think about creating a "nodejitsu" namespace for these things in a package.json . Maybe.

I can work with that idea.
for example?
jitsu deploy --release 0.2.4

and .jitsuconf
"increment": 'patch'

I like it.

or were you thinking more like?
jitsu deploy --release minor

I meant specifying a specific version number before - but allowing both would be pretty awesome, I gotta say.

Added .jitsuconf option.
if you guys agree, I will add as command-line options to specify specific version numbers and the incremental release type as well.

@gradus Nice! I think this is definitely the direction to go with this feature.  Thanks for the time!

thanks for the feedback @AvianFlu
I will work on coding this correctly after my day job.

new commits will make the following option work
jitsu deploy -r minor

or default to .jitsuconf or 'build'
Will work on the following option next
jitsu deploy -- release 1.2.3

added command-line options to specify specific version numbers and the incremental release type as well.
Is this the direction you want to go?

That's all the time I have for tonight.
@AvianFlu @jesusabdullah
Feedback on submitted code?

Adding one more commit to keep it from choking if something odd specified as release arg like
jitsy deploy -r borg

One more coming in a moment.

@gradus - cool!  When I look at the diff here, it's a good implementation, and it hits everything it should.
The problem is that it's now 15 commits - I can't really merge this in like that.  Any chance you could clean it up into only a few commits?  I'd be happy to help you with the git-fu involved, if you need it.
Thanks again!

I understand.   I can clean it up into three commits tonight.

Git rebase to the rescue!
Do those 3 commits work for you?

Merged!
@github just doesn't notice when you have to resolve merge conflicts.
Thanks!


nixos/digital-ocean-image: init

Motivation for this change
A just-works NixOS image that can be uploaded to Digital Ocean, hopefully to be used as a basis for better Digital Ocean support in NixOps.
Things done

[ ] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS)
Built on platform(s)

[ ] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nix-review --run "nix-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Assured whether relevant documentation is up to date
[ ] Fits CONTRIBUTING.md.

Can you share expected example user data?

@colemickens if you mean username/password: it's just nixos/nixos. It should be able to sudo without a password.
I got into a console and looked at the systemd journal. I can't copy-paste from the console so I apologize for the screenshot of text instead of copy-paste:

It looks like cloud-init isn't very robust and doesn't like having "nixos" as the distro. I'll look into that more tomorrow.

@eamsden I meant example user-data you're passing into the Droplet config, or are you not specifying any and just expecting to see the SSH keys?
The problem isn't there. If you scroll further, you see that the network portion of the "vendor-data" config fails to apply. It then doesn't process the user-data or ssh keys, I suspect.
But this just makes me question all the more if it's worth the fun of cloud-init just to get ssh keys when they're accessible in at least one or two easy ways.

I may have been looking at the wrong log, this is the most recent -u cloud-init log I got: https://gist.github.com/colemickens/98dee80a8f5d08188d0e932cdc1004a1

I added the template file it was complaining about (see 37d3a52) and now it's not able to write /etc/hosts because NixOS makes it read-only. Is there an idiomatic way to override that?
Log:
https://gist.github.com/eamsden/bfb5153844f800241549695b48606f11

I don't know. I'm still stuck on the last line of the log which reminds the same:  handlers.py[DEBUG]: finish: init-network: FAIL: searching for network datasources. I'm not an expert, but the previous lines make me think the /etc/hosts issue is non-fatal: util.py[WARNING]: Running module update_etc_hosts (<module 'cloudinit.config.cc_update_etc_hosts' from '/nix/store/lfb4vx0fl1v2n30hs79bsy5pwfk622ip-cloud-init-0.7.9/lib/python2.7/site-packages/cloudinit/config/cc_update_etc_hosts.pyc'>) failed since it only says WARNING ? Again, cloud-init could have provided slightly more useful logging and this would be less of a guessing exercise.
To be honest, the time already spent reading cloud-init logs reminded me why I've gone to lengths to avoid this in the past, especially on NixOS where it's only real utility is better served with a few lines of bash.
In case it's useful --  I did write up a nixos/maintainers script that will auto-build and upload the image to Digital Ocean. I got the iteration cycle down to a few minutes. I also opened another PR that reduces the size of the image by about ~230MB by changing the cloud-init->cloud-utils packages. You can find it in here:  https://github.com/colemickens/nixpkgs/blob/digitalocean/nixos/maintainers/scripts/digitalocean/upload-image.sh

@colemickens Perhaps I should go ahead and build a utility that can parse the digital ocean metadata and set things properly. The only thing that wouldn't work for would be resetting the root password, since (for obvious reasons) they don't expose that in the metadata, but it isn't too hard to do from the nix config anyway if you really want a root password set.

@nlewo the stuff you mentioned in the review is to help me debug the nixos image on digital ocean, and will most certainly be removed before the draft tag comes off the PR

It looks like the best approach is going to be to have a very optional module that can load bits and pieces of configuration from the config drive. Digital Ocean uses an OpenStack config drive so maybe we should just have a generic OpenStack service module? This would let us set (optionally according to the NixOS config)

root password
root SSH keys
network interface configurations
DNS resolvers
hostname
entropy seed
from the Digital Ocean metadata

Further, we could do as the Amazon AMI image does and allow loading of a NixOS module from the user data, so users of the NixOS image could quickly spin up a custom NixOS system directly from a cloud console.
The goal with this is not to enforce compliance with the host provider's metadata, but to make starting with NixOS in a Digital Ocean droplet as painless as possible, while also not interfering with the operation of e.g. NixOps or other deployment tools.

Note that you can just directly curl the digitalocean metadata API for public keys and userdata. No need for cloud-init and openstack
https://developers.digitalocean.com/documentation/metadata/
You could put this in a systemd unit that starts up at boot:
curl http://<IP_ADDRESS>/metadata/v1/public-keys > /root/.ssh/authorised_keys

or:
curl http://<IP_ADDRESS>/metadata/v1/user-data > /etc/nixos/configuration.nix
nixos-rebuild switch

@arianvp I am working on something similar to this. The issue is that we cannot depend on networking being up when we start to configure the system.
Fortunately, there is a config drive available in a standard location, with the same JSON metadata available. I'm working on making sure the instance can configure its networking etc from this.

Why can't we depend on the network being up?
Because networkd / networking isn't configured yet?

Interesting. Thank you! It wasn't clear from the Digital Ocean documentation that we could depend on DHCP being enabled and configure networking that way. Since it appears that we can. I'll go with your suggestion as soon as I get time to hack on it again.

I was able to successfully boot an image, set up ssh, and hostname, with this config:
https://github.com/arianvp/nixos-stuff/blob/master/modules/digitalocean/config.nix

@arianvp I'm certainly not going to complain if someone else does work. :)
That said, my plan this week is to take the config you wrote and wrap the systemd services in options, so a user can turn them off in an updated system config, and add something similar to the Amazon/GCE setup where a user can put a NixOS configuration module in the user data and have the machine rebuild itself to that config on startup. I'd also like to make sure the default config is present on the system so that the user can use /etc/nixos/configuration.nix to configure the system without having to manually replicate everything the image does for Digital Ocean compatibility.

Yeh we should probably disable the hostname fetching when someone sets the hostname in the NixOS config .

@arianvp I'm testing an image now and then I'll push, then I have to go to $DAYJOB. Some things I'd like to do before I take off the draft label.

[ ] Duplicate the support from Amazon/GCE images for putting a NixOS config in the user data.
[ ] MIME-decode the vendor data and run the RNG initialization script therein.

@arianvp (In the latest push I did make systemd set the hostname from metadata only if it is not set in the NixOS config)

A bit of hunting reveals that cloud-utils is pulled in by nixos/modules/system/boot/grow-partition.nix, via the option boot.growPartition. That seemingly innocuous option pulls in cloud-utils, but just for the growpart utility, which in turn pulls in qemu, which pulls in GTK3. Which means we really need #58469 to de-bloat the image.

I'm hoping the bloat will be fixed separately when #58471 is merged, so I'm going to make this into a real PR now.
@arianvp @colemickens do either of you want to be in the maintainers list for this image? Or should I leave it as just me?

You can add me to the maintainers list. I'll be actively using this module do I don't mind maintaining it. Good job on the size hunting.

@arianvp I wasn't able to find you in https://github.com/NixOS/nixpkgs/blob/master/maintainers/maintainer-list.nix. Am I searching the wrong handle perhaps? I was grepping for 'arianvp'.

@eamsden I don't maintain any packages so far, so I'm not in that list yet =)
You can add this entry if you want to:
"arianvp" = {
    email =<EMAIL_ADDRESS>    name = "Arian van Putten";
    github = "arianvp";
};

A few notes from trying this out.

a switch fails because /dev/sda doesn't exist, root appears to be /dev/vda instead
digitalocean-entropy-seed service seems to fail due to munpack tempdesc.txt: File exists

Besides these minor issues it seems to be working pretty well though!

@arcnmx would you want to make a PR based on this PR with your suggested changes? I think this will then be ready to merge

@arianvp sorry was away for a bit but can do!

Closing in favor of #66978


utorrent not downloading because .incomplete folder was not created during task

By the ENV used by utorrent task for variable dir_active: "/data/.incomplete", while the ./incomplete folder was not created by the utorrent task.
Environment

Ansible-NAS revision (git rev-parse --short HEAD): 85203e2
Ansible version (paste the entire output of ansible --version on the machine you run the playbook from): 2.9.16
Ansible-NAS operating system (cat /etc/lsb-release on the Ansible-NAS box) - If this is anything other than Ubuntu 18.04 help will be limited: Ubuntu 18.04
Ansible-NAS kernel (uname -a on the Ansible-NAS box): Linux ansible-nas 5.4.0-60-generic
Ansible-NAS Python version (python --version on the Ansible-NAS box): 2.7.17
Ansible-NAS Docker version (docker --version on the Ansible-NAS box): Docker version 20.10.2, build 2291f61
Are you running the playbook from a remote box or the Ansible-NAS box itself?  localhost
Ansible-NAS filesystems (df -hT on the Ansible-NAS box):fuseblk
Mounted filesystems (mount on the Ansible-NAS box)

Expected behavior
What should happen?
utorrent application should be downloading files
Actual behavior
What actually happens?
torrent file is successfully added but there is no downloaded block get written to the disk.
Steps to reproduce
What does someone need to do to reproduce this?
Using default utorrent build by ansible-nas

This is something for you to set in uTorrent Preferences/Directories/Put new downloads in:

This is something for you to set in uTorrent Preferences/Directories/Put new downloads in:

This is something for you to set in uTorrent Preferences/Directories/Put new downloads in:

Yes, I know but the default ansible build doesn't cover it and leave the utorrent halt on download speed. So I created a PR to address this issue.

This is something for you to set in uTorrent Preferences/Directories/Put new downloads in:

Yes, I know but the default ansible build doesn't cover it and leave the utorrent halt on download speed. So I created a PR to address this issue.


Add logging

Is your feature request related to a problem? Please describe.
nvd_cve crate shows some logs regarding the fetched feeds but flawz do not use any logging.
Describe the solution you'd like
We can initialize logging via crates env_logger or tracing crates and log the following information at startup:

Database location (debug)
Fetched feeds (info)
Database URL
And so on.

Describe alternatives you've considered
None.
Additional context
Just for context, nvd_cve logs the feed info as follows:

In my case I'm encountering errors, but only for the 2020 and 2021 feeds:
❯ flawz --feeds 2020 --force-update
[Feed: 2020] Fetching feed (5.58 MB)              [-----------------------------]   0%
Error: CacheError(HttpError(IOError))
[Feed: 2020] Fetching feed (5.58 MB)              [=======----------------------]  25%

I'd certainly like to have some more information so I can figure out how to fix it.

Those are coming from nvd_cve and we should probably add logging to that crate too.


Bodyguard as a service

https://github.com/napolux/1000ideas/tree/master/ideas/bodyguard_as_a_service
I really like this idea, I think it can take off

It can @rstormsf. The problems are really outlined. Nothing hard to solve, BTW. Just need a bunch of money 💰  for starting it up

Also like this idea, think it would be a good first step to talk to a traditional company which offers such a service now 'offline'.

@mniederm the problem is that the service should be like Uber. Can you name a company that can cover an area (i.e. NYC, or smaller cities, like S. Francisco) with a team of bodyguards?


Highlight .gitattributes file should be committed

I added clarification in the documentation about the need to commit .gitattributes file while using Linguist locally.

I found it very unintuitive that my changes to '.gitattributes' weren't picked up. And then this line is very important to pick out of the documentation.


Support variable FOV for metadata

The FOV for RGB was changed for a couple weeks in June 2017 and will do so again around June 15 2018. @NewcombMaria described this as calibration.
We need to support FOV that differs from the static metadata stored in Clowder so when the scanner box is raised higher we get correct footprint of the geotiff.
Completion criteria:

[ ] Understand problem, determine how we should handle this (either in metadata pipeline or in the extractor/science package). Review with team.
[ ] Confirm that it works as expected on the data from this time period (need to get from Maria)
[ ] Implement (possible terrautils/science package) and deploy

Follow-up and minor clarification:  the FOV was increased within one script that was run as part of a field campaign specifically focused on canopy temp, to cover more field area in less time (reduce the change in canopy and ambient air temp from start to end of scan).  FLIR was the primary camera of interest for canopy temp data.  We increased FOV by raising the camera box higher above the plant targets, accepting that resolution would be decreased.

@max-zilla nice explanation and image.  Your first option seems perfect, the metadata including both 'height above canopy' (or 'height above average canopy') and also the FOV formula to get a single estimated FOV for the whole field for your algorithm.  That allows the possibility of a future data-user  incorporating actual height data for each plot (heights differ among plots) to calculate actual FOV.

@NewcombMaria will need help from someone at LemnaTec to add the height above gantry field to metadata. Need this anyway the moving of the sensors. @TinoDornbusch  may know where FOV calculations originated.


Appstudio update test-component-pac-nvha

Pipelines as Code configuration proposal
To start the PipelineRun, add a new comment with content /ok-to-test
For more detailed information about running a PipelineRun, please refer to Pipelines as Code documentation Running the PipelineRun
To customize the proposed PipelineRuns after merge, please refer to Build Pipeline customization

Pipelines as Code CI/test-component-pac-nvha-on-pull-request has successfully validated your commit.

StatusDurationName

✅ Succeeded
7 seconds
init

✅ Succeeded
19 seconds
clone-repository

✅ Succeeded
58 seconds
build-container

✅ Succeeded
20 seconds
inspect-image

✅ Succeeded
20 seconds
deprecated-base-image-check

✅ Succeeded
4 minutes
clair-scan

✅ Succeeded
43 seconds
clamav-scan

✅ Succeeded
16 seconds
sbom-json-check

✅ Succeeded
9 seconds
label-check

✅ Succeeded
6 seconds
show-summary

✅ Succeeded
6 seconds
show-sbom

Pipelines as Code CI/test-component-pac-nvha-on-pull-request has successfully validated your commit.

StatusDurationName

✅ Succeeded
7 seconds
init

✅ Succeeded
20 seconds
clone-repository

✅ Succeeded
39 seconds
build-container

✅ Succeeded
14 seconds
inspect-image

✅ Succeeded
15 seconds
deprecated-base-image-check

✅ Succeeded
31 seconds
clamav-scan

✅ Succeeded
8 seconds
clair-scan

✅ Succeeded
9 seconds
sbom-json-check

✅ Succeeded
13 seconds
label-check

✅ Succeeded
9 seconds
show-summary

✅ Succeeded
7 seconds
show-sbom


idea: plugins?

I want to write a package to dedupe CSS; all of it. Problem is: we can't access the whole bundle because we stream it out. Should we perhaps introduce a plugin system of the sorts and have a labeled pipeline thing like browserify does? Perhaps only allow access to the final output stream?
cc/ @ahdinosaur @hughsk thoughts on how we can apply transformations to all of the CSS? Thanks!

This was brought up by https://github.com/datproject/datfolder/pull/381, which shows we need to dedupe - best would be to operate on all of the CSS ghmm

the simplest option feels like a "global plugin": a function to create a transform stream that is piped the final output stream, but happy with whatever you think is the best way to support your use case. :cherry_blossom:

Yeah, think so too - tho in on the other hand Browserify is super mature
and their plugin design is well thought out; perhaps we should make the
leap and copy it? idk
On Sat, Jan 14, 2017 at 5:11 AM Mikey<EMAIL_ADDRESS>wrote:

the simplest option feels like a "global plugin": a function to create a
transform stream that is piped the final output stream, but happy with
whatever you think is the best way to support your use case. 🌸
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/stackcss/sheetify/issues/115#issuecomment-272600358,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ACWleh421IPhbWcG2jqxu9e6ndUg_DbRks5rSEsCgaJpZM4LjfNH
.


Organize code better

Especially DockerCommands, maybe split into multiple classes/packages

Broke up DockerCommands into multiple new files, but still not done with code organization


[Bug]: 'There was an unexpected error' message is displayed when an unregistered user clicks on Reset Password

Is there an existing issue for this?

[X] I have searched the existing issues

Current Behavior
https://loom.com/share/a68f663bd01c409392fc585472a6c7a8
Steps To Reproduce
1. Go to Login page
2. Enter email id which is not registered > Click on 'Forgot Password'
3. Enter the same email id and click on Reset.

Environment
Release
Version
Cloud

Also observed when a user make multiple request for 'Reset password' and then clicks on an old reset password link.

@shwetha-ramesh this looks solved. Closing this. Feel free to reopen if this still exists.


How do I open it after installing it?

How do I open it after installing it?

كيف اقوم بفتحه بعد تثبيته

I had the same problem but found it    sh EasY_HaCK      but i ran into another problem figlet 26 not found


Add a blog / feed / news update section

To add/reference: https://arxiv.org/abs/1605.04044

Blog now has initial content! https://www.pluggabletransports.info/blog/


2D visualisation for Cellular Automata

A user has requested a 2D visualisation for CAs, rather than the current 3D visualisation.
This could be:

The default visualisation but using an orthographic projection
Generation of bitmaps corresponding to the state of the system in each iteration

I.e. 1 pixel per 2D CA agent, from x, y, state/type.

Also required for flood modelling

A hacky version of this has been done for flood modelling but an implementation for a continuous surface height map is still required.


Include TypeScript files in src to improve debugging from Backstage instance

Hey, I just made a Pull Request!
This is PR is a follow up to discussion in Discord and related to https://github.com/backstage/backstage/issues/2785.
The sourcemaps reference TypeScript files that are not included in distribution bundles. The result is that debugging from a Backstage instance is difficult because the debugger can't show the original code. In this PR, I changed every distributed packages to include src directory in package.json#files. This should cause src to be included with the bundles.
:heavy_check_mark: Checklist

[x] A changeset describing the change and affected packages. (more info)
[ ] Added or updated documentation
[ ] Tests for new functionality and regression tests for bug fixes
[ ] Screenshots attached (for UI changes)
[x] All your commits have a Signed-off-by line in the message. (more info)

Cool! Two things:

This should also modify the create-app and cli create-plugin templates right? So that future creations also get this.

As you do that, maybe break out a separate changeset for the create-app package, so that you can give some brief instructions there for how people can make the same addition to their local packages, in case they are interested in that. I guess it kind of depends right?

@freben
create-app - instance apps are usually not distributed. The package.json template doesn't currently have files entry - which I think default to including everything.
[x] cli create-plugin templates - updated and created a separate changeset for it.

Ahh you are right, the template actually doesn't make any "library" packages of course.

Is that going to cause isLocal to be true here and result in a different behavior when used as a package? https://github.com/backstage/backstage/blob/master/packages/cli/bin/backstage-cli#L22
const isLocal = require('fs').existsSync(path.resolve(__dirname, '../src'));

Is that going to cause isLocal to be true here and result in a different behavior when used as a package? https://github.com/backstage/backstage/blob/master/packages/cli/bin/backstage-cli#L22
const isLocal = require('fs').existsSync(path.resolve(__dirname, '../src'));

@iciclespider Yes, I think so. I could remove dist from backstage-cli package or we could find another way to detect this.

You forgot the DCO check.

@Rugvip should I close this PR and try to figure out what's wrong with webpack?

@taras yeah I think so, as this isn't gonna be the fix we want since it bundles the source twice.


no log links in spark history server(spark on k8s)

Seen from spark history server of spark on yarn,it gives driver and executors log links,and each log has four types: gc.log,spark.log,stderr,stdout.But there is no link about log from spark history server(spark on k8s)
Although i am unfamiliar with the spark history server,but it's a strange phenomenon.
@erikerlandson any suggestions?

Are you running a spark history server deployment? What does your spec look like?

@foxish i am using ./sbin/start-history-server.sh of spark-2.1.0-k8s-0.1.0-SNAPSHOT-bin-2.2.0.

That wouldn't work, unless that's running within the cluster. We need to write a deployment that launches the SHS within the cluster. Tracked in https://github.com/apache-spark-on-k8s/spark/issues/387. Closing as dupe.


[BUILD] Upgrade netty-all to 4.1.42 and fix vulnerability.

What changes were proposed in this pull request?
The current code uses io.netty:netty-all:jar:4.1.17 and it will cause a security vulnerabilities. We could get some security info from https://www.tenable.com/cve/CVE-2019-16869.
This reference remind to upgrate the version of netty-all to 4.1.42 or later.
How was this patch tested?
No UT.

LGTM

Thanks! Merged to master and branch-0.6


WTD: Projected volumes

Update projected volume task:

Rename file
Build out steps
Create separate yaml file for pod configuration
Add new page to the sidenav

Add projected volume type to volumes concept page

See https://github.com/kubernetes/kubernetes.github.io/pull/3771 for prior conversation and reviews.

This change is

@jpeeler, @chenopis, my git setup was messy for https://github.com/kubernetes/kubernetes.github.io/pull/3771, so I closed it, set myself up better, and opened this PR with the relevant changes. Apologies for stretching this review across 2 PRs.
Please let me know if there's anything else to do. Would love to merge this and move on to other issues.

@chenopis, I think this only needs your doc review (and it's the same as the previous PR).

@jseldess Looks great. Thanks!

@mburke5678 ready for your integration efforts


Custom context; Evaluate instructions

Coverage increased (+0.2%) to 86.232% when pulling 2231f9fad78666b53690ce9315345cb00864374b on custom_context into c783c3bdf1e147ed1dcbecf4054f6da9a50fb89d on master.


Query nested values in frontmatter?

I'm playing with the idea of logging multiple moods in a single day, each with a timestamp. Is it possible to turn this into a graph to show mood progression in a single day? Here's what my frontmatter for this looks like:

See https://github.com/pyrochlore/obsidian-tracker/issues/235


Code Clean-Up. (Can you test this I couldn't yet)

Type of Commit (Fix or New Feature):
Code Cleaning
Changes (Please do a list and describe):

Reduced the config.yml, added "message:" and the %version% variable.
Cleaned up code, removed around 200 lines from Main.java because I don't think you have to check the server version, the plugin is based on player version.

Hi, can you add for get the server version please ? Because it is required.

I will accept your pull request and modify somes things of you have forgotten.

The plugin will be updated on SpigotMC when a new Minecraft snapshot/version will be released.


cannot find package "github.com/brocaar/lora-app-server/internal/migrations"

Hi.
I have following problem when I use go build main.go

cmd\lora-app-server\cmd\root_run.go:39:2: cannot find package "github.com/brocaar/lora-app-server/internal/migrations" in any of:
C:\Go\src\vendor\github.com\brocaar\lora-app-server\internal\migrations (vendor tree)
C:\Go\src\github.com\brocaar\lora-app-server\internal\migrations (from $GOROOT)
C:\Users\MRT\go\src\github.com\brocaar\lora-app-server\internal\migrations (from $GOPATH)
cmd\lora-app-server\cmd\root_run.go:41:2: cannot find package "github.com/brocaar/lora-app-server/internal/static" in any of:
C:\Go\src\vendor\github.com\brocaar\lora-app-server\internal\static (vendor tree)
C:\Go\src\github.com\brocaar\lora-app-server\internal\static (from $GOROOT)
C:\Users\MRT\go\src\github.com\brocaar\lora-app-server\internal\static (from $GOPATH)

when I change imports to

"github.com\brocaar\lora-app-server\migrations"
"github.com\brocaar\lora-app-server\static"

I get following error:

cmd\lora-app-server\cmd\root_run.go:39:2: no Go files in C:\Go\src\github.com\brocaar\lora-app-server\migrations
cmd\lora-app-server\cmd\root_run.go:41:2: no Go files in C:\Go\src\github.com\brocaar\lora-app-server\static

Should I commend all line that use migrations and static? Will I have problem in the future,If I commend them?

Please see https://www.loraserver.io/lora-app-server/community/source/ and https://forum.loraserver.io/t/compiling-the-lora-app-server-source-code/643.


Problem

I installed it with npm, allowed port 8080 and installed WebSocket but it doesn't work: WebSocket connection to 'ws://<IP_ADDRESS>:8080/socket.io/?EIO=3&transport=websocket' failed: Error in connection establishment: net::ERR_CONNECTION_REFUSED check it here: <IP_ADDRESS>/public

Have you ran npm start or started up the server? Or maybe npm ran into some error? It seems like your port 8080 is closed, i.e. nothing is  listening on that port. By the way, the server has actually two ports opened, one for http and one for the socket server, so they had to be opened using two different ports. I saw that you actually changed them to the same port number (I'm not sure if that works).
Maybe if that still doesn't work, maybe you could try changing the IP address to <IP_ADDRESS> to bind to all available interfaces, see if that resolves your issue.
Excited to see that you are interested in this project!

npm ERR<EMAIL_ADDRESS>start: node server.js
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>start script 'node server.js'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the blockly-io package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     node server.js
npm ERR! You can get information on how to open an issue for this project with:
npm ERR!     npm bugs blockly-io
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!     npm owner ls blockly-io
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR!     /var/www/html/npm-debug.log
root@game-io:/var/www/html#
al is correct i dont know what to do

do you have the log file located at /var/www/html/npm-debug.log


Implement hot code reload for Apollo GraphQL subscriptions

Done in commit:
https://github.com/sysgears/apollo-fullstack-starter-kit/commit/926d0b7ca8d709fe8a49ab9268df82144bd53531


"Unable to find starter template"

Hi,
Stuck on a fairly basic issue with the tab-based app, in that trying to generate from the Github link in the book errors out with "Unable to find starter template for https://github.com/chrisgriffith/Ionic2Parks", despite it clearly being there. I can obviously download the master from this repository, so it's not the end of the world, but could you please tell me what it is I'm doing wrong? I know Ionic is updating left, right and centre, so I don't blame the book for being outdated if that's the issue (it's only been out 2 months and I've noticed some changes!).
Thanks :)

Nevermind, I hadn't had my coffee and missed the readme. Derp.


Add IHEPC to internal datasets

🚀 Feature Request
We want to add IHEPC (Individual household electric power consumption) to the internal datasets. This dataset consists of almost 4 years of history with 1 minute frequency from a household in Sceaux.
Proposal

Add IHEPC to datasets_dict with min frequency:

datasets_dict = {
    "IHEPC_1T":  {
        "get_dataset_function": get_ihepc_dataset,
        "freq": "T",
        "parts": ("full", )
    },
}

Add get_ihepc_dataset  function for loading IHEPC dataset. We have to add dataset description and reference link to docstring:

def get_ihepc_dataset(dataset_path: Path) -> None:

Dataset has missing values, we won't do anything with them.
All series have the same length.
There is no specific dataset split for train, test parts, so this dataset has only full part.

Test cases

Check IHEPC datasets statistics (number of segments, min/max dates).

Additional context
See https://github.com/etna-team/etna/issues/84 as an example.

Closed by https://github.com/etna-team/etna/pull/150.


imap messes with  leader

I'm liking nvim!  However, when trying to use it I noticed right away that you have a inoremap using the .  I have my leader as  so it is constantly trying to execute searches etc.  It would be nice to have a way to disable the automatic leader assignment or maybe make it so you could at least disable the imaps.
Thanks!!

Agreed. this is kind of a big deal for people that use space for a leader. (I am one as well)

Okay, I've added an option to disable it on interactive mode (if you disable it on normal mode, it pretty much breaks the program).


⚠ Bofrost.de has degraded performance

In 8d4595b, Bofrost.de (https://www.bofrost.de) experienced degraded performance:

HTTP code: 200
Response time: 1515 ms

Resolved: Bofrost.de performance has improved in 162c4c4 after 17 minutes.


Fix completion for composer

the completion stops working after an update composer

Hi! The composer plugin was just recently updated with this very fix. Please upgrade and close this PR.

After updated, error fixed.
Thanks


iterate arguments in bundle config YAML

Inspired by ansible's loops: https://docs.ansible.com/ansible/latest/user_guide/playbooks_loops.html
We should do a similar thing for our argument definition.

Using Jinja template is too complicated, so we don't use that. We just directly control the arguments.


add the description on running coverage

Add the description on running coverage in hacking.md, so it would be easier for other new contributors to check the latest coverage report and help improve the coverage.

Codecov Report

Merging #28 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master      #28   +/-   ##
=======================================
  Coverage   94.48%   94.48%
=======================================
  Files          30       30
  Lines        1649     1649
  Branches      159      159
=======================================
  Hits         1558     1558
  Misses         75       75
  Partials       16       16

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 bb67660...b29f75a. Read the comment docs.

I'm not sure what happened with git here, it is trying to add some changes that already got added it looks like. Weird, I'm gonna force push tot this branch then merge it to fix the git stuff. Your changes look great, Thanks!

Alright, I got pwnd by git too... so now its not letting me merge this, Added in a13ee2b7331734ede616a916eb6e76356f614745


Add a link to download MinGIT on Git downloads.

https://github.com/git-for-windows/git/releases
Git for Windows now also distributes MinGit where they reduce some of the bloatware Git has
It would be nice to see MinGit mentioned here https://git-scm.com/download/win
An article on MinGIT
Please ONLY submit issues related to the git-scm Website (e.g. website-specific content, JS, or CSS that doesn't seem to be doing its job correctly) !
Make sure this is NOT an issue about :
 - the Git documentation (a.k.a. man/help pages, i.e. anything with a URL starting with https://git-scm.com/docs), which should be raised with the community at https://git-scm.com/community,
 - the contents of the Pro Git book (i.e. anything with a URL starting with https://git-scm.com/book or its PDF versions), which should be raised at https://github.com/progit/progit2/issues.
 - Git itself, which should also be raised with the community at https://git-scm.com/community, or
 - Git for Windows, which should be raised at https://github.com/git-for-windows/git.

hey @pratikpc
I'm not sure we should add MinGit:

MinGit: Git for Windows applications
The idea is to provide a version of Git for Windows that does not provide an interactive user interface (...)

so it doesn't seem to be very useful or user-friendly at least for most Windows users
furthermore:

Another big new feature since Git for Windows 2.8 is MinGit: with every new Git for Windows version, we now offer .zip archives of “Git for Windows applications”.

so it seems to come included? Not sure if your suggestion is to have another link to download just MinGit or just to add a quick sentence letting users know about MinGit?

so it seems to come included?

Sadly, no. Windows isn't that generous yet. It's an article from the Azure Devops team so I presume at one point they did provide Mingit pre-installed with one of the Azure CLI binaries. I actually put the link there because there is another mingit project that does something completely different and I did not want to cause major confusion.

so it doesn't seem to be very useful or user-friendly at least for most Windows users

That is indeed true. I think a lot of Windows users install Git not just for Git but also for Git Bash and other utilities. But I, on the other hand really wasn't very interested in the other utilities. For example, I prefer Notepad for interactive rebase over the default which is vi I think and didn't want Gitk (I prefer GitHub Desktop and GitKraken more).
Mingit does ship with a lot of Linux utilities like wc, awk, cat etc.

Not sure if your suggestion is to have another link to download just MinGit or just to add a quick sentence letting users know about MinGit?

I was thinking about a download link but yeah, a quick sentence would be nice too! Something like You can use Mingit if you want a smaller binary and don't want Git-Bash etc..

sorry, totally missed your reply. not sure what's the current status of MinGit, but if you see it's still a good solution, feel free to create a MR @pratikpc :)

I'm glad I've found MinGit. Even PortableGit requires some strange actions like post-install.bat, etc. While MinGit doesn't (well, it looks so). All I need is to use git in VS Code and run basic commands from command line, like git clone, etc. It would be great if info about MinGit was more visible.

👋 from the Git for Windows maintainer.
MinGit is indeed not intended for end users, and advertising it to end users in spite of this would only have the effect of many users asking for more features, essentially asking for MinGit to become PortableGit. Therefore, going through with this idea would increase the maintenance burden, which I would prefer people to be less enthusiastic about, honestly.

@dscho makes sense

I'll close this ticket fore aforementioned reasons.


turn down trace for non-local

Signed-off-by: Erin Schnabel<EMAIL_ADDRESS>

This change is

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

Comments from Reviewable


fixing windows plugin directory lookup

just some small fixes to support windows. it should not affect any other OS.

Howdy @ReneVolution! Thanks for fixing this up, we definitely want to be using the os.path module. If you don't mind rebasing since the method has moved, I'd be happy to ship this!

It looks like this PR got messed up in git somehow, so I'm going to recreate the changes in another PR. Thanks for getting this started, sorry for the really long delay.
See #59 for more info


Verticapy 1.0.1 - Unit test failure for three regression metrics (Aic_score, Bic_score, R2_score)

Discussed in https://github.com/vertica/VerticaPy/discussions/1207

Originally posted by okankcb April 22, 2024
Hello,
While conducting unit tests with Titanic data on Verticapy 1.0.1, I noticed a discrepancy between the AIC, BIC, and R2 scores calculated by Verticapy and those calculated using scikit-learn.
Here are the steps to reproduce the issue:
1.Use Titanic data from Verticapy:
from verticapy.datasets import load_titanic
titanic_recette = load_titanic(schema=schema, name='titanic_recette')
titanic_recette.eval("col_1", "1")
titanic_recette.cumsum(column="col_1", name="col_id")
titanic_recette.drop(columns=["col_1"])
df_titanic = titanic_recette.to_pandas()_

2.Train a linear regression model with Verticapy and Python:
from verticapy.machine_learning.vertica import LinearRegression
drop(schema + ".lr_titanic_recette22", method="model")
model = LinearRegression(name=schema + ".lr_titanic_recette22")
model.fit(titanic_recette, ["fare", "age"], "survived")
model.predict(titanic_recette, ["fare", "age"], "survived_pred")

import sklearn.linear_model as lr
df_titanic_copy = df_titanic.copy()
df_titanic_copy = df_titanic_copy.loc[df_titanic_copy["age"].notna()]
df_titanic_copy = df_titanic_copy.loc[df_titanic_copy["fare"].notna()]
reg = lr.LinearRegression().fit(df_titanic_copy[["fare", "age"]], df_titanic_copy["survived"])
df_titanic_copy["survived_pred"] = reg.predict(df_titanic_copy[["fare", "age"]])
df_titanic_copy["survived_pred"] = df_titanic_copy["survived_pred"].round(6)
df_titanic_copy["survived"] = df_titanic_copy["survived"].round(6)

3. Calculate AIC, BIC, and R2 scores with Verticapy:
from verticapy.machine_learning.metrics import aic_score, bic_score
vpy_aic = aic_score("survived", "survived_pred", titanic_recette, k=2)
vpy_bic = bic_score("survived", "survived_pred", titanic_recette, k=2)
vpy_R2score = np.round(r2_score("survived", "survived_pred", titanic_recette), 10)

4. Calculate AIC, BIC, and R2 scores with Scikit-learn:
import sklearn as sk
n = len(df_titanic_copy)
k = 3  # 2 variables + intercept
n * np.log(sk.metrics.mean_squared_error(df_titanic_copy["survived"], df_titanic_copy["survived_pred"]))
py_aic = n * np.log(sk.metrics.mean_squared_error(df_titanic_copy["survived"], df_titanic_copy["survived_pred"])) + k * np.log(n)
py_bic = n * np.log(sk.metrics.mean_squared_error(df_titanic_copy["survived"], df_titanic_copy["survived_pred"])) + 2 * k

Results obtained:
Verticapy AIC Score: -1863.62512466986
Verticapy BIC Score: -1848.30522239793
Verticapy R2 Score: 0.0813242788
Scikit-learn AIC Score: -1488.3492662576539
Scikit-learn BIC Score: -1503.0605080304076
Scikit-learn R2 Score: 0.0783248919
The AIC, BIC, and R2 scores obtained with Verticapy are significantly different from those calculated using scikit-learn.
Verticapy Test 0.12: Scores are identical between Verticapy and scikit-learn.
Please examine this issue and keep me informed of any updates or solutions that may be provided.
Best regards,
Okan.K

The problem is due to missing values. It seems, the new version is sensitive to missing values. It will be fixed in the next PR.


ginkgo-ext: Fix data-race in Writer

ginkgoext.Writer is used as the output buffer behind
ginkgoext.GinkgoPrint. GinkgoPrint can be called from multiple
go routines concurrently. For example, kubectl.validateCilium
spawns cilium{Status,Controllers,Health}PreFlightCheck in three
separate go routines, all of which call ginkgoext.By, which calls
ginkgoext.GinkgoPrint which calls ginkgoext.Writer.Write.
This hopefully fixes a spurious panic which observed in
https://jenkins.cilium.io/job/Cilium-PR-K8s-newest-kernel-4.9/719,
as the "slice bounds out of range" panic seems to be a common
failure when bytes.Buffer.Write is called unsynchronized from
different go routines.
09:55:43 STEP: Performing Cilium controllers preflight check
panic: runtime error: slice bounds out of range [532609:532604]

goroutine 871 [running]:
bytes.(*Buffer).Write(0x2f09ca0, 0xc0006f4000, 0x2e, 0x4000, 0x2e, 0x0, 0x0)
	/usr/local/go/src/bytes/buffer.go:174 +0x101
github.com/cilium/cilium/test/ginkgo-ext.(*Writer).Write(0xc000373b00, 0xc0006f4000, 0x2e, 0x4000, 0x2eca680, 0xc000210c58, 0x40be5b)
	/home/jenkins/workspace/Cilium-PR-K8s-newest-kernel-4.9/k8s-1.18-gopath/src/github.com/cilium/cilium/test/ginkgo-ext/writer.go:46 +0xb2
fmt.Fprintln(0x1f3aaa0, 0xc000373b00, 0xc000210ca8, 0x1, 0x1, 0xc000221b90, 0x2d, 0x2d)
	/usr/local/go/src/fmt/print.go:265 +0x8b
github.com/cilium/cilium/test/ginkgo-ext.GinkgoPrint(0xc000221b90, 0x2d, 0x0, 0x0, 0x0)
	/home/jenkins/workspace/Cilium-PR-K8s-newest-kernel-4.9/k8s-1.18-gopath/src/github.com/cilium/cilium/test/ginkgo-ext/scopes.go:178 +0xa7
github.com/cilium/cilium/test/ginkgo-ext.By(0x1c9e224, 0x1e, 0x0, 0x0, 0x0)
	/home/jenkins/workspace/Cilium-PR-K8s-newest-kernel-4.9/k8s-1.18-gopath/src/github.com/cilium/cilium/test/ginkgo-ext/scopes.go:170 +0x12f
github.com/cilium/cilium/test/helpers.(*Kubectl).ciliumHealthPreFlightCheck(0xc00099fa40, 0x1f392a0, 0xc000652120)
	/home/jenkins/workspace/Cilium-PR-K8s-newest-kernel-4.9/k8s-1.18-gopath/src/github.com/cilium/cilium/test/helpers/kubectl.go:3496 +0x7a
github.com/cilium/cilium/test/helpers.(*Kubectl).validateCilium.func3(0xc0000645a0, 0xc000206470)
	/home/jenkins/workspace/Cilium-PR-K8s-newest-kernel-4.9/k8s-1.18-gopath/src/github.com/cilium/cilium/test/helpers/kubectl.go:3386 +0x2e
golang.org/x/sync/errgroup.(*Group).Go.func1(0xc00074cd80, 0xc000796bc0)
	/home/jenkins/workspace/Cilium-PR-K8s-newest-kernel-4.9/k8s-1.18-gopath/src/github.com/cilium/cilium/vendor/golang.org/x/sync/errgroup/errgroup.go:57 +0x59
created by golang.org/x/sync/errgroup.(*Group).Go
	/home/jenkins/workspace/Cilium-PR-K8s-newest-kernel-4.9/k8s-1.18-gopath/src/github.com/cilium/cilium/vendor/golang.org/x/sync/errgroup/errgroup.go:54 +0x66

Ginkgo ran 1 suite in 3m21.079336902s
Test Suite Failed

Signed-off-by: Sebastian Wicki<EMAIL_ADDRESS>

test-me-please

test-me-please

Coverage decreased (-0.02%) to 37.021% when pulling 89a5564d476fbeefb7d80fb7417a0bedfdba5475 on pr/gandro/ginkgo-writer-fix-datarace into 2ed885141ff5637cbd0bcb0272f9638330a1f7c8 on master.


My token transfer shows under "activity" but wont move to my "balance"

any help?

i tried on brave and chrome.

its here! lol sorry!
I guess it just takes some time.

All good! Nice username btw 👍


Remove tutorials (in favor of kadena-community/voting-dapp)

Some things in this monorepo complicate versioning and/or dependency management. More importantly it has no benefit for users, it's much clearer from the tutorial to have a simple and clean repo to refer to and clone, etc.

I agree with the idea that we need to lower the barrier to use this tutorial.
However, now that it's moved out of the monorepo, how do we ensure that any updates to the libs will only be merged and released once the tutorials is fixed?

We don't. The tutorial works with a certain version of some our libs. Saying that we can only release libs once our tutorial is fixed is the same as saying that we should ensure all apps of all consumers of our libs must keep working. Consumers, just like our own tutorials, upgrade at their own pace. Eventually tooling is just a means to an end, let's overcomplicate things.

With the libraries in an unstable state at this time, it would not be beneficial to have the tutorials not be up-to-date with them. I agree with your statement, if we had stable versions of all the libraries, but that is not the case now.

When we move this to the other repo let's pin the versions of the @kadena packages to a single version.


Unexpected identifier when adding keymap into config

When i add the keymap object into the config object i get an error from HyperTerm:

HyperTerm Version: Version 0.8.3 (<IP_ADDRESS>3)
HyperTerm config:
module.exports = {
  config: {
    // default font size in pixels for all tabs
    fontSize: 12,

    // font family with optional fallbacks
    fontFamily: 'Monaco, Menlo, "DejaVu Sans Mono", "Lucida Console", monospace',

    // terminal cursor background color and opacity (hex, rgb, hsl, hsv, hwb or cmyk)
    cursorColor: 'rgba(248,28,229,0.8)',

    // `BEAM` for |, `UNDERLINE` for _, `BLOCK` for █
    cursorShape: 'BLOCK',

    // color of the text
    foregroundColor: '#fff',

    // terminal background color
    backgroundColor: '#000',

    // border color (window, tabs)
    borderColor: '#333',

    // custom css to embed in the main window
    css: '',

    // custom css to embed in the terminal window
    termCSS: '',

    // custom padding (css format, i.e.: `top right bottom left`)
    padding: '12px 14px',

    // the full list. if you're going to provide the full color palette,
    // including the 6 x 6 color cubes and the grayscale map, just provide
    // an array here instead of a color map object
    colors: {
      black: '#000000',
      red: '#ff0000',
      green: '#33ff00',
      yellow: '#ffff00',
      blue: '#0066ff',
      magenta: '#cc00ff',
      cyan: '#00ffff',
      white: '#d0d0d0',
      lightBlack: '#808080',
      lightRed: '#ff0000',
      lightGreen: '#33ff00',
      lightYellow: '#ffff00',
      lightBlue: '#0066ff',
      lightMagenta: '#cc00ff',
      lightCyan: '#00ffff',
      lightWhite: '#ffffff'
    },

    // the shell to run when spawning a new session (i.e. /usr/local/bin/fish)
    // if left empty, your system's login shell will be used by default
    shell: '/bin/zsh',

    // for setting shell arguments (i.e. for using interactive shellArgs: ['-i'])
    // by default ['--login'] will be used
    shellArgs: ['--login'],

    // for environment variables
    env: {},

    // set to false for no bell
    bell: 'false',

    // if true, selected text will automatically be copied to the clipboard
    copyOnSelect: false

    // URL to custom bell
    // bellSoundURL: 'http://example.com/bell.mp3',

    // for advanced config flags please refer to https://hyper.is/#cfg
    keymap: {
      // 'accelerator'    :  'Hyper command'
      'CmdOrCtrl+Alt+Left':  'prev-pane',
    }

  },

  // a list of plugins to fetch and install from npm
  // format: [@org/]project[#version]
  // examples:
  //   `hyperpower`
  //   `@company/project`
  //   `project#1.0.1`
  plugins: ["hyper-blink", "hyperterm-paste", "hyper-keymap"],

  // in development, you can create a directory under
  // `~/.hyper_plugins/local/` and include it here
  // to load it and avoid it being `npm install`ed
  localPlugins: []
};

Btw, without this plugin Hyperterm at all makes for me no sense, so keep going, awesome work dude!

Ok, found the failure, i forgot the , before i added the keymap object u__u
But unfortunately the key's i want to config aren't working:
'CmdOrCtrl+Right': 'next-tab'
'CmdOrCtrl+Left': 'prev-tab'
'CmdOrCtrl+Alt+Right': 'next-pane'
'CmdOrCtrl+Alt+Left': 'prev-pane'

(fyi Same settings like in iTerm2)

glad, that you are worked out through syntax error

btw, for this to work, i need to land my PR in hyper

Take a look into caveats README's section https://github.com/iamstarkov/hyper-keymap#-caveats

And obviously thank you for your attention

Sorry, @michaelzoidl https://github.com/zeit/hyper/pull/925#issuecomment-278622008.
look here instead https://github.com/ppot/hyper/issues/11


Inconsistent sorting when running isort in terminal vs using vscode-isort

Consider this file which is sorted using isort --profile black {file-name} in the terminal:
import os
from typing import Optional, cast

from flask import current_app

from app.home.models import UserContent
from app.user.models import User

And this is the same file after running vscode Organize Import command.
import os
from typing import Optional, cast

from app.home.models import UserContent
from app.user.models import User
from flask import current_app

Diff:
 import os
 from typing import Optional, cast

-from flask import current_app
-
 from app.home.models import UserContent
 from app.user.models import User
+from flask import current_app

isort log in vscode:
[info] /home/amir/my_project/backend/venv/bin/python -m isort - --profile black --filename /home/amir/my_project/file-name.py
[info] [Trace - 14:55:05] Received notification 'window/logMessage'.
[info] CWD Linter: /home/amir/my_project
[info] [Trace - 14:55:05] Received response 'codeAction/resolve - (85)' in 10ms.
[info] [Trace - 14:55:05] Sending notification 'textDocument/didSave'.
[info] [Trace - 14:55:05] Received notification 'textDocument/publishDiagnostics'.
[info] [Trace - 14:55:06] Sending request 'textDocument/codeAction - (86)'.
[info] [Trace - 14:55:06] Received response 'textDocument/codeAction - (86)' in 3ms.

My theory is that isort behaves differently when the file content is piped into it vs provided as a file.
VS Code Config
    "[python]": {
        "editor.defaultFormatter": "ms-python.black-formatter",
        "editor.codeActionsOnSave": {
            "source.organizeImports": true
        },
        "editor.formatOnSave": true,
    },
    "isort.args":["--profile", "black"],

Version
OS: Ubuntu 22.04.3
Python: 3.11
isort: 5.12.0
VSCode:
Commit: f1b07bd25dfad64b0167beb15359ae573aecd2cc
Date: 2023-10-10T23:45:31.402Z
Electron: 25.8.4
ElectronBuildId: 24154031
Chromium: 114.0.5735.289
Node.js: 18.15.0
V8: <IP_ADDRESS>-electron.0
OS: Linux x64 6.2.0-36-generic snap

@amirkarimi Check if you have a configuration file like setup.cfg where the order is being set. Also, this is a issue on isort  library itself.
We recommend using ruff (see Ruff extension) for import sorting, as isort has not published a fix for the issues with running using stdin. We need to use stdin to handle cases where imports are organized on save.

If you do install Ruff, be sure to remove isort extension, and add this to your settings ("source.organizeImports.ruff": true) in place of "source.organizeImports": true.

Thanks @karthiknadig.

Check if you have a configuration file like setup.cfg where the order is being set.

The only config is in pyproject.toml which is not changing the :
[tool.isort]
profile = "black"
multi_line_output = 3

We recommend using ruff

Thanks will give it a try though we use isort and flake in our pre-commit stuff, I'd rather not change those.
I'm closing this issue since seems like nothing else can be done by the extension.

@amirkarimi Ruff is a multi-tool, it implements isort, flake8, and black formatter in rust. It is incredibly fast. So you can replace two tools with one. Ruff actually implements several other linter rules too (including but not limited to pylint, pyflakes, bandit, pycodestyle, pydocstyle, etc).


Duplicate comma with trailing_comma = "Always" in struct pattern

// src/main.rs
fn main() {
    let Foo { a, .. } = b;
}

# rustfmt.toml
edition = "2021"

unstable_features = true
trailing_comma = "Always"

Reformat with rustfmt --config-path rustfmt.toml src/main.rs
// src/main.rs
fn main() {
    let Foo { a,, .. } = b;
}

rustfmt --version: rustfmt 1.4.38-nightly (4961b10 2021-11-04)

Thanks for the report.
@ytmimi could you take a look at this one? Issue should be in/around some of the same struct-related code you were looking at not too long ago

I'd be happy to take a look! I'll let you know what I can find.

@calebcartwright I took a look at this, and the reason that we're adding the comma twice is because when we try to rewrite the struct pattern in patterns::rewrite_struct_pat, there's an assumption that a trailing comma is always needed when the tactic is not DefinitiveListTactic::Vertical.
https://github.com/rust-lang/rustfmt/blob/eee8f0419dca910187350ac38fe9694b8b7919b9/src/patterns.rs#L330-L339
In this particular case the tactic is actually DefinitiveListTactic::Horizontal so we end up appending ", " to the end of the fields_str.
would it make more sense to check if !fmt.needs_trailing_separator() instead of !tactic == DefinitiveListTactic::Horizontal to decide whether or not we append
" " or ",   "?


Path bug proposed fix

@NyxCode, It seems like there is a difference between CARGO_MANIFEST_DIR and current_dir
CARGO_MANIFEST_DIR causes example to export into ts-rs/bindings

After messing about with this a bit more, I figured out how to make #[ts(export_to = "...")] relative to TS_RS_EXPORT_DIR when they are both being used. Also managed to get rid of the __private module and TS::get_export_to function, going back to our ol'reliable TS::EXPORT_TO


Integrated tts

Add an audio control with integrated tts capability.
Utilize ttsreader.com, which allows for educational use of the API

Completed


Clarifying that hipExtLaunch timing does not include cache flush time

Providing some clarity on what is omitted from being timed by hipExtLaunch
Please double-check for correct wording

This arose from misinterpreting that timing differences were due to lower overhead, due to a combined call (instead of sandwiching the kernel launch between hipRecordEvent()),  instead of not actually timing cache flushes.

Is there a good person on the HIP team to review this item?  Maybe @AlexVlx or @emankov?

@doctorcolinsmith you probably want @bensander or @hthangirala to clarify here, since they were more involved with this particular interface.

Closing all existing pull requests that do not target the develop branch. In case this pull request is still valid, please rebase your changes against develop branch and resubmit.