Can't find new charts in v0.8a2

In the changelog for v0.8a2, you mention that you've added charts for the RPS and avg. response time but I don't see them.  Are they on a different route?

You should download/ clone the repository and run 'python setup.py  install' from it.
The 0.8a2 version installed by pip sometimes does not work (somehow it install the 0.7.5 version and label it as 0.8a2)

@alvissd PRs are welcome :)

Should this have been closed? I also hit this problem installing v0.8a2 from pip. Although there is a workaround by installing it from source, that doesn't seem like enough of a solution to close this ticket (unless there is another ticket open addressing the issue with an install from pip already).


Add I.T.I.S. P.L. Nervi

The official domain of the school is: istitutonervialaimo.edu.it
(It is a school that includes various fields in addition to informatic)

@elprop06 lib/domains/it/edu/istitutonervialaimo: this request has an incorrect file path format, please ensure that you are familiar with     this repository rules located at the bottom of this page and change     your request accordingly. If you don't know how to change request, close it and open a new one.     If you are not able to make the pull request according the instructions, please send us an email to<EMAIL_ADDRESS>Please mention this request URL in the message.


Re-writing HTML

Hi,
I'd like to use Ji to update tag attributes and re-write the amended HTML. Running a quick test, the updated attributes weren't shown in the updated description. Am I missing something?
Thanks for your work
Ash

Hey @ashleymills:
Thanks for you issue.
Currently Ji is not supporting modifying HTML source. It only for parsing HTML.
I probably should consider put modification in the future plan.


Add support for client indexes

A user may specify additional indexes at runtime through the client DB
model at client initialization. Indexes are specified in sets per table.
Each set consists of columns and optionally a key within the column that
can be addressed if the column type is a map.
The main use case is performance. Running a predicate on all the rows of
a table can be costly. Introducing new indexes in the schema is not backwards
compatible or might not align with the general concept of the schema but those
additional indexes mighty be useful for specific uses of that schema that
would otherwise rely on running less performant predicates frequently.
For example, with OVN-K, checking whether ~40 LBs are present in the cache
by a predicate that matches by name on a table that contains ~200K rows took
around 3 seconds. While surely there is different ways to optimize a predicate,
for OVN-K which gives & frequently addresses LBs by unique names would
make sense to have them indexed, something that is not possible to do with
the schema without breaking backward compatibility.
This can be enhanced in the future with more use cases. For example, supporting
primary and secondary client indexes where primary client indexes could be
checked for duplicates against a transaction before sending it to the server.
This is implemented in the cache tracking client indexes as if they were
schema indexes. Indexes map to a set of uuids instead of a single uuid
where the set will consist of a single uuid for schema index but might
consist of multiple uuids for client indexes. A new RowsByModel method
queries the cache considering schema and client indexes. RowsByCondition
also makes use of the new client indexes naturally. The legacy
RowByModel method considers only schema indexes. Schema indexes have
priority over client indexes in general.
API wise, client indexes are leveraged through the conditional
APIs from Where(...) and WhereAll(...).
So where you would have before somehitng like
// slow predicate run on all the LB table rows...
WhereCache(func (lb *LoadBalancer) bool {
    return lb.ExternalIds["myIdKey"] == "myIdValue"
}).List(ctx, &results)

Now you can have
dbModel, err := nbdb.FullDatabaseModel()
db.SetIndexes(map[string][]model.ClientIndex{
  "Load_Balancer": {{Columns: []model.ColumnKey{Column: "external_ids", Key: "myIdKey"}}}
})

// connect and everything....

lb := &LoadBalancer{
    ExternalIds: map[string]string{"myIdKey": "myIdValue"},
}
// quick indexed result
Where(lb).List(ctx, &results)

Other changes in this context:

Cherry-picked @dave-tucker's api: Allow use of Where for client-side ops
so that client indexes can be leveraged through the Where.List and WhereAll.List
conditional APIs.

As improvements to the above, run the predicates on shallow copies of model,
remove the unnecessary clone and return cache matches directly instead of
indirecting through RowsByCondition.

Fixed an issue with RowsByCondition that was implementing an Or between the
conditions instead of an And. also improved performance.

Instead of translating model conditions to ovsdb conditions and
sending those to the server, perform a query on the cache through
RowsByModel or RowsByCondition and generate uuid based conditions
off those results. Fallback to the original conditionals if no cache hits are obtained.
This is similar to what was already being done for the predicate conditional, this PR
does the same for the equality and explicit conditionals.
This has two benefits:

OVSDB server does not index schema indexes, it only ensures uniqueness
but operations based on those indexes are not necessarily fast. By
querying the cache for the uuids we improve the performance of index
based operations. Users will no longer be required to do a Get before any
server side op to ensure this is optimized through the uuid.
The conditionals APIs can fully benefit of client indexes for both cache and
server side ops.

RFCs

The ClientDBModelAPI could be better but I did not want to complicate it
unnecessarily. Feedback welcome.
With this change we rely more on the cache. But the cache doesn't seem to
be aware at all of monitored vs non-monitored columns and will happily index
zero values from non-monitored columns. I am not worried in excess about it
in the context of this PR as this is an issue already present, but perhaps we
ought to do something about it.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

352 of 444 (79.28%)  changed or added relevant lines in 5 files are covered.
2 unchanged lines in 2 files lost coverage.
Overall coverage increased (+0.7%) to 74.527%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

client/api.go
17
21
80.95%

cache/uuidset.go
53
62
85.48%

client/condition.go
71
85
83.53%

cache/cache.go
201
224
89.73%

model/client.go
10
52
19.23%

Files with Coverage Reduction
New Missed Lines
%

client/api.go
1
81.01%

client/condition.go
1
84.85%

Totals

Change from base Build<PHONE_NUMBER>:
0.7%

Covered Lines:
4801

Relevant Lines:
6442

💛  - Coveralls

Added a couple of commits to benchmark & optimize RowsByCondition so that it makes use of indexes as much as possible.
Results before this PR:
goos: linux
goarch: amd64
pkg: github.com/ovn-org/libovsdb/cache
cpu: Intel Core Processor (Skylake, IBRS)
BenchmarkRowsByCondition/by_uuid-4         	      38	  28737606 ns/op	 6850409 B/op	  140222 allocs/op
BenchmarkRowsByCondition/by_single_column_squema_index-4         	    1686	    742480 ns/op	     925 B/op	      16 allocs/op
BenchmarkRowsByCondition/by_multi_column_squema_index-4          	      19	  60704196 ns/op	13540612 B/op	  280450 allocs/op
BenchmarkRowsByCondition/by_two_squema_indexes-4                 	     817	   1537409 ns/op	    1516 B/op	      29 allocs/op
BenchmarkRowsByCondition/by_squema_index_and_non-index-4         	      37	  31416413 ns/op	 6772972 B/op	  140246 allocs/op
BenchmarkRowsByCondition/by_single_non_index-4                   	      37	  30643479 ns/op	 6770317 B/op	  140226 allocs/op
BenchmarkRowsByCondition/by_multiple_non_indexes-4               	      19	  60734832 ns/op	13542517 B/op	  280456 allocs/op
PASS
ok  	github.com/ovn-org/libovsdb/cache	8.821s

Results before optimization commit (includes using single-column indexes, match all logic and avoids unnecessary clones):
goos: linux
goarch: amd64
pkg: github.com/ovn-org/libovsdb/cache
cpu: Intel Core Processor (Skylake, IBRS)
BenchmarkRowsByCondition/by_uuid-4         	  272794	      4057 ns/op	    1181 B/op	      20 allocs/op
BenchmarkRowsByCondition/by_single_column_squema_index-4         	  285651	      4229 ns/op	    1181 B/op	      20 allocs/op
BenchmarkRowsByCondition/by_single_column_client_index-4         	  288646	      4283 ns/op	    1181 B/op	      20 allocs/op
BenchmarkRowsByCondition/by_multi_column_squema_index-4          	     400	   2986806 ns/op	  241852 B/op	   20036 allocs/op
BenchmarkRowsByCondition/by_two_squema_indexes-4                 	  224726	      5065 ns/op	    1645 B/op	      26 allocs/op
BenchmarkRowsByCondition/by_squema_index_and_non-index-4         	  201648	      5581 ns/op	    1749 B/op	      32 allocs/op
BenchmarkRowsByCondition/by_single_non_index-4                   	     387	   3047246 ns/op	  241289 B/op	   20024 allocs/op
BenchmarkRowsByCondition/by_multiple_non_indexes-4               	     392	   2976273 ns/op	  241866 B/op	   20036 allocs/op
PASS
ok  	github.com/ovn-org/libovsdb/cache	11.000s

Results after optimization (includes using multi-column indexes):
goos: linux
goarch: amd64
pkg: github.com/ovn-org/libovsdb/cache
cpu: Intel Core Processor (Skylake, IBRS)
BenchmarkRowsByCondition/by_uuid-4         	  269812	      4106 ns/op	    1221 B/op	      22 allocs/op
BenchmarkRowsByCondition/by_single_column_squema_index-4         	  198980	      5833 ns/op	    1797 B/op	      36 allocs/op
BenchmarkRowsByCondition/by_single_column_client_index-4         	  178773	      6490 ns/op	    2013 B/op	      45 allocs/op
BenchmarkRowsByCondition/by_multi_column_squema_index-4          	   92376	     12630 ns/op	    5090 B/op	     112 allocs/op
BenchmarkRowsByCondition/by_two_squema_indexes-4                 	  109209	     10330 ns/op	    3957 B/op	      88 allocs/op
BenchmarkRowsByCondition/by_squema_index_and_non-index-4         	  112953	     10330 ns/op	    3957 B/op	      93 allocs/op
BenchmarkRowsByCondition/by_single_non_index-4                   	     397	   3073535 ns/op	  241862 B/op	   20042 allocs/op
BenchmarkRowsByCondition/by_multiple_non_indexes-4               	     391	   2958540 ns/op	  244022 B/op	   20099 allocs/op
PASS
ok  	github.com/ovn-org/libovsdb/cache	10.820s

Being able to use multi-column indexes does have a cost for the single-column index performance but I think it makes sense to have it. It's an overall good improvement for a start and I am sure this can be optimized further in various ways. Ideas welcome though if you see easy picks.

Pushed an update that shortcuts RowsByCondition when we have reduced the possible index matches to 1. That will help in most situations where I would think we would expect a single match. As said, this can be tuned and optimized further but don't want to go overboard with no experience.
Other than that just added some additional tests and improvement to godoc  that come to mind as times goes on.
Updated results, added a benchmark that uses many conditions.
Results before this PR:
goos: linux
goarch: amd64
pkg: github.com/ovn-org/libovsdb/cache
cpu: Intel Core Processor (Skylake, IBRS)
BenchmarkRowsByCondition/by_uuid-4         	      39	  31181645 ns/op	 7156346 B/op	  140223 allocs/op
BenchmarkRowsByCondition/by_single_column_squema_index-4         	    1608	    719762 ns/op	     956 B/op	      16 allocs/op
BenchmarkRowsByCondition/by_multi_column_squema_index-4          	      16	  65336847 ns/op	14151228 B/op	  280448 allocs/op
BenchmarkRowsByCondition/by_two_squema_indexes-4                 	     800	   1582913 ns/op	    1577 B/op	      29 allocs/op
BenchmarkRowsByCondition/by_squema_index_and_non-index-4         	      33	  33603397 ns/op	 7077108 B/op	  140241 allocs/op
BenchmarkRowsByCondition/by_single_non_index-4                   	      32	  32456669 ns/op	 7076734 B/op	  140228 allocs/op
BenchmarkRowsByCondition/by_multiple_non_indexes-4               	      18	  64228400 ns/op	14151768 B/op	  280449 allocs/op
BenchmarkRowsByCondition/by_many_conditions-4                    	       8	 141383613 ns/op	33114615 B/op	  600961 allocs/op
PASS
ok  	github.com/ovn-org/libovsdb/cache	9.916s

