Possible issue with slab rebalance.

I have been looking over the code in slabs.h/slabs.c and trying to understand how the source and destination slabs are chosen for the rebalancing algorithm.
In slab_rebalance_finish I see that src and destination are set to zero, presumably for the next run.
809  slab_rebal.s_clsid    = 0;
810  slab_rebal.d_clsid    = 0;
These vars are then used to index into the slabs array in  slab_rebalance_alloc, slab_rebalance_move, and slab_rebalance_finish routines, however, I do not see anywhere in which s_clsid or d_clsid are ever set to anything besides 0 (aside from the slab_reassign command). In other words it appears that the source and destination are always set to zero and the conditional on line 508 of slabs.c will always result in no_go = -2.
It does not appear that the values are modified outside of slabs.c either.
if (slab_rebal.s_clsid < POWER_SMALLEST ||         slab_rebal.s_clsid > power_largest  ||         slab_rebal.d_clsid < SLAB_GLOBAL_PAGE_POOL ||         slab_rebal.d_clsid > power_largest  ||         slab_rebal.s_clsid == slab_rebal.d_clsid)         no_go = -2;

Hey,
What version are you looking at? That code got completely redone in 1.4.25

Hey Dormando, thanks for the quick response. I am looking at v 1.4.25, which I cloned about a week ago. If you do a quick search of slabs.c for s_clsid you'll see what I mean. It is set by the command handler code but not by the slab rebalancing thread. It just remains zero from what I can tell. I grep'd over the entire project looking for where these variables are set.

Sorry for the super late response.
You're right in that it's only set in slabs_reassign(). This is a little confusing I guess.
I did a few things in the 1.4.25 release:

The LRU juggler watches for too many free chunks in a slab class, which then reassigns a page into the global page pool (items.c):

    /* If slab automove is enabled on any level, and we have more than 2 pages
     * worth of chunks free in this class, ask (gently) to reassign a page
     * from this class back into the global pool (0)
     */
    if (settings.slab_automove > 0 && chunks_free > (chunks_perslab * 2.5)) {
        slabs_reassign(slabs_clsid, SLAB_GLOBAL_PAGE_POOL);
    }

Once a page has been moved back to SLAB_GLOBAL_PAGE_POOL's magic classid, the slab rebalancer isn't involved at all in reassigning the memory.
When a set happens a new chunk of memory is requested, memcached checks for free chunks in the slab class. If none exist, it will attempt to pull a 1MB page from malloc or the global page pool, then splitting into chunks.
see: slabs.c:do_slabs_newslab, which calls slabs.c:get_page_from_global_pool. Using the global page pool is very similar to simply free()'ing a page and lowering the memory allocated counter.. just avoids the extra overhead a little.
Feature's in use by a number of people and works. Thanks for checking things over though :) Going to close this out.


game.resize only working properly when canvas becomes smaller

