onChange doesn't reflect changes when using with React Router 4's component prop

downshift version: 1.31.10
node version: 9.6.1
yarn version: 1.5.1
react router version: 4.2.2

Relevant code or config
// A scenario like this doesn't work
<Route component={props => (
          <DownshiftComponent
                onChange={props.onChange}
          />
     )
 }>
// however, this does
// A scenario like this doesn't work
<Route render={props => (
          <DownshiftComponent
                onChange={props.onChange}
          />
     )
 }>

What happened:
onChange doesn't reflect the selectedItem inside the input box when using with React router 4's component property on <Route/>.
Reproduction repository: https://codesandbox.io/s/xojn9mkz54
Problem description:
When using React router 4 combined with passing onChange handler as props to the Downshift component, the onChange gets fired but the selectedItem isn't updated in the input box.
Suggested solution:
I used the render prop instead of the component prop in my <Route/> to get it working after like 5 days of banging my head against the wall not knowing what was going wrong. But I'm posting this as an issue along with a (hacky?) workaround for those who encounter the same problem. I don't know if this is an issue or not but well.

I don't think this is a hacky solution. For React Router v4, the component prop accepts a component, whereas the render prop accepts a function.

Welp. I just started with React and react Router 4 so I hope if beginners stumble upon this problem not knowing what's going on, this could help.. Can someone close this issue?


Use skopeo for publishing Shipyard's images

We don't actually need to rebuild the Shipyard images when we're creating stable branches, it would be correct and efficient to take the latest images from devel and publish them.
Signed-off-by: Mike Kolesnik<EMAIL_ADDRESS>

@skitt would appreciate a look from you to make sure im not breaking anything else :)


Feature: Enhance the ease of use and efficiency of duplication

Feature Request
Duplication has some shortcoming：

It depends remote filesystem to sync the checkpoint:
It leads to complexity in use, which make you have to support HDFS or FDS, and must start duplicate in three steps: 1. update checkpoint in master 2. restore checkpoint in follower 3. start sync plog data in master.
The synchronization of plog data only sends a single mutation at each RPC:
The rate of sync is slow and cause the plog pile up in sometimes.

The issue request will hope enhance it:

Use learn to replace backup-restore to sync checkpoint
Use batch-send to replace single-send to sync plog
Connect the above two processes to automate them, and the establishment of duplication can be completed with one command

The flow chart is as follow:

master meta: receive create dup table request and mark current max_plog_commit_decree as start plog point
master meta: init the dup status as DS_PREPARE,  which means master replica need prepare latest_checkpoint  for duplicating
master replica: generate latest checkpoint , which require laster_durable_decee >= max_plog_commit_decree
master replica: update all checkpoint has been prepared and response master meta
master meta: change to DS_APP, which means all checkpoints have prepared and follower can duplicate it
master meta: send create table request to follower meta, and require the table init with master replica checkpoint(like restore progress which init table with backup replica checkpoint)
follower meta: create dup table with dup info
follower replica: start open or init replica
follower replica: duplicate checkpoint from master replica before init replica, and load replica using duplicated data
master meta: check the follower table if create completed periodically
master meta: if completed, change to DS_LOG, which means master replica can send plog data to follower table
master replica: start pipeline to batch send plog data.

The motivation is fair, lgtm.

although, I'm  not so familiar with the  whole pegasus system, but according to your descriptions, I think  the original design is easier to realize but hard or inconvenient to use, on the other hand, the new design i think is a little  complex to implement because you may handle more possible corner case; hower the new design will make ’duplication-usage‘ more friendly  and easy to use， looking forward to your awesome implementation~


fix: spelling mistake onFilesSuccessfullySelected

Hello 👋
First of all thank you for the great work with this package, I have been using it for a while now.
I am currently working on a project where spell checking is part of the automated tests. Therefore I am not able to make use of the onFilesSuccessfulySelected callback function. Correctly spelled would it have to be onFilesSuccessfullySelected with two L's.
Actually this can be considered a breaking change for the consumer side, so maybe a new npm major version would be needed.

Hey @CemYil03
I'm glad that you like our package! Thanks for spotting that typo, we must've overlooked it when we were doing the code review.
As you said, changing the name of a function is considered a breaking change, as it will break the existing apps that are using it, therefore this change has to be included in the next major version. Luckily enough, we are actively discussing version 2.0 with @Jaaneek, because we're planning to introduce a bunch of different breaking changes (mainly the errors' system rework and reorganizing some props that hook accepts) so you can expect it to be shipped in the near future.
As for now, you can temporarily disable the spellcheck for this line where you use our package or use your forked version of the package with a correct function name.
We'll post here when the version 2.0 is released, so you'll get a notification.

Understood, thank you!
What should I do with this PR? Just leave it open, close it. Open an issue instead?
And is there a timeline or an approximate month for when the release version 2 is going to take place? Looking forward to it 😃

Just leave the PR as it is, I'll merge it before releasing version 2.0.
When it comes to release date, I don't want to throw any dates because we're very busy lately, but something around a few weeks seems reasonable.

I'm closing this PR as the spelling mistake mentioned here is going to be fixed in #73 PR for V2 release.
@CemYil03 Thank you for your input! You can expect the v2 version of use-file-picker to be released very soon.


[SPARK-9869][Streaming] Wait for all event notifications before asserting results

Can one of the admins verify this patch?

ok to test

Merged build triggered.

Merged build started.

Test build #41980 has started for   PR 8589 at commit f1df02b.

Test build #41980 has finished for   PR 8589 at commit f1df02b.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

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

Merged build finished. Test PASSed.

I merged this into master 1.5 thanks for the fix.


Missing jxl-coder in readme

