[Feature]: Add more realistic scenario to find trace integration test

Requirement
This is a follow up of https://github.com/jaegertracing/jaeger/issues/3912
As a developer working on automatically running the TestExternalGRPCStorage tests against a custom storage that uses the OTEL translator libs and the gRPC plugin.
I want a more realistic scenario for the TestExternalGRPCStorage/FindTraces/Tags_+_Operation_name so that I can have more confidence on the results of the integration test.
Problem
We are using the OTEL translator pkg to ingest the spans, since that's the datamodel with started with:
Spans in fixture have different trace_id:
This test sends a span (a) from a trace and has 3 references to 2 other spans (b and c):

a CHILD_OF b
a CHILD_OF of c
a FOLLOWS_FROM c

https://github.com/jaegertracing/jaeger/blob/cac21f82950545b613f45d3984d96e1498bfd15d/plugin/storage/integration/fixtures/traces/tags_opname_trace.json#L4-L23
The problem is with the child relationship and the fact that each span has a different traceId. This breaks the parent relationship because when the translator tries to get the parent span it cannot find a match for the parent. ParentSpanID method makes the following assertion ref.TraceID == s.TraceID && ref.RefType == ChildOf and since each span belongs to a different trace no match is found:
https://github.com/jaegertracing/jaeger/blob/cac21f82950545b613f45d3984d96e1498bfd15d/model/span.go#L99-L109
OTEL doesn't have a concept of refType
The OTEL model doesn't define a span reference type (in the case of OTEL it would be link). When translating from otel to jaeger the parent span is assign the CHILD_OF refType, and all other links are assigned FOLLOWS_FROM:
https://github.com/open-telemetry/opentelemetry-collector-contrib/blob/7b5eb5280c15a5cc195d68757ba4c24c2c7f8eba/pkg/translator/jaeger/traces_to_jaegerproto.go#L260-L281
This explicitly says:

Since Jaeger RefType is not captured in internal data,  use SpanRefType_FOLLOWS_FROM by default.
SpanRefType_CHILD_OF supposed to be set only from parentSpanID.

This is a problem for the test because it's only setting one CHILD_OF when the test expects 2 from the result.
The expected based on the fixture is:
                "references": [
                    {
                        "trace_id": "AAAAAAAAAAAAAAAAAAAAEg==",
                        "span_id": "AAAAAAAAAP8="
                    },
                    {
                        "trace_id": "AAAAAAAAAAAAAAAAAAAAEg==",
                        "span_id": "AAAAAAAAAAI="
                    },
                    {
                        "trace_id": "AAAAAAAAAAAAAAAAAAAAAQ==",
                        "span_id": "AAAAAAAAAAI=",
                        "ref_type": 1
                    }
                ],

The first 2 are ref_type=0 which is CHILD_OF.
The actual result we are getting because the translator sets only one CHILD_OF is:
                "references": [
                    {
                        "trace_id": "AAAAAAAAAAAAAAAAAAAAEg==",
                        "span_id": "AAAAAAAAAP8="
                    },
                    {
                        "trace_id": "AAAAAAAAAAAAAAAAAAAAEg==",
                        "span_id": "AAAAAAAAAAI=",
                        "ref_type": 1
                    },
                    {
                        "trace_id": "AAAAAAAAAAAAAAAAAAAAAQ==",
                        "span_id": "AAAAAAAAAAI=",
                        "ref_type": 1
                    }
                ],

As you can see, since the translator takes the first CHILD_OF for the span parent id all the other relationships are FOLLOWS_FROM.
Proposal
Change the relationships that are being set in the fixture. Currently the following is being set:

span_a from trace_a CHILD_OF span_b from trace_b
span_a from trace_a CHILD_OF span_c from trace_c
span_a from trace_a FOLLOWS_FROM span_c from trace_c

We could change it to:

span_a from trace_a CHILD_OF span_b from trace_a
span_a from trace_a FOLLOWS_FROM span_b from trace_a
span_a from trace_a FOLLOWS_FROM span_c from trace_c

