new: support schema for plugin init configuration with automatic validation

What type of PR is this?
/kind design
/kind documentation
/kind feature
Any specific area of the project related to this PR?
/area libscap
/area libsinsp
What this PR does / why we need it:
This adds an optional function symbol to the plugin API named get_init_schema. With that, plugins can optionally return a data schema that describes the expected format for the string passed as configuration to the init function.
Defining this symbol can bring good additional values. First, it serves as a formal documentation/contract on how the plugin can be configured, which can either be used in automated tooling or by users as a usage guideline. Second, it allows the framework to automatically pre-validate the init configuration against the schema provided by the plugin. If so, the plugin can assume the init config string to always be well-formed if received. The framework will take care generating ad-hoc expressive errors for wrongly-formatted config strings. If no schema is specified, the init config will simply be considered as an opaque string by the framework (just like it does right now).
The schema type we want to support right now is JSON Schema (https://json-schema.org/), which is a standard format to describe JSON data. If a JSON Schema is returned by the plugin through get_init_schema, then the plugin will expect the init config to be formatted as a JSON. The ss_plugin_schema_type enum has been introduced leave the door open to potential other schema-types/config-formats in the future.
Which issue(s) this PR fixes:
Special notes for your reviewer:
Does this PR introduce a user-facing change?:
new: support schema for plugin init configuration with automatic validation

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by: jasondellaluce
To complete the pull request process, please assign fntlnz after the PR has been reviewed.
You can assign the PR to them by writing /assign @fntlnz in a comment when ready.
The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

LGTM label has been added.  Git tree hash: aec3783ee4c0f835b2465e71c5e04bc1e625fc50

New changes are detected. LGTM label has been removed.

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: jasondellaluce, leogr
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS [leogr]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

LGTM label has been added.  Git tree hash: 3a3628d3baaac1f8389067c70292df039836b07d

New changes are detected. LGTM label has been removed.

LGTM label has been added.  Git tree hash: 4549cbb49646b4bd56de23089d39c6d254563d15

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: jasondellaluce, leogr
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS [leogr]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment


feat(ci): add support for external dependency script in source build pipeline

This PR introduces support for using an external dependency installation script in the reusable source build pipeline. Could you review the logic?

This looks good!


Unauthorized client side routing

Reintroducing to master branch.  closing https://github.com/meanjs/mean/pull/727
@ilanbiala @lirantal @rhutchison @codydaig

@ilanbiala Not that I am looking at this, I don't think we should do interceptors for bad request on the client side....   Server side is throwing them quite a bit, even for things like article is not found.  Guessing we don't want a redirect on these errors...  Or do we?

@trainerbill can you elaborate more on the requirement/purpose of this PR? I'm not really following what's it about.

Server side is throwing them quite a bit, even for things like article is not found. Guessing we don't want a redirect on these errors... Or do we?

@trainerbill yes, this is the intention. 404 should go use $state.transitionTo on the client to go to the 404 page.  This will all make better sense when resolves are used properly.
I am not a fan of having the pub/sub implementation here, I don't see the value of doing it this way.  The only thing I can think of is you tried implementing state.go in the http interceptor and ran in to the circular reference issue.  You need to use $injector like so, $injector.get('$state').transitionTo('bad-request');

@lirantal HTTP interceptors will do certain actions if the server responds with certain error codes.  So for like an unauthorized 401 response I created a route so that the client will redirect to the route so the user knows they are unauthorized.  This will come in handy when a user views an article then adds /edit to the end of the URL of an article that they don't own.  I suggest pulling the branch and checking it out.  Login with a user account and try to go to /admin/users.  View an article the user doesn't own and add a /edit to the URL and try and edit the article.  You will go to the unauthorized route.
@rhutchison The example you gave me was based on pub/sub.  I actually like the idea.  So then in the module controllers we can broadcast the unauth event and it does the same thing every time for certain events.  $state couldn't be injected into config so that is why I went with pub/sub but after doing it I kinda like it.  As a framework/middleware we should really have events like this to make it easier on the modules.  Just do a $rootScope.broadcast(events) and we handle everything for the modules.
As for 404, the only reason I don't like it is because the backend throws them a lot.  I don't think that redirecting to a bad-request route is a better option then just displaying the error on the client since the bad request error message is variable.  Then the user has to hit the back button to get back to their previous state.

@rhutchison Removed Modal, Removed Pub/Sub, changed unauthorized to forbidded to align with the http status code.  401 goes to authentication 403 goes to forbidden.

LGTM - thank you.

@lirantal.  This is ready to merge

@ilanbiala ?

@trainerbill I pulled this branch and tested. A few things I noticed... Forgive me if you're aware of these issues..
When not signed in, I go to an invalid route. I'm redirected to the Bad Request state. Now if sign in successfully, I'm redirected back to the Bad Request state.
If a 400 status is returned from the server, it redirects to the Bad Request, even if the 400 was caused by an invalid form submission; for instance, incorrect credentials at login.
I saw mention of the issue where the user can add /edit to an article they are viewing & get to that state. However, they are correctly sent to the Forbidden state if they attempt to submit the form. What is the plan with addressing that? Wouldn't we want to just avoid allowing that state transition in the first place? Perhaps, that's outside the scope of this PR.
@trainerbill Overall this looks really good. Thanks.

@mleanos Thanks for taking it for a test drive.  I was actually worried on the bad request 400 interceptor as the backend seems to throw them quite a bit.  I am going to remove the 400 interceptor just to get the PR in.  The forbidden route and interceptor is what I really want in.  @rhutchison any issue with this?

LGTM thanks @trainerbill

@trainerbill I see the 400 is removed, so the issue with the invalid form submission is resolved. Thanks.
I'm still seeing that when I get sent to the not-found state, and then login I'm getting redirected back to the not-found state. Were you waiting to handle that in a separate PR?
Other than that everything looks good to me.
@rhutchison I relinquish my stance on the order of which to merge these PR's. Sounds like we need to discuss, or get feedback, on #807 anyways.
This LGTM, and appears to be ready for merging.

LGTM

@mleanos @trainerbill @codydaig  Please review #843

I'm still seeing that when I get sent to the not-found state, and then login I'm getting redirected back to the not-found state. Were you waiting to handle that in a separate PR?

Don't merge yet.  Writing tests

@lirantal @rhutchison Ready to merge

LGTM


Please maintain this project!

Hi @josephfinlayson,
It's been a while since I checked it last time, but in theory I didn't plan to abandon it. Did you have anything specific in mind which you would like to see being done when opening this issue?
Cheers

@uerceg actually not really, It's now in my app with 30,000 monthly users, so I am just relying on this package to be kept up to date. It would be good to add npm audit to your CI pipeline, to make sure you're not bundling possibly insecure dependencies

Gotcha, thanks for the advice, will be done. I will try to find some time to update native install referrer library to latest version which Google has shipped and will npm audit as part of that update.


hare3: simpify and deflake synchronization in cluster tests

closes: https://github.com/spacemeshos/go-spacemesh/issues/4990
there are 2 important events that needs to be in sync:

walltime.Sub(t.clock.Now()) needs to be called after call to Advance in tests
Advance needs to be called after all eligible messages were processed

1st synchronization point is realized by waiting on computing vrf. code calls Advance, and waits for read on eligibility channel. note that event is submitted even if eligibility is nil.
2nd synchronization point is realized by waiting until message is processed by all nodes in the cluster. code calls Publish, when Publish exists message was delivered and processed by every node. so when read on sent channel is received we know that all messages were processed.

did observe any failures during the day. will merge and see if i missed anything

bors merge

known flaky test TestAccountMeshDataStream_comprehensive
bors merge


added ReArmature

So, the good news is this PR made us aware of an issue with our automated indentation checking, which we've fixed. Thanks!
The bad news is that's because this PR is indenting differently from the rest of the file. Could you please indent with four spaces?
Aside from that everything looks good to me, so once the indentation is fixed I can merge this.

Oh wild, even though I "touched" the PR by removing that space GitHub still lets me merge, as I didn't open the PR.
Seeing as I only removed a space, I doubt anyone will mind.


dts: flash: Add support for flash labels

Added a label for soc-nv-flash nodes.  Made some updates to the
generation to maintain creating defines for properties like
erase-block-size and write-block-size so they we get both
FLASH_ERASE_BLOCK_SIZE and FLASH_${LABEL}_ERASE_BLOCK_SIZE (same for
WRITE_BLOCK_SIZE).
Signed-off-by: Kumar Gala<EMAIL_ADDRESS>

Codecov Report

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

@@           Coverage Diff           @@
##           master    #6031   +/-   ##
=======================================
  Coverage   52.51%   52.51%
=======================================
  Files         406      406
  Lines       39683    39683
  Branches     7715     7715
=======================================
  Hits        20839    20839
  Misses      15663    15663
  Partials     3181     3181

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 2ede6c6...63751d4. Read the comment docs.


Install from PyPi wheel failing with syntax errors for _multiparty_solving_inner.cpp

Hi, trying to install anonlink from PyPI ("pip install anonlink" on Win 10 with Python 3.8) and it tries to compile Anonlink, then fails with syntax errors for _multiparty_solving_inner.cpp
Any suggestions here?

anonlink_install_output.txt

Anonlink 0.12.5, the version on pypi does not support Windows (because of the C++ compilation thing).
Windows support will be part of the next release. In the meantime,
you can try installing from the current master branch, as we recently added support for Windows compilation.
Azure does now also build windows wheel files, but currently only for Python 3.6 and 3.7. You can find the wheels here: https://dev.azure.com/data61/Anonlink/_build/results?buildId=744&view=results

Thanks wilko77, the 3.7 windows wheel from the build pipeline worked fine.


request an example of openid intergration

can I replace flask-openid with authlib?
if the answer is 'yes', could you pls show an example?
many thx!

No. Authlib only has openid connect for now. OpenID Connect is different than OpenID.


Update image ghcr.io/zoriya/kyoo_back to 416b038

This PR contains the following updates:

Package
Update
Change

ghcr.io/zoriya/kyoo_back
digest
c7368e3 -> 416b038

Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.

[ ] If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

Edited/Blocked Notification
Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.
You can manually request rebase by checking the rebase/retry box above.
⚠ Warning: custom changes will be lost.


The following problems will occur when running for the first time, causing the app to crash

@konradk @venits  thx~

Hello, have you encountered this problem?

Mine is after this problem occurred and after ignoring it, the problem similar to your sdk appeared

I encounter the same error. Any fix on this? thanks

I encounter the same error. Any fix on this? thanks

I switched to using webview to implement chat, because the problem of this library has not been solved yet, it is very bad and has not been solved yet

Check this one: https://github.com/livechat/react-native-livechat/issues/84#issuecomment-734337699


Port "registration accepts non-ascii passwords" from sytest

As the title states. Adds "registration accepts non-ascii passwords" to Complement from the sytest file 11register.pl.

I may be missing something, but AFICT the dendrite failures are unrelated to the test that I added. That test appears to be passing, and the failing tests seem to be unrelated to the change I made.


Figure out logging option for node-webkit

We want dem persistent logs.

Can use winston again. Don't really care for persistent logs right now.


Corrupted ManyToOneRingBuffer

Hi,
we are using Agrona in our project, specifically ManyToOneRingBuffer and today we encountered an issue which we don't know how it could happen.
We are writing into the buffer from multiple threads and reading the data from single thread. At one point the reader thread got stuck at .waitForMsgLengthVolatile(ManyToOneRingBuffer.java:312) inside of read method and it is not possible to read the data from buffer anymore.
Environment:
agrona version: 0.3.1
the size of the buffer is set to:  16777216
when we debug the read method on a given buffer we see the following:
record index:  16777208
tail: 184549360
head: 167772152
msgType on a given index: -1
msgLength: 0
We see that in version 0.4.3 which we use in trunk the read method is different (specifically the while loop was removed and replaced with break). Do you know whether there was some bug in version 0.3.1 which could cause the "corrupted" buffer we are seeing?
Please let us know in case you want us to upload the buffer somewhere - we are happy to do it.
Thank you.
Petr

The old version had a bug with insufficient space remaining to write in a header. This was fixed in commit 205dea24d7dd9d7d00450539c5dee67e04d33a43.

Thanks for the confirmation Martin ... we will upgrade to the latest version then.


GH1296: Add Go.CD build history API call

See https://github.com/cake-build/cake/issues/1296

@RehanSaeed I have just rebased your branch against the latest develop, and if all passes, I will get this merged.  Thanks for your contribution!

Cool, whats the ETA for release?

Hopefully before the end of the week.


Adds downsample option to bias_steps

Also adds tau_eff fitting optional in bias step analysis.
Downsampling is useful for when we want to run bias steps on all slots simultaneously and don't care about tau_eff fitting.

Closing this PR, as getting the bias step analysis to work properly wasn't trivial with the lower sampling rate.


Make Attribute Ranking rule more fuzzy

The current behavior of the Attribute ranking rule is to iterate over all possible word positions of each Attribute in order to sort documents.
A criticizable relevancy
This strategy is highly relevant for the first word positions of each attribute but not for the deeper word positions.
For instance, we search for "best friend", It's relevant to make a difference between these two attribute contents below:

"BEST FRIENDs Forever"
"My BEST FRIENDs"

where (1) is more relevant than (2). However, it's no more accurate on the two following attribute contents:

"After painter Michael 'Mike' Sheldrake's failed suicide attempt, house-mate and one of his life-long BEST FRIENDs Peter Tremaine, an antiques shop owner, reminisces their common past, like Mike does in therapy."
"Catherine refuses to believe that her business partner, the unlikeable François, has a BEST FRIEND, so she challenges him to set up an introduction."

where (3) is considered more relevant than (4) by the Attribute ranking rule.
Moreover, this "over-sorting" limits the impact of the raking rules that follows the "Attribute" one. It would probably be more relevant to sort (3) and (4) differently depending on other aspects, for example, the fact that document (4) matches exactly the query whereas document (3) matches only by prefix.
Possible improvement
Instead of storing all the possible positions in the database, we could store exhaustively only the 20 firsts position, then, for others positions, store them at a logarithmic position which will group more and more positions together when the spoken positions are deeper and deeper in the attributes.
for instance with the document (3), the position would be grouped as:

"After"
"painter"
"Michael"
"Mike"
"Sheldrake"
"s"
"failed"
"suicide"
"attempt"

hard separator = position+8

"house"
"mate"
"and"
"one"
"of his"

(here we group 2 words at the same position)

"life-long BEST FRIENDs"

(here we group 4 words at the same position)

"Peter Tremaine"

(here we group only 2 words instead of 8 at the same position because of the hard separator)

"an antiques shop owner, reminisces their common past"

(here we group 16 words at the same position [4 words + a hard separator + 4 words])

"like Mike does in therapy."

Let's now imagine that we have attributes that contain the maximum number of word positions: 64535 positions, we would have to store in the database and compute during the search a maximum of 36 groups of positions if we use a binary Logarithm (log2) and a maximum of 276 groups of positions if we use a square root (sqrt).
This could represent a gain in terms of disk usage of the database, a gain in terms of search time, and a gain in terms of relevancy.
About the technical changes
the only change to do is on the database word_position_docids where we should store the positions using a logarithm.

Exactly the issue I was looking for :smile: !
I would add that the statement "(1) is more relevant than (2)" is also criticizable.
In my use case it's a search in a news article database and the users mainly search for thematic, places or person and they are never typing the beginning of the title of the article. We need the 'attribute' ranking because when the terms are in the title of the article, it's more relevant than in the content. But if the query is in the title in two articles, the most relevant would probably be the newest (so the 'attribute' ranking should stand aside in favor of other ranking rules).
For example, if you search "twitter" among two articles:

"Twitter: Elon Musk cancels his offer" published on the 8th July 2022
"For 44 billion dollars, Elon Musk bought Twitter" published on the 27th Oct. 2022

(1) will appear before (2) which is not the most relevant in this case.

Hi @geoffreybr,
Thanks for weighing in on this issue 😄 I mostly agree with you!
I also suspect that, for some use cases, the positions of the query's words within the attribute still matter, such that the statement "(1) is more relevant than (2)" is sometimes true.
For context, we are currently working on meilisearch v1.0. Our goal for this release is to stabilise the API and make meilisearch more resilient. We are also avoiding very big changes to the codebase, so that the release goes as smoothly as possible. Given all this, I am scared to change the design of the attribute ranking rule too dramatically or too quickly.
But once v1 is released, we will be able to make larger changes to the search algorithms. When we get to it, I want to consider how we can also improve the relevancy of the search results for your use case without degrading it for other people. So I have bookmarked your comment and will make sure to get back to it 🌅 In the meantime, making the attribute ranking rule fuzzier is an easy change that should still somewhat improve the relevancy for you and speed up search requests.
I am also curious to hear more opinions on what the best behaviour for this ranking rule should be. We want to know what would work best for everyone (or at least most people) before making more changes to it 🙂

Hi @loiclec!
Maybe one way would be to split it into two different ranking rules: attribute that sort not taking terms order into account, and position that order according to the position of the word in all attributes. But I suppose it's not the best for performance.
Or maybe create another ranking rule, or a kind of modifier like attribute:no-position which tweak the default behavior of the attribute rule (so existing users would not be affected by the change) to not use the terms position to calculate range.
Anyway, as you say, the resolution of this actual issue will indeed partially improve the relevancy so that's a good step for us.

@geoffreybr The attribute:no-position solution was also one I had in mind, although I haven't talked about it with the rest of the team yet. I can also imagine someone might want to use a list of ranking rules like this one:
words
# only sort the results based on the rank of the attribute where the terms appear
attribute:no-position
typo
proximity
# now take into consideration the position of the terms as well
attribute:position
# could also limit the rule above to a set of attributes (don't pay attention to the grammar yet)
attribute:position:{description, trivia, etc.}
exactness

Note that I haven't properly evaluated the feasibility of the performance impact of all this yet.

hi, meili,   are there any progress of 'attribute:no-position' feature?

Hello @gary02
We will globally work on search performance issues during Q1 and Q2 (at least).
This feature (attribute:no-position) will be part of the global investigation and possibilities we might improve. We always need to measure the impact on the product side before releasing, so we cannot guarantee this exact feature will be present. Plus, the whole process can take time due to the investigation + the huge implementation 😊

The main issue of make attribute ranking rule fuzzy was fixed by https://github.com/meilisearch/meilisearch/pull/3542 . We are also now capable, technically, to implement ranking rules such as the ones I described above:
words
# only sort the results based on the rank of the attribute where the terms appear
attribute:no-position
typo
proximity
# now take into consideration the position of the terms as well
attribute:position
# could also limit the rule above to a set of attributes (don't pay attention to the grammar yet)
attribute:position:{description, trivia, etc.}
exactness

I will close this issue, but I opened a product discussion to determine what those new ranking rules should look like exactly :)