Describe the bug
jxl-coder library is missing from the readme
To Reproduce
Scroll here https://github.com/T8RIN/ImageToolbox?tab=readme-ov-file#-tech-stack--open-source-libraries
Expected behavior
See jxl-coder ( https://github.com/awxkee/jxl-coder )
Screenshots
Smartphone (please complete the following information):

Device:
OS:

Added


Implement Webpack 4 plugin

It's nearly identical to the Webpack 5 plugin...

Published here: https://www.npmjs.com/package/@runtime-type-inspector/plugin-webpack4


Removed link to djangosites

Trac ticket number
N/A
Branch description
Removed link to djangosites as it is no longer available.
Checklist

[ ] This PR targets the main branch.
[ ] The commit message is written in past tense, mentions the ticket number, and ends with a period.
[ ] I have checked the "Has patch" ticket flag in the Trac system.
[ ] I have added or updated relevant tests.
[x] I have added or updated relevant docs, including release notes if applicable.
[ ] For UI changes, I have attached screenshots in both light and dark modes.

Been superseded by https://github.com/django/django/pull/18159


[lint addon] Tooltip Placement

The lint addon should allow some basic customization of the tooltip placement. For example, if i have a CodeMirror near the top of my page, the tooltip is cut off:

While it is possible with z-index to put the tooltip above the navbar in this case, a longer tooltip would hit the top of the viewport.
A nice solution would be a placement option, for example with values top or bottom, that would place the tooltip in the direction relative to the cursor. top would be the default. I figure bottom would be straightforward to implement, since it just needs to set the top style attribute to the location of the cursor plus some offset.
Another option would be auto, which automatically selects top or bottom based on the viewport bounds, so that the tooltip is always visible no matter where. Perhaps this is an idea for the future.

While it is possible with z-index to put the tooltip above the navbar in this case, a longer tooltip would hit the top of the viewport.

I don't think so—the module contains logic to keep the tooltips inside of the window. The 'auto' option you're describing is pretty much what should be happening there.
So yeah, working with a z-index is probably the way to go here. I don't really want to make the extension more complex for cases like this.


Neo-cli Unable to Sync Blocks

OS: Ubuntu 16.04.06
NEO-CLI Version: <IP_ADDRESS>

Loaded plugins:

ApplicationLogs
ImportBlocks
RpcWallet
RpcSecurity
SimplePolicyPlugin
CoreMetrics
RpcNep5Tracker
RpcSystemAssetTrackerPlugin

config.json:

{
"ApplicationConfiguration": {
"Paths": {
"Chain": "Chain_{0}",
"Index": "Index_{0}"
},
"P2P": {
"Port": 10333,
"WsPort": 10334
},
"RPC": {
"BindAddress": "<IP_ADDRESS>",
"Port": 3007,
"SslCert": "",
"SslCertPassword": ""
},
"UnlockWallet": {
"Path": "/home/ubuntu/.neo/Xbond_Neo_wallet.db3",
"Password": "somepassword",
"StartConsensus": false,
"IsActive": true
},
"PluginURL": "https://github.com/neo-project/neo-plugins/releases/download/v{1}/{0}.zip"
}
}
I downloaded the source code and complied it, I got all the binaries using Readme.md at https://github.com/neo-project/neo-cli
Issue:

My chain isn't getting over index 328296

Whenever I run ./neo-cli, after few seconds it flashes this:

[ERROR][8/13/19 7:17:03 AM][Thread 0003][akka://NeoSystem/user/$a] Object reference not set to an instance of an object.
Cause: System.NullReferenceException: Object reference not set to an instance of an object.
at Neo.Plugins.LogReader.OnPersist(Snapshot snapshot, IReadOnlyList`1 applicationExecutedList)
at Neo.Ledger.Blockchain.Persist(Block block)
at Neo.Ledger.Blockchain.OnNewBlock(Block block)
at Neo.Ledger.Blockchain.OnReceive(Object message)
at Akka.Actor.UntypedActor.Receive(Object message)
at Akka.Actor.ActorBase.AroundReceive(Receive receive, Object message)
at Akka.Actor.ActorCell.ReceiveMessage(Object message)
at Akka.Actor.ActorCell.Invoke(Envelope envelope)
[ERROR][8/13/19 7:17:03 AM][Thread 0008][akka://NeoSystem/user/$a] Error while creating actor instance of type Neo.Ledger.Blockchain with 2 args: (Neo.NeoSystem,Neo.Persistence.LevelDB.LevelDBStore)
Cause: [akka://NeoSystem/user/$a#1863269873]: Akka.Actor.PostRestartException: Exception post restart (System.NullReferenceException) ---> System.TypeLoadException: Error while creating actor instance of type Neo.Ledger.Blockchain with 2 args: (Neo.NeoSystem,Neo.Persistence.LevelDB.LevelDBStore) ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.InvalidOperationException: Operation is not valid due to the current state of the object.
at Neo.Ledger.Blockchain..ctor(NeoSystem system, Store store)
--- End of inner exception stack trace ---
at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor, Boolean wrapExceptions)
at System.Reflection.RuntimeConstructorInfo.Invoke(BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at System.RuntimeType.CreateInstanceImpl(BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes)
at Akka.Actor.Props.ActivatorProducer.Produce()
at Akka.Actor.Props.NewActor()
--- End of inner exception stack trace ---
at Akka.Actor.Props.NewActor()
at Akka.Actor.ActorCell.CreateNewActorInstance()
at Akka.Actor.ActorCell.<>c__DisplayClass109_0.b__0()
at Akka.Actor.ActorCell.UseThreadContext(Action action)
at Akka.Actor.ActorCell.NewActor()
at Akka.Actor.ActorCell.FinishRecreate(Exception cause, ActorBase failedActor)
--- End of inner exception stack trace ---

If you remove the plugins: ApplicationLogs, RpcNep5Tracker and RpcSystemAssetTrackerPlugin, do you have the same issue?
Did you tried without plugins?

Hey thanks for pointing out the plugins. I solved the issue in a different way and it seems it's bug. When we import a plugin from neo-cli using install , it creates a directory by the name of that specific plugin inside the Plugin directory.
"neo-cli install ImportBlocks" creates this:
Plugins/ImportBlocks/Plugins/ImportBlocks/config.json and
Plugins/ImportBlocks/Plugins/ImportBlocks/ImportBlocks.dll
While according to https://github.com/neo-project/neo-plugins Readme.md the correct way is this:
./Plugins/ImportBlocks.dll
./Plugins/ImportBlocks/config.json
I had to moved the dll files earlier but this time I moved the config.json files for each Plugin to the right path. Now it seems to work fine. But surely it's a bug with install  command.
Again thanks @shargon  for all the help.


FR add the travel distance macro to exploration tab in the party sheet as a button.

i thought it would be a good idea to have a button that calls on the travel distance macro within the exploration tab on the party sheet. so there is a quick reference for calculating distances.
if possible adding mounts for that calculation too

Does this recently merged feature accomplish what you needed the travel distance macro for? https://github.com/foundryvtt/pf2e/pull/14428

i guess the only thing remaining is calculating if the party has access to horses or not.

Which I believe might already be covered by https://github.com/foundryvtt/pf2e/issues/10730

Which I believe might already be covered by #10730

is there a way to select if the party are using horses or not then?

Nope. Which is what that other issue is about. The other parts regarding travel speeds I think are accounted for, or at least more than usable, so I'll close this PR as I don't think we're going to actually integrate the travel macro into the party sheet (maybe vice versa).


Adding Database and Admin folder

This is sql folder

Also Add admin folder in it.

ok let me do this


When attempting to open the primary left dropdown, it actually opens the secondary

The fails with the error "Unable to partial match XXX in dropdown".
The most verbose log level says:
› Searching potential dropdown xpath of primaryLeft › ...selector: //div[contains(@class, 'tv-alert-dialog__group-item--left ')]/span[@class='tv-control-select__wrap tv-dropdown-behavior tv-control-select--size_small']/span[@class='tv-control-select__control tv-dropdown-behavior__button'] › Found dropdown! Clicking element of primaryLeft
But then it seems the secondary button is clicked instead. The button (checking from another browser) seems to have the right classes so that the xpath selector should work.
The funny thing is that yesterday it worked flawlessly.

Not sure what could be wrong, but nobody else seems to be having this issue...might be related to your internet connection speed..closing this for now..


dotgit: handle refs that exist in both packed-refs and a loose ref file

If a repo starts out with a packed-refs file, and later a reference is updated by creating a new reference file for a name that already exists in packed-refs, then the same reference will be listed in two places (possibly with two different ref values).  This is legal in git; the loose ref file always takes precedence over the packed-ref file.  However, to support this properly, go-git needs to do two things:

On ref removal, remove it from both places.  First remove the ref file, and then remove the packed-refs file (under a lock).  Note that if the underlying storage layer is distributed and might be accessed concurrently, we'd likely require stronger locking semantics to make sure the (possibly out-of-date) packed-refs value isn't accessed after the loose ref is deleted but before packed-refs is cleaned up, but I leave that for future work.
When listing refs, don't double-report refs in packed-refs.  This used to be the case, but recently (#651) it was changed, so this restores the original logic (without adding the packed-refs cache back in).

(If #665 is merged first, we'll need to update the test in this PR to get it to compile, so please don't blindly merge it.)

@strib merge your selft when you are ready.


Frames: handle GET form submissions

Closes 446.
When handling a <form method="get" action="..." data-turbo-frame="..."> submission targeting a <turbo-frame> element,
responses that don't redirect do not change the element's [src]
attribute.
Following the changes made in 424, <form> submissions that result
in GET requests are handled the same as other form submissions in that
they fire turbo:submit-start and turbo:submit-end events. What
424 did not account for is navigations initiated by <form method="get"> submissions that do not redirect.
In response to those requests, this commit adds two additional criteria
for updating the <turbo-frame src="..."> attribute:

the response's status code is 200 OK, which is idempotent and does
not indicate a server-side state change (for example, like a 201
Created with a Location: header might)
the response's Content-Type: is HTML (not JSON or even Turbo Stream)

Under those circumstances, the frame's [src] is updated.
This commit adds test coverage for this new behavior along with
additional coverage to guard against regressions.

While investigating this issue, I also uncovered some additional Frame-to-Visit quirks. I've opened https://github.com/hotwired/turbo/pull/448 to address those.

@dhh if this is a good enough fix, I think that it'd be good to include in 7.1.0-rc2.

Thanks @seanpdoyle @dhh! I just tried rc2 and everything is looking great.


Upgrade to http-spec@v4 for OAS3.1 Support

Upgrading to http-spec v4 will take care of https://github.com/stoplightio/elements/issues/1017 and a whole lot of other rubbish that we won't need to think about.
It's a beta right now but that's ok.
There will be a few breaking changes:

exclusiveMinimum and exclusiveMaximum are integers not boolean modifiers
It returns JSONSchema7 not JSONSchema4
It's ditched openapi-sampler for @stoplight/json-schema-sampler and we might want to do the same
Delete the Nullable tag, it should be normalized as "string or null" now. See https://github.com/stoplightio/elements/issues/1017 for more context.

@marcelltoth I think you won't need to do anything here - I'm taking care of it at the moment, because I need it for Studio.
There might be some changes you'll want to address separately, but hopefully minor.

@P0lip AFAICT your PR targets v6, so while this became much simpler because of it, we still need to port it to v7. Keeping this open still.

@P0lip AFAICT your PR targets v6, so while this became much simpler because of it, we still need to port it to v7. Keeping this open still.

Yup, I know. I had started the work on v7 (https://github.com/stoplightio/elements/commit/6016ca80380322d0ae74d04e532b6808b26aff3f, just pushed the latest code I had) before Jakub J picked it up, but when I realized he's on it, I decided not to interfere.
You shouldn't need any futher changes in JSV, because I took care of it.

I'd like to stress we need this to be implemented ASAP, so if you need a hand, LMK.

That shouldn't really be the case, see Slack message. That being said, @mallachari 's PR should be there soon


Split h1_syscalls lib out of golf2 board.

----------------------
`make prtest` summary:
----------------------
git rev-parse HEAD
6578a02da3e7f87cb1c662830e41e1d95043ac1f
git status
On branch split_h1_syscalls_out_of_golf2
nothing to commit, working tree clean

PTAL


Support abbreviation like  1d3h.

13 hours ago still too long,    13h is better in some env.

feel free to put a PR in 👍


Delete function mae_loss in udop_unimodel.py

While conducting my research, I discovered that the "mae_loss" function is completely unnecessary in the current implementation. This commit removes the function and eliminates confusion for new users.
I must say, your work is truly impressive.

@microsoft-github-policy-service agree

@zinengtang please, take a look on this pr

@ziyi-yang please take a look on this pr


Update Backend_Setup.md

Added additional context and details on steps. Review environment variable descriptions and requirements.

Damn, this is awesome, thank you! @smian1


The ui_worldmap node displays more overlays than defined in the configuration

Hi, in a ui_worldmap node (v2.23.0), I set the configuration to display the "heatmap" overlay only. But, the layers button still shows "drawing", "countries", "day/night" and "rainfall".

I'm not seeing this issue. Have you refreshed / reloaded the browser since changing the option ?
(I am seeing an issue of not saving the custom layer if that is selected as the default map.- but that isn't this.)

I reloaded the page and cleared the browser's cache

and ? they are still there ? or now removed ?
which version of the node do you have ? and which version of Node-RED and node.js.

Sorry - yes, there's still there.

NodeRED 2.1.3 (from node-red docker)
node-red-contrib-web-worldmap 2.23.1
Firefox 91.4.0esr

It also happens with the plain worldmap node: selecting only the heatmap overlay

results in

Weird - on FF 95 I get

I deploy... then refresh map browser page.

That's what i also did.. weird

I tried hiding the layer button then enabling it again, same result

and there is nothing in the browser console log ? (I wouldn't expect anything as it doesn't log anything relevant).
What hardware are you running Node-RED on ?

I don't see anything special in the logs if i change the configuration then re-deploy. Node-RED is running in docker on my laptop, so nothing fancy.

Ok I will continue to keep an eye out for it.

It's not that a serious bug, can live with it. But I expected to get the same behavior as you :)

Think I have found it - please try v2.23.3

Is it commited/published ?

Yes. Should be in flows library

Hi, I just upgraded - works like a charm now ! Thanks.

Little type in the changelog: "Fix initial laod of maps"


Fix and update links in MinIO

Describe the behavior changes introduced in this PR
The MinIO docs had:

two broken links
a link to outdated OpenShift documentation
a link to a missing page (which appears to just be the same page but renamed)

in either case, the information is stale.

Testing Instructions
mkdocs serve or check the results of the ReadTheDocs github action.
@redhat-cop/mdt

/retest


Search and results divs should be wrapped with main tag

Describe the Bug 🐛
The
 and
 should be wrapped in a  tag

can you assign this issue to me?

Can i work on this.

can i work on this?

Please assign to someone else. I've already got my 4 hacktoberfest PRs and was just trying to help others by finding good first issues

@nishtha53 would you like to work on this?

@dreymotoh go ahead

@wasimreja yes I can work on this. Please assign to me!

@wasimreja Please check PR.


Move common functions in core package

Per recommendation from @SunMaungOo, we'd like to move common functionality in core package (directory), which will make python NonStory more portable. Such commonalities include:

database models (ns.models),
database initialization and cleanup logic,
DB transactions that have potential for reuse in other target than Discord,
constants (ns.const),
prefixes array generation (very optional).

Upcoming functions can also be utilized for multiple targets other than Discord:

answer/question parsing logic (with CoreNLP).

Solved with b59d9fa.


Fix the handling of an empty NiFi instance (new canvas)

This got lost during the refactoring/merge, fix the error.

This commit was included in the other PR for supporting import from URL, so closing this one.


Update ShieldView properties

Fixes #
Docs for Toolkit PR #874
What changes to the docs does this PR provide?
Update properties list.
PR Checklist
Please check if your PR fulfills the following requirements:

[ ] For new pages, used the provided template.
[ ] For new features, added an entry in the Table of Contents.
[ ] Ran against a spell and grammar checker.
[ ] Contains NO breaking changes.

Other information

Docs Build status updates of commit 17ee310:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/views/shield.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching in the Docs contributor and Admin GuideSee the frequently asked questionsPost your question in the Docs support channel

@jfversluis should we mentioned the deprecated properties? if yes what is the format to follow ?

@jfversluis should we mentioned the deprecated properties? if yes what is the format to follow ?

I think that makes sense. Just add a note like: Deprecated since 1.1, use x instead and we can remove that somewhere later on when the property is removed as a whole

Docs Build status updates of commit cf58a16:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/views/shield.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching in the Docs contributor and Admin GuideSee the frequently asked questionsPost your question in the Docs support channel

Docs Build status updates of commit 738670d:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/views/shield.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching in the Docs contributor and Admin GuideSee the frequently asked questionsPost your question in the Docs support channel

Docs Build status updates of commit 540b806:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/views/shield.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching in the Docs contributor and Admin GuideSee the frequently asked questionsPost your question in the Docs support channel


Remove inspect() from MBStream

This should be drain() instead...

drain() clears all the elements from the stream. So, if I call drain() twice, the second time I won't get any results.  That's why I added inspect().
Are you trying to enforce that the tuples in the stream can only be accessed once?

@raininthesun Yes, the goal is to never expose the internals of the stream interface to the consumer. Right now, we only support exactly once draining. My PR (#133) refactors your code to behave correctly despite this behavior.

Fixed in #133


Dependency on @quasar/colorize

While the instruction says quasar ext add @quasar/qribbon is the command to install, there is a dependency to @quasar/colorize that requires manual add, or it fails.
Maybe the instruction can be improved or quasar ext add can become smarter to detect the dependencies and install them automatically.

@hawkeye64 Would you expect this as a result of your changes? I can take a look when I'm back home.

This is what happens when one AE is dependent on another. In discussions with Razvan on how best to handle this. I'd like it to automatically install, but he's worried about circular dependencies.
The other thing is to PR against @quasar/app, to change the dependency function so a custom message can be used.

This has no longer been an issue since the last release of QRibbon (v1.0.0-beta.8)


Memory Limit too low results in OOMKilled

Installation of the operator in OpenShift is not successful, due the fact that the requested memory limit does not met the real memory consumption
the current config results in restart with OOMKilled signal
resources:
  limits:
    cpu: 100m
    memory: 175Mi
  requests:
    cpu: 100m
    memory: 20Mi

Changing to 255Mi results in a stable version
resources:
  limits:
    cpu: 100m
    memory: 255Mi
  requests:
    cpu: 100m
    memory: 20Mi

Affected version:
IBM Cloud Operator, 1.1.0

When I've installed ibmcloud-operator I've been using a subscription that looks like this:
apiVersion: operators.coreos.com/v1alpha1
kind: Subscription
metadata:
  name: ibmcloud-operator
spec:
  channel: stable
  name: ibmcloud-operator
  source: community-operators
  sourceNamespace: openshift-marketplace
  config:
    resources:
      limits:
        cpu: 400m
        memory: 700Mi
      requests:
        cpu: 400m
        memory: 40Mi

This is probably oodles more than the operator itself needs 🤷 .
The increased memory consumption in OpenShift when compared against other cluster types might be related to the number of namespaces present in the cluster itself - especially if your installing the operator with cluster-wide scope.

Thanks for opening @haf-tech. I think this is likely a duplicate of https://github.com/IBM/cloud-operators/issues/199
How many secrets are in your cluster? kubectl get secrets -A | wc -l

If either of you are interested, we’re open to PRs for fine-tuned watches. It looks like they would significantly reduce memory usage.

@JohnStarich, have deleted the cluster in the meantime. I tested it today on totally fresh new cluster, but now the default resource limit is fine and enough
and yes, #199 could be the same (root) cause
regarding the PR, I have currently no clue about the topic :-D

after applying the first Service and Binding, seeing OOMKilled
oc get secrets -A | wc -l
 1258

Yeah, looks like the same issue. Let's focus our conversation in #199. @greglanthier you're welcome to take this on, if you're interested.


CouchDB sink now uses Destination

Proposed Changes

CouchDB sink is now a Destination

/assign @grantr

/cc @matzew

/hold
wait until this also has merged for CORE sources.
I guess that means we do this in 0.11 ?

@matzew this change has already merged for core sources right?

/hold cancel
core was already merged - sorry!
just unfortunate timing, so close to the release .... bad coordination, IMO ...

feels like it was just quickly pushed through ... disappointed

not this one, more on the eventing core ....

/hold cancel
Added CRD changes

/hold cancel

/lgtm


URL error of pictures

The path of a blog is blog/content/readme.md, and the path of the picture is blog/static/d/a.png.
In the blog I insert the picture by ![name](/d/a.png).
When I set the baseURL as https://xxxxx.github.io/, in the article, the URL of the picture is https://xxxxx.github.io/d/a.png and all things are OK.
But when I set the baseURL as http://home.ustc.edu.cn/~lk340621, the URL of the picture in the blog is http://home.ustc.edu.cn/d/a.png. But in fact the URL is http://home.ustc.edu.cn/~lk340621/d/a.png.
So in the blog, the picture can't be quoted right.
right quate
wrong quate

@kanglcn Try to add
relativeURLS = true

and
canonifyurls = true

to your config.toml.
For more information, see:
https://gohugo.io/content-management/urls/

@panda-z Thank for your reply! But nothing happens after my try. So sad.......

I've tested with canonifyurls = true and it works as expected.
Did you put canonifyurls = true to the top-level section of your config.toml?

I move canonifyurls = true to the beginning of my config.toml and it turns to work well!
Last time I put them at the end and it doesn't work.
Thank you a lot!


[Enhancement] Brief description/tooltip of block/random/cyclic shuffle on mouse hover

A brief description of the Tools dropdown option inside Create Channel>Programming would be awesome IMO.
Currently hovering the mouse on any button will result in the same tooltip description as the button name, eg. Sort TV Shows will show Sort TV Shows in the tooltip... except for the delete buttons, eg. Duplicates will show Remove Duplicates.

Did you try the ? button?

Did you try the ? button?

I know that. Just saying that a "Add Flex" button that shows the tooltip of "Add Flex" text instead of "Programs a Flex time slot. Normally you't use pad times, restrict times or add breaks to add a large quantity of Flex times at once, but this exists for more specific cases" just seems like a waste of real estate, IMO.


Playground doesn't accept triple bacticks

Hi, I'm a block with triple backticks :)

The snippet above doesn't work on the playground, it results in a black text in a black background:

Thanks for pointing this out @arthurdenner :D
The problem was with the rehype-highlighter package in the repl. It's now fixed 🎉


Rox 11210 collector ci migration builder collector

Description
Making changes so that the builder and collector jobs can be migrated to Openshift CI.
Checklist

[ ] Investigated and inspected CI test results

Testing Performed
See above

The collector job currently runs the unit tests, it might be easier to run them directly after the build rather than setting up a new test. But I'll leave that up to you.

Unit tests are passing:  https://gcsweb-ci.apps.ci.l2s4.p1.openshiftapps.com/gcs/origin-ci-test/pr-logs/pull/openshift_release/29418/rehearse-29418-pull-ci-stackrox-collector-ROX-11210-collector-ci-migration-builder-collector-unit-tests/1537921528077750272/artifacts/unit-tests/collector-unit-tests/build-log.txt


How to enable "Short mode"?

From the code it seems that the configuration should have a boolean option to enable short mode but I can't seem to find it.
Could you please add some documentation about adding short mode?
Thanks

Short mode is only available for outputs.

Thanks.
For anyone who wants only a very minimal backlog. The following template will do that
${foreach backlog message}
${message.message}
${end}...
${else}<No backlog>
${end}```


Need to improve some responsive issues

⚠ Problem
Your site is missing the Mobile Navigation Icon as you did on the main page

This occurs when you go to the FAQ and About pages

🛠 Suggestion for Improvement
I think if you add an exe in the download that can download an executable application that people can download it will be more convenient so anyone can download without doing a setup

will fix soom :)

fixed it

I think if you add an exe in the download that can download an executable application that people can download it will be more convenient so anyone can download without doing a setup

@Dev-Hassaan you mean a setup wizard right? Yeah, I used it but it was making some functionality not work as expected. I used Inno Setup, still looking for a usable alternative.

@mostypc123 I meant two things,

Setup Wizard
Downloadable Exe from the Documentation site

so like a portable version and a setup?

I didn't point at the portable version but yeah it's also great to have it.

the problem is, that i was using inno setup until it was basically causing some functionality to stop working


Offline Installer Question

Hi, is there a mechanism other than Microsoft Windows Store or Chocolately that can be used to install this software?
I am behind a corporate firewall and Windows Store is not an option, but we can burn the software to a disk to be brought in.

There's a zip file on the releases tab.


Please reopen #337

The issue #337 was closed by @garyduan with quite strange explanation, see: https://github.com/neuvector/neuvector/issues/337#issuecomment-1232252223_. Please, reopen the issue at least.
It is understandable if the project is not willing to implement the feature, but why closing the request then?

I reopen 337 and close this one. The reason it was closed is, the attached code snippet doesn't exist in the code base.


Define and set a unique user-agent

If the metadata for Croissant is pulled via URL (done here), we should set a user-agent that allows the package to be identified.
For reference, kagglehub does something similar here

We should probably add that same user agent when downloading the files over HTTP: https://github.com/mlcommons/croissant/blob/main/python/mlcroissant/mlcroissant/_src/operation_graph/operations/download.py#L188-L190


AGIS: put methods under the native struct

moved https://github.com/specklesystems/speckle-sharp-connectors/pull/5


sonarscanner config on travis broken?

https://travis-ci.org/citation-file-format/cff-converter-python/builds/604700381
The tests pass but then this makes the build fail:
$ sonar-scanner -Dsonar.login=$SONAR_TOKEN -X
sonar-scanner: command not found
The command "sonar-scanner -Dsonar.login=$SONAR_TOKEN -X" exited with 127.

I tried the instructions from

https://sonarcloud.io/documentation/integrations/github/
https://docs.travis-ci.com/user/sonarcloud/
https://sonarcloud.io/documentation/autoscan/
but none of it worked (the docs are conflicting btw).

For the moment, I've removed the sonarcloud integration so we can have meaningful tests at least.

Also updated the https://bestpractices.coreinfrastructure.org/en/projects/1811#quality

fixed it https://github.com/citation-file-format/cff-converter-python/tree/cae78719bc617d4beccf6e34998a6c48afc27746
https://sonarcloud.io/dashboard?id=citation-file-format_cff-converter-python


Deploying to Digital Ocean as an app. Keras load_model not working

Has anybody come an issue deploying a custom model (h5 or saved_model format) and receiving the following when trying to load the model using tf.keras.models.load_model:
radiographyml | 17:42:33 Traceback (most recent call last): radiographyml | 17:42:33   File "app.py", line 53, in <module> radiographyml | 17:42:33     model = load_model(MODEL_PATH) radiographyml | 17:42:33   File "/usr/local/lib/python3.7/site-packages/tensorflow/python/keras/saving/save.py", line 186, in load_model radiographyml | 17:42:33     loader_impl.parse_saved_model(filepath) radiographyml | 17:42:33   File "/usr/local/lib/python3.7/site-packages/tensorflow/python/saved_model/loader_impl.py", line 113, in parse_saved_model radiographyml | 17:42:33     constants.SAVED_MODEL_FILENAME_PB)) radiographyml | 17:42:33 OSError: SavedModel file does not exist at: ./models/my_model.h5/{saved_model.pbtxt|saved_model.pb}
The model is quite big, and I'm using git lfs to upload it to github. The repo is synced to Digital Ocean and refreshes each time a new commit is made. I've been stuck for a while here, trying different models, versions of TF, python, filepaths etc etc