A bug in the API 3.2.1 (always say which version you're using!)

When having a canvas with window.innerWidth and window.innerHeight and using game.resize the view only resizes properly if the new size is smaller then the original game size.
If it becomes larger the newly available space stays black but you can see the sprites (coordinates) are extending behind it.
Tested in Safari and Chrome on macOS.

You need to resize the main camera to show more content

Cheers @pixelpicosean for pointing me to a solution!
I am now running the following code:
game.scene.scenes.forEach( function (scene) {
  scene.cameras.main.setViewport( 0, 0, window.innerWidth, window.innerHeight );
});

after game.resize(window.innerWidth, window.innerHeight).
Still thinking this should probably happen automatically when doing the game.resize() but it works for now!

It will be part of the new Scale Manager (to do it automatically) but it isn't always desirable, which is why it doesn't happen atm.


update dependencies

Update package-lock.json with new dependencies to close public vulnerabilities.
Add couple new words to .yaspeller.json to pass pre-commit hook.

/cc @Rozzii

/lgtm

/lgtm


Update CONTRIBUTING.md

add note for including https:// in the resource endpoint

Think we can just merge this.

I think so too. I wanted to wait if I would find anything else to add while doing those issues, but didn't find, so I will merge this.


Fix more typos

I am incredibly sorry for being this guy. Please forgive me..

Messege -> Message
Messanger -> Messenger
messanger -> messenger
contoller -> controller
Constriants -> Constraints
meesenger -> messenger

No worries. It needed to be fixed.


Node falls behind Metastore updates

Every so often during 3-node integration a testing, a failure occurs as a single node complains that it does not recognise a measurement for querying. This is happening because that node has fallen behind metastore updates. Even after many seconds it has not caught up.
The diagnostics dumps are below, which show that the broadcast index is too low on one of the nodes.
{"results":[{"series":[{"name":"server_go","tags":{"serverID":"1"},"columns":["time","goMaxProcs","numGoRoutine","version"],"values":[["2015-04-19T17:16:40.518967226Z",1,235,"go1.4"]]},{"name":"server_system","tags":{"serverID":"1"},"columns":["time","hostname","pid","os","arch","numCPU"],"values":[["2015-04-19T17:16:40.518968249Z","box446",12600,"linux","amd64",2]]},{"name":"server_memory","tags":{"serverID":"1"},"columns":["time","alloc","totalAlloc","sys","lookups","mallocs","frees","heapAlloc","heapSys","heapIdle","heapInUse","heapReleased","heapObjects","pauseTotalNs","numGG"],"values":[["2015-04-19T17:16:40.518969695Z",2631152,6857999304,26564856,117545,21069460,21055289,2631152,20938752,16162816,4775936,0,14171,5367642346,1711]]},{"name":"server_build","tags":{"serverID":"1"},"columns":["time","version","commitHash"],"values":[["2015-04-19T17:16:40.518972055Z","0.9",""]]},{"name":"server_diag","tags":{"serverID":"1"},"columns":["time","startTime","uptime","id","path","authEnabled","index","retentionAutoCreate","numShards","cqLastRun"],"values":[["2015-04-19T17:16:40.518874138Z","2015-04-19 17:14:42.896718315 +0000 UTC","1m57.622224804s","1","/tmp/influxdb-809097743/data-integration-test/0",false,290,true,8,"0001-01-01 00:00:00 +0000 UTC"]]},{"name":"shardGroups_diag","tags":{"serverID":"1"},"columns":["time","database","retentionPolicy","id","startTime","endTime","duration","numShards"],"values":[["2015-04-19T17:16:40.518874138Z","mydb","myrp","8","2000-01-01 00:00:00 +0000 UTC","2000-01-01 01:00:00 +0000 UTC","1h0m0s",1]]},{"name":"shards_diag","tags":{"serverID":"1"},"columns":["time","id","dataNodes","index","path","path","path","path","path","path","path","path"],"values":[["2015-04-19T17:16:40.518874138Z","6","1","222"],["/tmp/influxdb-809097743/data-integration-test/0/shards/6"],["2015-04-19T17:16:40.518874138Z","7","1","244"],["/tmp/influxdb-809097743/data-integration-test/0/shards/7"],["2015-04-19T17:16:40.518874138Z","8","1","292"],["/tmp/influxdb-809097743/data-integration-test/0/shards/8"],["2015-04-19T17:16:40.518874138Z","1","1","37"],["/tmp/influxdb-809097743/data-integration-test/0/shards/1"],["2015-04-19T17:16:40.518874138Z","2","1","52"],["/tmp/influxdb-809097743/data-integration-test/0/shards/2"],["2015-04-19T17:16:40.518874138Z","3","1","71"],["/tmp/influxdb-809097743/data-integration-test/0/shards/3"],["2015-04-19T17:16:40.518874138Z","4","1","87"],["/tmp/influxdb-809097743/data-integration-test/0/shards/4"],["2015-04-19T17:16:40.518874138Z","5","1","174"],["/tmp/influxdb-809097743/data-integration-test/0/shards/5"]]}]}]}
{"results":[{"series":[{"name":"server_go","tags":{"serverID":"0"},"columns":["time","goMaxProcs","numGoRoutine","version"],"values":[["2015-04-19T17:16:40.520398863Z",1,235,"go1.4"]]},{"name":"server_system","tags":{"serverID":"0"},"columns":["time","hostname","pid","os","arch","numCPU"],"values":[["2015-04-19T17:16:40.520399766Z","box446",12600,"linux","amd64",2]]},{"name":"server_memory","tags":{"serverID":"0"},"columns":["time","alloc","totalAlloc","sys","lookups","mallocs","frees","heapAlloc","heapSys","heapIdle","heapInUse","heapReleased","heapObjects","pauseTotalNs","numGG"],"values":[["2015-04-19T17:16:40.52040084Z",4249800,6859617952,26564856,117550,21070606,21055382,4249800,20922368,14589952,6332416,0,15224,5367642346,1711]]},{"name":"server_build","tags":{"serverID":"0"},"columns":["time","version","commitHash"],"values":[["2015-04-19T17:16:40.520402794Z","0.9",""]]},{"name":"server_diag","tags":{"serverID":"0"},"columns":["time","startTime","uptime","id","path","authEnabled","index","retentionAutoCreate","numShards","cqLastRun"],"values":[["2015-04-19T17:16:40.520331728Z","2015-04-19 17:14:42.896718315 +0000 UTC","1m57.623664339s","0","/tmp/influxdb-809097743/data-integration-test/1",false,290,true,8,"0001-01-01 00:00:00 +0000 UTC"]]},{"name":"shardGroups_diag","tags":{"serverID":"0"},"columns":["time","database","retentionPolicy","id","startTime","endTime","duration","numShards"],"values":[["2015-04-19T17:16:40.520331728Z","mydb","myrp","8","2000-01-01 00:00:00 +0000 UTC","2000-01-01 01:00:00 +0000 UTC","1h0m0s",1]]},{"name":"shards_diag","tags":{"serverID":"0"},"columns":["time","id","dataNodes","index"],"values":[["2015-04-19T17:16:40.520331728Z","8","1","0"],["2015-04-19T17:16:40.520331728Z","1","1","0"],["2015-04-19T17:16:40.520331728Z","2","1","0"],["2015-04-19T17:16:40.520331728Z","3","1","0"],["2015-04-19T17:16:40.520331728Z","4","1","0"],["2015-04-19T17:16:40.520331728Z","5","1","0"],["2015-04-19T17:16:40.520331728Z","6","1","0"],["2015-04-19T17:16:40.520331728Z","7","1","0"]]}]}]}
{"results":[{"series":[{"name":"server_go","tags":{"serverID":"0"},"columns":["time","goMaxProcs","numGoRoutine","version"],"values":[["2015-04-19T17:16:40.52486571Z",1,233,"go1.4"]]},{"name":"server_system","tags":{"serverID":"0"},"columns":["time","hostname","pid","os","arch","numCPU"],"values":[["2015-04-19T17:16:40.524866761Z","box446",12600,"linux","amd64",2]]},{"name":"server_memory","tags":{"serverID":"0"},"columns":["time","alloc","totalAlloc","sys","lookups","mallocs","frees","heapAlloc","heapSys","heapIdle","heapInUse","heapReleased","heapObjects","pauseTotalNs","numGG"],"values":[["2015-04-19T17:16:40.524867741Z",4174392,6861259592,26564856,117567,21071744,21057507,4174392,20922368,14573568,6348800,0,14237,5370146389,1712]]},{"name":"server_build","tags":{"serverID":"0"},"columns":["time","version","commitHash"],"values":[["2015-04-19T17:16:40.52486972Z","0.9",""]]},{"name":"server_diag","tags":{"serverID":"0"},"columns":["time","startTime","uptime","id","path","authEnabled","index","retentionAutoCreate","numShards","cqLastRun"],"values":[["2015-04-19T17:16:40.524797911Z","2015-04-19 17:14:42.896718315 +0000 UTC","1m57.628131383s","0","/tmp/influxdb-809097743/data-integration-test/2",false,273,true,8,"0001-01-01 00:00:00 +0000 UTC"]]},{"name":"shardGroups_diag","tags":{"serverID":"0"},"columns":["time","database","retentionPolicy","id","startTime","endTime","duration","numShards"],"values":[["2015-04-19T17:16:40.524797911Z","mydb","myrp","8","2000-01-01 00:00:00 +0000 UTC","2000-01-01 01:00:00 +0000 UTC","1h0m0s",1]]},{"name":"shards_diag","tags":{"serverID":"0"},"columns":["time","id","dataNodes","index"],"values":[["2015-04-19T17:16:40.524797911Z","3","1","0"],["2015-04-19T17:16:40.524797911Z","4","1","0"],["2015-04-19T17:16:40.524797911Z","5","1","0"],["2015-04-19T17:16:40.524797911Z","6","1","0"],["2015-04-19T17:16:40.524797911Z","7","1","0"],["2015-04-19T17:16:40.524797911Z","8","1","0"],["2015-04-19T17:16:40.524797911Z","1","1","0"],["2015-04-19T17:16:40.524797911Z","2","1","0"]]}]}]}

In this test, the node is given 2 minutes to catch up, so this is clearly a real problem.

I think this is fixed with PR #2353.

Reproduced locally w/ raft tracing enabled: https://gist.githubusercontent.com/jwilder/ea3cb02029992be13020/raw/gistfile1.txt

Gist link doesn't work for me.

No longer applicable with the new clustering design.


tx_bad_seq

Submit this transaction to https://horizon.stellar.org/ doesn't work:
AAAAALigS9bWBGSZb/b2DxfAVMVeWktk2IhGRIE7CMaqlf8zAAAAZAAJZqQAAAMeAAAAAAAAAAAAAAABAAAAAAAAAAEAAAAAjNsoSdqPFb2bmzzfj3buFDSVfgawK5btZGeeQ95hGZ8AAAAAAAAAAACYloAAAAAAAAAAAaqV/zMAAABA8LhIzi2jawhQbOeA7O0Vr/mrMrHwIyouH21aBvuTALljTOp1AWQDY+ohm1Y7hfBnNtr+q0VWphK81VjljWAcDQ==

returns the following error:
{
  "type": "https://stellar.org/horizon-errors/transaction_failed",
  "title": "Transaction Failed",
  "status": 400,
  "detail": "The transaction failed when submitted to the stellar network. The `extras.result_codes` field on this response contains further details.  Descriptions of each code can be found at: https://www.stellar.org/developers/learn/concepts/list-of-operations.html",
  "instance": "horizon-live-001/O9sGTjC8S5-3357594",
  "extras": {
    "envelope_xdr": "AAAAALigS9bWBGSZb/b2DxfAVMVeWktk2IhGRIE7CMaqlf8zAAAAZAAJZqQAAAMeAAAAAAAAAAAAAAABAAAAAAAAAAEAAAAAjNsoSdqPFb2bmzzfj3buFDSVfgawK5btZGeeQ95hGZ8AAAAAAAAAAACYloAAAAAAAAAAAaqV/zMAAABA8LhIzi2jawhQbOeA7O0Vr/mrMrHwIyouH21aBvuTALljTOp1AWQDY+ohm1Y7hfBnNtr+q0VWphK81VjljWAcDQ==",
    "result_codes": {
      "transaction": "tx_bad_seq"
    },
    "result_xdr": "AAAAAAAAAGT////7AAAAAA=="
  }
}

Can't send any transaction from GC4KAS6W2YCGJGLP633A6F6AKTCV4WSLMTMIQRSEQE5QRRVKSX7THV6S

Account Sequence:<PHONE_NUMBER>066397
Envelope Sequence:<PHONE_NUMBER>066398

I think this was an issue with our horizon last night. Can you try again?

It works now, thanks!


ObjectSet refactoring + LazyObjectCollection

Preliminary tests:

Remote insertions: Pass
Locally deletions: Pass
Remotely updates which affect sort order: Pass

To-do:
Full unit tests.


Block Link component

hahnrob created the following on Jun 20:
This is an Epic that contains links to all of the work required to create the block link component
Original issue: https://github.ibm.com/webstandards/digital-design/issues/1075

On Jun 20, scarnes9 commented:
@hahnrob Just wanted to post a note on here, re: block links, if your team can consider some adjustments to them looking ahead?
On Industries and at MSC, we noticed that the latest design standards look the same as v18, but some team members feel that the interaction does not look or function in a contemporary or elegant way.  We hand-coded a few subtle changes to show as a demo.  Some of the adjustment ideas include:

providing the whole IBM color palette for rollover options
coding a subtle fade animation between the colors on roll on and off, rather than an abrupt instant shift
providing for subtle text animations on block link rollover

Demo / Examples:
https://wwwstage.ibm.com/industries/assets/demo/card-rollover/
User: staging
Pass: IBM19July
Here is some context in our Design Library:
https://ibm.invisionapp.com/share/Q4GVGW2A82D#/screens/319071090_Standards_-_Interaction
Please note these come from frustration with the current Drupal blocklinks.  I'm not sure what the latest version is on your end...
CC @Wonil-Suh1

On Jun 20, Wonil-Suh1 commented:
Hey Seth, thank you so much for the comment. We are redefining these as cards, and treat block links as a very different component - really as a rich link. See the examples below:
https://www.ibm.com/search?lang=en&cc=us&bookmark=eyJzZXJ2aWNlTmFtZSI6Imtub3dsZWRnZUNlbnRlciIsInRvdGFsIjozMDAzLCJjb3VudCI6Mywic21Db3VudCI6MCwib2Zmc2V0IjowLCJmYWlsZWRQYWdlcyI6W119LXsic2VydmljZU5hbWUiOiJlc3FzIiwidG90YWwiOjM4NDc2OSwiY291bnQiOjE3LCJzbUNvdW50IjowLCJvZmZzZXQiOjAsImZhaWxlZFBhZ2VzIjpbXX0teyJwYWdlIjoxLCJxdWVyeSI6Im1hZ25pZmllciJ9&q=watson engine
That said, here are my thoughts on your suggestions:

can you provide why you would need whole color palette? We are leaning towards providing options that have been vetted and curated to maintain a higher level of consistency across IBM.com.

Subtle, non-intrusive fade sounds good. The fade speed will have to be sped up though, following the IDL motion guidelines. ( IDL Motion )

I have a mixed feelings these - I totally understand the rationale, but is this the right kind of motion that represents IDL is what I'm struggling with. Something to explore.

Thank you again!!!!

On Jun 24, Wonil-Suh1 commented:
Chatting with the Product Discovery team, the main identified adopter of this component, they may not need it or the way we defined this component may not work for them for these because their new search result item pattern may need multiple CTAs.

On Jun 26, scarnes9 commented:
@Wonil-Suh1 Thanks, I did not see your bulleted notes below this and am just seeing now.  Some replies:

can you provide why you would need whole color palette? We are leaning towards providing options that have been vetted and curated to maintain a higher level of consistency across IBM.com.

We would not need the whole color palette.  It would be great to have a vetted, curated set of colors that allow creation of elegant designs matching the color scheme of a given page.  The block links In Drupal offer very limited options and do not seem curated in this respect, see attached:

Subtle, non-intrusive fade sounds good. The fade speed will have to be sped up though, following the IDL motion guidelines. ( IDL Motion )

Gotcha, sounds good!  I think the developer arbitrarily picked that fade speed for the example and we were in a hurry.

I have a mixed feelings these - I totally understand the rationale, but is this the right kind of motion that represents IDL is what I'm struggling with. Something to explore.

Yes, am not sure the example with the text link animation to the right for example is best, but the challenge now is that we have zero ways create a card blocklink that shows as active, except the outline or full color background on rollover.  Our feeling is these two styles often look dated or do not fit in a design layout at times, so we tried to create at least one example where the link moves on rollover and changes color, so the user sees both the cursor change and the link move, indicating active state.

There is a card link component.  Closing this epic based on Wonil's recommendation.


[ConstraintSystem] Refactor storage of potential bindings

Make it possible for PotentialBinding to be stored in set/map

Switch from using SmallVector to SetVector for potential binding storage in PotentialBindings
This is one more step towards incremental binding computation that also simplifies the logic around
binding storage. It's no longer necessary to pass type cache to the inference/finalization methods.

Since constraint system is associated with potential bindings there is no need to pass it an argument
to inference methods anymore.

@swift-ci please test source compatibility

@swift-ci please test source compatibility

@swift-ci please test source compatibility

@swift-ci please test source compatibility

@swift-ci please test source compatibility

@swift-ci please test source compatibility

@swift-ci please test

@swift-ci please test

@swift-ci please test source compatibility

@swift-ci please test source compatibility

I'm going to run macOS smoke test once again

I'm going to run macOS smoke test once again

@swift-ci please smoke test macOS platform

@swift-ci please smoke test macOS platform


Review contracts for best practice and consistency

Smart contracts should be reviewed for consistency with (1) understood best practice and (2) intra- and inter-contract consistency. This review applies to coding and logic patterns as well as to formatting and naming.
Where items are found to be inconsistent with best or consistent practice and there is not an overriding protocol reason for the inconsistency, issues should be added to revise those items (unless they can be more easily be made concurrently with the review).
Where inconsistent items are found (whether actually or seemingly inconsistent) but are retained in favor of the protocol, issues should be added to clearly document the reasoning for such inconsistency (unless they can be more easily be made concurrently with the review).
A decision should be made as to how to best communicate any changes that impact the API.

Some best practices sources to consider:
https://consensys.github.io/smart-contract-best-practices/
http://www.blunderingcode.com/writing-secure-solidity/
https://medium.com/@gavofyork/condition-orientated-programming-969f6ba0161a

See this for some security tools: https://lightrains.com/blogs/smart-contract-best-practices-solidity


Forwarding a port with an invalid remote address - no error or feedback

Use today's ssh nightly extension
Try to forward a port with a remote address which is probably unreachable
Nothing seems to happen, it should either try to set up the forward anyway, or show me an error that it couldn't do it

New error:


Major update of the code

Desired Outcome

Simplification of the code to call functions
Storing the API key in a PsCredential object, rather than in clear text, which was very bad
Directly retrieve credential object from secrets
Centralized configuration as a single command

Implemented Changes
Changed the way Conjur is beeing configured. The API key is now stored in a PsCredential object, which is much more secured.
Simplified all the functions code, which brought more complication in the code calling the API
Added some new functions
Added some new switches
could not check anything related to AWS, as I don't have access to such implementation. All AWS code would need to be tested.
Connected Issue/Story
Resolves my own requirements
Definition of Done
Changelog

[ ] The CHANGELOG has not been updated

Test coverage
No test
Documentation
README was updated
Inline help was updated
Behavior

Mostly working as before, but with some new functions

Security

Storing API key as PsCredential Object

Just a gently nudge that there are still pending requested changes in order to merge this PR. 😄

Hello infamousjoe ... I might be wrong, but I really think I fixed all of your issues.
One of the error you are talking about is this one :
Initialize-Conjur -Account "cyberarkdemo" -AuthnLogin "https://conj
ur.joegarcia.dev" -Credential $PsCredential

The issue does not come from the module but from how you are using the command.
Initialize-Conjur can work in 2 different ways, and you can not mix them (different parameter set)

-Credential : which is a PsCredential object (secured) containing both your login/ApiKey in username/password
-AuthnLogin and AuthnApiKey : which are both required, but comes as an not encrypted data

You can not mix -Credential and -AuthnLogin
This is also shown under the syntax section of the get-help :
PS> get-help Initialize-Conjur

NAME
    Initialize-Conjur

SYNOPSIS
    This command is required prior to running any other one. This will configure the module with the required settings.

SYNTAX
    Initialize-Conjur [-Account <String>] [-Credential <PSCredential>] [-AuthorityName <String>] [-AuthorityName_WR
    <String>] [-IamAuthnBranch <String>] [-AWS_MetaData <String>] [-IgnoreSsl] [<CommonParameters>]

    Initialize-Conjur [-Account <String>] -AuthnLogin <String> -AuthnApiKey <String> [-AuthorityName <String>]
    [-AuthorityName_WR <String>] [-IamAuthnBranch <String>] [-AWS_MetaData <String>] [-IgnoreSsl] [<CommonParameters>]

DESCRIPTION
    Please check all the parameters in the help file.
    Mandatory parameters are :
    Account     : Organization account name
    Credential : Will store the API key that will grant you access to Conjur
    AuthorityName : DNS authority name of your Conjur instance

RELATED LINKS

REMARKS
    To see the examples, type: "Get-Help Initialize-Conjur -Examples"
    For more information, type: "Get-Help Initialize-Conjur -Detailed"
    For technical information, type: "Get-Help Initialize-Conjur -Full"


[Refactor][config-ui] use TS to format data defined.

What and why to refactor

I think no one knows what the type of configuredProject here, including the writer. Actually, setConfiguredProject call with null, id, some different types object. We need a definite type for object data.
Describe the solution you'd like
import TS and use TS to define what different type is first step.

@likyh Lets not jump to conclusions Yanghui, some of these refactor tickets you are proposing lead to so new critical bugs. configurationKey is a dynamic key to reflect the active entity, whether it be a Project or Board. It was created as Jenkins is a non-standard in that is has no project/board entity associated with it, so Jenkins needs to be key'd be by a unique Connection-based ID C#1 for example, Instead.

@likyh Why would we need TS? configuredProject will ideally be an instance of GitHubProject Model or GitlabProject Model. configuredBoard will be an instance of JiraBoard Model. Jenkins could have it's own model in the future created as well to serve as a "Dummy" project entity if needed.

@likyh Lets not jump to conclusions Yanghui, some of these refactor tickets you are proposing lead to creating new critical bugs. configurationKey is a dynamic key to reflect the active entity, whether it be a Project or Board. It was created as Jenkins is a non-standard in that is has no project/board entity associated with it, so Jenkins needs to be key'd be by a unique Connection-based ID C#1 for example, Instead.

some of these refactor tickets? let's talk about them one by one. Perhaps these are some disputes in TS. But I think it's the good first issue for TS.

@likyh You create a "refactor" ticket that starts off like this:

I think no one knows what the type of configuredProject here, including the writer

So you're saying that nobody knows, including me the writer/author, how this code works? When It's well established that configuredProject will either be null or an ideally an instance of an applicable project model (GitlabProject, GitHubProject) etc. You should already be aware that user-controlled actions dictate when a "configured" project or board is set in most cases. There is no "unknown" behavior happening here causing any confusion as to what a configured project's state might be.

We need a definite type for object data.

The Project-type data models already created, serve this purpose, and clearly define the structure of the project/board object as all project-type models will share similar properly traits, with the variant property being used to distinguish between project and board when necessary. I previously discussed that configured board and project props will be consolidated into one variable at some point, namely activeProjectRecord or activeProjectEntity. (You have logged another refactor ticket regarding that)
TypeScript is still on the future roadmap, but TS isn't the issue here. This ticket is more of a question on behavior of how configured projects are established, not so much a valid reason to adopt typescript.


Webpack Error after adding plugin

I'm unable to run webpack after adding the plugin, stack trace is as below:
Node version: v9.3.0
Webpack version: 3.10.0
Package version: 1.1.3
/usr/local/lib/node_modules/webpack/bin/webpack.js:348
			throw err;
			^

TypeError: Cannot read property 'done' of undefined
    at WebpackBarPlugin.apply (/Users/arjun/Projects/dashboard/node_modules/webpackbar/dist/index.js:61:20)
    at Compiler.apply (/usr/local/lib/node_modules/webpack/node_modules/tapable/lib/Tapable.js:375:16)
    at webpack (/usr/local/lib/node_modules/webpack/lib/webpack.js:33:19)
    at processOptions (/usr/local/lib/node_modules/webpack/bin/webpack.js:335:15)
    at yargs.parse (/usr/local/lib/node_modules/webpack/bin/webpack.js:396:2)
    at Object.Yargs.self.parse (/usr/local/lib/node_modules/webpack/node_modules/yargs/yargs.js:533:18)
    at Object.<anonymous> (/usr/local/lib/node_modules/webpack/bin/webpack.js:152:7)
    at Module._compile (module.js:660:30)
    at Object.Module._extensions..js (module.js:671:10)
    at Module.load (module.js:573:32)
    at tryModuleLoad (module.js:513:12)
    at Function.Module._load (module.js:505:3)
    at Function.Module.runMain (module.js:701:10)
    at startup (bootstrap_node.js:194:16)
    at bootstrap_node.js:618:3

Thank you for the report. Should be fixed with release 1.1.4.


Remove unnecessary Node.js back-end

As far as I can tell, the Node back-end is not required and doesn't really add anything. I thought it was needed to get around CORS but the wikipedia API has provided a way around that for at least a couple of years: https://www.mediawiki.org/wiki/API:Cross-site_requests.
The functionality that it provided is now purely client-side and behaviour-wise has not changed. jQuery is used instead of cheerio & superagent. I'm not a fan of jQuery but it seemed very suited to the task.
I want to do further cleanup with the Promise wrapping in wikipedia_parse as jQuery AJAX calls already return an object that implemenets the Promise interface; but I thought that should be done separately before this gets any bigger.

Hey, thanks so much for the contribution,this looks great! I'd rather not introduce jQuery into this project, instead I usually prefer the fetch API (with this polyfill where necessary). Once I get a chance to review this, I can do that myself, or feel free if you want to!

Done! As I said, I'm not a fan of it so I'm happy to remove it. I didn't know about fetch, seemed perfect for the job.

Thanks so much for your work on this!


add a getting started section to readme

I have been recommending this action to a few people recently and when I tried to use it I felt the need to go and find previous examples of how it was used (I couldn't quite figure it out from the README.
This adds an example config to the readme that should allow most people to just copy and paste to get started 👍

Thank you!


merge package from arlac77/npm-package-template

package.json

chore(package<EMAIL_ADDRESS>

Coverage remained the same at 100.0% when pulling ad3f61829359c4e1868942514c1b0ce125cd1657 on template-sync-1 into 17589e754f956c320107fa5d7fa78441d3bc1596 on master.


http_cache marked as optional dependency

http_cache is marked as an optional dependency, but isn't actually optional.

This is because I'm working on a pro (paid) version of http_cache with some advanced features. To use this pro version with plug_http_cache, http_cache needs to be marked as optional so that it can be replaced with http_cache_pro in the future. Unless there is a better solution but I couldn't think of one.

How about making it optional once it actually is an optional dependency? This is pre 1.0, so you can make that change at any time anyways.

I'm nearing completion of this project actually. I changed it to optional dep not long ago.
Does it cause any issue in particular?

Not really. I was just looking at the codebase and saw that there's nothing in there making this actually optional.

Indeed, for now :) Thanks for feedback, and fell free to open new issues if you have other questions or remarks.


TextField auto complement pop over on textfield top?

Is there an existing issue for this?

[X] I have searched the existing issues
[X] I have read the guide to filing a bug

Use case
As this closed issue says: https://github.com/flutter/flutter/issues/136600
Currently trextfield autocomplelete always on top
Proposal
Users need options on top,

Hi @lucasjinreal. Thanks for filing this. I see the original issue was closed because it wasn't very clear.

Currently trextfield autocomplelete always on top

Do you mean a request for an option to select its position?
Can you please provide more information on this? More specifically,

a completed and minimal reproducible code sample as it seems applicable in this case
the expected result
the actual result you are seeing
output of your flutter doctor -v

Thank you!

@dam-ease  The other issue closed because the man close it didn't clear see my issue.
this is actually a problem in flutter now
Textfield doesn't can not have AutoComplete popover on top of textfiled, but in most scneario we need on top, like a chatUI.
Please listen to developer's voice and help us, rather than I post an issue and regardless ask me to stackoverflow, thank u!

Thanks for your response. Kindly provide the information per https://github.com/flutter/flutter/issues/136627#issuecomment-1764234639


Spatial form types and data transformers

Not for this package, but will be good.

Could you please explain?


Pass Publication.info on Java level

@FZambia could you please review

Thank you!

@FZambia can it be released now or there is a certain cadence?

Yep - https://github.com/centrifugal/centrifuge-java/releases/tag/0.4.1


Fix elixir_and_livebook.livemd branch parent

The section branch More on branches #2 was pointing at itself, which would cause an error when running the branch due to the missing parent variable. I've updated the branch_parent_index to point at More on branches #1.

 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.

@chriskdon great catch, thank you!

No problem!


Feature Request: Configurable Column Name Support in User Model

Hello,
We've encountered an issue in our application due to a discrepancy in the database schema of the users table. Specifically, our users table does not include a name column, which is causing SQL errors in certain parts of the application.
Issue Encountered:
The application attempts to select a name column from the users table, but since our schema doesn't include this column, it results in the following SQL error:
SQLSTATE[42S22]: Column not found: 1054 Unknown column 'name' in 'field list' (SQL: select `id`, `name`, `email` from `users` where `users`.`id` in (151, 116, 818162, 6) and `users`.`deleted_at` is null)

This issue arises from the following method:
public function resolveUsers(Collection $ids): Collection {
   // ... existing code ...

   elseif (class_exists(\App\Models\User::class)) {
       return \App\Models\User::whereKey($ids)->get(['id', 'name', 'email']);
   }
   elseif (class_exists(\App\User::class)) {
       return \App\User::whereKey($ids)->get(['id', 'name', 'email']);
   }

   // ... existing code ...
}

Proposed Solution:
We suggest introducing the ability to specify a custom column name to represent the user's name in the configuration. This flexibility would allow the application to accommodate different database schemas more easily, especially in cases where the users table schema deviates from the expected norm (like in our case).
For example, a configuration option in config/pulse.php (or a relevant config file) that allows the developer to specify the actual column to be used as the user's name:
'user_name_column' => 'firstname',

This approach would provide a more dynamic and adaptable solution, allowing for seamless integration with various database designs.
Thank you for considering this feature request. We believe it would enhance the flexibility and robustness of the application.

For this, it's best that you resolve the user: https://laravel.com/docs/10.x/pulse#dashboard-resolving-users


Need ability to run autoprefixer

Hi,
When using your plugin, autoprefixer did not run
For information about old way to add tailwind to gridsome with autoprefixer :  https://github.com/gridsome/gridsome/issues/9#issuecomment-455592474

@Devportobello https://www.brandonpittman.net/tailwind-purge-config

Done.


Value 'sm_89' is not defined for option 'gpu-name'

Hello all,
Summary
I am having issues running the xformers softmax function. Internally, it seems triton fails and the function is falling back to the torch implementation. Is there no support for NVIDIA RTX 4090 right now?
Environment Details
I'm using PyTorch 1.13.1 through Docker and CUDA 12, with an i9 13900k and a 4090.
$ python -m torch.utils.collect_env
Collecting environment information...
PyTorch version: 1.13.1
Is debug build: False
CUDA used to build PyTorch: 11.6
ROCM used to build PyTorch: N/A

OS: Ubuntu 18.04.6 LTS (x86_64)
GCC version: (Ubuntu 7.5.0-3ubuntu1~18.04) 7.5.0
Clang version: Could not collect
CMake version: version 3.25.0
Libc version: glibc-2.27

Python version: 3.10.8 (main, Nov  4 2022, 13:48:29) [GCC 11.2.0] (64-bit runtime)
Python platform: Linux-5.15.0-58-generic-x86_64-with-glibc2.27
Is CUDA available: True
CUDA runtime version: 11.6.124
CUDA_MODULE_LOADING set to: LAZY
GPU models and configuration: GPU 0: NVIDIA GeForce RTX 4090
Nvidia driver version: 525.78.01
cuDNN version: Probably one of the following:
/usr/lib/x86_64-linux-gnu/libcudnn.so.8.4.0
/usr/lib/x86_64-linux-gnu/libcudnn_adv_infer.so.8.4.0
/usr/lib/x86_64-linux-gnu/libcudnn_adv_train.so.8.4.0
/usr/lib/x86_64-linux-gnu/libcudnn_cnn_infer.so.8.4.0
/usr/lib/x86_64-linux-gnu/libcudnn_cnn_train.so.8.4.0
/usr/lib/x86_64-linux-gnu/libcudnn_ops_infer.so.8.4.0
/usr/lib/x86_64-linux-gnu/libcudnn_ops_train.so.8.4.0
HIP runtime version: N/A
MIOpen runtime version: N/A
Is XNNPACK available: True

Versions of relevant libraries:
[pip3] botorch==0.8.0
[pip3] gpytorch==1.9.0
[pip3] numpy==1.22.3
[pip3] pytorch-lightning==1.8.6
[pip3] pytorch-ranger==0.1.1
[pip3] torch==1.13.1
[pip3] torch-optimizer==0.3.0
[pip3] torchelastic==0.2.2
[pip3] torchmetrics==0.11.1
[pip3] torchtext==0.14.1
[pip3] torchvision==0.14.1
[conda] blas                      1.0                         mkl
[conda] botorch                   0.8.0                    pypi_0    pypi
[conda] ffmpeg                    4.3                  hf484d3e_0    pytorch
[conda] gpytorch                  1.9.0                    pypi_0    pypi
[conda] mkl                       2021.4.0           h06a4308_640
[conda] mkl-service               2.4.0           py310h7f8727e_0
[conda] mkl_fft                   1.3.1           py310hd6ae3a3_0
[conda] mkl_random                1.2.2           py310h00e6091_0
[conda] numpy                     1.22.3          py310hfa59a62_0
[conda] numpy-base                1.22.3          py310h9585f30_0
[conda] pytorch                   1.13.1          py3.10_cuda11.6_cudnn8.3.2_0    pytorch
[conda] pytorch-cuda              11.6                 h867d48c_1    pytorch
[conda] pytorch-lightning         1.8.6                    pypi_0    pypi
[conda] pytorch-mutex             1.0                        cuda    pytorch
[conda] pytorch-ranger            0.1.1                    pypi_0    pypi
[conda] torch-optimizer           0.3.0                    pypi_0    pypi
[conda] torchelastic              0.2.2                    pypi_0    pypi
[conda] torchmetrics              0.11.1                   pypi_0    pypi
[conda] torchtext                 0.14.1                    py310    pytorch
[conda] torchvision               0.14.1              py310_cu116    pytorch

Minimum Reproducible Example
>>> from xformers.triton import softmax as triton_softmax
>>> triton_softmax(torch.rand(2, 1000, device="cuda:0"))
2023-01-30 07:14:49 [warning  ] Triton softmax kernel register spillover or invalid image caught.Deactivating this kernel, please file an issue int the xFormers repository [xformers] backend=nccl rank=0 world_size=1
2023-01-30 07:14:49 [warning  ] Internal Triton PTX codegen error: ptxas fatal   : Value 'sm_89' is not defined for option 'gpu-name' [xformers] backend=nccl rank=0 world_size=1
tensor([[0.0007, 0.0013, 0.0010,  ..., 0.0008, 0.0008, 0.0009],
        [0.0010, 0.0007, 0.0009,  ..., 0.0006, 0.0007, 0.0007]],
       device='cuda:0')

original issue: https://github.com/facebookresearch/xformers/issues/659

Having a similar issue training https://github.com/karpathy/nanoGPT on an RTX 4090. Slightly different error message, perhaps due a difference in triton version. I compiled the latest main as of today within the latest nvidia docker container, nvcr.io/nvidia/pytorch:23.01-py3.
python train.py config/train_shakespeare_char.py
...
Initializing a new model from scratch
WARNING: using slow attention. Flash Attention atm needs PyTorch nightly and dropout=0.0
WARNING: using slow attention. Flash Attention atm needs PyTorch nightly and dropout=0.0
WARNING: using slow attention. Flash Attention atm needs PyTorch nightly and dropout=0.0
WARNING: using slow attention. Flash Attention atm needs PyTorch nightly and dropout=0.0
WARNING: using slow attention. Flash Attention atm needs PyTorch nightly and dropout=0.0
WARNING: using slow attention. Flash Attention atm needs PyTorch nightly and dropout=0.0
number of parameters: 10.65M
using fused AdamW: False
compiling the model... (takes a ~minute)
/usr/local/lib/python3.8/dist-packages/torch/nn/utils/stateless.py:44: UserWarning: functional_call was passed multiple values for tied weights. This behavior is deprecated and will be an error in future versions
  warnings.warn("functional_call was passed multiple values for tied weights. "
/usr/local/lib/python3.8/dist-packages/torch/storage.py:315: UserWarning: TypedStorage is deprecated. It will be removed in the future and UntypedStorage will be the only storage class. This should only matter to you if you are using storages directly.
  warnings.warn(message, UserWarning)
/usr/local/lib/python3.8/dist-packages/torch/nn/utils/stateless.py:44: UserWarning: functional_call was passed multiple values for tied weights. This behavior is deprecated and will be an error in future versions
  warnings.warn("functional_call was passed multiple values for tied weights. "
'sm_89' is not a recognized processor for this target (ignoring processor)
'sm_89' is not a recognized processor for this target (ignoring processor)

(Repeated many times.)
The compilation doesn't fail but training with the compiled model does fail (showing nan as a loss after the 1st iteration). With compile=False, the model trains and seems to operate normally.
python -m torch.utils.collect_env
Collecting environment information...
PyTorch version: 1.14.0a0+44dac51
Is debug build: False
CUDA used to build PyTorch: 12.0
ROCM used to build PyTorch: N/A

OS: Ubuntu 20.04.5 LTS (x86_64)
GCC version: (Ubuntu 9.4.0-1ubuntu1~20.04.1) 9.4.0
Clang version: Could not collect
CMake version: version 3.24.1
Libc version: glibc-2.31

Python version: 3.8.10 (default, Nov 14 2022, 12:59:47)  [GCC 9.4.0] (64-bit runtime)
Python platform: Linux-5.15.0-60-generic-x86_64-with-glibc2.29
Is CUDA available: True
CUDA runtime version: 12.0.140
CUDA_MODULE_LOADING set to: LAZY
GPU models and configuration: GPU 0: NVIDIA GeForce RTX 4090
Nvidia driver version: 525.78.01
cuDNN version: Probably one of the following:
/usr/lib/x86_64-linux-gnu/libcudnn.so.8.7.0
/usr/lib/x86_64-linux-gnu/libcudnn_adv_infer.so.8.7.0
/usr/lib/x86_64-linux-gnu/libcudnn_adv_train.so.8.7.0
/usr/lib/x86_64-linux-gnu/libcudnn_cnn_infer.so.8.7.0
/usr/lib/x86_64-linux-gnu/libcudnn_cnn_train.so.8.7.0
/usr/lib/x86_64-linux-gnu/libcudnn_ops_infer.so.8.7.0
/usr/lib/x86_64-linux-gnu/libcudnn_ops_train.so.8.7.0
HIP runtime version: N/A
MIOpen runtime version: N/A
Is XNNPACK available: True

Versions of relevant libraries:
[pip3] numpy==1.22.2
[pip3] pytorch-quantization==2.1.2
[pip3] torch==1.14.0a0+44dac51
[pip3] torch-tensorrt==1.4.0.dev0
[pip3] torchtext==0.13.0a0+fae8e8c
[pip3] torchvision==0.15.0a0
[conda] Could not collect

(To the original poster: this is probably not relevant but just to point out you say you're using CUDA 12 but your logs say CUDA runtime version: 11.6.124.)

'sm_89' is not a recognized processor for this target (ignoring processor)

IIRC that compiler message is because LLVM 14 (which Triton uses at the moment) doesn't support Ada or Hopper architectures. LLVM 15 does, so it should go away once https://github.com/openai/triton/pull/1070 is merged.

Is this still an issue? I see https://github.com/openai/triton/pull/1070 was merged.


Added shutdown_timeout as part of execd

Description
Required for all PRs:

[x] Signed CLA.
[x] Associated README.md updated.
[x] Has appropriate unit tests.

Please use "Squash" when merging the PR


HTTP ERROR 500 / Weathermap Editor

When clicking "Edit" receive HTTP 500
VALIDATE

Component
Version

LibreNMS
d67d62eacb880163768588fb0c1b879cbcfa77d5

DB Schema
187

PHP
7.0.18

MySQL
5.5.52-MariaDB

RRDTool
1.4.8

SNMP
NET-SNMP 5.7.2

==========================================================

Error Log
2017/04/27 23:03:33 [error] 12180#0: *1377 FastCGI sent in stderr: "PHP message: PHP Fatal error:  Uncaught Error: Call to undefined function dbDelete() in /opt/librenms/html/includes/authenticate.inc.php:24 Stack trace: #0 /opt/librenms/html/plugins/Weathermap/editor.php(54): require_once() #1 {main}   thrown in /opt/librenms/html/includes/authenticate.inc.php on line 24" while reading response header from upstream, client:

Is your weathermap plugin up to date? Seems to work ok for me.

git update did the trick...


PropType warnings with React 15.5

4.1.1 Router component shows the following warnings with React 15.5.4:
Warning: Failed prop type: Calling PropTypes validators directly is not supported by the 'prop-types' package. Use PropTypes.checkPropTypes() to call them.

Warning: Failed context type: Calling PropTypes validators directly is not supported by the 'prop-types' package. Use PropTypes.checkPropTypes() to call them.

These warnings do not seem to occur when using react-router in a modern React app.
(Which uses npm/yarn for dependencies and Webpack 2 with Babel 6 for compiling/bundling everything).
The warnings only occur when using the pre-built umd build I got after npm installing react-router 4.1.1.
(Which I have to do in an older legacy project which uses a custom build system based on RequireJS, that requires me to manually copy dependencies over to a specific folder, instead of using npm.)
After manually cloning react-router and running the build script manually the errors seem to be resolved.
What I did exactly:
$ git clone git@github.com:ReactTraining/react-router.git
($ cd react-router)
($ npm i -g yarn)
($ cd packages/react-router-dom)
npm run build
For reference, I've included a zip file with the react-router-dom(.min).js files from the umd folder you get after npm installing react-router (4.1.1), and the files I built manually as described above.
After running a diff between the non-minified files in each folder the only things that seem to be changing is something internal for React. So I'm still not sure what actually causes this issue. But atleast it's not present in the newly built files included in the zip file.
The only thing I can imagine is that the version of React that was used to generate the umd files included in the npm install was somehow different than when I built it manually.
I'm currently using the latest version of React (15.5.4 at the time of posting this).

I need to rebuild the UMD release. The version of prop-types was broken for UMD builds when I pushed out 4.1.1. It's literally just a rebuild and push, no changes needed.

Whoops, want to leave this open as a reminder to myself :)

Yay, when this is rebuilt it will clear up the last React 15.5.4 migration warnings for us!

See also #5045

I followed @ThomasBrekelmans' instructions and published the results at PeteX/react-router-built.  This means you can load the files as:
https://cdn.rawgit.com/PeteX/react-router-built/211d1a40/react-router-dom.js
https://cdn.rawgit.com/PeteX/react-router-built/211d1a40/react-router-dom.min.js
I'll probably delete the repository soon after the next release of react-router, but the files should stick around thanks to rawgit's caching.
My files are not quite the same as @ThomasBrekelmans' and that's probably because I specifically checked out 4.1.1 rather than just building the head.
I hope this helps someone!

@PeteX thanks, it helped me!

Since there doesn't seem to be a new release on the horizon, could you please publish a rebuilt version as 4.1.2?

I know, I know. I'll try to do it today at some point.

I seem to get a similar issue when using fusebox to build instead of webpack....

Please @timdorr 🙏
git checkout tags/v4.1.1
npm version 4.1.2
lerna build
npm publish

Finally found some time for this. Re-published react-router and react-router-dom as 4.1.2. No changes other than updated bundled deps.

I've just tried the new release, and it works perfectly, thanks.
The build I uploaded to Github is no longer needed so I'll delete that.  As I said, I expect the files to stick around thanks to RawGit's caching, but you should probably move your site to release 4.1.2 to be on the safe side.


LSTM: missing config file lstm.train

[Sat Dec 3 15:06:31 DST 2016] /usr/local/bin/tesseract /tmp/tmp.6Fy6JZCueq/eng/eng.Verdana_Italic.exp0.tif /tmp/tmp.6Fy6JZCueq/eng/eng.Verdana_Italic.exp0 lstm.train
read_params_file: Can't open lstm.train
https://github.com/tesseract-ocr/tesseract/tree/master/tessdata/configs
does not have the file lstm.train in it

Fixed in 65517794f9bb

Fixed in https://github.com/tesseract-ocr/tesseract/commit/65517794f9bbc41a202d1fe410ff269f00257e57


Add opt in for weaker tests, for non-jemalloc allocators.

Fix #74
Distributions packages can use cargo test --features flexible-tests

This change is

r=me, but I just want an answer to https://github.com/servo/heapsize/issues/74#issuecomment-290406027 first.

Rewritten to use a Cargo feature

@bors-servo r=nox

:pushpin: Commit 11dd485 has been approved by nox

:hourglass: Testing commit 11dd485faf70605d5e8ad6a983138b5542701063 with merge 5f2f5b7ea9470fcc4ef82cb97edd9aab1ad0ffa7...

:sunny: Test successful - status-travis
Approved by: nox
Pushing 5f2f5b7ea9470fcc4ef82cb97edd9aab1ad0ffa7 to master...


Developer Workflow

Refer to: https://github.com/FOSSBilling/FOSSBilling/issues/1583
This improves workflow documentation from the perspective of a developer new to FOSSBilling. Two options are documented:

Remote Installation (for cpanel, plesk, apache, nginx, etc)
Local installation with Docker (using locally built images versus the fossbilling docker repo)

I feel these updates accomplish the goal of clarifying new developer workflow, but I am open to making more improvements where needed.
The documentation does refer to a specific install folder handling with enabling debug mode. That behavior does not exist yet, and is something I submit a pull request for. Refer to: https://github.com/FOSSBilling/FOSSBilling/pull/1692

Agreed on those points. I'll loop back to this after the installer and get those additions in.


[iOS] Spaces in filepath

Application Support directory on iOS contains spaces(getApplicationSupportDirectory() from path_provider), which breaks the reading and exporting of the video. This PR fixes such issues and also updates iOS files along the way (this was done automatically by building the Flutter example on iOS)

thanks ! i will include it in the next release


[BUG] Does Tensorflow save models that have Quantum Layers?

Issue description
with import os a fully trained keras layers model will save in .pb tensorflow format with the command
model.save('KerasModel')
putting into the folder KerasModel a saved_model.pb file and also the folders variables and assets. with related binary files.
Example Github code here based on qml/demonstration/tutorial_qnn_module_tf here
If we insert a quantum layer in the keras model the files are not saved. Possibly it is an issue with extra options as the error messages suggest, but I think the qml code is causing a fault in the file structure.
Any suggestions, by the way a .h5 file can be saved but I think it is corrupted since I can't convert it into anything else.
Error messages

python3 tf-tutorial_qnn_module_tf.py
2020-11-30 22:40:35.291489: W tensorflow/stream_executor/platform/default/dso_loader.cc:59] Could not load dynamic library 'libcudart.so.10.1'; dlerror: libcudart.so.10.1: cannot open shared object file: No such file or directory
2020-11-30 22:40:35.291535: I tensorflow/stream_executor/cuda/cudart_stub.cc:29] Ignore above cudart dlerror if you do not have a GPU set up on your machine.
2020-11-30 22:40:37.258662: W tensorflow/stream_executor/platform/default/dso_loader.cc:59] Could not load dynamic library 'libcuda.so.1'; dlerror: libcuda.so.1: cannot open shared object file: No such file or directory
2020-11-30 22:40:37.258710: W tensorflow/stream_executor/cuda/cuda_driver.cc:312] failed call to cuInit: UNKNOWN ERROR (303)
2020-11-30 22:40:37.258740: I tensorflow/stream_executor/cuda/cuda_diagnostics.cc:156] kernel driver does not appear to be running on this host (ws-835a16b2-46f7-402c-9290-1a69f9673f9d): /proc/driver/nvidia/version does not exist
2020-11-30 22:40:37.259109: I tensorflow/core/platform/cpu_feature_guard.cc:142] This TensorFlow binary is optimized with oneAPI Deep Neural Network Library (oneDNN)to use the following CPU instructions in performance-critical operations:  AVX2 FMA
To enable them in other operations, rebuild TensorFlow with the appropriate compiler flags.
2020-11-30 22:40:37.274032: I tensorflow/core/platform/profile_utils/cpu_utils.cc:104] CPU Frequency:<PHONE_NUMBER> Hz
2020-11-30 22:40:37.276475: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x55db3f649bd0 initialized for platform Host (this does not guarantee that XLA will be used). Devices:
2020-11-30 22:40:37.276516: I tensorflow/compiler/xla/service/service.cc:176]   StreamExecutor device (0): Host, Default Version
Epoch 1/2
30/30 - 19s - loss: 0.3244 - accuracy: 0.7667 - val_loss: 0.2635 - val_accuracy: 0.7800
Epoch 2/2
30/30 - 19s - loss: 0.2067 - accuracy: 0.8467 - val_loss: 0.2365 - val_accuracy: 0.7800
Traceback (most recent call last):
  File "tf-tutorial_qnn_module_tf.py", line 166, in <module>
    model.save('QuantumAndKerasModel')
  File "/workspace/.pip-modules/lib/python3.7/site-packages/tensorflow/python/keras/engine/training.py", line 1979, in save
    signatures, options)
  File "/workspace/.pip-modules/lib/python3.7/site-packages/tensorflow/python/keras/saving/save.py", line 134, in save_model
    signatures, options)
  File "/workspace/.pip-modules/lib/python3.7/site-packages/tensorflow/python/keras/saving/saved_model/save.py", line 80, in save
    save_lib.save(model, filepath, signatures, options)
  File "/workspace/.pip-modules/lib/python3.7/site-packages/tensorflow/python/saved_model/save.py", line 976, in save
    obj, export_dir, signatures, options, meta_graph_def)
  File "/workspace/.pip-modules/lib/python3.7/site-packages/tensorflow/python/saved_model/save.py", line 1047, in _build_meta_graph
    checkpoint_graph_view)
  File "/workspace/.pip-modules/lib/python3.7/site-packages/tensorflow/python/saved_model/signature_serialization.py", line 75, in find_function_to_export
    functions = saveable_view.list_functions(saveable_view.root)
  File "/workspace/.pip-modules/lib/python3.7/site-packages/tensorflow/python/saved_model/save.py", line 145, in list_functions
    self._serialization_cache)
  File "/workspace/.pip-modules/lib/python3.7/site-packages/tensorflow/python/keras/engine/training.py", line 2590, in _list_functions_for_serialization
    Model, self)._list_functions_for_serialization(serialization_cache)
  File "/workspace/.pip-modules/lib/python3.7/site-packages/tensorflow/python/keras/engine/base_layer.py", line 3019, in _list_functions_for_serialization
    .list_functions_for_serialization(serialization_cache))
  File "/workspace/.pip-modules/lib/python3.7/site-packages/tensorflow/python/keras/saving/saved_model/base_serialization.py", line 87, in list_functions_for_serialization
    fns = self.functions_to_serialize(serialization_cache)
  File "/workspace/.pip-modules/lib/python3.7/site-packages/tensorflow/python/keras/saving/saved_model/layer_serialization.py", line 79, in functions_to_serialize
    serialization_cache).functions_to_serialize)
  File "/workspace/.pip-modules/lib/python3.7/site-packages/tensorflow/python/keras/saving/saved_model/layer_serialization.py", line 95, in _get_serialized_attributes
    serialization_cache)
  File "/workspace/.pip-modules/lib/python3.7/site-packages/tensorflow/python/keras/saving/saved_model/model_serialization.py", line 51, in _get_serialized_attributes_internal
    default_signature = save_impl.default_save_signature(self.obj)
  File "/workspace/.pip-modules/lib/python3.7/site-packages/tensorflow/python/keras/saving/saved_model/save_impl.py", line 205, in default_save_signature
    fn.get_concrete_function()
  File "/workspace/.pip-modules/lib/python3.7/site-packages/tensorflow/python/eager/def_function.py", line 1167, in get_concrete_function
    concrete = self._get_concrete_function_garbage_collected(*args, **kwargs)
  File "/workspace/.pip-modules/lib/python3.7/site-packages/tensorflow/python/eager/def_function.py", line 1073, in _get_concrete_function_garbage_collected
    self._initialize(args, kwargs, add_initializers_to=initializers)
  File "/workspace/.pip-modules/lib/python3.7/site-packages/tensorflow/python/eager/def_function.py", line 697, in _initialize
    *args, **kwds))
  File "/workspace/.pip-modules/lib/python3.7/site-packages/tensorflow/python/eager/function.py", line 2855, in _get_concrete_function_internal_garbage_collected
    graph_function, _, _ = self._maybe_define_function(args, kwargs)
  File "/workspace/.pip-modules/lib/python3.7/site-packages/tensorflow/python/eager/function.py", line 3213, in _maybe_define_function
    graph_function = self._create_graph_function(args, kwargs)
  File "/workspace/.pip-modules/lib/python3.7/site-packages/tensorflow/python/eager/function.py", line 3075, in _create_graph_function
    capture_by_value=self._capture_by_value),
  File "/workspace/.pip-modules/lib/python3.7/site-packages/tensorflow/python/framework/func_graph.py", line 986, in func_graph_from_py_func
    func_outputs = python_func(*func_args, **func_kwargs)
  File "/workspace/.pip-modules/lib/python3.7/site-packages/tensorflow/python/eager/def_function.py", line 600, in wrapped_fn
    return weak_wrapped_fn().__wrapped__(*args, **kwds)
  File "/workspace/.pip-modules/lib/python3.7/site-packages/tensorflow/python/keras/saving/saving_utils.py", line 134, in _wrapped_model
    outputs = model(inputs, training=False)
  File "/workspace/.pip-modules/lib/python3.7/site-packages/tensorflow/python/keras/engine/base_layer.py", line 985, in __call__
    outputs = call_fn(inputs, *args, **kwargs)
  File "/workspace/.pip-modules/lib/python3.7/site-packages/tensorflow/python/keras/engine/sequential.py", line 372, in call
    return super(Sequential, self).call(inputs, training=training, mask=mask)
  File "/workspace/.pip-modules/lib/python3.7/site-packages/tensorflow/python/keras/engine/functional.py", line 386, in call
    inputs, training=training, mask=mask)
  File "/workspace/.pip-modules/lib/python3.7/site-packages/tensorflow/python/keras/engine/functional.py", line 508, in _run_internal_graph
    outputs = node.layer(*args, **kwargs)
  File "/workspace/.pip-modules/lib/python3.7/site-packages/tensorflow/python/keras/engine/base_layer.py", line 985, in __call__
    outputs = call_fn(inputs, *args, **kwargs)
  File "/workspace/.pip-modules/lib/python3.7/site-packages/tensorflow/python/autograph/impl/api.py", line 302, in wrapper
    return func(*args, **kwargs)
  File "/workspace/.pip-modules/lib/python3.7/site-packages/pennylane/qnn/keras.py", line 311, in call
    for x in inputs:  # iterate over batch
  File "/workspace/.pip-modules/lib/python3.7/site-packages/tensorflow/python/framework/ops.py", line 503, in __iter__
    self._disallow_iteration()
  File "/workspace/.pip-modules/lib/python3.7/site-packages/tensorflow/python/framework/ops.py", line 494, in _disallow_iteration
    self._disallow_when_autograph_disabled("iterating over `tf.Tensor`")
  File "/workspace/.pip-modules/lib/python3.7/site-packages/tensorflow/python/framework/ops.py", line 469, in _disallow_when_autograph_disabled
    " Try decorating it directly with @tf.function.".format(task))