Difference View Improvement

Description
Collapse Difference Viewer by default as in case of bigger differences it slows down or even freeze the app
closes #5439
Self Check:
Strike through any lines that are not applicable (~~line~~) then check the box

[x] Attached issue to pull request
[x] Changelog entry
[x] Code is clear and sufficiently documented
[x] Sufficient test cases (reproduces the bug/tests the requested feature)
[x] Correct, in line with design
[ ] End user documentation is included or an issue is created for end-user documentation (add ref to issue here: )

Processing this pull request

Pull request rejected by merge tool. The tests for this branch did not succeed.

Processing this pull request

Pull request rejected by merge tool. The tests for this branch did not succeed.

Processing this pull request

Merged into branches master, iso7 in 3785fbda59f1ead777e05ea6b11de19cb310bfc7


encoding/asn1: cannot marshal into slice of strings and pass stringtype parameter tags to members

What version of Go are you using (go version)?
go version go1.7.5 linux/amd64
What operating system and processor architecture are you using (go env)?
GOARCH="amd64"
GOBIN=""
GOEXE=""
GOHOSTARCH="amd64"
GOHOSTOS="linux"
GOOS="linux"
GORACE=""
CC="gcc"
GOGCCFLAGS="-fPIC -m64 -pthread -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build372878858=/tmp/go-build -gno-record-gcc-switches"
CXX="g++"
CGO_ENABLED="1
Issue
I need to be able to marshal into a slice of strings and to be able to specify the string types for the elements in this slice (is5, generalstring, etc)
https://play.golang.org/p/l5id74lMoI
Issue seems to be two fold:

Validation does not allow it and you get the error: explicit string type given to non-string member
Strings would all be marshaled as the default type - PrintableString

Suggestion
When struct tags for string types are defined against a slice this should be accepted if the slice is of strings
The struct tag for the string type should be passed down to the marshaling of the members of the slice

Possible update that appears to work: https://github.com/jcmturner/asn1/commit/d10e504a98edbf6223c4bf736e09f21e0d0c28c7
I note that this problem may also affect slices of time.Time

I was complaining about this on the internet and @FiloSottile asked me to open an issue and CC him. It seems there's already an issue though. Here's where I ran into wanting to include a utf8 tag on a []string.


Unable to fund wallet (rpc error: code = Unknown desc = verification failed: signature mismatch after caveat verification)

I'm having an issue where I'm unable to generate an address to fund the wallet. I turned on the RTL WebInterface (not sure if this would do anything), but I've turned it off and am still having the same issue.
I ran the lncli getinfo command but I'm getting te same rpc error below.
******************************
Fund your Blockchain Wallet
******************************

COMMAND LINE:
lncli --chain=bitcoin --network=mainnet newaddress np2wkh

RESULT:
[lncli] rpc error: code = Unknown desc = verification failed: signature mismatch after caveat verification
FAIL PRECHECK - lncli getinfo shows 'synced_to_chain': false - wait until chain is sync

******************************
TODO
******************************
Send REAL Bitcoin to address -->
Whats next? --> Wait for confirmations. You can use info on LCD to check if funds have arrived.
If you want your lighting node to open channels automatically, activate the 'Autopilot' under 'Activate/Deactivate Services'

Press ENTER to return to main menu.

*** RASPIBLITZ LOGS ***
blitzversion: 1.0
chainnetwork: bitcoin / main
 03:51:32 up 11 min,  3 users,  load average: 0.34, 1.09, 0.87