radiographyml | 09:50:05 OpenBLAS WARNING - could not determine the L2 cache size on this system, assuming 256k
radiographyml | 09:50:07 2021-02-20 07:50:07.502411: 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
radiographyml | 09:50:07 2021-02-20 07:50:07.502865: 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.
radiographyml | 09:50:20 Model loaded. Check http://<IP_ADDRESS>:5000/
radiographyml | 09:50:20 path /app
radiographyml | 09:50:20 ['.git', '.gitattributes', 'Dockerfile', 'LICENSE', 'Procfile', 'README.md', '__pycache__', 'app.py', 'models', 'requirements.txt', 'static', 'templates', 'util.py']
radiographyml | 09:50:20 ['my_model1.h5']
radiographyml | 09:50:20 Traceback (most recent call last):
radiographyml | 09:50:20   File "app.py", line 53, in <module>
radiographyml | 09:50:20     model = load_model('/app/models/my_model1.h5')
radiographyml | 09:50:20   File "/usr/local/lib/python3.7/site-packages/tensorflow/python/keras/saving/save.py", line 186, in load_model
radiographyml | 09:50:20     loader_impl.parse_saved_model(filepath)
radiographyml | 09:50:20   File "/usr/local/lib/python3.7/site-packages/tensorflow/python/saved_model/loader_impl.py", line 113, in parse_saved_model
radiographyml | 09:50:20     constants.SAVED_MODEL_FILENAME_PB))
radiographyml | 09:50:20 OSError: SavedModel file does not exist at: /app/models/my_model1.h5/{saved_model.pbtxt|saved_model.pb}