Results before optimization commit (includes using single-column indexes, match all logic and avoids unnecessary clones):
goos: linux
goarch: amd64
pkg: github.com/ovn-org/libovsdb/cache
cpu: Intel Core Processor (Skylake, IBRS)
BenchmarkRowsByCondition/by_uuid-4         	  207000	      5366 ns/op	    1854 B/op	      32 allocs/op
BenchmarkRowsByCondition/by_single_column_squema_index-4         	  215368	      5775 ns/op	    1854 B/op	      32 allocs/op
BenchmarkRowsByCondition/by_single_column_client_index-4         	     166	   6692064 ns/op	 1842801 B/op	   50041 allocs/op
BenchmarkRowsByCondition/by_multi_column_squema_index-4          	     370	   2896103 ns/op	  242527 B/op	   20048 allocs/op
BenchmarkRowsByCondition/by_two_squema_indexes-4                 	  161007	      6484 ns/op	    2318 B/op	      38 allocs/op
BenchmarkRowsByCondition/by_squema_index_and_non-index-4         	  154776	      6872 ns/op	    2428 B/op	      44 allocs/op
BenchmarkRowsByCondition/by_single_non_index-4                   	     387	   3063313 ns/op	  241962 B/op	   20036 allocs/op
BenchmarkRowsByCondition/by_multiple_non_indexes-4               	     396	   2947208 ns/op	  242533 B/op	   20048 allocs/op
BenchmarkRowsByCondition/by_many_conditions-4                    	   89371	     12340 ns/op	    5422 B/op	      93 allocs/op
PASS
ok  	github.com/ovn-org/libovsdb/cache	13.949s

Results after optimization (includes using multi-column indexes):
goos: linux
goarch: amd64
pkg: github.com/ovn-org/libovsdb/cache
cpu: Intel Core Processor (Skylake, IBRS)
BenchmarkRowsByCondition/by_uuid-4         	  208352	      5577 ns/op	    1894 B/op	      34 allocs/op
BenchmarkRowsByCondition/by_single_column_squema_index-4         	  160498	      7098 ns/op	    2428 B/op	      47 allocs/op
BenchmarkRowsByCondition/by_single_column_client_index-4         	  111760	      9768 ns/op	    3677 B/op	      75 allocs/op
BenchmarkRowsByCondition/by_multi_column_squema_index-4          	   79140	     14264 ns/op	    5667 B/op	     123 allocs/op
BenchmarkRowsByCondition/by_two_squema_indexes-4                 	  149360	      7876 ns/op	    2910 B/op	      54 allocs/op
BenchmarkRowsByCondition/by_squema_index_and_non-index-4         	  128370	      7967 ns/op	    2910 B/op	      54 allocs/op
BenchmarkRowsByCondition/by_single_non_index-4                   	     390	   3027351 ns/op	  242536 B/op	   20054 allocs/op
BenchmarkRowsByCondition/by_multiple_non_indexes-4               	     403	   2975605 ns/op	  244693 B/op	   20111 allocs/op
BenchmarkRowsByCondition/by_many_conditions-4                    	   95650	     12171 ns/op	    5694 B/op	      89 allocs/op
PASS
ok  	github.com/ovn-org/libovsdb/cache	12.210s

Was curious to have a benchmark of index vs predicate. It turns out there was one for predicates but I don't it was working fine (too good to be true) so I updated it. Results:
BenchmarkAPIListPredicate/ApiListPredicate:_predicate_returns_none-4         	     363	   3117351 ns/op	  930387 B/op	   20010 allocs/op
BenchmarkAPIListPredicate/ApiListPredicate:_predicate_returns_all-4          	     225	   5167648 ns/op	 2445557 B/op	   30223 allocs/op
BenchmarkAPIListPredicate/ApiListPredicate:_predicate_on_an_arbitrary_condition-4         	     332	   3627668 ns/op	 1123775 B/op	   21152 allocs/op
BenchmarkAPIListPredicate/ApiListPredicate:_predicate_matches_name-4                      	     363	   3292371 ns/op	  930691 B/op	   20012 allocs/op
BenchmarkAPIListPredicate/ApiListPredicate:_by_index,_no_predicate-4                      	   45225	     25121 ns/op	   84076 B/op	      32 allocs/op

Would ColumnKey be better served typed simpler as map[string][]interface{} as a map of columns to optional keys.
Or at least
struct {
  Column string
  Keys []interface{}
}

Really nothing prevents using multiple keys within the same map column and thus might be cleaner that way.

SUPER NIT: fix typo in commit description of commit
https://github.com/ovn-org/libovsdb/pull/306/commits/0d2fa37e8d4fb3d291768aaac80e32c4c66a85da
Do use RowsByCondition to add support to match against the cache for the
 --------------------------------------------------------^
explicit conditional.

@amorenoz @dave-tucker PTAL as well!

@jcaamano DCO check failure?

@jcaamano DCO check failure?
EDIT: ah your fixup. I assume you'll rebase + squash before merge

rebased & squashed
I am going to run this by OVN-K to make sure everything looks fine.
I would also like feedback from @dave-tucker and @amorenoz at least on the API changes and the RFCs.

Pushed an update:

Addressed all the comments up until now
Moved commit Optimize RowsByCondition to the end, to optionally remove from this PR.
Updated docs & README
Reviewing the docs, I saw that there was a concern sending to the server a high number of ops resulting from a WhereCache evaluation. Evaluating explicit conditions against the cache before sending them to the server leads to the same concern. Thus I split that into a separate commit to optionally remove it from this  PR as well.

Testing with ovn-k not showing any evident issues
https://github.com/ovn-org/ovn-kubernetes/pull/2989

/lgtm

Sorry, I was preempted and couldn't finish the review on time. Thanks @jcaamano for the great work!

Ack. I'm travelling this week but might be able to look on Weds.
On Tue, 17 May 2022, 10:26 Jaime Caamaño Ruiz, @.***>
wrote:

@jcaamano https://github.com/jcaamano DCO check failure?
EDIT: ah your fixup. I assume you'll rebase + squash before merge
rebased & squashed
I am going to run this by OVN-K to make sure everything looks fine.
I would also like feedback from @dave-tucker
https://github.com/dave-tucker and @amorenoz
https://github.com/amorenoz at least on the API changes and the RFCs.
—
Reply to this email directly, view it on GitHub
https://github.com/ovn-org/libovsdb/pull/306#issuecomment-1128635700,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AA43JEPTE2QSCGM56KZQYQTVKNQ5NANCNFSM5VQ7RMCA
.
You are receiving this because you were mentioned.Message ID:
@.***>


revision of 'sex-cord gonadal tumor' branch

Fixes #2502
@nicolevasilevsky, it might be good to have some expert review on this too.

who would like to review it from a expertise-side?

@nicolevasilevsky
I reviewed the new classification based on publications. I just would like someone to review to make sure it makes sense and it is correct. I don't know "who" would be the best person though.
If it makes sense to you based on the publications, it is fine with me.


Bug fix/bts 284.2

Scope & Purpose
Additional fix for BTS-284. Forces DATABASE_UPGRADE  flag during database.auto-upgrade even iv Version check reports VERSION_MATCH. This covers upgrade between patches (e.g. 3.7.6->3.7.7)

[x] :hankey: Bugfix (requires CHANGELOG entry)

[x] The behavior in this PR was manually tested

[x] This change is already covered by existing tests, such as k8s tests

Backport to 3.7 https://github.com/arangodb/arangodb/pull/13498
Link to Jenkins PR run:
http://jenkins.arangodb.biz:8080/view/PR/job/arangodb-matrix-pr/13872/

Tests blue


Add backend functionality to allow a return of the aggregate data in a flowchart

If a GET request is sent to the API for a flowchart, then the API should return all of that flowchart's data
Advances vertical prototype by automating a lot of the object creation and persistence

To appreciate the changes brought upon this issue, you can submit a get request to https://cp-groupname.herokuapp.com/student and it will return every student followed by all of their flowcharts, years, quarters, and courses.
The same thing works for https://cp-groupname.herokuapp.com/flowchart, https://cp-groupname.herokuapp.com/year, etc.


Support @typeInfo for 0.14.0

The @typeInfo syntax has change for switch statements.

Looks good to me; however not that this would introduce an incompatibility with Zig 0.13.

As soon as 0.14 gets released, we will get this into main 👍 @lateefj thank you.

I found another compile error in examples with latest 0.14. I will just accumulate changes on this branch until release happens.