*** CHAINNETWORK SYSTEMD STATUS ***
● bitcoind.service - Bitcoin daemon
   Loaded: loaded (/etc/systemd/system/bitcoind.service; enabled; vendor preset: enabled)
   Active: active (running) since Fri 2019-03-08 03:40:07 GMT; 11min ago
  Process: 748 ExecStart=/usr/local/bin/bitcoind -daemon -conf=/home/bitcoin/.bitcoin/bitcoin.conf -pid=/home/bitcoin/.bitcoin/bitcoind.pid (code=exited, status=0/SUCCESS)
 Main PID: 756 (bitcoind)
   CGroup: /system.slice/bitcoind.service
           └─756 /usr/local/bin/bitcoind -daemon -conf=/home/bitcoin/.bitcoin/bitcoin.conf -pid=/home/bitcoin/.bitcoi…id

Mar 08 03:40:07 LiteNode systemd[1]: Starting Bitcoin daemon...
Mar 08 03:40:07 LiteNode systemd[1]: Started Bitcoin daemon.

*** LAST 20 CHAINNETWORK LOGS ***
2019-03-08T03:41:20Z net thread start
2019-03-08T03:41:20Z dnsseed thread start
2019-03-08T03:41:20Z addcon thread start
2019-03-08T03:41:20Z msghand thread start
2019-03-08T03:41:20Z opencon thread start
2019-03-08T03:41:20Z init message: Done loading
2019-03-08T03:41:24Z txindex is enabled at height 566138
2019-03-08T03:41:24Z txindex thread exit
2019-03-08T03:41:26Z Imported mempool transactions from disk: 141 succeeded, 0 failed, 0 expired, 0 already there
2019-03-08T03:41:26Z New outbound peer connected: version: 70015, blocks=566138, peer=0
2019-03-08T03:41:27Z New outbound peer connected: version: 70015, blocks=566138, peer=1
2019-03-08T03:41:31Z P2P peers available. Skipped DNS seeding.
2019-03-08T03:41:31Z dnsseed thread exit
2019-03-08T03:41:35Z New outbound peer connected: version: 70015, blocks=566138, peer=2
2019-03-08T03:41:35Z New outbound peer connected: version: 70015, blocks=566137, peer=3
2019-03-08T03:41:41Z New outbound peer connected: version: 70015, blocks=566138, peer=4
2019-03-08T03:41:42Z New outbound peer connected: version: 70015, blocks=566138, peer=5
2019-03-08T03:41:43Z New outbound peer connected: version: 70015, blocks=566138, peer=6
2019-03-08T03:42:00Z New outbound peer connected: version: 70015, blocks=566138, peer=7
2019-03-08T03:49:29Z socket recv error Connection reset by peer (104)

*** LND SYSTEMD STATUS ***
● lnd.service - LND Lightning Daemon
   Loaded: loaded (/etc/systemd/system/lnd.service; enabled; vendor preset: enabled)
   Active: active (running) since Fri 2019-03-08 03:40:07 GMT; 11min ago
 Main PID: 757 (lnd)
   CGroup: /system.slice/lnd.service
           └─757 /usr/local/bin/lnd --externalip=<IP_ADDRESS>

Mar 08 03:51:32 LiteNode lnd[757]: 2019-03-08 03:51:32.043 [DBG] DISC: Got ChannelUpdate for edge not found in …ng later
Mar 08 03:51:32 LiteNode lnd[757]: 2019-03-08 03:51:32.045 [DBG] DISC: Got ChannelUpdate for edge not found in …ng later
Hint: Some lines were ellipsized, use -l to show in full.

*** LAST 20 LND LOGS ***
-- Logs begin at Fri 2019-03-08 03:39:39 GMT, end at Fri 2019-03-08 03:51:32 GMT. --
Mar 08 03:51:32 LiteNode lnd[757]: 2019-03-08 03:51:31.981 [DBG] PEER: Received ChannelUpdate(chain_hash=000000000019d6689c085ae165831e934ff763ae46a2a6c172b3f1b60a8ce26f, short_chan_id=620822748040462336, mflags=00000001, cflags=00000010, update_time=2019-03-08 03:50:51 +0000 GMT) from <IP_ADDRESS>:9735
Mar 08 03:51:32 LiteNode lnd[757]: 2019-03-08 03:51:31.981 [DBG] PEER: Received ChannelUpdate(chain_hash=000000000019d6689c085ae165831e934ff763ae46a2a6c172b3f1b60a8ce26f, short_chan_id=620028900609949697, mflags=00000001, cflags=00000001, update_time=2019-03-08 03:50:43 +0000 GMT) from <IP_ADDRESS>:9735
Mar 08 03:51:32 LiteNode lnd[757]: 2019-03-08 03:51:31.982 [DBG] PEER: Received ChannelUpdate(chain_hash=000000000019d6689c085ae165831e934ff763ae46a2a6c172b3f1b60a8ce26f, short_chan_id=622321382331252736, mflags=00000001, cflags=00000010, update_time=2019-03-08 03:50:58 +0000 GMT) from <IP_ADDRESS>:9735
Mar 08 03:51:32 LiteNode lnd[757]: 2019-03-08 03:51:32.024 [DBG] PEER: Received ChannelUpdate(chain_hash=000000000019d6689c085ae165831e934ff763ae46a2a6c172b3f1b60a8ce26f, short_chan_id=609845223975026688, mflags=00000001, cflags=00000000, update_time=2019-03-08 03:50:56 +0000 GMT) from <IP_ADDRESS>:9735
Mar 08 03:51:32 LiteNode lnd[757]: 2019-03-08 03:51:32.025 [DBG] PEER: Received ChannelUpdate(chain_hash=000000000019d6689c085ae165831e934ff763ae46a2a6c172b3f1b60a8ce26f, short_chan_id=615935418866270208, mflags=00000001, cflags=00000010, update_time=2019-03-08 03:49:56 +0000 GMT) from <IP_ADDRESS>:9735
Mar 08 03:51:32 LiteNode lnd[757]: 2019-03-08 03:51:32.025 [DBG] PEER: Received ChannelUpdate(chain_hash=000000000019d6689c085ae165831e934ff763ae46a2a6c172b3f1b60a8ce26f, short_chan_id=616298257716215808, mflags=00000001, cflags=00000011, update_time=2019-03-08 03:50:58 +0000 GMT) from <IP_ADDRESS>:9735
Mar 08 03:51:32 LiteNode lnd[757]: 2019-03-08 03:51:32.026 [DBG] PEER: Received ChannelUpdate(chain_hash=000000000019d6689c085ae165831e934ff763ae46a2a6c172b3f1b60a8ce26f, short_chan_id=622323581351690240, mflags=00000001, cflags=00000000, update_time=2019-03-08 03:51:02 +0000 GMT) from <IP_ADDRESS>:9735
Mar 08 03:51:32 LiteNode lnd[757]: 2019-03-08 03:51:32.026 [DBG] PEER: Received ChannelUpdate(chain_hash=000000000019d6689c085ae165831e934ff763ae46a2a6c172b3f1b60a8ce26f, short_chan_id=615619858987548673, mflags=00000001, cflags=00000000, update_time=2019-03-08 03:50:16 +0000 GMT) from <IP_ADDRESS>:9735
Mar 08 03:51:32 LiteNode lnd[757]: 2019-03-08 03:51:32.026 [DBG] PEER: Received ChannelUpdate(chain_hash=000000000019d6689c085ae165831e934ff763ae46a2a6c172b3f1b60a8ce26f, short_chan_id=620028900609884161, mflags=00000001, cflags=00000001, update_time=2019-03-08 03:50:43 +0000 GMT) from <IP_ADDRESS>:9735
Mar 08 03:51:32 LiteNode lnd[757]: 2019-03-08 03:51:32.027 [DBG] PEER: Received ChannelUpdate(chain_hash=000000000019d6689c085ae165831e934ff763ae46a2a6c172b3f1b60a8ce26f, short_chan_id=621620993494351873, mflags=00000001, cflags=00000000, update_time=2019-03-08 03:50:37 +0000 GMT) from <IP_ADDRESS>:9735
Mar 08 03:51:32 LiteNode lnd[757]: 2019-03-08 03:51:32.027 [DBG] PEER: Received ChannelUpdate(chain_hash=000000000019d6689c085ae165831e934ff763ae46a2a6c172b3f1b60a8ce26f, short_chan_id=620972281638879232, mflags=00000001, cflags=00000000, update_time=2019-03-08 03:51:03 +0000 GMT) from <IP_ADDRESS>:9735
Mar 08 03:51:32 LiteNode lnd[757]: 2019-03-08 03:51:32.028 [DBG] PEER: Received ChannelUpdate(chain_hash=000000000019d6689c085ae165831e934ff763ae46a2a6c172b3f1b60a8ce26f, short_chan_id=616638006828728321, mflags=00000001, cflags=00000000, update_time=2019-03-08 03:50:27 +0000 GMT) from <IP_ADDRESS>:9735
Mar 08 03:51:32 LiteNode lnd[757]: 2019-03-08 03:51:32.028 [DBG] PEER: Received ChannelUpdate(chain_hash=000000000019d6689c085ae165831e934ff763ae46a2a6c172b3f1b60a8ce26f, short_chan_id=620684209614880768, mflags=00000001, cflags=00000010, update_time=2019-03-08 03:50:34 +0000 GMT) from <IP_ADDRESS>:9735
Mar 08 03:51:32 LiteNode lnd[757]: 2019-03-08 03:51:32.028 [DBG] PEER: Received ChannelUpdate(chain_hash=000000000019d6689c085ae165831e934ff763ae46a2a6c172b3f1b60a8ce26f, short_chan_id=618906299227897856, mflags=00000001, cflags=00000001, update_time=2019-03-08 03:50:56 +0000 GMT) from <IP_ADDRESS>:9735
Mar 08 03:51:32 LiteNode lnd[757]: 2019-03-08 03:51:32.029 [DBG] PEER: Received ChannelUpdate(chain_hash=000000000019d6689c085ae165831e934ff763ae46a2a6c172b3f1b60a8ce26f, short_chan_id=621656177876402176, mflags=00000000, cflags=00000010, update_time=2019-03-08 03:51:00 +0000 GMT) from <IP_ADDRESS>:9735
Mar 08 03:51:32 LiteNode lnd[757]: 2019-03-08 03:51:32.029 [DBG] PEER: Received ChannelUpdate(chain_hash=000000000019d6689c085ae165831e934ff763ae46a2a6c172b3f1b60a8ce26f, short_chan_id=606898532778901504, mflags=00000001, cflags=00000000, update_time=2019-03-08 03:50:13 +0000 GMT) from <IP_ADDRESS>:9735
Mar 08 03:51:32 LiteNode lnd[757]: 2019-03-08 03:51:32.032 [DBG] DISC: Got ChannelUpdate for edge not found in graph(shortChanID=620028900609884161), saving for reprocessing later
Mar 08 03:51:32 LiteNode lnd[757]: 2019-03-08 03:51:32.037 [DBG] DISC: Got ChannelUpdate for edge not found in graph(shortChanID=620028900609949697), saving for reprocessing later
Mar 08 03:51:32 LiteNode lnd[757]: 2019-03-08 03:51:32.043 [DBG] DISC: Got ChannelUpdate for edge not found in graph(shortChanID=616298257716215808), saving for reprocessing later
Mar 08 03:51:32 LiteNode lnd[757]: 2019-03-08 03:51:32.045 [DBG] DISC: Got ChannelUpdate for edge not found in graph(shortChanID=620028900609884161), saving for reprocessing later