I'm printing out the folder contents prior to the load_model error to prove that the model does exist. Anyone with experience deploying a custom model using this project to a cloud server?

Hi, I've used this repo to deploy my own toy project into the cloud.
As I read the log, it seems like some issue with loading the model. SavedModel file does not exist at: ./models/my_model.h5/{saved_model.pbtxt|saved_model.pb}
I guess the path to your model may be wrong. Are you using a relative path for the model? Try switching to an absolute path for the application to find the model.

Hi there, thanks for the response!
Yes I've Googled this issue to death, and tried the absolute vs relative filepath approaches and nothing is working.
I feel like it may be a git lfs to github to digital ocean issue. My model is 275mb and so I needed to use git lfs to push it into my github repo. When attempting to deploy the app I printed the model file size and it shows it as 134 bytes which is clearly an issue. I'm currently engaging with the digital ocean support engineers so hopefully they can assist.
I guess this is a cloud deployment issue so I'll close this one. Thanks again!


deploy kube web view

closes #290

Can we deploy this to platform-system namespace instead with its own deploy method ?


Api reference with description api

How about api reference with normal description class and methods, as for example in the stl
When navigate on table of contents in part reference, it is not obvious that class names are references. Can I add a list of classes separately in the table of contents?

I agree the class references are hidden.  Sure, go ahead and make them more prominent.

@SmileGobo any chance you would be able to do what was suggested?

@jeking I'm sorry, but I am very busy to do this.


feat: bump gotrue to v2.66.0

Bumps GoTrue to v2.66.0.

Are we good to merge this, or did we want to run the SQL manually first to delete the expired tokens?


Add Go Paketo Buildpack Documentation

We should add public facing documentation on the website for the Go Paketo Buildpack.
This should be under the new docs navbar (see https://github.com/paketo-buildpacks/paketo-website/issues/24) as a new page called Paketo Go Buildpack.
These docs should be application developer facing and should document things like:

Possible app configurations supported by the buildpack (e.g Dep, Go Mod, etc..)
Buildpackage artifacts on GCR and how to build a Go app using a buildpackage (e.g pack build --buildpack gcr.io/paketo-buildpacks/go)
Buildpack.yml configurations (specifying specific Go, Dep version, etc.)
vendoring dependencies (for offline use case)
buildpack specific environment variables

This looks great. This has been implemented in the redesign branch and will be merged in once we're closer to shipping all of our website changes.


problem loading a shpfile with more than 5000 layers

Hello, I have two shpfiles that are quite similar (one is simplified of the other). The first shpfile has 5000 layers and library visualize it on the map easily. second one has 10000 layers. But the library cannot load it even though the function that is called to load both files is the same. even I don't get this log.
    shpfile.once("data:loaded", function() {
        console.log("finished loaded shapefile");
    });

Link for 5000 layers file http://gwf-demo.usask.ca/data/shapefiles/sample-5000.zip
link for 10000 layers file http://gwf-demo.usask.ca/data/shapefiles/sample_10000.zip

Any suggestions?

sorry, was on vacation, just got back, first question, are you running out of memory ?


Incorrect instructions for data.js

README says data.js but I think you mean to use the config.yml, please update.

Thanks! Changed README to match current file names!


Feature/laura 7 24 15

Well I learned a lot with this pull request! I think everything is good to go for Wednesday, unless merging master was a no-no. :smile:

Hah.  It's confusing because we don't do it this way on the other apps.
Branch from develop.
Merge develop into your branch.
Make pull request from your branch INTO develop.
Make release branch from develop.
Make pull request from release branch INTO master.

See this


refactor: update blas/ext/base/dapxsumkbn to follow current project conventions

Resolves #1466 .
Description

What is the purpose of this pull request?

This pull request: refactor blas/ext/base/dapxsumkbn to follow current project conventions.
Related Issues
Related issues #788, #1152.

Does this pull request have any related issues?

This pull request:

resolves #1466
progresses #1152

Questions

Any questions for reviewers of this pull request?

No.
Other

Any other information relevant to this pull request? This may include screenshots, references, and/or implementation notes.

No.
Checklist

Please ensure the following tasks are completed before submitting this pull request.

[x] Read, understood, and followed the contributing guidelines.

@stdlib-js/reviewers

pinging @Pranavchiku for the review


Fix typo ui_while_tile -> ui_white_tile

In ui.h, fix typo in define name ui_while_tile -> ui_white_tile. Update references to this definition in ui.c, vm_ui.c

Oh oops, yeah that's a good spot! I'll let @untoxa know, I've also contributed this back to the main engine repo and credited you here https://github.com/chrismaltby/gbvm/commit/f7c45516beae072565f598010e714c7f6eb16faa


Issue while streaming data from backend

Environment info:

KrakenD version: 2.7.1
System info: podman version 5.2.1
Hardware specs: 16GB Ram, 8 core CPU
Backend technology: Go
Additional environment information:

Describe the bug
So I have a service that returns streamed data through a SSE. While passing it through krakend, we use the no-op, however we have an issue: instead of sending chunks of data as they arrive, the gateway wait then sends by bulk (which is not what we want)
Your configuration file:
This is a simplified file
{
  "$schema": "https://www.krakend.io/schema/krakend.json",
  "version": 3,
  "client_tls": {
    "@comment": "Skip SSL verification when connecting to backends",
    "allow_insecure_connections": true
  },
  "name": "KrakenD - API Gateway",
  "extra_config": {
    "security/http": {
      "allowed_hosts": [],
      "ssl_proxy_headers": {}
    }
  },
  "timeout": "100s",
  "disable-compression": true,
  "cache_ttl": "300s",
  "output_encoding": "no-op",
  "endpoints": [
    {
      "endpoint": "/threads",
      "method": "POST",
      "output_encoding": "no-op",
      "backend": [
        {
          "url_pattern": "/threads",
          "encoding": "no-op",
          "sd": "static",
          "method": "POST",
          "host": [
            "https://service.consul"
          ],
          "disable_host_sanitize": false
        }
      ],
      "input_headers": [
        "*"
      ]
    }
  ]
}

Expected behavior
I want the data to be returned as soon as it arrives, and not wait to send a bulk.
Basically it's a problem similar as this one:
https://support.konghq.com/support/s/article/How-can-I-enable-streaming-of-responses-with-text-event-stream-content-types-instead-of-having-the-responses-buffered-and-sent-in-one-large-payload

Related #208 , #822


Fix ping target bug

Coverage increased (+0.05%) to 56.24% when pulling 2d0fb14a9197de2105ac329e0acb689934f35497 on ping_endpoint_dev into 13ffebcff7969082ff28a88f849b82cfbbfe0a6a on master.


[CI DEBUG: DO NOT MERGE] Print the daemon error message upon "generic" message

Signed-off-by: Kenfe-Mickael Laventure<EMAIL_ADDRESS>--
Trying to get some more details from the win2lin failure  (see #21473) since we can't access the daemon log atm.

@mlaventure Can we close this one?


[Feature Request]: Repeatable Tasks

Is your feature request related to a problem?
No.
Solution(s)
A system in which the player may repeat a task and get the reward.
Describe alternatives you've considered
No response
Mod Version
1.0.1
Mod Loader Version
47.1.44
Mod Loader
Forge
Additional context
No response

A configurable cooldown would be nice for this. Maybe even a command to "re-unlock" a quest? Then a datapack could re-unlock a quest with a function based on some criteria.


[JBWS-3797]:More refactor

Linux with security manager Build 813 is now running using a merge of 4b80dd0a8e2cb145602f85fba33e93954a5b7fdd

Windows Build 937 is now running using a merge of 4b80dd0a8e2cb145602f85fba33e93954a5b7fdd

Linux Build 5828 is now running using a merge of 4b80dd0a8e2cb145602f85fba33e93954a5b7fdd

Linux with security manager Build 813 outcome was SUCCESS using a merge of 4b80dd0a8e2cb145602f85fba33e93954a5b7fdd
Summary: Tests passed: 839, ignored: 316 Build time: 0:05:07

Windows Build 937 outcome was FAILURE using a merge of 4b80dd0a8e2cb145602f85fba33e93954a5b7fdd
Summary: Tests failed: 1 (1 new), passed: 2920, ignored: 312 Build time: 0:47:56
Build problems:
Failed tests detected
Failed tests
org.jboss.as.test.integration.jpa.cfgfile.CfgFileTestCase: org.jboss.arquillian.container.spi.client.container.DeploymentException: Cannot deploy: jpa_cfgfile.jar
	at org.jboss.as.arquillian.container.ArchiveDeployer.deployInternal(ArchiveDeployer.java:83)
	at org.jboss.as.arquillian.container.ArchiveDeployer.deployInternal(ArchiveDeployer.java:64)

Linux Build 5828 outcome was FAILURE using a merge of 4b80dd0a8e2cb145602f85fba33e93954a5b7fdd
Summary: Tests failed: 2 (2 new), passed: 2919, ignored: 312 Build time: 0:48:49
Build problems:
Failed tests detected
Failed tests
org.jboss.as.test.integration.ejb.stateful.passivation.PassivationTestCase.testPassivationMaxSize: javax.ejb.EJBException: java.lang.IllegalStateException: WFLYCLEJBINF0008: Stateful session bean {[49, 83, -31, 46, -30, 83, 67, 48, -77, 57, -110, -108, 104, -25, 100, 79]} refers to an invalid bean group 5b6610dd-a9b7-4ae3-8805-d384fcda2216
	at org.wildfly.clustering.ejb.infinispan.bean.InfinispanBeanFactory.createBean(InfinispanBeanFactory.java:76)
	at org.wildfly.clustering.ejb.infinispan.InfinispanBeanManager.findBean(InfinispanBeanManager.java:266)

org.jboss.as.test.integration.jpa.cfgfile.CfgFileTestCase: org.jboss.arquillian.container.spi.client.container.DeploymentException: Cannot deploy: jpa_cfgfile.jar
	at org.jboss.as.arquillian.container.ArchiveDeployer.deployInternal(ArchiveDeployer.java:83)
	at org.jboss.as.arquillian.container.ArchiveDeployer.deployInternal(ArchiveDeployer.java:64)

retest this please

Linux with security manager Build 815 is now running using a merge of 4b80dd0a8e2cb145602f85fba33e93954a5b7fdd

Linux Build 5830 is now running using a merge of 4b80dd0a8e2cb145602f85fba33e93954a5b7fdd

Windows Build 939 is now running using a merge of 4b80dd0a8e2cb145602f85fba33e93954a5b7fdd

Linux with security manager Build 815 outcome was SUCCESS using a merge of 4b80dd0a8e2cb145602f85fba33e93954a5b7fdd
Summary: Tests passed: 839, ignored: 316 Build time: 0:04:59

Windows Build 939 outcome was FAILURE using a merge of 4b80dd0a8e2cb145602f85fba33e93954a5b7fdd
Summary: Tests failed: 1, passed: 2920, ignored: 312 Build time: 0:47:40
Build problems:
Failed tests detected
Failed tests
org.jboss.as.test.integration.jpa.cfgfile.CfgFileTestCase: org.jboss.arquillian.container.spi.client.container.DeploymentException: Cannot deploy: jpa_cfgfile.jar
	at org.jboss.as.arquillian.container.ArchiveDeployer.deployInternal(ArchiveDeployer.java:83)
	at org.jboss.as.arquillian.container.ArchiveDeployer.deployInternal(ArchiveDeployer.java:64)

Linux Build 5830 outcome was FAILURE using a merge of 4b80dd0a8e2cb145602f85fba33e93954a5b7fdd
Summary: Tests failed: 2 (1 new), passed: 2919, ignored: 312 Build time: 0:49:36
Build problems:
Failed tests detected
Failed tests
org.jboss.as.test.smoke.webservices.WSTestCase.testManagementDescriptionMetrics: java.lang.AssertionError: null
	at org.junit.Assert.fail(Assert.java:86)
	at org.junit.Assert.assertTrue(Assert.java:41)

org.jboss.as.test.integration.jpa.cfgfile.CfgFileTestCase: org.jboss.arquillian.container.spi.client.container.DeploymentException: Cannot deploy: jpa_cfgfile.jar
	at org.jboss.as.arquillian.container.ArchiveDeployer.deployInternal(ArchiveDeployer.java:83)
	at org.jboss.as.arquillian.container.ArchiveDeployer.deployInternal(ArchiveDeployer.java:64)

retest this please

Windows Build 940 is now running using a merge of 4b80dd0a8e2cb145602f85fba33e93954a5b7fdd

Linux Build 5831 is now running using a merge of 4b80dd0a8e2cb145602f85fba33e93954a5b7fdd

Linux with security manager Build 816 is now running using a merge of 4b80dd0a8e2cb145602f85fba33e93954a5b7fdd

Linux with security manager Build 816 outcome was SUCCESS using a merge of 4b80dd0a8e2cb145602f85fba33e93954a5b7fdd
Summary: Tests passed: 839, ignored: 316 Build time: 0:06:33

Windows Build 940 outcome was FAILURE using a merge of 4b80dd0a8e2cb145602f85fba33e93954a5b7fdd
Summary: Tests failed: 1, passed: 2920, ignored: 312 Build time: 0:47:11
Build problems:
Failed tests detected
Failed tests
org.jboss.as.test.integration.jpa.cfgfile.CfgFileTestCase: org.jboss.arquillian.container.spi.client.container.DeploymentException: Cannot deploy: jpa_cfgfile.jar
	at org.jboss.as.arquillian.container.ArchiveDeployer.deployInternal(ArchiveDeployer.java:83)
	at org.jboss.as.arquillian.container.ArchiveDeployer.deployInternal(ArchiveDeployer.java:64)

Linux Build 5831 outcome was FAILURE using a merge of 4b80dd0a8e2cb145602f85fba33e93954a5b7fdd
Summary: Tests failed: 1, passed: 2919, ignored: 312, muted: 1 Build time: 0:48:51
Build problems:
Failed tests detected
Failed tests
org.jboss.as.test.integration.jpa.cfgfile.CfgFileTestCase: org.jboss.arquillian.container.spi.client.container.DeploymentException: Cannot deploy: jpa_cfgfile.jar
	at org.jboss.as.arquillian.container.ArchiveDeployer.deployInternal(ArchiveDeployer.java:83)
	at org.jboss.as.arquillian.container.ArchiveDeployer.deployInternal(ArchiveDeployer.java:64)

@asoldano please approve.
The org.jboss.as.test.integration.jpa.cfgfile.CfgFileTestCase failure is unrelated.

As long as this introduces no regressions in AS and JBWS testsuite, it's approved. Thanks Jim.

@jimma Can you confirm the JBWS testsuite passes?

@kabir Yes. I can confirm this won't break JBWS testsuite. Thanks.


Upgrade from python3.9 to python3.10

Description
Update code, CI and doc  from python3.9 -> to python3.10

Maybe add shield to readme. i.e. add the following:

code:


TO DO: Roadmap for next releases

==> Next Release (priorities):

replace out~ for output~ and maybe get rid of setdsp~ ?

Provide cyclone 0.5 for mac 32 bits

porres/pd-else#580

scope https://github.com/porres/pd-cyclone/issues/260

sprintf https://github.com/porres/pd-cyclone/issues/481

[comment] => https://github.com/porres/pd-cyclone/issues/436

Fix an updated but not yet fixed object: [vectral~]: https://github.com/porres/pd-cyclone/issues/355

[seq] issues: https://github.com/porres/pd-cyclone/issues/258 & https://github.com/porres/pd-cyclone/issues/462

Check out this issue with [zerox~]: https://github.com/porres/pd-cyclone/issues/298

Object Resizing bug: https://github.com/porres/pd-cyclone/issues/223

Max 8 https://github.com/porres/pd-cyclone/issues/424

Whatever other issues are still open :)

==> Further Releases:

Compile and provide a single binary library

Revise documentation and add meta

Check double precision in filters, phase, etc

==> Reorganising issues:

get "shared" dependency in line with the others (in the makefile or not) - but I got no idea how this works...

Objects affected:

mtr

sub_lib_cyclone

phasewrap~

play~

rand~

record~

wave~

why do we need these things on the makefile for magic or shared???
cflags = -Ishared -DHAVE_STRUCT_TIMESPEC
uname := $(shell uname -s)

maybe have one simple big folder with all remaining dependencies

clean & learn how to deal with silly macOS .DS file to ignore it

==> Existencial issue:

Think about "selectors": Since max considers all symbol atoms as a "symbol message", maybe we should consider all symbolic atoms as symbols instead of "anything" when they're coming out of cyclone's objects... some pd objects do that by the way, such as "unpack" - cyclone is inconsistent, sometimes it uses selectors, sometimes it doesn't: iter does, [zl iter] doesn't, for instance. we could: A) leave it as it is; B) Make it either one or another. [prepend] is famous for not using list selectors, and people basically use it to save from using [list trim]. It might be bad to make it use selectors. Should we take all selectors from all objects? like [iter] / [pak], and others I should check... (?)