tensorflow.python.framework.errors_impl.OperatorNotAllowedInGraphError: iterating over `tf.Tensor` is not allowed: AutoGraph is disabled in this function. Try decorating it directly with @tf.function.

Note: This stackoverflow has some information
https://stackoverflow.com/questions/60682091/cannot-save-tensorrflow-keras-quantum-model-using-save-pickle
Present workaround is to use save weights
model = tf.keras.Model(...)
model.save_weights("some_path")
...
model.load_weights("some_path")

And this link https://stackoverflow.com/questions/58678836/notimplementederror-layers-with-arguments-in-init-must-override-get-conf says that it is a feature that identifies a custom class, which makes sense.
It says you should override the get_config class to match your encoder class.
    def get_config(self):

        config = super().get_config().copy()
        config.update({
            'vocab_size': self.vocab_size,
            'num_layers': self.num_layers,
            'units': self.units,
            'd_model': self.d_model,
            'num_heads': self.num_heads,
            'dropout': self.dropout,
        })
        return config

I put a related link on the forum  https://discuss.pennylane.ai/t/who-made-the-qml-tensorflow-demos/706

Hi @hpssjellis! This is a known limitation of the qml.qnn.KerasLayer class—we currently do not support saving TensorFlow/Keras models.
However, this is something we are working on to support. If I recall, the issue comes from the processing that TensorFlow performs when generating the saved model; it is unable to properly serialize the quantum part of the model.
If you don't mind, I might close this issue and we can continue discussion on the forum post. The issue tracker here is best used for discussing bugs and errors in the websites/current demos, while the forum is best for discussing/asking questions regarding modifying the demos (since that can often become a research question itself!).