- RTL is OFF by config

Hi there. Please check if the new FAQ chapter "How to solve a "signature mismatch after caveat verification" error?" helps you to fix this: https://github.com/rootzoll/raspiblitz/blob/master/FAQ.md#how-to-solve-a-signature-mismatch-after-caveat-verification-error

I just installed a new node (on testnet) and also got the error message:
signature mismatch after caveat verification

The cause was that the macaroon's in ~/.lnd/ had not been updated (I assume when switching from mainnet to testnet. I was able to easily solve this from the new menu option LNDCREDS > SYNC
Posting this here if other people encounter this.
@rootzoll I believe this issue can be closed..?

I found this error on ubuntu how to fix it ?
"[lncli] rpc error: code = Unknown desc = verification failed: signature mismatch after caveat verification"


fix: 🐛 remove dead code

Roach Unit Testing Reports
❌ An unexpected error occurred. For more details, check console
Error: The process '/usr/bin/git' failed with exit code 128

Statements coverage not met for global: expected >=90%, but got 37.83783783783784%

St.:grey_question:
Category
Percentage
Covered / Total

🔴
Statements
37.84%
14/37

🟢
Branches
83.33%
5/6

🔴
Functions
20%
1/5

🔴
Lines
37.84%
14/37

Test suite run success
4 tests passing in 1 suite.
Report generated by 🧪jest coverage report action from f04096b110d0fcefb0dfc1cebc253e400a63c84f

Coverage report
❌ An unexpected error occurred. For more details, check console
Error: The process '/usr/bin/git' failed with exit code 128

Statements coverage not met for global: expected >=80%, but got 37.83783783783784%

St.:grey_question:
Category
Percentage
Covered / Total

🔴
Statements
37.84%
14/37

🟢
Branches
83.33%
5/6

🔴
Functions
20%
1/5

🔴
Lines
37.84%
14/37

Test suite run success
4 tests passing in 1 suite.
Report generated by 🧪jest coverage report action from 5e6146a7658f1e8ca53cb947bd636a9601df9b4e


[Feature request]: is there a way to fail tests in console when coverage threshold is not met

Is your feature request related to a problem? Please describe.
Hi there :)
Currently I have components that I want to be coverage tested and if they don't meet some threshold to fail them in console.
I have in project folder .nycrc file that look like:
{   "all": true,   "check-coverage": true,   "branches": 100,   "functions": 100,   "lines": 100,   "statements": 100 }

I get a report like that but nothing else :(
Or if there is a workaround would be glad to see it :)
Describe the solution you'd like
Maybe as a solution to add a tag that will fail these tests. Similar as --failOnConsole but not for browser error but for tests that not meet criteria.
Describe alternatives you've considered
No response
Are you able to assist to bring the feature to reality?
no
Additional context
No response

Same issue, someone has any working solutions?

Adding a .nycrc file with the following content and running npx nyc report might solve your problem:
{
  "all": true,
  "check-coverage": true,
  "branches": 80,
  "functions": 80,
  "lines": 80,
  "statements": 80
}

My test script:
test-storybook --url http://<IP_ADDRESS>:3000 --coverage && npx nyc report --reporter=lcov --reporter=text-summary -t coverage/storybook --report-dir coverage/storybook


Improve clean_env deprecation path

What was the end-user problem that led to this PR?
The problem was that I noticed that there's still some use cases where the current implementation of Bundler.with_clean_env can be useful. Whereas the most common use case is to go back to the original environment before bundler was loaded, sometimes you actually want a fully "unbundled" environment. For example, I wanted to test a rails template in isolation (rails new my_app -m my_template.rb) in a library where we specifically set BUNDLE_GEMFILE in CI. In that context, with_original_env won't do the trick for me, because to properly test my template i need to make sure no bundler environment is set at all.
What was your diagnosis of the problem?
My diagnosis was that we should probably undeprecate (with_)clean_env. But @indirect suggested that we should still deprecate the method name, because it's confusing what each developer understands by "clean". That's a very good point.
What is your fix for the problem, implemented in this PR?
My fix is to move the functionality of (with_)clean_env to (with_)unbundled_env, and deprecate (with_)clean_env.
In addition, I noticed that the current deprecation message for with_clean_env actually mentioned the method clean_env, which is not a method the end user is using directly. So I changed the deprecation messages to suggest the proper alternative for each case (suggest unbundled_env as a replacement for clean_env; and with_unbundled_env as a replacement for with_clean_env).
Why did you choose this fix out of the possible options?
I chose this fix because it undeprecates the functionality previously provided by clean_env, while still deprecating the clean_env name because of being confusing.

@bundlerbot r+


[PE-D][Tester E] Incorrect UG and error message for edit

UG does not reflect actual commands
[contact] makes me think that it is optional as listed elsewhere
why have additional typing if you don't have edit company or equivalent?

Labels: severity.Medium type.DocumentationBug
original: starchypotatocode/ped#16

This is actually related to 2 issues.

#314
#286 and related issues

1st issue has been fixed, mostly 2nd and 3rd issue awaiting fix

Now only left the the 2nd issue

I think the second issue is probably a functionality bug, it is strictly false to use the optional bracket. I think we can change the code for this.

Second issue link to

https://github.com/AY2425S1-CS2103-F13-4/tp/issues/360

Closing duplicate issue.


Error during Django test execution: [WinError 206] The filename or extension is too long

Type: Bug
I have a lot of tests in my Django app and if I try to launch them all from the test explorator, I'll had an error.

Run tests from test explorator panel
WinError 206

args:  []
Running Django run tests with command:  ['c:\\Users\\xxxxx\\Projects\\env\\Scripts\\python.exe', 'C:\\Users\\xxxxx\\Projects\\manage.py', 'test', '--testrunner=django_test_runner.CustomExecutionTestRunner',  'test_directory.test_file.TestClass.test_method_1', 'test_directory.test_file.TestClass.test_method_2', ...]
Error during Django test execution: [WinError 206] The filename or extension is too long

The paths of each tests is part of the django unit command.
Command exceed 46500 characters and Windows can not process it (WinError 206).
Maybe it would be great when all tests in a test files is present, replace each path of the tests by the test file.
And if all tests files are present, removing all tests path ?
Example:
tests_directory/
 ├─── test_file.py
 │      ├── TestClass
 │      │      ├─ test_method_1
 │      │      └─ test_method_2
 │      └── TestClass2
 │             ├─ test_method_3
 │             └─ test_method_4
 └─── test_file_2.py
        ├── TestClass3
        │      ├─ test_method_5
        │      └─ test_method_6
        └── TestClass4
               └─ test_method_7

Here, if I want to run all tests from test_file_2.py, command arg should be tests_directory.test_file_2 instead of
tests_directory.test_file_2.TestClass3.test_method_5 tests_directory.test_file_2.TestClass3.test_method_6 tests_directory.test_file_2.TestClass4.test_method_7
Sorry if it's not clear
Extension version: 2024.17.2024100401
VS Code version: Code 1.94.0 (d78a74bcdfad14d5d3b1b782f87255d802b57511, 2024-10-02T13:08:12.626Z)
OS version: Windows_NT x64 10.0.22621
Modes:

System Info

Item
Value

CPUs
12th Gen Intel(R) Core(TM) i7-1260P (16 x 2496)

GPU Status
2d_canvas: enabledcanvas_oop_rasterization: enabled_ondirect_rendering_display_compositor: disabled_off_okgpu_compositing: enabledmultiple_raster_threads: enabled_onopengl: enabled_onrasterization: enabledraw_draw: disabled_off_okskia_graphite: disabled_offvideo_decode: enabledvideo_encode: enabledvulkan: disabled_offwebgl: enabledwebgl2: enabledwebgpu: enabledwebnn: disabled_off

Load (avg)
undefined

Memory (System)
31.70GB (11.53GB free)

Process Argv
--crash-reporter-id 96bbfc2b-23da-4f22-8267-b6ead6cf47ab

Screen Reader
no

VM
0%

A/B Experiments
vsliv368cf:30146710
vspor879:30202332
vspor708:30202333
vspor363:30204092
vswsl492:30256859
vscod805:30301674
binariesv615:30325510
vsaa593:30376534
py29gd2263:31024239
c4g48928:30535728
azure-dev_surveyonecf:30548226
962ge761:30959799
pythongtdpath:30769146
welcomedialogc:30910334
pythonnoceb:30805159
asynctok:30898717
pythonmypyd1:30879173
2e7ec940:31000449
pythontbext0:30879054
accentitlementsc:30995553
dsvsc016:30899300
dsvsc017:30899301
dsvsc018:30899302
cppperfnew:31000557
dsvsc020:30976470
pythonait:31006305
dsvsc021:30996838
0ee40948:31013168
a69g1124:31058053
dvdeprecation:31068756
dwnewjupytercf:31046870
newcmakeconfigv2:31071590
impr_priority:31102340
nativerepl1:31139838
refactort:31108082
pythonrstrctxt:31112756
flighttreat:31134774
wkspc-onlycs-t:31132770
wkspc-ranged-t:31151552
cf971741:31144450
defaultse:31146405
iacca2:31150323
cc771715:31146322

Hi! Yes this totally makes sense- I will have to make some adjustments to design to support this- thanks for filing this bug!!

@karthiknadig what is your suggestion here? It is broken because of the way its run here, where it inserts all the test_ids then does a subproccess run. Is there any easier work-around then figuring out all test are selected to run or a folder is selected to run and doing it by that path instead?
https://github.com/microsoft/vscode-python/blob/32512b183325e47c9db4612542a90c472a712f57/python_files/unittestadapter/django_handler.py#L88-L94

@eleanorjboyd You might need to do the same thing you did for pytest, send the ids via a file.

@karthiknadig so the issue is that I can call pytest programmatically via pytest.main and sub in the test_ids. With Django to run programmatically it seems I would have to call the steps individually myself like this:
django.setup()

# Get and run the test runner
TestRunner = get_runner(settings)
....

which I think might cause other problems since I am calling Django by hand instead of deferring to the user. Therefore I don't think it is possible to call it in the same way as how I handle pytest.

Then the alternative is to find common parent to the selected test cases. We will need to do generic parent finding because users can select tests using search.


ci: merge opae-libs

Automated changes by create-pull-request GitHub action

Coverage decreased (-0.06%) to 66.217% when pulling 3cd2fb0e189f365a9a18326d29bd6bd060be4b3f on auto/update-libs into 7a8176de7ea9f669888af999dc9ec2d436542042 on master.


🐛 Bug Report: Home page not responsive

📜 Description
Home page is not responsive
content is getting hide

👟 Reproduction steps

open the hosted link for the website on different devices

👍 Expected behavior
Content should be clearly visible
👎 Actual Behavior with Screenshots
Content is not visible

💻 Operating system
Windows
What browsers are you seeing the problem on?
Chrome
🤖 What development environment are you experiencing this bug on?
Local dev server
🔒 Did you set the correct environment variables in the right path? List the environment variable names (not values please!)
No response
📃 Provide any additional context for the Bug.
No response
📖 Relevant log output
No response
👀 Have you spent some time to check if this bug has been raised before?

[X] I checked and didn't find similar issue

🔗 Are you willing to submit PR?
Yes, I am willing to submit a PR!
🧑⚖ Code of Conduct

[X] I agree to follow this project's Code of Conduct