why is this needed in the makefile?
uname := $(shell uname -s)
ifeq (MINGW,$(findstring MINGW,$(uname)))
ldlibs += -lpthread
exe.extension = .exe
endif

NEW ADDITIONS & FIXES IN MAX 8

In: Max 8.0.0:

line~/curve~: maxpoints attribute to increase list length
matrix~: connect message has a gain argument
capture: usability improvements (seems to be new "size" and "listout" attributes)
scope~ automatic mode

bug fixes:

poke~: responds to lists (we don't have this bug)
coll: dialog rewording when closing text window (no Idea what this is about)

other:

comment: bubbleusescolors attribute to use background color for bubble mode (we were not going to update this object to Max 7 anyway, just Max 5).

In: Max 8.0.1
fixes of issues in coll we don't seem to have:

coll: contents available for output immediately
coll: fixed freeze with goto messages

In: Max 8.0.2

cycle~: 'reset' message to reset phase (a la phasor~)

In Max 8.0.8:

sprintf: allows list input to cold inlets to set subsequent inlets (new feature)
atoi: no longer truncates floats (fix)

Up to Max 8.1.1:
-nothing
In Max 8.1.2:

coll: added precision attribute for number representation

bug:

bitshift~: tests for NaN before outputs
cycle: fixed mode 1
cycle~: improved phase calculation when set via float

In Max 8.1.3:

drunk: modernised seed implementation
record~: int and float behave as described in the documentation
scale: fixed usage of exponent less than 1.0
scale~: parity with scale in classic mode

In Max 8.1.3:

buffer~: filetype and format are now attributes

Up to Max 8.1.5:
-nothing
http://cycling74.s3.amazonaws.com/support/version_8_1_5.html


How to deploy this boilerplate to Elastic Beanstalk?

Hey guys! I tried to publish my app based on this boilerplate to AWS Elastic Beanstalk. Deploy failed.
I got something like this:
<EMAIL_ADDRESS>start /var/app/current
 concurrent --kill-others "npm run start-prod" "npm run start-prod-api"
 sh: concurrent: command not found

How can i resolve it?

I believe the command is supposed to be concurrently --kill-others "npm run start-prod" "npm run start-prod-api" concurrently not concurrent

Same problem, concurrently dosen't fix it.

You should remind that ElasticBeanstalk(EB) npm install's with --production option. So you have to move concurrently module to "dependencies" from "devDependencies" in package.json.

Alternatively you can install it globally (so that the executable is on the path).
Add a file .ebextensions/01_install_concurrently.config with content:
commands:
  01_install_concurrently:
    command: "npm i -g concurrently"

@mpisanko Thanks for your advise. But, it has 'npm not found' erros, then symlink needed.
container_commands:
  01_node_symlink:
    command: "ln -sf `ls -td /opt/elasticbeanstalk/node-install/node-* | head -1`/bin/node /bin/node"
  02_npm_symlink:
    command: "ln -sf `ls -td /opt/elasticbeanstalk/node-install/node-* | head -1`/bin/npm /bin/npm"
  03_install_concurrently:
    command: "if [ ! -e /bin/concurrently ]; then npm install concurrently -g; fi"
    ignoreErrors: true

@mpisanko Thanks for your advise. But, it has 'npm not found' error. some changing needed to following.
container_commands:
  01_install_concurrently:
    command: "export PATH=$PATH; npm install concurrently -g"

Sadly, Timeout error on t2.micro.
If using docker, it success.
Create the docker image, push to docker hub and deploy to AWS EB Docker.
https://github.com/erikras/react-redux-universal-hot-example/pull/946
@hanjukim Thank you!!

Did anyone successfully deploy this example app to Beanstalk?

@demobo-com Yes I did, after some modifications

@hanjukim can you shed some light on this? Maybe share a README guide on deployment on Beanstalk. Thanks a lot.

@demobo-com Check out #946 you better use docker because node.js version that ElasticBeanstalk uses is 4.x

@demobo-com Maybe, you need to study docker.

@demobo-com I used docker for deployment too, but It wasn't enough memory
for npm install with t2.micro or t2.small so I used t2.medium.
2016-06-18 13:02 GMT+03:00 Dongwoo Gim<EMAIL_ADDRESS>
@demobo-com https://github.com/demobo-com Maybe, you need to study
docker.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/erikras/react-redux-universal-hot-example/issues/1085#issuecomment-226933532,
or mute the thread
https://github.com/notifications/unsubscribe/ABn8atzUT9_PuPvYZK1lLypOfOPJwPoPks5qM8IggaJpZM4IC2tE
.

--
Best regard Vadim Gribanov
Linkedin: https://www.linkedin.com/in/yoihito
Skype: v1mk550
Github: https://github.com/yoihito

@yoihito docker image make localy and push to docker-hub.
elastic beanstalk only running docker-image, don't run npm install.


cache validation results

I have a basic last call cache implemented in my major rework PR.
https://github.com/mailgun/validator-demo/pull/4
If you would like to add a full cache feature to this version, I would be happy to collaborate with you on it.

@eliottwiener if you're still interested in adding this, please rebase off of master. I would prefer using an object to cache requests vs element.

@eddywashere Vanilla JS HTML elements and jQuery elements are objects. Technically everything in javascript is and object including associative arrays.


[Bug] Timezones do not work

Addon
Timezones
What happened?
There is nothing new when opening profiles, even after discord restart.

Enable the plugin, right click any user pfp, and set a timezone to a user

I'm not able to get it to work either, even with the above advice. Looking in the console, it seems there's an error upon opening the context menu:

Full error
bc619a8efeedbcb002b1.js:152 [BetterDiscord] [ContextMenu~runPatches] Could not run user-context patch for (ret, props) => {
                              ret.props.children[0].props.children.push([
                                  ContextMenu.buildItem({ type: "separator" }),
                           … TypeError: ret.props.children[0].props.children.push is not a function
    at eval (Timezones.plugin.js:115)
    at Function.runPatches (<anonymous>:4:405559)
    at i (<anonymous>:4:405106)
    at ya (8f641802d49465c1d02c.js:1608)
    at Ns (8f641802d49465c1d02c.js:1619)
    at Su (8f641802d49465c1d02c.js:1663)
    at Oc (8f641802d49465c1d02c.js:1655)
    at Ic (8f641802d49465c1d02c.js:1655)
    at hc (8f641802d49465c1d02c.js:1654)
    at oc (8f641802d49465c1d02c.js:1649)
    at g (8f641802d49465c1d02c.js:1772)
    at L (8f641802d49465c1d02c.js:1773)
    at t.exports (bc619a8efeedbcb002b1.js:21)
    at g.<computed> (bc619a8efeedbcb002b1.js:36)
    at Number.m (bc619a8efeedbcb002b1.js:36)
    at MessagePort.b (bc619a8efeedbcb002b1.js:36)

Unfortunately this is the only error I could find relating to the plugin. I can't even see any HTML tags that could be relating to it.

Same issue and errors here.
Discord PTB 173806, BD Core v1.8.4, ZLib 2.0.11.
Latest of all as well

Fixed in 6c11b28


Custom URN for logout button for 0.5.0

When connecting oauth2 via the keycloak provider I did not find the possibility of determining the URN of the exit button in the interface.
Very often, a user path is used to access the user interface, and it is very different from /, so exit is not possible. So I would like to have an environment setting/variable responsible for that path in order to be able to log out properly.
The launch is carried out in kubernetes. Additionally, the SERVER_SERVLET_CONTEXT_PATH : /kafka-ui parameter is passed

@anushkabishnoi hey, sorry for the delay! We've been already working on it.
If you wish to contribute please refer to contributing guide as a start, thanks!


FfiCallbackTrampolineStub allows CSP and SP to overlap, potentially crashing on signals

https://github.com/dart-lang/sdk/blob/92ca7985a50f8f0c7dbce7be026e9e663af570a3/runtime/vm/compiler/stub_code_compiler_arm64.cc#L513
FfiCallbackTrampolineStub allows CSP and SP to overlap, potentially crashing on signals.  More over it not only sets them to be the same, but allows SP to grow above CSP.
This was caught by trying to run the FFI trampoline in the simulator.  In Debug mode, the simulator spams 4 words below the CSP on every SP set (to simulate potential signal handling, I think?)
https://github.com/dart-lang/sdk/blob/92ca7985a50f8f0c7dbce7be026e9e663af570a3/runtime/vm/simulator_arm64.cc#L970
So one of these are wrong.  I think it's the FFI trampoline code which is unsafe?  @dcharkes @rmacnak-google  @kmillikin
We found this as part of trying to update our fork of Dart (for Shorebird) which has made FFI work from the simulator.
We can get past this by disabling the Simulator's debug writes below the CSP for now.
[edit, sorry Zach, I just associate you in my brain with the simulator.  Actually blaming the debug lines, they were added by @rmacnak-google]

Right, the stub code is signal-unsafe.
Beyond the missing entry frame issue, this is another way FFI is profiler-unsafe.

I think we should just bump CSP enough ahead to prevent this issue.
[I am hoping to get rid of CSP vs SP by the end of the year. Plus minus.]

Thanks.  Out of curiosity, is alignment the only reason that csp and sp are different on arm64?

the simulator spams 4 words below the CSP on every SP set (to simulate potential signal handling, I think?)

I think we would have found this more quickly if it used a marker value instead of the instruction number.  0xbad5144 (badSIM).


manager.py should print the created files, not their contents

It's more useful to see what files were created instead of their contents.
I volunteer to do that change if you agree.

This is true. The code content was useful on beginning so I could see the code generation without going to files. In fact manager.py is little mess right now. I have used no framework for CLI on that time. But since I talked with some people and discoreved that there are some interesting options: http://docs.python-guide.org/en/latest/scenarios/cli/. You can make only your change. But if you wanna dig deeper, once I know you like sometimes, fell free to play around ;)

Done it.
I have other issues to create about manager.py, will do a refactor using one of those frameworks later. :)


chore: upgrade next-themes

#74  👈
master

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

Join @gneiru and the rest of your teammates on  Graphite


submit email with pointer to correct dosocs fork

when the assignment is complete

create new release version before submission for both dosmav and dosocs2

so the pointer to the correct fork of dosocs2 is https://github.com/nadusumilli/DoSOCSv2 ?

yes the correct dosocs version is in my account and that is the pointer to
it.
On Fri, Apr 15, 2016 at 8:51 PM, bwolatz<EMAIL_ADDRESS>wrote:

so the pointer to the correct fork of dosocs2 is
https://github.com/nadusumilli/DoSOCSv2 ?
—
You are receiving this because you commented.
Reply to this email directly or view it on GitHub
https://github.com/bwolatz/CSCI4900/issues/41#issuecomment-210710154

submitting now


handle environment variables

https://github.com/inngest/inngest/blob/main/docs/SDK_SPEC.md#3-environment-variables

Done


[Feature Request][Kernel] Exceptions framework

Feature request
Overview
The currently the exceptions thrown by the kernel-api or kernel-defaults module are arbitary and there is no easy way to distinguish between user (in this case connector) errors vs Delta table reading issues.
Further details
Goals

Want to define an exception where user (connector) errors are clearly distinguishable from the Kernel errors
Error codes?

Tasks:

Design and discussion - 2days
Implementation of exception infra - 3days

We won’t be updating all of the existing code as part of this task.

DataTypeParser added in #2282 throws a bunch of IllegalArgumentExceptions --> consider what exception should be thrown instead. Should we create an exception class that gives the overall schema and highlights the specific part that is wrong?

This has been done! See EXCEPTION_PRINCIPLES.md for details


Skyline/work/20190404 dia work

nothing like ready to merge, but creating this PR to facilitate the conversation with Nick about these time / intensity array length mismatches


Entity creation type safety

Right now, if you create an entity like:
e = datastore.entity.Entity(key, ('data'))

The unindexable properties will be 'd', 'a', or 't'. Obviously in this case the user meant to specify:
e = datastore.entity.Entity(key, ('data',))

Perhaps the Entity constructor should verify that exclude_from_indexes is a list or tuple.
Here is the discussion where the user ran into this: https://groups.google.com/forum/#!topic/gcd-discuss/rqwF8CRdTAY

Thanks for the pointer to the discussion! I'm torn on this.
Getting bit by passing in a string as an iterable is somewhat of a rite of passage in Python (as we saw, the user misunderstood the ('data') syntax as being a way to create a tuple). By whitelisting list and tuple it rules out people that might want to pass in their own custom iterables. On the flipside, this is a really straightforward property so maybe we'd just suggest they pass in list(custom_iterable).

I'm not partial either way, just wanted to pass it on.

Got it. Thanks.
@tseaver WDYT?

One extra thought --
Maybe it should be an error if you provide properties to exclude_from_indexes that you never actually store in the entity. It could indicate bad application logic.

When do we decide the Entity is "final"?

In this instance probably on put.


[CWS] tests: stop collecting hash field values on non-matching events

What does this PR do?
This PR avoids collecting the value of file hashes fields on non-matching events when running the functional tests.
Motivation
Describe how to test/QA your changes
Possible Drawbacks / Trade-offs
Additional Notes

/merge


Minor changes to support vector drawables

Minor changes to support vector drawables

Thanks, I'm waiting for this feature !

Looking good, thank you!

Thanks.
@samkirton It doesn't work for me, I had to add another change to make it works:
In MiscUtils.java, line 23:
I replaced:
import android.widget.PopupMenu;

with:
import android.support.v7.widget.PopupMenu;


[REQ] Immediately close status pages when opened from another app

I don't use twitter directly, I only visit the site when I click on a link. That means returning to the home screen after looking at a tweet is useless to me. It's only a minor thing, but having to close that manually, potentially even by going through a comfirmation popup becomes annoying over time.
https://user-images.githubusercontent.com/24683548/193296615-bd763058-cc27-4995-86a5-67d22e2b3044.mp4
Describe the solution you'd like
So instead I propse not returning to the home screen in this case, and instead to immediately close the app like this:
https://user-images.githubusercontent.com/24683548/193296840-65c12380-1fa7-4a5d-a129-9d395135a141.mp4

This was already implemented with aa54d3a19e27b010593b4798354382340f5a67ca . The changes just were not available in any of the official builds yet.


Use bun?

It seems the default command uses yarn, is there any way to use bun?

Just saw the existance of the tauriScript variable. Closing this.


Italic style

Hi dude, thanks for this great contribution. I have a problem with italic style in certain html tags. I would like to set italic to  tags. In line 514 put italic in the 4th param but can't see changes in html file. Instead i set this manually in .vimrc and works. I hope you can help me. Thanks again.

I know this is an old issue, but I also seem to be having trouble with italics. In my case, I'm not seeing them used at all.
I see references to italic comments in the source code, but they are not rendered for me in practice.
My terminal is iTerm2, and I've configured it to support italics. I've confirmed they do work because adding the following to my .vimrc file italicizes comments:
highlight Comment cterm=italic

Is it safe to rule out a configuration error here? If so, adding the above line seems like a quick and easy way to fix (and could similarly be applied to the other group elements).
If you don't have time to implement this but think that approach seems fine, I'd be happy to give it a shot and open up a PR.
And thanks for your work on the colorscheme. 😄


Header parameters not supported?

Describe the bug
It seems header parameters are not supported? Marking this as bug because it generates a traceback.
Traceback (most recent call last):
  File "/home/user/.local/bin/openapi-python-client", line 8, in <module>
    sys.exit(app())
  File "/home/user/.local/pipx/venvs/openapi-python-client/lib/python3.7/site-packages/typer/main.py", line 213, in __call__
    return get_command(self)()
  File "/home/user/.local/pipx/venvs/openapi-python-client/lib/python3.7/site-packages/click/core.py", line 829, in __call__
    return self.main(*args, **kwargs)
  File "/home/user/.local/pipx/venvs/openapi-python-client/lib/python3.7/site-packages/click/core.py", line 782, in main
    rv = self.invoke(ctx)
  File "/home/user/.local/pipx/venvs/openapi-python-client/lib/python3.7/site-packages/click/core.py", line 1259, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/user/.local/pipx/venvs/openapi-python-client/lib/python3.7/site-packages/click/core.py", line 1066, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/user/.local/pipx/venvs/openapi-python-client/lib/python3.7/site-packages/click/core.py", line 610, in invoke
    return callback(*args, **kwargs)
  File "/home/user/.local/pipx/venvs/openapi-python-client/lib/python3.7/site-packages/typer/main.py", line 496, in wrapper
    return callback(**use_params)  # type: ignore
  File "/home/user/.local/pipx/venvs/openapi-python-client/lib/python3.7/site-packages/openapi_python_client/cli.py", line 91, in generate
    create_new_client(url=url, path=path)
  File "/home/user/.local/pipx/venvs/openapi-python-client/lib/python3.7/site-packages/openapi_python_client/__init__.py", line 48, in create_new_client
    project = _get_project_for_url_or_path(url=url, path=path)
  File "/home/user/.local/pipx/venvs/openapi-python-client/lib/python3.7/site-packages/openapi_python_client/__init__.py", line 31, in _get_project_for_url_or_path
    openapi = OpenAPI.from_dict(data_dict)
  File "/home/user/.local/pipx/venvs/openapi-python-client/lib/python3.7/site-packages/openapi_python_client/openapi_parser/openapi.py", line 227, in from_dict
    endpoint_collections_by_tag = EndpointCollection.from_dict(d["paths"])
  File "/home/user/.local/pipx/venvs/openapi-python-client/lib/python3.7/site-packages/openapi_python_client/openapi_parser/openapi.py", line 44, in from_dict
    endpoint = Endpoint.from_data(data=method_data, path=path, method=method, tag=tag)
  File "/home/user/.local/pipx/venvs/openapi-python-client/lib/python3.7/site-packages/openapi_python_client/openapi_parser/openapi.py", line 150, in from_data
    endpoint._add_parameters(data)
  File "/home/user/.local/pipx/venvs/openapi-python-client/lib/python3.7/site-packages/openapi_python_client/openapi_parser/openapi.py", line 136, in _add_parameters
    raise ValueError(f"Don't know where to put this parameter: {param_dict}")
ValueError: Don't know where to put this parameter: {'name': 'Content-Disposition', 'in': 'header', 'required': True, 'description': 'Name of the file to save', 'schema': {'type': 'string'}}

To Reproduce
Add a header parameter in your spec, try to generate a client from it.
Expected behavior
Header parameters would be supported. How? I don't know :grin:
OpenAPI Spec File
I'm not sure I can share it. I'll try to give a minimal example later.
Desktop (please complete the following information):

OS: RedHat 7
Python Version: 3.7.8
openapi-python-client version 0.4.2

@pawamoy thanks for reporting! I believe you won't get an exception anymore on the main branch (what will be 0.5.0 eventually). It still doesn't support header params yet, so it will probably skip that endpoint, but hopefully you won't get a traceback anymore.

@pawamoy have you been able to try header parameters with 0.5+ yet? If it just skips instead of crashing I think this can move from bug to enhancement.

Yes it skips correctly, no traceback :)


DCOS-37612: Jobs Menu Data Layer - Run Job

Work in progress
Checklist

[ ] Did you add a JIRA issue in a commit message or as part of the branch name?
[ ] Did you add new unit tests?
[ ] Did you add new integration tests?
[ ] If this is a regression, did you write a test to catch this in the future?

@bstavroulakis I am also rebasing it so it is aligned with master.

Ready for review? Jira is in progress

Thanks @DanielMSchmidt for the review, fixed conflicts.

@bstavroulakis This can run against master now <3 sorry for all the conflicts 😞

Closing that in favor of #3023, will incorporate the comments here, there.


Sign up

When users are signing up it just takes them back to the signup page and does nothing...

I also cannot log into my admin account...

https://imgur.com/jWVoR2v

I checked the database to make sure the admin details are on it and correct, they are.

Hi @XxPoNaGeXx
It looks like a problem with the session or your server has permission issues to write the sessions.
You can contact your host for asking them to investigate and check their log.
Concerning the Admin Login form, it is located at http://your-site.com/admin123/
Let me know if the problem persists or if you fix it

Hey @pH-7 I am using my own server. (Linux Debian 8)
Would you be able to give me the commands to fix the write perms?

Probably from your server then! I cannot know like that the exact fix and your config but I suggest you to look at stackoverflow
Or try to install pH7CMS on MAMP (if Mac), XAMPP/WampServer (if Windows) or try on a web hosting (if you got one).
Please let me know ;)

It's already installed on a XAMMP server which is the Linux equivalent

The problem is definitely from there then. Please try to install pH7CMS on a different environment or investigate on the issue. Probably someone else occurred the same problem with XAMMP. Try to see on stackoverflow.com
Hope that helps!
Have . great day

Close it for now in order to keep the workflow clean. PLEASE reopen it if the problem still occur or if you found the trick/fix to fix your problem.


Failure for testing MFGs

Dear authors,
Does anyone get the following failure information while testing MFGs?
The following tests FAILED:
	143 - python/mfg/algorithms/mirror_descent_test.py (Failed)
	144 - python/mfg/algorithms/greedy_policy_test.py (Failed)
	145 - python/mfg/algorithms/nash_conv_test.py (Failed)
	146 - python/mfg/algorithms/policy_value_test.py (Failed)
	149 - python/mfg/games/dynamic_routing_test.py (Failed)

I found two errors lead to the test failure.
(1)
Traceback (most recent call last):
  File "/Users/wangyzh/PycharmProjects/open_spiel/open_spiel/python/mfg/games/dynamic_routing_test.py", line 102, in test_online_mirror_descent_convergence
    nash_conv.NashConv(mfg_game, omd.get_policy()).nash_conv(), 0)
  File "/Users/wangyzh/PycharmProjects/open_spiel/open_spiel/python/mfg/algorithms/nash_conv.py", line 54, in __init__
    root_state=root_state)