issue with multi-instrument

I'd like to work with multiple instruments however even with the example that is given in the document I run into issues. Can you help me with the issue?
This is the code:
from qtpylib.algo import Algo

class BuyStockSellOil(Algo):

    def on_bar(self, instrument):

        # get instrument object
        ES = self.get_instrument('ESU2016_FUT')
        CL = self.get_instrument('CLU2016_FUT')

        # rotate holding between ES and CL
        # yes - this strategy makes no sense :)

        es_pos = ES.get_positions()
        cl_pos = CL.get_positions()

        if es_pos["position"] == 0 and cl_pos["position"] > 0:
            ES.buy(1)
            CL.exit(1)
        elif es_pos["position"] > 0 and cl_pos["position"] == 0:
            ES.exit(1)
            CL.buy(1)

if __name__ == "__main__":
    strategy = BuyStockSellOil(
        instruments = [
            ("ES", "FUT", "GLOBEX", "USD", 201609),
            ("CL", "FUT", "NYMEX", "USD", 201609)
        ],
        resolution  = "15T"
    )

    strategy.run()

This is the error I get:
python multi_inst.py
Traceback (most recent call last):
File "multi_inst.py", line 42, in
strategy.run()
File "/Users/reza/anaconda/lib/python3.5/site-packages/qtpylib/algo.py", line 284, in run
self.blotter.register(self.instruments)
File "/Users/reza/anaconda/lib/python3.5/site-packages/qtpylib/blotter.py", line 1016, in register
instruments['expiry'] = instruments['expiry'].astype(str).str.split(".")[0]
File "/Users/reza/anaconda/lib/python3.5/site-packages/pandas/core/frame.py", line 2357, in setitem
self._set_item(key, value)
File "/Users/reza/anaconda/lib/python3.5/site-packages/pandas/core/frame.py", line 2423, in _set_item
value = self._sanitize_column(key, value)
File "/Users/reza/anaconda/lib/python3.5/site-packages/pandas/core/frame.py", line 2578, in _sanitize_column
value = _sanitize_index(value, self.index, copy=False)
File "/Users/reza/anaconda/lib/python3.5/site-packages/pandas/core/series.py", line 2770, in _sanitize_index
raise ValueError('Length of values does not match length of ' 'index')
ValueError: Length of values does not match length of index