diff --git a/plugin/storage/integration/fixtures/traces/tags_opname_trace.json b/plugin/storage/integration/fixtures/traces/tags_opname_trace.json
index 664c19f9..86abf00a 100644
--- a/plugin/storage/integration/fixtures/traces/tags_opname_trace.json
+++ b/plugin/storage/integration/fixtures/traces/tags_opname_trace.json
@@ -7,13 +7,13 @@
       "references": [
         {
           "refType": "CHILD_OF",
-          "traceId": "AAAAAAAAAAAAAAAAAAAA/w==",
+          "traceId": "AAAAAAAAAAAAAAAAAAAAEg==",
           "spanId": "AAAAAAAAAP8="
         },
         {
-          "refType": "CHILD_OF",
-          "traceId": "AAAAAAAAAAAAAAAAAAAAAQ==",
-          "spanId": "AAAAAAAAAAI="
+          "refType": "FOLLOWS_FROM",
+          "traceId": "AAAAAAAAAAAAAAAAAAAAEg==",
+          "spanId": "AAAAAAAAAP8="
         },
         {
           "refType": "FOLLOWS_FROM",

I'll go ahead and open a PR with these changes. If you feel this is not the correct approach feel free to close both the issue and PR, or let me know and I'll close them.
Thanks.
Open questions
No response

Closing because multiple parents are supported for Jaeger spans.
For more context refer to this comment https://github.com/jaegertracing/jaeger/pull/3919#discussion_r975366622


Remove unused bool error

It seems the Bool error was replaced with BoolParsing and BoolType, but never removed. This PR removes it

please review


The latest version isn't easy to build

I tried revision ef96a4f on FreeBSD, followed instructions, and got failures:
$ lua52 premake5.lua gmake
lua52: premake5.lua:4: attempt to call global 'workspace' (a nil value)
stack traceback:
	premake5.lua:4: in main chunk
	[C]: in ?
[yuri@yv /usr/ports/misc/box2d/work/Box2D-ef96a4f]$ lua53 premake5.lua gmake
lua53: premake5.lua:4: attempt to call a nil value (global 'workspace')
stack traceback:
	premake5.lua:4: in main chunk
	[C]: in ?

Not sure where to go from here.
I discovered that cmake-based build is nicer.

@yurivict I works fine on premake5 xcode. I downloaded premake v5 on https://premake.github.io/download.html#v5.
Then comment the line // IM_ASSERT(0); // Could not load file.

@mechazod I have compiled it with premake v5. you need to copy the Data/DroidSans.ttf to the folder which the binary files in.
My problem is
2019-02-21 17:21:20.497475+0800 Testbed[34248:533683] *** Assertion failure in -[GLFWContentView _createLayerAndInitialize], /BuildRoot/Library/Caches/com.apple.xbs/Sources/AppKit/AppKit-1671.10.106/AppKit.subproj/NSView.m:17237
I can not found how to resolve this issue.
any idea?

@monalisir No, idea to resolve. I'm beginner on this. But what can I suggest is go pull the latest master and try to create a new Build using premake5 that I suggest.

yes, premake5, master branch, latest code. But still failed.
could u can launch the Testbed binary?

Yes, it works fine when i run exactly the compile.

I had the same issue and managed to solve it by:

Installing the latest version of GLFW and GLEW. I've followed this tutorial here: https://riptutorial.com/opengl/example/21105/setup-modern-opengl-4-1-on-macos--xcode--glfw-and-glew-
Opening the Testbed project in Xcode.
Then dragging the libGLEW.2.1.0.dylib and libglfw.3.3.dylib files (from /usr/local/lib)  to the folder "Frameworks" in Xcode.
Then deleting the folder "glfw" from the project.

I think the version of GLFW present in Testbed is incompatible with Mojave. I hope that helps :)

It should be easy to build in a sense that the user should type one command - and it should build it.
Otherwise, are you suggesting that every user should perform multiple steps to install just one package? There is about a thousand of packages that the average user needs to have installed.

Sorry, I've missed the point from the thread. I just pointed out one possible solution to get this working in OSX Mojave. I agree with you that it should be easier to get it up and running. Solving this issue might be trivial for someone who has experience in c++ development env. on Mac but for beginners like me it might take a while to figure out how to get it working... Maybe someone who is knowledgeable about this could update the libs in order to make them compatible with more recent Mac OSX versions?

Should be easier now with the cmake build system. There are some specific instructions for XCode here https://github.com/erincatto/box2d/blob/master/README.md


fix(costmodels): fix redirect issue on cost model update

This fixes a bug when updating a cost model.
The problem was due to the changes I did to the cost model routing and now that cost models details page and cost model details page are two different pages, I had to update the Redux action as well.
Now, when the cost model is successfully updated we will fetch it specifically and not all the cost models.
//cc @lcouzens

Codecov Report

Merging #1612 into master will decrease coverage by 0.02%.
The diff coverage is 0.00%.

@@            Coverage Diff             @@
##           master    #1612      +/-   ##
==========================================
- Coverage   78.69%   78.66%   -0.03%
==========================================
  Files         237      237
  Lines        3886     3886
  Branches      714      714
==========================================
- Hits         3058     3057       -1
- Misses        729      730       +1
  Partials       99       99

Impacted Files
Coverage Δ

src/store/costModels/actions.ts
89.74% <0.00%> (-2.57%)
:arrow_down:

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 f2e931d...80784df. Read the comment docs.

Thank you @ddonahue007 & @dlabrecq


[Feature] Make sql_header configuration available on tests

Is this your first time submitting a feature request?

[X] I have read the expectations for open source contributors
[X] I have searched the existing issues, and I could not find an existing issue for this feature
[X] I am requesting a straightforward extension of existing dbt functionality, rather than a Big Idea better suited to a discussion

Describe the feature
The sql_header model configuration is a convenient way to define a temporary BigQuery UDF, as described in the dbt docs. It would be helpful to have this configuration available on tests as well for the same purposes.
Describe alternatives you've considered
No response
Who will this benefit?
No response
Are you interested in contributing this feature?
No response
Anything else?
No response

@epapineau ! So good to see you 😄
Are you thinking primarily data tests or unit tests or both? If data tests is included, singular or generic or both?
Could you share a simplified code example in which you'd want to define a temporary BigQuery UDF and a test that would use it?

Are you thinking primarily data tests or unit tests or both? If data tests is included, singular or generic or both?

Data tests! And probably both singular and generic - can't imagine having the ability in one and not the other

Could you share a simplified code example in which you'd want to define a temporary BigQuery UDF and a test that would use it?

I've been working with the temporary UDF recommended here this week. I'm creating a temporary UDF using sql_headers in my model, but I'd like to be able to test the key values in a singular data test to confirm they can successfully cast to integers. However, I'm not able to create the temporary UDF in the test like I am in the model. LMK if you want something more explicit here 👍

LMK if you want something more explicit here 👍

Something more explicit would be great! It would serve as a two-fer-one:

It will help us more tangibly consider this proposal 🧠
If we end up adopting this proposal, then we can drop a variation of the explicit example into pytest to make sure it works as expected 💪

Okay, here's an example using the UDF from the article linked above to get keys and values from JSON. In this example, I want the test to fail where test is null. I currently can't define a temp UDF in a test w/o sql_header config on a test node.
{%- call set_sql_header(config) -%}
    CREATE TEMP FUNCTION EXTRACT_KV_PAIRS(json_str STRING)
    RETURNS ARRAY<STRUCT<key STRING, value STRING>>
    LANGUAGE js AS """
    try{
        const json_dict = JSON.parse(json_str);
        const all_kv = Object.entries(json_dict).map(
            (r)=>Object.fromEntries([["key", r[0]],["value",
                                    JSON.stringify(r[1])]]));
        return all_kv;
    } catch(e) { return [{"key": "error","value": e}];}
    """;
{%- endcall -%}

-- sample JSON requiring a UDF to extract keys
WITH
sample_json AS(
  SELECT '{"1":{"status":"success"},"2":{"status":"success"},"NaN":{"status":"unsuccess"}}' AS payload
),
-- use UDF
extracted_pairs as (
  SELECT EXTRACT_KV_PAIRS(payload) as kv_list FROM sample_json
)
SELECT
    items.key as id,
    SAFE_CAST(items.key AS INTEGER) as test  -- Test fails for rows where test is null
FROM extracted_pairs
CROSS JOIN UNNEST(kv_list) as items

@dbeatty10 hi! Could i take your draft PRs?
I've worked on good_first_issue issue in dbt-core, but I didn't contribute to dbt-adapter.

I'm wondering if I could do it,
and if so, is it okay to do on reference branch of draft-PR (e.g. dbeatty/9775-sql-header)?

@dbeatty10 sql_header is not working on unit tests too, maybe we could take care of that one as well?
Would https://github.com/dbt-labs/dbt-adapters/pull/145 changes also affect them? I would need to rework my local setup to test if you don't know 👀

There is a patch for this at https://takemikami.com/2024/0921-dbt-bigquery-sql-header.html. It worked well when I tried it. I wonder what it would take to get it into the release.


[stable/osclass] Add ingress support

Signed-off-by: Javier J. Salmeron Garcia<EMAIL_ADDRESS>
What this PR does / why we need it:
This PR adds ingress support
Which issue this PR fixes
(optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close that issue when PR gets merged)

fixes #

Special notes for your reviewer:
Checklist
[Place an '[x]' (no spaces) in all applicable fields. Please remove unrelated fields.]

[x] DCO signed
[x] Chart Version bumped
[x] Variables are documented in the README.md

/ok-to-test
/lgtm


is it possible to delete driver pod when spark application complete

when i invoke System.exit() in spark driver
the driver pod status is COMPLETED or ERROR，the executors would be deleted
a the same time, i want to delete driver pod, is that possible ?

i found "timeToLiveSeconds" and it works, thanks.


Fix default values for rotation snapping in canvas_item_editor_plugin

Default values for snap_rotation_step and snap_rotation_offset were transposed. Swap them back.
Fixes #63674.

Redone as #63690, without the accidental merge.


[BugFix] InsertStmt add shuffle property for non-duplicate keys

What type of PR is this：

[x] bug
[ ] feature
[ ] enhancement
[ ] others

Which issues of this PR fixes ：

Fixes #6230
Problem Summary(Required) ：

OlapTableSink may be executed in multiply fragment instances of different machines
For non-duplicate key types, we must guarantee that the orders of the same key are exactly the same. In order to achieve this goal, we can solve this issue by performing shuffle exchange before TableSink so that the same key will be sent to the same fragment instance

[FE PR Coverage check]
:heart_eyes: pass : 20 / 20 (100.00%)
file detail

path
covered line
new line
coverage

:large_blue_circle:
com/starrocks/analysis/HashDistributionDesc.java
1
1
100.00%

:large_blue_circle:
com/starrocks/sql/InsertPlanner.java
19
19
100.00%

Would better create an issue for this bug.

@liuyehcf Make sure there is an issue to link and to solve.

This can only ensure that the copy data is consistent, but does not guarantee the order of import for non-duplicate key types?

@liuyehcf Will this cause load performance degradation？ And to which extent.

@liuyehcf Will this cause load performance degradation？ And to which extent.

For simple insert into statement, such as insert into t0 select * from t0, no extra exchange node will be added.
And for some cases, such as insert into t0 select min(k1), c2 from t0 group by c2` where c2 is not the key columns, then the extra exchange node will be added to enforce the desired distribution property

Need to check the replication number of the target table.

[FE PR Coverage check]
:heart_eyes: pass : 20 / 20 (100.00%)
file detail

path
covered line
new line
coverage

:large_blue_circle:
com/starrocks/analysis/HashDistributionDesc.java
1
1
100.00%

:large_blue_circle:
com/starrocks/sql/InsertPlanner.java
19
19
100.00%

[FE PR Coverage check]
:heart_eyes: pass : 20 / 20 (100.00%)
file detail

path
covered line
new line
coverage

:large_blue_circle:
com/starrocks/analysis/HashDistributionDesc.java
1
1
100.00%

:large_blue_circle:
com/starrocks/sql/InsertPlanner.java
19
19
100.00%

[FE PR Coverage check]
:heart_eyes: pass : 23 / 23 (100.00%)
file detail

path
covered line
new line
coverage

:large_blue_circle:
com/starrocks/analysis/HashDistributionDesc.java
1
1
100.00%

:large_blue_circle:
com/starrocks/sql/InsertPlanner.java
22
22
100.00%

@Mergifyio backport branch-2.2


style: alert the name of struct context to streamContext

Signed-off-by: Starnop<EMAIL_ADDRESS>
Ⅰ. Describe what this PR did
Alert the name remotecommand.context to remotecommand.streamContext in CRI Stream Manager.
Ⅱ. Does this pull request fix one issue?

None.
Ⅲ. Describe how you did it
Ⅳ. Describe how to verify it
Ⅴ. Special notes for reviews

Codecov Report

Merging #1741 into master will increase coverage by <.01%.
The diff coverage is 0%.


Move PackageRegistryTool to async/await

Move PackageRegistryTool to async/await
Motivation:
Continue replacing older concurrency primitives with native async/await
Modifications:
Replace all usage of temp_await with actual async/await in the PackageRegistryTool
Result:
One additional executable target that is natively async/await

@swift-ci test

@swift-ci test windows

@swift-ci test windows


Rendering Problem of  Real Captured Scene

Hi~
When I use the demo scene "sphares", the rendering result is like the image I post below.
If I made some mistake, could you help me to fix it?
or maybe it's some bug caused by pointing to wrong image atlas.

Is this using the latest version of this project?

Yes, the is using the latest version of the project.
And I have already figured out what causes this issue.
The block grid size is wrong, and I've sent a pull request to fix it.


bug: JSON config used in linux binary package 0.4.2

The https://github.com/TheDiscordian/ipfs-sync/releases/download/v0.4.2/ipfs-sync-linux64.tar.xz is using JSON in systemd/README.md and systemd/user/ipfs-sync.service instead of YAML #25
Ps. I didn't checked other releases

v0.4.2 was released before YAML support was added :)


[CARBONDATA-2196]carbontable should be taken from loadmodel during stream

Be sure to do all of the following checklist to help us incorporate
your contribution quickly and easily:

[x] Any interfaces changed? No

[x] Any backward compatibility impacted? No

[x] Document update required? No

[x] Testing done  NA

[x] For large changes, please consider breaking it into sub-tasks under an umbrella JIRA. NA

Build Failed  with Spark 2.1.0, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder1/3819/

Build Success with Spark 2.2.1, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder/2574/

SDV Build Success , Please check CI http://<IP_ADDRESS>:8080/job/ApacheSDVTests/3608/

retest this please

Build Failed  with Spark 2.1.0, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder1/3832/

Build Success with Spark 2.2.1, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder/2588/

retest this please

Build Success with Spark 2.1.0, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder1/3841/

Build Success with Spark 2.2.1, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder/2596/

Build Success with Spark 2.2.1, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder/2618/

Build Success with Spark 2.1.0, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder1/3863/

SDV Build Success , Please check CI http://<IP_ADDRESS>:8080/job/ApacheSDVTests/3644/

Build Success with Spark 2.2.1, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder/2685/

Build Failed  with Spark 2.1.0, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder1/3929/

Build Success with Spark 2.2.1, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder/2687/

Build Success with Spark 2.1.0, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder1/3932/

SDV Build Success , Please check CI http://<IP_ADDRESS>:8080/job/ApacheSDVTests/3703/

SDV Build Success , Please check CI http://<IP_ADDRESS>:8080/job/ApacheSDVTests/3705/

Build Success with Spark 2.2.1, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder/2762/

Build Success with Spark 2.1.0, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder1/4006/

LGTM

Build Failed  with Spark 2.1.0, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder1/4016/

Build Failed with Spark 2.2.1, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder/2772/

retest this please

Build Success with Spark 2.1.0, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder1/4019/

Build Success with Spark 2.2.1, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder/2775/

LGTM


Base class compatibility for ConditionalContainer

DigitalCreative\ConditionalContainer\ConditionalContainer::jsonSerialize() must be compatible with Laravel\Nova\Fields\Field::jsonSerialize()

Can you merge this and send a PR to the main repo for Nova 4 compatability


fixed some grammar mistakes

Nice changes overall :+1:, but I disagree with two of the changes, as indicated in the inline comments.

Restarted the build and it passed! so thats good.
I agree that some of these are borderline but I really appreciate the pull request!! So going to merge based on that, code wins arguments :) 🎉

Good call. Welcoming contributions is certainly more important than pedantry. Besides, the new phrasings aren't incorrect either :)


Gulp concat seems to have issue with gulp sourcemaps

I get following error when I use gulp sourcemaps with concat
Error: Invalid mapping: {"generated":{"line":1,"column":9},"source":"bootstrap/mixins/_clearfix.scss","original":{"line":14,"column":-7},"name":null}
at SourceMapGenerator_validateMapping [as _validateMapping] (D:\POCs\RIC_Redesign\node_modules\source-map\lib\source-map-generator.js:277:13)
at SourceMapGenerator_addMapping [as addMapping] (D:\POCs\RIC_Redesign\node_modules\source-map\lib\source-map-generator.js:101:12)
at D:\POCs\RIC_Redesign\node_modules\concat-with-sourcemaps\index.js:60:28
at Array.forEach (native)
at SourceMapConsumer_eachMapping [as eachMapping] (D:\POCs\RIC_Redesign\node_modules\source-map\lib\source-map-consumer.js:155:14)
at Concat.add (D:\POCs\RIC_Redesign\node_modules\concat-with-sourcemaps\index.js:58:18)
at DestroyableTransform.bufferContents [as _transform] (D:\POCs\RIC_Redesign\node_modules\gulp-concat\index.js:68:12)
at DestroyableTransform.Transform._read (D:\POCs\RIC_Redesign\node_modules\readable-stream\lib_stream_transform.js:159:10)
at DestroyableTransform.Transform._write (D:\POCs\RIC_Redesign\node_modules\readable-stream\lib_stream_transform.js:147:83)
at doWrite (D:\POCs\RIC_Redesign\node_modules\readable-stream\lib_stream_writable.js:347:64)
at writeOrBuffer (D:\POCs\RIC_Redesign\node_modules\readable-stream\lib_stream_writable.js:336:5)
at DestroyableTransform.Writable.write (D:\POCs\RIC_Redesign\node_modules\readable-stream\lib_stream_writable.js:274:11)
at DestroyableTransform.ondata (D:\POCs\RIC_Redesign\node_modules\readable-stream\lib_stream_readable.js:546:20)
at emitOne (events.js:96:13)
at DestroyableTransform.emit (events.js:188:7)
at readableAddChunk (D:\POCs\RIC_Redesign\node_modules\readable-stream\lib_stream_readable.js:217:18)

Can you provide a full code sample?

Same issue for me, but it seems not related to concat.
The bug is in libsass and confirmed in gulp-sass, but not fixed yet.
As a workaround, downgrade gulp-sass to ^2.3.2

Any news?

Bug is with another library (libsass) not gulp-concat so I'm going to close this. Needs to be fixed in libsass.


Build failure: upower-1.90.4

Steps To Reproduce
Steps to reproduce the behavior:

build upower-1.90.4

Build log
https://gist.github.com/khaneliman/def089a719457fe9f4b11f5e7bc217c7
'''

Summary of Failures:
68/68 Tests.test_battery_state_guessing                          TIMEOUT        80.55s   killed by signal 15 SIGTERM
Ok:                 67
Expected Fail:      0
Fail:               0
Unexpected Pass:    0
Skipped:            0
Timeout:            1
'''

Additional context
i see it's a timeout and might just be a dumb transient issue... but i got it about 5 times in a row.
Notify maintainers
@NixOS/freedesktop

Metadata
Please run nix-shell -p nix-info --run "nix-info -m" and paste the result.
[user@system:~]$ nix-shell -p nix-info --run "nix-info -m"
🔨 Welcome to khanelinix
 - system: `"x86_64-linux"`
 - host os: `Linux 6.8.7, NixOS, 24.05 (Uakari), 24.05.20240419.5c24cf2`
 - multi-user?: `yes`
 - sandbox: `relaxed`
 - version: `nix-env (Nix) 2.21.2`
 - channels(root): `""`
 - nixpkgs: `/etc/nix/inputs/nixpkgs`

Add a :+1: reaction to issues you find important.

Did you try building just upower alone? Often these failures are result of resource pressure.

Nah, that would have made too much sense. lol


FIX TypeScript Example: Babel exclude undefined

Since the format was changed, the exclude is undefined from the rules array. Leading babel to crash by processing node_modules and probably the rest of the internet if we let it... 😄

The red build is not my fault ↴
/home/travis/build/nozzle/react-static/src/webpack.js
  50:33  error  'args' is defined but never used  no-unused-vars
✖ 1 problem (1 error, 0 warnings)

Linting fixed with PR https://github.com/nozzle/react-static/pull/113

@tannerlinsley green — can be merged without afterthoughts


unbound startup problem

# rm -rf /var/unbound
# mkdir -p /var/unbound
# chown -R unbound:unbound /var/unbound
# chroot -u unbound -g unbound / /usr/local/sbin/unbound-control-setup -d /var/unbound

Produces the following error since updating unbound to 1.5.7:
34379175320:error:0E079065:configuration file routines:DEF_LOAD_BIO:missing equal sign:/usr/src/secure/lib/libcrypto/../../../crypto/openssl/crypto/conf/conf_def.c:346:line 6
/usr/local/sbin/unbound-control-setup fatal error: could not create unbound_server.pem

I've just upgraded a fresh installed 16.1 and now face the same issue. How do I solve the Prob?

@mircsicz run this once on the console:
# unbound-control-setup -d /var/unbound

THX a ton! ;-)

Lookie, it's an upstream bug... https://www.nlnetlabs.nl/bugs-script/show_bug.cgi?id=729

Fixed via patching unbound port https://github.com/opnsense/ports/commit/aa4cf2dd91ef4a1ce87efc6fbe558ebba6ea09e8


[SPARK-44438] Shutdown scheduled executor used for maintenance task if an error is reported

What changes were proposed in this pull request?
Shutdown scheduled executor used for maintenance task if an error is reported
Why are the changes needed?
Without this change, we basically would never clean up the maintenance task threads and the pointer is lost too, so we have no way to shutdown this scheduled executor which could eventually lead to thread exhaustion. The change here fixes this issue.
Does this PR introduce any user-facing change?
No
How was this patch tested?
Added unit tests
[info] - SPARK-44438: maintenance task should be shutdown on error (759 milliseconds)
13:59:57.755 WARN org.apache.spark.sql.execution.streaming.state.StateStoreSuite:

===== POSSIBLE THREAD LEAK IN SUITE o.a.s.sql.execution.streaming.state.StateStoreSuite, threads: rpc-boss-3-1 (daemon=true), shuffle-boss-6-1 (daemon=true) =====
[info] Run completed in 2 seconds, 255 milliseconds.
[info] Total number of tests run: 1
[info] Suites: completed 1, aborted 0
[info] Tests: succeeded 1, failed 0, canceled 0, ignored 0, pending 0
[info] All tests passed.

cc - @HeartSaVioR - PTAL. Thx !

Thanks! Merging to master.


About the differences between the apollo cyber and dev images.

Hi,
Here told the following:
As you may already know, Apollo was run inside Docker container, and there are two flavors of Apollo docker images, CyberRT (Cyber for short) and Dev . Cyber images were for developers who want to play with the CyberRT framework, while Dev images were for all others.
But based on the above descriptions, I'm still not so clear on the differences between the apollo cyber and dev images. Any hints will be highly appreciated.
Best regards,
HY

Hi,
Here told the following:
As you may already know, Apollo was run inside Docker container, and there are two flavors of Apollo docker images, CyberRT (Cyber for short) and Dev . Cyber images were for developers who want to play with the CyberRT framework, while Dev images were for all others.
But based on the above descriptions, I'm still not so clear on the differences between the apollo cyber and dev images. Any hints will be highly appreciated.
Best regards,
HY

Put it shortly, the Cyber image was just enough to build  all libraries and tools under the cyber directory, while dev image was for building the whole Apollo project.

I must admit that  I am not a good technical writer with fluent English, if that confused you.


Description for Each Indicator

I am very new to technical indicators, and there are over 200 indicators.
where can I find the documentation for each indicator with math? if documentation is not available, will this project accept my contribution?

Hello @chandraveshchaudhari,
There are a few ways listed under the Readme Help. Help with documentation is always welcome. 😎
Documentation with math has been removed starting with the development branch. Instead of including math in the help, links to the indicator source (which may or may not have math) have been provided. This helps keep documentation maintenance minimal.
What might be better instead, if your keen, is perhaps making a separate markdown file for the math of the indicators? What do you think?
Kind Regards,
KJ

Hello KJ,
I will create markdown for indicators description and share it as soon as
possible.
Regards,
Chandravesh Chaudhari
Financial Artificial Intelligence Research,
CHRIST University (Bengaluru)
On Sat, 3 Sep, 2022, 12:11 am Kevin Johnson, @.***>
wrote:

Hello @chandraveshchaudhari https://github.com/chandraveshchaudhari,
There are a few ways listed under the Readme Help
https://github.com/twopirllc/pandas-ta#help. Help with documentation is
always welcome. 😎
Documentation with math has been removed starting with the development
branch. Instead of including math in the help, links to the indicator
source (which may or may not have math) have been provided. This helps keep
documentation maintenance minimal.
What might be better instead, if your keen, is perhaps making a separate
markdown file for the math of the indicators? What do you think?
Kind Regards,
KJ
—
Reply to this email directly, view it on GitHub
https://github.com/twopirllc/pandas-ta/issues/584#issuecomment-1235802747,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AIC4VLUN27SSQHIOBLHXJGLV4JC5NANCNFSM6AAAAAAQCP6LWI
.
You are receiving this because you were mentioned.Message ID:
@.***>

@chandraveshchaudhari,
So as not to reinvent the wheel completely, I highly recommend checking out the details provided by Sierra Chart Indicators. A lot of them do have mathematical notation. Lastly no rush.
KJ

Thanks, I'll check them out.
Regards,
Chandravesh Chaudhari
Financial Artificial Intelligence Research,
CHRIST University (Bengaluru)
On Sat, 3 Sep, 2022, 2:48 am Kevin Johnson, @.***>
wrote:

@chandraveshchaudhari https://github.com/chandraveshchaudhari,
So as not to reinvent the wheel completely, I highly recommend checking
out the details provided by Sierra Chart Indicators
https://search.sierrachart.com/?Query=indicator&submitted=true. A lot
of them do have mathematical notation. Lastly no rush.
KJ
—
Reply to this email directly, view it on GitHub
https://github.com/twopirllc/pandas-ta/issues/584#issuecomment-1235905773,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AIC4VLXSJLHJFNGTOQ3NON3V4JVMDANCNFSM6AAAAAAQCP6LWI
.
You are receiving this because you were mentioned.Message ID:
@.***>


Handling corrupt paket.exe downloads

Potential fix for #1994, don't think its ready for pulling yet but thought I'd put it up for feedback.

That looks interesting!

Is this error related to anything I've done?

Also does it make sense to validate the NuGet package version? Seems like it should be unnecessary.


feat: WAL recovery

This implements WAL recovery.

#343  👈
master

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @pepyakin and the rest of your teammates on  Graphite

Merge activity

Aug 27, 11:09 AM EDT: @rphmeier started a stack merge that includes this pull request via Graphite.


How to only show the muscles

I have got thisthis. But there always show the yellow skin. How can I only show the muscles

Hi @Ming-Start , there is an example how to do it at the bottom of the ICRA2023 Colab Tutorial
# find geometries with ID == 1 which indicates the skins
geom_1_indices = np.where(env.sim.model.geom_group == 1)
# Change the alpha value to make it transparent
env.sim.model.geom_rgba[geom_1_indices, 3] = 0

env.sim.renderer.set_viewer_settings(
           render_actuator=True,
           render_tendon=True
       )

let us know if it works for your use-case


"Phantasia" Geist

A geist that uses Stable Diffusion to generate an image from an entry and displays it in the feed (maybe 1-3 in an Instagram gallery post format).
Relevant: https://twitter.com/wattmaller1/status/1573768941096374274?s=46&t=KCBvfHjAPNTvZc72uY_Thw
Could also extend to video and 3D as they become possible options? (See: https://twitter.com/poolio/status/1575576632068214785?s=21&t=c6DQS3EjP-3eZ_08czR35g)

Could be prototyped using https://replicate.com/ to get a quick result and check usefulness, in the longer term doing this on device seems ideal.


Setting IsEnabled via ARM has no effect on Microsoft.Automation/automationAccounts/softwareUpdateConfigurations

Tested in "Microsoft.Automation/automationAccounts/softwareUpdateConfigurations",  "apiVersion": "2019-06-01" with ARM New-AzResouceGroupDeployment
The documentation states:
isEnabled "Gets or sets a value indicating whether this schedule is enabled." bool
There is no enabled property on the "Microsoft.Automation/automationAccounts/schedules" resource for this to effect.
The only way to actually enable/disable a softwareUpdateConfiguration is via the UI. Setting IsEnabled with ARM template deployment has no effect.
Example:
ARM template RG deployment output:

Actual resultant setting in Portal UI:

Hey @elanzel,
I just migrated this issue over from CARML. Please take a look and triage if still relevant :)

Updated API version to 2023-05-15-preview, the scheduling is enabled


python binding - extractKinetics

No warnings come up if extract_kinetics run without gravity vectors and mass within subject properties

The function ma::body::extract_joint_kinetics only looks for segment poses and joint forces and moments for each ma::body::DynamicsDescriptor found. The computation of segments and joint forces and moments are done within the function ma::body::reconstruct. Thus, no warning are displayed because no information was found.
The problem might be deeper than the display of a warning. The way to activate the inverse dynamics is not simple (set the gravity vector). The code might be refactored. For example, a new class ma::LaboratorySettings is in development to set the gravity direction and magnitude. This class might manage the need or not to compute the inverse dynamics. A specific option in this class might trigger the computation of the inverse dynamics. Thus, when the function ma::body::extract_joint_kinetics is used, the inverse dynamics computation set to truebut no information was found, a warning could be displayed.
Would it be a better way?

I like the class ma::LaboratorySettings and the proposed process
I thin ma::LaboratorySettings  s the best place for stating the gravity vector.


Chained builder does not work when parameters change names for subrequests

I am trying to generate a client for the ConnectWise REST API.
In that API are two get requests, one inside the other:
/finance/agreements/{id}
/finance/agreements/{parentId}/additions/{id}

When building the second request with a C# generated client, the chained syntax does not work:
client.Finance.Agreements["1"].Additions["2"]

This gives a dictionary key conflict exception:
"An item with the same key has already been added. Key: id"
This is because client.Finance.Agreements["1"] added a key called id to the dictionary with id:1, and then Additions["2"] tried to add a key to the same dictionary (a new dictionary based on the existing PathParameters) with the same name, id:2, but actually that parameter changed names during the building process.
You could argue that it's a problem with the API design, but this is a large public API that can't be changed by the consumer, and as far as I know, it's allowed within the OpenAPI spec.
This is not just a problem of conflicts, but also changing names when building subrequests - even if there was not a conflict, the name change would still break it.
There is a work around to create the builder from scratch:
new ApiSdk.Finance.Agreements.Item.Additions.Item.AdditionsItemRequestBuilder(
    new Dictionary<string, object> { { "parentId", "1" }, { "id", "2" }},
    requestAdapter)

but it would be nicer if the chained syntax could handle this e.g. by adjusting the key names when PathParameters is passed to the subrequest, or by building the value into the base url for the subrequest.

Hi @ghelyar ,
Thanks for your interest in kiota and for reaching out.
It is in fact invalid, see paths object, under path templating matching, the second example

The following paths are considered identical and invalid:

/pets/{petId}
/pets/{name}

The easiest thing for you to do at this point is probably to copy the description locally, edit it so the first path's parameter is now named "parentId" and use that as a source for generation.
You should also reach out to the API producer to let them know so they can fix it in the source.
Let us know if you have further questions.

In this case I don't think the paths are identical, one is a sub-path of the other, but there is no ambiguity there, because once you add /additions it no longer matches the first template.
It's not particularly nice though and is probably an edge case at least.
If I have to mess with the openapi then there's not much point to using client generation anyway, building a path is not hard, it's mostly useful for request/response generation.

Fair enough, I might have been extra zealous when reading the specification here.
I've authored #3760 which improves the deduplication logic, and should result in fewer collisions.
Note: collisions are still possible with this new implementation, the only way to check would be to get an inventory of all sub path parameters and check for collisions on every replacement, but this would be costly.


Undefined variable: g:markdown_fenced_languages

This error shows up whenever I open a markdown file. I'm using neovim 0.6.0, here's my configuration: https://gitlab.com/gabmus/mydotfiles/-/tree/master/nvim/dot-config/nvim

Hey, sorry for the long wait on this, I've missed it somehow. I think I solved this, so let me know if you still have any trouble.


OAK-9136: Allow elasticsearch port to be read from secrets

Reading port as a String instead of Integer as the values provided for interpolation are Strings

I didn't try this in k8s environment. I directly tried on a local environment by setting the value of
org.apache.felix.configadmin.plugin.interpolation.secretsdir in sling.properties file.
I did some debugging and here are the findings -
The value we specify in OSGI configuration for reading from secrets is $[secret:elasticsearch/port] - which is a string. This string gets replaced by actual value by InterpolationConfigurationPlugin. However if we specify that the property type is integer (by using intValue in the @Property annotation in ElasticIndexProviderService), the string $[secret:elasticsearch/port] never reaches InterpolationConfigurationPlugin. This is because ConfigurationAdmin tries to convert $[secret:elasticsearch/port] to an integer here and it fails.

@averma21 I asked because I have seen ìntValue(s) used a lot in the codebase (see LuceneIndexProviderService as an example).

@fabriziofortino using intValue is not a problem. In fact it should be used whenever we want to read an integer. However, I think due to the mechanism by which felix configAdmin and interpolation works, we can't use intValue in any property which depends on interpolation.
The code breaks at a point before it has even gone to read the value of port from secret file. So I think the value in secret file doesn't matter in this case. The code breaks while converting the string  $[secret:elasticsearch/port] to integer. It is not breaking while converting the value present in the secret file to integer. It doesn't even reach that point.
However I am trying this on a k8s deployment and just to be 100% sure I will even try what you suggested :)

I checked on k8s with an old image (which doesn't contain fix of this PR) and I changed author's secret to not quote the port value from values file. However it didn't solve the issue.
I didn't remove the quote on publish and I checked the difference in the secret file that is created on both of them. There was no difference. Using cat to view the file showed just 9200 at both places.
I also tested the solution in this PR and this is solves the issue.


Automate publication of new versions

CocoaPods
For the Snowplow iOS Tracker, must be pushed from a Mac:

Install XCode from AppStore
sudo gem install cocoapods
Register your PC with pod trunk register<EMAIL_ADDRESS>'Snowplow Analytics' --description='<computer desc>'
Now cd /vagrant/snowplow-ios-tracker
Make sure to update SnowplowTracker.podspec's s.version to correct version
Make sure to update SnowplowSPTracker.m's kSPVersion to correct version
Make sure to update the VERSION file (what is this?) to the correct version
Now lint pod spec lint --allow-warnings
Finally pod trunk push --allow-warnings

Static library

git clone https://github.com/snowplow/snowplow-objc-tracker.git
Open Snowplow.xcworkspace in XCode
Select the SnowplowTracker-iOS-Static scheme and set device to iOS Device
Then run Archive from the Product menu
This will open a new Finder window with a file containing SnowplowTracker.framework
Compress this file
Rename it to snowplow_objc_tracker_${VERSION}.zip
Create a new version in Bintray and upload the zip file

Per:
https://github.com/CocoaPods/CocoaPods/issues/1234
Change the pod spec lint --allow-warnings to pod lib lint --allow-warnings

Added "publish" string for keyword search (keep struggling to find this ticket)

I have tried to fix that in this branch https://github.com/snowplow/snowplow-objc-tracker/tree/matrix-all-versions (quality is WIP and I am not at all experienced in objc but I hope it helps) Unfortunately as you can see here: https://travis-ci.org/snowplow/snowplow-objc-tracker/builds/557852562 I got stuck on the macOS test failing at compile time.


fix(client): Report server abruptly going away in the middle of event emission

Closes #22

:tada: This issue has been resolved in version 1.2.5 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Socket.io configuration templates need to be updated for latest Sails.js v0.11/Socket.io v1.0 release.

Migration guide details issues here. I'm new to socket.io but I'll try to see if I can submit a PR that addresses these issues.

There is currently an issue with socket.io building on windows. I'll update what's needed on my generators, but if you're using windows for dev there will be compile issues until socket.io fix their issues.


Merge in updated template

Motivation

Solution

PR Checklist

[ ] Added Tests
[ ] Added Documentation
[ ] Updated the changelog

Codecov Report

Merging #71 (a8cc26c) into main (1cf174c) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main      #71   +/-   ##
=======================================
  Coverage   42.91%   42.91%
=======================================
  Files          18       18
  Lines        5490     5490
=======================================
  Hits         2356     2356
  Misses       3134     3134

Flag
Coverage Δ

test
42.91% <ø> (ø)

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

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 1cf174c...a8cc26c. Read the comment docs.


Restrict sizing recommendations to supported instance types

We are recommending resizing to a1 instance types in AWS, however A1 instance types aren't available in some regions a cluster is operating in. AWS has the nasty habit of rolling out new instance types to only a handful of regions. Can we ensure an instance type is available in the region we are recommending a change in?
@srpomeroy @kbrwn @michaelmdresser
#gz967

For clarity: this is a request to fix feature incompleteness of cluster right-sizing.
Current cluster right-sizing recommendations are based on a snapshot of available instances in a single region. We need to update this to either have a snapshot of all regions (easier) or live-load data for relevant regions (harder, but more robust long-term if implemented correctly).

@AjayTripathy I'd like to get this prioritized, even if we want to do something really small to make this less confusing for users. Your thoughts?

This issue is being closed because it may not be relevant to the OpenCost project and appears stale. If you feel this was closed in error, please open a new OpenCost issue with updated details or if it is still relevant for Kubecost please open an issue with Kubecost Support.


Update Particles

Some aspects of particles now moved to How_To, new particles features page

Thanks a lot!


Add static projects text in projects tab

Closing this as the plan now is for mapwarper to just act as an API.
The front end would be in another project


CAS auth sometimes fails to apply

It seems that sometimes when the dynos cycle, the CAS auth block is not applied. Since the USE_HARVARD_KEY setting is applied in the R buildpack's run script (rather than at compile time), it might be that it's not available when Apache is configured and started.
Best option might just be to combine the buildpacks into a new one.

I noticed be that I had the R buildpack listed before Apache in some apps. That might cause the problem, although you'd think that if this process was totally deterministic then the order would either make it work all the time or never. In any case, it's worth looking into whether the buildpacks should be combined.


Add new columns to MediaStore and database

Fixes

Fixes #166 by @obulat, fixes #121 , fixes #152
Description

This PR combines handling of TSV columns and database columns by using a common Column class for both. Column class provides the value validation before writing to TSV, and methods for creating database queries (creation, updating, upserting) specific to column types.
As was discussed , we make TSV files use versions, and insert the data that is available in TSV into the database, changing the column order where necessary. The versions I selected are '000' for 'legacy' image TSV, and '001' for current image and audio TSVs, but I'm very open to suggestions on that 😄
This PR adds or updates the following data columns:

category becomes a common column for both Audio and Image, and is converted from StringColumn to an ArrayColumn to match the API image category.
filetype is added to both Audio and Image. The provider API scripts will need to be updated to add filetype.
filesize: instead of automatically setting it to None, now we can set it in ImageStore and AudioStore .add_ methods.
set_position added to the Audio table.
Before deploying to production, it will be important to add the missing database columns to the production database.

Testing Instructions

To test these changes, you will probably need to run just recreate to make sure that databases are updated to the new version.
Run the containers, log in to Airflow Web UI. Un-pause jamendo, tsv_to_postgres_loader and recreate_audio_popularity_calculation dags. Jamendo task runs for a very long time, so it's best to check in the logs that some lines have been written to the tsv file:

and mark the pull_image_data as success:

A couple of minutes later, the tsv_to_postgres_loader will load the tsv to postgres db. Then you can trigger the recreate_audio_popularity_calculation dag to create the audio_view which is the data view that is used by the API.
[Instructions copied from #169]
Checklist

[x] My pull request has a descriptive title (not a vague title like Update index.md).
[x] My pull request targets the default branch of the repository (main) or a parent feature branch.
[x] My commit messages follow best practices.
[x] My code follows the established code style of the repository.
[x] I added or updated tests for the changes I made (if applicable).
[ ] I added or updated documentation (if applicable).
[x] I tried running the project locally and verified that there are no visible errors.

Developer Certificate of Origin

Developer Certificate of Origin
Developer Certificate of Origin
Version 1.1

Copyright (C) 2004, 2006 The Linux Foundation and its contributors.
1 Letterman Drive
Suite D4700
San Francisco, CA, 94129

Everyone is permitted to copy and distribute verbatim copies of this
license document, but changing it is not allowed.

Developer's Certificate of Origin 1.1

By making a contribution to this project, I certify that:

(a) The contribution was created in whole or in part by me and I
    have the right to submit it under the open source license
    indicated in the file; or

(b) The contribution is based upon previous work that, to the best
    of my knowledge, is covered under an appropriate open source
    license and I have the right under that license to submit that
    work with modifications, whether created in whole or in part
    by me, under the same open source license (unless I am
    permitted to submit under a different license), as indicated
    in the file; or

(c) The contribution was provided directly to me by some other
    person who certified (a), (b) or (c) and I have not modified
    it.

(d) I understand and agree that this project and the contribution
    are public and that a record of the contribution (including all
    personal information I submit with it, including my sign-off) is
    maintained indefinitely and may be redistributed consistent with
    this project or the open source license(s) involved.

The loader refactoring seems really interesting! ✨ I want to take a look at it in more detail later. I don't think I'll have much to add after all good @AetherUnbound's comments 😄

I knew nothing would escape your keen eyes! Thank you for the review, @krysal :)

I've run the following steps on production (audio was already up-to-date, interestingly enough):
ALTER TABLE image
     ADD COLUMN filetype character varying(5),
     ADD COLUMN category character varying(80)[];

DROP MATERIALIZED VIEW image_view;

CREATE FUNCTION standardized_image_popularity(provider text, meta_data jsonb)
 RETURNS FLOAT AS $$
   SELECT ($2->>metric)::FLOAT / (($2->>metric)::FLOAT + constant)
   FROM image_popularity_constants WHERE provider=$1;
 $$
 LANGUAGE SQL
 STABLE
 RETURNS NULL ON NULL INPUT;

CREATE MATERIALIZED VIEW image_view AS
   SELECT
     identifier,
     created_on,
     updated_on,
     ingestion_type,
     provider,
     source,
     foreign_identifier,
     foreign_landing_url,
     url,
     thumbnail,
     width,
     height,
     filesize,
     license,
     license_version,
     creator,
     creator_url,
     title,
     meta_data,
     tags,
     watermarked,
     last_synced_with_source,
     removed_from_source,
     filetype,
     category,
     standardized_image_popularity(
       image.provider, image.meta_data
     ) AS standardized_popularity
   FROM image;

The matview creation is still running at this time but is expected to complete without issue (famous last words).


MacOs Stopped at python migrate...

On macos it stopped here
python3 migrate-ggml-2023-03-30-pr613.py gpt4all-lora-quantized-ggml.bin ../gpt4all-ui/models/gpt4all-lora-quantized-ggml.bin
will fix it and try again but have to regenerate uninstall script first

In the updated script, I added a check for the operating system using the uname command. If the operating system is macOS (Darwin), the script will use python3 instead of python3.11 to run the migration script. This should resolve the issue, but like I said in the read me I cannot promise you that.
`#!/bin/bash
function colored_echo() {
local color=$1
local text=$2
case $color in
red) echo -e "\033[31m$text\033[0m" ;;
green) echo -e "\033[32m$text\033[0m" ;;
blue) echo -e "\033[34m$text\033[0m" ;;
*) echo "$text" ;;
esac
}
colored_echo "blue" "Starting the installation process..."
colored_echo "green" "Step 1: Changing to Downloads directory"
cd ~/Downloads/
colored_echo "blue" "Step 2: Updating the system and performing housekeeping tasks (optional)"
read -p "Do you want to update your system? (y/n): " update_choice
if [ "$update_choice" = "y" ]; then
brew update && brew upgrade
brew cleanup
else
colored_echo "red" "System update skipped."
fi
colored_echo "green" "Step 3: Installing required packages"
brew install python3.11 cmake git
brew install --cask docker
brew install pipx
pipx ensurepath
pipx install docker-compose
colored_echo "green" "Step 4: Cloning repositories"
git clone https://github.com/nomic-ai/gpt4all.git
git clone https://github.com/nomic-ai/gpt4all-ui.git
git clone https://github.com/ggerganov/llama.cpp.git
colored_echo "green" "Step 5: Installing nproc using Python 3.11"
python3.11 -m pip install nproc
colored_echo "green" "Step 6: Installing required Python packages from gpt4all-ui"
python3.11 -m pip install -r gpt4all-ui/requirements.txt
colored_echo "green" "Step 7: Making the installer file executable and running it"
chmod +x gpt4all-ui/install.sh
(cd gpt4all-ui/ && ./install.sh)
colored_echo "green" "Step 8: Moving and configuring files"
mv llama.cpp/convert-gpt4all-to-ggml.py gpt4all-ui/
curl -L -o tokenizer.model https://huggingface.co/decapoda-research/llama-7b-hf/blob/main/tokenizer.model
mv tokenizer.model gpt4all-ui/models/
cp gpt4all-ui/models/gpt4all-lora-quantized-ggml.bin llama.cpp/
rm gpt4all-ui/models/gpt4all-lora-quantized-ggml.bin
cp gpt4all-ui/models/tokenizer.model llama.cpp/models/
cd llama.cpp/
python3 -m pip install numpy
python3 -m pip install torch
python3 -m pip install nomic
make
python3 -m pip install torch numpy sentencepiece
cd
cd Downloads/
cp gpt4all-ui/convert-gpt4all-to-ggml.py llama.cpp/
cd llama.cpp/
Detect operating system and use the correct Python version
OS=$(uname)
if [ "$OS" = "Darwin" ]; then
PYTHON_CMD="python3"
else
PYTHON_CMD="python3.11"
fi
$PYTHON_CMD migrate-ggml-2023-03-30-pr613.py gpt4all-lora-quantized-ggml.bin ../gpt4all-ui/models/gpt4all-lora-quantized-ggml.bin
cd ../gpt4all-ui/
bash run.sh
colored_echo "green" "Open your browser and go to localhost:9600"
colored_echo "red" "Start this manually by going into the gpt4all-ui folder and running: bash run.sh"
colored_echo "blue" "Big thanks to the authors of GPT4ALL, GPT4ALL-UI and llama.cpp - they are the real ones! Script Author: DoingFedTime from https://youtube.com/doingfedtime"
`

working now !


service providers called twice

Laravel Version: 5.2.45
PHP Version: 5.6
Database Driver & Version:

Description:

Create View
Include another view with @include
in included view user asset() or url() helper function
in AppServiceProvider boot method use log (Log::info(CLASS . METHOD);), to log how many time the boot method is executed | do this with any other service provider
view the log logs/laravel.log -> method called 2 times

All service providers is are called twice
This is when you are rendering list of product.
Steps To Reproduce:

You might have a redirect that is being done?. Did you check that?.
Include this in the log:         \Request::fullUrl(); maybe there you can find what is triggering that behaviour

Could you show a minimal included view that repeats this issue? The asset()/url() function generates urls for separate queries. It sounds like you issue a second request (image, ajax, ...), where this behavior is normal.

Thanks for the help. Yes, this was the problem second request. If there is a resource (image) that is not available, new request is performed and 404 is returned. So X missing resources X requests.
Conclusion: before make asset() call, check if the resource is available.


workflow for new pathogen

Add workflow information in readme.md in code section to describe workflow for a new pathogen
(1) what folders need to be created [execute functions in script.R]
(2) how to clean data
(3) which files to add to generate plots & tables

redundant, team working on a new / better approach to this.


Export Assets trends/balance on a month-by-month basis

Hi!
I am a new user of this great api. Thank a lot for the effort!
I was wondering if it was possible to download a CSV file with the final balance of each and every account, at the end of every month. I noticed that in the Trend page, on Mint website, there is a section called Assets > Over Time, which is exactly what I am aiming for.
At the bottom of that page there is an option to download a CSV version of that summary, and the callback action linked to that is https://mint.intuit.com/dataTableDownload.event. However, if I click to download that file, the only thing I get is an empty CSV.
Is it just me, or do you get the same problem?
Any alternative solution to get the 'start of the month' balance?
Thanks!

Welcome! If the error is on Mint itself, there's not much the API can do, but if it does work, feel free to submit a PR to support this from the API if it doesn't already!

Hi @burkematthew , wanted to chime in on this enhancement. I wanted to pull daily account balance data from Mint (for example, from Debts > Over Time > Some_Account. If I choose a time frame of one month, it will give me 30 days of data that I can export to CSV. If I choose any time frame over one month, Mint will lump it into two data points, one for each month. So to get data over a year, I would go and adjust the Custom time frame for each month. I thought this is sort of similar to the current issue, except it is to export it to get daily data instead of monthly. Or should I open a new issue? Thanks.

@eliluong when I get to working on this enhancement, I'll see what flexibility Mint provides us in terms of dates to include and how to group data, i.e. monthly, daily, yearly, etc. I'll keep that in mind while working on the enhancement. I appreciate the additional use case to consider!


Overmind Mode: 1 Thread commands all bot from Spectrator Seat

add the mode to config.js
add the new behavior to the feeder.js
emit a packet when a spectrator bot has new commands for the feeder bots
distribute the different movment commands via the server (direct message)

@davidmann4 That's great and it would easily work but how will the spectating bot be tracking you?

ball_id

@davidmann4 Alright hope someone makes a pull request but I think many don't want to mention Agar.io as you say this is only for Ogar...

Right, I don't understand why @davidmann4 change the name of the project and try to remove Agar.io from this project, is there anything we don't know?
Everyone here trying to help in any way is coming because they want Agar.io bots.

agar.io takes legal action against botters and you are not allowed to use 'agar' because it's copyrighted

Ok, I didn't know that.

Agar is a science related substance.  Why can I not use that name?  I thought a generic name couldn't be trademarked/copyrighted.

@MasonBurdette @WJKH Because now they've made it as business so if you use it the "kill" you. I don't care and I will use Agar.io and Agar as much as I want, it is a public name....

Maybe using Agar is possible not Agar.io

Ok then instead of Ogar I want to use Agar..  Thanks

If Agar want stop bots, first they should ban bot sellers IPs as 90% of bots come from those websites.
Simple and easy.


Fix VPC endpoint security group assigment

Issue
when VPC endpoint is created, the aws-vpc-operator assign security groups are listed in AWSCluster.status but it doesn't check if all SGs are there.
there is a race condition that can cause that very early there is only a default security group and only that one is assigned to the VPC endpoint Saw it happened multiple times in a short period so it's not that rare
the aws-vpc-operator should wait for all security groups or update the vpc endpoint every reconciliation to add more groups
but the update could theoretically be too late for the first cp and can block cluster creation
see the discussion here:
https://github.com/giantswarm/aws-vpc-operator/pull/10#discussion_r1025292468

@nprokopic I think we can close this issue because the VPC endpoint security groups are set correctly. I haven't seen any issues for the past few days.

The fix works. Closing...


Devstack job fixes

Do we really want to enable all tests ?
:P
======
Totals
======
Ran: 1885 tests in 5785.0000 sec.
 - Passed: 1715
 - Skipped: 66
 - Expected Fail: 0
 - Unexpected Success: 0
 - Failed: 104
Sum of execute time for each test: 17127.1656 sec.

==============
Worker Balance
==============
 - Worker 0 (431 tests) => 1:36:08.827012
 - Worker 1 (513 tests) => 1:34:47.402430
 - Worker 2 (481 tests) => 1:17:03.388144
 - Worker 3 (460 tests) => 1:31:18.348174


ci(NODE-5312): change windows hosts to vsCurrent

Description
What is changing?

vs2019 -> vsCurrent
Gathered all the hosts into constants, with the intention to make a quick reference of which hosts we depend on

Is there new documentation needed for these changes?
What is the motivation for this change?
vsCurrent is a more recent OS and is better maintained
Double check the following

[ ] Ran npm run check:lint script
[ ] Self-review completed using the steps outlined here
[ ] PR title follows the correct format: type(NODE-xxxx)[!]: description

Example: feat(NODE-1234)!: rewriting everything in coffeescript

[ ] Changes are covered by tests
[ ] New TODOs have a related JIRA ticket

All Windows tests are passing.


changes to the documentation

the documentation was making a reference to the wrong member
it was referencing base when the actual member is called prefix

No problem. Just a heads up though, I started reading the next chapter and
it seems you use the same code to build from for the rest of the book, so
you might have to propagate the change to other parts of the repo
On Fri, Aug 20, 2021, 12:58 Maxwell Flitton @.***>
wrote:

@.**** approved this pull request.
Thank you for catching this
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/PacktPublishing/Rust-Web-Programming/pull/12#pullrequestreview-735173724,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AJPW5GSGIBVP24K2T3TXUT3T5Z3SBANCNFSM5CQP7RZQ
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&utm_campaign=notification-email
.

@imarambiocatan I'm working on the second edition of the Rust web programming book. There are some improvements/updates on the JWT and database connections. I've also included a ReactJS front-end for the to-do application: https://github.com/PacktPublishing/Rust-for-Web-Developers


Light turn ON randomly

Hi! Thanks for your great work!!1
I have one Sonoff D1 dimmer integrated in my Home assistant with your integration. It works great. The only issue is that the light turn ON ramdomly. Below my configuration :

sonoff:
devices:
1000d0451d:
devivekey: !secret sonoff_devicekey

Is there something I missed?
Thanks!!!!

Just realized that there is atyping error in "devicekey". Sorry! Will have a try.


Code highlighting not working on ubuntuu

Hi,
I installed using sudo snap install code
I only has vscode-solidity and beautifier extensions installed but highlighting is not working.
My OS is Ubuntuu.
Thanks for advance.

@abdojapan it does work in ubuntu.

Try restarting vscode?

Thank you. It's a little weird. I tried restarting visual studio and the whole machine.
Here are the settings

But there is no highlighting.

That is super strange, as code highlighting is the most simple thing the extension does. Also I assume that is the latest version, this is an issue with vscode itself. Maybe reinstalling vscode will help.

@abdojapan There was a report of having some issues in windows similar to yours, the solution is to do a full uninstall. Checkt his https://superuser.com/questions/1380208/how-to-completely-uninstall-visual-studio-code-from-windows-10 it will be similar in ubuntu.

That is super strange, as code highlighting is the most simple thing the extension does. Also I assume that is the latest version, this is an issue with vscode itself. Maybe reinstalling vscode will help.

Thank you very much.
I removed the extension, then removed visual studio code as you said, then reinstall both and now it works!
For future viewers, removing the extension alone and reinstalling the extension again didn't help.
Also leaving the extension installed and removing visual studio code and reinstalling visual studio code again didn't help.
I had to remove the extension first and do the following and it worked.
sudo snap remove code
sudo snap install --classic code

@abdojapan There was a report of having some issues in windows similar to yours, the solution is to do a full uninstall. Checkt his https://superuser.com/questions/1380208/how-to-completely-uninstall-visual-studio-code-from-windows-10 it will be similar in ubuntu.

Yes, seems to be related to lurking files causing this issue. Thank you very much.


Mark flaky BuildProgressCrossVersionSpec

Observed in https://builds.gradle.org/buildConfiguration/Gradle_Master_Check_Quick_1_bucket3/79926442?buildTab=tests&orderBy=duration&order=desc

The merge queue build has started. Click here to see all failures if any.


The max producer message size

I set the max message size (Producer.MaxMessageBytes = 2 * 1024) , using AsyncProducer send a message length beyond limit  ,  however the rest message  that not beyond  limit can not be send

Hi Wens, the MaxMessageBytes value is applied to the total serialized size of the message, including the key, the value, and 26 bytes of metadata overhead. If your value is under the limit but very close, it is entirely possible that the message will end up too long.
I would also note that 2KiB is unusually small. Kafka brokers by default accept messages up to 1MB, so unless you have a good reason to limit your message size I would consider raising it.
Hope the above solves your problem. If it doesn't, please provide the information requested at https://github.com/Shopify/sarama/blob/master/CONTRIBUTING.md#reporting-issues so we can help further.

Hi Evan Huus ,thank you for reply .I wrote a test case .
package main

import (
	"time"
	"os"
	"os/signal"
	s "github.com/Shopify/sarama"
	"fmt"
)

func main() {

	kconf := s.NewConfig()
	kconf.Producer.MaxMessageBytes = 2 * 1024
	kconf.Producer.Retry.Max = 2
	kconf.Producer.Timeout = time.Second * 6
	kconf.Producer.Flush.Frequency = time.Second * 1
	kconf.Producer.Flush.Messages = 1

	kclient, err := s.NewClient( []string{"<IP_ADDRESS>:9092"}, kconf )

	if err != nil {
		panic(err)
	}

	defer kclient.Close()

	producer, err := s.NewAsyncProducerFromClient(kclient)
	if err != nil {
		panic(err)
	}
	defer producer.Close()

	msg1 := []byte("message1")
	msg2 := []byte("message2")
	msg3 := []byte("message3")

	for i := 0 ; i < 1024 ; i++ {
		msg2 = append(msg2 , []byte("Go")... )
	}

	producer.Input() <- &s.ProducerMessage{
		Value:s.ByteEncoder(msg1),
		Topic:"test" ,
	}

	fmt.Println("Send msg1 complete")

	producer.Input() <- &s.ProducerMessage{
		Value:s.ByteEncoder(msg2),
		Topic:"test" ,
	}

	fmt.Println("Send msg2 complete")

	producer.Input() <- &s.ProducerMessage{
		Value:s.ByteEncoder(msg3),
		Topic:"test" ,
	}

	fmt.Println("Send msg3 complete")

	c := make(chan os.Signal, 1)
	signal.Notify(c, os.Interrupt, os.Kill)
	<-c

}

output ：
Send msg1 complete
Send msg2 complete

The main goroutine blocking at sending msg3 forever , and the consumer only receive one message (message1)
My environment  is

Golang 1.4.2
kafka_2.9.1-<IP_ADDRESS>

The async producer returns errors (such as too-large messages) over the Errors() channel. Clients are required to either read from this channel, or set Producer.Return.Errors = false to indicate that they don't care about any errors.
Since you never read from this channel, Sarama blocks trying to write to it, and stops processing messages.


Add additional parameter to preserve png colormap.

Hey,
Could you please explain what this feature does, why it is needed, and what are the consequences on the produced files?
Thanks.

This option tells the PNG encoder not to optimize the palette and to preserve the exact colormap.
In my case, I had a 32bit gray icon and the PNG encoder converted it to grayscale with not the exact same color.
Thanks to this parameter I was able to get the correct output I was expecting.


Add workflow for Lint checks

@Cliftonz @unicodeveloper

Pls don't merge yet. Still testing to confirm it works fine @Cliftonz

We're good 👍🏽


Visual editor overwrites my custom yaml items

Is there an existing issue for this?

[X] I have searched the existing issues

Current Behavior
When using the visual editor, it overwrites any custom items I had in the yaml. For example when using the layout card with grid:
view_layout:
grid-area: xxx
Steps To Reproduce
Add custom items to yaml. Change settings with visual editor. Custom items disappear.
Expected behaviour
The custom yaml items should not be removed.
Card Version
4.6.1
Home Assistant Version
2023.12
Configuration
No response
Relevant log output
No response

Hi. Yes unfortunately this is a know issue. For now you need to switch to the code editor and copy them before making changes using the visual editor. Once done you can paste them back.

I have an idea what might be causing this.
The editor is using the cards' specific config type. When a calue changes, it emits it in this specific type. We could apply a spread operator after the fact to make sure any missing attributes are retained.
I will quickly have a look today.

Thank you.  As an example additional card attributes that are not included in the config that are overwritten/removed when using the visual editor are
view_layout:
  grid-area: flow

and
card_mod:
  style: |
    ha-card {
      --ha-card-background: transparent;
      box-shadow: none;
      border: 0px;
    }

I added the spread operator. From my limited tests, it seems to do the job, however, I do not have any card mods so cannot really test if the functionality is present.

My commit did not fix this it results in the following error

Will quickly have a look

So #188 alone gives me the following. What other mods can I test?
https://streamable.com/sr872m

I found the issue. I had accidentally commented out some code. Pushing a fix now

can you test 4.7.2

can you test 4.7.2

Seems to working for me.


segfault while running binary release

I'm getting the following error when downloading release.zip and following the instructions to run the release. I'm running inside the ros:jazzy docker container
root@Predator:/rai/src/rosbot_release# ./RAIRosbotXLDemo.GameLauncher -bg_ConnectToAssetProcessor=0
Archive: Opening archive file engine_linux.pak
Archive: Opening archive file game_linux.pak
Launcher: Running project "RobotVacuumSample"
The project name has been successfully set in the Settings Registry at key "/O3DE/Runtime/Manifest/Project/project_name" for Launcher target "RobotVacuumSample_GameLauncher"
Launcher: The asset cache folder of /rai/src/rosbot_release/Cache/linux has been successfully read from the Settings Registry
Module: Attempting to load module:libevdev.so
Module: Failed with error:
libevdev.so: cannot open shared object file: No such file or directory
Input: libevdev.so not found - gamepad support disabled.  Install libevdev2 to enable.
Launcher:
==================================================================
Launcher: Trace::Warning
 /husarion_project/o3de/Code/Framework/AzGameFramework/AzGameFramework/Application/GameApplication.cpp(149): 'virtual void AzGameFramework::GameApplication::StartCommon(AZ::Entity *)'
Launcher: Console-mode was requested but not supported on this platform

Launcher: ==================================================================
AzFramework::FileTagManager:
==================================================================
AzFramework::FileTagManager: Trace::Error
 /husarion_project/o3de/Code/Framework/AzFramework/AzFramework/FileTag/FileTag.cpp(267): 'virtual bool AzFramework::FileTag::FileTagQueryManager::Load(const AZStd::string &)'
AzFramework::FileTagManager: File (/rai/src/rosbot_release/Assets/Engine/exclude.filetag) does not exist on disk. Unable to load the file.

AzFramework::FileTagManager: ==================================================================
FileTagQueryComponent:
==================================================================
FileTagQueryComponent: Trace::Error
 /husarion_project/o3de/Code/Framework/AzFramework/AzFramework/FileTag/FileTagComponent.cpp(71): 'virtual void AzFramework::FileTag::ExcludeFileComponent::Activate()'
FileTagQueryComponent: Not able to load default exclude file (/rai/src/rosbot_release/Assets/Engine/exclude.filetag). Please make sure that it exists on disk.

FileTagQueryComponent: ==================================================================
System: Network layer initialized
RHISystem: Initializing RHI...
RHISystem: 	Enumerated physical device: llvmpipe (LLVM 17.0.6, 256 bits)
RHISystem: 	Using physical device: llvmpipe (LLVM 17.0.6, 256 bits)
PhysXSystem: PhysXConfiguration was read from settings registry at pointer path "/Amazon/Gems/PhysX5/PhysXSystemConfiguration
PhysXSystem: Default Scene Configuration was read from settings registry at pointer path"/Amazon/Gems/PhysX5/DefaultSceneConfiguration
PhysXSystem: Debug::DebugConfiguration was read from settings registry at pointer path "/Amazon/Gems/PhysX5/Debug/PhysXDebugConfiguration
ROS2SystemComponent: Enabling realtime clockBundlingSystem: Opening bundle engine_linux.pak
BundlingSystem: Opening bundle game_linux.pak
Launcher: CriticalAssetsCompiled
Launcher: Application is configured to use device local files at /rai/src/rosbot_release/Cache/linux
Launcher: Log and cache files will be written to device storage
<19:22:33> BackupNameAttachment=" Build(1) 15 Sep 24 (19 22 33)"  -- used by backup system
<19:22:33> Log Started at Sun Sep 15 19:22:33 2024
<19:22:33> Built on Aug 14 2024 18:14:44
<19:22:33> Running 64 bit Linux version
<19:22:33> FileVersion: <IP_ADDRESS>
<19:22:33> ProductVersion: <IP_ADDRESS>
<19:22:33> Using CLANG C++ Standard Library implementation
<19:22:33> Loading Config file game.cfg (/rai/src/rosbot_release/Cache/linux/game.cfg)
<19:22:33> creating CVarGroups from directory 'Config/CVarGroups' ...
<19:22:33> [Warning] Config file user.cfg not found!
<19:22:33> GameName: RobotVacuumSample
<19:22:33> BuildTime: Aug 14 2024 18:14:44
<19:22:33> Remote console listening on: 4600
<19:22:33> [Warning] (System) - <Audio>: Running without any AudioSystem!
<19:22:34> SetGlobalState 1->3 'INIT'->'LEVEL_LOAD_PREPARE' 0.0 seconds
<19:22:34> SetGlobalState 3->4 'LEVEL_LOAD_PREPARE'->'LEVEL_LOAD_START' 0.0 seconds
<19:22:34> [Warning] (AssetContainer) - Asset levels/loft/loft.spawnable ({FBEFCE9D-E77E-55F0-B0F8-ED27F64C7242}:61878383) references/depends on asset {87483028-CC96-565F-BAA7-A077504E76EC}:0 which does not exist in the catalog and cannot be loaded.
<19:22:34> [Warning] (AssetContainer) - Asset levels/loft/loft.spawnable ({FBEFCE9D-E77E-55F0-B0F8-ED27F64C7242}:61878383) references/depends on asset {5F8FB595-FDF2-5FBB-8442-E675E89F9F4F}:cff6a8d3 which does not exist in the catalog and cannot be loaded.
<19:22:34> SetGlobalState 4->8 'LEVEL_LOAD_START'->'LEVEL_LOAD_PRECACHE' 0.0 seconds
<19:22:34> SetGlobalState 8->10 'LEVEL_LOAD_PRECACHE'->'LEVEL_LOAD_END' 0.0 seconds
<19:22:34> Game Level Load Time: [<IP_ADDRESS>] Level Levels/loft/loft.spawnable loaded in 0.04 seconds
<19:22:34> Using FreeType 2.11.1
Aborted (core dumped)

System: Network layer initialized
RHISystem: Initializing RHI...
RHISystem: 	Enumerated physical device: llvmpipe (LLVM 17.0.6, 256 bits)
RHISystem: 	Using physical device: llvmpipe (LLVM 17.0.6, 256 bits)

This means that your container uses a software renderer that won't work with O3DE. If you have a NVIDIA card, please use NVIDIA Container Toolkit or rocker.

yeah must've been something wrong with my docker setup. #20 works for me now


Missing/Deprecated highlight group(?)

Missing/Deprecated highlight group(?)
A few days ago I lost my Neovim configs so naturally, my which-key config was lost as well...
Anyways, I started to reconfigure it and noticed that a highlight group wasn't applying.
I don't know what it was (configured it a while back) but, my best guess is the WhichKeySeperator group(?)
Used to have a cool aesthetic effect on my separators:
Before

Notice the slight blue line at the end?
After

I can't seem to replicate it no matter how I try.
Other relevant info
Following are the which-key configs and highlight configs
which-key config
local present, which_key = pcall(require, "which-key")

if not present then
  return
end

local config = {
  plugins = {
    marks = true,
    registers = true,
    spelling = {
      enabled = true,
      suggestions = 20,
    },
    presets = {
      operators = true,
      motions = true,
      text_objects = true,
      windows = true,
      nav = true,
      z = true,
      g = true,
    },
  },
  operators = { gc = "Comments" },
  key_labels = {
    ["<space>"] = "SPC",
    ["<Space>"] = "SPC",
    ["<leader>"] = "SPC",
    ["<Leader>"] = "SPC",
    ["<cr>"] = "RET",
    ["<Cr>"] = "RET",
    ["<CR>"] = "RET",
    ["<tab>"] = "TAB",
    ["<Tab>"] = "TAB",
    ["<TAB>"] = "TAB",
    ["<bs>"] = "BSPC",
    ["<esc>"] = "ESC",
    ["<BS>"] = "BSPC",
    ["<Esc>"] = "ESC",
  },
  icons = {
    -- ▐
    breadcrumb = " ",
    separator = " ▎",
    group = " ",
  },
  popup_mappings = require("mappings").which_key_nvim,
  window = {
    border = "none", -- none, single, double, shadow
    position = "bottom", -- bottom, top
    margin = { 0, 0, 0, 0 }, -- extra window margin [top, right, bottom, left]
    padding = { 3, 3, 3, 3 }, -- extra window padding [top, right, bottom, left]
    winblend = 1,
  },
  layout = {
    height = { min = 4, max = 25 },
    width = { min = 20, max = 50 },
    spacing = 4,
    align = "left",
  },
  ignore_missing = true,
  hidden = { "<silent>", "<cmd>", "<Cmd>", "<CMD>", "<CR>", "call", "lua", "^:", "^ " },
  show_help = true,
  triggers = "auto",
  triggers_blacklist = {
    i = { "j", "k" },
    v = { "j", "k" },
  },
}

for _, plugin in ipairs { "buffers", "plugins", "others", "prompts" } do
  local loaded = require("configs.whichkey." .. plugin)
  which_key.register(loaded.mappings, loaded.options)
end

which_key.setup(config)

Highlight configs
local W = {}

function W.get(theme)
  return {
    WhichKeyFloat = { background = theme.shades.shade05 },
    WhichKeyGroup = { foreground = theme.common.base11 },
    WhichKeyDesc = { foreground = theme.common.base08 },
    WhichKeySeparator = { foreground = theme.common.base09 },
    WhichKeyValue = { foreground = theme.common.base14 },
    WhichKey = { foreground = theme.common.base14 },
  }
end

return W

Sample theme colors
local N = {}

N.common = {
  -- Polar Night
  ["base00"] = "#2E3440",
  ["base01"] = "#3B4252",
  ["base02"] = "#434C5E",
  ["base03"] = "#4C566A",

  -- Snow Storm
  ["base04"] = "#D8DEE9",
  ["base05"] = "#E5E9F0",
  ["base06"] = "#ECEFF4",

  -- Frost
  ["base07"] = "#8FBCBB",
  ["base08"] = "#88C0D0",
  ["base09"] = "#81A1C1",
  ["base10"] = "#5E81AC",

  -- Aurora
  ["base11"] = "#BF616A",
  ["base12"] = "#D08770",
  ["base13"] = "#EBCB8B",
  ["base14"] = "#A3BE8C",
  ["base15"] = "#B48EAD",
}

N.shades = {
  ["shade00"] = "#505763",
  ["shade01"] = "#505A63",
  ["shade02"] = "#484d61",
  ["shade03"] = "#414754",
  ["shade04"] = "#333947",
  ["shade05"] = "#393f4C",
  ["shade06"] = "#333947",
  ["shade07"] = "#282E38",
  ["shade08"] = "#272B37",
  ["shade09"] = "#252A33",
  ["shade10"] = "#252B37",
  ["shade11"] = "#262c38",
}

N.rainbow = {
  ["cobalt"] = "#AFC2E5",
  ["pink"] = "#C48EAD",
  ["cyan"] = "#DDBBB1",
  ["green"] = "#AFBE8C",
  ["yellow"] = "#FFBB8B",
  ["orange"] = "#D08770",
  ["purple"] = "#C0A0F0",
}

N.modes = setmetatable({
  ["n"] = "#88C0D0",
  ["no"] = "#88C0D0",
  ["v"] = "#A3BE8C",
  ["V"] = "#E0AF8B",
  [""] = "#DBA08B",
  ["s"] = "#CE878F",
  ["S"] = "#CE878F",
  [""] = "#CE878F",
  ["i"] = "#C09AC0",
  ["ic"] = "#C09AC0",
  ["R"] = "#D08770",
  ["Rv"] = "#D08770",
  ["c"] = "#BF616A",
  ["cv"] = "#BF616A",
  ["ce"] = "#BF616A",
  ["r"] = "#DFBB8B",
  ["rm"] = "#EBCB8B",
  ["r?"] = "#DE878F",
  ["!"] = "#DFBF8B",
  ["t"] = "#5E81AC",
}, {
  __index = function()
    return "#B48EAD"
  end,
})

N.syntax = {
  ["color16"] = "#88C0D0",
  ["color09"] = "#8FBCBB",

  ["color00"] = "#81A1C1",
  ["color03"] = "#7797B7",
  ["color02"] = "#6F8EAD",
  ["color19"] = "#5E81AC",

  ["color17"] = "#BF616A",
  ["color20"] = "#D08770",

  ["color13"] = "#C08770",
  ["color01"] = "#D0A78F",
  ["color05"] = "#CBA08B",

  ["color12"] = "#AFBE8C",
  ["color15"] = "#A3BE8C",
  ["color04"] = "#99BB8B",

  ["color06"] = "#B48EAD",
  ["color08"] = "#B08F90",

  ["color10"] = "#EBCB8B",
  ["color11"] = "#EBCBAB",

  ["color18"] = "#333947",
  ["color14"] = "#414754",
  ["color07"] = "#D8DEE9",
}

return N

I know this is a stupid issue but I've wasted too much time on this LOL...can't give up now.

If it helps anyone, I found that which-key doesn’t respect WhichKeyFloat, but does respect NormalFloat (which I assumed was the fallback).

@strogonoff WhichKey does respect WhichKeyFloat. This also has nothing to do with op's issue.

In an older which-key version there was a typo in the separator hl group.
It used to be WhichKeySeperator, and then it was corrected to be WhichKeySeparator.
So make sure you use the correct group and obviously make sure you are using the latest version of whichkey

@strogonoff WhichKey does respect WhichKeyFloat. This also has nothing to do with op's issue.

Umm. it does not for me. This has zero effect:
  autocmd ColorScheme gruvbox highlight WhichKeyFloat ctermbg=none

While this works:
  autocmd ColorScheme gruvbox highlight NormalFloat ctermbg=none

The highlight is not assigned anywhere else.

This also has nothing to do with op's issue.

Oh yeah, I noticed later that it was not about the background (it was just different on their screenshots.


Scale codec deserialization error with v0.0.12

Hello Bit.Country Team,
I'm Luca from :ice_cube: Iceberg Nodes :ice_cube: a Pioneer permissionless collator.
I'm getting this error when I try to start the node with the last version v0.0.12:
Error: Service(Other("Scale codec deserialization error: IncompatibleColumnConfig { id: 4, reason: \"Column config mismatch. Expected \\\"preimage: false, uniform: false, refc: false, compression: 0, ordered: true\\\", got \\\"preimage: false, uniform: false, refc: false, compression: 0, ordered: false\\\"\" }"))
I compiled the source code using the nightly version (stable doesn't work):
stable-x86_64-unknown-linux-gnu unchanged - rustc 1.64.0 (a55dd71d5 2022-09-19)
nightly-x86_64-unknown-linux-gnu unchanged - rustc 1.66.0-nightly (a24a020e6 2022-10-18)

Build command: cargo +nightly build --release --features=with-pioneer-runtime
No issue with v0.0.11 which I'm running from several weeks, but I would like to update the node to the latest version.
Another info: I'm using paritydb database both for parachain and relaychain databases
Thank you for your support

Hi,
We manage to build the successfully on our end using the nightly-2022-05-11 version of rust (1.62).
Try  running the following setup:

rustup default nightly && rustup update
rustup update nightly-2022-05-11
rustup update stable
rustup target add wasm32-unknown-unknown --toolchain nightly-2022-05-11
rustup default nightly-2022-05-11

Let us know if you still cannot build the node after that.

Hi, thank you for the kind reply.
I tried to build using the suggested setup (as above), the build was successful (also before with other setup) but the same issue remain when we launch the node: Error: Service(Other("Scale codec deserialization error: IncompatibleColumnConfig { id: 4, reason: \"Column config mismatch. Expected \\\"preimage: false, uniform: false, refc: false, compression: 0, ordered: true\\\", got \\\"preimage: false, uniform: false, refc: false, compression: 0, ordered: false\\\"\" }"))
The issue is not related to building but when the node is started

Hi, thank you for the kind reply.
I tried to build using the suggested setup (as above), the build was successful (also before with other setup) but the same issue remain when we launch the node: Error: Service(Other("Scale codec deserialization error: IncompatibleColumnConfig { id: 4, reason: \"Column config mismatch. Expected \\\"preimage: false, uniform: false, refc: false, compression: 0, ordered: true\\\", got \\\"preimage: false, uniform: false, refc: false, compression: 0, ordered: false\\\"\" }"))
The issue is not related to building but when the node is started

Could you please share your command how did you run the node?


Remove Xcode 13 SPM related warnings

Issue description:
Xcode 13 displays 4 warnings when PocketSVG is imported using SPM. These warnings are displayed because the Xcode is not able to find "Demos", "ci", "derived_data" and "PocketSVG.podspec". The issue is that these files/folders are mentioned in the exclude field of the package definition but the paths are relative to the path of the target. These files/folders are in the parent of the target source folder, so Xcode doesn't find them.
Fix applied:
To fix the problem I have removed the exclude field from the project description since it doesn't prevent Xcode from downloading those files/folders.
Other could be to add the parent folder, something like:
    exclude: ["../Demos", "../ci", "../derived_data", "../PocketSVG.podspec"],

I haven't tested it. not sure if it will work properly.

Hello @sbaropeak
Thanks for this PR! SPM won't be building the stuff outside of the target's paths, so your approach is correct.

This is now in 2.7.1


Remove unused 'thumbnail' template tags to avoid conflicts - fixes #560

BTW: There is a feature branch ready to merge django-smart-load-tag into filer on my side.
Fix #560

Failures in Django 1.4-1.5 depends on the djangocms-helper version.
This is fixed in another PR, merging this

Thanks @philippeowagner !


Unable to use headers in chat ollama

Checked other resources

[X] I added a very descriptive title to this issue.
[X] I searched the LangChain.js documentation with the integrated search.
[X] I used the GitHub search to find a similar question and didn't find it.
[X] I am sure that this is a bug in LangChain.js rather than my code.
[X] The bug is not resolved by updating to the latest stable version of LangChain (or the specific integration package).

Example Code
import { ChatOllama } from "@langchain/ollama";
let model = new ChatOllama({
      baseUrl: "some-url",
      model: model,
      temperature: 0.1,
      numCtx: 16384,
      keepAlive: "60m",
      headers: {

      }
});

Error Message and Stack Trace (if applicable)
No response
Description
I am trying to set headers in chat ollama, I see that it had been fixed for the community library but since splitting out chat ollama, I don't see the option to set custom headers anymore.
Relevant links:

https://github.com/langchain-ai/langchainjs/pull/4465
https://github.com/langchain-ai/langchainjs/pull/4466

System Info
"langchain": "^0.2.11",
"@langchain/anthropic": "^0.2.13",
"@langchain/core": "0.2.22",
"@langchain/google-genai": "^0.0.25",
"@langchain/google-vertexai": "^0.0.21",
"@langchain/groq": "^0.0.16",
"@langchain/langgraph": "^0.0.33",
"@langchain/ollama": "^0.0.4",
"@langchain/openai": "^0.2.6"

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

It appears the Ollama SDK doesn't have support for passing headers through to the requests. I've sent a message to the Ollama team asking about the best way to go about this, and will update you when I hear back.

Thanks @bracesproul! Looking forward to hearing back from you 👍🏼

@bracesproul I have been able to create a PR for ollama js that adds optional headers: https://github.com/ollama/ollama-js/pull/138

@bracesproul the pr is now merged and the version v0.5.9 includes the change.


Params passed to view components become nil when method calls are chained to them

Describe the bug
Hi folks! This is a bit of a strange one.
Let's say I have a view component which accepts an initialisation parameter that I then set against an instance variable and make available to it's template via an attr_reader. See example:
class ExampleComponent < ViewComponent::Base
  attr_reader :resources

  def initialize(resources:)
    super
    @resources = resources
  end
end

With a template like so:
<%= resources.count %>

Now, if I try to use that in a preview, like so:
class ExampleComponentPreview < ViewComponent::Preview
  def default
    resources = [1, 2, 3]
    render ExampleComponent.new(resources:)
  end
end

The HTML tab in Lookbook will work as expected, but in the Preview tab, I'll see an error such as:
undefined method `count' for nil