TypeError: __init__() got multiple values for argument 'root_state'

(2)
Traceback (most recent call last):
  File "/opt/anaconda3/envs/spiel_env3/lib/python3.7/site-packages/absl/testing/parameterized.py", line 316, in bound_param_test
    return test_method(self, *testcase_params)
  File "/Users/wangyzh/PycharmProjects/open_spiel/open_spiel/python/mfg/algorithms/greedy_policy_test.py", line 53, in test_greedy
    value.TabularValueFunction(game))
  File "/Users/wangyzh/PycharmProjects/open_spiel/open_spiel/python/mfg/algorithms/policy_value.py", line 56, in __init__
    self.evaluate()
  File "/Users/wangyzh/PycharmProjects/open_spiel/open_spiel/python/mfg/algorithms/policy_value.py", line 102, in evaluate
    self.eval_state(state)
  File "/Users/wangyzh/PycharmProjects/open_spiel/open_spiel/python/mfg/algorithms/policy_value.py", line 60, in eval_state
    state_str = state.observation_string(pyspiel.PlayerId.DEFAULT_PLAYER_ID)
AttributeError: 'TabularValueFunction' object has no attribute 'observation_string'

I also noticed that when test the routing game, a bunch of playthrough information is printed out. For example,
RandomSimTest, game = python_mfg_dynamic_routing, num_sims = 10
Information state vector size: 0
Observation vector size: 28
Utility range: -11 0
Starting new game..
Initial state:
State:
Before initial chance node
player -1
sampled outcome: Vehicle is assigned to population 2. with prob 0.333333
State:
Location=O->A, waiting_time=2, t=0, destination='D->E'
player 0
Rewards: 0
Returns: 0
Sum Rewards: 0
chose action: 0 (Vehicle 0 reach a sink node or its destination.)
State:
Location=O->A, waiting_time=1, t=1_mean_field, destination='D->E'
player -5
State:
Location=O->A, waiting_time=1, t=1, destination='D->E'
player 0
Rewards: 0
Returns: 0
Sum Rewards: 0