This is a demo page, it does not reflect latest version. Please check out quickstart https://github.com/arc53/DocsGPT#quickstart and review that.
Thank you!


Didnt detect  as ordered list

Challenge Create an Ordered List has an issue.
User Agent is: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:53.0) Gecko/20100101 Firefox/53.0.
Please describe how to reproduce this issue, and include links to screenshots if possible.
My code:

<link href="https://fonts.googleapis.com/css?family=Lobster" rel="stylesheet" type="text/css">

CatPhotoApp

Click here for cat photos.

Things cats love:

cat nip

laser pointers

lasagna

Top 3 things cats hate:</p

shte as

ssdsds

dsdsdw

The top 3 things cats hate is the problem.
You have:

Top 3 things cats hate:</p
Once you solve that, in my browser is running OK.

@larrystone Thanks for reporting this. But you forget to close tag. that is why it won't pass.
GitHub Issues are for reporting bugs on the website only.
Please use the Help chat room for getting challenge related help.
Happy Coding.

Thanks so much, it's working now....
On 5/22/17, Lance<EMAIL_ADDRESS>wrote:

Closed #15000.
--
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub:
https://github.com/freeCodeCamp/freeCodeCamp/issues/15000#event-1092240262


input bug fixed

When I input ‘1.’, can’t jump next segment. It is not reasonalbe. I
fixed it.
I can’t delete all segements, because when IP changed, run syncIP
method can make ‘’ to ‘0’.

@mapwzju

You can use '<-' 或 '->' keyboard to jump through segments
You update the logistic to when the ip is empty string, set all the segment to '',otherwise use the current logistic

@lakb248

I think enter "1." should jump to next segment. It can improve the user experience.
The result of Demo different from the result of run "npm run dev". You can test it....


Overlapping events in month view

Hi @acro5piano ,
I came across some issues with overlapping multiple days events in month view.
Given the following examples:
var sampleEvents: Array<ICalendarEventBase> = [
  {
    title: 'Event 1',
    start: new Date(2023, 0, 1, 15, 0, 0, 0),
    end: new Date(2023, 0, 2, 10, 0, 0, 0),
  },
  {
    title: 'Event 2',
    start: new Date(2023, 0, 2, 15, 0, 0, 0),
    end: new Date(2023, 0, 3, 10, 0, 0, 0),
  },
  {
    title: 'Event 3',
    start: new Date(2023, 0, 3, 15, 0, 0, 0),
    end: new Date(2023, 0, 4, 10, 0, 0, 0),
  },
];

return (<View><Calendar mode="month" height={750} date={sampleEvents[0].start} events={sampleEvents} /></View>);

The calendar month view is showing as such:

There are two issues:

Event 1, 2, 3 span across two days each but they are visualized as single day event.
Event 3 should be displayed one level lower since it should give way to Event 2 on Tuesday.

The desired output should be as such:

I created a pull request for your review:
https://github.com/acro5piano/react-native-big-calendar/pull/892

I improve the sorting logic further, to optimize the empty spaces in the calendar cell.
with the given events
var sampleEvents: Array<ICalendarEventBase> = [
  {
    title: 'Event 1',
    start: new Date(2023, 0, 1, 15, 0, 0, 0),
    end: new Date(2023, 0, 2, 10, 0, 0, 0),
  },
  {
    title: 'Event 2',
    start: new Date(2023, 0, 2, 15, 0, 0, 0),
    end: new Date(2023, 0, 4, 10, 0, 0, 0),
  },
  {
    title: 'Event 3',
    start: new Date(2023, 0, 3, 15, 0, 0, 0),
    end: new Date(2023, 0, 4, 10, 0, 0, 0),
  },
  {
    title: 'Event 4',
    start: new Date(2023, 0, 4, 15, 0, 0, 0),
    end: new Date(2023, 0, 5, 10, 0, 0, 0),
  },
  {
    title: 'Event 5',
    start: new Date(2023, 0, 5, 15, 0, 0, 0),
    end: new Date(2023, 0, 6, 10, 0, 0, 0),
  },
  {
    title: 'Event 6',
    start: new Date(2023, 0, 6, 15, 0, 0, 0),
    end: new Date(2023, 0, 7, 10, 0, 0, 0),
  },
];

we now get this result

@wseow87 Thanks, it was released on v4.0.0!
https://github.com/acro5piano/react-native-big-calendar/releases/tag/v4.0.0


Dashboard - Users Creation "ask users to change password" is not requesting to change password on re-login

Rancher v2.5-a420b5195dd1d0a23411b0aeb17713f291e90e10-head
From cluster explorer --> Users and Authentication --> create users
Fill in the details and click on the check box "Ask user to change their password on first login"
Signout and sign in with the above created user
Verify the user is not requested to change password
After creating the user, if we edit the user and enable the checkbox again, the user is requested to change password

https://github.com/rancher/dashboard/issues/2204

At first I thought this issue was due to editing the steve user and then calling a norman user action, however I've changed it locally so both user requests (update and change password) use norman and the problem persists. This matches how the old ember ui works, which also shows the bug,
Rough summary of what's happening...
PUT v3/users/u-kjr6n

properties name, description and mustChangePassword are correctly persisted and shown correctly in response
POST v3/users/u-kjr6n?action=setpassword
name and description are correct in response
mustChangePassword is incorrect (stale false value) in response
password change correctly applied (can log in with altered password)

I tried swapping the order for these requests and get even stranger results
POST v3/users/u-kjr6n?action=setpassword

password change correctly applied (can log in with altered password)
PUT v3/users/u-kjr6n
properties name, description and mustChangePassword are not persisted (not in  GET v3/users/u-kjr6n)... even though they are correct in the response

I think this is an API bug and have reached out to them