Now, If I drop the #count chained call on resources, and instead my template is just:
<%= resources %>

The Preview tab will, weirdly, work, and render resources as expected. Weird, huh? To be clear the component is working fine under regular use in the app; it is only experiencing this problem in Lookbook. So it appears that for some reason calling a method on the parameter passed to the initialiser causes it to become nil. It doesn't seem to matter what the parameter is (I've tried it with arrays of integers, active record relations, and more, they've all faced the same problem when methods are chained to them). It also doesn't seem to matter if I use a reader method created by attr_reader or call the instance variable directly; the same problem occurs.
To Reproduce
To reproduce you can use the example snippets from above.
Expected behavior
I would expect the Preview tab to render the same code as the HTML tab (which is producing the correct code) in rendered/previewed form, and be able to chain method calls on to initialiser parameters.
Screenshots

Version numbers

Lookbook: 2.3.2
ViewComponent: 3.13.0
Rails: 7.2
Ruby: 3.3.4

Hey folks! I’ve figured it out. The issue was that I was using the application's layout as the layout for the component preview. By switching to a dedicated component preview layout, I was able to fix the problem.


Fix Docker Compose Setup

Now that @awolfe76 just gave a talk on how sweet our Docker Compose setup is, it'd be nice if it actually worked.  With the recent refactorings, it is most broken.  I'll work on fixing that.