Thanks in advance!

Hi @wyz2368,
Can you explain how you are getting these errors? Is this via a fresh checkout of master and running build_and_run_tests.sh?
Because I don't see how to reproduce it. Several of the PRs have run tests throughout the week and they all passed. So I suspect it's something local to your setup. Did you recently pull from master? I wonder if you have an older setup and if you need to remove some cached files.

Can you try a completely fresh check out from master to see if it happens in that case?


Type for label should be React.ReactNode instead of string

I am adding translation to a web application I am working on.
I have made a custom component (called Tr) that loads translation data  from the server and looks up the right translation from the users selected language.
But when I try to use it with for example the Link component I get type errors saying that Types of property 'label' are incompatible. Type 'Element' is not assignable to type 'string | undefined'.
I can get around the error by casting my  object to any, but that feels not so good to me.
So, therefore I propose that you make properties like label on all components to be of type React.ReactNode instead.
The reason I don't want to use a raw string is because I want to be able to color the text in a different color if the translation is missing. There are also data-tags on the translated text (in a  tag) that identify the text ID so I can relate to it at a later stage when it is rendered in the browser and also to allow for inline translation updates.
By the way, the AppBar title have some special case handling for when the title is of type string. If it is, it renders the title correctly, if it is not, it skips the h1-tag, and the AppBar theming breaks.
Some sample code:
            <AppBar title="{
 as any}" leftIcon="menu">
              <Navigation type="horizontal">
                <Link label={
 as any} icon="inbox" style={{color: 'white'}}/>
                <Link active label={
 as any} icon="person" style={{color: 'white'}}/>
              </Navigation>
            </AppBar>

This has been answered already I think, check this out: https://github.com/react-toolbox/react-toolbox/issues/1306


It's very very slow (even despite a cache.JSONCache() decorator).

Whoops, wrong repo.


Some URL svgs don't work

Bug
I use SvgUri component from react-native-svg and it works perfectly fine but won't show some svg urls uploaded to aws in my case the algo crypto coin svg .
import { SvgUri } from 'react-native-svg';

{coinsTable.map((coin) => {
   return (
          <SvgUri
                     style={{width: 40, height: 40}}
                     uri={coin.img}
              />
     )
})}

The url for the not working algo svg is exactly like other svg urls :
https://hollaex-resources.s3.ap-southeast-1.amazonaws.com/icons/algo.svg
sand svg logo url which is working fine :
https://hollaex-resources.s3.ap-southeast-1.amazonaws.com/icons/sand.svg
Environment info
React native info output:
System:
    OS: macOS 13.3.1
    CPU: (8) arm64 Apple M1
    Memory: 107.09 MB / 8.00 GB
    Shell: 5.9 - /bin/zsh
  Binaries:
    Node: 16.8.0 - ~/.nvm/versions/node/v16.8.0/bin/node
    Yarn: 1.22.19 - ~/.nvm/versions/node/v16.8.0/bin/yarn
    npm: 7.21.0 - ~/.nvm/versions/node/v16.8.0/bin/npm
    Watchman: Not Found
  Managers:
    CocoaPods: 1.11.3 - /Users/mehdi/.rvm/rubies/ruby-2.7.6/bin/pod
  SDKs:
    iOS SDK:
      Platforms: DriverKit 22.2, iOS 16.2, macOS 13.1, tvOS 16.1, watchOS 9.1
    Android SDK:
      API Levels: 28, 29, 30, 31, 32, 33
      Build Tools: 28.0.3, 29.0.2, 30.0.2, 30.0.3, 31.0.0
      System Images: android-29 | Google APIs ARM 64 v8a, android-29 | Google APIs Intel x86 Atom
      Android NDK: Not Found
  IDEs:
    Android Studio: 2021.3 AI-213.7172.25.2113.9123335
    Xcode: 14.2/14C18 - /usr/bin/xcodebuild
  Languages:
    Java: 15.0.2 - /usr/bin/javac
  npmPackages:
    @react-native-community/cli: Not Found
    react: 17.0.2 => 17.0.2
    react-native: 0.66.1 => 0.66.1
    react-native-macos: Not Found
  npmGlobalPackages:
    *react-native*: Not Found