Only outstanding is related to TypeOf(anytype):
└─ zig build-exe parameterised Debug native 1 errors
zbench.zig:154:14: error: no field named 'Pointer' in enum '@typeInfo(builtin.Type).@"union".tag_type.?'
            .Pointer => |ptr| if (ptr.is_const) ptr.child else @compileError(
            ~^~~~~~~```

IIRC, types all got lower-cased for consistency; so it should be .pointer.


docs(natspec): world/ts/node/render-solidity

Yes, I shouldn't have passed it - tired. I'll fix it.
On Fri, Sep 29, 2023 at 7:38 PM alvarius @.***> wrote:

@.**** commented on this pull request.
In packages/world/ts/node/render-solidity/renderSystemInterface.ts
https://github.com/latticexyz/mud/pull/1669#discussion_r1341870939:

      * @dev External contracts or callers can use this function to increment a value in the system.

      * Implementing contracts should ensure the integrity and logic of this function.

this comment doesn't seem generally valid for this codegen file
—
Reply to this email directly, view it on GitHub
https://github.com/latticexyz/mud/pull/1669#pullrequestreview-1651592825,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ADBCGGMW7YF7HZ55J67M6Q3X45S2BANCNFSM6AAAAAA5ND3PFU
.
You are receiving this because you authored the thread.Message ID:
@.***>

closing in favor of #1672


Devise with Backbone and current_user

Dears,
kindly, how to use devise with backbonejs in my current project.
specially for the current_user object with backbonejs.
Any help is appreciated.
Thanks.

Please, use the malling list to questions


Add HackKing's event

This is an addition of the 'HackKing's' event in London in contribution to #7.

@M1keAdams Thanks for the PR


Avoid duplicate types between Maui and Maui Graphics

Use the .NET MAUI types for LineCap, LineJoin, TextAlignment, etc. to avoid duplicates.

@jsuarezruiz We should talk about this PR.  Here are my quick thoughts:

I'm fine with the changes recording the enums to match Maui.Core.
I like the name FontSlant.  Simpler than what we're currently using.
It's minor, but I don't like the "Pen" prefix on the LineJoin and LineCap enums.  There is already a prefix "Line" on those enums that designate what it's for.
Personally, I think HorizontalAlignment and VerticalAlignment should be separate enums.  "Justified" doesn't apply to both of them. I don't like having ambiguous values in the library.

I didn't read all the code carefully.
But I wanted to say, you better keep HorizontalAlignment and VerticalAlignment
because it is instinctively understood the other suggestion is not.


[Placeholder] Icon header in placeholder segment has wrong height for image icon

[Placeholder] Icon header in placeholder segment has wrong height for image icon
Steps

Copy the placeholder example from the docs (here)
Change the icon from pdf to image
Notice that the icon height isn't right

Expected Result

Height should be auto

Actual Result
Height is 100px
Version
2.4.2
Testcase
https://jsfiddle.net/70q5er49/1/

Fixed since 2.7.0 https://github.com/fomantic/Fomantic-UI/pull/320

Hi, is this issue still open? I would like to have a go if it is.


Prompt Search and Replace doesn't understand putting things in quotes, resulting in the inability to replace sections of a prompt

Create a prompt that says:
A horse fights a cat, large robot in the background, photorealistic
In the infinity grid script, set the first axis to seed, and put in two numbers like so:
1701, 8675309
In the next axis, choose Prompt Replace, and put the following in the input, just as you would with XYZ Plot:
"cat, large robot in the background, photorealistic", "dog, small pig in the foreground, photorealistic", "cat, cartoon, 8K, Artstation, perfect texture"

In XYZ plot, it would replace the first line in quotes with the second line in quotes, and so on. In Infinity Grid, if you do this, it will say it can't find the text. XYZ Plot puts in this capability, because text can include commas, and can in fact have elaborate differences. I could just write completely different prompts, but it can be hard to pick out the changes I've already done when a list gets long enough, where with search and replace, I know the exact changes I made, and can read them all quickly in a list.

The syntax to avoid breaking when replacing commas is ||
So eg cat, large robot in the background, photorealistic || dog, small pig in the foreground, photorealistic || cat, cartoon, 8K, Artstation, perfect texture


Update useRowState.js

initialCellStateAccessor should be called with Cell

#2701

close this pr, duplicated by https://github.com/tannerlinsley/react-table/pull/2719


feat: add dependabot

Close #140.

It seems that we don't need to add this to this repository.

OK


Add support for PostgreSQL LISTEN/NOTIFY syntax

This PR supports LISTEN/NOTIFY clause for postgres dialect,. For more information, please refer to:
https://www.postgresql.org/docs/current/sql-listen.html
https://www.postgresql.org/docs/current/sql-notify.html
It also introduces the following keywords:

LISTEN
NOTIFY

This resolves issue https://github.com/apache/datafusion-sqlparser-rs/issues/1481

Sorry, I mixed up the documentation links for listen and notify in the last commit. And currently, only PostgreSQL supports listen and notify syntax, so I've added a dialect check and moved the tests to sqlparser_postgres.rs. Could you please review it again? @iffyio

Pull Request Test Coverage Report for Build<PHONE_NUMBER>3
Warning: This coverage report may be inaccurate.
This pull request's base commit is no longer the HEAD commit of its target branch. This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.

For more information on this, see Tracking coverage changes with pull request builds.
To avoid this issue with future PRs, see these Recommended CI Configurations.
For a quick fix, rebase this PR at GitHub. Your next report should be accurate.

Details

25 of 29 (86.21%)  changed or added relevant lines in 4 files are covered.
6 unchanged lines in 1 file lost coverage.
Overall coverage decreased (-0.005%) to 89.374%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

src/dialect/mod.rs
2
4
50.0%

src/dialect/postgresql.rs
2
4
50.0%

Files with Coverage Reduction
New Missed Lines
%

tests/sqlparser_common.rs
6
89.59%

Totals

Change from base Build<PHONE_NUMBER>0:
-0.005%

Covered Lines:
30482

Relevant Lines:
34106

💛  - Coveralls

Woohoo -- it is great to see you merging PRs @iffyio


JS error double clicking a row at an empty table

Steps:
1.- Create empty dataset.
2.- Double click "name" cell. This trigger a JS error. Lines:
  getRowAt: function(index) {
    var r = this.at(index);
    r.table = this.table;
    return r;
  },

Error: Uncaught TypeError: Cannot set property 'table' of undefined
I think in prod this triggers Uncaught Error: TrackJS Caught: Cannot set property 'table' of undefined
cc @xavijam

There has been no activity on this issue for more several months. We are closing it. If you think this still needs to be addressed please open a new issue.


Added a YouTube playlist for learning DSA.

Site URL
https://www.youtube.com/playlist?list=PLIY8eNdw5tW_zX3OCzX7NJ8bL1p6pWfgG
Description of the above provided site
A YouTube playlist for learning Data Structures and Algorithms with C++ practical implementation (Full Course for Beginners).
Category
Youtube
Sub Category
data-structures
Checklist

[X] I have checked the existing issues
[X] I have read the Contributing Guidelines
[X] I am willing to work on this issue (optional)
[X] I am participating in Hacktoberfest 2023

@TaeMochi12
There is a category for DSA. Make a new subcategory for youtube and add this there.
We are going to merge subcategory under youtube for dsa into this one later.
I have assigned you the issue. Please proceed with it, and don't hesitate to tag me @Anmol-Baranwal or @CBID2 if you require any assistance.


Improve error messages so as to indicate failures

What type of PR is this?

/kind api-change
/kind bug

/kind cleanup

/kind dependency-change
/kind deprecation
/kind design
/kind documentation
/kind failing-test
/kind feature
/kind flake

What this PR does / why we need it:
Improve error messages so as to indicate failures. The param passed to the context method seems to become the error message.
Which issue(s) this PR fixes:

Special notes for your reviewer:
This project is in early development, but I can't wait to contribute.
Does this PR introduce a user-facing change?

None

To add some refs:

an example on the readme of https://github.com/dtolnay/anyhow
also https://github.com/rust-lang/cargo/blob/bb3f2c59274dbf181f2d1a58c54486df4292ec2a/src/cargo/util/lockserver.rs#L160


Make Shit Fast™ part 1

About the PR
I buffed every species' speed by 1 tile per second.
 While I'm pretty sure most of our players have gotten more robust, there's a core issue with NPC combat that particularly affects newer players and anyone using hardsuits - the moment you take enough damage, you will be guaranteed to slow down enough to die. This gets immediately fixed with the PR, because now the slowdown speed is 4.2 tiles per second instead of 3.15, which is just barely faster than a carp.
Actually, you would be faster than every mob, but that can be easily adjusted.
 This goes for every department. Even civvies can take advantage of it, because more tiding would also allow expanding stations in a way we haven't really seen since Pillar was in the game.
PvP
This change singlehandedly changes the timescale and skill ceiling of PvP encounters, because now it's actually possible to dodge bullets and e-bows if you wanted to. This also indirectly buffs Security against nukies, take that as you will.
As for melee, lol. Lmao. Nothing ever happens.

Ideally, test merging this would give us enough data to determine where we could increase speed, and where we shouldn't.
Technical details
Gave BaseMobSpecies a MovementSpeedModifier. It may be better to just change in code as a default instead, letting inheritance do its job, but what do I know. Technically a revert of space-wizards#9645 and space-wizards#6068, except like 6068 I recognize that 7 tiles per second was a bit too high for base speed. Yeah, I've played in 2021, and it was kinda sucky.
Also removed duplicate brainrotten accent.
Media
None. Although if you really do want to see, check any SS14 video before 06/2022.
Requirements

[X] I have read and am following the Pull Request and Changelog Guidelines.
[X] I have added media to this PR or it does not require an ingame showcase.

Breaking changes
None.
Changelog
:cl: router

tweak: Made all humanoids faster, buffing run speed from 4.5 to 6 and walk speed from 2.5 to 4 to revert a Wizden balance change. Fland and Detroit should feel a lot smoother to navigate, and ranged combat takes more accent on both aim and dodging. \[TESTMERGE]

this sucks, just add sprinting.

sprinting would be my preferred solution too, especially since we're looking at larger and larger maps, we can revisit the base movement speed itself if thats not enough tbh

To fix ai obliterating new players you could just stop them dodging all the time

valid, might need to commit HTN motherfuckery to not evade like 40% of the time

sprinting would be my preferred solution too, especially since we're looking at larger and larger maps, we can revisit the base movement speed itself if thats not enough tbh

this is my bigger peeve because sprinting is an active action whereas movespeed is passive
although it may be less of an issue if i do 3/6 or even 3/5 instead because 2.5/4.5 is just uncanny_incredible.png

humanoids only and not generic speed increase (from OP)

i'm having second thoughts and this is probably bad but i need more POVs

Nice pr number

what key would sprint be bound to? cant do sprint because thats on inspect, maybe alt? but thats used for a lot of stuff

what key would sprint be bound to? cant do sprint because thats on inspect, maybe alt? but thats used for a lot of stuff

space like goonstation


Compiling on older systems

On systems running older versions of Linux/GCC there are problems compiling and running nheqminer.
The two issues are:

alignas is not available for file nheqminer/unit256.h
Construction of StratumClient does not work properly, resulting in segfault in line 82 of nheqminer/libstratum/StratumClient.cpp, due to this == 0x0.

The patches to correct the problems are:
diff --git a/nheqminer/libstratum/StratumClient.cpp b/nheqminer/libstratum/StratumClient.cpp
index a9b0669..6c56dca 100644
--- a/nheqminer/libstratum/StratumClient.cpp
+++ b/nheqminer/libstratum/StratumClient.cpp
@@ -72,7 +72,7 @@ template <typename Miner, typename Job, typename Solution>
 void StratumClient<Miner, Job, Solution>::startWorking()
 {
     m_work.reset(new std::thread([&]() {
-        workLoop();
+        this->workLoop();
     }));
 }

diff --git a/nheqminer/uint256.h b/nheqminer/uint256.h
index 3729c98..f768e61 100644
--- a/nheqminer/uint256.h
+++ b/nheqminer/uint256.h
@@ -19,7 +19,7 @@ class base_blob
 {
 protected:
     enum { WIDTH=BITS/8 };
-    alignas(uint32_t) uint8_t data[WIDTH];
+    __attribute__((aligned(4))) uint8_t data[WIDTH];
 public:
     base_blob()
     {

Hello JanKalin !
I see in the Issue#1 that you were able to build nheqminer on debian Wheezy (4.7.2-5).
I'm also on this system, and I'm try to build without success.

I appled the "echo "LIBS += -lrt" >> ../nheqminer/nheqminer.pro" fix
I applied the diff you just write up
but when I "make", I have this error, can you help me ?

g++ -c -m64 -pipe -std=gnu++11 -O3 -Wall -W -fPIE -DHAVE_DECL_HTOBE16 -DHAVE_DECL_HTOLE16 -DHAVE_DECL_BE16TOH -DHAVE_DECL_LE16TOH -DHAVE_DECL_HTOBE32 -DHAVE_DECL_HTOLE32 -DHAVE_DECL_BE32TOH -DHAVE_DECL_LE32TOH -DHAVE_DECL_HTOBE64 -DHAVE_DECL_HTOLE64 -DHAVE_DECL_BE64TOH -DHAVE_DECL_LE64TOH -DHAVE_BYTESWAP_H -DHAVE_DECL_BSWAP_16 -DHAVE_DECL_BSWAP_32 -DHAVE_DECL_BSWAP_64 -I../../../lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++-64 -I../nheqminer -I../nheqminer/3rdparty -I. -o main.o ../nheqminer/main.cpp In file included from ../nheqminer/3rdparty/boost/predef/architecture.h:28:0,                  from ../nheqminer/3rdparty/boost/predef.h:14,                  from ../nheqminer/3rdparty/boost/smart_ptr/detail/yield_k.hpp:28,                  from ../nheqminer/3rdparty/boost/smart_ptr/detail/spinlock_sync.hpp:18,                  from ../nheqminer/3rdparty/boost/smart_ptr/detail/spinlock.hpp:50,                  from ../nheqminer/3rdparty/boost/smart_ptr/detail/spinlock_pool.hpp:25,                  from ../nheqminer/3rdparty/boost/smart_ptr/shared_ptr.hpp:35,                  from ../nheqminer/3rdparty/boost/shared_ptr.hpp:17,                  from ../nheqminer/3rdparty/boost/signals2/deconstruct.hpp:28,                  from ../nheqminer/3rdparty/boost/signals2.hpp:15,                  from ../nheqminer/libstratum/ZcashStratum.h:10,                  from ../nheqminer/libstratum/StratumClient.h:6,                  from ../nheqminer/main.cpp:8: ../nheqminer/3rdparty/boost/predef/architecture/x86.h:8:46: fatal error: boost/predef/architecture/x86/32.h: No such file or directory compilation terminated. make: *** [main.o] Error 1
ps: you can also send me the binary, I'm desesperated ;-p

Thanks for the builing instruction, it helps me to build the 0.3 release on Debian Wheezy :+1:

can you give me the detailed building instruction ?
I installed libboost 1.55 compiled for wheezy and I applied the patch above but are not able to compile...

Sure, here are my instructions for Debian7_amd64 and nheqminer 0.3:

remove all previous version of libboost (dpkg --list |grep libboost, then dpkg --purge remove XXX)
download libboost1.55_debian-7.11.tar from https://drive.google.com/file/d/0B7S255p3kFXNeGFRZFF6S0g5N3M/view?usp=sharing
tar xvf libboost1.55_debian-7.11.tar
cd libboost1.55_debian-7.11
dpkg -i *.deb
apt-get -y -f install

then

apt-get install make cmake gcc m4 automake libevent-dev zlibc zlib1g-dev libjansson-dev libcurl4-openssl-dev unzip
download https://github.com/nicehash/nheqminer/archive/0.3a.tar.gz
tar zxpvf 0.3a.tar.gz
change the two lines into the sources files uint256.h and libstratum/StratumClient.cpp with JanKalin instructions
cd nheqminer/nheqminer/
mkdir build
cd build
cmake ..
make

voila :+1:

JanKalin, bigrck64, thanks a lot, guys! Works on Debian 7 now!


Improper use of FinalIncorrectCltvExpiry

Background
I'm investigating https://github.com/ACINQ/eclair/issues/758, user keeps getting FinalIncorrectCltvExpiry from various lnd nodes. For example it happens with a direct channel to yalls. After looking into eclair source code, it seems we are correctly building the onion and I don't see why such an error should nereturned.
Expected behaviour
This error should only be used when there is a mismatch between the cltv value in the htlc and the value for the next hop in the onion for the last node. By convention they should be equal.
Actual behaviour
It seems that in the below code lnd returns a FinalIncorrectCltvExpiry when the last cltv value is less than an expected height. I think in that case it should return FailFinalExpiryTooSoon instead. I believe the onion is indeed properly formatted, but the user's bitcoind is out of sync.
https://github.com/lightningnetwork/lnd/blob/42c45979215e3242ef2e162ccd9de3cbb0ed28a1/htlcswitch/link.go#L2397-L2411

That section you link to is checking the onion payload, not the HTLC.

Here's where we send the too soon error: https://github.com/lightningnetwork/lnd/blob/42c45979215e3242ef2e162ccd9de3cbb0ed28a1/htlcswitch/link.go#L2286

That section you link to is checking the onion payload, not the HTLC.

Sure, but it seems that you are checking the onion value against a expectedHeight, whereas my understanding of the spec is that you should only make sure that it is equal to the cltvExpiry of the last htlc in the route.
In other words:

if lastHtlc.cltvExpiry < expectedHeight
return FinalExpiryTooSoon
if lastHtlc.cltvExpiry != onion.outgoingCltv
return FinalIncorrectCltvExpiry
if lastHtlc.cltvExpiry >= expectedHeight && onion.outgoingCltv == lastHtlc.cltvExpiry
OK

Currently the sender receives a FinalIncorrectCltvExpiry but I think that what you really meant is FinalExpiryTooSoon.

Ah you're correct! Will fix that shortly, thanks!

has there been any progress?


[DOCS] How to use Frontends with two (or more) SalesChannels?

Description
We need to document how a setup with Composable Frontends and two different SalesChannels can look like.
This documentation should also explain or have an example code for a basic store switcher.
Please also consider a way to only have one Frontend with multiple SalesChannels.
Or write down if our suggestion would be to have Frontend for every SalesChannel and the reasons for that.
Also, give some hints about the language Switcher topic (e.g. setup: 2 SalesChannel and everyone with 2 Languages).
Use Case
Different products in different SalesChannels.
Proposed Solution
No response
Alternatives Considered
No response
Additional Context
Discussion in Slack Channel.

Very Interesting. Currently need the same use case.

Yes, working on this as well.

I created an internal Task (#NEXT-31405) to have some new Endpoint to give us all the needed Information to create a SalesChannel Switch. I will come back to this topic when the new Endpoint is there.

This may also be helpful for different peps:
https://github.com/patzick/frontends-multiinstances-example

@patzick I guess we can close this Issue?


Content Co-Creation: EIP Fun Weekly 14

This is a recurring issue used for co-creating EIP Fun weekly newsletter.
Expected Release Date
September 23, 2023, at 2:00 UTC
Build Our Content Pool
Please share any ideas that could help co-create our newsletter in the comments.
Your input and collaboration are appreciated! Feel free to provide a title, pitch topics, link to resources, propose sections, or anything else that comes to mind for our newsletter.
EIP Fun Substack
Currently, our weekly newsletter is primarily published through Substack, and at the same time sent to subscribers' email inboxes. Feel free to subscribe and follow along!
Links to previous newsletters: https://eipsfun.substack.com/
You can check out the current structure, content, and style of our newsletters for reference in this link above.
And the most important thing: we really want this newsletter to be community driven! So any idea from you is welcome!
Have a good day and weekend!

EIP Updates
https://github.com/ethereum-cat-herders/EIPIP/issues/262
EIP of the Week
https://twitter.com/erc4337/status/1704478188896923663

The 14th issue of EIP Fun Weekly
English Version:
https://eipsfun.substack.com/p/eip-fun-weekly-14-pruning-nodes-and
Chinese Version:
https://mp.weixin.qq.com/s/x0d_r2-Z-5opZ9SDli7I4g
See you next issue!
Closing in favor #62


Update File Structure in Workflows

Proposed changes:

Update File Structure in Workflows
Update Function code to latest

Workflow runs successfully:


[Feature Req] Enable wc on some folders only

Problem
I use Obsidian for other things as well (not just novel writing) - so I do not need counts on all folders
Idea
Enable word counts on only some folders.

A "per-folder" option would add a lot of complexity to the settings. The official solution for this is "vaults are free, so put your novels and your other stuff in different vaults."

@championswimmer As of v3.3.1, there's an "Include file/folder names" setting you can use to only count the folders/notes you want.


feat: add uint64 to uint

Pull Request Test Coverage Report for Build 2264
Details

1 of 1 (100.0%)  changed or added relevant line in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.002%) to 90.934%

Totals

Change from base Build 2261:
0.002%

Covered Lines:
3661

Relevant Lines:
4026

💛  - Coveralls


Redesign DNS server module system

Note

Lifecycle
Easy to extend
Context

Trying to redesign plugin system with Context, make sure every plugin can share properties between each other.

Package every resolve request as a Context and then deliver to every plugins' handler.


Broken link to animated image

Hi there,
In readme, the link https://camo.githubusercontent.com/b18993cbfe91de8abdc0019dc9a6cd44707eec21/68747470733a2f2f6431337961637572716a676172612e636c6f756466726f6e742e6e65742f75736572732f3338313133332f73637265656e73686f74732f313639363538302f766266706f70666c6174627574746f6e332e676966 is a broken link. It says it's supposed to give us the animated prview.

Oops, thank you for letting me know.
This is the preview:
I am going to update the readme. Thanks!


Crash when clicking on almost any button

Problem Description
Clicking on almost any button causes the followng error. Using version 2.0.1

Reproduction
No response

Hello, please update your mod as this issue was resolved in 2.0.2. If you still encounter it after updating, let me know!


Better error/warning message for dense!=alg.smooth

Codecov Report

Merging #45 (e7433d8) into main (27bd485) will decrease coverage by 93.18%.
The diff coverage is 0.00%.

@@            Coverage Diff             @@
##             main     #45       +/-   ##
==========================================
- Coverage   93.18%   0.00%   -93.19%
==========================================
  Files          20      19        -1
  Lines         690     684        -6
==========================================
- Hits          643       0      -643
- Misses         47     684      +637

Impacted Files
Coverage Δ

src/perform_step.jl
0.00% <0.00%> (-96.04%)
:arrow_down:

src/caches.jl
0.00% <0.00%> (-100.00%)
:arrow_down:

src/priors.jl
0.00% <0.00%> (-100.00%)
:arrow_down:

src/smoothing.jl
0.00% <0.00%> (-100.00%)
:arrow_down:

src/projection.jl
0.00% <0.00%> (-100.00%)
:arrow_down:

src/preconditioning.jl
0.00% <0.00%> (-100.00%)
:arrow_down:

src/integrator_utils.jl
0.00% <0.00%> (-100.00%)
:arrow_down:

src/squarerootmatrix.jl
0.00% <0.00%> (-100.00%)
:arrow_down:

src/solution_sampling.jl
0.00% <0.00%> (-100.00%)
:arrow_down:

src/state_initialization.jl
0.00% <0.00%> (-100.00%)
:arrow_down:

... and 11 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 738b6da...e7433d8. Read the comment docs.


can't implemented to the project

Hi!
I add implementation("io.github.kevinnzou:compose-multiplatform-lifecycle-tracker:1.0.0") to the commonMain dependency in the shared module and implementation("androidx.lifecycle:lifecycle-runtime-ktx:2.7.0 ) in the androidMain section. But MainActivity doesn't see the lifecycle package.
I don't understand what I did wrong...

Oh... I changed "implementation" to "api"


Idempotency Support (FINERACT-1420)

Description
This PR is being sent for the initial review of the proposal implementation documented in the FINERACT-1420 Jira Ticket. Only one class SavingsProductsApiResource.java has in the POST the proposed solution for accepting incoming x-idempotency-key headers.
I will be glad to hear for your opinions.
A more detailed information can be found here
https://docs.google.com/presentation/d/13lw2JqE9ujHVFwmynjJcVIUA3NfcDkbs729VLgadIXE/edit?usp=sharing
Checklist
Please make sure these boxes are checked before submitting your pull request - thanks!

[X] Write the commit message as per https://github.com/apache/fineract/#pull-requests

[X] Acknowledge that we will not review PRs that are not passing the build ("green") - it is your responsibility to get a proposed PR to pass the build, not primarily the project's maintainers.

[X] Create/update unit or integration tests for verifying the changes made.

[X] Follow coding conventions at https://cwiki.apache.org/confluence/display/FINERACT/Coding+Conventions.

[X] Add required Swagger annotation and update API documentation at fineract-provider/src/main/resources/static/api-docs/apiLive.htm with details of any API changes

[X] Submission is not a "code dump".  (Large changes can be made "in repository" via a branch.  Ask on the developer mailing list for guidance, if required.)

FYI our guidelines for code reviews are at https://cwiki.apache.org/confluence/display/FINERACT/Code+Review+Guide.

This looks like a good set of changes.  What is failing on the Travis CI?

Hello James,
It is queued, not running in TravisCI, waiting for the excution
https://app.travis-ci.com/github/apache/fineract/builds/241137906
El mié, 3 nov 2021 a las 17:50, James D @.***>)
escribió:

This looks like a good set of changes. What is failing on the Travis CI?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/apache/fineract/pull/1951#issuecomment-960300857, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/ALD2ZAWSUIN7IRFCI2VO5SDUKHKDXANCNFSM5HJY6I2Q
.
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&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

There's a long execution queue in Apache's Travis account for the last
couple of days - so builds can take quite a while.
On Thu, Nov 4, 2021, 08:36 Víctor Romero @.***> wrote:

Hello James,
It is queued, not running in TravisCI, waiting for the excution
https://app.travis-ci.com/github/apache/fineract/builds/241137906
El mié, 3 nov 2021 a las 17:50, James D @.***>)
escribió:

This looks like a good set of changes. What is failing on the Travis CI?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/apache/fineract/pull/1951#issuecomment-960300857,
or
unsubscribe
<
https://github.com/notifications/unsubscribe-auth/ALD2ZAWSUIN7IRFCI2VO5SDUKHKDXANCNFSM5HJY6I2Q
.
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&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub
.

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/apache/fineract/pull/1951#issuecomment-960333145, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AASJVCSTVZZYCJT43ST3IDLUKHIQJANCNFSM5HJY6I2Q
.
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&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

The commit history looks weird.. Seems you started implementing this change on a branch with was not upto date with Fineract upstream develop branch...

You will have to rebase this ontop of fineract develop and squash the commits..

I have seen something similar to this PR.. here: https://github.com/apache/fineract/pull/515
https://issues.apache.org/jira/browse/FINERACT-698, is there something we can learn from that ?

Rebased in #2000


Set minimum/maximum for integer array item

Hello,
How can I set the array item minimum / maximum permitted value with annotations.
Limit the array item to not go over 200.
JSON code:
{
    Items: [1, 100, 5, 200]
}

C# code:
[Required]
public int[] Items { set; get; }

Thanks

[MaxItems]?

Defining the minimum and maximum length of an array.

Isnt the [MaxItems] and [MinItems] attribute what you are looking for?


Invalid syntax error if description contains quote

See PR https://github.com/logary/logary/pull/91
SqlServer description generator is not allowed to have quotes in column or table description.

Please see issue #650 - same problem for Oracle

Oracle problem is already fixed in 9047d8c


DbaMaxMemory

[ ] Copy Get-SqlMaxMemory to Test-DbaMaxMemory
[ ] Rename Get-SqlMaxMemory to Get-DbaMaxMemory
[ ] Remove recommendation from within Get-DbaMaxMemory
[ ] Add Notes column with info to Test-DbaMaxMemory

Apologies but I did not spot this earlier. I have raised PR #340 "Memory suggestions are offered by Test-SqlMaxMemory" which implements more-or-less is this functionality.
I will rename the Get-SqlMaxMemory to Get-DbaMaxMemory as proposed here.
@ctrlbold: Could you kindly clarify please what information the new column in Test-DbaMaxMemory should include?

Hey thanks again for taking time out of your weekend to help!
The notes column should be titled Notes and say "This is a general recommendation that does account for specialized environments."

It is my pleasure.
I also spotted Set-SqlMaxMemory cmdlet. should we rename this as well to Set-DbaMaxMemory?

Yes, please 👍  I mentioned in the previous code review that I'll take care of the psd1 and psm1 once the PR is approved. There, I'll add the newly named commands and alias the old ones.

Wouldn't it be an enhancement if we rename both Get- and Test-DbaMaxMemory to DbaMemorySettings and include the MinMemory?
I see the Get-dbaMaxMemory already returns a few extra columns, so it's probably not a big deal to add MinMemory. I believe this would be better than creating separate functions for MinMemory, because one would mostly want to see them together.
Especially on virtual machines MinMemory is an important setting.

I'm open to that, though this is one of my oldest commands and people expect it to be named MaxMemory. Actually, I really want MaxMemory [tho i'm open to be convinced later, just not ready to let go now ;)]. Can you do MinMemory and then make a third one that does both?
I could never find a good formula for MinMemory, you?

I don't know if it's possible to calculate advice on minmemory. I suppose a lot of settings in VMWare or whatever influence the behaviour, and the load on other machines that share the resources. I don't know much about those things (thin and thick provisioining, ballooning,...)
It would be useful to see anyway, in the Get- function for sure.
If we rename the existing function and add Get-DbaMaxMemory as an alias, would that satisfy all needs?

Done AF!


JAMES-2434 IsFromMailingList matcher

Implemented IsFromMailingList matcher with using AutomaticallySentMailDetector::isMailingList utility. This matcher returns recipients of the mail if the mail is from a mailing list.
Fixed IsSingleRecipient matcher - for methods that return an array, prefer returning an empty array over a null value.

2 licenses to add but overall thanks for this great contribution!

Thank you for taking the time to review my code. I appreciate your feedback and will use it to improve my work in the future.

20:46:20,494 [ERROR] Failed to execute goal org.apache.maven.plugins:maven-checkstyle-plugin:3.1.2:check (check-style) on project apache-mailet-standard: You have 2 Checkstyle violations. -> [Help 1]

There is some checkstyle issue with your code (we have a maven plugin doing some strict code style checking following this file: https://github.com/apache/james-project/blob/master/checkstyle.xml during the build)
I would guess likely some unused imports in the files in your PR that you added/modified. Please help fixing this :)

20:46:20,494 [ERROR] Failed to execute goal org.apache.maven.plugins:maven-checkstyle-plugin:3.1.2:check (check-style) on project apache-mailet-standard: You have 2 Checkstyle violations. -> [Help 1]

There is some checkstyle issue with your code (we have a maven plugin doing some strict code style checking following this file: https://github.com/apache/james-project/blob/master/checkstyle.xml during the build)
I would guess likely some unused imports in the files in your PR that you added/modified. Please help fixing this :)

Sorry, I'm just used to a different import order :)

Sorry, I'm just used to a different import order :)

No worries :)


Add Responsive Text in voter registration Help page

Is your feature request related to a problem? Please describe.
The text of the help page is not responsive, the mobile view of help page is weird
Describe the solution you'd like
I would like to change the css of help page become responsive text.

Under DCP or LGMSoC?

Nope for both


[SPARK-15912] [SQL] Replace getPartitionsByFilter by getPartitions in inputFiles of MetastoreRelation

What changes were proposed in this pull request?
Always returns the files of all the partitions when calling inputFiles. Thus, the implementation of inputFiles in MetastoreRelation does not need to call getPartitionsByFilter. Instead, we should call getPartitions.
No test case is available for inputFiles API in MetastoreRelation. This PR also adds the missing test cases.
How was this patch tested?
See above.

Test build #60382 has started for PR 13633 at commit 77c8808.

Test build #60382 has finished for PR 13633 at commit 77c8808.

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

Merged build finished. Test FAILed.

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

Test build #60687 has started for PR 13633 at commit eb9b375.

Test build #60687 has finished for PR 13633 at commit eb9b375.

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

Merged build finished. Test FAILed.

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

Weird failure. It can pass in my local environment. Will resolve it later. Let me close it now


Store alert and remediation history

This captures the alert and remediation statuses and stores them in the new tables.
Fixes #3556
Summary
Provide a brief overview of the changes and the issue being addressed.
Explain the rationale and any background necessary for understanding the changes.
List dependencies required by this change, if any.
Fixes #(related issue)
Change Type
Mark the type of change your PR introduces:

[ ] Bug fix (resolves an issue without affecting existing features)
[x] Feature (adds new functionality without breaking changes)
[ ] Breaking change (may impact existing functionalities or require documentation updates)
[ ] Documentation (updates or additions to documentation)
[ ] Refactoring or test improvements (no bug fixes or new functionality)

Testing
Outline how the changes were tested, including steps to reproduce and any relevant configurations.
Attach screenshots if helpful.
Review Checklist:

[x] Reviewed my own code for quality and clarity.
[x] Added comments to complex or tricky code sections.
[ ] Updated any affected documentation.
[ ] Included tests that validate the fix or feature.
[ ] Checked that related changes are merged.

coverage: 52.422% (-0.04%) from 52.466%
when pulling 4ce9d7d10a83dc73be570d0323994c76c9fbd7f9 on alert-remediate-log
into cae4b26277cd9cfa178177b504544218987e9b2a on main.


[Feature request] Replace with latest in navigation

There is already an existing attribute where you can replace the link in navigation with the first child element. This works great.
I have heard numerous times from clients that instead of this, they would like to replace the link with the newest element in the tree.
I have usually instructed them to change the sitemap order so that the newest element is first in the tree, but this is usually too complicated for many clients.
This would work nicely for example in situation where you have a Blog link in the navigation and you want the link to go to the latest blog entry as default.

I have long thought it would be neat if you could control the way that children in the sitemap were automatically added/listed to that area of the site. Most of the time display order is the proper way, but there are a lot of areas in sites that you might want to keep alphabetical, or list in chronologically descending order (like your blog example.) It'd be cool if we could designate those areas with some custom property on the parent page, saying "keep my children arranged in
o Display Order (default)
o Alphabetical Order
o Chronologically Descending Order
o Chronological Order
(not sure those are the best labels but it'd be a neat feature – it would also get you what you're looking for while working with existing blocks like page lists, autonavs)

That sounds like a very good solution and would make the automatic navigation much better.


fix: dynamic THORSwapper slippage

Description

Notice

[ ] Have you followed the guidelines in our Contributing guide?
[ ] Have you checked to ensure there aren't other open Pull Requests for the same update/change?

Pull Request Type

[ ] :bug: Bug fix (Non-breaking Change: Fixes an issue)
[ ] :hammer_and_wrench: Chore (Non-breaking Change: Doc updates, pkg upgrades, typos, etc..)
[ ] :nail_care: New Feature (Breaking/Non-breaking Change)

Issue (if applicable)

closes #
Risk

Testing

Engineering

Operations

Screenshots (if applicable)

Current dependencies on/for this PR:

develop

PR #4077   👈

PR #4078

This comment was auto-generated by Graphite.


Allow fragments to override the name of new profiles

After this commit we only set the default fields of a profile - primarily the
name field - as late as possible, after layering has already completed.
This ensures that we pick up any modifications from fragments.
PR Checklist

[x] Closes #12520
[x] I work here
[x] Tests added/passed

Validation Steps Performed

Add a fragment at
%LocalAppData%\Microsoft\Windows Terminal\Fragments\Fragment\fragment.json
with
{"profiles":[{"updates":"{61c54bbd-c2c6-5271-96e7-009a87ff44bf}","name":"NewName"}]}
Windows PowerShell profile is created with the name "NewName" in settings.json ✅

Thanks a lot for fixing this!!!


Define an API evolution concept

Inspiration: https://github.com/eclipse-theia/theia/blob/master/doc/api-management.md

Uh nice! Are there tools to determine whether the state is compatible to the last (semantic) version?

Code reviews 😁

I only found  this old and inactive JS package/repo https://www.npmjs.com/package/cracks .
Static analysis libraries like ts-morph are available, why are there any CLI tools or vs-code extensions for that? That is really strange.

Maybe we can add some tests like described here: https://lostintime.dev/2021/01/02/typescript-api-breaking-changes.html
But seems to be a lot of work for a huge codebase like ours

I like the last idea, since we might want to respect annotations like STABLE, EXPERIMENTAL, DEPRECATED.


Lightware Taurus UCX-4x2-HC30

Hi Everybody,
the actual Implementation of the LW3 Protocol does not work with the Taurus UCX-4x2-HC30.
I get no Video Inouts or Outputs to choose from.
Seems that the command to collect the Input / Output Names ist not supportet on the Taurus UCX.
Or am I missing something?
Attached ist the Protocol of the Taurus UCX-4x2-HC30.
Taurus_UCX_series_Users_Manual.pdf

any update on this

There is no update done so far, but I'm currently having talks with Lightware because they are interested in an implementation of some of their products. Additionally experience shows that it is not possible to implement something without testing on the real hardware.


opencv failed to call opencl

opencv failed to call opencl
Number of platforms                               1
Platform Name                                   ARM Platform
Platform Vendor                                 ARM
Platform Version                                OpenCL 2.1 v1.g6p0-01eac0.efb75e2978d783a80fe78be1bfb0efc1
Platform Profile                                FULL_PROFILE
Platform Extensions                             cl_khr_global_int32_base_atomics cl_khr_global_int32_extended_atomics cl_khr_local_int32_base_atomics cl_khr_local_int32_extended_atomics cl_khr_byte_addressable_store cl_khr_3d_image_writes cl_khr_int64_base_atomics cl_khr_int64_extended_atomics cl_khr_fp16 cl_khr_icd cl_khr_egl_image cl_khr_image2d_from_buffer cl_khr_depth_images cl_khr_subgroups cl_khr_subgroup_extended_types cl_khr_subgroup_non_uniform_vote cl_khr_subgroup_ballot cl_khr_il_program cl_khr_priority_hints cl_khr_create_command_queue cl_khr_spirv_no_integer_wrap_decoration cl_khr_extended_versioning cl_khr_device_uuid cl_arm_core_id cl_arm_printf cl_arm_non_uniform_work_group_size cl_arm_import_memory cl_arm_import_memory_dma_buf cl_arm_import_memory_host cl_arm_integer_dot_product_int8 cl_arm_integer_dot_product_accumulate_int8 cl_arm_integer_dot_product_accumulate_saturate_int8 cl_arm_scheduling_controls cl_arm_controlled_kernel_termination cl_ext_cxx_for_opencl
Platform Host timer resolution                  1ns
Platform Extensions function suffix             ARM
Platform Name                                   ARM Platform
Number of devices                                 1
arm_release_ver of this libmali is 'g6p0-01eac0', rk_so_ver is '5'.
Failed creating base context during opening of kernel driver.
Kernel module may not have been loaded
Device Name                                     <printDeviceInfo:0: get CL_DEVICE_NAME size : error -6>
Device Vendor                                   ARM
arm_release_ver of this libmali is 'g6p0-01eac0', rk_so_ver is '5'.
Failed creating base context during opening of kernel driver.
Kernel module may not have been loaded
Device Vendor ID                                <printDeviceInfo:2: get CL_DEVICE_VENDOR_ID : error -6>
Device Version                                  OpenCL 2.1 v1.g6p0-01eac0.efb75e2978d783a80fe78be1bfb0efc1
Driver Version                                  2.1
Device OpenCL C Version                         OpenCL C 2.0 v1.g6p0-01eac0.efb75e2978d783a80fe78be1bfb0efc1
Device Type                                     GPU
Device Profile                                  FULL_PROFILE
Device Available                                Yes
Compiler Available                              Yes
Linker Available                                Yes
arm_release_ver of this libmali is 'g6p0-01eac0', rk_so_ver is '5'.
Failed creating base context during opening of kernel driver.
Kernel module may not have been loaded
Max compute units                               <printDeviceInfo:17: get CL_DEVICE_MAX_COMPUTE_UNITS : error -6>
arm_release_ver of this libmali is 'g6p0-01eac0', rk_so_ver is '5'.
Failed creating base context during opening of kernel driver.
Kernel module may not have been loaded
Max clock frequency                             <printDeviceInfo:21: get CL_DEVICE_MAX_CLOCK_FREQUENCY : error -6>
Device Partition                                (core)
Max number of sub-devices                     0
Supported partition types                     None
Supported affinity domains                    (n/a)
Max work item dimensions                        3
arm_release_ver of this libmali is 'g6p0-01eac0', rk_so_ver is '5'.
Failed creating base context during opening of kernel driver.
Kernel module may not have been loaded
Max work item sizes                             <printDeviceInfo:36: get number of CL_DEVICE_MAX_WORK_ITEM_SIZES : error -6>
arm_release_ver of this libmali is 'g6p0-01eac0', rk_so_ver is '5'.
Failed creating base context during opening of kernel driver.
Kernel module may not have been loaded
Max work group size                             <printDeviceInfo:37: get CL_DEVICE_MAX_WORK_GROUP_SIZE : error -6>
arm_release_ver of this libmali is 'g6p0-01eac0', rk_so_ver is '5'.
Failed creating base context during opening of kernel driver.
Kernel module may not have been loaded
Preferred work group size multiple              <getWGsizes:1171: create context : error -6>
arm_release_ver of this libmali is 'g6p0-01eac0', rk_so_ver is '5'.
Failed creating base context during opening of kernel driver.
Kernel module may not have been loaded
Max sub-groups per work group                   <printDeviceInfo:43: get CL_DEVICE_MAX_NUM_SUB_GROUPS : error -6>
Preferred / native vector sizes
char                                                16 / 4
short                                                8 / 2
int                                                  4 / 1
long                                                 2 / 1
half                                                 8 / 2        (cl_khr_fp16)
float                                                4 / 1
double                                               0 / 0        (n/a)
Half-precision Floating-point support           (cl_khr_fp16)
Denormals                                     Yes
Infinity and NANs                             Yes
Round to nearest                              Yes
Round to zero                                 Yes
Round to infinity                             Yes
IEEE754-2008 fused multiply-add               Yes
Support is emulated in software               No
Single-precision Floating-point support         (core)
Denormals                                     Yes
Infinity and NANs                             Yes
Round to nearest                              Yes
Round to zero                                 Yes
Round to infinity                             Yes
IEEE754-2008 fused multiply-add               Yes
Support is emulated in software               No
Correctly-rounded divide and sqrt operations  No
Double-precision Floating-point support         (n/a)
Address bits                                    64, Little-Endian
arm_release_ver of this libmali is 'g6p0-01eac0', rk_so_ver is '5'.
Failed creating base context during opening of kernel driver.
Kernel module may not have been loaded
Global memory size                              <printDeviceInfo:77: get CL_DEVICE_GLOBAL_MEM_SIZE : error -6>
Error Correction support                        No
arm_release_ver of this libmali is 'g6p0-01eac0', rk_so_ver is '5'.
Failed creating base context during opening of kernel driver.
Kernel module may not have been loaded
Max memory allocation                           <printDeviceInfo:83: get CL_DEVICE_MAX_MEM_ALLOC_SIZE : error -6>
Unified memory for Host and Device              Yes
arm_release_ver of this libmali is 'g6p0-01eac0', rk_so_ver is '5'.
Failed creating base context during opening of kernel driver.
Kernel module may not have been loaded
Segmentation fault (core dumped)

Hi. Was wondering if there is a connection to Arm NN? Can you please explain?  Thanks.


Make cmd more testable by abstracting authArgs and AzureClient

What this PR does / why we need it:
Improve testability of the cmd package by abstracting the authArgs dependency.
This allows tests to stub the authArgs.getClient() call and return a fake ACSEngineClient instead of the concrete AzureClient instance
Special notes for your reviewer:
If this is ok, the same pattern can be applied for other command that depends on the AzureClient.

/lgtm pending E2E, thanks @serbrech!

@serbrech FYI, this looks fine, but it occured to me that our E2E doesn't traverse bin/acs-engine deploy and instead uses bin/acs-engine generate + az group deployment create.
Let's use this as an excuse to build a 1st class bin/acs-engine deploy E2E test. Stand by... :)

added #3776


MailChimp error 404 - TypeError can't convert Gibbon::Request to Array

Code:
gb = Gibbon::Request.new(api_key: "my_api_id")
puts "failed because"
puts gb.error.raw_body
gb.timeout = 15
gb.throws_exceptions = true
gb.lists("my_list_id").members.create(body: {email_address<EMAIL_ADDRESS>status: "subscribed", merge_fields: {FNAME: "First Name", LNAME: "Last Name"}})
Error from gibbon.error.raw_body:
failed because
[ActiveJob] [SubscribeUserToMailingListJob] [f9641310-050b-495b-93f6-0950df91f3fe] Performed SubscribeUserToMailingListJob from SuckerPunch(default) in 0.84ms
Sucker Punch job error for class: 'ActiveJob::QueueAdapters::SuckerPunchAdapter::JobWrapper' args: [{"job_class"=>"SubscribeUserToMailingListJob", "job_id"=>"f9641310-050b-495b-93f6-0950df91f3fe", "queue_name"=>"default", "arguments"=>[{"_aj_globalid"=>"gid://jozu/User/54"}], "locale"=>:en}]
TypeError can't convert Gibbon::Request to Array (Gibbon::Request#to_ary gives Gibbon::Request)

Hi @Jirka1111, what's your question?
A few things off hand w/ the code you posted:
Throws_exceptions is set to true by default now. No need to set it again unless you really ant to.
You can't read the error like that. You need to make your call within a begin/rescue block and print the contents of the error there.
Check out the README for an example but you can enable a debug mode that'll print the response for you to make it easier to see what's wrong.

I guess it did not help:
Houston, we have a problem: the server responded with status 404 @title="Resource Not Found", @detail="The resource 'ThrowsExceptions_Instance' could not be found.", @body={"type"=>"http://developer.mailchimp.com/documentation/mailchimp/guides/error-glossary/", "title"=>"Resource Not Found", "status"=>404, "detail"=>"The resource 'ThrowsExceptions_Instance' could not be found.", "instance"=>""}, @raw_body="{"type":"http://developer.mailchimp.com/documentation/mailchimp/guides/error-glossary/\",\"title\":\"Resource Not Found","status":404,"detail":"The resource 'ThrowsExceptions_Instance' could not be found.","instance":""}", @status_code=404 - {"type":"http://developer.mailchimp.com/documentation/mailchimp/guides/error-glossary/","title":"Resource Not Found","status":404,"detail":"The resource 'ThrowsExceptions_Instance' could not be found.","instance":""}

Code:
begin
      gb = Gibbon::Request.new(api_key: "api_key")
      gb.timeout = 15
      gb.throws_exceptions = true
      gb.lists("list_key").members.create(body: {email_address<EMAIL_ADDRESS>status: "subscribed", merge_fields: {FNAME: "First Name", LNAME: "Last Name"}})
    rescue Gibbon::MailChimpError => e
      puts "Houston, we have a problem: #{e.message} - #{e.raw_body}"
    end

My question is... Where is the problem? The code is from Readme, I use test data.
Thank you, amro.

Remove the line to set throws_exceptions = true. I removed that option in Gibbon 2, which targets the new API. I forgot that above when I suggested you remove it.

I cant believe it helped :) I wanted to remove it after your first answer but went to sleep. Your explanation is logical but it I did not realize it :-)
Thank you very much :)
Maybe this easy code should be in Readme:
   begin
      gb = Gibbon::Request.new(api_key: "your_api_key")
      gb.timeout = 15
      gb.lists("your_list_key").members.create(body: {email_address<EMAIL_ADDRESS>status: "subscribed", merge_fields: {FNAME: "First Name", LNAME: "Last Name"}})
    rescue Gibbon::MailChimpError => e
      puts "Houston, we have a problem: #{e.message} - #{e.raw_body}"
    end

Glad you got it working


[3PI Support] Add file-sourced external account credentials

Structure of 3PI Support
The implementation of 3PI support is organized as follows:

Base external account credentials class [#24208]
Subclasses to base external account credentials
a. url-sourced credentials [#24411]
b. file-sourced credentials [This PR]
c. aws-sourced credentials
Internal and public apis

Description of this PR
This PR adds the file external account credentials, which retrieve the subject token from a local file then send it back to the base class.
@markdroth Please take a look and let me know if you have any questions. Thanks!

This change is

I don't know what's causing that problem.  @nicolasnoble or @jtattermusch, can one of you please advise?
The failure in question is here: https://source.cloud.google.com/results/invocations/d8c2251c-5127-4e2d-9cdc-9b67f85db8cc/targets/github%2Fgrpc%2Frun_tests%2Fc_windows_dbg_native/tests

I've triggered the tests again.  Let's see if maybe that was just a flake.

I re-triggered the tests.
This problem is very strange, because the test is already writing files using the same code, and it's not having any problems with the existing tests.

I think I know the cause to the failures now, although the issue is still strange.
On Windows, the file path is returned as C:\Users\ContainerAdministrator\AppData\Local\Temp\tes2A41.tmp. The first backslash \ gets parsed as an escape character, which results in:

OSError: [Errno 22] Invalid argument for "Basic Tests C Windows".
JSON parse error for "Bazel RBE Windows Debug/Opt C/C++".

It was not a problem for the existing tests maybe because the file path was stored directly, while in this case it's stored then retrieved from a JSON object.
I made a fix that changes all backslash to slash in the file path, since Windows accept both of them. Not sure if the fix works but I think it worth a try. Please re-trigger the tests. Thanks!

Good find!  I've re-triggered the tests.

According to the logs, I believe the file path issue on Windows should be fixed now!
The failures of the lastest CI testing are resulted from an incorrect GRPC_ERROR_UNREF(). I just fixed it and please trigger the tests again. Hopefully it could be green this time!

That looks better.  I've re-triggered the tests.

I've re-triggered the tests.

CI is green now.


[HOLD App#35603] [Wave8] [Account Settings] Update About page

Coming from tracking issue for this initiative.
Using the Figma final mocks, please update the Account Settings About page in the new ideal navigation layout to look like this:

For help with anything unclear, please, post in wave8 room.
Please tag design team for a review on the PR before merging.
cc @trjExpensify @dannymcclain

Will be handled by SWM

Still on hold? @mountiny

Nope its actually in staging already

Consolidating on this issue for payment: https://github.com/Expensify/App/issues/35606


Update to latest many-rs & crates

Update to latest many-rs, cbor-diag and tracing-subscriber
I'm curious to know if there's a better way of doing this.

I want to test determinism in many-framework async with this tool.


add design doc for query level spill

What problem does this PR solve?
Issue Number: ref #7738
Problem Summary:
What is changed and how it works?
Add design doc for TiFlash query level auto spill
Check List
Tests

[ ] Unit test
[ ] Integration test
[ ] Manual test (add detailed scripts or steps below)
[ ] No code

Side effects

[ ] Performance regression: Consumes more CPU
[ ] Performance regression: Consumes more Memory
[ ] Breaking backward compatibility

Documentation

[ ] Affects user behaviors
[ ] Contains syntax changes
[ ] Contains variable changes
[ ] Contains experimental features
[ ] Changes MySQL compatibility

Release note

None

/run-all-tests


do not cluster features that return null from the geometry function b…

Fix #9093

@tschaub how can I fix the CircleCI build? Locally all tests ran successful.

The master branch is at 5.3.x, you seem to target v3.20.x which is basically dead (>2yrs old), your PR has merge conflicts so it's unlikely to be merged.
in fact file src/ol/source/cluster.js no longer exists

Thanks for the reply @mprins!
Unfortunately we can't upgrade to v5 in our project at the moment. Could you provide a new version v3.20.2 with this fix or will there never be new ol3 versions? In that case it is not a problem to depend on our fork branch with the fix.

Hi,
@coemans I looking quickly, the issue is still present on master: Cluster.js#L166
Any news about integration of this in the current version (v5)?
Thx

@kekel87 no news yet.. We've integrated with a fork dependency where I fixed this issue. Maybe you should make a new pull request with the same fixe in the current version?


Parsing json output

How to publish a variable depending on if a particular key exists in json output?
For e.g
Consider following json output
x={"a":1,"b":2}
Then,
if b exists in x then c=3 otherwise c=4

I think that the way to do it would be to have branching on-success: options, similar to here https://github.com/StackStorm/st2/blob/master/contrib/examples/actions/workflows/mistral-branching.yaml#L17
Depending on the contents of X, you would execute different tasks. Those tasks would be core.noop actions that publish the variable you want.

I not looking for executing different tasks. I am looking to publish a variable with a particular value depending on certain key is present in the output of the task.

I know you don't want to execute a different task. But what I'm trying to say is that I don't think you can do a conditional publish. Instead you need to conditionally execute different tasks, each of which can have a different publish: line. There's no actual action executed - it calls core.noop. It is a common pattern to use core.noop when you're trying to publish something without calling a real action.
There may also be other patterns to solve your bigger problem. You're focusing on a very narrow aspect, and without wider context about the real problem you're trying to solve it's hard to offer more general help.

How to parse following,
"published": {
"status": "Entity successfully created",
"ci_id": "{"success":true,"id":"svr-1511520146139","message":"Entity created successfuly"}"
}
I want to access <% $.ci_id.id%>


QTemporal wrong time

I found time wrong in example console.py
In q:
q).z.z
2016.06.15T**# 22**:49:42.868
q).z.Z
2016.06.16T_# 10:49:47.925
q)
in qpython:
Q).z.z
2016-06-16T**# 06**:50:16.811+0800 [metadata(qtype=-15)]
Q).z.Z
2016-06-16T_# 18:50:21.444+0800 [metadata(qtype=-15)]

I wouldn't say that it is an error, returned dates are the same but printed with taking into account your time zone. Date is shifted for 8 hour and this information is included in represented string:
Q).z.z
2016-06-16T06:50:16.811**+0800** [metadata(qtype=-15)]
Starting from version 1.11.0 of the numPy library that is used in qPython the logic of handling datetime64 type has changed and is timezone naive now. If you want to get same representation as in q without timezone adjustment you should upgrade numPy version.


[DO NOT MERGE] Patch 0.6.2

Contains the following for getting 0.6.2 patch release:

master - unzip merge
https://github.com/tangrams/tangram-es/pull/1469
travis setups to enable build/release for this branch
updates version number

TODO:

Next steps to tag and push release using this branch
Post release update versions on master to 0.6.3-SNAPSHOT and 0.6.3-dev respectively on android and ios platforms.

Superseded by #1475


Support vsomeip cmake option.

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

Coverage data is based on head (7aadbfd) compared to base (e9a430b).
Patch has no changes to coverable lines.

Additional details and impacted files
@@          Coverage Diff           @@
##           master    #983   +/-   ##
======================================
  Coverage    2.93%   2.93%
======================================
  Files          20      20
  Lines        6167    6167
======================================
  Hits          181     181
  Misses       5986    5986

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

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


Property "Mode" missing, resource styles not imported

Using the available nuget packages,

LoadingIndicators.WPF 0.0.1
LoadingIndicators.WPF.Core 1.0.1

the loading indicators will not show up.
As a workaround we can add the resource dictionaries from the referenced library like this: In App.xaml add
<ResourceDictionary Source="pack://application:,,,/LoadingIndicators.WPF;component/styles/LoadingThreeDots.xaml"/>

and then we can use the style keys
<wpf:LoadingIndicator Style="{StaticResource LoadingIndicatorThreeDotsStyleKey}"/>

Agreed -- It seems like the NuGet package is due for a bump. It'd be nice to try out the other loading indicators without forking this project.

Same issue.

I don't remember much on this but I remember back then doing something similar when using the lib. What was the expected behaviour? Just to have a notion

Hi @zeluisping ,
I would suggest to just close the issue. Too long ago for me to remember accurately

IIRC there were a bunch of different loading indicators/properties that were available in code but never published to NuGet. So one had to fork the project to get access.


The repair is not passed to the mating argument of the MixedVariableGA class

Not sure whether this is by design, suppose I want to have a customized repair for MixedVariableGA. But this customized repair is not passed to the mating argument https://github.com/anyoptimization/pymoo/blob/af8d260a5ba34c5e427b671586c32351765419a9/pymoo/core/mixed.py#L160
As a consequence, the mated population may not follow the constraints defined in the customized repair unless it is specifically passed such as
mating=MixedVariableMating(eliminate_duplicates=MixedVariableDuplicateElimination(), repair=some_repair())

Without having tried it myself, repair is a paramter of MixedVariableMating. Can you check if passing it here works for you?

@blankjul Yes, actually it is what I mean and it took me sometime to figure out. The customized repair not only has to be passed for the MixedVariableGA itself, but also has to be explicitly passed to MixedVariableMating.
So the initialization of a MixedVariableGA with a customized repaire would be something like below, which is not very handy to use.
algo = MixedVariableGA(
    ...,
    mating=MixedVariableMating(eliminate_duplicates=MixedVariableDuplicateElimination(), repair=some_repair()),
    repair=some_repair()
   )

If it is not by design, maybe we can consider to first check whether repair is in the kwargs, if it is, then also "add" it to the mating?

This actually is by design. The main reason is that the mating creates n individuals which are not duplicated with the population passed AND within itself. To determine if an indvidual is a duplicate we first have to run the Repair operator. Otherwise, it might not be a duplicate initially, but then become one after the repair operator has been applied.
I was thinking about this statement
The customized repair not only has to be passed for the MixedVariableGA itself, but also has to be explicitly passed to MixedVariableMating.

Does this imply if you DO NOT pass it to MixedVariableGA it does not work? I would think ONLY passing it to MixedVariableMating should be sufficient. Can you quickly check if this is the case?

Hi @blankjul , sorry for the late reply. No, only passing the repair to the mating does not work. I have a minimum working example based on https://pymoo.org/customization/mixed.html to reproduce the test.
My pymoo version is <IP_ADDRESS>.
So I want to apply a simple constraint to force x['b'] + x['y'] + x['z'] = 5

if I only pass the repair to the algorithm, the constraint only holds for the first iteration and then breaks
if I both pass the repair to the algorithm and the mating, the constraint only holds, which is desired
if I only pass the repair to the mating, I got a warning "WARNING: Mating could not produce the required number of (unique) offsprings!"

I hope this is enough for you to reproduce the test and let me know if you need anything else.
from pymoo.core.mixed import (
    MixedVariableDuplicateElimination,
    MixedVariableGA,
    MixedVariableMating,
)
from pymoo.core.problem import ElementwiseProblem
from pymoo.core.repair import Repair
from pymoo.core.variable import Binary, Choice, Integer, Real
from pymoo.optimize import minimize

class MixedVariableProblem(ElementwiseProblem):

    def __init__(self, **kwargs):
        vars = {
            "b": Binary(),
            "x": Choice(options=["nothing", "multiply"]),
            "y": Integer(bounds=(0, 2)),
            "z": Real(bounds=(0, 5)),
        }
        super().__init__(vars=vars, n_obj=1, **kwargs)

    def _evaluate(self, X, out, *args, **kwargs):
        b, x, z, y = X["b"], X["x"], X["z"], X["y"]

        f = z + y
        if b:
            f = 100 * f

        if x == "multiply":
            f = 10 * f

        out["F"] = f

class ToyRepair(Repair):
    def _do(self, problem, X, **kwargs):
        return [self._repair_z(x) for x in X]

    @staticmethod
    def _repair_z(x):
        x["z"] = 5 - x["b"] - x["y"]
        return x

problem = MixedVariableProblem()

# algorithm = MixedVariableGA(pop=10, repair=ToyRepair()) # constraint does not hold
mating = MixedVariableMating(
    eliminate_duplicates=MixedVariableDuplicateElimination(), repair=ToyRepair()
)
# algorithm = MixedVariableGA(
#     pop=10, mating=mating, repair=ToyRepair()
# )  # constraint hold

# WARNING: Mating could not produce the required number of (unique) offsprings!
algorithm = MixedVariableGA(pop=10, mating=mating)

res = minimize(problem, algorithm, termination=("n_evals", 1000), seed=1, verbose=True)

print("Best solution found: \nX = %s\nF = %s" % (res.X, res.F))

Fair point! I have just checked the code and can reproduce it!
In fact, not passing it will make the initial population to be non-repaired. But all individuals will be repaired later on!
Do you have any direct suggestion how you would expect this to be improved? Happy to look at a PR as well.


Fix OSX 10.10 parse issues

Symbol information can be separated by spaces instead of tabs
literal strings can cover multiple lines, so me must skip
most unparseable messages.

Thanks! I just ignored the "unparsed:" output, it was just noisy, not harmful, right?


changes list not cleared after local repo deleted

This happened at the first time I opened codeapp after an update earlier.
All of my local repos are disconnected from git and needed to re-initialise.
I decided to delete them. And after that, I found the change I made before has remained in the source control/changes area.
I count remove it. And when I try to press the "add" button from that change, it returns "invalid path: '.Trash/$my_repo/'.
The solution I found is going to the terminal then '.Trash' and deleting the file there, or going to the "file" app and deleting the repo in the "recent delete" area.
Then I had to go back to codeapp and re-press the "add" button. Now the record has gone and source control page turned to the layout with no existing local repo.
Could the app clear the related item like the "change" record from the repo has already been deleted?

Update - after that I clone the same repo again. And the the change record shows up at the same time.
Forget to say, that change record is exactly showing the name of my repo with untracked U mark.

OK I think I got the reason. First I didn't switch on "show hidden files" before. And I may click "initialise repository" before I delete repos. Then that untracked repo in the change area will show up every time I clone a new one. So the only thing I should do is rm -rf .git. In this case, is there any solution to avoid it? Maybe inactive "initialise repository" button when it's located in the ~?


rootio: v1.0.1

Description
Label a new version of rootio that should pull in all recent fixes.
Caveat: I don't know if our CI/CD still actually works...
Why is this needed
Currently shipped version has bugs
How Has This Been Tested?

How are existing users impacted? What migration steps/scripts do we need?

Checklist:
I have:

[x] updated the documentation and/or roadmap (if required)
[ ] added unit or e2e tests
[ ] provided instructions on how to upgrade

I think our builds are broken:
time="2022-09-07T16:11:00Z" level=error msg="failed to solve: failed to solve with frontend dockerfile.v0: failed to read dockerfile: failed to mount /run/user/1001/buildkit-mount1183879215: [{Type:bind Source:/home/runner/.local/share/img/runc/native/snapshots/snapshots/1 Options:[rbind ro]}]: operation not permitted" source="build.go:98"

Builds still look broken. :(


Delete dependency on virtualenvwrapper

virtualenvwrapper is not that needed ultimately, could all go through pip & folders location registering in the batch entry point.

Done - Dependency deleted in 2.0-alpha-2


setting different dataShard/parityShard on client and server

Currently, kcptun requires dataShard/parityShard to be the same on client and server.
I want to disable FEC only on the transmitted packet from client to server, and keep the FEC on the other direction, as there is 0% packet loss on the up link and 50% loss on the down link.
I tired setting different values to server and client, and they seem to talk to each other for a second, then the connection died.
It seems that the kcp-go protocol sends the dataShard/parityShard with every packet. I would like to know if there is any particular reason why FEC are required on both links, and if there is a way to disable one of them.

期待能分别指定client/server端的upload/download 的ds/ps，支持只开server2client的FEC，能单独关闭client2server的FEC

it's difficult to seperate, the reason is because kcptun has no handshake procedure.
then, there's no way to exchange parameters.

BUT, there may be some possiblility to deduct parameters from previous received packets.

the main concern for adding 'remote data shard' or 'parity data shard' parameters is compatibility issue.

我理解的是，client或server端只是在FEC解码和编码使用了不同的ds/ps参数，例如client的编码与server的解码一套参数，client的解码与server的编码一套参数。
我不懂网络编程，如有错误请见谅。

the main concern for adding 'remote data shard' or 'parity data shard' parameters is compatibility issue.

Just wanted to ask if user can configure ds/ps for both uplink and downlink on both server and clients. Maybe the uplink ds/ps can be set to downlink as default.
There shouldn't be any protocol modification, or I missed something?

yes <ds, ps, rds, rps> , four parameters to set FEC, and we need to handle config file compabitility issue for routers etc...

only API extension, no protocol modification.

I mean, the BEST way to handle this is some kind of  auto-tunning FEC parameters algorithm regarding incoming packets sequence from the other peer.

Auto-tunning FEC is exactly what I am trying at the moment. I wrote some scripts to send UDP packets for measuring bi-directional losses on both uplink and downlink, and I sent those information via a TCP connection over smux to the other end and restarts the server and client.
This dirty hack kind of works, but the problem is that if the client accidentally restarts, it will try to use a wrong FEC setting to connect to the server. Also, the server takes the same FEC param for all incoming clients, which is not an ideal solution if the network condition of the client varies.

In UDPspeeder the FEC configuration is written in every UDP packet, and different groups of packets can have different ds/ps. This makes auto-tuning FEC a lot easier, but it will send a lot of redundant information as the tuning shouldn't be performed very frequently.

https://github.com/xtaci/kcp-go/tree/autotune
can you review the commits of this branch ?

https://github.com/xtaci/kcp-go/commit/105bfec567d4756e22619f3d781f8f4c4b063d58
to
https://github.com/xtaci/kcp-go/commit/ff34f7683f9faefd185e1afdc873c112e4343fde

kcptun-darwin-amd64-20201009.tar.gz
kcptun-freebsd-amd64-20201009.tar.gz
kcptun-linux-386-20201009.tar.gz
kcptun-linux-amd64-20201004.tar.gz
kcptun-linux-amd64-20201009.tar.gz
kcptun-linux-arm5-20201009.tar.gz
kcptun-linux-arm6-20201009.tar.gz
kcptun-linux-arm7-20201009.tar.gz
kcptun-linux-arm64-20201009.tar.gz
kcptun-linux-mips-20201009.tar.gz
kcptun-linux-mipsle-20201009.tar.gz
kcptun-windows-386-20201009.tar.gz
kcptun-windows-amd64-20201009.tar.gz
try this one for auto FEC

https://github.com/xtaci/kcptun/releases/tag/v20201010

借问一下，20201010这个版本意思是可以不用配置服务端和客户端的dataShard，parityShard这两个参数了吗？程序会自己动态调整？

不是，是两头可以设置不同参数

期待有自动调整的版本，这两个数值的设置太复杂了，国际线路环境一直在变化，用哪组值都觉得不够好

yes <ds, ps, rds, rps> , four parameters to set FEC, and we need to handle config file compabitility issue for routers etc...

In UDPspeeder there is no rds and rps, the receiving-end is just a decoder that decodes anything the sending-end sends, the receiving-end doesn't know any info of sending-end in advance.  To achieve this, <ds,ps,idx> is written in every packet,  for example <10,5,3> means for this FEC group we have 10 original packets with 5 redundant packets,  and the current packet is the 3-rd packet in the group.
In addition, there is a group ID to help identify which FEC group the packet belongs to when out of order delivery happens. Finally it becomes like <group_id,ds,ps,idx>


conflicts_cop: remove node@ from whitelist

[x] Have you followed the guidelines in our Contributing document?
[x] Have you checked to ensure there aren't other open Pull Requests for the same change?
[x] Have you added an explanation of what your changes do and why you'd like us to include them?
[ ] Have you written new tests for your changes? Here's an example.

[x] Have you successfully run brew tests with your changes locally?

Versioned node formulae are keg_only.

Thanks @commitay!


menu button on mobile viewport

I have Configured the Sea Green navigation menu color, But the menu button on smaller screens stays blue when the navigation menu is hidden. It does change to green when the I tap the menu icon and the navigation menu expands.
I have not tried the other styles so I do not know if it is just this style or all of them.

I didn't change styles to fit the theme unless it's active (clicked). By default it's always blue. Do you expect it to be green by default!?

I think it would make more sense to leave inactive menu button blue in all themes as it represents the link. (and all links on the right are blue). When you click it, it receives the menu color and looks nice! In case you don't like it, you can easily make custom CSS code and add it to your theme extension (which will survive updates).