@hkeeler happy to look at this if you want to work on something else. Just let me know.

Thanks @awolfe76.  I think I have it working now, just have to confirm the data loading is working.  I'm also updating the docs to reflect the state of things post-refactor.  Should have a PR for this today.

:+1: I'll take a look when I see it come through.


How to redirect back to custom sign up page with resources when error occur.

I've been trying to solve this for couples of days now but no head way.. i've custom sign up page for both Vendor and Couple, see below
  devise_for :users, :controllers => { registrations: "registrations" }
  devise_scope :user do
    match 'vendor/sign_up', to: 'registrations#new', user: {user_type: 'vendor'}, via: [:get]
    match 'wedding/sign_up', to: 'wedding/registrations#new', user: {user_type: 'wedding'}, via: [:get]
  end

So, when user attempt to sign up on whatever page and when error occur, i want the page to redirect back to requested page with resources. i try to manipulate it but it doesn't work
  def create
    build_resource(sign_up_params)

    resource.save
    yield resource if block_given?
    if resource.persisted?
      if resource.active_for_authentication?
        set_flash_message! :notice, :signed_up
        sign_up(resource_name, resource)
        respond_with resource, location: after_sign_up_path_for(resource)
      else
        set_flash_message! :notice, :"signed_up_but_#{resource.inactive_message}"
        expire_data_after_sign_in!
        respond_with resource, location: after_inactive_sign_up_path_for(resource)
      end
    else
      clean_up_passwords resource
      set_minimum_password_length
      respond_with resource, :location => wedding_sign_up_path
    end
  end