Library version: ^12.1.0
Describe what you expected to happen:
I expected SvgUri component would show the algo svg url just like other svg urls .

This repo is littered with issues about SvgUri not displaying stuff correctly.
Here's a Snack I made that collects up some of the problematic URLs: https://snack.expo.dev/@tamlyn/react-native-svg-issues
Notes:

You'll need to run it on a real device since the component doesn't work at all in React Native Web
Snack only supports 13.4.0 of react-native-svg which doesn't even attempt to render the broken SVGs – the latest version 13.9.0 manages a bit better but the output is still wrong
SVG rendering is hard 😠

I experienced the same issue as you. The problem is not with the package; it's with your SVG icon. The 'fill' attribute is missing inside the 'path' element. By default, it is black, but if it's not explicitly set, the package cannot display the icon. Just add fill="#000000" inside the 'path' tag in your icon, and it should work.


[DOC] Docs refer to CLI executable name prefab, but actual name is cli

URL
https://google.github.io/prefab/#usage
Problem
The documentation refers to an executable called prefab, however, after running gradlew installDist the binary which gets created is called cli. Additionally the output from cli is:
Usage: prefab [OPTIONS] [PACKAGE_PATH]...

Suggest either updating docs or renaming CLI executable to prefab

I'd prefer fixing the name, so recategorizing. Something worth doing before 1.0 is finalized.


learning paths = premium feature

It would be helpful to place a note that the creation of learning paths is a premium feature.

Document Details
⚠ Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.

ID: c37e9f68-03c6-edb7-533a-fcfe4b0018d3
Version Independent ID: c37e9f68-03c6-edb7-533a-fcfe4b0018d3
Content: Creating Learning paths in Viva Learning
Content Source: Viva/learning/creating-learning-paths.md
Service: viva
Sub-service: viva-learning
GitHub Login: @bhaswatic
Microsoft Alias: bhaswatic

Finally get the info! Thanks.
Seriously, it's not even in the blog post.. I finally bought a license to discover it's a premium feature..
Even the Microsoft Support have no clue :s

Article has been updated. Thanks for your feedback.


Can I record audio using core_audio?

I can't find kAudioDevicePropertyStreamConfiguration property in core_audio.
https://developer.apple.com/documentation/coreaudio/1545866-anonymous/kaudiodevicepropertystreamconfiguration
Do Core Audio implementations support audio recording?

Hello, what kind of recording you would like?
I'm planning to implement AudioFile api today/tomorrow. Or you need different api?
PS: Added missing props.

Hi, I'm new to macOS API, so I don't know if this answers your question, but I want to use AudioUnit API.
https://developer.apple.com/documentation/audiotoolbox/audio_unit_v2_c_api
https://developer.apple.com/documentation/audiotoolbox/aurendercallbackstruct

This examples you want.
I will provide example app tomorrow

They are actually basic tests. But I will provide example app to.

I want to use kAudioDevicePropertyStreamFormat property
https://developer.apple.com/documentation/coreaudio/1580731-anonymous/kaudiodevicepropertystreamformat
Could you add this?

I really do not want to support deprecated API.
And that const is defined in AudioHardwareDeprecated.h header.
You can define it yourself:
const STREAM_FORMAT: AudioObjPropSelector = AudioObjPropSelector(u32::from_be_bytes(*b"sfmt"));

https://github.com/yury/cidre/blob/2e76d334fed59d1393994a5042acdd64113ca7e3/cidre/src/at/audio/unit/output.rs#L301-L310
Here I try to get the audio samples, but io_data.is_null() is true. So I got segmentation fault when I access to the raw pointer.
How to get samples? I'm waiting your example app.🙏

Here basic audio unit capture example. It is starting point, idea to show wave in ascii :)

Thank you! The example works on my device. Finally, I can record audio from mic!
I have a question.
There is a function Output::set_current_device for change the output current device, but there is no function for input.
I want to change the input device in order not to use the default device.
This code works, so that is no problem, but just wondering a little.
output.set_io_enabled(au::Scope::INPUT, 1, true)?;
output.set_io_enabled(au::Scope::OUTPUT, 0, false)?;

let property_address = core_audio::AudioObjPropAddr {
    selector: core_audio::AudioObjPropSelector::HARDWARE_DEVICES,
    scope: core_audio::AudioObjPropScope::GLOBAL,
    element: core_audio::AudioObjPropElement::MAIN,
};
let devices: Vec<core_audio::AudioObjId> = core_audio::AudioObjId::SYS_OBJECT
    .prop_vec(&property_address).unwrap();

let device_id = device[0]; // Select a device you want to use

output
    .unit_mut()
    .set_prop(
        au::PropId::OUTPUT_CURRENT_DEVICE,
        au::Scope::GLOBAL,
        au::Element(1),
        &device_id,
    );

Ok, I fixed and tune some API.
Output unit property reports devices via output_device and input_device.
Also added core_audio::AudioObjId::SYS_OBJECT.hardware_devices()  shortcut.
And proper implemented input_stream_cfg and output_stream_cfg for device.
Thank you for your patience and feedback.

Thank you for your effort!
I will close this issue.
Thank you so much.


nixos-rebuild results in system shutdown

Issue description
Running sudo nixos-rebuild results in system shutdown.
Here is the output:

building Nix...
building the system configuration...
stopping the following units: -.slice, acpid.service, alsa-store.service, cpufreq.service, cups.service, dbus-org.bluez.service, ip-up.target, kmod-static-nodes.service, network-local-commands.service, network-setup.service, nix-daemon.service, nix-daemon.socket, nscd.service, ntpd.service, rtkit-daemon.service, systemd-modules-load.service, systemd-sysctl.service, systemd-tmpfiles-clean.timer, systemd-tmpfiles-setup-dev.service, systemd-udev-trigger.service, systemd-udevd-control.socket, systemd-udevd-kernel.socket, systemd-udevd.service, systemd-vconsole-setup.service, udisks2.service, upower.service, wpa_supplicant.service
/nix/store/7477602hk149iq631fyf0dvn28gf0zf0-nixpkgs-17.09pre102350.fa03b82/nixpkgs/nixos/modules/installer/tools/nixos-rebuild.sh: line 235:  3106 Hangup                  "$@"

Steps to reproduce
sudo nixos-rebuild
Technical details

System: 16.03pre73106.b1dca6c (Emu)
Nix version: nix-env (Nix) 1.10
Nixpkgs version: 17.03pre101839.53a2baa

If you're attempting to switch from 16.03 to 17.03, I'd personally recommend to use nixos-rebuild boot for such big upgrades instead of nixos-rebuild switch.  (That is not to say we don't want it to work, but it just is less reliable for large changes.)

Solved by upgrading gradually.
From 16.03 Unstable to 16.03 Stable to 16.09 Stable
In my understanding the issue still remains if you are trying to skip several versions when upgrading.


Bash user file system and user integration is poor.

Although I am new to this windows subsystem it has some potential. To be clear I have never understood why windows doesn't rewrite their OS to be a UNIX variant with their own stuff on top of it and I think it would be amazing if they did so. They certainly have the manpower and talent and perhaps this project will allow me to use windows for professional development again!
Anyway to the issue, the fact that there is a separate user makes it difficult to navigate and understand the two systems. The two users don't have integrated permissions or even profiles. The paths are not integrated and That makes it confusing to know where you are.
Suggestions:
in the bash subsystem the home directory should be a symlink to the user's windows home directory so they don't have to maintain two home systems. Also the root of the lxss file system should not reside under AppData (which is a directory hidden by most MS tools, but rather at the root of the main drive (i.e. c:\lxss). This would make the subsystem significantly easier to relate between windows and subsystem files.

Hi @kraythen -- thanks for bringing this up!
I believe the gist of your first suggestion, having Linux and Windows share the same home directory, has been discussed before in this ticket tracker.  Though I'm failing to find a ticket reference; hopefully someone else will come across one.  There are advantages, but there are significant downsides to that approach that are specific to (as is the case with WSL) a system that aims to be 100% binary-compatible with Linux, and that would not apply to SFU-style POSIX compatibility:  This causes dotfiles written by Windows programs (those that write to your home directory rather than AppData, anyway) and dotfiles written by Linux programs to be shared.  Which means for example that your dotfiles cannot contain any absolute paths, because Windows binaries will reject Linux paths as invalid and vice versa.  Also, in many cases (as has been observed on several tickets here by NodeJS developers recently, for example), existing Windows script interpreters require that text files have Windows newlines, whereas the corresponding Linux binaries require Linux newlines.  You can't simply rely on Linux developers to open files in text mode because they may not open() files at all:  bash itself, for example, is well-known for mmap()ing script files such that you can (for better or for worse) edit the bytes of the file on disk and observe corresponding changes in the script's behavior.
The only generalizable way to make these two environments play nice with each other would be to modify the relevant binaries.  Microsoft (which, by the way, I don't work for; I just use WSL a lot) could of course do that for open-source projects.  But there are a lot of proprietary Linux binaries out there, and supporting them without modification is one of the motivations behind WSL.
Regarding placing the filesystem at C:\lxss, I personally really like that idea.  But you've skipped over the hard part :-)  Before the WSL devs could do that, they would need to address the following:

WSL user accounts are currently per-Windows-user.  If you set file permissions in one Windows user's home directory, those permissions will not be meaningful to WSL in another user's Windows account.  So presumably you would also need tighter integration for user accounts.
The current lxss directory is deliberately hidden, and is very explicitly not supposed to be accessed from Windows at all, because it uses NTFS features that many Windows programs don't understand.  As a result, if you attempt to modify stuff in that directory from Windows, more likely than not you will cause the files and directories that you modify from Windows to become unusable from Linux applications.  I think the WSL folks can and should make things much more compatible than they are today.  But at some level, the filesystem abstraction that existing Windows programs expect is different from the filesystem abstraction that existing Linux programs expect.  And the reason that I personally often use Windows with WSL, rather than my Mac, one of my Linux machines, my OpenBSD box, or one of my old SPARCStations, is because I have apps that are specific to Linux and apps that are specific to Windows, and I want to have them interact with each other.

http://stackoverflow.com/questions/20797819/command-to-change-the-default-home-directory-of-a-user#26427748
You might want to try this command if you absolutely want to share homes between the two.

Well frankly because of this and other things, the subsystem is just no usable by me at all, I will continue to run Ubuntu in a VM.  I have been programming 33 years and often wondered why windows just doesnt go full bore unix based. No idea but managing multiple home directories, one of which is in an application data directory hidden from use and obscure? I dont know what you guys are targeting here for a release but this isnt useful to me or any other dev i have run it by.