Thanks for catching that... I fixed this issue with version 1.5.41. To upgrade, run:
$ pip install qtpylib --upgrade --no-cache-dir

LMK if that fixed the issue.

It fixed the issue with the example. Now I'm testing the blobber with 500+ simultaneous instruments. Thanks Ran.


purge and vary header

does purge with this plugin have the same semantics as with varnish? does it invalidate all variants of a document, or only the one matching the purge request? say i have a URL /path and one client requested it with an Accept-Encoding: json, and the other with Accept-Encoding: xml. my web application returns json first and then xml, sending the Vary: Accept-Encoding header.
in varnish, purge will remove all cache entries for this url, even though there is more than one. what will nginx with this plugin do? would i need to purge with different Accept-Encoding set?

Hello,
Nginx will save response to different cache files when Vary: Accept-Encoding is set. That is, one will be uncompressed, other compressed. This module will delete only one version of the file, making it partially usable. This was added in nginx changeset 60fde1bc7236:
http://mailman.nginx.org/pipermail/nginx-devel/2014-October.txt
Changes with nginx 1.7.7                                         28 Oct 2014
*) Change: now nginx takes into account the "Vary" header line in a
   backend response while caching.


Optimize issue#184

What this PR does:
optimize function's parameters into one struct
Which issue(s) this PR fixes:
Fixes https://github.com/seata/seata-go/issues/184
Special notes for your reviewer:
Does this PR introduce a user-facing change?:
None