I'm new to ruby on rails, please help on how to achieve this.
Thanks

If you want just a redirect, you may want to replace respond_with in your code for redirect_to helper of Rails.
Please use the mailing list or StackOverflow for questions/help, where a wider community will be able to help you. We reserve the issues tracker for issues only. You can read our CONTRIBUTING file to more information on how to report an issue.


Refactor Papyrus:Project to Shared:Project

The Papyrus:Project doesnt seem to be a good fit for the namespace Papyrus. In my games project I use a Shared namespace which I think I will adopt for the Project pattern.
Shared Namespace

Closing this for a revision of the entire project.


docs: update generated comment for TS files

I think we can provide a more helpful message for the generated files. Also the URL should be at least https.
The new comment sentences are based on the Prisma generated files. Feel free to adjust/change the message as you most see fit, my main point is to provide a more useful message.
Thanks

Oh yes. :) It's time


Async mode fix

Reference Issues/PRs
#5 #27 #26
What does this implement/fix? Explain your changes.

NavaThread class added
stop function added
stop_all function added
autopep8 scripts updated
README.md updated
CHANGELOG.md updated

Any other comments?

Local tests on OSs

[x] MacOS Sonoma 14.2.1


[BUG] Long Twitter Blue tweets missing images

Describe the bug
Long tweets by Twitter Blue users with attached media show only the text.
To Reproduce
Steps to reproduce the behavior:

