Feature / Signup Referral

Description

Type of change
Please check the options that are relevant. This PR introduces

[ ] Patch: Bug fix (non-breaking change which fixes an existing issue)
[ ] Minor: New feature (non-breaking change which adds new functionality)
[ ] Major: Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update

Features Description

[ ] NA

Test Cases

[ ] NA

Documentation

Checklist:

[ ] I have added change type (major|minor|patch) in the PR
[ ] My code follows the style guidelines of this project
[ ] I have performed a self-review of my own code
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[ ] My changes generate no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] New and existing unit tests pass locally with my changes

Codecov Report
Attention: 816 lines in your changes are missing coverage. Please review.

Comparison is base (cd0d517) 11.91% compared to head (784d550) 11.75%.
Report is 32 commits behind head on feature/rewards.

Files
Patch %
Lines

x/subaccount/types/ticket.pb.go
0.84%
235 Missing :warning:

x/reward/types/reward.pb.go
0.80%
124 Missing :warning:

x/reward/types/ticket.pb.go
0.95%
104 Missing :warning:

x/subaccount/types/params.pb.go
0.00%
54 Missing :warning:

x/subaccount/types/tx.pb.go
0.00%
50 Missing :warning:

x/reward/types/reward_signup_referral.go
0.00%
34 Missing :warning:

x/subaccount/types/accsummary.go
17.64%
28 Missing :warning:

x/subaccount/types/params.go
0.00%
26 Missing :warning:

x/reward/types/reward.go
0.00%
19 Missing :warning:

x/reward/types/reward_signup.go
0.00%
19 Missing :warning:

... and 18 more

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@                 Coverage Diff                 @@
##           feature/rewards     #319      +/-   ##
===================================================
- Coverage            11.91%   11.75%   -0.16%
===================================================
  Files                  343      347       +4
  Lines                44008    44720     +712
===================================================
+ Hits                  5245     5259      +14
- Misses               38290    38979     +689
- Partials               473      482       +9

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


[@azure-tools/azure-http-specs] Add Installation Scripts to typespec repository