It looks like the API resets mustChangePassword during the setpassword action (https://github.com/rancher/rancher/blob/692a9507ebeec70118aa8496999e89d0dfa1cc18/pkg/auth/api/user/user_actions.go#L140), so the password must be changed first.
There's a PR incoming that changes changes the user update from steve to norman (to simplify things). This also contains a horrible hack to get this working (wait for 10s). The crux of the problem seems to be some kind of race condition between applying changes to the user from the setpassword action and then the update.

v2.5-2f2cfe636f0846abb1e3e751d3aae4c4ae34d291-head

From cluster explorer --> Users and Authentication --> Users --> Create a users as standard user with "Ask user to change their password on first login" and "Generate a random password" selected
Re-login to see the user is allowed to change the password
Now, from the cluster explorer --> Users and Authentication --> Users --> edit the user created in the step above and select both "Ask user to change their password on first login" and "Generate a random password"
Re-login and verify the mustchangePassword set to True and users are prompted to change password upon login.
Created a cluster as a standard user and the cluster comes up fine.


Bumz to latest sage commit version

There hasn’t been a proper release in a long time, so sage just bumped
to master a while ago.
The two patches are long merged

Checklist

[x] Used a fork of the feedstock to propose changes
[x] Bumped the build number (if the version is unchanged)
[ ] Reset the build number to 0 (if the version changed)
[ ] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[x] Ensured the license file is being packaged.

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.

closed by #18

lol


Configuration: Use 'app' capability instead of 'applicationPath'

'app' capability fully cover what we have done in applicationPath, so need to mark all related methods as deprecated

implemented in dotnet: https://github.com/aquality-automation/aquality-appium-mobile-dotnet/pull/25

we still might need access to getApplicationPath() methods for some reason, so better just to use applicationPath for this purposes, same as was implemented in dotnet


Update echo_example_main.c (IDFGH-7382)

Fixed compile error in example.  error: designator order for field 'esp_ping_callbacks_t::cb_args' does not match declaration order in 'esp_ping_callbacks_t'. Moved .cb_args in example to match declaration.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

Thanks for your contribution.

sha=58db82c764bc652408d6d4652b9a25384d414ff5


Update readme and examples

Adds instructions for running the warp example
Replaces the use of:

#[macro_use]
extern crate rust_embed;

with:
use rust_embed::RustEmbed;

in examples

Updates everything to Rust 2018 edition (the minimum supported version was already 1.31 because of syn, Rust 2015 projects will still be able to use rust-embed)
Updates the actix-web and the warp examples to the latest version of the crates
Updates the travis configuration to use the default settings for the Rust build environment
Updates shellexpand to 2.0 changelog

@paolobarbolini Thanks for the improvements. Makes the code look really clean now. Will push an updated version.

This seems to have regressed the warp example. Only index.html is properly returned from the server, the rest are 404-ed.

Fixed in #102, thanks @Mcat12


Add --warn option to exit with code 0

--warn gives us the ability to exit cleanly so that other build tasks can run.
There seems to be no consistency between reporter.error & reporter.warn. Eventually it would be nice to specify which rules should warn and which should error in the config (instead of true/false)

Coverage remained the same at 98.734% when pulling fa5a3036765e27b5b6afac6fc6c31ff8baede0e8 on olore:warn-option into 152a114f277645474ca1f70d68a0e01e75f3eb51 on yaniswang:master.


Go-to-definition doesn't work on path in calls to 'require'

./foo.js:
module.exports = {};

./bar.js:
var x = require(/*$*/"./foo");

Go to definition on /*$*/

Expected: Navigate to foo.js.
Actual: Nada.

@riknoll has been looking at similar issues with completions in require call. moving to his plate.


Magic number error from newest popucad install on anaconda

Running popupcad on anaconda (using exact source created in web documentation) now produces a magic number error in newest version 9c19e6e
>>> python popupcad.py
Warning: QApplication was created before pyqtgraph was imported; there may be problems (to avoid bugs, call QApplication.setGraphicsSystem("raster") before the QApplication is created).
Traceback (most recent call last):
  File "popupcad.py", line 14, in <module>
    import popupcad
  File "/Users/nickgravish/popupcad/popupcad/__init__.py", line 57, in <module>
    import pypoly2tri
ImportError: bad magic number in 'pypoly2tri': b'\x03\xf3\r\n'

Reverting to the previous version I had been using 38dc47f works perfectly with the anaconda install.

hmm, I have removed pypoly2tri since you last installed, and put it on
pip.  I bet the pip version isn't right, because it requires a compile.
you can download and install pypoly2tri separately here
https://github.com/popupcad/pypoly2tri
On Mon, Jan 25, 2016 at 9:42 AM, nickgravish<EMAIL_ADDRESS>wrote:

Running popupcad on anaconda (using exact source created in web
documentation) now produces a magic number error in newest version 9c19e6e

python popupcad.py
Warning: QApplication was created before pyqtgraph was imported; there may be problems (to avoid bugs, call QApplication.setGraphicsSystem("raster") before the QApplication is created).
Traceback (most recent call last):
File "popupcad.py", line 14, in
import popupcad
File "/Users/nickgravish/popupcad/popupcad/init.py", line 57, in
import pypoly2tri
ImportError: bad magic number in 'pypoly2tri': b'\x03\xf3\r\n'

Reverting to the previous version I had been using 38dc47f works
perfectly with the anaconda install.
—
Reply to this email directly or view it on GitHub
https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_popupcad_popupcad_issues_91&d=CwMCaQ&c=WO-RGvefibhHBZq3fL85hQ&r=yjnTLiBlKr4W189mDVx3e7kaEB8U4ZXO5uHigeERe7g&m=KybZ4w1CwD-QsNR0eLMsso4rVKk34P2pjbrh0yzMEnw&s=IxogWAi1cqY3ZUsEDLxCrtZev2l6XwT5LzeANWROmjg&e=
.

--
Dan Aukes
<EMAIL_ADDRESS>Please note that my work email address will be changing to<EMAIL_ADDRESS>this winter.  Please update your address book.

issue was caused by multiple installs of pypoly2tri.


Bug/monolog config broken

There was a problem in the Monolog service configuration which was causing it to bail out before it had the chance to be registered.
The original problem was an inconsistency in variable and service naming (changed $config -> $configs and config.parameter_bag -> application-parameters. See: https://github.com/garyttierney/framework/commit/4194f9faa47ff36b9bbbc1c218ab8f3d73ddf98c
This gets Monolog working on 2.1., but the 'Logger' alias had been removed from ServiceManager, which was causing a lot of stuff to bail out, presumably unless the Monolog Module was enabled. See: https://github.com/garyttierney/framework/commit/586135851ebd9f45546f8d6843dcb1b0ed345310#diff-b5872d4ed42748960eccd9f052d4c9acR94

Thanks @garyttierney!

Changes Unknown when pulling 4194f9faa47ff36b9bbbc1c218ab8f3d73ddf98c on garyttierney:bug/monolog-config-broken into ** on ppi:develop**.


"Creative Arts" OG metadata

[x] Update constants/pages.js -- needed for page titles lookup.
[x] Update constants/pageTitles.js -- needed so that the tab title says the category name.
[x] Localize title strings -- needed so that sidebar changes per language.
[ ] Update web/src/category-metadata.js -- needed so that we have the proper OG.  Requires image, though.
[x] Update sitemap -- guides Google to show categories in search results.

@dejanbr to work on this.


Version Problem

we have to use the low version 'xformers' like 0.0.12 to satisfy torch==1.12.1+cu113. If using high version xformers, it will automatically download torch=2.1.2.
but low xformers.ops.memory_efficient_attention get the version problem and i have no idea to fix it.

4dfy/extern/MVDream/mvdream/ldm/modules/diffusionmodules/model.py", line 258, in forward

 out = xformers.ops.memory_efficient_attention(q, k, v, attn_bias=None, op=self.attention_op)

TypeError: memory_efficient_attention() got an unexpected keyword argument 'attn_bias'

Hi,
I am using torch==2.0.1 and xformers==0.0.20
Does that work for you?

Hi,
I am using torch==2.0.1 and xformers==0.0.20
Does that work for you?

thanks for your info. i want to know what the version of xformers when the torch==1.12.1+cu113.  And i am trying reinstall torch=2.0.1.

I have not tried it with torch 1.12.1. If you can, try torch 2.0.1. Also see in the original threestudio github if there were problems with 1.12.1, if you want to stick with that

I have not tried it with torch 1.12.1. If you can, try torch 2.0.1. Also see in the original threestudio github if there were problems with 1.12.1, if you want to stick with that

thanks for you quick reply. can you show the version of your torch torchvision cuda and xformers?

torch==2.0.1+cu117
torchvision==0.15.2+cu117
xformers==0.0.20

torch==2.0.1+cu117 torchvision==0.15.2+cu117 xformers==0.0.20

thank you!


Feature/ap 316 global margin

Fixes #316
Card margin in dashboard and search page are now the same. Top margins where added where they were missing.
PR checklist

[ ] dev-branch has been merged into local branch to resolve conflicts
[ ] tests and linter have passed AFTER local merge
[ ] localization is supported (Guide)
[ ] another dev reviewed and approved
[ ] if feature-Branch: Teams PO has approved (show via e.g. screenshots/screencapture/live demo)

Dashboard

Search page

Item

Edit item

New item

Profile

Notifications

Login

Changed the top margin of the messages, what do you say @LucasDerReisende ?


Awesome script ---> add Spanish please

it would be great for my students
regards

Hi, will make it happen in the next few days.

@inglesuniversal Added Spanish and published version 1.2.0 which includes it.

No kiddin' .... wow! I'm puzzled!!!
Let's try it!!!


Add coverage to zerver/views/messages.py

Automated message from Dropbox CLA bot
@showell, it looks like you've already signed the Dropbox CLA. Thanks!

Merged, thanks @showell!


FIX: Updating the right sidebar width breakpoint

closes #337

cc @jorisvandenbossche - this just reverts it back to 1200. If we merge this I'd suggest we cut a patch release.

Yes, thanks!

If we merge this I'd suggest we cut a patch release.

Done!


Use Portal webhooks

This will remove the requirement to open a local port.

Per your request for the Polisy log to decipher use of Rachio Smart Hose Timer on your Rachio node, I am attaching here
Scot Merrick
Rachio_9-5-2024_94454_AM.zip


feat (core): Entity.data as Any, instead Struct (#75)

Relates to #75

[X] This lays a great foundation. What's still missing is for e.g. the CLI (and future UIs) to re-transform the Any into something more useful; I'll add that in a follow-up PR.

@gabrielh and @RanjeetKaur17 FYI

Voilà, NOW this (finally!) fully works, as it should; merged!


[XAML bug] Opening a model causes title bar appearance issues

Dev Home version
No response
Windows build number
No response
Other software
No response
Steps to reproduce the bug
Description
This modal darkens the background but may not be darkening the title bar, which looks bad considering this contrast of light and dark cuts right through the Dev Home logo in the top left.
Expected result
No response
Actual result
No response
Included System Information
No response
Included Extensions Information
No response

Fixed by updating to WindowsAppSDK 1.4 in #1819


HockeyApp and Windows 10 IoT

So, I'm developing a UWP app on Windows 10 IoT using HockeyApp to tack exceptions. HockeyApp is not able to automatically deploy updates to Windows 10 IoT.
I was told that I should use Windows Store to manage app updates. So I did that. There were two issues. 1. In order to use Windows Store I had to buy a company account instead of a personal account so that I could sign up for the OEM Preinstallation program so that I could download the Windows Store signed appx package. 2. Windows Store requires the app to be compiled as Release instead of Debug, thus eliminating most of the trace symbols.
So now I have the preinstallation appx packages signed by Windows Store that I can use to create preinstallation device images (flash.ffu) which is used to create the initial Windows 10 IoT disk image with the device already installed.
However, now I'm getting crashes and crash traces and the resulting crash App Traces lack almost all symbols. Windows Store allows the downloading the symbol file for crash analysis, but I don't see a way to upload the symbol file to the HockeyApp site so that the App Traces make sense.
So HockeyApp fails to be of much use for UWP apps for Windows 10 IoT Core that are managed by Windows Store.
Is there a solution for this?

Hey @mjmeans,
thx for getting in touch.
Please checkout our knowledgebase article. You can upload the symbol file to HockeyApp and get symbolicated stacktraces.
Best,
Benjamin

I'm closing this issue as I haven't heard from you in about a month. Please get in touch if there's anything we can do to help you.
Best,
Benjamin


Some question about implementation of translate and translate_sentences in EasyNMT

Hi, i review the code, and want to give some suggestions.
As the code logic describe, if user not set source_lang in translate method, the object will
auto infer the possible source_lang in translate_sentences.
This behaviour will have good conclusion when the input sentences are short,
when it comes to long sentence, because the perform_sentence_splitting usage, will split the
totally long input sentence into small fragments and do source_lang infer on evey fragments
and choose a good model to translate it (in grouped_sentences group by detected source_lang)
it will suit some mix language input sentences, translate different language fragments
by different model and join them back.
but when the sentence_splitter unfortunate split the long input in bad manner,
consider following example:
import pandas as pd
input_ = 'How many times does the  rebuilt data contain cannot handle non-empty timestamp argument! 1929 and scrapped data contain cannot handle non-empty timestamp argument! 1954?'
#### this output will be ['en', 'en', 'eo'] because the last fragment is "1954?"
#### and language_detection map it to "eo"
pd.Series(sentence_splitter(input_)).map(model.language_detection)

And when use it in opus-mt model, to translate this sentence from "eo" into "zh"  this will yield a error that not have this model to load.
I understand that i can avoid this error by set source_lang to "en" in translate method.
But i think also need deal with this problem.
I think if the language_detection and sentence_splitter can run rapidly, can try to valid all possible translate-mapping in
lang_pairs in easynmt.json in the opus-mt folder in the models dir before run translate method.
Or becuse the last fragments is too short to give a good suggestion on language_detection, set a evidence filter on different
length fragments.
Or if you can use some regex (regular expression) to fllter out some symbols (in this example '?' in "1954?") or other bad tokens before input language_detection is more useful. And i think because the different format of our input, someone may input a html
document into the translate method. It is useful to provide a interface let user set a token filter (filter "?" "<\br>" ) before language_detection.
The above example is one sample i use to translate from a dataset, so when this error occured , i lost all previous translated conclusion because one Exception yield .  Because the truly translate is running in batch manner, People may want to maintain some success batches by set a small batch_size and a collection to collect success batches. I hope the future version will support collect success batches and not let all lost in the final output of translate method a long (in list measure or string measure) input of documents.

This is a good point, I will add a document wide language detection to it.
Regarding translation of long inputs:
I can recommend to use the translate_stream method:
https://github.com/UKPLab/EasyNMT/blob/main/examples/translation_streaming.py
It yields translated documents as soon as they are translated. These can then  be written e.g. to a text file

This is a good point, I will add a document wide language detection to it.
Regarding translation of long inputs:
I can recommend to use the translate_stream method:
https://github.com/UKPLab/EasyNMT/blob/main/examples/translation_streaming.py
It yields translated documents as soon as they are translated. These can then  be written e.g. to a text file


Scale MediaQuery view insets to account for scaled height and width

MediaQuery view insets return the values from the unscaled screen resolution so when you scale the screen size, the size of the media query becomes disproportionate. As scaledSize increases MediaQuery view insets move elements a smaller and smaller amount.

Amazing! Thank you so much for the help. Let me review and merge this week and then I can add you as a contributor

In my test with a large SafeArea inset, the inset does not look like it is scaled.

This PR should fix #14 correct?

Oh I forgot about the SafeArea. SafeArea uses MediaQuery.of(context).padding and I only changed viewInsets which is the virtual keyboard. Let me update the PR now.

Can you test with the latest commit and see if it fixes it?

Ok I think I have it right this time! It passed the test I did. When I read the documentation the first time I read that the padding is calculated using viewInsets and viewPadding so I incorrectly thought the MediaQuery class calculated it itself. Now it updates correctly based on viewInsets and viewPadding while maintaining the logic from the base MediaQuery class

Perfect @SpencerLindemuth , tested and LGTM.

Thank you so much for creating this PR as I did not have the time. This allows me to close so many issues.
The last thing before the Responsive Framework is ready for v0.1.0 release is to scale modals.
I've added you as contributor to the ReadMe with the v0.0.10 release.


Run failed

Thanks for the code. I've been testing it, so more to come later. But initially, it crashes at this line
ICP.cpp | 170: icpOdom.getIncrementalTransformation(trans, rot, threads, blocks);
The reason that I found was because the member attribute iteration is not well allocated in the icpOdom's constructor. So I changed the line
ICPOdometry.cpp | 33: iterations.reserve(NUM_PYRS);
into
ICPOdometry.cpp | 33: iterations.resize(NUM_PYRS);
and it works fine till now.

Interesting, never had an issue with this on many versions of Ubuntu over the years. What OS are you using?

The same as I did.
windows 10 with vs2013

Does it work on Windows?

It works like a charm =)

@johnzjq can you please suggest how you worked with Eigen. I am facing this problem: Compile Failed (Eigen errors)
I tried with Eigen 3.3 beta 2 and stevenlovegrove/eigen


[1pt] PR: Upgrade base Docker image to GDAL v3.8.0

Upgrades base Docker image to GDAL v3.8.0. In order to upgrade past GDAL v.3.4.3 (see #1029), TauDEM's aread8 was replaced with a module from the pyflwdir Python package. Supersedes #1038 and undoes #1047 in favor of upgrading the base Docker image that contains JDK 17 rather than installing it into a base container that uses JDK 11 in order to resolve #1029.
Additions

src/accumulate_headwaters.py: Uses pyflwdir to accumulate headwaters and threshold and create stream pixels.

Changes

Dockerfile: Upgrade GDAL from v.3.4.3 to v.3.8.0; remove JDK 17 and TauDEM aread8 and threshold.
Pipfile and Pipfile.lock: Add pyflwdir and upgrade Python version.
src/delineate_hydros_and_produce_HAND.sh: Add src/accumulate_headwaters.py and remove TauDEM aread8 and threshold

Testing
Ran fim_pipeline.sh and synthesize_test_cases.py on HUCs 12040101. fim_pipeline.sh completed without any error, and CSI and MCC for 100yr and 500yr BLE magnitudes remained identical to v.<IP_ADDRESS>.
Issuer Checklist (For developer use)
You may update this checklist before and/or after creating the PR. If you're unsure about any of them, please ask, we're here to help! These items are what we are going to look for before merging your code.

[x] Informative and human-readable title, using the format: [_pt] PR: <description>
[x] Links are provided if this PR resolves an issue, or depends on another other PR
[x] If submitting a PR to the dev branch (the default branch), you have a descriptive Feature Branch name using the format: dev-<description-of-change> (e.g. dev-revise-levee-masking)
[x] Changes are limited to a single goal (no scope creep)
[x] The feature branch you're submitting as a PR is up to date (merged) with the latest dev branch
[x] pre-commit hooks were run locally
[x] Any change in functionality is tested
[x] Passes all unit tests locally (inside interactive Docker container, at /foss_fim/, run: pytest unit_tests/)
[x] New functions are documented (with a description, list of inputs, and expected output)
[ ] Placeholder code is flagged / future todos are captured in comments
[x] CHANGELOG updated with template version number, e.g. 4.x.x.x
[x] Reviewers requested
[x] Add yourself as an assignee in the PR  as well as the FIM Technical Lead

Merge Checklist (For Technical Lead use only)

[ ] Update CHANGELOG with latest version number and merge date
[ ] Update the Citation.cff file to reflect the latest version number in the CHANGELOG
[ ] If applicable, update README with major alterations

I did a bunch of testing on the code and it was fine. We won't official approve this until we can test it with Nikki next week to see if it passes the security tests. A huc was run against the old code base, then the new one and a fair bit of comparisons were done including looking carefully of key output geotiff files. Also ran the pre and post set through alpha testing and it was fine as well.  So.. code is approved, just need the security test.


No way to enable HTTP2

For CDS, the returned clusters do not have http2_protocol_options set and there is no way through which we can set them either (cds.go). Hence upstreams which support http2 don't work. Since gRPC uses http2, doing cluster discovery using rotor does not work with gRPC services.
Can we add another bool parameter to the Cluster struct called enableHttp2 (cluster.go) . Different plugins can have their own mechanisms of finding the value for the parameter. For example, for EC2 integration, the presence of an extra tag may tell whether HTTP2 needs to be enabled.

Hi @vaibhav-sinha, thanks for the issue.
This is more or less a duplicate of #7, and will have the same unsatisfying answer; we'd like to avoiding encoding envoy cluster configuration into labeling, as we think it will lead get snarly pretty quickly.
Instead we plan to offer a way of specifying (1) configuration for specific clusters and (2) default configuration for all clusters at rotor startup.
In the meantime, your best bet would probably be to statically configure your clusters in your envoy configuration (or serve CDS from a separate service), and use rotor only for EDS.
We do plan to fully support HTTP2 in the Turbine Labs API, along with a range of other cluster configuration options, but configuration of these will remain a part of our paid product.
Thanks!

See #14 for a description of what we plan to add.

I think proposed features in #14 would be sufficient for my use cases. Thanks.

this landed in 7acd7cd08a3512d0424a6b742033abb5d50f295c, available in the 0.18.0 tag.


Error when using Serial with python3

When using the serial transfer layer in current development basil with python 3.7 i get
File "basil/basil/TL/Serial.py", line 45, in write
    self._port.write(bytes(data + self.write_termination))
TypeError: string argument without an encoding

this is because the bytes() constructor now expects the encoding as second parameter (see https://stackoverflow.com/questions/40503794/python-3-string-argument-without-an-encoding). I guess you need to decide which encoding to use here?

python 2 support restored with #107


caffe to tensorflow: convert one depthwise op with group=36 from caffe to tensorflow's 36 depthwise ops

convert one depthwise op with group=36 from caffe to tensorflow's 36 depthwise ops
caffe model

converted tensorflow

Hi @ysh329 , it seems there are only 8 groups in your source caffe model and MMdnn convert faithfully

Hi @ysh329 , it seems there are only 8 groups in your source caffe model and MMdnn convert faithfully

thanks for your relpy.
why does mmdnn convert to one depthwise with group=8?


handle event where user hits the confirm button without selecting row

can we handle the event where user hits the confirm button without selecting anything from row  ??

Hi @mac8878 , there's no way to do it now, I think a pickerWillDismiss delegate method will do.

in 0.4.3, several new delegate methods have been added. You now can know when the picker was dismissing. So you can tell if user has selected anything.

Can you provide example for this?


Authenticate users with external backend

Users have to authenticate somehow in order to prove their identity.
For this, an external service like Keycloak should be utilized to avoid re-inventing the wheel, especially because authentication is hard.

Alternative OIDC provider that may fit the purposes better: https://casdoor.org/


Add Implementation of Fig 11.4 REFINEMENT-HIGH-LEVEL-ACTIONS for AIMA3e

Pseudocode - REFINEMENT-HIGH-LEVEL-ACTIONS

Resolved in #411


websocket authentication

For which python version is your code?
I'm running python 3.4 and I get an error with this line:
sub_params['signature'] = signature_b64
TypeError: b'...=' is not JSON serializable
Therefore I added ".decode("utf-8")".
I did not use your whole project, since I'm only interested in the websocket authentication part.
My script is able to subscribe to any pair succesfully, but when I add the authentication stuff I get not a single message from gdax.
sub_params = {"type": "subscribe", "product_ids": [self.pair]}

timestamp = str(time.time())
message = timestamp + 'GET' + '/users/self'
message = message.encode('ascii')
hmac_key = base64.b64decode(self.secret)
signature = hmac.new(hmac_key, message, hashlib.sha256)
signature_b64 = base64.b64encode(signature.digest())
sub_params['signature'] = signature_b64.decode("utf-8")
sub_params['key'] = self.key
sub_params['passphrase'] = self.passphrase
sub_params['timestamp'] = timestamp

message_json = json.dumps(sub_params)
self.send(message_json)

without the part in the middle I get messages from websocket. But with the authentication stuff, I get nothing...
Can you imagine what the problem can be? Does the authentication works with you script? which python version?

Hi Serpens66,
Same I you, , I make it worked with : signature_b64.decode("ascii")
Have a nice day,

thank you.
I tested it again and found out that "utf-8"" seems also to work, but the problem was that directly after the code above I made:
           # message_data = {"type": "heartbeat", "on": True}             # message_json = json.dumps(message_data)             # self.send(message_json)
and for some reason then I only get heartbeat, but no product_id information.
When I leave out the authentication part from my first post, then I get product_id stuff and heartbeat.

I'm having trouble with the websocket authentication code as well, after making the changes above. It is simply stuck. I'm also able to get info without authentication

from what I saw, you are not missing much.
With authentication the only change is, that some messages contain profile_id and user_id.
I saw eg no message about my balance, as I expected for a authenticated websocket.

what about orders? I'm assuming they should be faster under websocket vs rest

You mean placing new orders? From what I can see in documentation, you can not place orders via webocket https://docs.gdax.com/#websocket-feed , am I wrong?

Oh wow I think you are right. I guess you have to do it either on rest or fix. Thanks -- I had made an assumption that order messages were for new orders.

you receive additionnal information on the orders you placed, but to place an order you have to use REST or FIX interfaces.
Serpens, have you tried to use the  authenticated_client.py sample and only add the signature_b64.decode ? does it work ?


Disabling swiper on element

Clear and concise description of the problem
I faced difficulties, trying to disable scroll event on the particular element.
Suggested solution
What about adding the following property
disableSwiper: HTMLElement[]?
Alternative
No response
Additional context
No response
Validations

[X] Follow our Code of Conduct
[x] Read the docs.
[X] Check that there isn't already an issue that request the same feature to avoid creating a duplicate.

Would you like to open a PR for this feature?

[ ] I'm willing to open a PR

https://swiperjs.com/swiper-api#param-noSwiping


Handle functions with datatypes other than Lists of Records

The Spark backend currently only handles functions that have Lists as arguments (https://github.com/finos/morphir-elm/blob/5c0c516169914792291f68f7e99a25776009b160/src/Morphir/Spark/Backend.elm#L219).
This is because it is assumed that every Spark function takes a dataframe as an argument and returns a dataframe.
Real-world usage of this doesn't expect to always take and return a List of Records, however.
The Christmas Bonanza example (https://github.com/finos/morphir-elm/blob/5c0c516169914792291f68f7e99a25776009b160/tests-integration/reference-model/src/Morphir/Reference/Model/Sample/Rules/Income/Antique.elm#L110) takes a List of Antiques and returns a PriceRange (a tuple of two prices)
The suggested solution to this is to instead of treating any other value as an error, attempt to construct a full function (including converting input from whatever input type into a dataframe, and output from whatever returned type into a dataframe) and only return an error if this isn't possible.

This is required to write idiomatic elm aggregations, e.g.
source
    |> List.map .ageOfItem
    |> List.minimum

I've had a look deeper into the code for datatypes other than lists of records, and there seem to be no restrictions specific to returning a List of Records.
i.e. while mapFunctionDefinition in src/Morphir/Spark/Backend.elm restricts the input types to Lists only, the return type of the function is not used, and the function declaration forces the return type to be a Spark DataFrame regardless of what the return type was in the IR.
I've identified some use-cases:
Elm-style Aggregations
(see also #844)
i.e. code of the form
source
    |> List.map .fieldName
    |> List.sum

And the corresponding Spark code is
source.select(sum(col("fieldName")).alias("fieldName"))

Fortunately, the List.map expression source |> List.map .fieldName produces an ObjectExpression Select ["fieldName",Function "sum" [...] ] source.
The solution to implementing this seems to be:

Refactor mapSDKFunctions so that the args could be a list of Expressions, not just TypedValues
When objectExpressionFromValue receives a function that returns a single basic type (i.e. Int, Float, String, Bool) or a Maybe of one of those types
Try to create an ObjectExpression from the arguments to that function.
If that ObjectExpression is a Select with only one argument, extract the Name and Expression, plus the Source
Then use mapSDKFunctions, using the root function, with the Expression as args, and construct a new Select ObjectExpression with our new Expression, the Name and the Source.

Aggregations grouped in a tuple
See also #792

When objectExpressionFromValue receives a tuple constructor, create ObjectExpressions for every value inside the tuple constructor.
Apply the constraint that the created ObjectExpressions are only Selects with one NamedExpression, and they all have identical Sources.
Use all the NamedExpressions as the NamedExpressions inside a new Select with the Source they all share.

note: I'm not sure at this point how to handle filter expressions in here, too.
Aggregations grouped in a Record
There are no issues or examples for this use case, but it's provided for completeness.
The process is identical to the tuple case except we also have our own names to replace for each of the NamedExpressions.
Aggregations grouped in a singleton List of a Record
AKA the Pedantic Elm case. This has already been implemented, but could be simplified and made more readable following this.


Config Output

Feature request that makes some sense.
It makes some sense to output a small config file that nPrint and autoML was called with. Not entirely sure what this looks like, but something like
nPrint configuration: -4 -t -u ...
AutoML configuration: number of threads, metric optimized for, ...
While this could be encoded in an output directory, it's probably best to leave a tiny file that summarizes this

I think that makes sense, even just as a document of where output came from, (for reproduction for example).
We could write this to the top level of the output directory.

I think that makes sense, even just as a document of where output came from, (for reproduction for example).
We could write this to the top level of the output directory.

Let's output a nprintML.cfg file at the top level of the output directory. Do we want to be able to read something like this back in to set flags or should this just be for the user's information?


Run Templating tests on PR-validation builds

Currently tests for Templating are not run on PR-validation builds because it requires the previous shared runtime, which is not installed.
It would be really good to start running those tests so templating can get test coverage on its PR's like anything else.

Should be unblocked by https://github.com/aspnet/AspNetCore/pull/7293

These tests are running again.


Translate reference/access-authn-authz/authorization/ into Korean

This is a Feature Request

What would you like to be added

Translate reference/access-authn-authz/authorization/ into Korean.
Why is this needed
This is a Feature Request
There is no document of reference/access-authn-authz/authorization/ which is translated into Korean.
Comments

Page to translate: https://kubernetes.io/docs/reference/access-authn-authz/authorization/

/language ko
/assign

/close


Caching GraphQL error responses policy

GraphQL query response may contain data and error at the same time.
Such case we saw with one of Shopify query, when user asked public resource (like Shop) and protected resource (like customer info without been authorized) at the same query.
Main question how we should handle such cases, should we cache responses?
And generic question should we cache GraphQL error responses?

Per discussion we agreed to store response as is, even if it has graphql errors.
Closing


stylePreprocessorOptions loads node_modules instead of scss

Using @import 'file' imports from node_modules when the file is named the same way any node module is named.
Angular.json
"stylePreprocessorOptions": {
              "includePaths": [
                "src/styles"
              ]
            },

Existing files
src
   - styles
          - _globals.scss
          - _rxjs.scss

my-component.scss
@import 'globals';

-> Imports node-module "globals" index.js
my-component.scss
@import 'rxjs';

-> Imports node-module "rxjs" index.js
Version
@angular/cli: 6.0.0-rc.7

This also happens if file name is 'colors'

I can as well. Initially broke an existing project when using the new ng update cli command, as well as with a fresh app generated with ng new (CLI version 6.0.3)

Any update from the team on this?

@ZbigiMan
I got Angular 6 with Foundation 6 working with a variation of your question/answer...
Include your stylePreprocessorOptions config, then copy

node_modules/foundation-sites/scss/settings/_settings.scss

into your src directory, then edit this line:

@import 'util/util';

to be

@import 'node_modules/foundation-sites/scss/util/util';

In your style.scss you can now do:

@import 'settings';
@import 'foundation';
@include foundation-everything;

I still get a warning I have not worked on yet, but everything compiles.

Hey @ethanj. The problem of this issue is not exactly the problem @ZbigiMan describes. In fact quite the opposite. The problem is NOT that you cannot add include paths to the stylePreprocessorOptions of the CLI. You can, and it works, as you described.
The problem is, that the loader FIRST tries to load from the node_modules directory and THEN tries to load from the included paths.
That means, if you have a module called "colors" in node_modules, or a module called "base" then these SCSS statements will trigger an error, because the compiler doesn't look in your include paths FIRST but instead tries to load the module in node_modules.
@import "base"
@import "colors"

We did not have this behavior in the old version of the CLI and this is why it's breaking existing code.

Also it tries to import js files, which seems not correct to me, too.

I also noticed that is problem with sass-loader 7. Downgrades to sass-loader 6 solves the issue, so It's not problem with @angular/cli itself but with dependency - sass-loader.
Wysłano z BlueMail
W dniu 28.06.2018, 10:09, o 10:09, użytkownik Alexander Bachmann<EMAIL_ADDRESS>napisał:

Hey @ethanj. The problem of this issue is not exactly the problem
@ZbigiMan describes. In fact quite the opposite. The problem is NOT
that you cannot add include paths to the stylePreprocessorOptions of
the CLI. You can, and it works, as you described.
The problem is, that the loader FIRST tries to load from the
node_modules directory and THEN tries to load from the included paths.
That means, if you have a module called "colors" in node_modules, or a
module called "base" then these SCSS statements will trigger an error,
because the compiler doesn't look in your include paths FIRST but
instead tries to load the module in node_modules.
@import "base"
@import "colors"

We did not have this behavior in the old version of the CLI and this is
why it's breaking existing code.
--
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub:
https://github.com/angular/angular-cli/issues/10535#issuecomment-400949992

Guys if you have the same issue upvote the issue itself. Contributers dont see your +1 comments and dont see your upvotes on the „colors“ thingy.

Here is link to webpack sass-loader issue https://github.com/webpack-contrib/sass-loader/issues/556

If anyone finds this in the short future, until the commits above are merged. I am on:
Angular CLI: 6.2.3
Angular: 6.1.9

Downgrading sass-loader in package.json fixed this issue for me.
  "dependencies": {
        ...
        "sass-loader": "~6.0.7",
        ...

Yea, it looks like it's still there in<EMAIL_ADDRESS>

Same here when upgrading from v6 to Angular v7.
Downgrading sass-loader to 6.0.7 worked for me.

My workaround was to prefix my style files with my project name abbreviation to avoid naming collusion with libraries inside node_modules. So
src
   - styles
          - _globals.scss
          - _rxjs.scss

will become
src
   - styles
          - _asdf_globals.scss
          - _asdf_rxjs.scss

Then the import is:
@import 'asdf-globals';
@import 'asdf-rxjs';

Slight digression: For persons trying to use this in multi-app projects, you need to use the full path to the app (project).
e.g.
"stylePreprocessorOptions": {
    "includePaths": [
        "projects/my_app/src/styles"
    ]
}

Took me a few minutes to realise this...


Document OpenID in the client-server and server-server APIs

Rendered: see 'docs' commit status

Fixes #857

The references are hidden in the commit bodies, because apparently I'm mean and didn't put them in the PR body :(


Once logged in, website insists on my logging in again

I am trying to create a genome group.  It asked me to log in, which I did successfully, and then when I tried to create the group again, it asked me to login again.
http://www.beta.patricbrc.org/portal/portal/patric/GenomeList?cType=taxon&cId=2&dataSource=&displayMode=&pk=&kw=#aP0=1&aP1=1&aT=0&key=1426863620043&cwG=false&tId=2&gName=&kW=Escherichia

I think this is related #63. Time delay between Authentication server and JBoss session.

fixed


Fixed #124: Added Content-Type json to HTTP headers

@tidwall you are right, please squash it on merge.


fix #98 - adding CrudTrait to Model generates error on Windows OS

See #98 for details. But in short using PHP_EOL has inconsistent results on Windows, and this PR tries to fix that by using regex instead.

@pxpm could you please double-check us here and give me a green light to merge this if everything's fine?


optimized prime checking algorithm added

Description of new feature, or changes

Checklist

[ ] Your branch is up-to-date with the base branch
[ ] You've included at least one test if this is a new feature
[ ] All tests are passing

Related Issues and Discussions

People to notify

Hello Manrajgrover/Algorithms-Js,
For the second condition i think we must check even numbers greater than 2
because 2 itself is prime.
On Thu, Apr 4, 2019 at 5:55 PM Richard Walkden<EMAIL_ADDRESS>wrote:

@rswalkden requested changes on this pull request.
There's probably a whole suite of functions we could add for testing
primality but this seems like a good start. I've suggested a couple of
performance optimizations.
In src/algorithms/math/fast_prime.js
https://github.com/manrajgrover/algorithms-js/pull/64#discussion_r272242880
:

@@ -0,0 +1,20 @@
+/**
+* Check if number is prime or not
+* @param  {Number} a number to be checked
+* @return {Number}  true or false
+*/
+const isPrime = (a) => {

for (let i = 2; i <= Math.sqrt(a); i+= 1) {
if (a % i === 0) {

 return false;

}
}

if (a === 1 || a === 0) {

This check should come before the for loop
In src/algorithms/math/fast_prime.js
https://github.com/manrajgrover/algorithms-js/pull/64#discussion_r272246396
:

@@ -0,0 +1,20 @@
+/**
+* Check if number is prime or not
+* @param  {Number} a number to be checked
+* @return {Number}  true or false
+*/
+const isPrime = (a) => {

for (let i = 2; i <= Math.sqrt(a); i+= 1) {

If you check if (a%2 === 0) return false; before this loop then you only
need to check odd numbers here. So the loop would be:
const root = Math.sqrt(a); // cache the root
for (let i = 3; i <= root; i += 2) {
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/manrajgrover/algorithms-js/pull/64#pullrequestreview-222845676,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AJCDDMBBrPjjguX7yDmX_ncKHmx0wvQYks5vdiBjgaJpZM4YMz7u
.


Leading zeros

Would be nice if it could automatically have leading zero's to keep a constant digit count.

sorry I just saw that i can do a format like "%010d" to add padding.

🙂


Private vs public actor methods

Should actor methods follow the Python convention of everything being public per default except for names starting with an underscore which are private?
I initially thought this was a good idea but the more I think about it the less certain I am. Not because I particularly like languages where public things have to be explicitly declared. Python has this simple way that gets out of the way... But it also leads to many things being public which really ought to be private. The consequences of that are not as far reaching for the average python program as python program tend to not be that large.
In Acton on the other hand, we expect to design very large systems. While I think it's correct to copy python for objects and class definitions, actors are just a new type of thing that simply doesn't have an equivalent in python.
If anything, I think an actor encapsulates what would otherwise be one python program and multiple python programs do not share anything, so why should actors by default?
Indeed my expectation is that most actor methods are private. Yet the naming scheme of underscore tends to lead to over publishing methods that should be private. The result will likely not be good. This can be fixed by just doing linting or some such. Just do the right thing etc. But defaults matter.
Should public methods require some explicit keyword? Should private methods use leading underscore?

Go uses leading capital case for Public methods. That's pretty simple, almost deceivingly simple, to the point where you might accidentally make something public... but still, I think it's a lot easier on the eyes than leading _ which is a wart IMHO.