Go to https://twitter.com/historyinmemes/status/1656565040449744901
See error

Screenshots
Fritter:

Browser:

Device
Model: Samsung Galaxy S9+
OS: Android 10
Language: English
Fritter Version: v3.0.0-beta9+300001014

Conformed fixed in commit 63675c9. Thanks!


Add ALTER TABLE ... RENAME TO ...

This is a sub-issue of #94 that focuses on renaming an existing table.
We should be able to do the following:
genji> CREATE TABLE foo;
genji> INSERT INTO foo VALUES {name: "John Doe"};
genji> ALTER TABLE foo RENAME TO bar;
genji> SELECT * FROM bar;
{
  "name": "John Doe"
}
genji> SELECT * FROM foo;
table not found

If the table bar already exists, we should return an error.

After reflexion I think that we need to change how the db is structured to handle the renaming of a table.
Currently, how the DB is structured forces us to duplicate all documents of a given table if we want to rename it.
Time complexity: O(n) and Space complexity O(n) as well.
What I suggest is to break the actual DB schema to save some complexity if we want to rename a table.
_genji.master:
       tables:
               foo: {hash: 123abc, config: 456def, indexes: [123, 456, 789]},
               bar: {hash: 111aaa, config: 789ghi, indexes: [aa1]}
123abc: <table's content>
111aaa: <table's content>

