monorepo refactor

Blog post: http://vitessce-data.s3-website-us-east-1.amazonaws.com/docs/2022-10-25/c625d225/blog/internal-refactoring/
Fixes #1290
Fixes #1222
Fixes #1126
Fixes #811
Fixes #686
Fixes #521
Fixes #525
Fixes #546
Fixes #563
Fixes #504
Fixes #485
Fixes #392
Fixes #380
Fixes #214
Todo

[x] prepare for beta release on NPM
test

[x] portal-ui
[ ] vitessce-python
[ ] vitessceR

[x] re-enable eslint
[x] use pnpm publish in deploy workflow
[x] update README.md and remove README-monorepo.md
[x] update remaining integration tests
[x] convert lighten()/darken() SCSS calls to colors
[x] add integration test for importing the UMD and ESM bundles into an HTML page
re-try addressing multiple deck.gl versions issue by adding more pnpm overrides/peerDependencyRules in the root package.json
[x] create new sub-package for main package's development bundle, and re-enable sourcemaps
add upgrade guide to docs
[x] try rollup's bundle visualizer plugin within vite build step
[x] add a "dryrun" meta-updater mode

Checklist

[ ] Ensure PR works with all demos on the dev.vitessce.io homepage
[ ] Open (draft) PR's into vitessce-python and vitessce-r if this is a release PR
[ ] Documentation added or updated

Blog post looks good.  I will look at this on Thursday.   Much like the Viv refactor, this looks like more than it is, so I am confident it won't take long to go through it.

It's kinda hard to see, but it looks like there weren't many.  This is mostly moved-around code then?  In any case, developing will be hopefully easier so tracking them down shouldn't be so painful.

Yes it is mostly moving around code and updating tests and build scripts. I think it is up for debate which things should be separate packages vs together in the same package. I tried to define packages where there were functions or components that could stand alone. The file pnpm-workspace.yml defines which directories may contain packages https://github.com/vitessce/vitessce/blob/keller-mark/pnpm-incremental-2/pnpm-workspace.yaml For instance, there is an additional level of directories for packages/file-types, packages/view-types, packages/utils and packages/main. The good thing about the monorepo is that we can decide to move things around in the future with minimal effort, since the imports in the code are from packages rather than relative file paths.

My only comment here is that I don't think we can realistically move stuff around because then that is a breaking API change.  Hence my current concern.  If you're confident about this, though, I don't feel strongly - we're only talking about a few seconds here I imagine.


Attributes for menuBarTemplate

Hi, it's a very small commit which adds option to set attributes onto the menuBarTemplate tag. Thanks to this, I was able to set theme: 'dark' attribute.

Hi @emadalam, of course, I will happily do the changes. I wasn't convinced about the name either 💯 .

Ok, I have done the proposed changes :)


Add color interpolator tests

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-22.2%) to 8.95%

Totals

Change from base Build<PHONE_NUMBER>:
-22.2%

Covered Lines:
70

Relevant Lines:
875

💛  - Coveralls


[FLOC 3360] Reword the introduction to Configuring Flocker

Fixes 3360
Makes the wording clearer for users to understand that they must have installed Flocker before the config steps

Nice improvement. I'll go ahead and merge this now.

thanks @sarum90


Ability to subclass/extend t.form.textbox with es6 classes

This would make tempting and writing custom components way easier