你的pr和 #198存在冲突，建议你们联系一下


GSoC VOC Project: Implementation of int, float and Complex for Python and JVM interlink

Google Summer of Code 2017 Proposal
The IDEs of Python. Tools for cross-platform Python application development.
“Python on the JVM: VOC Project”
= Personal Details =
Name: Anurag Viplaw
University: University of Petroleum and Energy Studies
Email<EMAIL_ADDRESS>Github: aviplaw
Linkedin: linkedin.com/in/anurag-viplaw-88185a113/
Skype: +91<PHONE_NUMBER>, +919006291010
Time-zone: UTC+5:30
Success Conditions
100% implementation of all the unimplemented methods in int, float and str. Implementation of additional Math and CMath methods
Design Specification
Following is the implementation of the project:
All the methods of types Int, Float and Complex are easy to implement
Simple Methods:
•	Int()
•	format()
•	dir()
•	mul_()
•	pow() with modulo
•	round() with ndigits
Complex methods
•	maketrans()
•	translate()
•	isprintable()
•	isnumeric()
•	format()
•	format_map()
•	encode()
•	casefold()
•	rmod()
= EXPERIENCE =
1) What programming languages are you fluent in?
Which tools do you normally use for development?
I am fluent in Python, Java, Android, C++, C. Otherwise I can also program in PHP, Javascript, CSS.
I use both Linux(Ubuntu 16.04) and Windows on my laptop. For development I prefer Linux unless the language is Microsoft specific(eg. C#). I am quite familiar with the terminal and hardly use my mouse. I prefer to use the combination of an editor and the terminal rather than an IDE for development. I use Codeblocks and Atom for editing purposes
2) What is my experience with Open Source?
I am pursuing B-Tech Computer Science with specialization in Open Source and Open Standards at University of Petroleum and Energy Studies, Dehradun, India. Open Source is my domain and I have special skills and knowledge regarding the same. I find Open Source and Open Standards very liberal and secure art the same time. It allows us to adjust our needs and availability accordingly as per the demand of the project.
3)What is my experience with Python and Java Programming?
I have been doing progamming in Python since the first year and Java since the second year.
I am fully versed with Python and Java programming and able to do projects. Currently I am doing a project in my college for Minor 2 that encorporates both the technologies.
I have also certified for Python Programming by IIT Bombay by Remote and for Java by Oracle.
Timeline:
May 05 to May 30
Discuss the project with my mentor in further detail and get familiar with the Beeware. Explore their repository and the pseudo-codes that requires implementation and study them in depth.
Begin with the documentation alongside
May 30 to June 12
Research and analyse encode(), format() and format_map() functions, Unicode.
Implementation of string functions: isidentifier(), maketrans()
Implementation of float functions: pow(), round()
Documentation
June 13 to June 20
Implementation of  hashmap to emulate a dictionary in Java.
Implementation of string functions: replace(), isnumeric(), isprintable()
Continue research of encode() and Unicode
Continue documentation
June 21 to June 29
Implement format() and format_map()
Implementation of string functions: casefold() and splitlines(), rmul()
Implementation of complex functions: bool(), dir(), float()
Documentation refinement.
June 30 - July 7
Finish research on encode() format_map() and format().
Test all the functions implemented
Finalize documentation for Phase 1 evaluation
July 7 - July 16
Implementation of String function: rpartition()
Implement and test encode()
Test implementation of isprintable() and isnumeric()
Begin Phase-2 Documentation
July 17 - July 29
Implement r methods for Int
Implement r methods for Float
Implement r methods for complex
Finalize Documentation for Phase 2
July 30 - August 7
Finish implementation of remaining functions()
Implement and test float functions: dir() and format(), pow()
Implementation of string functions: dir()
Finish implementation of r methods for int, float and complex
August 8 - 16
Test all the implementation
Refine and recheck implementations for errors.
Finalize the final document
Mentor review of final project
August 17 - 29
Polishing of the final product with the consultancy of the mentor.
Rechecking by mentor for assured success of project.
Final submission.
Why I should be selected for GSOC?
I’m an enthusiastic developer. I have rich experience working on team projects. Also I’ve known the importance of the various phases of software engineering. I am an Open Source student and so, the project lies entirely in my domain. The in depth knowledge of Open Source and its tools will help me in processing the modules of the project. I have good knowledge of Java and Python and have obtained Certification in both programming languages by reputed Institutions.  While developing anything I do stress upon the design phase and testing phase. I can easily go through a particular documentation and use it’s API as per my need.
I document code while writing it. It really helps the future development process. I am known to meet hard deadlines. I don’t give up easily and promise to adhere strictly to the deadlines mentioned in the above table. I know my capabilities perfectly and have formulated the timeline accordingly. I know when to ask for help and when not to.
The main reason behind my application is my zeal to imbibe from the project and help in the development of a project that benefits all.  This project will also be a very good learning curve for me. It will be my first contribution to such a big organization. I would communicate with my mentor every week and will discuss with him my progress, objectives or any issue that I am facing. Apart from this, this project shall help me nurture my programming skills and add a dimension to my horizon. Something that urged me to pick this project is my vision on decreasing complexity and increasing efficiency.

Unfortunately, this proposal wasn't accepted.


[WIP] Update calibration data

Calibrated before WYGB, should re-calibrate after UW move.

I added a start script for herbx. This branch has been used for demos.

Merged to #40. Closing this.


[Linear] In the issue creation action, the team dropdown should include the ID in addition to the name

Extension
https://www.raycast.com/linear/linear
Description

In the issue creation action, the team dropdown should include the ID in addition to the name
Currently it only has the team name (eg for Product Management with the ID PM, it will only show Product Management)
It should show both for each team

This will make it easier to select teams.

Who will benefit from this feature?
Anyone creating issues who changes teams of issues
Anything else?
Linear's own UI matches teams and IDs in this same way

Done: https://github.com/raycast/extensions/commit/05810db44f49908fb807b22ee6505d66720e62c9


Add defaults to ticket custom fields

Summary by CodeRabbit

New Features

Enhanced validation for ticket custom fields, including Annotations and DefaultValue.
New functions for retrieving default values for custom fields, improving data handling.
Schema updates to include new fields for default values and annotations in ticket custom fields.

Bug Fixes