That way we can constantly rename a table (O(1)) because we only need to change the name of the table in tables section. I also put the indexes there to avoid looking through all indexes when looking for indexes of a given table.
The hash allows us to have a reference to the content of the table. I don't know yet how this hash can be computed though.


Provide Maybe with Do returns result

Add Do method with result

[x] Code
[x] Tests
[x] Samples

https://github.com/iivchenko/ShogunLib/pull/55


Disable node entering while editing

Pull Request Description
A very minor fix.
Important Notes
Checklist
Please ensure that the following checklist has been satisfied before submitting the PR:

[ ] The documentation has been updated, if necessary.
[ ] Screenshots/screencasts have been attached, if there are any visual changes. For interactive or animated visual changes, a screencast is preferred.
[x] All code follows the
Scala,
Java,
and
Rust
style guides. In case you are using a language not listed above, follow the Rust style guide.
All code has been tested:
- [ ] Unit tests have been written where possible.
~~  - [ ] If GUI codebase was changed, the GUI was tested when built using ./run ide build.~~

Skipping QA phase due to triviality of the change.


feat: time interval for update pools endpoint

In order for POST $ENDPOINT_URL/pools/x/update endpoint not to have to be triggered manually, added a time interval env variable which triggers the update lambda at a set interval.

@garethfuller yes, that's right.