(issue noted, I'm thinking about it... nice suggestion, thanks)

@nelix Something like this (experimental branch v0.5)?
The base Component:
https://github.com/gcanti/tcomb-form/blob/v0.5/lib/components/Component.js
The Textbox component (extends Component)
https://github.com/gcanti/tcomb-form/blob/v0.5/lib/components/Textbox.js

Yeah that would look really nice from the outside to those using es6 classes I think.
Some detailed documentation for the lifecycle of a tcomb component would help.

v0.5-alpha on master
missing:

tests (complete code coverage)
docs
guide
demos

v0.5-alpha on master
missing:

tests (complete code coverage)
docs
guide
demos

@Chrisui

Changelog till now

Support bootstrap static controls
Support min/max for number type
Support attributes and input className customization
Pass events to inputs
Set class on form-group div indicating its depth within form
added Form.getComponent(path) API to access form components

Now you can implement a basic custom component in a few lines:
class MyComponent extends t.form.Component {

  // the only required implementation
  getTemplate() {
    return (locals) => {
      return (
        <div onClick={locals.onChange.bind(this, 'world')}>
          Hello {locals.value}
        </div>
      );
    };
  }

}

Looks good.
Do you still pass this through with the form options? Ie. does it replace 'templates' option? (sorry haven't had chance to trawl the code too much! :)

The template option is still in place. This is useful if you want to write a custom component (factory option)


Upgrade web-resource-inliner

Very small package now
<EMAIL_ADDRESS>Requires node 10+

Wooh, I think I'm done here


Cursor fallback not working

Setting one of my styles to the following cursor doesn't have any effect (it stays as the default pointer).
cursor: ['-webkit-grabbing', '-moz-grabbing', 'move']

Nor does this.
cursor: ['move', '-webkit-grabbing', '-moz-grabbing']

Nor this.
cursor: ['pointer', 'move']

This, however, does work.
cursor: ['move']

@fritz-c: I can't reproduce this. It's possible that a recent update to inline-style-prefixer fixed this issue. Could you try upgrading to radium 0.17.0 and see if you're still seeing this?

@alexlande I did upgrade to 0.17.0, but unfortunately it doesn't seem to have had an effect.
FYI, my environment OS X 10.11.3, Chrome 49. If I recall correctly, though, it wasn't working on Windows  7 with IE either.
If it's not too much to ask, could you try running this code in your environment?
https://github.com/fritz-c/react-image-lightbox/tree/cursor-fallback
I tweaked a single spot on this branch such that it would use pointer if available, and move as the fallback (in reality I want to use move as a fallback to -moz-grab/-webkit-grab, but I think this suffices as an example). To trigger the condition to change the cursor you have to zoom in on the image.
If you're on a Mac, the way to run it is to use gulp dev, and open up localhost:8000.
There's a fair chance that the issue could be in my code, but the fact that it works without the fallback gives me doubts about that.

Hmm, weird. I checked this out for a minute and was able to reproduce it, but haven't been able to track down what's going on yet.
It works fine if you use fallback styles on other elements in the component, like the toolbar, but not on the images. I tested an image in isolation too and it works. Not sure where things are going wrong.

I'm having a similar issue with fallback values.
This works:
 background: [ `linear-gradient(${color}, ${colorPrime})` ]

This does not:
background: [ `linear-gradient(${color}, ${colorPrime})`, color ]

I'll try to put together a repro.

I have the same issue with Radium 0.19.4

Same background issue, if more than one background is in array, nothing is rendered for that attribute.  Radium 0.19.6.


view_to_component() Utility Function

This already exists within Conreq, but needs some work to be ported over to Django-IDOM

Blocked on #37


Allow duplicating a layer without a parent

Address #376 and allow layer.duplicate() to complete even when the initial layer doesn't have a parent.

Warnings

:warning:
This pull request may need a CHANGELOG entry.

:warning:

Source/dom/layers/Layer.js changed, but not:

📚 its docs

That's OK as long as you're refactoring.

  Generated by :no_entry_sign: dangerJS


fix: in case the YML file does not exist

When the folder structure where we want to store the YML with the texts does not exist, File.write throws an error, because it is not able to create the intermediate folders between the root and the YML file.

thanks.


Setting host.api forces http

When running in an SSL setup the rancher setting host.api must be set to a space in order for Rancher to use https scheme. If it is set to a domain name or ip address it always defaults to http.

More context, the URL returned in the registration URL for servers is http without this setting.

edit: the setting @cloudnautique is referring to is api.host not host.api

sorry about that @cjellick.

@cloudnautique , it looks like you can explicitly set that setting to https://<your domain> and it will work.
So, not sure that this is even a bug anymore. Just depends if that behavior is acceptable.

ping @ibuildthecloud: the setting works if you set it as https://foo.rancher.io (vs just foo.rancher.io). Is that a sufficient solution?

Ah, well that will work. Just need documentation in the UI. The way it reads now it's just domain or ip. The UI should also allow setting the scheme.

After discussing with @ibuildthecloud, we decided that we do not want to support putting the protocol in api.host. Working on a more comprehensive fix.

After discussing again with @ibuildthecloud, we decided the exact opposite of what I said in the previous comment.
So, specifying the protocol in the host.api/Host Registration setting is the canonical way to indicate the protocol that should be used.
The UI has been updated to indicate this.

@ibuildthecloud This is done. Setting host.api to " " is no longer the right thing to do.
I removed that bit from the documentation. Assigning to you in case you have any scripts or environments that need updated.

@sangeethah @will-chan @cjellick I'm good closing this issue. Thanks.


Select with the feedback?

Hi,
I am wondering if it possible to provide a feedback text right next to the options (like "correct"  or "wrong" and change the color of that option accordingly).

i want to provide dynamically change in radio button then what i do


[#noissue] Refactor Trace

Remove duplicate code

Codecov Report

Merging #5229 into master will decrease coverage by <.01%.
The diff coverage is 21.91%.

@@            Coverage Diff             @@
##           master    #5229      +/-   ##
==========================================
- Coverage   40.53%   40.52%   -0.01%
==========================================
  Files        2671     2671
  Lines       80321    80324       +3
  Branches    10704    10709       +5
==========================================
- Hits        32556    32552       -4
- Misses      44874    44879       +5
- Partials     2891     2893       +2

Impacted Files
Coverage Δ

...avercorp/pinpoint/profiler/context/AsyncTrace.java
39.58% <ø> (+1.58%)
:arrow_up:

...orp/pinpoint/profiler/context/AsyncChildTrace.java
0% <0%> (ø)
:arrow_up:

...oint/profiler/context/DefaultBaseTraceFactory.java
88.29% <100%> (ø)
:arrow_up:

...ercorp/pinpoint/profiler/context/DisableTrace.java
36.36% <100%> (+0.19%)
:arrow_up:

...ercorp/pinpoint/profiler/context/DefaultTrace.java
64.39% <51.85%> (-0.73%)
:arrow_down:

...nitor/DefaultDataSourceMonitorRegistryService.java
77.77% <0%> (-11.12%)
:arrow_down:

...tor/metric/datasource/DefaultDataSourceMetric.java
75% <0%> (-3.13%)
:arrow_down:

...java/com/navercorp/pinpoint/rpc/DefaultFuture.java
72.5% <0%> (-1.67%)
:arrow_down:

...m/navercorp/pinpoint/profiler/AgentInfoSender.java
75.67% <0%> (-0.91%)
:arrow_down:

...p/pinpoint/rpc/client/WriteFailFutureListener.java
75% <0%> (+18.75%)
:arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 18b6f7c...de0d69a. Read the comment docs.


Updated grpc_slice_buffer_move_first(_maybe_ref).

New implementation performs a smaller number of slice copies by not using
grpc_slice_buffer_take_first. Instead, it uses memcpy for every slice except for
the last, which may need to be split.

BM_TransportStreamSend/134217728  -4%         -5%
BM_TransportStreamSend/16777216   -5%
BM_TransportStreamSend/262144     -4%         -4%
Also yields a couple of percentage point drops on fullstack unary pingpong.


PHOENIX-628 Support native JSON data type

PHOENIX-628 - Support native JSON data type

Can you clean up the commit message ?
Use of colons, dashes, etc is inconsitent.

The commit message doesn't match the JIRA ticket description

The commit message doesn't match the JIRA ticket description

Can it be different from the JIRA description? I think the description has a recommendation - can I add the message as "Adding JSON native datatype and JSON functions" - That would be more relevant to the comment instead of the JIRA description?

The convention is to use the JIRA description for the first line of the commit message.
If you think that the JIRA description is not sufficient, you may want to change the JIRA ticket description, just keep it in sync with the commit message.

It's good to continue the review, however just wanted to bring up this discuss thread: Discuss thread: https://lists.apache.org/thread/xhwqfwytlklylt6kwqm1botsxr7dd4zb
I am hopeful that in a couple of weeks, we should be well positioned to get this PR move forward, but review can definitely continue in parallel.
Thank you @ranganathg!

Re-triggered after fixing build failure on master branch: https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-1780/16/

Since the last build had flaky, triggered a new build: https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-1780/23/


Util class not defined when using components that need it

Hey man, love what you have done with this. Was looking for this and tried to get it working myself, but didn't succeed. With your help I am now able to create Gatsby websites with CH components much quicker, thanks!
One thing which I can't get to work is the Page Transition Component with the Page Transition Plugin - do you have any idea how to get this to work?
Thanks again and keep up the great work!

Gatsby has its own component for internal navigation. While this doesn't enable the use of CodyHouse's page transitions plugin, there does exist a Gatsby plugin to implement something similar. I recommend giving that a shot.

Thanks @peiche for the reply! I am aware of Gatsby's internal navigation component. I was just curious how to implement components where two scripts are required. Another example would be the Chart Plugin. I'll give it another go, but please let me know if you have any thoughts on how to get this working :)

Hi @YannickMol, I did run into this issue while updating another site that used this starter. The issue was that by loading util.js in the Layout component, the rendering (and subsequent programmatic loading of js) would actually finish after all other components are done loaded. The solution to this was to move loading util.js in the header, which finishes rendering (and loading js) before moving on to other components in the body.
I've just made these changes to the starter: I removed the util.js loader from the Layout component, and moved it inside the Header component. I think following this pattern will solve your "missing util.js" errors. (It did mine with loading a carousel component js.)
Alternatively, you could just load all the CodyHouse scripts all after loading util.js, one after another in a single component. (I wouldn't recommend that, since you might not need it on a given page. Then again, I don't know your use case.)

Thanks @peiche , this fixes the issue for me!


[BUG] Invalid classnames-order on daisyui dropdown

Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:

Install DaisyUI
Create a Navbar including a Dropdown
The classesdropdown-end and dropdown each want to be at the front. A warning is always generated.

Expected behavior
A clearly defined order should be followed.
Screenshots

Environment (please complete the following information):

OS: macOS
Softwares + version used:

VSCode 1.81.1

Additional context
None
eslint config file or live demo

    daisyUI

      <input type="text" placeholder="Search" class="input input-bordered w-24 md:w-auto" />

            Profile
            New

Settings

Logout

👋 @Aragur not sure what the issue is. If you reorder class names as the rule suggest, what happens? There is a Quick fix button in the popover on your screenshot.

@kachkaev When I click on the Quick fix button the order changes to dropdown-end dropdown, but this is also marked as being wrong → so there's an infinite loop.

I have same problem with  className="swap-rotate swap" from daisyui too. it infinite loop quick fix between "swap-rotate swap" and "swap swap-rotate"


Enhancement: Moving pagination, sorting and filtering of workflow runs table to the backend

Proposed changes
Improvements:

adding pagination to workflowRuns in the database queries
moving all the filtering and sorting to the db queries
adding some commonly used metadata from executionData to workflowRun schema so that we can have reduced network load in the frontend like phase, resiliency score etc.
added frontend changes to use the new API.

Contains both frontend and backend changes
Types of changes
What types of changes does your code introduce to Litmus? Put an x in the boxes that apply

[ ] New feature (non-breaking change which adds functionality)
[ ] Bugfix (non-breaking change which fixes an issue)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Documentation Update (if none of the other choices applies)

Checklist
Put an x in the boxes that apply. You can also fill these out after creating the PR. If you're unsure about any of them, don't hesitate to ask. We're here to help! This is simply a reminder of what we are going to look for before merging your code.

[ ] I have read the CONTRIBUTING doc
[ ] I have signed the commit for DCO to be passed.
[ ] Lint and unit tests pass locally with my changes
[ ] I have added tests that prove my fix is effective or that my feature works (if appropriate)
[ ] I have added necessary documentation (if appropriate)

Dependency

Please add the links to the dependent PR need to be merged before this (if any).

Special notes for your reviewer:

Addressed all changes. PTAL @rajdas98 @gdsoumya @ishangupta-ds @Jonsy13

@arkajyotiMukherjee please check the import order some checks are failing

done @ishangupta-ds


v1.7 backports 2020-04-29

#11023 -- examples/getting-started: add bind mount for docker socket to docker-compose.yml (@tklauser)
#11101 -- daemon: set k8s options as soon as possible (@aanm)
#11121 -- docs: Pin Hubble version to v0.5 branch (@gandro)
#10964 -- policymap, fragmap: clean up doc, map size configuration (@qmonnet)
#11037 -- dns: Log WriteMsgIP details. (@jrajahalme)
#11073 -- Fix cilium-health healthchecking remote endpoint in ENI mode (@christarazi)
#10407 -- Add Kubernetes IPAM mode (@tgraf) - only the documentation change, without mentioning "kubernetes" mode
#11079 -- Switch to native-routing in GKE guide (@tgraf)
#11188 -- cilium: add NodePortBindProtection to allow for opting out bind rejection (@borkmann)
#11206 -- Auto-detects EndpointSlice support via apimachinery (@Weil0ng)
#11253 -- k8s: Provide fallback for EndpointSlices detection if discovery API is not available (@tgraf)

Once this PR is merged, you can update the PR labels via:
$ for pr in 11023 11101 11121 10964 11037 11073 10407 11079 11188 11206 11253; do contrib/backporting/set-labels.py $pr done 1.7; done

If possible it would be best to merge https://github.com/cilium/cilium/pull/11109 first to get things in order.

My changes seem to be missing 7c783f5 from #11073

@christarazi Yes, you are right. It didn't apply properly, so I thought it can be dropped, since it only changes variable names. But now I see that those variables are there on 1.7 branch and I could just solve the conflict. Sorry for that, I will reapply.

Thanks for following up on these backports :)
FWIW I'd like to hold off on further 1.7 backports until we get #11109 merged and v1.7.3 out, users
are hitting issues quite frequently (in particular the remote-node identity stuff) and other than the PRs that are also in #11109, I don't think any of the remaining backports here are immediately critical.
Hopefully we should be able to get v1.7.3 out today or tomorrow and proceed with the rest of these backports from there.

Sure, let's wait for #11109. This pull request is huge anyway and I think that there will be a lot to fix in ginkgo tests. And I will regenerate modules and cmdref before the next push.

By the way I meant to post an update, but the above PR was merged and we put out v1.7.3. No need to block on anything for this PR now.

For what it's worth the backport for the fix I did for the eppolicymap looks good to me :+1:

@tgraf Documentation changes from #11079 (which I'm backporting here) seem to depend on documentation from #10407 - specifically on the Documentation/concepts/ipam/kubernetes.rst. How do you feel about backporting #10407? Or maybe we should backport only documentation from #10407?

@christarazi All your commits from your PR should be there. Sorry again!

never-tell-me-the-odds

Doc test fail because of the dependency mentioned here https://github.com/cilium/cilium/pull/11233#issuecomment-623420003
Now I'm sure that we have to backport #10407 too, at least partially.

never-tell-me-the-odds

never-tell-me-the-odds

never-tell-me-the-odds

All of the tests except for the known failing ones (See also https://github.com/cilium/cilium/projects/85) are passing. @mrostecki are you looking for any further feedback on any of the backports?

@joestringer I would appreciate a feedback from @tgraf and @christarazi.

Not sure if this is the right place or if it is too late to ask, but can we backport #11253 too? Without it #11206 might cause cilium to not start correctly on environments like GKE (where discovery API would fail).

@Weil0ng I will backport #11253 tomorrow and add it to this PR. Thanks for letting me know!

Not sure if this is the right place or if it is too late to ask, but can we backport #11253 too? Without it #11206 might cause cilium to not start correctly on environments like GKE (where discovery API would fail).

Right place would usually be on the PR in question (I added a comment: https://github.com/cilium/cilium/pull/11253#issuecomment-624363433) or you could also raise it on Slack, in either #development or #launchpad . The request might be lost on the primary audience if it's tucked away in this PR.
At a glance it seems reasonable to me to backport, but I didn't review it and I don't know the risk / size / impact of the backport, which is why I figured it's worthwhile to raise a discussion point on the original PR to determine if we think the benefit / risk ratio is high enough to backport. Usually we mark all bugfixes for backport to the latest version, but there can be cases where it'd be less risky to hold it for a future release or do additional testing first.

never-tell-me-the-odds

Ginkgo provisioning failure:
https://jenkins.cilium.io/job/Cilium-PR-Ginkgo-Tests-Validated/19550/execution/node/114/log/

restart-ginkgo

@mrostecki That's a known failure, cf. #11126.

Another artifact for the same failure:
https://jenkins.cilium.io/job/Cilium-PR-Ginkgo-Tests-Kernel/1228/
f3f75a75_K8sUpdates_Tests_upgrade_and_downgrade_from_a_Cilium_stable_image_to_master.zip

Lots of weird interrupts, seems like infrastructure issue: https://jenkins.cilium.io/job/Cilium-PR-Ginkgo-Tests-Validated/19552/flowGraphTable/

restart-ginkgo

All checks came back green except for the known flake #11126. I'll rebase the bpf.sha and re-kick CI.

never-tell-me-the-odds

Failures seem to be provisioning issues. I will rekick.
https://jenkins.cilium.io/job/Cilium-PR-Ginkgo-Tests-K8s/3078/
https://jenkins.cilium.io/job/Cilium-PR-Ginkgo-Tests-Validated/19602/

restart-ginkgo

test-missed-k8s

Looks like the build went green :tada:


Add a recipe for automatic data type conversions

Since Kysely doesn't touch the data types returned by the DB in any way, a common problem is getting  a "correct" JS type for things like MySQL "booleans" (tinyint(1)) and Postgres bigints.
By default, MySQL returns a number for tinyint and postgres returns a string for bigint.
Most db drivers provide a way to configure the mapping from DB data types to JS types. We should create a recipe that shows how to do this for each built-in dialect. The recipe should also explain why we don't automatically convert the data types.

@koskimas I saw your example with the SqliteBooleanPlugin, do you have a SQLite example going the other direction?

Done https://kysely.dev/docs/recipes/data-types

Is there a SQLite example for datatypes?  It would be great to convert the 1/0 to true/false

also looking for some Sqlite docs on this

Hi @koskimas! 👋
I find myself in a situation where I'm migrating a Scala/Play Framework/squeryl application to nodejs/kysely. The previous team used tiny(1) and tiny(4) for boolean values. This, along with some JSON aggregates (jsonBuildObject), can be mapped in typeCast.
However, they also employed a mapping between int (in the database) and an enum (in the API) with values like ['available', 'taken'], where 1 corresponds to available and 2 to taken. While I can convert from int to the enum in typeCast for the select clause, this doesn't work if the enum is used in other places like where clauses.
What's the best way to handle this conversion transparently? (Of course, my typings already use the enum values). I've thought about using a Plugin. However, I'm not sure how to reliably get the necessary information. Currently, I'm considering storing processed table names and aliases I can obtain from places like transformFrom. Then, match relevant columns in transformReference and finally map the value in transformValue. However, this is a very stateful approach and is prone to errors on my part.
What's your advice? I tried using a Proxy to observe all method invocations of OperationNodeTransformer, but this doesn't work due to private properties.


PlugIn Architecture for Extension Functions

Build-in functions are currently hardwired into BaseX, a uniform plugin architecture would be cleaner and nicer to external users.

+1


CIV-7890 zoom issue

JIRA link
https://tools.hmcts.net/jira/browse/CIV-7890
Change description

Fixed some linting errors with usage of any
Fixed to fit the table content to the the screen when zoomed 200% on mobile

Does this PR introduce a breaking change? (check one with "x")
[ ] Yes
[x] No

Maybe we have to add the same class to Timeline table from the same page.


Change deploy timeout

Is your feature request related to a problem? Please describe.
I have to deploy a field on a table containing a lot of lines.
The deployment takes a lot of time (even by sending a ALTER TABLE query without Prisma) and the deploy timeouts.
Describe the solution you'd like
Give the ability to set the timeout
prisma deploy --timeout=10000

Describe alternatives you've considered
Timeout=0 may disable timeout. Otherwise a flag --no-timeout could be added.

Thanks for raising this feature request. Long running alter statements should ideally be done via a online schema migration tool like https://github.com/github/gh-ost
From Prisma's end, we already have a new datamodal v1.1 in latest beta (1.30.0-beta.3) ready to be tested: https://github.com/prisma/prisma/issues/3408#issuecomment-475277466
This datamodel also brings in active/passive unification https://github.com/prisma/prisma/issues/3022
Which means that now it is possible to do long running migrations using an external migration system and bring Prisma in sync with it.
I will still keep this issue open as a feature request for improving/exposing timeout.


First batch of ::UserTable usages removal [WIP]

[^Carto]::UserTable[^Presenter] now only matches a couple of
relations and INTERFACE delegation.
This closes #11912.

This approach leads to changing both creation and deletion of too many models (not only ::UserTable but also ...Visualization::Member, ::Layer, ::Map...). We'll move from a horizontal approach (changing ::UserTable wherever it's used) to a vertical, feature-based, for the next step instead.


Is there an intention to maintain this package?

#125 I dont think so...we never get a response from the author

The package was updated to be compatible with Null-Safety. The libraries were updated too.
I'm closing this issue but feel free to reopen it if need.
I don't currently have a POS printer to test and support this plugin so your PRs are welcome!

Error: Cannot run with sound null safety, because the following dependencies
don't support null safety:

package:ping_discover_network
package:wifi
Facing issue while running example project


Merge repositories with jmstacey/screenbrightness

@nriley, I had some time today to take a look at merging these repositories per https://github.com/jmstacey/screenbrightness/issues/9 so that we can make this the official upstream.
I have forked this repository and am preparing a branch to submit a pull request. The request will likely include:

Makefile that Homebrew can use to build and install the C version
Updated README indicating how to install the utility with homebrew, or how to use the Makefile.

There are some housekeeping items that I need your input on:

Choose utility and package names: screenbrightness or brightness? I originally chose screenbrightness as the name of the binary so that in Homebrew the utility would have the same convention as another tool out there with the name screenresolution that allows programatic control of resolutions. I'm torn and could go either way. Given there's already a Homebrew install base using screenbrightness and the naming convention used by screenresolution there's a decision to weigh as changing the Homebrew Formula name could potentially orphan some folks who already have this installed.

Versioning and packaging: The Homebrew maintainers prefer when Formula's have prepackaged versions. This allows a sha1 verficiation to be performed after download, makes versioning a little more sane, and avoids making the user grab a clone of the git repository. I started versioning for this purpose and the current published version is 1.1. After the pull is merged into this repository, we'll need a new stable version tagged with an archive download made available. What do you think about 1.2 following the major.minor.teeny schema?

Homebrew Formula Update: Once the above housekeeping tasks are done and a version tagged and published, I can update the Homebrew Formula to point to this repository location.

Repo Redirection: Finally, I'll empty out the jmstacey/screenbrightness repository and update the README to redirect people to this repository which will be the official upstream version.

Let me know your thoughts and we can start rolling.

Hi @jmstacey,
Thanks for working on this!  I'm going to have this weekend free to spend working on my Mac stuff so hopefully we can get things sorted out by then.

I prefer shorter names overall.  What other kind of brightness is there? :-)  Perhaps you could install a symlink or hard link in Homebrew to avoid breaking people? brightness should handle being invoked with another name.
Fine by me; I agree it'd be weird if the version number didn't change.
Awesome.
Sounds good.

Great! I've made a first pass at a pull request https://github.com/nriley/brightness/pull/6 to take a look.

OK, should be all set.  I cleaned up the Makefile to make it a bit more robust and so it'll build a 10.6-compatible binary, and also removed use of deprecated APIs so we hopefully shouldn't have to touch brightness for another few years.
Thanks again!

@nriley Please tag a version/release so that GitHub will create a .tar.gz I can point the Homebrew Formula at.

OK, here you go.  (I also got rid of deprecated API usage in the meantime, so hopefully I won't have to touch this code for a long while now.)
https://github.com/nriley/brightness/releases/tag/1.2

Thanks. I submitted Homebrew PR #42472, and we shall see what the maintainers say about the rename.


Benchmark Turing Pi 2 cluster with 4x RK1 Nodes

I am going to see how well 4x RK1 nodes (each running an 8-core RK3588 SoC) will run on the Turing Pi 2 cluster.

Benchmark is running now. First test with 4/8 Ps and Qs: TODO

Testing with one node, while measuring power consumption: 59.810 Gflops, 18.1W, for 3.30 Gflops/W
================================================================================
HPLinpack 2.3  --  High-Performance Linpack benchmark  --   December 2, 2018
Written by A. Petitet and R. Clint Whaley,  Innovative Computing Laboratory, UTK
Modified by Piotr Luszczek, Innovative Computing Laboratory, UTK
Modified by Julien Langou, University of Colorado Denver
================================================================================

An explanation of the input/output parameters follows:
T/V    : Wall time / encoded variant.
N      : The order of the coefficient matrix A.
NB     : The partitioning blocking factor.
P      : The number of process rows.
Q      : The number of process columns.
Time   : Time in seconds to solve the linear system.
Gflops : Rate of execution for solving the linear system.

The following parameter values will be used:

N      :   50004
NB     :     256
PMAP   : Row-major process mapping
P      :       1
Q      :       4
PFACT  :   Right
NBMIN  :       4
NDIV   :       2
RFACT  :   Crout
BCAST  :  1ringM
DEPTH  :       1
SWAP   : Mix (threshold = 64)
L1     : transposed form
U      : transposed form
EQUIL  : yes
ALIGN  : 8 double precision words

--------------------------------------------------------------------------------

- The matrix A is randomly generated for each test.
- The following scaled residual check will be computed:
      ||Ax-b||_oo / ( eps * ( || x ||_oo * || A ||_oo + || b ||_oo ) * N )
- The relative machine precision (eps) is taken to be               1.110223e-16
- Computational tests pass if scaled residuals are less than                16.0

================================================================================
T/V                N    NB     P     Q               Time                 Gflops
--------------------------------------------------------------------------------
WR11C2R4       50004   256     1     4            1393.69             5.9810e+01
HPL_pdgesv() start time Fri Feb 23 18:28:10 2024

HPL_pdgesv() end time   Fri Feb 23 18:51:24 2024

--------------------------------------------------------------------------------
||Ax-b||_oo/(eps*(||A||_oo*||x||_oo+||b||_oo)*N)=   3.65051815e-03 ...... PASSED
================================================================================

Finished      1 tests with the following results:
              1 tests completed and passed residual checks,
              0 tests completed and failed residual checks,
              0 tests skipped because of illegal input values.
--------------------------------------------------------------------------------

End of Tests.
================================================================================

Full cluster again, with Ps/Qs being 4/8: 224.60 Gflops, 73 W, for 3.08 Gflops/W
================================================================================
HPLinpack 2.3  --  High-Performance Linpack benchmark  --   December 2, 2018
Written by A. Petitet and R. Clint Whaley,  Innovative Computing Laboratory, UTK
Modified by Piotr Luszczek, Innovative Computing Laboratory, UTK
Modified by Julien Langou, University of Colorado Denver
================================================================================

An explanation of the input/output parameters follows:
T/V    : Wall time / encoded variant.
N      : The order of the coefficient matrix A.
NB     : The partitioning blocking factor.
P      : The number of process rows.
Q      : The number of process columns.
Time   : Time in seconds to solve the linear system.
Gflops : Rate of execution for solving the linear system.

The following parameter values will be used:

N      :  100009
NB     :     256
PMAP   : Row-major process mapping
P      :       4
Q      :       8
PFACT  :   Right
NBMIN  :       4
NDIV   :       2
RFACT  :   Crout
BCAST  :  1ringM
DEPTH  :       1
SWAP   : Mix (threshold = 64)
L1     : transposed form
U      : transposed form
EQUIL  : yes
ALIGN  : 8 double precision words

--------------------------------------------------------------------------------

- The matrix A is randomly generated for each test.
- The following scaled residual check will be computed:
      ||Ax-b||_oo / ( eps * ( || x ||_oo * || A ||_oo + || b ||_oo ) * N )
- The relative machine precision (eps) is taken to be               1.110223e-16
- Computational tests pass if scaled residuals are less than                16.0

================================================================================
T/V                N    NB     P     Q               Time                 Gflops
--------------------------------------------------------------------------------
WR11C2R4      100009   256     4     8            2969.05             2.2460e+02
HPL_pdgesv() start time Fri Feb 23 19:03:56 2024

HPL_pdgesv() end time   Fri Feb 23 19:53:25 2024

--------------------------------------------------------------------------------
||Ax-b||_oo/(eps*(||A||_oo*||x||_oo+||b||_oo)*N)=   2.41638360e-03 ...... PASSED
================================================================================

Finished      1 tests with the following results:
              1 tests completed and passed residual checks,
              0 tests completed and failed residual checks,
              0 tests skipped because of illegal input values.
--------------------------------------------------------------------------------

End of Tests.
================================================================================


operator neuvector-community-operator (1.4.6)

Thanks for submitting your Operator. Please check the below list before you create your Pull Request.
New Submissions

[x] Are you familiar with our contribution guidelines?
[x] Are you familiar with our operator pipeline?

[x] Have you considered whether you want to use semantic versioning order?
[x] Is your submission signed?
[x] Is operator icon set?

Your submission should not

[x] Add more than one operator bundle per PR
[x] Modify any operator
[x] Rename an operator
[x] Modify any files outside the above mentioned folders
[x] Contain more than one commit. Please squash your commits.

Operator Description must contain (in order)

[x] Description of the managed Application and where to find more information
[x] Features and capabilities of your Operator and how to use it
[x] Any manual steps about potential pre-requisites for using your Operator

Operator Metadata should contain

[x] Human readable name and 1-liner description about your Operator
[x] Valid category name1
[x] One of the pre-defined capability levels2
[x] Links to the maintainer, source code and documentation
[x] Example templates for all Custom Resource Definitions intended to be used
[x] A quadratic logo

Remember that you can preview your CSV here.
--
1 If you feel your Operator does not fit any of the pre-defined categories, file an issue against this repo and explain your need
2 For more information see here

/pipeline restart operator-hosted-pipeline

@selvamt94 Please roll back the changes to the first version that you submitted for this PR. Then I will move forward to re-trigger the pipeline.

@selvamt94 Please roll back the changes to the first version that you submitted for this PR. Then I will move forward to re-trigger the pipeline.

Hi @haripate I have force pushed original version of the PR, can you please check. Thanks!

/pipeline restart operator-hosted-pipeline

Hi @haripate, Thanks for helping us to merge this PR. May I know if we will be facing same issue with our future release?
Can you also please help us to check this PR for certified operator. We encounter the same issue about operator name. I create a support case with RedHat too. https://connect.redhat.com/support/technology-partner/#/case/03861545
https://github.com/redhat-openshift-ecosystem/certified-operators/pull/4075

Hi @haripate, Thanks for helping us to merge this PR. May I know if we will be facing same issue with our future release?
Can you also please help us to check this PR for certified operator. We encounter the same issue about operator name. I create a support case with RedHat too. https://connect.redhat.com/support/technology-partner/#/case/03861545 redhat-openshift-ecosystem/certified-operators#4075

@selvamt94 I retriggered the Hosted pipeline in Certified Operator PR as well. But looks like something is off with annotations in Certified Operators. The preflight tests failed due to that reason. I will investigate it but if you are aware of anything about this error please fix that in the PR.


[Monitor] az monitor metrics alert create: support metric alert for Application Insights Web Test

RE: Azure Metric Alerts - Proposed CLI Commands. Item 14

add to S174

@mmyyrroonn, could you explain more about your request?

Do we need add more argument to the command az monitor metrics alert create?
What's the problem when you use az monitor metrics alert create to create metric alert for Application Insights Web Test?

CLI command docs: https://docs.microsoft.com/en-us/cli/azure/monitor/metrics/alert?view=azure-cli-latest#az_monitor_metrics_alert_create

PowerShell cmdlets: https://github.com/Azure/azure-powershell/pull/11787


cmake: Adjust LMA for user-specified sections

Fixes #64149
Add support for a new Kconfig symbol: BUILD_OUTPUT_ADJUST_LMA_SECTIONS. This is supplemental to the existing BUILD_OUTPUT_ADJUST_LMA setting, which normally adjusts all output sections' LMA by the provided offset. Defining the new symbol will narrow down the set of applicable sections to a user-specified CMake list of name patterns.
Example usage:
DT_CHOSEN_Z_FLASH = zephyr,flash
DT_CHOSEN_Z_SRAM = zephyr,sram
config BUILD_OUTPUT_ADJUST_LMA
        default "$(dt_chosen_reg_addr_hex,$(DT_CHOSEN_Z_FLASH)) - \
                 $(dt_chosen_reg_addr_hex,$(DT_CHOSEN_Z_SRAM))"

config BUILD_OUTPUT_ADJUST_LMA_SECTIONS
        default "*;!bss;!noinit"

Supported values for BUILD_OUTPUT_ADJUST_LMA_SECTIONS are aligned with objcopy, since this feature has only been supported with GNU binutils thus far.

@57300 will you resume work on this?

@57300 will you resume work on this?

I'm not sure how to proceed. @tejlmand had raised a few concerns and said "we need to be really careful", but there don't seem to be any blockers. If this solution is not accepted, the alternative might be to refactor the GNU abstraction, or the toolchain abstraction system as a whole, to accommodate this one feature.

@57300 will you resume work on this?

I'm not sure how to proceed. @tejlmand had raised a few concerns and said "we need to be really careful", but there don't seem to be any blockers. If this solution is not accepted, the alternative might be to refactor the GNU abstraction, or the toolchain abstraction system as a whole, to accommodate this one feature.

Understood, I will ask @tejlmand for additional input there then.


Proper signal handling and propagation

Currently there is a problem handling POSIX signals properly. This is due to an inconsistency of handling early-exit children, proper user interrups and missing queue-wait functionality.

Solved in release >= v7.0.0


Client DPI Dashboard Loads No Data

I have loaded all unifi-poller dashboards and all of them work excellent except the client DPI dashboard doesn't work.  No data gets loaded.

Make sure you have enabled DPI in your controller, as well as your UniFi Poller config.
See here.

It is enabled.  This is the udm pro, I can see the dpi data in unifi just not your dashboard.

See here.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.

Show me.

David,
Want to see the dpi configuration on my device and the empty dashboards?

On Jun 13, 2020, at 2:28 PM, David Newhall II<EMAIL_ADDRESS>wrote:

Show me.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.

I'd like to see the configuration for poller and the output while it's running. Thanks.

On my phone at the moment where and what configuration would you like to see here are two screenshots

On Jun 13, 2020, at 2:36 PM, David Newhall II<EMAIL_ADDRESS>wrote:

I'd like to see the configuration for poller and the output while it's running. Thanks.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.

The poller config is either a config file or environment variables. Depends on how you are running it. Please provide all configuration you're passing to the application. Poller outputs data when you run it. Should be saved to a log file or docker logs (depend how you installed it). Please share this data so we can give you steps on how to enable DPI.

Thank you, here are all configs, they are running in dockers.

On Jun 13, 2020, at 2:51 PM, David Newhall II<EMAIL_ADDRESS>wrote:
The poller config is either a config file or environment variables. Depends on how you are running it. Please provide all configuration you're passing to the application. Poller outputs data when you run it. Should be saved to a log file or docker logs (depend how you installed it). Please share this data so we can give you steps on how to enable DPI.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/unifi-poller/dashboards/issues/7#issuecomment-643662869, or unsubscribe https://github.com/notifications/unsubscribe-auth/AP6HFPOKRJ7BUUYMR7GSO3TRWPDBNANCNFSM4N5AGKTA.

Please click this link: https://github.com/unifi-poller/dashboards/issues/7
And add the data you attempted to add previously. Thanks!

I’m confused, the link brings me back to our discussion.

On Jun 14, 2020, at 12:41 AM, David Newhall II<EMAIL_ADDRESS>wrote:

Please click this link: #7
And add the data you attempted to add previously. Thanks!
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.

If you add UP_UNIFI_DEFAULT_SITE_IDS=true to the golift-unifi-poller1 definition it should solve your issue.

thanks David, I changed that and it still not working.  Maybe it takes a
while to start collecting data?  Do the environment variables matter in
terms of their respective order they are put in?
On 6/14/2020 3:45 PM, David Newhall II wrote:

If you add |UP_UNIFI_DEFAULT_SITE_IDS=true| to |the
golift-unifi-poller1| definition it should solve your issue.
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/unifi-poller/dashboards/issues/7#issuecomment-643813154,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AP6HFPO76LRLQWFGPPSDA53RWUSGDANCNFSM4N5AGKTA.

Sorry I typo'd,. it's UP_UNIFI_DEFAULT_SITE_DPI=true

Can you upgrade to the latest version and show me the poller output on startup? And a fresh screenshot of your poller config.

Having the same issue just confirming that a usg is also required for this data?
I don't have a Unifi Security Gateway

@Dreded,
I believe a UniFi Gateway is necesarry. Do you see DPI data in the controller web UI? Have you enabled DPI in the controller and in the poller config?

@davidnewhall @Dreded You need a UniFi Gateway for DPI to function. Either a USG or UDM [pro]

I have a udm pro and dpi is enabled in the UI.

On Jun 19, 2020, at 12:28 AM, David Newhall II<EMAIL_ADDRESS>wrote:

@Dreded,
I believe a UniFi Gateway is necesarry. Do you see DPI data in the controller web UI? Have you enabled DPI in the controller and in the poller config?
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub, or unsubscribe.

I have a udm pro and dpi is enabled in the UI and the dash still doesn’t work but all others do.

On Jun 19, 2020, at 12:30 AM, Jon Bloom<EMAIL_ADDRESS>wrote:

@davidnewhall @Dreded You need a UniFi Gateway for DPI to function. Either a USG or UDM [pro]
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub, or unsubscribe.

@cmoskowitz Did you enable the configuration for poller to pull DPI? It needs to be enabled in both places.

Yes.  Can you send me the poller variable?  Maybe I have a typo.

On Jun 19, 2020, at 10:11 AM, Jon Bloom<EMAIL_ADDRESS>wrote:

@cmoskowitz Did you enable the configuration for poller to pull DPI? It needs to be enabled in both places.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.

It's UP_UNIFI_DEFAULT_SAVE_DPI. Set it to true.

Y'all OK now?


"With link" adds to podfile

Hi
When I try to install the lib "With link" and not with Cocoapods, running react-native link adds an entry for the lib in the podfile. Is that how it's supposed to work if I don't want to use Cocoapods?
Best regards
Jens

That’s now the behaviour of react-native link - it will auto-detect a Podfile and use it if present (docs: https://facebook.github.io/react-native/docs/linking-libraries-ios )
If you have a Podfile but don’t want to use it I think you’ll need to link manually (by dragging the project into your Libraries and then adding the lib to your linked dependencies under Build phases)

Okay, thanks for the snappy answer :D


[WIP] Pack and Unpack functions

This is the updated rebased code which removes microledger code and has history of the changes along the way. Some were messed up while rebasing, but the majority are there. This code is aligned with the AMES HIPE.

@kdenhartog there are still some history related to microledgers
https://github.com/hyperledger/indy-sdk/pull/1210/commits/911b6589ab89fca24266175fa62f505f77ce527c
https://github.com/hyperledger/indy-sdk/pull/1210/commits/6c9569dcbc00d0701532c70049397313c4a764e5#diff-c97552f5bd97e0797ff7128a93d65025
Can it be deleted? Most probably it can be done by interactive rebase

select edit for commit 6c9569d and drop for 911b658
remove microledger file from the commit, amend
continue/finish rebase
double check: result HEAD should be same with current one

Fill free to slack me if you have any doubts here or problems while rebase

@jovfer thanks for catching that. I'm glad you double checked it because I was having issues rebasing back that far. That whole commit can be removed so I'll fix it. Would squashing the commits together help?
@vimmerru I'll go in and add these changes. Are these requirements documented anywhere? I had a hard time finding details like this as I was working on it. I'm thinking this should be linked in a CONTRIBUTORS.md link describing these sorts of "tribal knowledge" type things. By that I mean, these are things that the maintainers know, but anyone who wants to contribute couldn't figure this out without making a PR or getting caught up to speed by a maintainer.

@vimmerru I'm running into some issues with adding these tests you've requested. How should I go about adding a DID that has more than one key? I know how to do this through the command layer, but I'm not finding anything that is available at the API layer.

@vimmerru @jovfer can you guy's take a look at my updates? I'm working on adding wrapper support next. The APIs are exposed now and tested using high cases module.

I'll add the work from PR 1314 into this PR as well.


GitHub Connector unable to connect to MongoDB

I have Hygieia running on a VM and within the VM I used the docker-compose command to bring up the mongo, api and ui containers. They are all linked to each other and I am able to create a user online and to create a dashboard. When I did the mvn install within the GitHub collector directory it created a github collector jar file which I used the command java -jar github-scm-collector-1.0.0.jar --spring.config.name=application I created an application.properties file that is the same as the sample.properties file that was shown and I edited the file to have the mongodb credentials. When I run the java command I get the following errors:
2015-11-03 15:55:53,780 INFO  org.mongodb.driver.cluster - Exception in monitor thread while connecting to server <IP_ADDRESS>:27017
com.mongodb.MongoSecurityException: Exception authenticating
at com.mongodb.connection.NativeAuthenticator.authenticate(NativeAuthenticator.java:48) ~[mongo-java-driver-3.0.2.jar!/:na]
at com.mongodb.connection.InternalStreamConnectionInitializer.authenticateAll(InternalStreamConnectionInitializer.java:99) ~[mongo-java-driver-3.0.2.jar!/:na]
at com.mongodb.connection.InternalStreamConnectionInitializer.initialize(InternalStreamConnectionInitializer.java:44) ~[mongo-java-driver-3.0.2.jar!/:na]
at com.mongodb.connection.InternalStreamConnection.open(InternalStreamConnection.java:115) ~[mongo-java-driver-3.0.2.jar!/:na]
at com.mongodb.connection.DefaultServerMonitor$ServerMonitorRunnable.run(DefaultServerMonitor.java:127) ~[mongo-java-driver-3.0.2.jar!/:na]
at java.lang.Thread.run(Thread.java:745) [na:1.7.0_85]
Caused by: com.mongodb.MongoCommandException: Command failed with error 18: 'auth failed' on server <IP_ADDRESS>:27017. The full response is { "ok" : 0.0, "errmsg" : "auth failed", "code" : 18 }
I am not sure why I am unable to authenticate when I can use the mongo shell and use the exact same credentials and connect to the database. Is there something that I am missing?

Attached is my debug log

Hi Josh,
I'm a new user of Hygieia so the recommendation I am about to make is unofficial support. At a quick glance it appears your issue may reside with utilizing --spring.config.name=application instead of --spring.config.name=application.properties.
Please try using the full name of the properties file (and relative path if necessary).

what version of mongo are you using?

I am using version 3.0.7

I'm trying to reproduce the problem but not having any luck..
Couple questions to help me:
what does the log from mongo say?
what does the user look like?
Login to mongo:
use admin
db.system.users.find()

It should look something like:
{ "_id" : "dashboard.db", "user" : "db", "db" : "dashboard", "credentials" : { "SCRAM-SHA-1" : {
  "iterationCount" : 10000, "salt" : "xxxx", "storedKey" : "xxxx", "serverKey" : "xxxx" } },
  "roles" : [ { "role" : "readWrite", "db" : "dashboard" } ] }

{ "_id" : "dashboarddb.dashboarduser", "user" : "dashboarduser", "db" : "dashboarddb", "credentials" : { "SCRAM-SHA-1" : { "iterationCount" : 10000, "salt" : "JIb/8IWwhfg25lZSpKJizg==", "storedKey" : "7oMhUQMQUy6z3Jei8QkCiM4R0r0=", "serverKey" : "9oskPkz0AgXrwbRZjRnn9/AJc9o=" } }, "roles" : [ { "role" : "readWrite", "db" : "dashboarddb" } ] }
{ "_id" : "test.dashboarduser", "user" : "dashboarduser", "db" : "test", "credentials" : { "SCRAM-SHA-1" : { "iterationCount" : 10000, "salt" : "a181L4xwhq5K58sMQikMVw==", "storedKey" : "ozoEDITe90mAe6j1OeBsQf6Y3Ig=", "serverKey" : "RVwr9C8bzzghGE4ng7uQLbn72jU=" } }, "roles" : [ { "role" : "readWrite", "db" : "test" } ] }
{ "_id" : "dashboarddb.admin", "user" : "admin", "db" : "dashboarddb", "credentials" : { "SCRAM-SHA-1" : { "iterationCount" : 10000, "salt" : "LwoGMaTcLvfTft2nRncpvQ==", "storedKey" : "kSxA38oVYAGeksua9A495/m0RP0=", "serverKey" : "0tTDwy4P2/9FO20ocVree1fb1gE=" } }, "roles" : [ { "role" : "userAdmin", "db" : "dashboarddb" } ] }

Tue Nov  3 17:04:30.380 [Robomongo] SettingsManager initialized in /home/ibmadmin/.config/robomongo/robomongo.json
Tue Nov  3 17:04:30.380 [Robomongo] Settings saved to: /home/ibmadmin/.config/robomongo/robomongo.json
Tue Nov  3 17:05:17.571 [Robomongo] Settings saved to: /home/ibmadmin/.config/robomongo/robomongo.json
Tue Nov  3 17:05:17.572 [Robomongo] Connecting to localhost:27017...
Tue Nov  3 17:05:17.598 ERROR: [Robomongo] connect failed
Tue Nov  3 17:05:17.599 ERROR: [Robomongo] Unable to authorize
Tue Nov  3 17:05:45.714 [Robomongo] Settings saved to: /home/ibmadmin/.config/robomongo/robomongo.json
Tue Nov  3 17:05:45.715 [Robomongo] Connecting to localhost:27017...
Tue Nov  3 17:05:45.744 ERROR: [Robomongo] connect failed
Tue Nov  3 17:05:45.745 ERROR: [Robomongo] Unable to authorize
Tue Nov  3 17:06:29.631 [Robomongo] Settings saved to: /home/ibmadmin/.config/robomongo/robomongo.json
Tue Nov  3 17:06:29.632 [Robomongo] Connecting to <IP_ADDRESS>:27017...
Tue Nov  3 17:06:29.654 ERROR: [Robomongo] connect failed
Tue Nov  3 17:06:29.655 ERROR: [Robomongo] Unable to authorize
Tue Nov  3 17:07:03.547 [Robomongo] Settings saved to: /home/ibmadmin/.config/robomongo/robomongo.json
Tue Nov  3 17:07:03.548 [Robomongo] Connecting to <IP_ADDRESS>:27017...
Tue Nov  3 17:07:03.572 ERROR: [Robomongo] connect failed
Tue Nov  3 17:07:03.573 ERROR: [Robomongo] Unable to authorize
Tue Nov  3 17:09:22.755 [Robomongo] Settings saved to: /home/ibmadmin/.config/robomongo/robomongo.json
Tue Nov  3 17:09:22.756 [Robomongo] Connecting to <IP_ADDRESS>:27017...
Tue Nov  3 17:09:22.779 ERROR: [Robomongo] connect failed
Tue Nov  3 17:09:22.784 ERROR: [Robomongo] Unable to authorize
Tue Nov  3 17:09:51.707 [Robomongo] Settings saved to: /home/ibmadmin/.config/robomongo/robomongo.json
Tue Nov  3 17:09:51.707 [Robomongo] Connecting to <IP_ADDRESS>:27017...
Tue Nov  3 17:09:51.735 file [/home/ibmadmin/.robomongorc.js] doesn't exist
Tue Nov  3 17:10:00.400 [Robomongo] Settings saved to: /home/ibmadmin/.config/robomongo/robomongo.json
Tue Nov  3 17:10:00.400 [Robomongo] Connecting to <IP_ADDRESS>:27017...
Tue Nov  3 17:10:00.425 file [/home/ibmadmin/.robomongorc.js] doesn't exist
Tue Nov  3 17:13:06.554 [Robomongo] Settings saved to: /home/ibmadmin/.config/robomongo/robomongo.json

thanks - one more question, can you post your properties file (redact passwords please)

#Database Name
spring.data.mongodb.database=dashboarddb
#Database HostName - default is localhost
spring.data.mongodb.host=<IP_ADDRESS>
#Database Port - default is 27017
spring.data.mongodb.port=27017
#Database Username - default is blank
spring.data.mongodb.username=dashboarduser
#Database Password - default is blank
spring.data.mongodb.password=SOMEPASSWORD
#Collector schedule (required)
github.cron=0 0/5 * * * *
github.host=https://github.com/capitalone/Hygieia.git
#Maximum number of days to go back in time when fetching commits
github.commitThresholdDays=15

Ok, i think i see the issue.. at some point the configuration was changed, looks like in pull #99 - so the docs are wrong...
here is my properties file, for example:
dbname=dashboard
dbhost=<IP_ADDRESS>
#Database Port - default is 27017
dbport=27017

#Database Username - default is blank
dbusername=db
#Database Password - default is blank
dbpassword=dbpass
# github
github.cron=0 0/5 * * * *
github.host=github.com
#Maximum number of days to go back in time when fetching commits
github.commitThresholdDays=15

I'd also make sure you mvn install the latest core library..   some of the log messages look like they are from an older version.
we need to change the version in the pom so this is obvious - i'll take that one.

I ran all this on a freshly made vm so my maven core libraries should be the latest. Once you push the updates for the versions in pom then I will pull the latest code and try to set everything up again

agreed, thanks

please take a look at the latest master

Great thanks a lot. I will pull the latest code and see if I am having issues

@jdamick Should I "mvn clean install package" immediately after "git clone "?

yes, i would

It looks like I am able to successfully connect to mongodb now. Looks like the updates as well as the change to the application.properties file was the way to fix it. I am also wondering if the documentation for the jenkins and UCD collectors are incorrect as well. What are the application.properties files supposed to look for those?

Yup, they all need to be fixed - i'm going to open a new issue for those - thanks for confirming!

A gentle reminder to fix the README files also.

Is it mandatory to have a database by name 'dashboard' in MongoDB?
In fact once I created a DB called 'dashboard' in MongoDB then it started working. I was able to create the dasboard widgets.
So, the other names like 'dashboardb' or 'dashboarddb' will not work for creating dashboard widgets
So the sample properties files are misleading.

So you should really use dashboarddb BUT in all honesty you really just need to make sure you stick to one database name. If stick to one database name then you will be able to connect all your collectors and everything to that database and it will work.


Minecraft: Add an admonition telling people not to register their commands in plugin.yml

Admonition reference: https://squidfunk.github.io/mkdocs-material/reference/admonitions/

closed by #45


[Android] No push notifications while app is killed

Hello!
I have problem with push notifications on Android while app is killed.
I do have Firebase push notifications in my app which are working fine. While sending push from Firebase console I am receiving it no matter if the app is in foreground, background or killed.
Push notification from talkJs are showing only while the app is in foreground or background.
No chat notifications are received while app is killed. This behavior appy only to Android (iOS is seems to be working).
Looking for help or confirmation that pushes from talkJs chat are working on Android while the app is terminated.
Thank you!

Hey, sorry for the late response. During my initial investigations, I missed a key log message in the logcat messages that could have helped explained why the background handler wasn't being called despite following the guidelines listed here: https://firebase.google.com/docs/cloud-messaging/flutter/receive#apple_platforms_and_android.
The log message in question was:
broadcast intent callback: result=CANCELLED forIntent { act=com.google.android.c2dm.intent.RECEIVE flg=0x10000000 pkg=com.talkjs.flutter_push_example (has extras) }. This only occurs when running a debug application either via Android Studio or Flutter command line.
With that out of the way, our background handler is being called however it currently expects there to exist a main isolate which doesn't exist when the app has been terminated. Only the background isolate where the message handler is running exists when a message arrives after the app has been terminated.
I am going to look into refactoring our background handler to address this issue. Thank you for your patience.


Dependency substitution with artifact transforms does not run producing tasks

Using subs.zip and running ./gradlew myTask fails with
Execution failed for task ':myTask'.
> Could not resolve all files for configuration ':myConf'.
   > Failed to transform support-annotations.jar (project :support-annotations) to match attributes {artifactType=my-custom-type, org.gradle.category=library, org.gradle.dependency.bundling=external, org.gradle.jvm.version=11, org.gradle.libraryelements=jar, org.gradle.usage=java-runtime}.
      > Execution failed for MyTransform: /home/gavra/projects/substitutions/untitled/build/libs/support-annotations-30.0.jar.
         > File does not exist: /home/gavra/projects/substitutions/untitled/build/libs/support-annotations-30.0.jar

On the other hand, ./gradlew ::support-annotations:jar && ./gradlew myTask succeeds (as the jar is present on disc).
The issue seems to be that project replaces external dependency
gavra@gavra:~/projects/substitutions$ gw :dependencies --configuration=myConf
Running  /home/gavra/projects/substitutions/gradlew

> Task :dependencies

------------------------------------------------------------
Root project 'substitutions'
------------------------------------------------------------

myConf
+--- android.arch.lifecycle:common:1.1.1
|    \--- com.android.support:support-annotations:26.1.0 -> project :support-annotations
\--- project :support-annotations

I have a similar problem, just without substitutions involved.
Unfortuantely I was not able to pinpoint it down to an MCVE yet but maybe it is related or the same as this problem here.
I setup and register an artifact transform.
Then as soon as I add the relevant attribute to the target configuration, the producer tasks suddenly are not executed anymore.
If I comment out the attribute on the configuration, the producer tasks are executed again.
My current work-around now is to use an artifact view to request the attribute instead of declaring it on the configuration.

We had another problem which is also solved by the same workaround of adding includeBuild.
https://issuetracker.google.com/issues/285039694


error! in rescue from blocks

I was having a similar problem with ValidationErrors#to_json as I was with ValidationErrors#as_json (see: #889). If there's preferred fix, please let me know.

Also, it's possible to remove error_response and sub in error! but it was getting pretty confusing. There seems to be a bit of coupling with the method signature of error_response and the rest of the code. I can send another PR for that or append it here.

This needs a CHANGELOG entry and please squash your commits.

@dblock Thanks for your fast response. I've applied your recommendations. Let me know if you have anymore feedback.

I like this, merging.

0.28.0 (10/12/2014)

New features

New cop ExtraSpacing points out unnecessary spacing in files. (@blainesch)
This feature has been released in 0.28.0, I think it's a bug of rubocop, anyway I create a commit for updating robocop version.

still doesn't work in 0.14.0
class Twitter::API < Grape::API
  format :json
  helpers do
    def server_error!
      error!({ error: 'Server error.' }, 500, { 'Content-Type' => 'text/error' })
    end
  end

  rescue_from :all do |e|
    server_error!
  end
end

@binary1101 how does it not work exactly? Open a new issue please


Unable to capture media

When push camera viewcontroller, I could see the following message.
Domain=AVFoundationErrorDomain Code=-11814 "Cannot Record" UserInfo={NSLocalizedRecoverySuggestion=Try recording again., NSLocalizedDescription=Cannot Record}
What should I fix?

Can you provide the source code or a sample project where this reproducible? I have never encountered this error

I've checked my source again and guessing this part has problem. (I modified if condition because original code is deprecated)
fileprivate class func deviceWithMediaType(_ mediaType: String, preferringPosition position: AVCaptureDevicePosition) -> AVCaptureDevice? {
        if let devices = AVCaptureDeviceDiscoverySession(deviceTypes: [], mediaType: mediaType, position: position).devices {
            return devices.filter({ $0.position == position }).first
        }
        return nil
    }

AVCaptureDeviceDiscoverySession is only available in iOS 10. The framework supports iOS 8+. Does the issue persist if you ignore the deprecation warnings and run the source code as it?

If I ignore the deprecation warnings, it's running well...

I was wrong. Added deviceTypes and running well.
let devices = AVCaptureDeviceDiscoverySession(deviceTypes: [AVCaptureDeviceType.builtInWideAngleCamera], mediaType: mediaType, position: position).devices

Sorry you were wrong about what? That its running well with the original source, or that that was the part of the refactored code that is giving you problems?

Original source is running well and new code fixed for deprecation is also running well.


Support ATN2 Transact-SQL function for 3.x.dev

Make use of PG’s atan2() function to implement atn2 fuction.
Task: BABEL-725
Signed-off-by: Yuhao Wei<EMAIL_ADDRESS>Description
Cherry-picking Support ATN2 Transact-SQL function #876 and add upgrade script to babelfishpg_tsql--3.0--3.1.sql.
Currently, babelfish does not support atn2() Transact-SQL function. This commit implements atn2() using pg's atan2() function.
Issues Resolved
Babelfish do not support ATN2 Transact-SQL fucntion.
Reference Document Link
https://github.com/MicrosoftDocs/sql-docs/blob/live/docs/t-sql/functions/atn2-transact-sql.md
Test Scenarios Covered

Use case based -
Added a new test functions/atn2
Boundary conditions -
Covered in test functions/atn2
Arbitrary inputs -
added
Negative test cases -
Float overflow would thrown an error.
Minor version upgrade tests -
tests added
Major version upgrade tests -
tests added
Performance tests -
N/A
Tooling impact -
None
Client tests -
None

Check List

[X] Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is under the terms of the Apache 2.0 and PostgreSQL licenses, and grant any person obtaining a copy of the contribution permission to relicense all or a portion of my contribution to the PostgreSQL License solely to contribute all or a portion of my contribution to the PostgreSQL open source project.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Let's not include branch name (3.x.dev) in the commit message.


Windows clipboard copying doesn't work when using pkg to create a snapshot

I'm on windows 10 and node 8.10.0
Here's the error I am getting when I create a binary snapshot using pkg(https://www.npmjs.com/package/pkg):
{ Error: write EPIPE
at _errnoException (util.js:1024:11)
at Socket._writeGeneric (net.js:767:25)
at Socket._write (net.js:786:8)
at doWrite (_stream_writable.js:387:12)
at writeOrBuffer (_stream_writable.js:373:5)
at Socket.Writable.write (_stream_writable.js:290:11)
at Socket.write (net.js:704:40)
at Socket.Writable.end (_stream_writable.js:553:10)
at Socket.end (net.js:496:31)
at handleInput (C:\snapshot\package_name\node_modules\execa\index.js:75:17)
code: 'EPIPE',
errno: 'EPIPE',
syscall: 'write',
killed: false,
stdout: '',
stderr: '',
failed: true,
signal: null,
cmd: 'C:\snapshot\package_name\node_modules\clipboardy\fallbacks\windows\clipboard_x86_64.exe --copy',
timedOut: false }
I am not sure what is causing this issue, It works otherwise if I run the code as is without creating a snapshot.
Can anyone please help me?
Thank you!

This should be reported at https://github.com/zeit/pkg/issues?q=is%3Aissue+is%3Aopen+sort%3Aupdated-desc It's up to pkg to support Node.js packages, not the other way around.

@issuehunt has funded $40.00 to this issue.

Submit pull request via IssueHunt to receive this reward.
Want to contribute? Chip in to this issue via IssueHunt.
Checkout the IssueHunt Issue Explorer to see more funded issues.
Need help from developers? Add your repository on IssueHunt to raise funds.


Simplify acquisition settings

Following our discussion in group meeting, I've made the following simplifying changes to the "Acquisition Settings" panel:

Instead of two 2D vs. 3D menus birefringence and phase, a single 2D vs. 3D menus
Renamed "Acq Channel (BF Only)" to "BF Channel"
"Phase from BF" checkbox aligned with "BF Channel" selection box

Codecov Report

Merging #246 (a682c99) into main (e9ab26c) will increase coverage by 0.01%.
The diff coverage is 0.00%.

@@           Coverage Diff            @@
##            main    #246      +/-   ##
========================================
+ Coverage   4.38%   4.40%   +0.01%
========================================
  Files         22      22
  Lines       4967    4953      -14
========================================
  Hits         218     218
+ Misses      4749    4735      -14

Impacted Files
Coverage Δ

recOrder/acq/acquisition_workers.py
0.00% <0.00%> (ø)

recOrder/plugin/gui.py
0.00% <0.00%> (ø)

recOrder/plugin/main_widget.py
0.00% <0.00%> (ø)

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

Good call...I added a couple tooltips. Thanks @ziw-liu.


Spinner add XL size and thickness update

Follow up from #4116 and #3978, add XL size to Spinner to align with circular spinner new sizes. Also update to use thickness tokens.

Moved to Macchiato sprint. No capacity in Lungo

Macc Goal: unblock by EOS, how to implement in design

Take off assignee and sprint, leave in Q4, see https://github.com/jpmorganchase/salt-ds/issues/3978#issuecomment-2470103303


Feature: maxTokens, model, temperature

I encounter 'Prompt is too large'
The diff is too large for the OpenAI API. Try reducing the number of staged changes or write your own commit message.
In order to solve the issue, please add the maxTokens indicator to the plugin settings.
It will also be nice to have a model and temperature selection.
{
"model": "GPT-4o",
"temperature": 0.9,
"maxTokens": 2048
}

Model section is too important for me


use json for all examples, instead of xml

e.g.
https://rsmp-nordic.org/rsmp_specifications/core/3.1.2/applicability/basic_structure.html#structure-for-a-message-with-status-of-one-or-several-objects

This refers to version 3.1.2, which is an old version. All XML examples were converted to JSon in version 3.1.4.


Wrong System Tray Label when minimizing to Tray using Keybind on v1.2.2

Hi,
when minimizing the window to the tray, the label when right-clicking the tray Icon still says "Minimize to Tray". Clicking it will still reopen the window, so the label just doesn't update when closing with the keybind.

Thanks for reporting 😄
I cannot replicate this on GNOME with AppIndicator and KStatusNotifierItem support, but I think it's solved for the next release.
Just reopen this again if it isn't.


Support path exclusion

When publishing Sphinx documentation, I noticed that the uploaded artifact is unnecessarily large because the .doctrees directory is included, so I tried to exclude it like this (as would be possible with upload-artifact):
- name: Upload artifact
  uses: actions/upload-pages-artifact@v1
  with:
    path: |
      docs/build/html
      !docs/build/html/.doctrees

However, with upload-pages-artifact, this yields an error when calling tar:
tar: docs/build/html\n!docs/build/html/.doctrees\n: Cannot open: No such file or directory

Temporary workaround: Remove the files to exclude.

Same issue for me - would be good if this action supports standard upload-artifact syntax


[Tabs] Update onChange signature to match docs

Contributor Checklist

[ ✓ ] I have followed (at least) the PR section of the contributing guide.

Summary
Changed the value from any to number to match the documentation at https://material-ui.com/api/tabs/

Oh. If it is meant to be any, then should this be changed?
https://github.com/mui-org/material-ui/blob/next/packages/material-ui/src/Tabs/Tabs.js#L462

The value has an unknown type at compile time (any is used for older code). TypeScript can't infer what possible types are passed. The linked docs only make a statement about the default behavior if no value is passed. If a value is passed then that one is used.

@jharrilim Thanks.


SBOM loading optimization

When we added support for SPDX SBOMs we added the same fallback as we have done for CycloneDX, i.e. if the SBOM attestation or the SBOM_BLOB_URL don't yield SBOM data, we extract the image under test and look for the SBOM data in the image's file system.
Given that the SPDX SBOMs are not produced currently, the fallback of loading from the extracted image file system is always taken, and the potentially expensive operation of downloading the image layers and extracting the files is performed.
With this change we don't look for SBOMs in the image under test unless none of the CycloneDX or SPDX SBOMs are available as attestations or from the SBOM_BLOB_URL result. This is a behaviour change, as some parts of code might expect that cyclonedx_sboms and spdx_sboms result in SBOMs fetched from all potential sources, including the image under test's file system -- which no longer will be the case.
I think this should be okay, we're trying to deprecate fetching files from the image under test anyhow.
Reference: https://issues.redhat.com/browse/EC-931

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 100.00%. Comparing base (c4746f5) to head (a0f465b).

Additional details and impacted files

@@            Coverage Diff            @@
##              main     #1190   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files          120       120
  Lines         6254      6257    +3
=========================================
+ Hits          6254      6257    +3

Files with missing lines
Coverage Δ

policy/lib/sbom/sbom.rego
100.00% <100.00%> (ø)

policy/lib/sbom/sbom_test.rego
100.00% <100.00%> (ø)

Reworked this to drop loading from the image to find the SPDX SBOM. Description/commit message updated to reflect this.


split code in chunks

I don't think this is really helpful. We're not trying to teach people about webpack chunks or code splitting.
However, I do like that the routes are converted to remove the Router component from that export. Hot reloading might trigger a Router hot reload, which it doesn't deal well with right now. You should be isolating the routes, not the router.
Can you switch it to just that part of the changes and keep the routes in JSX (to avoid beginner confusion)? That would be awesome! Thanks!

ok, thanks for your advise. I have updated the codes as you said.

Thank you! Looks great!

To be fair I do think we want to have an example with code splitting. However I'd rather see it as a separate example. It should also show how to code split reducers a la https://gist.github.com/gaearon/0a2213881b5d53973514.

@gaearon It's great!


Updated Readme.md

I have now fully provided a new look of readme.md file, and Here, I have uploaded some screenshots but You can see the readme.md file for your references.

Great contribution to HACKTOBERFEST'24! 🎉


Update Composer dependencies (2023-10-07-00-14)

Visual regression test passed!
View the visual regression test report


Made README.md more concise

The writing is more concise and clear by removing the hedge words. I restructured the sentences when just removing the hedge words were not enough. With these changes, the readme is clearer.

OPS Build status updates of commit 3a4bfcc:
:x: Validation status: errors
Please follow instructions here which may help to resolve issue.

File
Status
Preview URL
Details

:x:Error

Details

[Error] Cannot sync git repo to specified state. Please make sure the pull request is mergeable. Details: Git merge results in conflict, repository remote url: https://github.com/MicrosoftDocs/office-docs-powershell, working directory: W:\lkl1-s, target branch: master, target branch commit: ab6ab59086bc78fd43b6f4c096ebd5d5417ba8a0, source branch: 019b6b9502867995f35497ee99ddf6c2/master, source branch commit: .

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

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

OPS Build status updates of commit 92d558e:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

README.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

@tdslinden - Thanks for these edits to make the copy clearer. It is much appreciated! Please make sure to click the sign for the CELA agreement above so I can get this merged once the checks complete.

OPS Build status updates of commit 3605743:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

README.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Added a new page about debugging Chialisp

I'm looking for more helpful tips to add or errors to highlight.  Perhaps an overarching strategy as well.


yte error: list indices must be integers or slices, not str

I am running into this issue when trying to create a YAML file from the following YAML template using yte (v1.5.1):
__use_yte__: true
name: "YTE Bug"
navbar:
  title: "YTE Bug"
  left:
    - text: "Per-patient Reports"
      menu: ?per_patient_reports
    - text: "Pan-patient Reports"
      menu:
        - text: "Test 1"
          href: "01.html"
        - text: "Test 2"
          href: "02.html"

Running the running Python code:
from yte import process_yaml

variables = {
    "per_patient_reports": [{"text": "Disease A", "href": "diseaseA.html"}]
}

with open("_site_template.yaml", "r") as template, open(
    "_site.yml", "w"
) as outfile:
    result = process_yaml(
        template, variables=variables, outfile=outfile, require_use_yte=True
    )

Results in the following error message:
...
File /usr/local/lib/python3.9/site-packages/yte/process.py:125, in _process_dict_items(yaml_value, variables, context, disable_features)
    120         key_context.rendered.append(key_result)
    122         value_result = _process_yaml_value(
    123             value, variables, key_context, disable_features
    124         )
--> 125         variables["doc"]._insert(key_context, value_result)
    127         yield {key_result: value_result}
    128 yield from conditional.process_conditional(variables, key_context, disable_features)

File /usr/local/lib/python3.9/site-packages/yte/document.py:69, in Document._insert(self, context, value)
     66         inner[key] = Subdocument()
     67     inner = inner[key]
---> 69 inner[context.rendered[-1]] = value

TypeError: list indices must be integers or slices, not str

Oddly enough, if you swap the order of the YAML keys such that menu: ?per_patient_reports appears at the end of the template:
__use_yte__: true
name: "YTE Works"
navbar:
  title: "YTE Work"
  left:
    - text: "Pan-patient Reports"
      menu:
        - text: "Test 1"
          href: "01.html"
        - text: "Test 2"
          href: "02.html"
    - text: "Per-patient Reports"
      menu: ?per_patient_reports

This works producing the following _site.yml file:
name: YTE Works
navbar:
  title: YTE Work
  left:
  - text: Pan-patient Reports
    menu:
    - text: Test 1
      href: 01.html
    - text: Test 2
      href: 02.html
  - text: Per-patient Reports
    menu:
    - text: Disease A
      href: diseaseA.html

Thanks for reporting, and sorry for not seeing this earlier. I'll try to have a look ASAP.


add option ovalShape: default true, (false for square shape)

Simple yet useful option!

People who want to use ClipOval can surround the widget with ClipOval. With this option, if someone wants to change the ClipBehavior he cannot do so.
So unless there is a specific argument to add this, I don't see the benefit

CircleFlag is already return clipped image (by ClipOval), and you can not simply undo this work (unless i miss something), so: Please allow users to get access to unclipped images!

Oh yes you are right. What about adding a shape param instead instead ? Then use the shape in clipPath instead:
        return ClipPath(
          clipper: ShapeBorderClipper(
            shape: shape,
            textDirection: Directionality.maybeOf(context),
          ),
          clipBehavior: clipBehavior,
          child: svg,
        );

this is viable, but since clipping is expensive, i propose, to use nullable shape:

    return shape !=null
        ? ClipPath(
            clipper: ShapeBorderClipper(
              shape: shape,
              textDirection: Directionality.maybeOf(context),
            ),
            clipBehavior: clipBehavior,
            child: svg,
          )
      : svg;


Suggestion: Reproject raster to Web Mercator before processing

Thanks for working on this, having landcover really makes the map look more complete!
I'm working on a similar project so thought I'd share some findings. At very high latitudes, the details on the polygons look stretched:

This is introduced when the polygonized rasters are reprojected--the output has much higher horizontal resolution than vertical at these latitudes. If you instead reproject the rasters at the beginning, the median blur will smooth out the extra horizontal detail and IMO the result looks better.

Thanks for sharing


Project page shows Crawl as "STARTED" when it's really "STOPPED"

Steps to reproduce:

Start an ACHE crawl
Stop the ACHE crawl
visit the project page

(seen on FireFox)

Did refreshing the page not work?

That "fixes" it, but we're not correctly providing this content if the browser is caching that status.

Okay, I'm going to close this, I can't reproduce it.


Can't use newer AWS instances

Problem
Specifying AWS instances like the t4g series fail on NixOps.
Proposal 1
Update NixOps. Not sure if this will solve it as NixOps status is  unclear https://github.com/NixOS/nixops/issues/1574.
Proposal 2
Switch to terranix?
Proposal 3
Use plain terraform?

Specifying AWS instances like the t4g series fail on NixOps.

This should work, as non-x86_64 instance support was added in https://github.com/NixOS/nixops-aws/pull/159.
You could open an issue there.
What's the error?

@roberth Thanks for the feedback!
We're using an old nixpkgs here, I don't think we have that change
https://github.com/PostgREST/postgrest-benchmark/blob/262be48d5f070b147d4ff65b3da8e9bacdf194e1/shell.nix#L2-L6
I'll try and upgrade NixOps

I see. Currently I'm fixing the build in Nixpkgs.
Nixpkgs 3f2deb9e98 is a somewhat recent one that does build.

Please try with https://github.com/NixOS/nixpkgs/pull/292099
The previous versions had a bug in AMI lookup.

@roberth Sorry for the late reply. Just got some time to try the migration.
I've upgraded to nixpkgs latest (https://github.com/PostgREST/postgrest-benchmark/pull/3), but I'm getting an error:
$ nixops create deploy.nix -d postgrest-bench
usage: nixops [-h] [--version] [--pdb] operation ...
nixops: error: unrecognized arguments: deploy.nix

Checking man nixops and the 2.0 release notes I don't see how to use the create command now. :thinking:

Ah, nixops create does provide a hint:
ValueError: Neither flake.nix nor nixops.nix exists in /home/stevechavez/Projects/postgrest-benchmark


Localize specified points(or ranges)

Hello.
Can I find some points at image A.jpg, from depth map(merged.ply or something else)?
For example,
I have 4 images, named {A.jpg, B.jpg, C.jpg, D.jpg}, respectively, which are moving forward images 1920 * 1080 captured from black-box at car.
I found a real-object from A.jpg, B.jpg, C.jpg, D.jpg using object-detection algorithm,
object locates in (u1, v1), (u2, v2) at A.jpg , ... (bounding box)
(like (1044, 576) - left top, (1070, 602) - right bottom at A.jpg)
and run OpenSfM with 4 images, undistorted data are generated.
Q) If so, can I find a real-point (X,Y,Z) correspond to (1044, 576) at A.jpg?
more detail, can I figure out any points (u, v) at image (A.jpg), where that point (u, v) locates in depth-map(or real world), (x, y, z)?
Thanks.

Hi,
You can use load_clean_depthmap for loading the depthmap of any image, then, from this, you can get depth (relative to the image position) of all the pixels in your bounding-box.
Let me know if that helps.
Yann

load_clean_map function in OpenSfM/dataset.py:741, right?
I found this function in OpenSfM/dense.py:324.
I will try with this function.
@YanNoun Thanks for your reply.

Hi @kjkim-kr @YanNoun I am in a very similar position, trying to estimate SfM given 3 images taken from different locations. I intend to estimate 3D coordinates of pixels in an image, similar to the author's initial comment. When I extract the clean depth map, the depth of all pixels is empty. However, raw depth maps seem to contain sparse depth information. In the sense that only a few structures of the scene have depth and not all. (attaching the image). My questions are

Can depth be inferred only at those parts of the scene which have been observed by 2 or more cameras, for which parallax is available?
For the locations in the depth map, where no depth information is available( depth is 0 where it's not supposed to be), is a hallucination (Nearest neighbor approaches) valid approach?
Similar to @kjkim-kr , my input frames are (1080x1920). However, depth maps are of shape (360, 640). Could you please elaborate more on this? (My apologies if my understandings of the library/sfm are not concrete enough).

Thank you again for taking the time to read my question.
Depth Map

Regards,


Node stuck in Waiting for Node Ref in a Custom RKE2 cluster

Rancher Server Setup

Rancher version: 2.6.5
Installation option (Docker install/Helm Chart): Helm Chart, Kubernetes 1.23.6 Kapsule (scaleway)

Information about the Cluster

Kubernetes version: v1.23.7+rke2r2
Cluster Type (Local/Downstream):  Custom = Running a Registration Command on each node. Nodes are elastic-metal instances from scaleway

User Information

What is the role of the user logged in? (Admin/Cluster Owner/Cluster Member/Project Owner/Project Member/Custom)
admin

Describe the bug
All nodes are stuck in Waiting for Node Ref
To Reproduce

Create an RKE2 Custom cluster with no cloud provider (everything else on default)
3 etcd+control-plane nodes and 3 worker nodes
The first node where the registration command was apply came up in the cluster, but no other node appears
All nodes are stuck in "Waiting for Node Ref" in cluster management
All pods are running on the first node except "cattle-fleet-system"  because it's a control-plane node (had the associated taint)

Expected Result
All the nodes should come up Active in the cluster management and in the cluster view

I am noticing the same thing right now.
Using the below:
3 control plane nodes (These come online)
3 work nodes (These ones are stuck on "Waiting for Node")
Rancher: 2.6.5
RKE2: v1.23.6+rke2r2
Terraform Rancher Provider: 1.24.0

Same thing with rke2 cluster version : v1.22.10+rke2r2 and with node containing the 3 roles (etcd+control-plane+worker)

Same problem here !
Node are stuck in WaitingForNodeRef  (Rancehr 2.6.5, rke2 v1.23.7+rke2r2 on Ubuntu 20.04)
  - lastTransitionTime: "2022-06-20T20:12:41Z"
    reason: WaitingForNodeRef
    severity: Info
    status: "False"
    type: NodeHealthy

i have the same problem - everything works great. but when cloud provide is set to vsphere -nodes/vms are stuck in creating
  reason: WaitingForNodeRef
  severity: Info
  status: 'False'
  type: NodeHealthy

Tried changind all possible values of CPI and CSI
 chart_values = <<EOF

rancher-vsphere-cpi:
vCenter:
host: ${var.vcenter-server}
port: 443
insecureFlag: true
datacenters: ${var.vcenter-datacenters}
username: ${var.vcenter-user}
password: ${var.vcenter-pass}
credentialsSecret:
#  name: "vsphere-cpi-creds"
generate: true
cloudControllerManager:
nodeSelector:
node-role.kubernetes.io/control-plane: 'true'
rancher-vsphere-csi:
vCenter:
host: ${var.vcenter-server}
# port: 443
# insecureFlag: "1"
datacenters: ${var.vcenter-datacenters}
username: ${var.vcenter-user}
password: ${var.vcenter-pass}
configSecret:
#name: "vsphere-config-secret"
generate: true
csiNode:
nodeSelector:
node-role.kubernetes.io/worker: 'true'
storageClass:
# allowVolumeExpansion: true
datastoreURL: ${"var.vcenter-ds-url"}
storagePolicyName: "k8s-storage"
asyncQueryVolume:
enabled: true
csiAuthCheck:
enabled: true
improvedCsiIdempotency:
enabled: true
improvedVolumeTopology:
enabled: true
onlineVolumeExtend:
enabled: true
storageClass:
# allowVolumeExpansion: true
storageClassName: "vsphere-csi-sc"
triggerCsiFullsync:
enabled: true
EOF


Revise desktop wallet docs

Background
Revise Desktop Wallet documentations on:

Full DApp browser support
Ledger UX update
https://github.com/crypto-com/chain-desktop-wallet/pull/958

/staging

Looks good - just made a few minor changes.

/staging

/staging

/staging


fix: save flag on handle change in xml editor

Closes #1876

This fixes most of the cases, but the diagram still cannot be saved if the change happens only in the visual (BPMN, DMN, Form) editor. Cf.
https://user-images.githubusercontent.com/28307541/198255376-b7dfe1ff-482f-43e7-a9f5-b3dde7d7b557.mov
Notice that tab is dirty but the XMLEditor seems to consider it not dirty. Perhaps the "save" property should be handled in the MultiSheetTab instead as it can use information from both editors.

ok, I'll see what we can do. also I have a question. If you open a bpmn diagram from disk, then you can save it multiple times in a row. Is this correct behavior?

I checked the files and it seems we always allow to save in BPMN, DMN, and Form editors. I couldn't find a test case which would confirm that this is expected, but the Modeler would behave like this in 4.12.0.
I don't see a reason why we should ever disallow to save file, so I think it's OK if you just change to allow save independently from the dirty state.

maybe save always set to true because of #2925

maybe save always set to true because of #2925

Yes, I think it would be OK.

so, with the save flag setted to true you can save anytime in xml view. also updated tests. anything else on this?


Can't compile on OSX 10.5.8 + GCC 4.0.1

What steps will reproduce the problem?

Can't compile on OSX

$ make
g++ -c -I. -I./include -DLEVELDB_PLATFORM_OSX -O2 -DNDEBUG
db/table_cache.cc -o db/table_cache.o
g++ -c -I. -I./include -DLEVELDB_PLATFORM_OSX -O2 -DNDEBUG
db/version_edit.cc -o db/version_edit.o
g++ -c -I. -I./include -DLEVELDB_PLATFORM_OSX -O2 -DNDEBUG
db/version_set.cc -o db/version_set.o
db/version_set.cc: In member function ‘void
leveldb::VersionSet::Builder::Apply(leveldb::VersionEdit*)’:
./db/version_edit.h:99: error: ‘std::vector<std::pair<int,
leveldb::InternalKey>, std::allocator<std::pair<int, leveldb::InternalKey> > >
leveldb::VersionEdit::compact_pointers_’ is private
db/version_set.cc:287: error: within this context
./db/version_edit.h:99: error: ‘std::vector<std::pair<int,
leveldb::InternalKey>, std::allocator<std::pair<int, leveldb::InternalKey> > >
leveldb::VersionEdit::compact_pointers_’ is private
db/version_set.cc:288: error: within this context
./db/version_edit.h:99: error: ‘std::vector<std::pair<int,
leveldb::InternalKey>, std::allocator<std::pair<int, leveldb::InternalKey> > >
leveldb::VersionEdit::compact_pointers_’ is private
db/version_set.cc:290: error: within this context
./db/version_edit.h:86: error: ‘typedef class std::set<std::pair<int,
uint64_t>, std::less<std::pair<int, uint64_t> >, std::allocator<std::pair<int,
uint64_t> > > leveldb::VersionEdit::DeletedFileSet’ is private
db/version_set.cc:294: error: within this context
./db/version_edit.h:100: error: ‘std::set<std::pair<int, uint64_t>,
std::less<std::pair<int, uint64_t> >, std::allocator<std::pair<int, uint64_t> >
> leveldb::VersionEdit::deleted_files_’ is private
db/version_set.cc:294: error: within this context
./db/version_edit.h:101: error: ‘std::vector<std::pair<int,
leveldb::FileMetaData>, std::allocator<std::pair<int, leveldb::FileMetaData> >
> leveldb::VersionEdit::new_files_’ is private
db/version_set.cc:304: error: within this context
./db/version_edit.h:101: error: ‘std::vector<std::pair<int,
leveldb::FileMetaData>, std::allocator<std::pair<int, leveldb::FileMetaData> >
> leveldb::VersionEdit::new_files_’ is private
db/version_set.cc:305: error: within this context
./db/version_edit.h:101: error: ‘std::vector<std::pair<int,
leveldb::FileMetaData>, std::allocator<std::pair<int, leveldb::FileMetaData> >
> leveldb::VersionEdit::new_files_’ is private
db/version_set.cc:306: error: within this context
db/version_set.cc: In member function ‘void
leveldb::VersionSet::Builder::SaveTo(leveldb::Version*)’:
./db/version_set.h:66: error: ‘std::vector<leveldb::FileMetaData*,
std::allocator<leveldb::FileMetaData*> > leveldb::Version::files_ [7]’ is
private
db/version_set.cc:320: error: within this context
./db/version_set.h:66: error: ‘std::vector<leveldb::FileMetaData*,
std::allocator<leveldb::FileMetaData*> > leveldb::Version::files_ [7]’ is
private
db/version_set.cc:324: error: within this context
db/version_set.cc: In member function ‘void
leveldb::VersionSet::Builder::MaybeAddFile(leveldb::Version*, int,
leveldb::FileMetaData*)’:
./db/version_set.h:66: error: ‘std::vector<leveldb::FileMetaData*,
std::allocator<leveldb::FileMetaData*> > leveldb::Version::files_ [7]’ is
private
db/version_set.cc:367: error: within this context
make: *** [db/version_set.o] Error 1

What version of the product are you using? On what operating system?

from SVN

Please provide any additional information below.

gcc --version
i686-apple-darwin9-gcc-4.0.1 (GCC) 4.0.1 (Apple Inc. build 5488)
Copyright (C) 2005 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Original issue reported on code.google.com by<EMAIL_ADDRESS>on 21 Jun 2011 at 2:34

Sounds like you need this patch:

https://github.com/dizzyd/leveldb/commit/04a80d05e5aadacabab6c5f9699e639d3b05d8b
f

Original comment by<EMAIL_ADDRESS>on 21 Jun 2011 at 4:10

Good news. I confirm that with the "cc-detect.patch", everything compile just
fine under OSX 10.5.8.
The patch was able to detect "llvm-g++" under
"/Developer/usr/llvm-gcc-4.2/bin/llvm-g++4.2".
Thanks guys and keep up the good work.

Original comment by<EMAIL_ADDRESS>on 7 Jul 2011 at 7:43

There have been a bunch of build improvements.  Please reopen if the problem
still exists.

Original comment by<EMAIL_ADDRESS>on 30 May 2012 at 5:19

Changed state: WontFix

On OSX 10.5.8, my Xcode version is 3.1.1. So, "llvm-g++" command isn't
available.
However, I can confirm that under OSX 10.6.8, the "cc.patch" works and let me
compile level-db with "llvm-g++".
Hope this help guys.

Original comment by<EMAIL_ADDRESS>on 7 Jul 2011 at 11:26

This patch looks for llvm-g++ in the system path, and in an XCode-specific
directory. Can you try it on 10.5?

Original comment by<EMAIL_ADDRESS>on 7 Jul 2011 at 6:58
Attachments:

cc-detect.patch

XCode 3.1.4 (10.5-compatible) defaults to GCC 4.0.1, however it includes GCC
4.2 and LLVM/GCC 4.2. A possible solution is to compile with llvm-g++ on OS X.
Can someone affected by this on 10.5 check if the attached patch resolves the
issue?

Original comment by<EMAIL_ADDRESS>on 7 Jul 2011 at 10:00
Attachments:

cc.patch