Improved handling of empty or nil values in custom field retrieval and validation, ensuring more robust functionality.

Thank you. These default values are defined in the connectors yes?

@btipling yes like https://github.com/ConductorOne/baton-servicenow/pull/17


Support Replay RDT fork

Pairs with https://github.com/replayio/devtools/pull/9807
Testing
I'm running Node v18 and the build:chrome step failed for me with an ERR_OSSL_EVP_UNSUPPORTED error. The work around was to use the --openssl-legacy-provider flag.
 NODE_OPTIONS=--openssl-legacy-provider yarn build:chrome

Then I had to copy the contents of
<react-root>/packages/react-devtools-extension/chrome/build/unpacked/build/react_devtools_backend_compact.js
into the function in
<replay-root>/src/ui/components/SecondaryToolbox/react-devtools/react_devtools_backend.raw.js

I'm going to just merge this.

Yep, sorry, that's good!


[Documentation]: Instance API in documentation

Instance API should be included in documentation on project's website (http://sparkjava.com/)
Currently, the only way to read about this - searching in "News" category.

Mm.. this is on purpose. Initially Per was not a big fan of the instance API, and wanted to only promote one way of doing things. Have you changed your mind @perwendel ?

Closing this.


Display the Approve Partner button on the top with a tooltip

Summary
To avoid the confusion detailed below, let's make some modifications on the Approve Partner button to provide more context and details on troubleshooting. Here are a few things that I think would improve the experience:

Always show the "Approve Partner" button.
Disable the "Approve Partner" button in case they are unable to click the button.
Add a tooltip next to the disabled "Approve Partner" button that says that the Partner needs to go in "My Organization" and click "Request Approval". Including a b
Move the button to the top of the page instead.

Things to Consider
The button in question is accessible by clicking the "Review Application" button:

And on this page on the bottom:

Criteria for Completion

[ ] The user will see the "Approve Partner" bottom at the top of the partner approval page
[ ] The "Approve Partner" button is visible but disabled when @partner.awaiting_review? is false
[ ] A tooltip appears next to the disabled "Approve Partner" button that says "Partner has not requested approval yet. Partners are able to request approval going into 'My Organization' and clicking 'Request Approval' button"

Bonus Round
I think a really good UI for this is using a fixed element on the bottom with the approval button on the bottom right. Like how this jsfiddle does it - https://jsfiddle.net/girishgowdayt/RUDWS/
I figure this would be a nice approach since the the button will always be visible regardless of scrolling we still encourage the diaperbase user to review the application.

Hello, may I work on this issue?

Sure @rhian-cs -- let me know if you have any questions regarding this one. I'd love to see if the Bonus Round is achievable :)


Vickel: Watch winkmodsapk.com

Vickel requests the watch of the watch_keyword winkmodsapk\.com. See the MS search here and the Stack Exchange search in text, in URLs, and in code.

winkmodsapk\.com has been seen in 1 true positive, 0 false positives, and 0 NAAs.

Approved by Ryan M in Charcoal HQ


ADD: Venue POST and GET Endpoints + Database Table

GIVEN: I am an admin.
WHEN: I want to find or create the venues available for games.
THEN: Then I can do a POST to create a new venue or a GET to find all available venues.
Acceptance Criteria

I'll take this


Add keyboard option to android emulator

Motivation for this change
More options for Android emulator.
Things done

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

[x] NixOS
[ ] macOS
[ ] other Linux distributions

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

/cc @SuperSandro2000

@timothyklim, I haven't used the Android emulator for quite some time. Can you provide a short demo script that starts an emulator instance, using the new features? I'd be happy to test it then.

Sorry, can't review this as I'm not using the Android SDK nor its emulator.


Add prismaFieldWithInput

It would be nice to have the prismaFieldWithInput  method when is With-Input plugin installed.
Something like this:
builder.mutationField('updateUser', (t) =>
  t.prismaFieldWithInput({
    type: 'User',
    input: {
      displayName: t.input.string({ required: false })
    },
    resolve: () => { ... }
  })
);

Definitely on my list of things to do, should have some time for this pretty soon, sorry its taken me a while to get around to it.

just released a new version that has support for this

just released a new version that has support for this

Legend!


Setup

Hey Team
For this PT, we:

Set up a Rails app with a PostgreSQL db
Added Devise and CanCanCan for authentication and authorization
Added capybara, and Rspec for testing
Set up a user controller and model
Set the public recipes as the root directory
Updated the sign-up form
Installed and added linters

Feel free to look it over and let me know if we missed anything, cheers

APPROVED ✔

The project is OK for now, please move on to the next stage

Comments

No Linter error
The App ran as expected
Folder structure is clean and well structured

Required Change ♻
Optional suggestions

[ ] I believe we need to add a proper README.md

Every comment with the [OPTIONAL] prefix won't stop the approval of the PR. However, I strongly recommend you to take them into account as they can make your code better and addressing them will really improve your application
((I strongly recommend you to take them into account as they can make your code better. Some of them were simply missed by the previous reviewer and addressing them will really improve your application))
Cheers and happy coding! 👍 👍 👍
Feel free to leave any question or comment in the PR thread if something is not 100% clear. Please, remember to tag me in your question so I can receive the notification.
Please, do not open a new Pull Request for re-review. You should use the same Pull Request submitted for the first review, either valid or invalid unless it is requested otherwise

As described in the Code review limit policy you have a limited number of reviews per project (Check the exact number in your dashboard). If  you think that this code review was not fair, you can request a second opinion using this form.


How to update Azure CLI if expired / bad key

If an Ubuntu / Debian machine won't update due to the following error (e.g. expired key):
The following signatures couldn't be verified because the public key is not available: NO_PUBKEY
Then this fixes it:
curl -L https://packages.microsoft.com/keys/microsoft.asc | sudo apt-key add -
It would be useful to add this to https://docs.microsoft.com/en-us/cli/azure/install-azure-cli-apt under the Update section

Though re-reading the original page it might be best just to point to step 3 of installation earlier as gpg is being referenced (not entirely sure why)

@imcdnzl There used to be a reference to requiring a key update on this page due to a GPG signing change, but as the key was updated over 1 year ago, this notice was recently removed.

@sptramer - it was on a machine I must admit I hadn't used in a long time. I guess most people would eventually work it out. Took me about 5 minutes to find it


Add port forwarding

#212  I hope this is what you wanted.

@bSzala Not exactly. The main idea is to allow users to choose which ports to forward either when they are setting up the environment (reprounzip vagrant setup ...) or when they are reproducing the run (reprounzip vagrant run ...), similar to what we have with reprounzip-docker. Also, users should be able to choose the ports using our brand new GUI ;)
@remram44 can probably give more details on that.