This is No.2 of the required steps to get the dashboards released. (Continued from https://github.com/microsoft/typespec/pull/5278)
Please review and approve the PR. Thanks

All changed packages have been documented.

:white_check_mark: @azure-tools/azure-http-specs

Show changes
@azure-tools/azure-http-specs - internal ✏

Added scripts to package.json

You can try these changes here

🛝 Playground
🌐 Website
📚 Next docs


add 'Reason' to version list

new field in the endpoint is legal_reason
UI issue to go along with https://github.com/bcgov/range-api/issues/203

@micheal-w-wells Could you please provide some examples of what legal_reason could be set to? Thanks.

AH Mandatory
Staff Mandatory
AH Minor
Initial RUP

@calebissharp

later we could add 'New AH - New RUP' or whatever we want to call that when we get there.

And those are just strings?

yes sir

@LisaMoore1 note that the 'Reason' column is a work in progress but this is where we will put context.

I like it — helps to keep track of what you’re looking at.


jest: support custom testEnvironment

This PR
Adds support for custom testEnvironment files like:
  testEnvironment:
    '<rootDir>/tests/framework/e2e/jest-environments/E2EEnvironment.ts',

I get a unit test failure on the cli version when running the tests locally. Maybe it'll pass in CI. Anyone know how to fix that?

I get a unit test failure on the cli version when running the tests locally. Maybe it'll pass in CI. Anyone know how to fix that?

I think it's because of a previous build, you can run bun build and it should be alright (the cli tests use the built dist version).

Thanks @tryggvigy! Nested ternaries aren't marvellous, but heck.

:rocket: This pull request is included in v5.37.0. See Release 5.37.0 for release notes.
Using Knip in a commercial project? Please consider becoming a sponsor.


[CORE-797] Update to go v1.18.10 to fix net-package vulnerability

Description
Fixes net-package vulnerability by updating to a patched Go version & updated go-commons package.
CORE-797
Documentation

TODOs
Please ensure all of these TODOs are completed before asking for a review.

[x] Ensure the branch is named correctly with the issue number. e.g: feature/new-vpc-endpoints-955 or bug/missing-count-param-434.
[x] Update the docs.
[x] Keep the changes backward compatible where possible.
[x] Run the pre-commit checks successfully.
[x] Run the relevant tests successfully.

Related Issues
CORE-797

Fixes #115


Update packages format and add MPI

We are using this in: https://github.com/LLNL/Umpire/pull/478

We used spack external find, and would reload the module between compilers. I think the same approach should work for mvapich2, but it depends whether the "find" capability has been implemented for it.


Use map icon instead of ▲ in session detail

Idea Description
Title says everything
Reference images and links

https://www.figma.com/file/NcSMs6dMsD88d4wOY0g3rK/DroidKaigi-2022-Conference-App?node-id=0%3A1

I'd like to try this issue.

Thanks! Assigned.


Wrong work of override headers  [REST API]

One more issue from me.
Documentation about /proxy/[port]/headers REST API method says us that

Set and override HTTP Request headers

But I have noticed here, code, for this method, is only adding headers, but never overriding them.

I believe that addHeader uses Map for storing corresponding items.
From Java basics you may know that any value will be automatically overridden by calling put, if provided key already exists.

@sskorol it's very strange. I have described some bash script for reproduce this issue.

@antonecma not sure then... @jekh should know this better

This method override headers had se by /proxy/[port]/headers REST API method before, but not override headers had setted by browser, curl, etc.
This method overrides headers, that has set by this method before, but not overrides  headers, that has been set by browser, curl, etc.
` send request to http headers echo server
{
"headers": {
"Accept": "/",
"Host": "httpbin.org",
"User-Agent": "curl/7.47.1",
"Via": "1.1 browsermobproxy"
}
}
send request to http headers echo server
{
"headers": {
"Accept": "/",
"Host": "httpbin.org",
"User-Agent": "curl/7.47.1,override",
"Via": "1.1 browsermobproxy"
}
}
send request to http headers echo server
{
"headers": {
"Accept": "/",
"Host": "httpbin.org",
"User-Agent": "curl/7.47.1,FOOBAR",
"Via": "1.1 browsermobproxy"
}
}
`
"curl/7.47.1  is still remaining in  the "User-Agent" header.

This is another documentation issue, so feel free to submit a PR for the docs, though they will be completely replaced with the new REST API.
In order to remove existing headers using the REST API, you can use a Javascript filter. There's actually a test that shows exactly how to do this, FilterTest.testCanModifyRequestHeadersWithJavascript().


resolve DNS issues

Currently the domain name registrar has Netlify (via NS1) as the authoritative source for DNS translation. The healthequitytracker.org domain is currently registered by Google Domains through MSM, and we need to restore the Google Domains DNS servers as the authoritative source so we can point them to the Cloud Run frontend services, and eventually to a GCLB.

This is done, right?

This is done, right?

Yup, the GCLB is in a separate issue so we can close this out!

Yup, the GCLB is in a separate issue so we can close this out!


No package.json generated on Apple Silicon (works on Intel)

🐛 Bug description

Following the basic tutorial for rust on wasm

Related issue filed against the tutorial https://github.com/rustwasm/book/issues/254
🤔 Expected Behavior
On M1, file hierarchy is:
~/Developer/Rust/wasm-game-of-life (master #) $ ls -l pkg
total 48
-rw-r--r--  1 andrew  staff  2170 Nov 13 15:09 README.md
-rw-r--r--  1 andrew  staff    80 Nov 15 11:39 wasm_game_of_life.d.ts
-rw-r--r--  1 andrew  staff    95 Nov 15 11:39 wasm_game_of_life.js
-rw-r--r--  1 andrew  staff   832 Nov 15 11:39 wasm_game_of_life_bg.js
-rw-r--r--  1 andrew  staff   430 Nov 15 11:39 wasm_game_of_life_bg.wasm
-rw-r--r--  1 andrew  staff   114 Nov 15 11:39 wasm_game_of_life_bg.wasm.d.ts

On Intel mac (12.1 Beta (21C5021h)), file hierarchy is:
~/Developer/Rust/wasm-game-of-life (master #) $ ls -l pkg
total 56
-rw-r--r--  1 andrew  staff  2170 Nov 15 11:12 README.md
-rw-r--r--  1 andrew  staff   360 Nov 15 11:21 package.json
-rw-r--r--  1 andrew  staff    80 Nov 15 11:21 wasm_game_of_life.d.ts
-rw-r--r--  1 andrew  staff    95 Nov 15 11:21 wasm_game_of_life.js
-rw-r--r--  1 andrew  staff   832 Nov 15 11:21 wasm_game_of_life_bg.js
-rw-r--r--  1 andrew  staff   288 Nov 15 11:21 wasm_game_of_life_bg.wasm
-rw-r--r--  1 andrew  staff   114 Nov 15 11:21 wasm_game_of_life_bg.wasm.d.ts

👟 Steps to reproduce
Follow rust tutorial https://rustwasm.github.io/book/game-of-life/hello-world.html
~/Developer/Rust/wasm-game-of-life (master #) $ wasm-pack build
[INFO]: 🎯  Checking for the Wasm target...
[INFO]: 🌀  Compiling to Wasm...
warning: function is never used: `set_panic_hook`
 --> src/utils.rs:1:8
  |
1 | pub fn set_panic_hook() {
  |        ^^^^^^^^^^^^^^
  |
  = note: `#[warn(dead_code)]` on by default

warning: `wasm-game-of-life` (lib) generated 1 warning
    Finished release [optimized] target(s) in 0.02s
[INFO]: ⬇  Installing wasm-bindgen...
Error: no prebuilt wasm-opt binaries are available for this platform: Unrecognized target!
To disable `wasm-opt`, add `wasm-opt = false` to your package metadata in your `Cargo.toml`.

🌍 Your environment
Intel: 12.1 Beta (21C5021h)
M1: 12.1 Beta (21C5031d)
Same versions installed on both intel and m1 pro machine:
wasm-pack version: 0.10.1
rustc version:  1.56.1 (59eed8a2a 2021-11-01)

I think this is the actual issue: https://github.com/rustwasm/wasm-pack/issues/913 ie the WASM was built but not optimized, and the process errored out before the package.json could be written.

@darknoon also the error message indicates that #913 is the real problem

[INFO]: ⬇  Installing wasm-bindgen...
Error: no prebuilt wasm-opt binaries are available for this platform: Unrecognized target!

Please try out v0.12.0 from one of the following ways:

https://github.com/rustwasm/wasm-pack/releases/tag/v0.12.0
https://crates.io/crates/wasm-pack/0.12.0
https://www.npmjs.com/package/wasm-pack/v/0.12.0


removing strand/substrand should remove deletions/insertion on adjacent strands

Currently, if a pair of Strands is bound and share a deletion/insertion pair, and one Strand or substrand is deleted, the remaining strand keeps its adjacent deletions/insertions. They should be removed as in the fix here: #94 (and like that issue, eventually this should be a user-specifiable option)

Alternately, we don't need to remove the deletion or insertion. But this does cause problems.
Draw two bound strands and add a deletion.

Remove one strand.

Draw a new strand where the deleted one was.

Add a deletion to the bottom strand at the same position.

This error appears in the browser console
Warning: Encountered two children with the same key, `deletion-H0-O4-forward`. Keys should be unique so that components maintain their identity across updates. Non-unique keys may cause children to be duplicated and/or omitted — the behavior is unsupported and could change in a future version.
    in g (created by DesignMainStrand)
    in g (created by DesignMainStrand)
    in DesignMainStrand (created by DesignMainStrands)
    in g (created by DesignMainStrands)
    in DesignMainStrands (created by ConnectFunction)
    in ConnectFunction (created by DesignMain)
    in g (created by DesignMain)
    in DesignMain (created by ConnectFunction)
    in ConnectFunction
    in Provider
    in Provider
    in Provider
    in Provider
    in RecoverableErrorBoundary (created by DesignMainErrorBoundary)
    in DesignMainErrorBoundary


RSS generator

Produce a consumer that can build RSS upon thé data grabbed from the consumer of our choice

db0956684f14faae98f3d546252535acd9001df3

Now users of " Yahoo Pipes! " will be able to produce RSS Feeds from whatever they want (and from supported service by TriggerHappy of course;)


Introduce new override of check() with mapped args

This will make it easier to add new arguments without adding a bunch
of confusing default arguments. Note that the old check() function
will be removed in a future version of the library.

@ablbot rebase


Directional Strategy Experiment

Description
Create a content that describes a directional strategy experiment, similar to Strategy Experiment #1:

Create a custom Hummingbot script that uses the new, simplified directional strategy framework
As examples, refer to the 3 directional strategy scripts in development branch: directional_strategy_rsi.py, directional_strategy_rsi_spot.py, directional_strategy_macd_bb.py
The script should conduct a strategy experiment similar to the one in the blog post above - formulate a hypothesis, define the pair/exchange, and define a success/failure outcome
Run the bot with a small amount of real capital for at least 7 days
Submit link to draft blog post or video in this issue

Bounty

Sponsor: Hummingbot Foundation
Budget: HGP-33
Bounty: 100,000 HBOT OR 500 USDT
Developer share: 100% - Paid upon publication
Status: Open

I'd like to take this bounty please!

Assigned to @tomasgaudino , please be informed:

Since you’re assigned to this bounty exclusively, please keep us informed on your progress over the next few days
Let us know if you don’t have time, and we will unassigned and keep it open for other devs
Only one dev can be assigned to one bounty

Thanks for your contribution!

Hi @nikspz ! Thanks for assigning me. The strategy is running from yesterday so by next wednesday i'll be showing the strategy fundamentals and results. Do you prefer a blog post or a video? I can communicate partial results via discord, please tell me in which channel

About exactly Blog or Video that's not really matters, quality that's what is important.
You should use this one as example: https://blog.hummingbot.org/strategy-experiment-directional-trading-macd-bollinger-bands-indicators/
You could read Description again for more details. You should Create a new custom Hummingbot script that uses the new, simplified directional strategy framework.
About discord: You could create a group chat and add me there (Nikita B#7970)

@tomasgaudino Any update on this?

hi there, yes. i'm finishing an explicative video with the strategy fundamentals and results, hope finishing by today

@fengtality i've sent via discord the results! please tell me how to proceed with the deliverables (video, strategy files, dashboard image if necessary, etc.)

thanks looks great! please pass the original video file to our team so that
we can publish on our YouTube channel.
On Thu, Jul 6, 2023, 8:22 AM Tomás Gaudino @.***> wrote:

@fengtality https://github.com/fengtality i've sent via discord the
results! please tell me how to proceed with the deliverables (video,
strategy files, dashboard image if necessary, etc.)
—
Reply to this email directly, view it on GitHub
https://github.com/hummingbot/hummingbot-site/issues/197#issuecomment-1623871009,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AANWHVRXK43O4YFBJI4OD6LXO3JZTANCNFSM6AAAAAAZD6G4IQ
.
You are receiving this because you were mentioned.Message ID:
@.***>

done :)

Thanks @tomasgaudino - the video looks great. As watchers often ask for the underlying code, can you provide the code either as a gist or your Hummingbot fork. Afterwards, @carlitogetaladajr can add it to the Youtube video https://www.youtube.com/watch?v=UX0ChdWV7uc description.

Thank you for the opportunity! Absolutely, here is the link
https://github.com/tomasgaudino/hummingbot/blob/feat/directional-strategy-macd-diff/scripts/directional_strategy_macd_diff.py
Have a nice weekend!


Results from pretrained models don't match paper

Thanks for you work on this project!
I followed the instructions in the readme to get your code running, and I wasn't able to reproduce the results from the paper:
MSVD:
RESULTS: Bleu_1: 0.858 Bleu_2: 0.756 Bleu_3: 0.665 Bleu_4: 0.573 METEOR: 0.385 ROUGE_L: 0.749 CIDEr: 0.992
Expected: Bleu_4: 62.3 METEOR: 39.2 CIDEr: 107.7 ROUGE_L: 78.3
MSR-VTT:
RESULTS: Bleu_1: 0.812 Bleu_2: 0.679 Bleu_3: 0.547 Bleu_4: 0.428 METEOR: 0.288 ROUGE_L: 0.617 CIDEr: 0.469
Expected: Bleu_4: 45.5 METEOR: 31.4 CIDEr: 50.6 ROUGE_L: 64.3
I noticed that these are epoch 15 checkpoints, but in the paper, the models were trained for ~70 epochs, are you willing to make these final models available, or the code infrastructure for training a new model?

Thank you!
We have decided to share the training code after November 16.

I tried to create the training code by myself, the result doesn't match with the paper. Maybe I missed something, but I'm not sure. I followed the exact hyperparameters and procedures as mentioned in the paper.

can you provide your training code?


Refactor openapi json schema

Context
Currently any schema in the OpenAPI 3 yaml file that contains nullable properties is ignored when converting to JSON schema for use in api tests.
This PR aims to address this issue.
Changes proposed in this pull request

Refactor the vendor api spec helpers to allow the schema parsing to be extended and testing individually.
Create an OpenApi3Specification class to handle conversion to JSON Schema.
Add tests to ensure that the OpenApi3Specification handles nullable properties correctly when converting to JSON schema.
Add nullable: true values to Offer, Rejection and Withdrawal attributes in the OpenApi3 yaml file.

Guidance to review
Run all specs to ensure that all vendor api tests are passing as expected.
Link to Trello card
1036 - API add offer endpoint

:+1: Thanks @alexdesi and @RobertM905  — very happy with mutation if it makes things more readable. Won't approve this PR as I worked on it.


Add a CI step to test with npm install

CI tests for both showcase and JinaJS

I would like to work on it !

Hi @aryasoni98, thank you for your interest in this issue. Basically we want to make sure that jinajs is usable for external projects.
So, the idea is to wire up tests to install published jinajs, use it's functions and make sure that they work.
Is this clear? Do you need more information on this?


How to display Connectors (Sockets) in the Properties panel

This is not a bug.
The Properties panel has a section for Connectors, with a neat dropdown to change the connectee. I like this. I think the dropdown should show paths to disambiguate, if there are multiple components with the same name. Also, this dropdown is redundant with the “connector_parent_frame_connectee_name” property…not sure what to do about this…perhaps the GUI should hide “connector_…_connectee_name” properties. Also, I think Connectors should be its own tab, like Properties and Outputs.

Duplicate of #344. Closing.


wip: add search groups and recommend groups

I've encountered a couple of situations when it didn't work properly

Remote client sometimes does not return some points which imho it has to return
I was able to reproduce this situation with this script:

import itertools
import random

from qdrant_client import QdrantClient
from qdrant_client.http import models
import numpy as np

random.seed(42)
np.random.seed(42)

random_words = [
    "cat",
    "dog",
    "mouse",
    "bird",
    "fish",
    "horse",
    "cow",
    "pig",
    "sheep",
    "goat",
    "chicken",
    "duck",
    "rabbit",
    "frog",
    "snake",
    "lizard",
    "turtle",
    "bear",
    "wolf",
    "fox",
    "monkey",
    "ape",
    "gorilla",
    "elephant",
    "rhino",
    "giraffe",
    "zebra",
    "deer",
    "camel",
    "lion",
    "tiger",
    "leopard",
    "hyena",
    "jaguar",
    "cheetah",
    "kangaroo",
    "koala",
    "panda",
    "sloth",
    "hippo",
    "whale",
    "dolphin",
    "shark",
    "octopus",
    "squid",
    "crab",
    "lobster",
    "snail",
    "ant",
    "bee",
    "butterfly",
    "dragonfly",
    "mosquito",
    "fly",
    "grasshopper",
    "spider",
    "scorpion",
    "ladybug",
]

def generate_data(number_of_records: int = 1000):
    return [
        models.Record(
            id=i,
            payload={"maybe": random.choice(random_words)}
            if random.random() > 0.5
            else {},
            vector=np.random.rand(100).tolist(),
        )
        for i in range(number_of_records)
    ]

local_client = QdrantClient(":memory:")
remote_client = QdrantClient()

data = generate_data(40)

local_client.recreate_collection(
    "test_collection",
    vectors_config=models.VectorParams(size=100, distance=models.Distance.COSINE),
)
remote_client.recreate_collection(
    "test_collection",
    vectors_config=models.VectorParams(size=100, distance=models.Distance.COSINE),
)

local_client.upload_records("test_collection", data)
remote_client.upload_records("test_collection", data)

search_vector = np.random.rand(100).tolist()

local_groups_result = local_client.search_groups(
    "test_collection", search_vector, group_by="maybe", limit=10, size=5
)
remote_groups_result = remote_client.search_groups(
    "test_collection",
    search_vector,
    group_by="maybe",
    limit=10,
    size=5,
)

local_groups = local_groups_result.groups
remote_groups = remote_groups_result.groups

print(len(local_groups), len(remote_groups))

local_ids = []
local_point_ids = []
remote_ids = []
remote_point_ids = []
for local_group, remote_group in itertools.zip_longest(local_groups, remote_groups):
    print("Local: ", local_group)
    print()
    print("Remote: ", remote_group)
    print("_________________________")
    local_ids.append(local_group.id if local_group else None)
    remote_ids.append(remote_group.id if remote_group else None)
    local_point_ids.append(local_group.hits[0].id if local_group else None)
    remote_point_ids.append(remote_group.hits[0].id if remote_group else None)

print("\nFound group ids: ")
print(local_ids)
print(remote_ids)

print("\nPoint ids inside found groups: ")
print(local_point_ids)
print(remote_point_ids)

for point_id in set(local_point_ids) - set(remote_point_ids):
    print(
        "\nRemote client search point: ",
        remote_client.search(
            "test_collection",
            search_vector,
            limit=1,
            query_filter=models.Filter(must=[models.HasIdCondition(has_id=[point_id])]),
        ),
    )
    print(
        "Local client found this point in group search: ",
        [
            local_group.hits[0]
            for local_group in local_groups
            if local_group.hits[0].id == point_id
        ],
    )

assert len(local_groups) == len(
    remote_groups
), f"Local: {len(local_groups)},  Remote: {len(remote_groups)}"

Sometimes recommend_groups does not work as well

When:
When we try to group_by field which is an array of str/int, e.g. id_str
Description:
When we look for 10 groups of size 5, first points in found groups are the same, but the remaining ones may differ
I have no separate script for this situation, but it was reproducible by test in test_recommend_groups


feat: improve HostFunctions to support disable runtime task host functions

It's a minimal improvement change to support such functions.
I still think substrate should let developer could disable every host functions which are not neccesary.

This PR isn't really necessary because we're in the process of removing this API altogether. https://github.com/paritytech/substrate/pull/12639 (Unless we find someone who actually currently uses it and needs this functionality.)

Ok, I closed.


Remove label prompt

Removing label prompt and label flag from deploy command.

I 🎩 ed and it looks good.


Duplicate file -- persist rename dialog

TEST CASE:

Open a directory of files
Right click one of the files and click DUPLICATE
(The rename box appears)
Alt-tab to another application and copy the name of the file you want
Alt-tab back to Atom

EXPECTED
The rename box is still there so you can paste into it
ACTUAL
It disappears

Thanks for the report! This looks like a duplicate of https://github.com/atom/atom/issues/1918 though – feel free to subscribe there for updates.


[BUG] Parser/Linter error client.geo.city.utf8 is not supported

Hey folks,
Awesome project, I am testing it out for our vcl :)
Describe the problem
A clear and concise description of what the bug is.
I encountered the following issue:
diff --git a/examples/default01.vcl b/examples/default01.vcl
index ad98204..d3e1be4 100644
--- a/examples/default01.vcl
+++ b/examples/default01.vcl
@@ -39,7 +39,8 @@ sub vcl_deliver {
}

sub vcl_fetch {
-
+  log client.geo.city;
+  log client.geo.city.utf8;
  #Fastly fetch
  return(deliver);
}

Apply the patch above and see that  client.geo.city.utf8 is not recognized by the linter and that leads to errors.
I am not sure how this happens since the variable is added to predefined.yaml. I think that these might be the only variables that have depth 4.
For completeness it works on fastly fiddle link

Actually debugged this a bit more and I think the culprit of the error is indeed the variable depth. I think applying the following patch should fix the issue:
diff --git a/context/context.go b/context/context.go
index 9f1f4a2..78536d7 100644
--- a/context/context.go
+++ b/context/context.go
@@ -518,7 +518,7 @@ func splitName(name string) (string, []string) {
        var first string
        var remains []string

-       sep := strings.SplitN(name, ".", 3)
+       sep := strings.SplitN(name, ".", 4)
        if len(sep) == 1 {
                first = sep[0]
        } else {

@davinci26 It seems to fix this issue, thanks.
I'll look into other side-effects but I'm happy when you make the PR 😄


Doc-string / Documentation clarification for parallel groups

Would it be possible to get a clarification on the different of slice_group, mp_group and moe_group form the FMoE init. Unfortunately only slice_group has a doc-string. I assume that mp_group is a older version of slice_group and moe_group is the Data Parallel group? It would be nice if I can get clarification / if the doc string can be updated.
Background :
I would like to integrate / call fmoe from to a custom code base witch already comes with MP, DP and PP parallelism. Are the any other thinks I would need to keep in mined when doing so?
Thanks for the help in advance.

Sure. I will do that next week.

The document is merged into master branch. Feel free to re-open this issue if you have any further questions.


cmd/compile/internal/syntax/testdata/go2/p: fix typo in comment

I got your reply, I will close the wrong pr, sorry for that


Custom fonts not applied for ActionBar Title

Custom fonts are not applied for ActionBar in Angular based application (works as expected in NativeScript Core).
Steps to reproduce: use this test application or the following snippets (using Nasalization.ttf)
.na {
    font-family: "Nasalization";
    background-color: #343838;
    color: #BCBCBC;
}

ActionBar {
    font-family: "Nasalization";
    background-color: #343838;
    color: #BCBCBC;
}

Background and color are successfully applied while font-family is not respected.

I am also facing the same issue. Any work around plz?

Still an ugly issue, would really appreciate if this was fixed someday

@MaxiSonntag @prabudevarrajan1 you could workaround this issue by creating a custom action bar content
For example:
<ActionBar>
	<StackLayout>
		<!--Add your page content here-->
		<Label textWrap="true" text="Play with NativeScript!" class="na" />
	</StackLayout>
</ActionBar>

Playground demo here

Issue moved to NativeScript/NativeScript #6654 via ZenHub


Ability to "show a little of the next/prior slide"?

I have a requirement where basically you can tell there are more slides to left or right because you see a the edge of the next/prior slide. I'm figuring out if there is a way to do that right now but figured I'd ask too. I'll update if I figure it out. Thanks!

That can be achieved with CSS by adjusting your wrapping element. So there are .slider and .slider__track classes. If you adjust the .slider's padding it will show peeking of the next/prev slides. You can see it in use here https://flassh.co/ at the bottom of the page.

@souporserious Awesome! That saves me a lot of time. Thanks so much.


Update 7d2d Config

-Create manual config download options for 18.4 to Current
-Adjusted save location of all generated files to be within the datastore
-Updated ports format
-Fixed App Ready regex to account for mods
-Changed Category names for clarity

Bonkers

I take that as a compliment. One more time please... (update stages)


Error  - gym_gazebo2 Usage

Environment/Algorithm
I was trying the "python3 gg_random.py -g" example. Actually, whenever I try to build any MARA environment I keep having the same error.
Describe the bug
ModuleNotFoundError: No module named 'rclpy._rclpy'.
Screenshots

Additional context
I installed ROS2 Crystal and I have tried almost everything: uninstalling ROS2 and installing it again, same for gym_gazebo2.

Hi @camontblanc
You need to source the environments, please use the following script to do that.

Hi @rkojcev !
First, thank you for your answer! Do I have to do that even though I am not using any of the MARA examples?
Basically, what I am doing is running python in the shell, I import gym and gym_gazebo2 (clearly, I have already sourced ROS2 Crystal) but when I do: gym.make('MARA-v0') I have the error I told you before.
Thank you for your time!

@camontblanc
calling  gym.make('MARA-v0') will want to call the MARA robot and all necessary packages that come with this repo
All the necessary steps are explained in the install from this repo.

@rkojcev
Hi! I followed (again) the step in this repo but I keep having the same error.
I also included in the ~/.bashrc file this script but it doesn't work.

Hi @camontblanc,

Hi! I followed (again) the step in this repo but I keep having the same error.

Make sure you use crystal release in both repos (gym-gazebo2 and MARA), master branch is dashing.
I just noticed wget are wrong in crystal branch, i would try with this ones instead:
wget https://raw.githubusercontent.com/AcutronicRobotics/MARA/crystal/mara-ros2.repos
wget https://raw.githubusercontent.com/AcutronicRobotics/gym-gazebo2/crystal/provision/additional-repos.repos

Hi @YueErro ,
I tried these wget:
wget https://raw.githubusercontent.com/AcutronicRobotics/MARA/crystal/mara-ros2.repos wget https://raw.githubusercontent.com/AcutronicRobotics/gym-gazebo2/crystal/provision/additional-repos.repos
but when compiling the workspace I get the following:

when it is supposed to be:
35 packages finished [12min 26s] 4 packages had stderr output: cv_bridge orocos_kdl python_orocos_kdl robotiq_gripper_gazebo_plugins
Eventually, when I run an example:

@rkojcev @YueErro
I managed to fix the above error. However I did notice these things:

I echoed the PYTHONPATH and this is what I got: /home/carlos/ros2_mara_ws/install/lib/python3.6/site-packages:/home/carlos/ros2_mara_ws/install/lib/python3.7/site-packages:/opt/ros/crystal/lib/python3.6/site-packages:/home/carlos/ros2_mara_ws/install/lib/python3/dist-packages.
However, I'm noticing that in "~/gym-gazebo2/provision/mara_setup.sh" they are doing this: export PYTHONPATH=$PYTHONPATH:~/ros2_mara_ws/install/lib/python3/dist-packages
I looked into the folder ~ /ros2_mara_ws/install/lib/, but there is no /python3/dist-packages.

Might this be something?

Hi @camontblanc ,
When you execute wget https://raw.githubusercontent.com/AcutronicRobotics/MARA/crystal/mara-ros2.repos you are getting MARA's master branch, not crystal (check the content of the file). For now, go to ros2_mara_ws/src/MARA and checkout to crystal release (its not a branch, yet). Then,  recompile.
We will fix and test this today and let you know when the update is completed.

@camontblanc we are doing major refurbish and upgrade to all of our public repos these days in order to comply with different ros2 versions. Once we are done we will let you know and hopefully we will resolve all these inconsistencies trough out our repos.

Created crystal branches for every gym-gazebo2 related repository. Go to the crystal branch of ros2learn or gym-gazebo2, depending what you want to install, and follow the distribution specific instructions available in the README.

@camontblanc can you try now and see if everything is ok with the crystal branch of the repositories?

@nzlz @rkojcev
First of all, thank you very much for your help. Right now, I'm following these instructions: crystal branch. I'll let you know as soon as I'm finished.

@rkojcev @nzlz
This is what I get.

After compiling the ~/ros2_mara_ws workspace and doing the provisioning step, when I run the /.bashrc file:
not found: "/home/carlos/ros2_mara_ws/install/share/orocos_kdl/local_setup.sh"
not found: "/home/carlos/ros2_mara_ws/install/share/orocos_kdl/local_setup.bash"

I tried to make gym.make('MARA-v0) but I still get the error ModuleNotFoundError: No module named 'rclpy._rclpy'.

Regarding n1, you probably forgot to execute the line after the workspace is compiled, double check instructions please. That will get remove these informative errors.
Regarding n2, can you reinstall ros-crystal-desktop? That will give you ros-crystal-rclpy, which you will be able to use when sourcing /opt/ros/crystal/setup.bash via provisioning script.
(sorry for the lack the format, talking from the phone)

@nzlz

You're right, I forgot touch ~/ros2_mara_ws/install/share/orocos_kdl/local_setup.sh ~/ros2_mara_ws/install/share/orocos_kdl/local_setup.bash.
I reinstalled ros-crystal-desktop but it still doesn't work. I'm trying to run: cd ~/gym-gazebo2/examples/MARA -> python3 gg_random.py -g but I get

@nzlz @rkojcev
Hi! I deleted the  ~/ros2_mara_ws and ~/gym_gazebo2 folders from my computer did everything all over again. The workspace compiled successfully and I did the provisioning step. However, the same error still appears (ModuleNotFoundError: No module named 'rclpy._rclpy'). As suggested by @nzlz,  I reinstalled ros-crystal-desktop via Debian Packages. I really don't know what else to do given that I've repeated the steps in the INSTALL.md in Crystal Branch many times.
Thanks.

@nzlz
You were absolutely right! The problem was with anaconda. I removed it and installed everything all over again and it worked neatly.
Thank you everyone for your kind help!


Increase concurrency for the promise queue to reduce processing time

Task
Epic: https://github.com/GoogleChromeLabs/ps-analysis-tool/issues/380
Description
As described in https://github.com/GoogleChromeLabs/ps-analysis-tool/issues/403 and https://github.com/GoogleChromeLabs/ps-analysis-tool/issues/404, we have to use a promise queue with concurrency: 1 to handle multiple requests/response which adds up to increase the overlay delay of rendering cookies data. This task is to do the actual implementation of the solution proposed in https://github.com/GoogleChromeLabs/ps-analysis-tool/issues/403 and increase concurrency. Please note that this task should only be started after the optimization work in https://github.com/GoogleChromeLabs/ps-analysis-tool/issues/404 for better performance testing results.
Related Issue:
https://github.com/GoogleChromeLabs/ps-analysis-tool/issues/403 , https://github.com/GoogleChromeLabs/ps-analysis-tool/issues/404

Addressed as a part of v0.5


Only identifiable parentheses for the parse tree

fixes #91
It makes sense to keep both versions. The round brackets facilitate the parser's work with complex expressions and the bracket-free version simplifies the statement with simple expressions. It has only been changed that the test data generator generally generates the versions with round brackets.
The PR has been tested successfully with the current versions of dderl and imem.

Coverage remained the same at 99.823% when pulling 6c5dd8fa1d1a82d0dfd559945235078e5153e7e3 on wwe_issue_91 into 899add192d6b6027b9feec32eea5858b5468ef7e on master.


12504 - Added code changes for FSS UI - Simplified search - Main sear…

PR contains Code changes and Unit test cases.

we don't want to remove single quotes but to replace them with 2 single quotes and I have modified the code as same.


Node Crypto Interface

The goal of this issue is to extract an initial interface for crypto in Node.js. We want to do this so that we can support multiple versions/vendors of crypto libraries.
This task should investigate options for such an interface and how it can be used with Node.js. At the moment OpenSSL is quite tightly coupled with Node.js and part of this task should be to look at viable options.
The idea is to start small and look at one or two functions that are used from src/node.cc. The idea at the moment is to have a CryptoFactory that handles registering/unregistering crypto providers and handles the creation of Crypto instances. We are currently in the process or trying this out and might find better solutions as we try this out in practice. On issue is how should these different providers register with the factory etc.
After this investigation and pushing a branch with an example this task can be considered closed and we will open an issue on Node's github repository and continue work there.

Created a pull request for this:
https://github.com/nodejs/node/pull/13575

This issue can be closed?

Closing as this is out of date.


Feature Request: Alerta Support

Hi,
it would be awesome to see Alerta as a build in alert output. It is an easy to use opensource alert dashboard with a simple API: http://alerta.readthedocs.io/en/latest/api/reference.html
Currently we made a workaround an let Elastalert trigger the Alerta CLI.
Regards
hrzbrg

:+1:

Is anyone using this alert type? I see it has was added 2 years ago. Has anyone been successful with it?
Thanks

Yes, I'm using it successfully and the alerta specific components in each role look like this:
alert:
  - alerta
alerta_api_url: "https://alerta.example.com/api/alert"
alerta_api_key: "THEKEYFROMALERTA"
alerta_environment: "name"
alerta_use_qk_as_resource: true
alerta_text: "Text of alert"

This works really well, the only issue I'm having is #2310 where I would like to set severity dynamically so that depending on the ES records I could open or close an alerta item.

I just integrated elastalert with alerta and first tests are working so far, so seems fine, thanks

Yes, the Alerta integration works as mentioned in the documentation, have been using it for several months now.


BOTEN no audio through built in speakers although the driver seems to be working properly

Describe the bug
I installed the drivers on Debian 12 (UEFI) and the drivers appear to be working but no sound comes from the built in speakers. The speakers work on ChromeOS so they aren't broken. Previously Ive tried this on Debian 12 and Arch, linux-lts and linux kernels, using both  pulseaudio and pipewire with none of the setups working. Ironically I was able to get the left speaker only working on Ubuntu 23.10 using pulseaudio 1 to 3 months ago. HDMI works properly and I believe Bluetooth and wired headphones do too.
Boardname
BOTEN
Logs
debug-logs.tar.gz

same issue but with fedora

but no speakers work


Provide a command to add local jars to the repo

Currently custom developed apps can only be added by manually adding an entry to the stream app properties file and then using get stream-apps command.  A better dev UX would be something like
repo add --type source --name --uri file:///my-app/target/my-app-0.0.1-SNAPSHOT.jar

Need to also grab the metadata jar if it's available at the same location.

Done


images are not loading

Hello,
I wanted to tell you that images that are in the SQL tutor on your website are not loading for me. I’ve tried to open it with different browsers and devices but none of them solve the problem. ( I used firefox and chrome - both the latest version - on Ubuntu 19.10 and iPad OS ).

Hi, @ichbinkiana, thanks for the report.  Could you link to the page that's not working?

there is not just one page.
Here are the ones I've found :
https://guide.freecodecamp.org/sql/sql-alter-table-statement
https://guide.freecodecamp.org/sql/sql-and-operator/
https://guide.freecodecamp.org/sql/sql-avg-function/
https://guide.freecodecamp.org/sql/sql-between-operator/
https://guide.freecodecamp.org/sql/sql-count-function/
https://guide.freecodecamp.org/sql/sql-create-index-statement/
https://guide.freecodecamp.org/sql/sql-create-table/
https://guide.freecodecamp.org/sql/sql-create-view-statement/
https://guide.freecodecamp.org/sql/sql-date-functions/
https://guide.freecodecamp.org/sql/sql-drop-view-statement/
https://guide.freecodecamp.org/sql/sql-syntax/

@raisedadead I assume we are not going to fix these as the guide is no longer supported?

I will defer to Quincy on this, he was working on something a few weeks ago to move the articles on forum and news, I think before we could add 301s. If anything the outdated guide articles are probably contributing to the bounce rate.
/cc @QuincyLarson


Finalize list of one-use components from mdx-components package

Continue with the mural investigation to figure out which components are only used in one place (and hopefully not in any dynamic docs) and add those to the list of components that will be excluded from mdx-components package.
https://app.mural.co/t/ibm14/m/ibm14/1667230506318/3c007d2b56bfc0b1c820e15d7d946285da5ae4a2?sender=jdharvey8136
Once this list is done, the conversion PR can be updated accordingly to "revert" changes we no longer want.
#1423

@carbon/react:
[ ]      Tag
[ ]      StructuredListWrapper
[ ]       StructuredListCell
[ ]      StructuredListBody
[ ]      StructuredListRow
[ ]      ListItem
[ ]      UnorderedList
[ ]      OrderedList
[ ]      Accordion
[ ]      AccordionItem
[ ]      CodeSnippet
[ ] ColorPalette
[ ] ColorTokenTable
[ ] ColorGrid
[ ] ColorBlock
[ ] Glossary
[ ] PictogramLibrary
[ ] IconLibrary
[ ] StatusIndicatorTable
[ ] MdxIcon
[ ] TypesetStyle
[ ] TypeScaleTable
[ ]  TypeWeight
[ ] Profile
[ ] MdxPage
[ ] MdxNotification
[ ] FullPageError


[Feature] Multipart integration

Hello, thank you so much for creating this library, I would like to ask if is there a way to add a Multipart request.

Do you mean uploading files?

Sorry for the delay, it would be awesome to have an integration between this library and MultipartEncoder
from requests_toolbelt import MultipartEncoder

And well not just files, something like this with requests:
multi = MultipartEncoder({
      'file': (resume.name, resume.data, 'application/pdf'),
      'is_valid': 'true'
}, boundary=boundary)
request = Request('POST', url=url, headers=self.HEADERS, data=multi)
req = self._session.prepare_request(request)
res = self._session.send(req, verify=self.VERIFY, use_proxy=True).json()

For example, I am a user of this (library)[https://github.com/FlorianREGAZ/Python-Tls-Client] and I cannot do something like this:
multi = MultipartEncoder({
      'file': (resume.name, resume.data, 'application/pdf'),
      'is_valid': 'true'
}, boundary=boundary)
res = session.get(url, headers=headers, data=multi)

Would be really awesome if this can be done.

Support is on the way, see #220 for more details.


Bugfix: Issue with tags on tests

Describe the bug
The docker tests are breaking because the wrong table is being referenced when trying to retrieve tags: https://github.com/pirate/ArchiveBox/runs/1281187367?check_suite_focus=true
Steps to reproduce
Run the tests for docker in github actions.
Screenshots or log output
Run echo "http://www.test-nginx-2.local" | docker run -i --network host -v "$PWD"/data:/data archivebox add
[i] [2020-10-20 13:27:31] ArchiveBox v0.4.21: archivebox add
    > /data

[+] [2020-10-20 13:27:33] Adding 1 links to index (crawl depth=0)...
    > Saved verbatim input to sources/1603200453-import.txt
    > Parsed 1 URLs from input (Plain Text)
Traceback (most recent call last):
  File "/usr/local/lib/python3.8/site-packages/django/db/backends/utils.py", line 86, in _execute
    return self.cursor.execute(sql, params)
  File "/usr/local/lib/python3.8/site-packages/django/db/backends/sqlite3/base.py", line 396, in execute
    return Database.Cursor.execute(self, query, params)
sqlite3.OperationalError: no such column: core_snapshot.tags

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/usr/local/bin/archivebox", line 33, in <module>
    sys.exit(load_entry_point('archivebox', 'console_scripts', 'archivebox')())
  File "/app/archivebox/cli/__init__.py", line 123, in main
    run_subcommand(
  File "/app/archivebox/cli/__init__.py", line 63, in run_subcommand
    module.main(args=subcommand_args, stdin=stdin, pwd=pwd)    # type: ignore
  File "/app/archivebox/cli/archivebox_add.py", line 78, in main
    add(
  File "/app/archivebox/util.py", line 113, in typechecked_function
    return func(*args, **kwargs)
  File "/app/archivebox/main.py", line 549, in add
    new_links = dedupe_links(all_links, imported_links)
  File "/app/archivebox/util.py", line 113, in typechecked_function
    return func(*args, **kwargs)
  File "/app/archivebox/index/__init__.py", line 327, in dedupe_links
    dedup_links = fix_duplicate_links_in_index(snapshots, new_links)
  File "/app/archivebox/util.py", line 113, in typechecked_function
    return func(*args, **kwargs)
  File "/app/archivebox/index/__init__.py", line 311, in fix_duplicate_links_in_index
    if index_link:
  File "/usr/local/lib/python3.8/site-packages/django/db/models/query.py", line 280, in __bool__
    self._fetch_all()
  File "/usr/local/lib/python3.8/site-packages/django/db/models/query.py", line 1261, in _fetch_all
    self._result_cache = list(self._iterable_class(self))
  File "/usr/local/lib/python3.8/site-packages/django/db/models/query.py", line 57, in __iter__
    results = compiler.execute_sql(chunked_fetch=self.chunked_fetch, chunk_size=self.chunk_size)
  File "/usr/local/lib/python3.8/site-packages/django/db/models/sql/compiler.py", line 1152, in execute_sql
    cursor.execute(sql, params)
  File "/usr/local/lib/python3.8/site-packages/django/db/backends/utils.py", line 68, in execute
    return self._execute_with_wrappers(sql, params, many=False, executor=self._execute)
  File "/usr/local/lib/python3.8/site-packages/django/db/backends/utils.py", line 77, in _execute_with_wrappers
    return executor(sql, params, many, context)
  File "/usr/local/lib/python3.8/site-packages/django/db/backends/utils.py", line 86, in _execute
    return self.cursor.execute(sql, params)
  File "/usr/local/lib/python3.8/site-packages/django/db/utils.py", line 90, in __exit__
    raise dj_exc_value.with_traceback(traceback) from exc_value
  File "/usr/local/lib/python3.8/site-packages/django/db/backends/utils.py", line 86, in _execute
    return self.cursor.execute(sql, params)
  File "/usr/local/lib/python3.8/site-packages/django/db/backends/sqlite3/base.py", line 396, in execute
    return Database.Cursor.execute(self, query, params)
django.db.utils.OperationalError: no such column: core_snapshot.tags
Error: Process completed with exit code 1.

It looks like the cause of this is in the merge/dedupe logic that still has the old tags logic. I am working on fixing this.

Fixed with PR. Closing.


nested method

Shouldn't this method be defined in the class rather than defined inside tier_decider . Every time tier_decider is called append message will be redefined. Seems inefficient
https://github.com/SNEWS2/SNEWS_Publishing_Tools/blob/40301467bfd1df011e470f201361f5d3acbd0a79/SNEWS_PT/snews_pt_utils.py#L289

Right, actually that function uses several more arguments like data, meta, schema and function itself is used several times within the _tier_decider so once the tier decider is called, _append_messages is also defined once, and until it appends all the messages it uses these data, meta, schema from the "global" (well, it is local to _append_messages) so I thought this may even be more efficient


Absolute scaling of circle body

Is there any possibility to scale circle with absolute value? Body.scale method is relative to current size. I have to scale it down, and then scale it back to initial size. I could do the math to reverse the scaling, but in this case the value depends on object position.

you could try
Body.scale = Body.scale;
Body.scale = posX;

Not tried it but I think you could use body.circleRadius like this:
const scale = newRadius / body.circleRadius;
Body.scale(body, scale, scale);

One thing to know is that unlike in a graphics engine, bodies keep their own geometry absolute in world-space for performance reasons, as well as to simplify the overall implementation.
So if you need some sense of 'absolute scale' you should keep track of all scaling applied relative to the initial scale. In other words every time you scale the body using Body.scale(body, scale, scale), also keep track of that by scaling a stored scale factor at the same time e.g. body._currentScale *= scale.
Then to revert to the original scale for example, you can do this:
Body.scale(body, 1 / body._currentScale, 1 / body._currentScale);

Another thing I ran into while scaling bodies by updating the vertices and applying forces at the body in the same time, was that the mass of a body changed. So the body was swept away because the minimal mass in the beginning of the scale-animation. Nothing wrong in the engine, but just a reminder if someone trying to control the scale when inserting new bodies into the world by animating them. I solved it by copying the content of the Body.setVertices-function and skipped the setMass()-call.

Yeah exactly definitely something to be aware of, the mass naturally changes during scaling in a physics engine but the density remains fixed. If you need the same mass then you will need to apply it back afterwards.
Did this help, can I consider this resolved?


Add workaround for bug in older linux kernels handling epoll_wait(...)

Motivation:
Older linux kernels have problems handling a large value for epoll_wait(...) and so wait for ever.
Modifications:
Adjust timeout on the fly if a too big value is passed in.
Result:
Correctly works also on older kernels.

@trustin please review... thanks!

Looks good to me. Please cherry-pick after addressing the trivial comments.

Cherry-picked into 4.0 (795de8a5901da57920fdc64771117773c25b14d3) , 4.1 (0a452bef8edbf023fd950eb6d3875acaea553cdb) and master (340287f377e48159b91d60f6bec84dcc98316192)


Add a loading screen example

What problem does this solve or what need does it fill?
Loading and unloading assets on a per-level basis is a simple and generally effective strategy. Commonly, this process is masked from users, using loading screens.
We should teach users how to do this in Bevy.
What solution would you like?
Requirements:

use a simple state to track asset loading state: Loading vs FullyLoaded
spawn some assets in a scene
show a loading screen to users before assets are loaded
swap to that scene once (but not before) all assets are loaded

Stretch goals:

animate the loading screen
show progress on the loading screen
transition between multiple levels (may require #11426 to do nicely), unloading assets from the old level as you do so
wait for shader pipelines to compile too

What alternative(s) have you considered?
A more dynamic asset loading solution can work better for e.g. open world games, but is more complex to implement and optimize.
We could also implement a first-party solution for this, but I suspect that the complexity will not be high enough to warrant it and the added flexibility / transparency of doing this as an example will be better.
Additional context
bevy_asset_loader is a more sophisticated tool for this. You can see a simple implementation of this pattern in my archived game Emergence. iyes_progress demonstrates how to track progress and transition states when work is complete.

The game_menu example has a loading screen that we can learn from :)

Hi, I'd like to tackle this issue.
I've got a good idea of how to check if the assets are fully loaded in the asset server, but not sure about how to confirm that a spawned visual asset such as a model is fully rendered. I thought I could use the SceneInstanceReady event, but it seems to be broadcasted before the scene is actually rendered to the screen. Would this coincide with the completed compilation of the shader pipelines? Or is there other stuff going on between the SceneInstanceReady event and the actual rendering of the scene?

I think if we wait for pipeline compilation we should be good.


Where to get the extension board?

Hi Ylianst,
We own an 2024 JetsetterLX with Freshwater and IQ.
When I tried to mount the interface, I discovered that both interface terminals are in use.
So I need to get this extension board.
Where can I get one of these?
Regards.
RWag-AC

Hi. Search for "Watkins 74150" online. I think the older versions have 8 ports, the new ones have 5 ports but both should work. Note that you could make your own by just splitting each pin, if both modules use RS485. If the I2C pins are using there are extra pull up resistors. In any case, there are some links I found (link) (link) (link) (link)
I personally got mine off eBay for around 40$, I did not really need it, but it did allow me to study the wiring of it. Hope this helps.

Oh, you did mention you have Freshwater IQ. I don't have this module myself, but that is a module I may add support for and will need someone to test it.

Thank You very much for the info. This is pretty expensive for a passiv board like this. I try to find something here in Europe, and if I do not succed, I will think about building my own only for RS485.
On the other hand, this is a brand new spa and my wife will certainly kill me if I spoil it.
We have the latest technology from Hot Spring with all they can put into a Jetsetter LX, so if I manage to solve the interface problem, I surely want to give it a try...

Yes, everything hot tub related has a high profit margin. This is a passive board that if someone designed and sent to PCBWay, could make for a few dollars. If you are ever tempted to make your own wired splitter, look for the following two connectors online: 3-644540-8 and 3-647000-8. I have never ordered these, but I got these numbers from someone on a forum how previously had tried to build a control module.

I have orderd one board from a shop in the Netherlands for 75€ plus pp. I hope it isn't a fake one...

Nice. When you get it, please take pictures and report back.

Oh, you did mention you have Freshwater IQ. I don't have this module myself, but that is a module I may add support for and will need someone to test it.

@Ylianst signing up as a guinea pig to test Freshwater and IQ as well, just got my Aria yesterday.

Thank you @spangenberg. I will start working on the integration in the coming days, hopefully it should not be too difficult.

I got the board today, and I think, it is the original one.

If its dry outside, I will mount it on the weekend...

Yes, this is the original 8 port one. Looks good, this is the same one I have.

@spangenberg  Initial Freshwater IQ support was added to the integration, instructions here. Please report back anything and everything as I don't have this module and so, need community feedback.

Close this since it's resolved.


Update changelog for core.http action change

Changelog entry for change in https://github.com/StackStorm/st2/pull/3012.

/cc @warrenvw Next time please also update changelog in the corresponding PR :)

Current coverage is 77.42% (diff: 100%)

Merging #3106 into master will increase coverage by 0.14%

@@             master      #3106   diff @@
==========================================
  Files           430        430
  Lines         22129      22129
  Methods           0          0
  Messages          0          0
  Branches          0          0
==========================================
+ Hits          17101      17133    +32
+ Misses         5028       4996    -32
  Partials          0          0

Powered by Codecov. Last update ddb9d3e...ed8c773

also update changelog

I just noticed we don't list that in CONTRIBUTING. I think we should.
@warrenvw Motivated to make that CONTRIBUTING.rst more contributor-friendly with your fresh vision?


Not working with SDK 6.0.0

As titanium guidelines the module must be recompiled with minimum SDK

+1

+1

Can somebody compile it with new SDK? Thanks

I have done a simple recompile, I have done VERY minimal testing, there is no warrantee given or implied, but if you would like to download this version and TEST IT HEAVILY, feel free...
https://github.com/MarkBoyer/Appcelerator-Modules
I am by no means attempting to take any credit, and I am by no means a Java developer, but like many, I rely HEAVILY on this module in my Appcelerator development.

MarkBoyer : Thanks for your fix, but Im affraid it crashed my app. It works by dragging, but opening from a toggleLeftWindow() crashed it.

@hopstad - Is it possible there's something else going on with the crash?  I only ask because I went back and tested again using the Genymotion simulator and it works with Android 5.1.0 and 6.0.0 for me using both the swipe and toggleLeftWindow.  I do use Fokke's widget interface but that shouldn't make a difference.

I have a rather large and complex app so it might be something else causing it. But it's weird it's working fine with the old version.
I'll look more into it tomorrow. Thanks
On Dec 1, 2016 6:11 PM, MarkBoyer<EMAIL_ADDRESS>wrote:
@hopstadhttps://github.com/hopstad - Is it possible there's something else going on with the crash? I only ask because I went back and tested again using the Genymotion simulator and it works with Android 5.1.0 and 6.0.0 for me using both the swipe and toggleLeftWindow. I do use Fokke's widget interface but that shouldn't make a difference.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/viezel/NappDrawer/issues/199#issuecomment-264232874, or mute the threadhttps://github.com/notifications/unsubscribe-auth/ABXCtbCX5mgJHOv2t1N_qggZWOE2lYwfks5rDv-ngaJpZM4K1X3_.


chore: release main

:robot: I have created a release beep boop
node-versions: 2.0.14
2.0.14 (2024-12-20)
Bug Fixes

update available Node.js versions (98bfdcf)
update available Node.js versions (0ef567d)

This PR was generated with Release Please. See documentation.

🤖 Created releases:

node-versions-v2.0.14

:sunflower:


Ensure checkouts get updated when enforcing resolved versions

Honor skipDependenciesUpdates when enforcing resolved versions.
Motivation:
Previously there could be cases where an existing checkout won't be updated from the remote even if --skip-update hasn't been passed.
Modifications:
Pass in the correct value from WorkspaceConfiguration when calling getContainer and ensure we wait for all getContainer calls to complete before proceeding.
Result:
We won't update with stale checkouts that could break builds because the resolved file is requiring newer revisions than what we have in the existing local checkouts.

@swift-ci please smoke test


tls: failed to find any PEM data in certificate input

tls: failed to find any PEM data in certificate input
this is all I get back... my KUBECONFIG is properly set, I
daily work with it switching between several configurations
seems the kubeletctl is not handling this yaml section properly
clusters:
- cluster:
    certificate-authority-data: xyz

Hi, thank you for reporting.
I will try to reproduce it and check.
Meanwhile,
does it work if you run it with the certificate file as arguments? like that:
kubeletctl.exe pods -s <node_ip> --cacert /etc/kubernetes/pki/ca.crt --cert /var/lib/kubelet/pki/kubelet-client-current.pem --key /var/lib/kubelet/pki/kubelet-client-current.pem

Are you using cloud deployment such ask AKE, EKS, etc or something else?
What are the authentication and authorization settings in the kubelet config file (/var/lib/kubelet/config.yaml) inside the target node? I am interesting in these fields (an example):
apiVersion: kubelet.config.k8s.io/v1beta1
authentication:
  anonymous:
    enabled: false
    ...
authorization:
    mode: Webhook

@zeph any update?

getting the same issue
export KUBECONFIG=~/.kube/config
[] Using KUBECONFIG environment variable
[] You can ignore it by modifying the KUBECONFIG environment variable, file "~/.kube/config" or use the "-i" switch
2021/02/24 18:30:23 tls: failed to find any PEM data in certificate input

@zeph any update?

I didn't step into this in a long time, sorry... I have nothing to add
(but seems some other folks are stepping into it)

this tool is unable to read certificate-authority-data from Kubeconfig
kubeletctl
[] Using KUBECONFIG environment variable
[] You can ignore it by modifying the KUBECONFIG environment variable, file "~/.kube/config" or use the "-i" switch
2022/05/10 03:22:05 tls: failed to find any PEM data in certificate input

Hi everyone,
We did number of tests from two machines and it worked for us.
We noticed that kubeletctl knows to read PEM fields, the problem is caused by a bed PEM inside the config file.
Do you use the following fields?

certificate-authority-data
client-certificate-data
client-key-data

If yes, these fields should be in base64. It also shouldn't have multiple rows, the base64 should be in one row.
Can you please share with us an example of how it appears in your config file?
No need to share private data, you can blue most of it, we just want to understand.

We were able to reproduce it by using a wrong data inside the field client-ceritficate-data.
For example:
 client-ceritficate-data: MIIDCjCCAfKg...zraDpdn4jg=

You can get it by running:
 cat /root/.minikube/ca.crt

Fix it to be one linear and add it to client-ceritficate-data, inside the config file.
I explained it to someone else in #8 that expirienced a similar issue:
The certificate-authority-data, client-certificate-data and client-key-data should be in base64:

Another way with a misconfigured config file:
root@manager1:/home/cyber# ./kubeletctl_linux_amd64 pods
[*] Using KUBECONFIG environment variable
[*] You can ignore it by modifying the KUBECONFIG environment variable, file "~/.kube/config" or use the "-i" switch
2022/09/12 06:23:01 tls: failed to find any PEM data in certificate input
root@manager1:/home/cyber# cat ~/.kube/config
apiVersion: v1
clusters:
- cluster:
    extensions:
    - extension:
        last-update: Mon, 05 Sep 2022 12:55:19 UTC
        provider: minikube.sigs.k8s.io
        version: v1.26.1
      name: cluster_info
    server: https://<IP_ADDRESS>:8443
  name: minikube
contexts:
- context:
    cluster: minikube
    extensions:
    - extension:
        last-update: Mon, 05 Sep 2022 12:55:19 UTC
        provider: minikube.sigs.k8s.io
        version: v1.26.1
      name: context_info
    namespace: default
    user: minikube
  name: minikube
current-context: minikube
kind: Config
preferences: {}
users:
- name: minikube
  user:
root@manager1:/home/cyber#

sorry @g3rzi ...I can't recall how and if I circumvented this... I has a specific use case in which I had to be sure I had only one configuration in there and not several as I normally do, composing the env variable KUBE_CONFIG ... I'll close it, unless someone else can provide you more info (I guess they can reopen it)
thanks for the effort spent looking into it, I feel guilty I can't provide more info

Thanks, sorry for the delay. I will keep watching for someone having the same issue. From our checks from different computers it seems a wrong config file but maybe we are missing something.

Running into same issue, I am on EKS. Structure of ~/.kube/config
apiVersion: v1
clusters:
- cluster:
    certificate-authority-data: LS0tLS1CRUdJTiBDRVJTRIMMEDGSUNBVEUtLS0tLQo=
    server: https://TRIMMED.eks.amazonaws.com
  name: arn:aws:eks:TRIMMED:cluster/TRIMMED-cluster
contexts:
- context:
    cluster: arn:aws:eks: TRIMMED:cluster/TRIMMED-cluster
    user: arn:aws:eks: TRIMMED:cluster/TRIMMED-cluster
  name: arn:aws:eks: TRIMMED:cluster/TRIMMED-cluster
current-context: arn:aws:eks: TRIMMED:cluster/TRIMMED-cluster
kind: Config
preferences: {}
users:
- name: arn:aws:eks: TRIMMED:cluster/TRIMMED-cluster
  user:
    exec:
      apiVersion: client.authentication.k8s.io/v1alpha1
      args:
      - --region
      - TRIMMED
      - eks
      - get-token
      - --cluster-name
      - TRIMMED-cluster
      command: aws
      env:
      - name: AWS_PROFILE
        value: my-profile

@karthikeayan thanks,
I supposed you removed some of the data because of publishing it here right?
certificate-authority-data: LS0tLS1CRUdJTiBDRVJTRIMMEDGSUNBVEUtLS0tLQo=

@g3rzi you are right. I removed it to reduce noise. Yes, it is one line. I read your comments above and I don't think I have any issues with certificate-authority-data.

OK, interesting.
I will think what can cause it and we will try to reproduce it on AKS.

Quick update, the problem is because we are not supporting:
- name: arn:aws:eks: TRIMMED:cluster/TRIMMED-cluster
  user:
    exec:
      apiVersion: client.authentication.k8s.io/v1alpha1
      args:
      - --region
      - TRIMMED
      - eks
      - get-token
      - --cluster-name
      - TRIMMED-cluster
      command: aws

We are working to support the execution of aws to get the token for EKS.
Btw, by using the kubiscan-sa service account it will work:
--cacert ca.crt -s <node_ip> --token eyJhbG... pods

Hi @karthikeayan,
We added support for EKS, but we still didn't publish a release, we will publish it in the next few days.
Meanwhile, you can clone the latest code (version 1.9) and build it:
git clone https://github.com/cyberark/kubeletctl.git
make

Notice that the Make file will build for a number of operation systems, if you want to make it faster, remove the unnecessary operation system from the command line of the file.

Hi @karthikeayan,
We published release for version 1.9 which supports EKS, you can check it.


Next Release

Codecov Report
Base: 100.00% // Head: 100.00% // No change to project coverage :thumbsup:

Coverage data is based on head (aa6c395) compared to base (3c957ac).
Patch has no changes to coverable lines.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
Additional details and impacted files
@@            Coverage Diff            @@
##              main       #14   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files            4         4
  Lines          215       215
  Branches        46        21   -25
=========================================
  Hits           215       215

Flag
Coverage Δ

unittests
100.00% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

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


High load

Just wondering, what would explain a high load but very low Heap / CPU usage?

I have the same question, what dose load mean?

You should likely consult with Elastic's own documentation, as Cerebro is just polling each node for these details. I believe this is the source of the data above in your screenshot. You should study that further.
https://www.elastic.co/guide/en/elasticsearch/reference/6.4/cluster-nodes-stats.html#os-stats

I think "load"column shows Load Average of your servers and this may be not related to Elasticsearch or cerebro.

Fair enough. Thanks all for your input, I will investigate further.

I close this @SebScoFr . If you still think it is a problem, feel free to reopen it.

I had this same issue with ES 7 - turned out that docker with OpenJDK12 has a bug where it only allocates one core, regardless of how many you have. We got around this by adding the JVM flag:
-XX:ActiveProcessorCount=32

On which position you @sethyes added the JVM Flag?
I used cerebro with Docker Compose.


Understanding Docker Networking

Article checklist
ATTENTION: In your PR - add the ISSUE (topic form) # that this PR corresponds to. You can do this by also adding a comment that states "This fixes #(enter your Idea Content Form #)" to link and close your Idea Content (issue) when the PR is merged.
NOTE: (Please ensure that you have only one open issue + linked pull request at a time. This will ensure that we complete the article in a timely manner from inception to publishing.)
If you have not already please go over our Resources Page for more tips and tricks on how to improve our overall technical writing.
Preliminary Checks - Formatting and Structure

[x] Does your article follow any of the suggested structure formats? - see example formats
[x] Is your article properly formatted in Markdown? - see Github Markdown guide
[x] Have you used the correct folder and file structure? - see Contribution Guidelines
[x] Is your article over 750 words? - Tool: Wordcounter.net
[x] Have you used our preferred heading structure? - H3 (###) and up
[x] Does your article provide enough value and detail about your topic? - Articles should be clear, accurate, and fully explained.
[x] Can your article be understood by beginners? - Assume the audience is smart but has no prior exposure to the common terminology in your article.
[x] Have you included a hero image that is 600x400 pixels and have the copyright to use it? - Tools: Pixlr Image Editor for resizing and Unsplash for Creative Commons images
[x] In your PR - add a comment that states "This fixes #(enter your Idea Content Form #)" to link and close your Idea Content (issue) when the PR is merged.

Grammar & plagiarism checks

[x] Have you spellchecked and grammar checked your article? - Tools: Write&Improve - ProWritingAid -  Grammarly
[x] Please place your article through a 3rd party plagiarism checker? We suggest using Quetext, this tool is free and has a daily limit. We typically accept articles with 10% or less.
[x] Have you checked your article for readability? - Tool: Hemmingway
[x] Have you added sources for quotes and images that aren't yours?

Technical checks

[ ] Are your code snippets properly formatted for syntax highlighting - see Syntax guide

Contribution guidelines
For first-time contributors and for more details, see Contributing Guidelines

This fixes #2396

Any update on this PR? @cyberShaw

Any update on this PR? @cyberShaw

I'll do the review shortly

Can you please review this one? @WanjaMIKE

Sorry for the waiting, we will review it Asap @Pauline-Mwangi

Understanding Docker Networking #2570.pdf
@Pauline-Mwangi
👋 Good afternoon - and welcome to the EngEd program.
I'll be running a final review on your PR when ready.
Upon running your article through our 3rd party plagiarism checker it seemed to raise a few flags and the % was higher than we typically accept.
Please see attached PDF - and revisit the article to ensure we are contributing wholly unique and original content.
Be sure to see our resources page to see more info on plagiarism and what is considered as such.

@Pauline-Mwangi also correct the plagiarism before we move forward. Thanks

@Pauline-Mwangi any updates?

@WanjaMIKE I made the changes you suggested and worked on plagiarism

Checking the changes ...

Good work ladies 👍🚀 @Pauline-Mwangi @WanjaMIKE


Complete DMR

@USA-RedDragon  Does this repo contains complete DMR Protocol [Data Link and Control] Implementation?

No, this is much more of an untested "playground" for working with DMR in Go and is far from complete. https://github.com/pd0mz/go-dmr might have it, or https://github.com/OK-DMR/ok-dmrlib (python) and https://github.com/rick51231/node-dmr-lib (node) if you're not tied to Go


update vsg

Hello! Is there any plan to support the latest version of vsg

Sorry, this repository is currently not actively developed, and I have no plan to support newer version of VSG.
However, you can build lumrapido by using older VSG (around 2021).

Why didn't you use vsg's own method to load gltf? Is there a problem? Now I use vsg's own method to parse gltf, but the index is not the same as the official method provided by gltf.


Reuse of model example

Example of model reuse by having multiple parts referencing same model.

@jordig100, can you make this pull request to the new-directory-structure repository instead? I think you'll need to close this PR and open a new one.

It seems got the branch wrong


NSString and NSDate property values are removed after migration, when property goes in requiredProperties

Goals
Migrate a realm db, keeping old property values if the type of that property is not changed.
Expected Results
Before migration: NSString nullable property: value "hello world"
After migration: NSString non nullable property: value "hello world"
Before migration: NSDate nullable property: value 2016/04/06 11:45:51
After migration: NSDate non nullable property: value 2016/04/06 11:45:51
Actual Results
Before migration: NSString nullable property: value "hello world"
After migration: NSString non nullable property: value ""
Before migration: NSDate nullable property: value 2016/04/06 11:45:51
After migration: NSDate non nullable property: value 1970/01/01 9:00:00
Check models ModelSearchParam and ModelTab in the attached realm files persistent_before.realm and persistent_after.realm.
persistent.zip
Steps to Reproduce
Perform a migration by moving a property from nullable to non nullable without changing its type/name.
Code Sample
@interface ModelTab : RLMObject
@property NSDate*	modelUpdate;
@property BOOL		modelDelete;
@property NSString* tabId;
@property NSString* tabTitle;
@property int		tabIndex;
@property int		tabType;
@property int		siteId;
@property ModelSearchParam*	searchParam;
@property int		tabParam;
@end

@implementation ModelTab
+ (NSString*)primaryKey {
	return @"tabId";
}
+ (NSDictionary *)defaultPropertyValues {
	return @{
			 @"modelUpdate":[NSDate date],
			 @"modelDelete":@NO,
			 @"tabId":[[NSUUID UUID] UUIDString],
			 @"tabTitle":@"",
			 @"siteId":[NSNumber numberWithInt:ModelSiteIdWomen],
			 @"tabParam":[NSNumber numberWithInt:ModelTabParamNone],
			 };
}
// Just added this method in v. 96 (previous v. is 87)
+ (NSArray *)requiredProperties {
	return @[
			 @"modelUpdate",
			 @"tabTitle",
			 ];
}
@end

Version of Realm and Tooling
Realm version: 0.96.3 (same issue with 0.98.6 linked to the app that perform the migration)
Xcode version: 7.0.1
iOS/OSX version: 9.0
Dependency manager + version: CocoaPods 0.39.0

@rsahara
I think you need to copy old value to new properties in migration block. Like the following:
RLMRealmConfiguration *config = [RLMRealmConfiguration defaultConfiguration];
config.schemaVersion = 88;
config.migrationBlock = ^(RLMMigration *migration, uint64_t oldSchemaVersion) {
    [migration enumerateObjects:[ModelTab className] block:^(RLMObject * _Nullable oldObject, RLMObject * _Nullable newObject) {
        ...

        if (oldSchemaVersion < 88) {
            // You should copy old value to new properties
            newObject[@"tabTitle"] = oldObject[@"tabTitle"];
            newObject[@"modelUpdate"] = oldObject[@"modelUpdate"];
        }
    }];
};

RLMRealm *realm = [RLMRealm realmWithConfiguration:config error:nil];
...

Perhaps you only increment schema version though, but you didn't write migration block, right?

@kishikawakatsumi
That's what I did for our current update, when I realized those values were not automatically migrated. It works, but I considered it to be a workaround. I'd appreciate if you can improve this behavior, I believe this kind of migration can be done automatically by the library.
I don't think many people would prefer 1970/01/01 9:00:00 than the old value.
If it is too specific to our case, maybe some warnings or documentation on this behavior would be helpful, because 1970/01/01 9:00:00 was specified nowhere in our project and the migration ended without any warning/error log.
Thanks!

It is intended behaviour now, but your thought seems reasonable for me. We'll discuss to support save old value in the auto migration and document the behaviour more clearly. Also considering more verbose logs.
Thank you for pointing out it!


[ADD]: Pre-commit hook to keep the project clean

Summary
One can run a script to verify whether their changes are working, do they pass the automated tests etc?

Motivation
Integration tests

Additional Information

Hey @AbhijithGanesh, we do have GitHub Actions for running unit tests and integration tests.
https://github.com/SeaQL/sea-orm/actions

@billy1624 I meant, local pre-commit hooks for a smoother dev flow

Apologies, closed by mistake.

Apologies, closed by mistake.

Hahaa nvm!

I wonder what will be checked inside the pre-commit hooks? For example, running cargo fmt?

Unfortunately I have not seen #611 before amking this.
I think there is a slight conflict now, i will touch on this under the actual PR.

Hey @AbhijithGanesh, sorry for the conflict. I think similar code has been merged

https://github.com/SeaQL/sea-orm/pull/840
https://github.com/SeaQL/sea-orm/pull/919

Please check if you have anything to add.

Thanks @billy1624

Hey @AbhijithGanesh, please close this issue and PR (https://github.com/SeaQL/sea-orm/pull/611) if you think the merged PR is good enough and you have nothing to add.
Once again, thank you so much for the contributions :)

I think this PR is still open which can be merged. It's a pre commit check script which I think was good for developers to run locally.


”Șintereag”, ”Blăjenii de Jos”, ”Blăjenii de Sus” are listed in the drop-down menu

Description:
When user writes ”Șintereag”, ”Blăjenii de Jos”, ”Blăjenii de Sus” the locations appear in the drop-down menu next to the comune and the county witch is a part according to the law.
Precondition:
The website is up an running.

Step 1
Write in the search bar "Șintereag"

Expected results
The location appears in the drop-down menu as "Șintereag, Bistrița-Năsăud (Șintereag)".

Step 2
Press "x" button.

Expected results
The location was deleted from the search bar.

Step 3
Write in the search bar "Blăjenii de Jos"

Expected results
The location appears in the drop-down menu as "Blăjenii de Jos, Bistrița-Năsăud (Șintereag)".

Step 4
Press "x" button.

Expected results
The location was deleted from the search bar.

Step 5
Write in the search bar "Blăjenii de Sus"

Expected results
The location appears in the drop-down menu as "Blăjenii de Sus, Bistrița-Năsăud (Șintereag)".


:sparkles: Telemetry

LemLog should have a built in API to send telemetry data to a destination of the user's choice. Telemetry data should be hidden from the terminal, and LemLog's telemetry API should ensure that standard tools (such as a GUI) can parse telemetry data easily (ie, telemetry data should have a standard format). Whatever format is chosen should ensure that telemetry data is as small as possible, considering the limited serial buffer on the V5 Brain.
Prior art:

https://github.com/UZ9/pros-grafana-lib
https://github.com/BattleCh1cken/loginator

If this data could be sent thru COBS in stuff, eventually would be cool to have a sort-of application for a desktop computer to visualize live info about the robot


update etherscan and ethdoc links

This PR updates the links of Etherscan and Ethdoc plugins

New repositories are
https://github.com/Machinalabs/remix-ethdoc
https://github.com/Machinalabs/remix-etherscan

the profile also support a documentation key for linking to some doc, info outside of remix.
e.g https://github.com/ethereum/remix-plugins-directory/blob/master/plugins/ethpm/profile.json#L11


Cabana: show message if auth required

When trying to open a route by name without running auth.py first, it would be helpful if this was explained properly in the error message.

You need to provide "public access" for the route @ connect.comma.ai, under "More info"...


kumarkshitij171/ repetitive fab icon's issue: 112

Hello kumarkshitij171kumarkshitij171
Thank you so much for your interest in our project and for submitting your pull request. We appreciate the time and effort you've put into it.
I wanted to let you know that we recently merged a similar pull request from another contributor that addressed the same changes or additions you proposed. As a result, those changes have already been incorporated into the project, making your current pull request redundant.
However, we value your contribution and would love to have you involved in other areas of the project. If you're interested, we have a list of open issues that require attention , so you can work on another issue . We truly believe your skills and ideas would be an asset to the project.
Thank you once again for your contribution, and we hope to see you continue to be a part of our community.
Best regards,
Anup kumar jha


Support empty target_type for CelebA dataset

Previously, passing target_type=[] wouldn't work because of this line:
celeba = CelebA('whatever/dir', target_type=[])
celeba[0]  # IndexError: list index out of range

This is a workaround that returns only X instead of X, target if target_type is empty.

Codecov Report

Merging #1351 into master will increase coverage by 0.02%.
The diff coverage is 0%.

@@            Coverage Diff            @@
##           master   #1351      +/-   ##
=========================================
+ Coverage   65.47%   65.5%   +0.02%
=========================================
  Files          75      75
  Lines        5827    5829       +2
  Branches      892     893       +1
=========================================
+ Hits         3815    3818       +3
- Misses       1742    1743       +1
+ Partials      270     268       -2

Impacted Files
Coverage Δ

torchvision/datasets/celeba.py
19.23% <0%> (-0.51%)
:arrow_down:

torchvision/transforms/transforms.py
80.98% <0%> (+0.58%)
:arrow_up:

Continue to review full report at Codecov.

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

I had some doubts about the interface: in addition to X and X, None it is also possible to return X, tuple(). I'm not sure which option is best. What would you suggest?

I'd say just return None. If we always returned tuple I'd say that tuple might be better, but in the case of a single output option this is not the case.

Amended code and docstring. Please re-review.


Support PHP 8.1 Enum

Is your feature request related to a problem? Please describe.
With the release of PHP 8.1 being later this year support for enums is added to PHP.
Describe the solution you'd like
JsonMapper should support Enum when mapping Json to PHP objects.
Describe alternatives you've considered
The alternative of not supporting doesn't fit the goal of JsonMapper to support the common PHP features.
Additional context
https://wiki.php.net/rfc/enumerations

Fixed with #105, released as part of v2.8.0


Visual Studio Build Targets for OpenAPI Reference

This enables Visual Studio to do compile time design generation when using the dotnet openapi tool  https://docs.microsoft.com/en-us/aspnet/core/web-api/Microsoft.dotnet-openapi?view=aspnetcore-6.0
Issues #544
Also includes some additional tests because my branch management skills are poor.

TODO:

[ ] rename the targets package to fall under Microsoft.OpenAPI
[ ] rename the kiota package name to fall under Microsoft.OpenAPI
[ ] add ADO workflow for both packages (with credscan, code sign etc...)
[ ] add/update adequate workflow for mcr.microsoft.com image

Note: we're still missing the AME steps, pending on @ddyett approval for my group membership (MCR onboarders)


Java client generated by ApolloGraphQL capitalizes variable keys

If the operation has a capital cased vairable key, the generated client code has cpital casing in the query but has camelCase in variables. Due to which, I see this error from the
Error: GraphQL error: Variable 'PersonId' has coerced Null value for NonNull type 'PersonDetailsRequest!'.
Example:
If this is the query:
query Hello($PersonId: PersonDetailsRequest!) {
  PersonDetails(input: $PersonId) {
  firstName
  lastName
  phoneNumber
  }
}

This is the generated request from the java client:
{
   "operationName":"Hello",
   "variables":{
      "personId":{   <<<---- camelCased from PersonId
         "PersonId":"123"
      }
   },
   "query":"query Hello($PersonId: PersonDetailsRequest!) {  PersonDetails(input: $PersonDetailsRequest) {
  firstName
  lastName
  phoneNumber  }}"
}

I could avoid this issue by modifying the operation in the schema to have the camelCase itself.

I'm having the same exact problem, this issue should be reopened.


[PLAT-8617] Support EAS builds

Goal
To support EAS builds with bugsnag-expo, and enable sourcemap uploads using a new plugin.
Design
Plugin automates the approach used in the manual setup guide as the previously used expo postPublish hook no longer functions, so we will now keep a consistent approach.
The android build process is dependant on the following AGP 7.2.1 fix
Testing
New unit tests to test installation and configuration of plugin
CLI Update
$ bugsnag-expo-cli init
✔ @bugsnag/expo does not appear to be installed, do you want to install it and its dependencies? … yes
✔ If you want to install @bugsnag/expo ^45.0.0 hit enter, otherwise type the version you want … ^45.0.0
> Installing @bugsnag/expo. This could take a while!
✔ What is your Bugsnag API key? …<PHONE_NUMBER>0000000
> Inserting API key into app.json
✔ The following Bugsnag initialization lines will be added to App.js. Is this ok?

  import Bugsnag from '@bugsnag/expo';
  Bugsnag.start();

   … yes
> Inserting Bugsnag initialization into App.js
✔ Do you want to automatically upload source maps to Bugsnag? (this will modify your app.json) … yes
> Installing @bugsnag/plugin-expo-eas-sourcemaps.
> Inserting EAS plugin into app.json
✨  Done in 62.37s.

Without knowing the details of EAS builds, I think I'd expect some kind of build/test step(s) to be added to the Buildkite pipeline to show that this is working.  More than happy to talk through with you what we can do, if you can enlighten me a little on EAS!


Error when running install-scala-env

Hi,
Many thanks for your detailed Git tutorial series on Youtube. I was trying to follow along the Part 11 video which required installing Scala environment and used the script in install-scala-dev. However, I ran into an error, with the output shown below. May I know how to resolve this please? Also, is there an uninstall script to uninstall the Scala environment that is installed using the script?
[otterlover24@Vovo] ~/dev/interactive-rebase-playground/seven-segment-display-clock (main)
❯ curl -fLOs https://script.install.devinsideyou.com/scala-env
chmod +x scala-env && ./scala-env

  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:--  0:00:01 --:--:--     0
100   144  100   144    0     0     87      0  0:00:01  0:00:01 --:--:--    87
100 57.1M  100 57.1M    0     0  6968k      0  0:00:08  0:00:08 --:--:-- 16.1M
Checking if a JVM is installed
No JVM found, should we try to install one? [Y/n] Y
Extracting
  /home/otterlover24/.cache/coursier/v1/https/github.com/graalvm/graalvm-ce-builds/releases/download/vm-21.1.0/graalvm-ce-java8-linux-amd64-21.1.0.tar.gz
in
<EMAIL_ADDRESS>Done
Should we update ~/.profile? [Y/n] Y
Some shell configuration files were updated. It is recommended to close this terminal once the setup command is done, and open a new one for the changes to be taken into account.

Checking if ~/.local/share/coursier/bin is in PATH
Should we add ~/.local/share/coursier/bin to your PATH via ~/.profile? [Y/n] Y

Checking if the standard Scala applications are installed
 [    #     ]   Downloaded 56 POM files
Exception in thread "main" coursier.error.ResolutionError$CantDownloadModule: Error downloading com.lihaoyi:upickle-core_2.13:1.4.0
  download error: Caught java.net.ConnectException (Connection timed out (Connection timed out)) while downloading https://repo1.maven.org/maven2/com/lihaoyi/upickle-core_2.13/1.4.0/upickle-core_2.13-1.4.0.pom
        at coursier.Resolve$.$anonfun$validate$1(Resolve.scala:329)
        at scala.collection.TraversableLike.$anonfun$map$1(TraversableLike.scala:285)
        at scala.collection.Iterator.foreach(Iterator.scala:943)
        at scala.collection.Iterator.foreach$(Iterator.scala:943)
        at scala.collection.AbstractIterator.foreach(Iterator.scala:1431)
        at scala.collection.IterableLike.foreach(IterableLike.scala:74)
        at scala.collection.IterableLike.foreach$(IterableLike.scala:73)
        at scala.collection.AbstractIterable.foreach(Iterable.scala:56)
        at scala.collection.TraversableLike.map(TraversableLike.scala:285)
        at scala.collection.TraversableLike.map$(TraversableLike.scala:278)
        at scala.collection.AbstractTraversable.map(Traversable.scala:108)
        at coursier.Resolve$.validate(Resolve.scala:327)
        at coursier.Resolve.validate0$1(Resolve.scala:115)
        at coursier.Resolve.$anonfun$ioWithConflicts0$4(Resolve.scala:161)
        at coursier.util.Task$.$anonfun$flatMap$extension$1(Task.scala:14)
        at coursier.util.Task$.$anonfun$flatMap$extension$1$adapted(Task.scala:14)
        at coursier.util.Task$.wrap(Task.scala:84)
        at coursier.util.Task$.$anonfun$flatMap$2(Task.scala:14)
        at scala.concurrent.Future.$anonfun$flatMap$1(Future.scala:307)
        at scala.concurrent.impl.Promise.$anonfun$transformWith$1(Promise.scala:41)
        at scala.concurrent.impl.CallbackRunnable.run(Promise.scala:64)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
        at java.lang.Thread.run(Thread.java:834)
        at com.oracle.svm.core.thread.JavaThreads.threadStartRoutine(JavaThreads.java:517)
        at com.oracle.svm.core.posix.thread.PosixJavaThreads.pthreadStartRoutine(PosixJavaThreads.java:193)
Don't forget to restart your terminal and/or your session!

 It looks like it was just a small network issue. Just finish running the rest of the install script manually (make sure to restart the terminal before you run this) by doing
cs install ammonite bloop cs giter8 sbt scala scalafmt

The list of the apps is taken from https://github.com/DevInsideYou/install-scala-env/blob/master/install-scala-env.sh#L13
If you are a Scala dev and want to learn more about coursier/cs (it's the tool/package manager that is used by this script) I have a playlist about it.
Cheers and happy coding! :)


reconfigure SPI after initialization

Draft for #42
@Rahix can you please review if I made change in correct place? I will try to find some test case to prove this.

Test case with two Arduino: Mega2560(Master), Uno(Slave). Master connected via UART to PC (57600).

char from PC go Mega
Mega fwd. char to Uno via SPI
Uno echo char to Mega
Mega update  reconfigure SPI (serial clock rate)
Mega echo char to Uno
Uno echo char to Mega
Mega fwd char to PC

If received char will be same then test pass. Will review signals via logic analyzer between Uno and Mega
@Rahix should I change data order and mode to?

Looks like I'm not able to setup SPI to communicate between Arduino. I review with logic analyzer and I cannot get any output from Uno and Mega. @Rahix can you please review https://github.com/Rahix/avr-hal/pull/118


Dead link to deprecation comments

Found in VerilogCodingStyle.md at line 168:

Use standard formatting for comments, including C-like formatting for TODO and deprecation.

Deprecation Comments don't exist any more in Google's guide.

Thanks for the report - See #7 which attempts to fix this.


Taproot support

Afaik none of the hardware wallets we support currently has even a draft implementation of Taproot. But we can update this issue when that happens.

Not sure here, but as of July, there Appears to be some progress in the BotBox02, as of April
https://github.com/bitcoin-core/HWI/search?q=taproot

Tracking issue for Trezor Taproot Support: https://github.com/trezor/trezor-firmware/issues/1656

Ledger appears to have Taproot support now: https://blog.ledger.com/taproot-support/
Also, it appears HWI does not support the tr script expression for displaying an address. HWI currently returns tr is not a valid descriptor function when a BIP386 Taproot output descriptor is used for the --desc argument.

Great to hear that Ledger supports Taproot receive addresses.

Ledger appears to have Taproot support now: https://blog.ledger.com/taproot-support/

Interesting. I wasn't able to find any technical docs for how to use Taproot on ledger devices.

Also, it appears HWI does not support the tr script expression for displaying an address. HWI currently returns tr is not a valid descriptor function when a BIP386 Taproot output descriptor is used for the --desc argument.

This is currently in progress.

Trezor recently merged Taproot support for the Trezor T: https://github.com/trezor/trezor-firmware/pull/1891. The initial support PR will likely only include Trezor T support as it is the easiest one for me to find documentation for and test.

cc @btchip @TamtamHero

Trezor recently merged Taproot support for the Trezor T: trezor/trezor-firmware#1891. The initial support PR will likely only include Trezor T support as it is the easiest one for me to find documentation for and test.

Taproot for Trezor Model One is in this PR https://github.com/trezor/trezor-firmware/pull/1917 (soon to be merged). It should work the same way as on Trezor Model T, so if your HWI changes work with Trezor Model T, they should also work with the Trezor Model One.
Both Trezor Model T and Trezor Model One firmwares with Taproot functionality will be released in the middle of December.

Tracking issue for Trezor Taproot Support: trezor/trezor-firmware#1656

That one is closed and seperated into subtasks:
https://github.com/trezor/trezor-firmware/issues/1943
https://github.com/trezor/trezor-firmware/issues/1944
https://github.com/trezor/trezor-firmware/issues/1946

That one is closed and seperated into subtasks:
trezor/trezor-firmware#1943
trezor/trezor-firmware#1944
trezor/trezor-firmware#1946

That is not entirely correct. Taproot for singlesig has been implemented. The tasks you linked were created for remaining stuff not related to singlesig (such as message signing, ownership proofs and multisig).

Closing this, since at least some wallets now have basic Taproot keypath support.
Shameless plug for https://github.com/bitcoin/bitcoin/pull/23578 which adds Bitcoin Core support for importing keypath descriptors from an external signer.