I apologize if the issues alone do not provide enough context for this project, I did tag them as "hacktoberfest" (you'll get the PR counted either way).
Unfortunately reprounzip-vagrant generates Vagrantfiles, and it is in those that ports need to be forwarded (according to some command-line option).
This is similar to how --memory and --use-gui options write out v.memory and v.gui in the Vagrantfile. There should be something like --expose-port that add the "forwarded_port" code you provided 👍


fix: Use timeout middleware as the 1st middleware

Description
Use timeout middleware as the 1st middleware as mentioned here.
It should help when dealing concurrency writing the headers.
Closes issue(s)
Resolve #2758
Checklist

[x] I have tested this code
[x] I have followed the contributing guide

@natenho I'll be happy to get your review for this one.


window.visualViewport

I recommend showing the current adoption rate for this feature which is described here on MDN: https://developer.mozilla.org/en-US/docs/Web/API/VisualViewport
Thanks for caniuse it's great!

Duplicate of #3638


Client Telemetry: Allow proxy

ref https://github.com/Azure/azure-sdk-for-java/pull/29022

This should already be supported because .NET uses a single http client. If the user defines one for the client then client telemetry will also use it.

I didn't really look into it. If you are sure, then we can close this issue. I created it for tracking purpose.


Version 1.8.1 of lightning missing redis dependency

Bug description
Lightning 1.8.2 seems to be causing issues with redis not being installed. I think this might be one of the auxiliary lightning packages rather than the main one.
How to reproduce the bug
No response
Error messages and logs
[flow] 2022-11-18T01:25:34.259Z no setup.py
[flow] 2022-11-18T01:25:44.868Z + echo Done
[flow] 2022-11-18T01:25:44.868Z Done
[flow] 2022-11-18T01:25:44.888Z  * Starting OpenBSD Secure Shell server sshd
[flow] 2022-11-18T01:25:44.897Z    ...done.
[flow] 2022-11-18T01:25:50.663Z /content/venv/lib/python3.8/site-packages/pkg_resources/__init__.py:123: PkgResourcesDeprecationWarning: 0.23ubuntu1 is an invalid version and will not be supported in a future release
[flow] 2022-11-18T01:25:50.663Z   warnings.warn(
[flow] 2022-11-18T01:25:50.665Z Traceback (most recent call last):
[flow] 2022-11-18T01:25:50.665Z     sys.exit(main())
[flow] 2022-11-18T01:25:50.665Z   File "/content/venv/lib/python3.8/site-packages/click/core.py", line 1130, in __call__
[flow] 2022-11-18T01:25:50.665Z     return self.main(*args, **kwargs)
[flow] 2022-11-18T01:25:50.665Z   File "/content/venv/lib/python3.8/site-packages/click/core.py", line 1055, in main
[flow] 2022-11-18T01:25:50.665Z     rv = self.invoke(ctx)
[flow] 2022-11-18T01:25:50.665Z   File "/content/venv/lib/python3.8/site-packages/click/core.py", line 1657, in invoke
[flow] 2022-11-18T01:25:50.665Z     return _process_result(sub_ctx.command.invoke(sub_ctx))
[flow] 2022-11-18T01:25:50.665Z   File "/content/venv/lib/python3.8/site-packages/click/core.py", line 1657, in invoke
[flow] 2022-11-18T01:25:50.665Z     return _process_result(sub_ctx.command.invoke(sub_ctx))
[flow] 2022-11-18T01:25:50.665Z   File "/content/venv/lib/python3.8/site-packages/click/core.py", line 1404, in invoke
[flow] 2022-11-18T01:25:50.665Z     return ctx.invoke(self.callback, **ctx.params)
[flow] 2022-11-18T01:25:50.665Z   File "/content/venv/lib/python3.8/site-packages/click/core.py", line 760, in invoke
[flow] 2022-11-18T01:25:50.665Z     return __callback(*args, **kwargs)
[flow] 2022-11-18T01:25:50.665Z   File "/content/venv/lib/python3.8/site-packages/lightning_launcher/cli/__main__.py", line 73, in run_flow
[flow] 2022-11-18T01:25:50.665Z     run_lightning_flow(file, queue_id=queue_id, base_url=base_url)
[flow] 2022-11-18T01:25:50.665Z   File "/content/venv/lib/python3.8/site-packages/lightning_launcher/utils.py", line 50, in wrapper
[flow] 2022-11-18T01:25:50.665Z     res = func(*args, **kwargs)
[flow] 2022-11-18T01:25:50.665Z   File "/content/venv/lib/python3.8/site-packages/lightning_launcher/utils.py", line 75, in wrapper
[flow] 2022-11-18T01:25:50.665Z     res = func(*args, **kwargs)
[flow] 2022-11-18T01:25:50.665Z   File "/content/venv/lib/python3.8/site-packages/lightning_launcher/launcher.py", line 211, in run_lightning_flow
[flow] 2022-11-18T01:25:50.665Z     wait_for_queues(queue_system)
[flow] 2022-11-18T01:25:50.665Z   File "/content/venv/lib/python3.8/site-packages/lightning_launcher/launcher.py", line 465, in wait_for_queues
[flow] 2022-11-18T01:25:50.665Z     while not queue_system.get_queue("healthz").is_running:
[flow] 2022-11-18T01:25:50.665Z   File "/content/venv/lib/python3.8/site-packages/lightning/app/core/queues.py", line 61, in get_queue
[flow] 2022-11-18T01:25:50.665Z     return RedisQueue(queue_name, default_timeout=REDIS_QUEUES_READ_DEFAULT_TIMEOUT)
[flow] 2022-11-18T01:25:50.665Z   File "/content/venv/lib/python3.8/site-packages/lightning/app/utilities/imports.py", line 32, in wrapper
[flow] 2022-11-18T01:25:50.665Z     raise ModuleNotFoundError(
[flow] 2022-11-18T01:25:50.665Z ModuleNotFoundError: Required dependencies not available. Please run: pip install 'redis'

Environment
No response
More info
No response

Hi @marcosfelt thanks for reporting this! This was a temporary issue that was addressed just after the release. Should now be working as expected 😃

Thanks!


Update blockchain.cpp

Changes made:

Added comments to improve code readability and understanding.
Improved variable naming and formatting for clarity.
Fixed grammatical errors and improved error messages for better comprehension.
Removed unnecessary string conversions in switch cases.
Addressed potential logic bugs and clarified error messages for easier debugging.
Ensured consistency in error message formatting.


Downloaded keybase stuck on loading screen for days

I downloaded Version 1.0.44-20180223192708+9a9ccec79 (1.0.44-20180223192708+9a9ccec79)
on my macbook air, it has been stuck on the loading screen for days, any suggestions?

Can you do keybase log send from the terminal?


Why did you remove the input coordinates in EGNN?

I am sorry to bother you. Why did you remove the input coordinates in EGNN and why didn't you do the same operation for the atom features or in GNN?

No worries :). In the EGNN, the x behaves like a position. This means that:
Under an action of rotation R and translation t, the position rotates and translates, so Rx + t.
But, sometimes we want to have stuff that behaves like a velocity. This means that:
Under an action of rotation R and translation t, the velocity only rotates, so Rv. (This is because it is always assumed to be starting from x. It may be useful to look at Figure 1 from the EGNN paper here https://arxiv.org/pdf/2102.09844.pdf).
The denoising we want to predict should behave like a velocity, and when we subtract the input x from the output x_L, we get something that behaves like a velocity. Suppose we look at our output x_L - x. Under the action of rotation and translation it is:
(Rx_L + t) - (Rx + t) = R(x_L - x), so the translation t has cancelled out and it behaves like a velocity as desired.


Support for organization webhook configuration

I would like to add support for the following missing API implementations

Get a webhook configuration for an organization
Update a webhook configuration for an organization

Please let me know if I can proceed with a PR for the same.

Sounds great, @mnafees, and thank you!
It's yours.

Thanks @gmlewis, updated the issue with 2 more APIs for repository webhooks as well.


Cannot get depth

I'm using Realsense R200 and F200 Camera, which I don't know the Firmware Version(Maybe you can tell me how to get it, thanks). OS is Ubuntu 14.04 LTS, kernel version is 4.4.0.
I install librealsense following the guide https://github.com/IntelRealSense/librealsense/blob/master/doc/installation.md.
My notebook is Thinkpad E550, which has a pre-installed Realsense F200, and I plugged a R200.
When I execute cpp-multicam, F200 can get both color and depth, but R200 cannot get depth, error info is below:
rs.warn: Subdevice 1 bad magic number 0x0
Here is the screenshot:

What's worse, after reboot, when I run example executables in ./bin, it will fail, and error info is below:
RealSense error calling rs_create_context(api_version:4):
Cannot access /sys/class/video4linux
I have to execute the command: sudo modprobe uvcvideo
to make camera to work again.
Can you help me to solve the problems? Thank you!
Hope to get your reply ASAP. ^_^
BR,
Xingyi

Hi @bage613 These problems (no R200 depth, bad magic number) can be explained by the uvcvideo module not being patched correctly. Try re-running the patch script for your configuration and trying again, making note during the process if the script exits early or fails.

Hi @ddiakopoulos , after tried several times, I did it successfully! There are errors such as "Failed to fetch http://ppa.launchpad.net/ubuntu-toolchain-r/test/ubuntu/dists/trusty/main/binary-" when running install_dependencies-4.4.sh, so I commented  "sudo add-apt-repository ppa:ubuntu-toolchain-r/test", and it worked. Thank you! I guess maybe the firewall made it failed. Here is China, you know it. Thank you again. ^_^

Great! Glad it worked out :)

hey guys!
I still have some issues with the image in depth, it is very noisy


Add syntact_cat dataset

Add syntact_cat dataset
Dataset: https://zenodo.org/record/6573016#.Yqxpv9JBxpj

"SyntAct": {
    "Year": 2022,
    "Content": "SyntAct",
    "Emotions": " a synthesized database of three basic emotions and neutral expression based on rule-based manipulation for a diphone synthesizer which we release to the public",
    "Format": "Audio",
    "Size": "941 MB",
    "Language": "German",
    "Paper": "SyntAct: A Synthesized Database of Basic Emotions",
    "Access": "Open",
    "License": "CC BY-SA 4.0",
    "Dataset-link": "https://zenodo.org/record/6573016#.ZAjy_9LMJpj",
    "Paper-link": "http://felix.syntheticspeech.de/publications/synthetic_database.pdf",
    "License-link": "https://creativecommons.org/licenses/by/4.0"
}


[MTSRE-697] Adding missing probes and resource requests and limits in ADO containers

Signed-off-by: Ankit Kurmi<EMAIL_ADDRESS>Description
Adding missing probes and resource requests and limits in ADO metrics-relay-container container.

/ok-to-test

The time I added the metrics-relay-server (kube-rbac-proxy), I remember looking for the health exposing probes of it in its upstream code itself as well as any possible usages across our org and couldn't find a single hint of a healthz/readyz endpoint
@Ankit152
The existing probes you wrote would still end up (at port 8081) won't work in the expected way (exposing the health of kube-rbac-proxy) because already the addon-operator-manager is using it as a probe addr for its own healthz and readyz endpoints in the same pod and as @ashishmax31 mentioned rightfully, the container in a pod share the same network stack, so it's not possible in anyway to expose kube-rbac-proxy's health on 8081.
Coming to the solution:
If you still wanna go ahead with setting up probes for kube-rbac-proxy, you can checkout setting tcpSocket liveness/readiness probes for a container. These probes determine whether it's possible to open a tcp connection against the specified port. (if yes: healthy, if no: unhealthy)

/lgtm

/approve


forwarding table vs routing table for HA pairs

check which is better and makes more sens for HA pair check and implement a snapshot, maybe a check as well

:tada: This issue has been resolved in version 0.3.2 :tada:
The release is available on PyPI and GitHub release

Posted by semantic-release bot


Assumption about system setup

Re the docs.

Unmount /boot, and remount it at /mnt/boot

My system does not have a separate /boot dataset.  /boot is a directory on the / dataset.
Moving kernels around seems counter intuitive when the kernel resides on a zfs dataset.   Shouldn't it just point grub to a / dataset and boot the kernel there?

Should be fixed as of #1


docs: Add info on programmatically triggering actions

docs: Add info on programmatically triggering actions
Description
Adds info on how to programmatically trigger an action from a custom page.
Visual changes
Functional changes

[x] Code style has been fixed by running the composer cs command.
[x] Changes have been tested to not break existing functionality.
[x] Documentation is up-to-date.

Thanks


Bug: Click on scrollbar fix

This fix ensures that blur events triggered from clicking on the suggestion list's scrollbar will not close the list.
tagging @rgerstenberger @alexlande @kenwheeler @vakhtang

This works but clicking on the scrollbar will steal focus and kill keyboard events. See https://github.com/FormidableLabs/radon-select/pull/19/files#diff-e75adcee364b2e5a1fa2c79b6634f452R271 for workaround.

@rgerstenberger Good catch. This last batch of changes should fix that.

Tests are looking good. Tried it out on as many browsers as I could get my hands on. I think I'll put in a separate issue + PR for keyboard presses to focus on the currently hovered option.


Rework GuiRobot and GuiHandle

List of things that need to be done (just ideas for now, for internal discussion and will update as discussions proceed):

[x] GuiRobot: useless class or not? Some methods from the base GuiHandle can be moved into GuiRobot.
[x] GuiHandle contains a mixture of window and node operations. Likewise, some gui handles (e.g. PersonCardHandle, StatusBarFooterHandle) represent nodes while others (e.g. HelpWindowHandle) represent windows. Some refer to both. We should properly separate them and make them distinguishable.
[x] No levels of abstraction -- all Gui Handles work directly on global state (list of all nodes in all windows) and have access to the primary stage. Information hiding is haphazard (e.g. getTextFromLabel(String fieldId, Node parentNode)
[x] No need to pass around the GuiRobot, each gui handle can create their own. (Might need to verify)
[x]  All the timed waits making the GUI tests slow. While they may make it easier to debug GUI tests, they make e.g. Travis builds slow. We could switch them off in headless mode. (Note: some of them are used to wait for operations in other threads to complete (!!), which will be a source of test flakiness. Need to use proper synchronization primitives!)
[x] Redundant utility methods e.g. GuiHandle#getTextFieldText
[ ] All the tests are in a separate guitest package, which is inconsistent with the other tests and also means that they can't access private package classes (if we have any in the future). Test groups should be used instead.

For the last point, perhaps this article may be useful: https://www.mkyong.com/unittest/junit-categories-test/


controlled inputs docs

Howdy :wave: Here's some docs, as promised. I'm not a native English speaker, so this might not be the best writing — I'd appreciate any comments.
Should I keep the todo?

@hasparus thanks a LOT for this, much appreciated. I've corrected a few minor things, there's just the example in the ReadMe mentioning set and onChange that I believe isn't really meaningful since it doesn't use set, but apart from this thanks again ;)


AMQ-7463 Getting concurrent modification exception

Raised issue AMQ-7463 Getting concurrent modification exception in FailTransport class due to hashmap. Hence created concurrentHashMap

I'm testing the branch locally.


Added Markdown export, CommenType backtick "```"

When pasting an ASCII diagram to a platform that uses Markdown, such as Github, Gitlab, Notion.  It Is needed to involve the diagram by a code block "```".
Add an option to export the diagram wrapped by the code block syntax.
Probably something like:
/client/export.tsx
  <MenuItem value={"code_block"}>
    Standard multi-line <CommentTypeChip label="``` ```" />
  </MenuItem>

This is now in!


Exe is not as compressed as when done through actual Enigma product

Hello,
This is really great package and very helpful for us.
We are generating NW build using maven-grunt and then using this generate-evb package to create a single exe of the NW build directory.
If we use actual product to do this we get exe of size NOT more than 150 MB.
But when generated through generate-evb, it settles around 285 MB.
Original build folder is 390 MB.
Can something be done about it?

Hi @mayur-bhatkhande,
To figure out the cause, I suggest you compare the project file (*.evb) generated by generate-evb and the project file created using EVB's GUI. You can compare them using a diff tool, or by loading the generated project file in EVB's GUI to see if something looks off.
Maybe you are packing more files in the generated project file (e.g. your path2Pack  includes the inputExe, which would pack it twice). If that is the case, you can solve it by supplying a filter function (there's an example in the README).


Fail compiling with LuaJit 2.1

Hello!
First of all I want to say a big thank you for an amazing project!
Now about the problems: I'm using LuaJit21 from a master branch.
Unfortunately the Selene is not compiling with LuaJit 2.1.
The first mistake because of a simple typo: in file Selector.h on line 152 should be lua_pushvalue instead lua_push_value.
The second problem is more serious - there is no function in LuaJit luaL_setmetatable (lua_State * L, const char * tname).
Any chance to correct a errors?

I would also like to have LuaJit support for Selene.
It's such a huge performance increase compared to normal Lua.
Would adding LuaJit support be possible?

This pull request looks promising? [(https://github.com/jeremyong/Selene/pull/144)]
Sadly the selene creator is no longer supporting this project?

or maybe as a better alternative?:
https://github.com/ThePhD/sol2