Update zio-json to 0.7.0 in main

About this PR
📦 Updates dev.zio:zio-json from 0.6.2 to 0.7.0
📜 GitHub Release Notes - Version Diff
Usage
✅ Please merge!
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

🔍 Files still referring to the old version number
The following files still refer to the old version number (0.6.2).
You might want to review and update them manually.
package-lock.json

⚙ Adjust future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "dev.zio", artifactId = "zio-json" } ]

Or, add this to slow down future updates of this dependency:
dependencyOverrides = [{
  pullRequests = { frequency = "30 days" },
  dependency = { groupId = "dev.zio", artifactId = "zio-json" }
}]

labels: library-update, early-semver-major, semver-spec-minor, old-version-remains, commit-count:1

Superseded by #323.


improve(apiserver): improve pool-controller query efficiency

What this PR does / why we need it:
improve pool-controller query efficiency and convert the http status code using http package
Special notes for your reviewer:
Does this PR introduce a user-facing change?

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

Comparison is base (7726823) 28.41% compared to head (256570a) 28.74%.
Report is 4 commits behind head on main.

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1305      +/-   ##
==========================================
+ Coverage   28.41%   28.74%   +0.32%
==========================================
  Files          34       34
  Lines        3079     3079
==========================================
+ Hits          875      885      +10
+ Misses       2089     2077      -12
- Partials      115      117       +2

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

@peng9808 can you have a look?

lgtm


More mobile improvements

This is a follow-up to https://github.com/jeremyevans/hanna-nouveau/pull/18, and should solve most cases of overflowing text causing full-page horizontal scroll.
I added word break to the header, to prevent overflow that makes the whole page horizontally scrollable on mobile.
https://user-images.githubusercontent.com/795488/210663509-bbd23ae9-1cc5-47d4-a2fe-2759c53efaf7.mov
The method list is now displayed within normal flow of the document on mobile, as there is not enough horizontal place to display the method list comfortably (it's too narrow, and lot of overflowing text is hidden). The additional horizontal space for the main content is especially useful for plugin classes that only have a few of uninteresting methods.
https://user-images.githubusercontent.com/795488/210663940-da2933da-796a-4c5a-bebe-ae78db6c605f.mov
Added horizontal scrolling to various sections whose content would otherwise overflow and cause the whole page to be horizontally scrollable.
https://user-images.githubusercontent.com/795488/210664172-97b65759-7c1b-4114-aba1-7bf4a3736913.mov
Removed the horizontal margin for code blocks, to be able to display more characters. On mobile it looks crammed when code blocks are indented, because there is little horizontal space as it is.
https://user-images.githubusercontent.com/795488/210664389-fd978218-757b-47ec-8fe3-15be83b1a7eb.mov

All changes look good to me.  Thanks for working on this!

Would be great to get a new release with these improvements soon 🤞🏻 I would like to see Sequel/Roda/Rodauth documentations benefiting from this starting from the next release, as for me it really improves accessibility 🙂

Agreed.  I will try to get a release out this week.


Send debug info to OUTPUT window

Per @lloydtabb :
It would be great if we could some how log debug output to the OUTPUT window below. For example, I'm running a query and I'm getting only a few results. What did the query look like?
When we have exceptions, it would be nice not to have to chase down a logfile on a disk somewhere (I can't seem to find one).

I think this is done?


Upgrade Lighthouse from v4.2.0 to v4.3.0.

Update lh-externs.d.ts with newly accessible types.

Remove yarn.lock, but otherwise LGTM


Is it possible to change settings when reading model from json?

Hi there,
In rust you can simply override the settings, but using this interface the same does not seem possible. At least I can not figure out how.
My problem initially came since I wanted to try out the faer-solver, but my json model came from Julia which do not support that (Turns out that you can actually export to the faer solver from Julia by setting direct_solve_method=:faer, since it does not check if the field is an actual available solver). However, I would like to avoid having a json file for each solver.
Best,
Mikkel

The issue is that the read_from_file function reads the JSON file and converts it immediately to a solver object.    All of the internal data structures are allocated when creating that solver object, including the internal KKT solver with its choice of LDL subsolver.   Once that happens you can't change your mind about which linear solver to use.
I guess the solution is to just let you load the JSON file and get all of the data fields without the solver step.    That functionality already exists in the code here, it's just not part of the public interface.
It's easy enough to make this part of the public interface in rust or julia, i.e. something like read_from_file_raw or whatever.   Doing so in C or C++ would be kind of a PITA but also doable.

Note you can also directly edit the JSON file after you export it to replace the solver option there.   Something like perl -pi -e 's/qdldl/faer/g' <yourfile>.json edits it in place.
I would agree that that's not a good long term solution though.

I think what you are doing is: create a solver object via Julia, then update the settings.direct_solve_method to some solver of your choice, then export to a file.    The effect of that is:

The Julia object itself will ignore that change of setting, since the direct_solve_method is only examined once at object creating.   IOW, you can't create a solver object, solve your problem, then change LDL option, then solve again and end up using the new LDL solver.

The export to JSON format will be fine, since it is just dumping its problem data and current settings to a text file.    There is no need to make multiple solvers to create different JSON files -- just change the settings and dump to as many different files as you like.

All that (2) is doing though is changing one string in the output file though, which you could also do manually or via some script like the perl above.
If we extend the interface to allow you to pass your own settings, my preference would be to just allow direct access to the data that was loaded rather than trying to pass an optional list of settings.   Julia and C++ are fine with having different variations of the same function with different signatures, but rust not so much, and I would like to keep the interfaces as similar as possible.    This means you would have to do it in two steps though, i.e. load the file directly and then pass all of the data to the problem constructor yourself.

I guess technically you can do (1), but it would just be wrong / have some undefined behaviour. Good to know.
Related to (2), then I guess the same could be done in Rust for now, i.e. change settings and then write the new model to a new file and then read in that new file. It is little much for something that is simply just a change of a single string.
I agree that just having access to the data would be preferred. It would at give you some more room to experiment with the models that is loaded from JSON instead of having hardcoded settings (i get that hardcoded settings is good for reproducibility just not as much for experimenting).

I will see what I can do about providing access to the data directly without forming a solver.   I assume that this relates to the C or C++ interface, yes?
The hardcoded settings are indeed mostly about reproducibility.  I had this in mind more as a mechanism for people to easily report problems to us without having to provide a lot of code to reproduce their problem data.   This way they can just dump it to a file regardless of how it was generated.

Yes, its only C/ C++ where this is giving some issues. In Rust and Julia you can at least get around the issue fairly easy as you have access to the data through the solver object.
That makes sense. It could maybe make sense to include the version number to the JSON file then?

Another option (for C++ at least) is to just read the JSON file directly since it is in a standard format, then pass the data directly to the solver constructor yourself.   Something like this : https://github.com/nlohmann/json


Error on ios8

Hi,
This is working perfect on ios 9 but I'm getting this error on ios 8 devices.
fatal error: use of unimplemented initializer 'init(nibName:bundle:)' for class

init(style: UITableViewStyle, itemInfo: IndicatorInfo) {
        self.itemInfo = itemInfo
        super.init(style: style)
    }

anything ? @xmartlabs

It's still happening

Same here

Could reproduce this issue in the Example project with TableChildExampleViewController, seems iOS 8 calls that init because reasons. To fix it just implement the init:
override init(nibName nibNameOrNil: String?, bundle nibBundleOrNil: Bundle?) {
    super.init(nibName: nibNameOrNil, bundle: nibBundleOrNil)
}

Cheers


bug fix

Issue Link :link:

Goals :soccer:

Implementation Details :construction:

Testing Details :mag:

test


Replace fake server with fakeDiscovery

Description
This PR removes createFakeServer (cmd/support_archive/resources_test.go:350) to mock discovery response; instead, use FakeDiscovery client. Also extends k8sResourceCollector to pass DiscoveryClient and replace it inside readCustomResourceDefinitions instead of creating it inside method.
How can this be tested?
unit tests
make test/e2e/supportarchive
Checklist

[x] Unit tests have been updated/added
[x] PR is labeled accordingly with a single label
[x] I have read and understood the contribution guidelines

Codecov Report
Attention: Patch coverage is 63.63636% with 4 lines in your changes are missing coverage. Please review.

Project coverage is 66.85%.  Consider uploading reports for the commit a4597ba to get more accurate results

Files
Patch %
Lines

cmd/support_archive/builder.go
0.00%
4 Missing :warning:

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2862      +/-   ##
==========================================
- Coverage   66.86%   66.85%   -0.01%
==========================================
  Files         253      253
  Lines       13785    13785
==========================================
- Hits         9217     9216       -1
- Misses       3759     3761       +2
+ Partials      809      808       -1

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

remove csi.sqlite file


phantomJSHandle undefined

Testing http://localhost:9412/krinkle-mediawiki-core/index.php?title=Special:JavaScriptTest/qunit
Warning: Cannot read property 'connected' of undefined Use --force to continue.
TypeError: Cannot read property 'connected' of undefined
    at exports.init.exports.spawn.kill (grunt-contrib-qunit/node_modules/grunt-lib-phantomjs/lib/phantomjs.js:59:28)
    at exports.init.exports.spawn.cleanup (grunt-contrib-qunit/node_modules/grunt-lib-phantomjs/lib/phantomjs.js:65:31)
    at node_modules/grunt-contrib-qunit/node_modules/grunt-lib-phantomjs/lib/phantomjs.js:174:7
    at util.spawn.callDone (grunt/node_modules/grunt-legacy-util/index.js:159:5)
    at Object.util.spawn (grunt/node_modules/grunt-legacy-util/index.js:178:7)
    at EventEmitter.exports.init.exports.spawn (grunt-contrib-qunit/node_modules/grunt-lib-phantomjs/lib/phantomjs.js:164:41)
    at module.exports (grunt-contrib-qunit/tasks/qunit.js:197:17)
    at async.forEachSeries.iterate (grunt/node_modules/async/lib/async.js:108:13)
    at Object.async.forEachSeries (grunt/node_modules/async/lib/async.js:124:9)
    at Object.module.exports (grunt-contrib-qunit/tasks/qunit.js:189:22)

Aborted due to warnings.

The kill() function assumes phantomJSHandle has been assigned. However when cleanup() is called in the immediate mode (like cleanup(null, true /* immediate */); from the grunt.util.spawn callback), it has not returned a value yet and as such is still undefined because it runs synchronously.

I am seeing the same error on my Mac when using grunt-contrid-jasmine on a fresh npm install – this issue is referred in https://github.com/gruntjs/grunt-contrib-jasmine/issues/156

When in run jasmine using grunt i see the following message. But this generates specRunner html file.Im trying to get the test execution summary on command line. And it fails because of following message.
Running "jasmine:unit" (jasmine) task
Testing jasmine specs via PhantomJS
Warning: Cannot read property 'pid' of undefined Use --force to continue.
Aborted due to warnings.
Versions:
Phantomjsjs: 1.9.8
grunt-contrib-jasmine: ~0.9(what ever is the latest)
"grunt server --stack" logs:
TypeError: Cannot read property 'pid' of undefined
at kill (C:\nodejs\sample\node_modules\grunt-contrib-jasmine\node_modules\grun
t-lib-phantomjs\lib\phantomjs.js:59:28)
at cleanup (C:\nodejs\sample\node_modules\grunt-contrib-jasmine\node_modules\g
runt-lib-phantomjs\lib\phantomjs.js:65:31)
at C:\nodejs\sample\node_modules\grunt-contrib-jasmine\node_modules\grunt-lib-
phantomjs\lib\phantomjs.js:174:7
at callDone (C:\nodejs\sample\node_modules\grunt\node_modules\grunt-legacy-uti
l\index.js:159:5)
at Object.util.spawn (C:\nodejs\sample\node_modules\grunt\node_modules\grunt-l
egacy-util\index.js:178:7)
at EventEmitter.exports.spawn (C:\nodejs\sample\node_modules\grunt-contrib-jas
mine\node_modules\grunt-lib-phantomjs\lib\phantomjs.js:164:41)
at phantomRunner (C:\nodejs\sample\node_modules\grunt-contrib-jasmine\tasks\ja
smine.js:140:15)
at Object. (C:\nodejs\sample\node_modules\grunt-contrib-jasmine\tas
ks\jasmine.js:108:5)
at Object. (C:\nodejs\sample\node_modules\grunt\lib\grunt\task.js:2
64:15)
at Object.thisTask.fn (C:\nodejs\sample\node_modules\grunt\lib\grunt\task.js:8
2:16)
Aborted due to warnings.
Please help me. What am I doing wrong here?
Thanks!

From all the stack traces above, that there is a problem with the path of PhantomJS binary. The package phantomjs (aka phantomjs-prebuilt) is the one responsible for installing and providing us the path of PhantomJS binary.
So this issue has nothing to do with this package even if the error message says otherwise.
A fresh install of this package should fix the issue. If persist, please report it to https://github.com/Medium/phantomjs.
Closing this for now, feel free to ask if you have followup questions.


how to add a button near send message button

hi,
I want to send image throw rasa-webchat to rasa server. but there isn't send local file feature.
so I want to add a button near send message button, after click this button, popup a box to sending local image file.
how to add a custom button?

Hi, rasa webchat doesn't support uploading files as of now, if this is a feature that you want to add, we're open to reviewing pull requests.

really?I have seen issue about this years ago.
so I didn't think it is useful of a request.
My question is about a button, not upload.
thanks for reply.


Add endpointing doc for sherpa-ncnn

Please see the documentation at
https://k2-fsa.github.io/sherpa/ncnn/endpoint.html


refactor: update jobs to run on latest os version

@kov117 The Terraform workflow uses the hashicorp/setup-terraform action to install Terraform instead of relying of the version that used to be pre-installed on GitHub runners, so we should be fine, but feel free to test before getting an approval.

Merged changes from main branch, which contains fixes for linter errors you were having in this branch 🕺

@equinor/ops-actions-maintainers test was succesfull, it was as @hknutsen said, everything turned out fine. So review away 👍🏼


item replace unsupported

new to 1.17 replaceitem isnt used anymore it is now item replace {slot} with {item}

It is supported.


ROX-15259: Do not show DNS flows in the inactive view

Description
This PR hides the DNS flows when we pick the Inactive flows option and we show it when we pick a new (third) option called Inactive flows with DNS flows

This looks like it may need more thought, so I'm going to close this PR for now


Install wheel packages

Is it possible to use pre-built wheel packages with this solution?

I haven't tried, but that should be possible.
If you replace the link of the version (here for example) with the download link of the wheel file, that should work.
However you must keep in mind that if the link to the wheel is public, anyone can download it. I don't see how you can keep it private using a pre-built wheel...


[red-knot] support del statement and deletion of except handler names

At runtime, names bound in an except handler are del ed at the end of the except handler block. We should model this as if there were a del statement for the name at the end of the block. And we should also support real del statements.
In both cases, it should take the form of a Definition that causes the name to be unbound.

Oops, accidentally closed this. It's not fixed!


Update documentation now that client connect has become implicit

I’m working on helping update pushy-clj to the current API, from version 0.9.2, and have run into a few stumbling blocks where the documentation could better reflect the new way of doing things. The main project README.clj still shows the following example for constructing an ApnsClient:
final ApnsClient apnsClient = new ApnsClientBuilder()
        .setClientCredentials(new File("/path/to/certificate.p12"), "p12-file-password")
        .build();

However, now that there is no longer an explicit connect call made to the client, the above code will actually result in an IllegalStateException because “No APNs server address specified.” It seems that setApnsServer() now needs to be called on the ApnsClientBuilder before build().
The same seems to be true for the alternate, Token, configuration example which follows:
final ApnsClient apnsClient = new ApnsClientBuilder()
        .setSigningKey(ApnsSigningKey.loadFromPkcs8File(new File("/path/to/key.p8"),
                "TEAMID1234", "KEYID67890"))
        .build();

Also, line 49 of ApnsClientBuilder.java states “All settings are optional.” This is no longer true, so it should probably say “All settings apart from the APNS Server and credentials are optional.”
Finally, you might want to mention this IllegalStateException in the JavaDoc for the build() method. It can be thrown if there is no server configured, if there are no credentials configured, or if both TLS  credentials and a signing key are configured.

All legit criticism. Will try to get it sorted shortly. Thanks for the report!


Minor Bug : CSV import specs do not display / toggle

If you use a space in a $singular_name for a DataObject then create a ModelAdmin to manage that object, then the toggle link to display the CSV import specs fails.
This is due to the javascript not recognising the space(s) in the ModelName.
I suggest changing either ModelAdmin_ImportSpec.ss or the ModelAdmin.js to fix this.

#4424


Update permission for my.conf.erb to 0700 from 0600

Description
Permission to my.conf.erb has been update to 0700 from 0600 to allow user to execute my.conf file.
Issues Resolved
461
Check List

[ ] All tests pass. See https://github.com/chef-cookbooks/community_cookbook_documentation/blob/master/TESTING.MD
[ ] New functionality includes testing.
[ ] New functionality has been documented in the README if applicable
[ ] The CLA has been signed. See https://github.com/chef-cookbooks/community_cookbook_documentation/blob/master/CONTRIBUTING.MD

Hi. I am an automated pull request bot named Curry. There are commits in this pull request whose authors are not yet authorized to contribute to Chef Software, Inc. projects or are using a non-GitHub verified email address. To become authorized to contribute, you will need to sign the Contributor License Agreement (CLA) as an individual or on behalf of your company. You can read more on Chef's blog.
GitHub Users Who Are Not Authorized To Contribute
The following GitHub users do not appear to have signed a CLA:

@snehitgajjar

Please sign the CLA here.

Why does the owner need to execute a configuration file?

Accepting under the obvious fix policy

I still want to know why you would need to execute on a conf file. This can be a result in a major security flaw. There is a reason for the 0600 or 0400 desire on the mysql.cnf

Again why is this type of permissions being allowed into this community cookbook. you are potentially expose a huge hole.

reverted with e431bf1d9d8d06d71b56118a1e50b6a5e8ef5c59


Please help me! When run train(epoch)

Epoch: 0
learning_rate: 0.01
Traceback (most recent call last):
File "mainpro_FER.py", line 214, in
train(epoch)
File "mainpro_FER.py", line 119, in train
train_loss += loss.data[0]
IndexError: invalid index of a 0-dim tensor. Use tensor.item() to convert a 0-dim tensor to a Python number

Use
train_loss += loss.item()


[BEAM-4255] Set singleton view writers' accumulation mode to discarding

The code snippet below was writing multiple values to the sideInput, resulting in exception: "PCollection with more than one element accessed as a singleton view."
PCollectionView globalView = input
.apply(Window.into(new GlobalWindows())
.triggering(Repeatedly.forever(AfterPane.elementCountAtLeast(1)))
.accumulatingFiredPanes())
.apply(Sum.integersGlobally().asSingletonView())
This PR sets the accumulation mode to discarding for singleton view writer, so that the GBK's used by view writers do not accumulate combine results.

Follow this checklist to help us incorporate your contribution quickly and easily:

[ ] Make sure there is a JIRA issue filed for the change (usually before you start working on it).  Trivial changes like typos do not require a JIRA issue.  Your pull request should address just this issue, without pulling in other changes.
[ ] Format the pull request title like [BEAM-XXX] Fixes bug in ApproximateQuantiles, where you replace BEAM-XXX with the appropriate JIRA issue.
[ ] Write a pull request description that is detailed enough to understand:

[ ] What the pull request does
[ ] Why it does it
[ ] How it does it
[ ] Why this approach

[ ] Each commit in the pull request should have a meaningful subject line and body.
[ ] Run ./gradlew build to make sure basic checks pass. A more thorough check will be performed on your pull request automatically.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

@tgroh could you review this, please?

run java precommit

Using singletonView with Combine is generally flawed. Not continuing this PR


Adds --k8s-namespace-whitelist cli option

Fixes #1181
Intended for clusters with large amounts of namespaces. If provided Flux
will only monitor workloads in the given namespaces. This significantly
cuts the number of API calls made.
An empty list (i.e. not provided) yields the usual behaviour.

Closing in favour of #1184


[PSM Interop] Increase CSM NEG annotation timeout; improve wording

GAMMA server runner: increase the wait time for the NEG annotation from 1 minute to 3.
Improve the wording around the wait for NEG methods to make it clear this is the annotation we're waiting for - so it's not confused with getting the NEG health from the GCP APIs.

ref b/298501683, b/302723651

Log example:

I0929 16:49:44.172949<PHONE_NUMBER>85024 k8s_base_runner.py:778] Waiting for 'cloud.google.com/neg-status' annotation for a NEG at port 8080 to be assigned to Kubernetes Service psm-grpc-server in namespace sergiitk-server-20230929-2349-291c6
I0929 16:49:51.814923<PHONE_NUMBER>85024 k8s_base_runner.py:792] Detected cloud.google.com/neg-status annotation for Kubernetes Service psm-grpc-server, namespace sergiitk-server-20230929-2349-291c6: neg_name=k8s1-f49d7eef-sergiitk-server-20230929--psm-grpc-se-80-48c728cf, port=8080, zones=['us-east7-c']

Timeout example:
Reason: A Kubernetes Service wasn't assigned a NEG (Network Endpoint Group) status annotation.
################################################################################
# IMPORTANT: This is not a root cause. This is an indication that
# _something_ -- literally _anything_ -- has gone wrong in the xDS flow.
# It is _your_ responsibility to look through the interop client and/or
# server logs to determine what exactly went wrong.
################################################################################
# Please inspect the information below:
Timeout 0:00:01 (h:mm:ss) waiting for Kubernetes Service psm-grpc-server in the namespace sergiitk-server-20230930-0037-zoqh2 to report the 'cloud.google.com/neg-status' metadata annotation.
This indicates the NEG wasn't created OR the NEG creation event hasn't propagated to Kubernetes. Service metadata:
psm-grpc-server:
---
annotations:
  cloud.google.com/neg: '{"ingress":true}'
creation_timestamp: 2023-09-30 00:37:50+00:00
deletion_grace_period_seconds: null
deletion_timestamp: null
finalizers: null
generate_name: null
generation: null
labels:
  owner: xds-k8s-interop-test
name: psm-grpc-server
namespace: sergiitk-server-20230930-0037-zoqh2
owner_references: null
resource_version: '5204064'
self_link: null
uid: be2bbb65-ed5f-4295-80be-9f432355f1a7
...

 Service status:
psm-grpc-server:
---
conditions: null
load_balancer:
  ingress: null
...

[ ] grpc/java/v1.58.x/branch/xds_k8s_lb
[ ] grpc/java/v1.58.x/branch/psm-security
[ ] grpc/java/v1.58.x/branch/xds_url_map


Update get_batch import to cpg-utils

Relies on: https://github.com/populationgenomics/cpg-utils/pull/145
Centralise the wrapper, because it's useful for other places, including ensuring the ar-guid is transferred across to sub-batches.

I am happy with this change

@illusional @vivbak This is ready to roll - I found that since importing the batch wrapper from cpg_utils there's a lot of cross-test carry over. This caused failures in various tests aimed at counting the number of jobs, or checking the exact content of jobs. I couldn't find an easy/clean way of resetting the global batch between tests.
I've managed to get around that by labelling all the affected jobs and running them separately - feels like a clunky solution, but it gets the job done.

I've merged this with main to iron out some discrepancies, #538 was an absolute mess


Fix division precision loss

In StakeManager, there are some divisions, but solidity does not support any type of real numbers, so we are using integers where division always rounds down.
For the MP logic, this would break the minting, as it usually would get something like .1, .01, and try to multiply that by the balance to find how much to increase. This will always return zero in current code.
Possible solutions:

Multiply by a value (like 100, or 100000, or whatever precision we need) before division, and after divide back this multiplier (#67).
Use OpenZeppelin Math library (#66)
Wait solidity implement fixed point

Read more:

https://neptunemutual.com/blog/precision-loss-in-solidity-operations/
https://www.immunebytes.com/blog/precision-loss-vulnerability-in-solidity-a-deep-technical-dive/

For now, my analysis favors #66 to be approved over #67.
OpenZeppelin mulDiv function uses a smart trick to perform these operations with reduced gas cost, and seems a more safe approch overall.
I'll try to dig more into these solutions to see if I can break one or other in certain scenarios, or if I can improve #67 formulas.

Duplicate of #24

We ended up using OpenZeppelin Math library (#66).
Advantages:

Audited and battle tested
Cheaper in gas (at least for the test cases that were created)
More clear code
Safer against overflows (if we use a precision multiplier, than for huge values it could overflow)
Disadvantage:
External library, one more dependency


Wishlist

Update Node
Make test build so it's a single command to test if travis is going to build
Move python files into a directory rather than the root of the project.

kill wf_blink_components test or make it more specific to what pages it tests on.

Let's not kill that one. It's part of the WP program and helps us associate
content related to each component.
On Wed, Nov 15, 2017, 5:29 PM Matt Gaunt<EMAIL_ADDRESS>wrote:

kill wf_blink_components test or make it more specific to what pages
it tests on.

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/google/WebFundamentals/issues/5286#issuecomment-344785958,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAOigIlh8gEz9v9jLaHYX7I9dWL0IQiDks5s24_4gaJpZM4Qf0fk
.

@ebidel I know it has a use, but the linting rule has never been useful for me and instead fills up the log from warnings that could be useful. By "kill wf_blink_components" I was really referring to the lint test.

Why wouldn't we associate the service worker component with this content?
On Nov 27, 2017 22:43, "Matt Gaunt"<EMAIL_ADDRESS>wrote:

@ebidel https://github.com/ebidel I know it has a use, but the linting
rule has never been useful for me and instead fills up the log from
warnings that could be useful. By "kill wf_blink_components" I was really
referring to the lint test.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/google/WebFundamentals/issues/5286#issuecomment-347353794,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AACxxpMIjMPPfdG2XTQFFRuC18p9uKOtks5s6zsRgaJpZM4Qf0fk
.


Adding a user PAT scope requirement

Code of Conduct

[X] I have read and agree to the GitHub Docs project's Code of Conduct

What article on docs.github.com is affected?
https://docs.github.com/en/rest/migrations/source-imports?apiVersion=2022-11-28#about-source-imports
What part(s) of the article would you like to see updated?
At the top of the page before the popup below I want to add a line saying " The user must have a personal access token that includes the workflow scope to use this endpoint."

Additional information
This is to update the information after this change https://github.com/github/github/pull/257395

👋 @vanessaperson Thanks so much for opening an issue! I'll triage this for the team to take a look :eyes:


Add UserSecrets 1.0.0 to rel/1.0.1 branch

Move UserSecrets 1.0.0 code to the rel/1.0.1 branch. Preparation for creating a 1.0.1 patch with MSbuild support (part of https://github.com/aspnet/DotNetTools/issues/169)
cc @muratg @HaoK @pranavkm

Ping.
@pranavkm @anurse this moves the src for our 1.0.x train out of aspnet/UserSecrets to this repo. Do I need to configure this somewhere in our build system?

Is this just moving the code over from 1.0.0?

Yup. Exact copy.

:shipit:

...well, with the version bumped up to 1.0.1


The Joy and Agony of Categorical Types

Intro
First off cheers on where you've got dask to today, it's been immediately
useful for my applications of sifting log data.  In fact it's because dask is
so wildly useful that I keep trying to push through the rough patches and
improve what limitations I think I'm finding.
I'm recording a limitation that I hit while trying to do some group aggregation
work to open up discussion in various ways.
Summary
Using categorical types can drastically speed up a group aggregation
computation (by nearly an order of magnitude) if it worked.  Core issue seems
to be a lack of support for combining slightly different categoricals in
pandas.concat.  There's potential to workaround it in dask's dataframe core,
if we can sort out a working hack.
I finish out with some remarks in general about the JSON => dataframe gap.
Problem

I've got a pile (~10GiB across ~400 files) of gzipped-json data
I want to extract dimensions A, B, and C from it; A and B are string labels,
C is a floating point
I want to group by the compound (A, B) dimension, and then take the count and
sum(C) across those groups

Setup
I've found it fastest to just write my own shard loading function, rather than
deal with the typical pipeline (bag lines, map json, pluck pluck munge,
to_dataframe...):
columns = ['A', 'B', 'C']

import ujson  # about 2x faster than core json in my experience

def load_record(line):
    record = ujson.loads(line)
    return (record['A'], record['B'], record['C'])

@dask.do
def load_shard(path):
    with dask.utils.open(path, compression=dask.utils.infer_compression(path)) as f:
        records = map(load_record, f)

    shard = pd.DataFrame(records, columns=columns)
    shard['A'] = shard['A'].astype('category')  # XXX these are the contentious parts
    shard['B'] = shard['B'].astype('category')  # XXX ...
    shard['C'] = shard['C'].astype('float')

    return shard

paths = !find path/to/data -type f
shards = map(load_shard, paths)
df = dask.dataframe.from_imperative(shards, columns)
G = df.groupby(['A', 'B'])['C']

with dask.diagnostics.Profiler(watch=True):  # uses the WIP #1030
    # if we don't specify get here, then load_shard is GIL contended and the
    # whole thing takes ~Nx longer (N = num_workers)
    count, total = dask.compute(G.count(), G.sum(), get=dask.multiprocessing.get)

Results
Running over 10 shards (just slice the paths to shards array above) for easy
comparison, the above finishes in ~16 seconds on my machine, but yields the
unsatisfying exception in final result combination:
TypeError: categories must match existing categories when appending

Traceback
---------
  File "/.../dask/dask/async.py", line 264, in execute_task
    result = _execute_task(task, data)
  File "/.../dask/dask/async.py", line 245, in _execute_task
    args2 = [_execute_task(a, cache) for a in args]
  File "/.../dask/dask/async.py", line 246, in _execute_task
    return func(*args2)
  File "/.../dask/dask/dataframe/core.py", line 51, in _concat
    return pd.concat(args2)
  File "/.../lib/python2.7/site-packages/pandas/tools/merge.py", line 812, in concat
    copy=copy)
  File "/.../lib/python2.7/site-packages/pandas/tools/merge.py", line 949, in __init__
    self.new_axes = self._get_new_axes()
  File "/.../lib/python2.7/site-packages/pandas/tools/merge.py", line 1028, in _get_new_axes
    new_axes[self.axis] = self._get_concat_axis()
  File "/.../lib/python2.7/site-packages/pandas/tools/merge.py", line 1080, in _get_concat_axis
    concat_axis = _concat_indexes(indexes)
  File "/.../lib/python2.7/site-packages/pandas/tools/merge.py", line 1098, in _concat_indexes
    return indexes[0].append(indexes[1:])
  File "/.../lib/python2.7/site-packages/pandas/core/index.py", line 4943, in append
    arrays.append(label.append(appended))
  File "/.../lib/python2.7/site-packages/pandas/core/index.py", line 3542, in append
    to_concat = [ self._is_dtype_compat(c) for c in to_concat ]
  File "/.../lib/python2.7/site-packages/pandas/core/index.py", line 3193, in _is_dtype_compat
    raise TypeError("categories must match existing categories when appending")

For comparison, if we leave the strings as strings the computation succeeds,
but takes ~2:25 or ~145 seconds, nearly 9x the time of the categorical version.
The data size (as measured by pd.DataFrame.to_pickle(...)ing each of the 10
shards) only differs by a factor of ~2.5x, so there must be some sort of an
amplification effect going on as we have to keep (de)serializing between each
of the work units.
What's truly interesting about this performance difference is not simply that
the shard loading takes more time (due to serialization overhead), but that the
actual group sum/count work takes proportionately much more time; with
categorical types the group aggregation work was negligible, but with strings
it dominates over the extraction work.
Here's the task profile using categoricals:

And here's the task profile without categoricals (just using dtype object of strings instead):

Attempt to workaround
Based on taking two of my shards and learning how to concat them in isolation:
a, b = df.compute(shards[:2])

# XXX this will throw a `ValueError: incompatible categories in categorical concat`
#    pd.concat([a, b])

# however if we define:

def align_categories(a, *bs):
    for dim in a.dtypes.index[a.dtypes == 'category']:
        a_S = a[dim]
        bs_S = [b[dim] for b in bs]
        a_cats = set(a_S.cat.categories)
        bs_cats = [set(b_S.cat.categories) for b_S in bs_S]
        all_cats = reduce(set.union, [a_cats] + bs_cats)
        a_S.cat.add_categories(all_cats - a_cats, inplace=True)
        for i, b_S in enumerate(bs_S):
            b_cats = bs_cats[i]
            b_S.cat.add_categories(all_cats - b_cats, inplace=True)
            b_S.cat.reorder_categories(a_S.cat.categories, inplace=True)

# now we can:
align_categories(a, b)
df = pd.concat([a, b])

Heartened, we try:
diff --git a/dask/dataframe/core.py b/dask/dataframe/core.py
index 9b5e129..7d9e276 100644
--- a/dask/dataframe/core.py
+++ b/dask/dataframe/core.py
@@ -49,12 +49,27 @@ def _concat(args, **kwargs):
         if not args2:
             return args[0]
         return pd.concat(args2)
+    align_categories(*args2)
     if isinstance(args[0], (pd.Index)):
         args = [arg for arg in args if len(arg)]
         return args[0].append(args[1:])
     return args

+def align_categories(a, *bs):
+    for dim in a.dtypes.index[a.dtypes == 'category']:
+        a_S = a[dim]
+        bs_S = [b[dim] for b in bs]
+        a_cats = set(a_S.cat.categories)
+        bs_cats = [set(b_S.cat.categories) for b_S in bs_S]
+        all_cats = reduce(set.union, [a_cats] + bs_cats)
+        a_S.cat.add_categories(all_cats - a_cats, inplace=True)
+        for i, b_S in enumerate(bs_S):
+            b_cats = bs_cats[i]
+            b_S.cat.add_categories(all_cats - b_cats, inplace=True)
+            b_S.cat.reorder_categories(a_S.cat.categories, inplace=True)
+
+
 def optimize(dsk, keys, **kwargs):
     from .optimize import optimize
     return optimize(dsk, keys, **kwargs)

However that ValueError wasn't actually our problem, we had a slightly
different TypeError due to the indicies of the aggregate shards being derived
from a categorical.  Note in my case they're actually MultiIndexes and not
actually a CategoricalIndex.
Here is where I left of, having decided to write up this summary instead.
Sidebar: the joy and agony of JSON loading
Also I'm interested in feedback on the approach I've landed on for loading and
extracting JSON here:

use an imperative shard loading function that goes from file path to
dataframe in one shot
allowing me to inline plucking and type casting also at the same time

I don't have numbers on the gains here, since I made the shift away from
equivalents like:
lines = db.from_filenames(all_the_files)
records = lines.map(ujson.loads) # <-- this is ~2x win over json.loads btw
tuples = records.map(some_plucking_function)
df = tuples.to_dataframe()
df.map_partitions(some_type_casting_function)

I tried many variations on this:

like using a map_partitions on records and returning direct tuple-lists
a pluck/zip network between records and df = ....to_dataframe()

But in the end, just writing an imperative shard loader was at least an order
of magnitude faster.

Yeah, I generally agree with all of this.
Categoricals
Categoricals are a potential huge performance win, both for serialization and for computations.  This blogpost on the topic, http://matthewrocklin.com/blog/work/2015/06/18/Categoricals , is consistently one of my most frequently viewed.
There have been attempts to resolve this problem with an extra pass over the data, both in the Castra project (append incrementally adds new categories) and with the full categorize method on dask dataframes.  Alternatively if you're doing things by hand and know your categories ahead of time that can save you a lot of pain.
Another option would be to implement auto-aligning categories in Pandas.  This would allow  dask.dataframe to categorize on a per-partition basis as you've done and then mostly ignore the issue.  This is probably fairly costly to do in Pandas though.  The categorical codebase seems to be expensive to develop and maintain.
We could try to do something fancy here, like auto-aligning all partitions that are likely to meet, but I'm not sure how to do this robustly, mostly because we don't know ahead of time what partitions are likely to interact with each other.  If you have ideas about how to do this cheaply in a sustainable way I'd be very glad of them.
Serialization
Ideally serialization should not be a large cost here.  Almost all of your computations are embarrassingly parallel and so we should be able to fuse almost all of them.  The fact that you're seeing a performance difference when stepping away from chaining/pipelining operations is a sign that this isn't happening properly.
You might try the distributed memory scheduler on just a single machine.  It manages worker state far more effectively
pip install distributed
dscheduler
dworker <IP_ADDRESS>:8786 --nprocs 8

>>> from distributed import Executor
>>> e = Executor('<IP_ADDRESS>:8786')
>>> ...
>>> count, total = dask.compute(G.count(), G.sum(), get=e.get)

Ahha, good to know, I will try out the distributed scheduler at some point Soon ™ ;-)
In the mean time I'd already started going down the path of "an extra pass" like you say to pre-promote all of my categoricals, will see how that goes and probably toss out a few PRs for convenience features towards doing so.
Thanks for the quick response :-)

Okay made progress:
Results
Using a two-pass approach to pre-align all my categoricals ended up finishing
in ~48 seconds for ten shards, with plenty of lost room in the schedule (i.e.
time that would've been filled by other shards once I scale up to the full data
set):

How do?
Here's how I did it:
def merge_set_dicts(sds):
    a, bs = sds[0], sds[1:]
    for b in bs:
        for key in b:
            a[key] = a.get(key, set()) | b[key]
    return a

def extract_cat_vals(df):
    return {
        key: set(df[key].cat.categories)
        for key in df.dtypes.index[df.dtypes == 'category']
    }

def align_categories(df, acv):
    for key in acv:
        vals = acv[key]
        S = df[key]
        S.cat.add_categories(vals - set(S.cat.categories), inplace=True)
        S.cat.reorder_categories(sorted(vals), inplace=True)
    return df

shards = dask.bag.from_imperative(map(dask.do(load_shard), paths))

all_cat_values = shards.reduction(
    perpartition=extract_cat_vals,
    aggregate=merge_set_dicts,
    out_type=dask.imperative.Value
)

aligned_shards = shards.map_partitions(align_categories, (all_cat_values,))

Notes:

added support for out_type=Value to Bag.reduction to shorten
shards.reduction(..., out_type=Bag).to_imperative()[0] (will PR this one
shortly)
added support for passing extra args to Bag.map_partitions so that I can
thread thru the final reduction result into all calls of align_categories;
maybe this should've been *args? (will also PR this one shortly)
would like to add a finalfunc kwarg to Bag.reduction to compose with the
final aggregate; in this case I'd use it to turn each finalized set into a
sorted list once, rather than doing the sorting within each
align_categories

I could wrap all of this up into a new dd.DataFrame convenience method, which
we start having user call manually.  Later on if we may find places where it
makes sense to add a "peek at the first partition's dtypes, maybe align
categories" heuristic?

It's fun seeing someone else use the internal bag reduction API.  Yes, I think that adding a finalize function to reduction would be reasonable.
Swapping out Item for Value generally might be worthwhile long term if we could find a way to keep the defaults like multiprocessing.get on there.  Supporting Value in out_type as you suggest seems like a good immediate solution.
It would be interesting to see what the convenience method would look like.  As a warning I'm always a bit hesitant to add convenience functionality onto dask.dataframe, mostly due to maintenance burden.

@jcorbin what is the status of this issue?  Are you able to summarize work that is reasonable to do in the near future?

Currently I've got a set of utility functions in my dask.dataframe module, rather than carrying them as methods.  I can brush that up and put it in a PR if it sounds like something you'd want to carry.  In short, it's:

a function to extract any category values from a single pandas.DataFrame
a reduction function that combines a list of those extracted category values
a function that up-casts any categories to a given set of known category values (reduces by the last function)
finally, a top-end function that sets up a dask graph:

reduce out all category values using the first two functions
then do a second pass map with the third function, with the reduction value passed in

Ah, you're starting from many pandas dataframes-with-categoricals?
I wonder if some of this might go in the dask.dataframe.categorical module that is there now (was there anything in there of use to you?)

Good question, I hadn't noticed that module, I'll take a look Soon ™ and reply :-)

FYI: https://github.com/pydata/pandas/pull/13361 just merged into 018.2

I just want to drop in this thread and express my highly enthusiastic support for this functionality. Categoricals are helpful when reading/writing files too - for certain kinds of datasets it's not uncommon for me to see a 10x improvement in file size, even with compressed columnar formats, when using a categorical. This is absolutely amazing, because it's often the difference between the same data fitting in memory or not. Also, smaller files mean much less I/O, which is often the bottleneck in our workloads. Same data with a much more compact representation is a no-brainer for us, and if issues around concatenation across many files are simplified, everything is just 🍑 🍰 🎉 .

Oop, this should have been closed by https://github.com/dask/dask/pull/1877. With dask 0.14.0+ dask supports having different categoricals in each partition. This allows data to be stored in categorical format without needing to pre-compute categories. We also now support reading directly from csv to (unknown) categoricals, just as pandas does. Note that functions that require knowing the full set of categoricals will fail until categories are made known.
Example: https://github.com/dask/dask/pull/1877#issuecomment-273610579.
 Thank you! I can't wait to try this!

Glad to hear it :). Please file any issues you come across.

@jcrist Just a quick question - I'm trying to load a bunch of gzipped csv's one by one and append them into a single parquet as I load them. The stupid reason I'm doing it this way is because since they're gzipped, dask can't chunk them bit by bit to fit in memory well, and so doing df.read_csv("foo*.gz", compression="gzip", blocksize=None) will exhaust memory and start swapping pretty quickly. Anyway, this gives me:
ValueError: Appended dtypes differ.
{('medium', dtype('O')), ('routeorstation', category), ('faretype', category), ('timeperiod', dtype('O')), ('routeorstation', dtype('O')), ('medium', category), ('timeperiod', category), ('faretype', dtype('O'))}

Does this mean that the categories don't get written as categories in native parquet, so it thinks they're objects? I should load two dataframes at a time and concatenate them and save?
I realize that this is an edge case that I can probably work around otherwise, but just figured I'd bring it up.

Ah, OK, I'm slowly figuring this out - it looks like parquet won't preserve complex datatypes pd.Timestamp and category (unlike HDF5), which given its focus on interoperability, makes sense.

@makmanalp , I don't quite follow your question - is there any chance you can reduce it to its parquet part and post an issue on fastparquet? fastparquet does save categories (so long as the category values can be stored) and timestamp types.

@martindurant sorry about the mess here on the issue tracker - just made a ticket.


Kustomize spec update for whereami

updated the kustomize.yaml files for whereami to use proper Kustomize field names (patch, resources, etc)

@theemadnes thanks for this update! Have you tested these changes / is there anything needed prior to merging this?

@theemadnes thanks for this update! Have you tested these changes / is there anything needed prior to merging this?

yup i've tested and no it's good to go.


Add event driven workflows runner

Add a Workflows::Runner class which keeps a persistent thread waiting for events from Floe.  Once an event is raised we try to link the event up to a workflow and we queue a step action if we find one.
If a workflow isn't found for example if it is already completed and removed from the list then we simply continue without queueing anything.
It is common to get multiple events for a single container run so this isn't a perfect "queue step when ready" and can be more efficient but currently this is erring on the side of caution (check step_ready on every event).
Also if the worker goes down and is restarted for any reason, the typical timer-based step is still on the queue and the running workflow will be added to the runner on the next timed check.
Depends on:

[x] https://github.com/ManageIQ/manageiq/pull/23151
[x] https://github.com/ManageIQ/floe/pull/265

Fixes https://github.com/ManageIQ/manageiq-providers-workflows/issues/109

The whole multiple events and keying off of workflow has me a little.
I feel the purpose of this is to react to an event from Docker
So every time you throw in a task, you should be waiting for the event to end and you will trigger your own event accordingly. It may be "put this on the Queue" or "put this on the "MiqQueue". And at that time, you delete the entry in the local reaction workflows cache, since we already reacted and have no need to react further.
If you run 3 tasks for a workflow, then you get 3 "I am done" events out and kick the same workflow accordingly.
I feel the entry should go into this cache when we kick off a task. Maybe this is where my idea of keying off of a container_ref breaks down. The container ref and the fact that we're calling a Task will be very well known to the caller. Feels like we're loosing some encapsulation.

offline: agrare doesn't want to store container_ref in the cache, it is too volatile and would prefer to store a workflow.id or something that is more stable

Backported to radjabov in commit ad9bc0b2a3b19bb6c8ad9d5352efc3fe772a5235.
commit ad9bc0b2a3b19bb6c8ad9d5352efc3fe772a5235
Author: Keenan Brock<EMAIL_ADDRESS>Date:   Tue Aug 20 10:27:18 2024 -0400

    Merge pull request #102 from agrare/add_event_driven_workflows_runner

    Add event driven workflows runner

    (cherry picked from commit 572047c0e74ce12269dffbac0520134804c8f1c4)


profile cant be vouched

my profile is in vouching phase, and when my registered friend tried to vouch nothing works

Hi @caitlinwelby, do you mind providing more details?

What wallet and browser is your friend using?
What is your profile address?
How is your friend trying to vouch? Gasless vouch or normal?

Closing this due to inactivity.

shoot! Id like to reopen this, i was traveling all week. He tried both gas and non gas. I don’t know what wallet/browser he was on though
my profile address is 0x999511b9db4f1c3917098deb0cc929328fa3eb2c https://etherscan.io/address/0x999511b9db4f1c3917098deb0cc929328fa3eb2c
UBI
Something wrong with this submission?
There is still time to save this submitter's deposit! Try contacting them via ethmail.cc https://ethmail.cc/. This is as simple as sending an email to @.*** Example: @.***
Evidence
Learn More
https://www.proofofhumanity.id/
https://kleros.io/
https://twitter.com/proofofhumanity https://github.com/Proof-Of-Humanity https://blog.kleros.io/ https://www.linkedin.com/company/kleros https://t.me/proofhumanity/profile/0x999511B9dB4F1c3917098dEb0CC929328fA3eB2c
In Love and Deconstruction
Xx Caitlin
@.*** @.***> |<PHONE_NUMBER>

On Jun 7, 2021, at 2:51 AM, Matheus Faria de Alencar @.***> wrote:
Hi @caitlinwelby https://github.com/caitlinwelby, do you mind providing more details?
What wallet and browser is your friend using?
What is your profile address?
How is your friend trying to vouch? Gasless vouch or normal?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/Proof-Of-Humanity/proof-of-humanity-web/issues/362#issuecomment-855642281, or unsubscribe https://github.com/notifications/unsubscribe-auth/APN6ZKZWZJZW2DNOCD43FOLTRRT6JANCNFSM46BEU7FQ.

Reopened, please ask him to try again or what is his setup


My Google Home Display keeps restarting

How can I get the logcat from it? Logcat should show me where the problem is.  I'm probably sending it something it doesn't like.

Hi Jon,
For production builds, hub logs are not locally available. If you're able to catch the issue shortly after it occurs, please send feedback from either the settings menu or by issuing the voice command "send feedback."  When describing the issue, please add some distinguishing detail such as "matter sample app issue 73."

Maybe add an option to Hub so that if it is in preview mode you can get the logcat?
I will keep an eye on my hub. The restart is not immediately coupled with whatever I am doing. It is behaving like a memory leak and it takes a while to to eat up all of the memory.  It is definitely coupled to commissioning the new Matter devices I am working on.

Hi Jon,
Your feedback regarding logs is noted and appreciated.
Presently, there is only one path forward, so I will close this issue for now.
Please file feedback if the issue occurs again so the appropriate team can investigate.


Test lapi register

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
4 unchanged lines in 1 file lost coverage.
Overall coverage decreased (-0.04%) to 72.841%

Files with Coverage Reduction
New Missed Lines
%

pkg/acquisition/modules/cloudwatch/cloudwatch.go
4
83.33%

Totals

Change from base Build<PHONE_NUMBER>:
-0.04%

Covered Lines:
6689

Relevant Lines:
9183

💛  - Coveralls


could not able to find parent pom with artifact id ehealthid-parent

see the below error when execute goal for install
[ERROR] Failed to execute goal on project ehealthid-rp: Could not resolve dependencies for project com.oviva.ehealthid:ehealthid-rp:jar:0.0.1-SNAPSHOT: Failed to collect dependencies at com.oviva.ehealthid:ehealthid:jar:0.0.1-SNAPSHOT: Failed to read artifact descriptor for com.oviva.ehealthid:ehealthid:jar:0.0.1-SNAPSHOT: com.oviva.ehealthid:ehealthid-parent:pom:0.0.1-SNAPSHOT was not found in https://maven.pkg.github.com/oviva-ag/REPOSITORY during a previous attempt. This failure was cached in the local repository and resolution is not reattempted until the update interval of github has elapsed or updates are forced -> [Help 1]
please help on this,Thanks

Have you tried mvn clean install in the root of the project?
Looks like you are struggling with the basics of Maven.

Have you tried mvn clean install in the root of the project? Looks like you are struggling with the basics of Maven.

Yes we were able to fix the issue .Thanks for your support


Extended the set of attribute types.

Added missing types to the typeHandlerProvider map. Added Long, Float and Double types.

Codecov Report

Merging #13 into master will not change coverage.
The diff coverage is 100%.

@@           Coverage Diff           @@
##           master      #13   +/-   ##
=======================================
  Coverage   69.97%   69.97%
=======================================
  Files          67       67
  Lines         936      936
  Branches       66       62    -4
=======================================
  Hits          655      655
  Misses        281      281


[incubator/vault] Consul Agent TLS Support

Is your feature request related to a problem? Please describe.
Currently if the backend Consul server is set to with "verify_incoming": true, there's no way to use this chart's Consul agent feature.
This is because the Consul agent needs a cert to use when interacting with the backend server, usually provided via the Consul config ("cert_file", "key_file", "ca_file").
Describe the solution you'd like
"extraConfig" and "extraVolumeMounts" values under "consulAgent" so users can provide their own tls certs, keys and ca certs via a volume then configure Consul to use those files via a string config which would be written to a file & loaded during agent startup.
Describe alternatives you've considered
Right now this can be done via extraContainers but if the chart is trying to offer these consulAgent values, it should be flexible.
Additional context

how should I draw attention to this?

how should attention to be drawn to this from the incubator/vault chart owners?

Not getting any attention so I guess I'll stick to a full sidecar container consul agent


Make the introduction screen visible only once per user(One-time intro only).

Hint: There's a specific widget for this to work. No need to store user data.
However, if you want to use database you can.

I am interested to work on this task
can u assign this to me???

@ampatro4 Sure!

@nexi9
I will also try this pls assign

@nexi9
Pls check #11 which fixes : #5


Bug: mixing hex and regex does not work

Consider rule:
rule hex_and_regex_2
{
    strings:
        $hex = { ca fe ba be }
        $regex = /(graecis)/

    condition:
        $hex and ($regex at (@hex + 4))
}

Now when run against file where 0xca,0xfe,0xba,0xbe appears once and word graecis twice, results are:
hex_and_regex_2 lorem.text
0x26:$hex: CA FE BA BE
0x2a:$regex: graecis
0x8a:$regex: graecis

It is like logical 'and' have no effect at all. If condition is modiffied to one-off like:
$hex and ($regex at (@hex + 5))

There is no match at all which is correct. Tested with v3.8.1-84-g0c8b461
hex_and_regex.zip

Closing, not a bug, just misunderstanding of option '-s' meaning


Some package can't download

Some package can't download
in your package.json  some dependence  need git://xxxxxx
I use verdaccio  but  these package don't download  into my storage
when i have no internet   or  no cache    , it will be  install failed
please update the  package.json

@steavengong Just looking at this, I can't figure out what's wrong with it. Also tell me the installation environment (OS, node, npm versions) and the Editor version. I wish I had a screenshot.

OS  Mac_OS_10.15.6
node 10.22.0
npm 6.14.8
@seonim-ryu

@sean-nicholas
tui-editor 1.4.10

@seonim-ryu
I use verdaccio build a private npm registry
I use yarn add tui-editor  into my project
install succuess
i check the tui-editor in my project node_modules

squire-rte version is need download from github resource code
it will not download into my private registry ,buti it will be download into yarn cache folder
also i check the yarn.lock file

these dependencies packages cannot download into my private registry
if i work in inner set cannot use outer net , in new project use tui-editor cannot install

@steavengong I got it. The npm package protocol appears to be the cause of this problem.

https://docs.npmjs.com/files/package.json#git-urls-as-dependencies

If possible, we want you to use version 2, but it seems that some users are using version 1.4, so I'll fix it.

@seonim-ryu
thanks


Create unit tests for the Image components

To make sure we catch issues where the components are being used incorrectly.

I did this!


3.0.12.Final-SNAPSHOT -> 3.0.12.Final

@ronsigal Sorry I forgot to tell your 3.0.12.Final is tagged here: https://github.com/resteasy/Resteasy/releases/tag/3.0.12.Final
And it can be downloaded.

btw, let me bump master version to 3.0.13.Final


update broken stories

Is there a failing test we could write that would have caught this problem?

we could run bin/rails view_component_storybook:write_stories_json on CI and see if it breaks?


TAJO-1033: Implement a FileAppender for ElasticSearch.

I implemente ElasticSearchAppender. You can load tajo table data to elasticsearch index as follows:

Create an elasticsearch index and index type.
ex) index: radio, index type: artitists

Create a tajo for match to an elasticsearch index. For reference, you must use elasticsearch for storage type.
ex) CREATE TABLE estable1 (id int, name text, score float, type text)
USING elasticsearch
with ('elasticsearch.cluster'='elasticsearch',
'elasticsearch.nodes'='localhost:9300',
'elasticsearch.resources'='radio/artists',
'elasticsearch.replication'='1',
'elasticsearch.bulk.item.size'='1000');

Load tajo data to an elasticsearch index with sql.
ex) insert overwrite into estable1 select * from table1;

This patch is not complete.I'll write a documentation and implement a few methods to improve performance. Also we need to allow for users to change last task numbers.This is because lots of tasks for storage will cause low performance of an elasticsearch cluster.

This issue relates to as following issue:
https://issues.apache.org/jira/browse/TAJO-1404
Watching TAJO-1404, I'll start it over again.


Swift 3 Ambiguous use of .month .day .year

These were working well in version 1.7 but version 1.8 spits out error Ambigous use of....
    var dateOfBirth: Date?
     ...
//Date of Birth
    var DOBMonth: Int {
        return (self.dateOfBirth?.month)!
    }

    var DOBDay: Int {
        return (self.dateOfBirth?.day)!
    }

    var DOBYear: Int {
        return (self.dateOfBirth?.year)!
    }

I tried reproducing your issue.
let dateOfBirth = Date()
print(dateOfBirth.month)
print(dateOfBirth.day)
print(dateOfBirth.year)
And I was able to successfully get
1
2
2017
Which is as expected. Breakpoints revealed the right extensions are called.
These extensions were added as a part of release v1.8 in PR https://github.com/goktugyil/EZSwiftExtensions/pull/313.
I suspect you are using extension from a conflicting library prior to your update or writing your own custom extension for the same.

@Khalian Your right, it was conflicting with SwiftDate

Ok. I suspected as such.
We made many additions to Date. You can refer to them in https://github.com/goktugyil/EZSwiftExtensions/blob/master/CHANGELOG.md. If they cover your all your use cases, you can remove the dependency from SwiftDate and consume EZSwiftExtensions exclusively.

@Khalian Yea I must just go that route. Thanks

@otymartin No problem happy to help.


Plan on adding custom fonts? (Feature Request)

Hello there,
first of all, thanks for this great effort to add arbitrary fonts to jsPDF. We are currently integrating this plugin into our fork https://github.com/yWorks/jsPDF in order to be able to use custom fonts with svg2pdf.js.
We are quite happy with the progress this project is making recently. However, we miss the functionality to comfortably add custom fonts. Either at runtime on the browser or with a small build tool that generates a file like "defaultVFS.js" from font files. What would also be great is support for other font formats like WOFF/WOFF2 or SVG-Fonts.
What are your plans concerning this features?
Greetings,
Hackbrett

I just saw the VFS-generation tool. Great!
For WOFF/SVG conversion this package might come in handy:
https://www.npmjs.com/package/fonteditor-core

@HackbrettXXX
I applied the code to the package you gave me. Applying this code seems to be usable for pdf conversion except for some font formats. However, the big problem is that 'fonteditor-core' takes too long.
const Font = require('fonteditor-core').Font;
const fs = require('fs');

const path = './fonts/';
fs.readdir(path, (err, files) => {
    if (err) console.log(err);

    const fontList = files.map(file => {
        const format = file.split('.')[1];
        const base64Conetent = Font.create(fs.readFileSync(path + file), {
            type: format
        }).toBase64({
            type: 'ttf'
        }).split(',')[1];
        return `jsPDFAPI.addFileToVFS('${file}','${base64Conetent}');`;
    });
    fs.writeFileSync('./dist/default_vfs.js', `(function (jsPDFAPI) {\n${fontList.join('\n')}\n})(jsPDF.API);`);
})

@sphilee
Yeah, I tested it myself and it didn't work for the fonts I tested.
I made some small improvements: #28


Custom password recovery

User Story:
As a registered user,
I want to securely reset my password,
So that  if I misplaced my previous password.
Acceptance criteria:

Check if email exits, sent as a POST request from the recovery route.

If email exits, create recovery token. it could contain the user email as a payload.

create recovery route with the token as a query parameter

send email containing the reset route; this route must be a get route, that prompts a form input to 'new password'

create same route but this time it accepts the post request, with body containing the ‘new password' and request query parameter as 'token’

check if the token exists, decode the token. remember the payload of the token was the email address.

if it the email address exits, then hash and update user password with  ‘new password’

return response 201

send success mail.

Api documentation:
_https://documenter.getpostman.com/view/6711768/T1DjjKXv?version=latest_

okay


mxnet.base.MXNetError: NaiveEngine only support synchronize Push so far

After training for several epoches, it raised the following error:
Epoch[7] Batch [2280]	Speed: 3.99 samples/sec	Train-RPNAcc=0.995009,	RPNLogLoss=0.016979,	RPNL1Loss=0.034412,	RCNNAcc=0.797916,	RCNNLogLoss=0.433694,	RCNNL1Loss=0.423676,
Epoch[7] Batch [2300]	Speed: 3.96 samples/sec	Train-RPNAcc=0.995029,	RPNLogLoss=0.016926,	RPNL1Loss=0.034388,	RCNNAcc=0.797866,	RCNNLogLoss=0.433422,	RCNNL1Loss=0.423580,
Epoch[7] Batch [2320]	Speed: 3.69 samples/sec	Train-RPNAcc=0.995011,	RPNLogLoss=0.017027,	RPNL1Loss=0.034292,	RCNNAcc=0.798346,	RCNNLogLoss=0.432565,	RCNNL1Loss=0.422573,
[17:51:53] /home/fallingdust/workspace/mxnet/dmlc-core/include/dmlc/./logging.h:308: [17:51:53] src/engine/naive_engine.cc:168: Check failed: this->req_completed_ NaiveEngine only support synchronize Push so far

Stack trace returned 10 entries:
[bt] (0) /usr/local/lib/python2.7/dist-packages/mxnet-1.0.0-py2.7.egg/mxnet/libmxnet.so(_ZN5mxnet6engine11NaiveEngine9PushAsyncESt8functionIFvNS_10RunContextENS0_18CallbackOnCompleteEEENS_7ContextERKSt6vectorIPNS0_3VarESaISA_EESE_NS_10FnPropertyEiPKc+0x3b3) [0x7f921cb635a3]
[bt] (1) /usr/local/lib/python2.7/dist-packages/mxnet-1.0.0-py2.7.egg/mxnet/libmxnet.so(_ZN5mxnet6engine11NaiveEngine4PushEPNS0_3OprENS_7ContextEib+0x8f) [0x7f921cb644af]
[bt] (2) /usr/local/lib/python2.7/dist-packages/mxnet-1.0.0-py2.7.egg/mxnet/libmxnet.so(_ZN5mxnet4exec13GraphExecutor6RunOpsEbmm+0x724) [0x7f921cc08e84]
[bt] (3) /usr/local/lib/python2.7/dist-packages/mxnet-1.0.0-py2.7.egg/mxnet/libmxnet.so(MXExecutorForward+0x11) [0x7f921cb9ab81]
[bt] (4) /usr/lib/x86_64-linux-gnu/libffi.so.6(ffi_call_unix64+0x4c) [0x7f9230c02e40]
[bt] (5) /usr/lib/x86_64-linux-gnu/libffi.so.6(ffi_call+0x2eb) [0x7f9230c028ab]
[bt] (6) /usr/lib/python2.7/lib-dynload/_ctypes.x86_64-linux-gnu.so(_ctypes_callproc+0x48f) [0x7f9230e123df]
[bt] (7) /usr/lib/python2.7/lib-dynload/_ctypes.x86_64-linux-gnu.so(+0x11d82) [0x7f9230e16d82]
[bt] (8) python(PyObject_Call+0x43) [0x4b0c93]
[bt] (9) python(PyEval_EvalFrameEx+0x602f) [0x4c9f9f]

Traceback (most recent call last):
  File "experiments/relation_rcnn/rcnn_end2end_train_test.py", line 21, in <module>
    train_end2end.main()
  File "experiments/relation_rcnn/../../relation_rcnn/train_end2end.py", line 193, in main
    config.TRAIN.begin_epoch, config.TRAIN.end_epoch, config.TRAIN.lr, config.TRAIN.lr_step)
  File "experiments/relation_rcnn/../../relation_rcnn/train_end2end.py", line 186, in train_net
    arg_params=arg_params, aux_params=aux_params, begin_epoch=begin_epoch, num_epoch=end_epoch)
  File "experiments/relation_rcnn/../../relation_rcnn/core/module.py", line 999, in fit
    self.forward_backward(data_batch)
  File "/usr/local/lib/python2.7/dist-packages/mxnet-1.0.0-py2.7.egg/mxnet/module/base_module.py", line 191, in forward_backward
    self.forward(data_batch, is_train=True)
  File "experiments/relation_rcnn/../../relation_rcnn/core/module.py", line 1074, in forward
    self._curr_module.forward(data_batch, is_train=is_train)
  File "experiments/relation_rcnn/../../relation_rcnn/core/module.py", line 554, in forward
    self._exec_group.forward(data_batch, is_train)
  File "experiments/relation_rcnn/../../relation_rcnn/core/DataParallelExecutorGroup.py", line 360, in forward
    exec_.forward(is_train=is_train)
  File "/usr/local/lib/python2.7/dist-packages/mxnet-1.0.0-py2.7.egg/mxnet/executor.py", line 150, in forward
    ctypes.c_int(int(is_train))))
  File "/usr/local/lib/python2.7/dist-packages/mxnet-1.0.0-py2.7.egg/mxnet/base.py", line 146, in check_call
    raise MXNetError(py_str(_LIB.MXGetLastError()))
mxnet.base.MXNetError: [17:51:53] src/engine/naive_engine.cc:168: Check failed: this->req_completed_ NaiveEngine only support synchronize Push so far

Stack trace returned 10 entries:
[bt] (0) /usr/local/lib/python2.7/dist-packages/mxnet-1.0.0-py2.7.egg/mxnet/libmxnet.so(_ZN5mxnet6engine11NaiveEngine9PushAsyncESt8functionIFvNS_10RunContextENS0_18CallbackOnCompleteEEENS_7ContextERKSt6vectorIPNS0_3VarESaISA_EESE_NS_10FnPropertyEiPKc+0x3b3) [0x7f921cb635a3]
[bt] (1) /usr/local/lib/python2.7/dist-packages/mxnet-1.0.0-py2.7.egg/mxnet/libmxnet.so(_ZN5mxnet6engine11NaiveEngine4PushEPNS0_3OprENS_7ContextEib+0x8f) [0x7f921cb644af]
[bt] (2) /usr/local/lib/python2.7/dist-packages/mxnet-1.0.0-py2.7.egg/mxnet/libmxnet.so(_ZN5mxnet4exec13GraphExecutor6RunOpsEbmm+0x724) [0x7f921cc08e84]
[bt] (3) /usr/local/lib/python2.7/dist-packages/mxnet-1.0.0-py2.7.egg/mxnet/libmxnet.so(MXExecutorForward+0x11) [0x7f921cb9ab81]
[bt] (4) /usr/lib/x86_64-linux-gnu/libffi.so.6(ffi_call_unix64+0x4c) [0x7f9230c02e40]
[bt] (5) /usr/lib/x86_64-linux-gnu/libffi.so.6(ffi_call+0x2eb) [0x7f9230c028ab]
[bt] (6) /usr/lib/python2.7/lib-dynload/_ctypes.x86_64-linux-gnu.so(_ctypes_callproc+0x48f) [0x7f9230e123df]
[bt] (7) /usr/lib/python2.7/lib-dynload/_ctypes.x86_64-linux-gnu.so(+0x11d82) [0x7f9230e16d82]
[bt] (8) python(PyObject_Call+0x43) [0x4b0c93]
[bt] (9) python(PyEval_EvalFrameEx+0x602f) [0x4c9f9f]

[17:51:53] src/engine/naive_engine.cc:55: Engine shutdown

I trained the network on just one GPU using CUDA_VISIBLE_DEVICES=0 although I have two GPUs.
Please give me some advice or help to fix it. Thank you.

Hi, I can see that you are using mxnet 1.0.0. In our readme, however, it is suggested to use the official 1.1.0 version, or the newest 1.2.0(no guarantees).
If using a different version of mxnet causes too much trouble for you, I suggest that you do not use NaiveEngine, as we have never tested on this EngineType before. Maybe you can try to use the default MXNET_ENGINE_TYPE: ThreadedEnginePerDevice.

After changing to the default MXNET_ENGINE_TYPE, or upgrading to mxnet 1.2.0, it works well now.
Thank you.

After upgrading to mxnet 1.2.0, this error appears sometimes again when setting MXNET_ENGINE_TYPE to NaiveEngine.
Besides, it raised the following error occasionally:
mxnet.base.MXNetError: [12:01:59] src/operator/nn/./cudnn/cudnn_softmax_activation-inl.h:154: Check failed: e == CUDNN_STATUS_SUCCESS (3 vs. 0) cuDNN: CUDNN_STATUS_BAD_PARAM

But it sometimes work well again if I rerun the program. It seems very weird.
Could you give me some help? Thank you. @chengdazhi

Hi, it has also been found that mxnet 1.2.0 installed by pip has this error. I suggest you build it from source or install 1.1.0.
Again, I don't see why you need NaiveEngine, we have never tested our code on NaiveEngine bofore.

I have downgraded to mxnet 1.1.0 and deleted NaiveEngine, now it works well.
Thank you.


Dynamically select Hindi or Urdu text for the library app

Added parameter in the intent of the main application when calling the library app to render locale-specific text.
Updated library app with the intent parameter obtained and set the text for the layout files.
Tested the application with the intent parameter and without the intent parameter.
Found that the intent persistent and hence the older intent value is called. Investigation to get the correct value when the Hindi or Urdu app is called is in progress


Shorten project name from "Snabb Switch" to simply "Snabb"

This PR would complete the shortening of the project name from "Snabb Switch" to simply "Snabb" as discussed on #738. This PR is a replacement/successor to #841 and is based directly on next for quick release with v2016.04.
The main changes are:

Change occurences of "Snabb Switch" in documentation, source code, and printed messages to "Snabb".
Change occurences of snabbswitch in file and directory names to snabb.
Change capitalization of Github repo from SnabbCo to snabbco at the same time simply because it is easier to type and there is no time like the present.

I did this by hand following occurences in Emacs ``M-x grep'` and may well have missed something.
I am my own upstream for this but I would really appreciate an ack from one or two other maintainers and specifically an ack from from @kbara as lwaftr upstream on commit d654230560e55dd6c38ffcdae158b42ee04d3a2a.

Oops: Chose master as target branch. will recreate PR to next.


SIGH-2958: Add source record to common SI Header

Resolves https://github.com/spring-projects/spring-integration/issues/2958
Enables applications to be agnostic regarding the source of
a message. e.g Kafka Vs. AMQP.

... and cherry-picked into 3.1.x


Sync Required for SDIO writes?

Bill, is a sync() (or flush()) still required with this BETA version, when using the SDIO FIFO mode? Our current code base performs the occasional (every 100 writes), a sync in place of a write. There was a mention in a post (sorry, I can't refind that post), that suggested that the write command will automatically sync when the block size is reached? If a sync is required, would it be better to base it off of a total write size, rather than a write count, to better match the 32kb block size?
Thanks!

Steve

A sync is only needed if you want to insure no data is lost in a crash and the file will not be closed.
This has always been true for SdFat.  If you properly close a file, no sync is needed.

Bill, thanks for the response. Our application is such that the single file is written to indefinitely until power down. We want to lose as little data as possible. The problem I'm having right now is that occasionally throughout the data, there is a 150-500ms blocking that occurs that is causing a hiccup in the higher rate sensor data (we have several high rate sensors via serial, i2c and SPI). The yield function is such that the sensors are being polled during a yield, with an average of about 300 cycles per yield.
It is my impression that on occasion, during a sync, that some blocking is occurring. I am trying  some different combinations of block size and sync delay, to see if I can mitigate the problem. Any suggestions you have would helpful. This is on a Teensy 3.5.

There will be occasional longer delays during a sync.  a sync causes the data cache to be written to the SD and then an update of the directory entry for the file.
Updating the directory entry causes the entry to be read, updated and written.  Each read or write to the SD requires transfer of a 512 byte sector.  The cache block may need to be reread.
The basic size of a flash block on an SD is not 512 bytes but may be as large as 512 KB.  If a flash wear leveling operation occurs in the SD, an entire 512 KB flash block may be moved in the SD.  There is no way to control when the SD does these operations.
Also, the Teensy 3.5/3.6 SDIO controller has a hardware fault that causes occasional additional delays.
Preallocating a file can reduce problems.  The ExFatLogger and the older LowLatencyLogger use this method.
It is necessary to truncate and properly close the file at the end of a logging run.

@greiman, I'd be interested in more information regarding the hardware fault in the teensy sdio controller, is there information on that I can read up on? The concern I'm currently having is that when these periodic delays happen, it appears that ALL functions on the processor may cease, including the yield function (which processes incoming sensors) and even serial buffering.
In general, the write speed is fast enough in general for our application, which is only about 80kb/s, but the delays are causing considerable gaps in data 100-500ms.  I've been running numerous tests, and have been able to vary the results with different SD cards, all formatted with the official SD formatter. The worst is an 8GB Sandisk Ultra Class 10. The 16GB Class 10 is only slightly better. A Sandisk Extreme 32GB UHC-3 did ok after being formatted, but wasn't great before that. The Samsung 32GB EVO Select UHC-1 has had the fewest issues so far. Today, I plan to run some similar tests using ExFat.


fix(board): make separate card component.

Make separate card component

@vikram-raj snapshot fabric8-ui is deployed and available for testing at https://fabric8-ui-fabric8-ui-pr-1868-fabric8-planner.int.rdu2c.fabric8.io

@vikram-raj please take a look at https://github.com/fabric8io/fabric8-ui/blob/master/src/assets/stylesheets/shared/_custom-components.scss. I created a custom card component for empty state dashboard cards. Can you rename the custom classes for this card to be similar? Something like .card-f8-board? That way, it will follow the class structure of PatternFly. Thanks!
Also, if you have any suggestions for breaking out the empty state cards in the fabric8-ui repo, they'd be much appreciated.

@mindreeper2420 I will rename the custom classes.

@vikram-raj snapshot fabric8-ui is deployed and available for testing at https://fabric8-ui-fabric8-ui-pr-1868-fabric8-planner.int.rdu2c.fabric8.io

@vikram-raj I noticed these differences when looking at the snapshot vs production:
User Icon Is Sized Differently
Production:

Snapshot:

Spacing Between Cards Is Different
Production:

Snapshot:

Card is not set as Active When Detail Panel is Open
Production:

Snapshot:

With your changes, the .board-card class was removed from it's nesting - that might be having an adverse affect on these areas.

@mindreeper2420 I think I missed something in CSS. Will look into it.

@vikram-raj snapshot fabric8-ui is deployed and available for testing at https://fabric8-ui-fabric8-ui-pr-1868-fabric8-planner.int.rdu2c.fabric8.io

@vikram-raj snapshot fabric8-ui is deployed and available for testing at https://fabric8-ui-fabric8-ui-pr-1868-fabric8-planner.int.rdu2c.fabric8.io

@vikram-raj snapshot fabric8-ui is deployed and available for testing at https://fabric8-ui-fabric8-ui-pr-1868-fabric8-planner.int.rdu2c.fabric8.io

@vikram-raj snapshot fabric8-ui is deployed and available for testing at https://fabric8-ui-fabric8-ui-pr-1868-fabric8-planner.int.rdu2c.fabric8.io

@vikram-raj I am not entirely sure if that CardValue setup is better than just giving a WorkItem to the card, but this is a philosophical discussion :-). Good job!

@vikram-raj snapshot fabric8-ui is deployed and available for testing at https://fabric8-ui-fabric8-ui-pr-1868-fabric8-planner.int.rdu2c.fabric8.io

@vikram-raj snapshot fabric8-ui is deployed and available for testing at https://fabric8-ui-fabric8-ui-pr-1868-fabric8-planner.int.rdu2c.fabric8.io

@vikram-raj snapshot fabric8-ui is deployed and available for testing at https://fabric8-ui-fabric8-ui-pr-1868-fabric8-planner.int.rdu2c.fabric8.io

@vikram-raj snapshot fabric8-ui is deployed and available for testing at https://fabric8-ui-fabric8-ui-pr-1868-fabric8-planner.int.rdu2c.fabric8.io

@vikram-raj snapshot fabric8-ui is deployed and available for testing at https://fabric8-ui-fabric8-ui-pr-1868-fabric8-planner.int.rdu2c.fabric8.io

@vikram-raj snapshot fabric8-ui is deployed and available for testing at https://fabric8-ui-fabric8-ui-pr-1868-fabric8-planner.int.rdu2c.fabric8.io


Add knn support.

https://www.elastic.co/guide/en/elasticsearch/reference/current/knn-search.html

published


Provide more authentication mechanisms?

As kourier is using envoyproxy as data plane, it makes it possible to use wide range of existing http filters. These just need to be provisioned by kourier to make things working.
So I am kind of proposing to support new authentication mechanisms in kourier. These mechanisms could be like JWT and OIDC. Envoyproxy gateway uses crd to target policies to correct virtual host https://github.com/envoyproxy/gateway/blob/main/api/v1alpha1/securitypolicy_types.go#L26
I am thinking could kourier support something similar? crd that can be targeted to ksvc or domainmapping and then specify authentication configuration. Of course it would be useful to have CORS as well, when we play with these tokens.

Hello :wave:
Just in case you missed it, Kourier has support for ext-authz configuration, that is mapped to Envoy's envoy.filters.http.ext_authz filter.
This can be useful to implement your own auth logic (e.g. validate a JWT), as you can write whatever you want behind the ext-authz service (configured with KOURIER_EXTAUTHZ_HOST).


Defualt version on archives should be last stable release, not last release

archive.latest_version should not return an alpha or beta release.
This could be done by changing DataArchive.latest_version:
return max(versions)

could be changed to
# filter out versions with a non-None prerelease attribute
releases = filter(lambda v: v.prerelease is None, versions)

if len(releases) > 0:
    return max(releases)
else:
    return max(versions)

This may affect some tests, and if it doesn't should be tested.
I'm thinking a test should upload new data for multiple full releases and pre-releases, and then download/read attempts should read from full releases unless there are none available or the version is explicitly requested.


youtube-dl suddenly stopped working

error displayed on trying  to download a youtube .mp4
y v https://youtu.be/6aXR-SL5L2o
-k https://youtu.be/6aXR-SL5L2o
[youtube] 6aXR-SL5L2o: Downloading webpage
[youtube] 6aXR-SL5L2o: Downloading video info webpage
[youtube] 6aXR-SL5L2o: Extracting video information
[youtube] 6aXR-SL5L2o: Downloading formats manifest
[youtube] 6aXR-SL5L2o: Downloading MPD manifest
[download] Destination: Okeanos Explorer - Camera 1-6aXR-SL5L2o.mp4
avconv version 11.3, Copyright (c) 2000-2014 the Libav developers
built on May  7 2015 17:44:48 with gcc 4.9.2 (Debian 4.9.2-10)
https://manifest.googlevideo.com/api/manifest/hls_playlist/id/6aXR-SL5L2o.1/itag/95/source/yt_live_broadcast/requiressl/yes/ratebypass/yes/live/1/cmbypass/yes/goi/160/sgoap/itag%3D140/sgovp/itag%3D136/hls_chunk_host/r3---sn-ppoxu-coxe.googlevideo.com/gcr/au/playlist_type/DVR/mm/32/mn/sn-ppoxu-coxe/ms/lv/mv/m/pl/18/dover/3/fexp/9416126,9416891,9418403,9422596,9423964,9424091,9424134,9425351,9428398,9429856,9431012,9432683,9433043,9433046,9433096,9433294,9433773,9433946,9434709/sver/3/upn/mFHlhtebXAY/mt/1462524254/ip/<IP_ADDRESS>/ipbits/0/expire/1462545876/sparams/ip,ipbits,expire,id,itag,source,requiressl,ratebypass,live,cmbypass,goi,sgoap,sgovp,hls_chunk_host,gcr,playlist_type,mm,mn,ms,mv,pl/signature/1782616CDB0BAA9B9042064C0B2BD9F1897E1EBE.5C2B29AA86F08222F5396AB4FF29612000D34EB8/key/dg_yt0/playlist/index.m3u8: Protocol not found
ERROR: ffmpeg exited with code 1## Please follow the guide below

You will be asked some questions and requested to provide some information, please read them carefully and answer honestly
Put an x into all the boxes [ ] relevant to your issue (like that [x])
Use Preview tab to see how your issue will actually look like

Make sure you are using the latest version: run youtube-dl --version and ensure your version is 2016.05.01. If it's not read this FAQ entry and update. Issues with outdated version will be rejected.

[ ] I've verified and I assure that I'm running youtube-dl 2016.05.01

Before submitting an issue make sure you have:

[ ] At least skimmed through README and most notably FAQ and BUGS sections
[ ] Searched the bugtracker for similar issues including closed ones

What is the purpose of your issue?

[ x] Bug report (encountered problems with youtube-dl)
[ ] Site support request (request for adding support for a new site)
[ ] Feature request (request for a new functionality)
[ ] Question
[ ] Other

The following sections concretize particular purposed issues, you can erase any section (the contents between triple ---) not applicable to your issue

If the purpose of this issue is a bug report, site support request or you are not completely sure provide the full verbose output as follows:
Add -v flag to your command line you run youtube-dl with, copy the whole output and insert it here. It should look similar to one below (replace it with your log inserted between triple ```):
$ youtube-dl -v <your command line>
[debug] System config: []
[debug] User config: []
[debug] Command-line args: [u'-v', u'http://www.youtube.com/watch?v=BaW_jenozKcj']
[debug] Encodings: locale cp1251, fs mbcs, out cp866, pref cp1251
[debug] youtube-dl version 2016.05.01
[debug] Python version 2.7.11 - Windows-2003Server-5.2.3790-SP2
[debug] exe versions: ffmpeg N-75573-g1d0487f, ffprobe N-75573-g1d0487f, rtmpdump 2.4
[debug] Proxy map: {}
...
<end of log>

If the purpose of this issue is a site support request please provide all kinds of example URLs support for which should be included (replace following example URLs by yours):

Single video: https://www.youtube.com/watch?v=BaW_jenozKc
Single video: https://youtu.be/BaW_jenozKc
Playlist: https://www.youtube.com/playlist?list=PL4lCao7KL_QFVb7Iudeipvc2BCavECqzc

Description of your issue, suggested solution and other information
Explanation of your issue in arbitrary form goes here. Please make sure the description is worded well enough to be understood. Provide as much context and examples as possible.
If work on your issue required an account credentials please provide them or explain how one can obtain them.

Your avconv is built without https support.


python3Packages.rapidfuzz: 1.9.1 -> 2.0.0

Motivation for this change
https://github.com/maxbachmann/RapidFuzz/releases/tag/v2.0.0
Things done

Built on platform(s)

[ ] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
22.05 Release Notes (or backporting 21.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[ ] Fits CONTRIBUTING.md.

Does someone know what I'm doing wrong?
CMake Error at /nix/store/irw4fr32wv87sq0d81ljxz9al30b7shq-python3.9-scikit-build-0.12.0/lib/python3.9/site-packages/skbuild/resources/cmake/targetLinkLibrariesWithDynamicLookup.cmake:579 (target_link_libraries):
  The keyword signature for target_link_libraries has already been used with
  the target "cpp_utils".  All uses of target_link_libraries with a target
  must be either all-keyword or all-plain.

  The uses of the keyword signature are here:

   * src/cython/CMakeLists.txt:8 (target_link_libraries)

Call Stack (most recent call first):
  /nix/store/irw4fr32wv87sq0d81ljxz9al30b7shq-python3.9-scikit-build-0.12.0/lib/python3.9/site-packages/skbuild/resources/cmake/FindPythonExtensions.cmake:427 (target_link_libraries_with_dynamic_lookup)
  src/cython/CMakeLists.txt:9 (python_extension_module)

@ofborg build test python3Packages.rapidfuzz

The error seems to be gone with he version of scikit-build on python-updates (https://github.com/NixOS/nixpkgs/pull/166489). However, scikit-build's test are broken on that branch. Help with fixing them is appreciated.

superseded by https://github.com/NixOS/nixpkgs/pull/168580


Feature request: mylocation without button

The SDK supports a separate toggle of the user location and the mylocation button:
mapView_.myLocationEnabled = YES;
vs
mapView_.settings.myLocationButton = YES;
It would be great if you could add this to your API as I would like to show the user location and the map but I don't want the button.

Hello,
This feature will be really usefull ( I only need MyLocation, not the button ).
May be the last version of the SDK have fixed the bug, now ?
Thanks :)

I'd highly appreciate this feature. Only need the location showing but not the button.

Yep, but I'm not sure @wf9a5m75 is notified on closed ticket ( already tried 1 month ago .. ).
This could be really usefull !

who fix this problem?

I'm just using my own location service and updating a dedicated map marker (blue dot) on location changes. Not ideal, though.

+1


Invalid typescript formatting when attribute is readonly dictionary with get property

When im using ctrl+alt+b on this:
class Race {

    private readonly $Stats: { [statName: string]: Stat; };
    get Stats(): { [statName: string]: Stat; } {
        return this.$Stats;
    }

}

it becomes:
class Race {

    private readonly $Stats: { [statName: string]: Stat; };
get Stats(): { [statName: string]: Stat; } {
    return this.$Stats;
}

}

The reason seems to be readonly combined with dictionary type variable.
ctrl+a & ctrl+alt+l (formatting by typescript formatter) works well though.

Please generate the debug.md file and paste that into a gist for us.

https://gist.github.com/radarsu/53535a8397ebd1e9a3385f6ce91a1c56

Similar problem with square brackets inside generic types
It causes formatting of all subsequent lines to be off.


Setting up release

Testing done
As part of the initial plugin release, this PR contains changes recommended as in the Releasing your plugin section.
Changes include:

Incrementals Enablement
Configure CD workflow
Configure Release Drafter
Configure Dependabot
Update Maven POM and Config

Submitter checklist

[ x] Make sure you are opening from a topic/feature/bugfix branch (right side) and not your main branch!
[ x] Ensure that the pull request title represents the desired changelog entry
[ x] Please describe what you did
[ x] Link to relevant issues in GitHub or Jira
[ x] Link to relevant pull requests, esp. upstream and downstream changes
[ x] Ensure you have provided tests - that demonstrates feature works or fixes the issue

Thanks for approving the changes @timja. Can we merge the PR ?

You can see although I would suggest you fix your build, (spotless is failing)

You can see although I would suggest you fix your build, (spotless is failing)

Hi @timja fixed the issues, but not sure about the fix for above stapler warning alert. Can you please help us with code recommendation for this.
Regards,
Bhavya

You can see although I would suggest you fix your build, (spotless is failing)

Hi @timja thanks for the suggestion, fixed all the related issues. Please let us if the PR can be merged now (please also verify the labels and let us know any new labels needs to be added or the existing one is good enough)

You can see although I would suggest you fix your build, (spotless is failing)

Hi @timja thanks for the suggestion, fixed all the related issues. Please let us if the PR can be merged now (please also verify the labels and let us know any new labels needs to be added or the existing one is good enough)

Hi no the labels aren't right for CD, please take a look at https://www.jenkins.io/doc/developer/publishing/releasing-cd/#no-release-has-been-triggered-after-merging-a-pull-request

You can see although I would suggest you fix your build, (spotless is failing)

Hi @timja thanks for the suggestion, fixed all the related issues. Please let us if the PR can be merged now (please also verify the labels and let us know any new labels needs to be added or the existing one is good enough)

Hi no the labels aren't right for CD, please take a look at https://www.jenkins.io/doc/developer/publishing/releasing-cd/#no-release-has-been-triggered-after-merging-a-pull-request

Thanks for the recommended links @timja , we applied major-rfe label as that was the relevant one in the available list. Please confirm if we can merge the PR.

its your plugin you can merge when you like.

its your plugin you can merge when you like.

Ok thank you !


Error stack trace becomes visible when using the XML accept header

Depending on the accept header we use with the /route endpoint we can see the error stack trace on the client side:

Using 'Accept: application/xml' we get to see the error stack trace as XML. For example Firefox and Chrome seem to do this by default, so we see this when we open a /route url in the browser.
Using 'Accept: application/json' or no accept header at all we get to see the error message as JSON

Not sure if this is a real problem and I just put this as a reminder here. For users who do not use GraphHopper behind a proxy it might be important, but probably this can simply be disabled by some DropWizard configuration parameter in config.yml(?).

Btw we have a similar problem for /mvt (MVTResource.java). If an exception is thrown there apparently we also try to serialize it to XML (somewhere), but since the endpoint is annotated with @Produces("application/x-protobuf") we get a server-side error (500).


Align content of bottom sheet to top

Is any plan to add a field to change the alignment of the content of a bottom sheet?
Here -> wolt_modal_sheet_animated_switcher.dart is fixed to bottomCenter, but I want to topCenter, is any plan to add this feature?
Thank you so much for this awesome package!

Thanks for the issue reporting. If you mean the content inside the modal you can achieve it this way for now
-> set force max height field to true.
-> set the max height
If you mean the modal positioning, we are working on it.

Do you have some plans to add this feature on modal?


Unify pane splitting and new tab creation

In my eyes, spawning a new tab is a special case of splitting a nonexistent window into one pane.
Right now, we have a lot of divergence between opening a tab (1) and opening a pane (2); in both cases we spawn a new control, but the way it gets propagated into the tree is vastly different. The same applies for duplicating an active pane; the code in pane splitting suggests that duplicating a pane keeps the working directory but a tab does not (!) (see 3)
1
https://github.com/microsoft/terminal/blob/10992b77a0aafdaf1166493df3d0c044bf8975ea/src/cascadia/TerminalApp/TabManagement.cpp#L242-L272
2
https://github.com/microsoft/terminal/blob/10992b77a0aafdaf1166493df3d0c044bf8975ea/src/cascadia/TerminalApp/TerminalPage.cpp#L1391-L1416
3
https://github.com/microsoft/terminal/blob/10992b77a0aafdaf1166493df3d0c044bf8975ea/src/cascadia/TerminalApp/TerminalPage.cpp#L1359-L1370

/cc @PankajBhojwani you did some of the work here to make control initialization uniform, but this is the "farther step" i was talking about. You don't need to do this; it's just an FYI. :smile:

Ah I like this

I've meant to do this for so long. The TabManagement.cpp PR really highlighted how bad this one is

The CreateNewTabFromPane function that I added as part of move pane to tab could probably be used for this. If you look at _SplitPane, you create the profile/control, then in one branch you do the PreCalculate* and then tab.SplitPane and on the other you just CreateNewTabFromPane. That should get you most of the way there, I think.


Update installation instructions - NVIDIA container toolkit

To resolve issue #62
The NVIDIA container runtime has been deprecated and replaced by nvidia-container-toolkit. This has slightly complex installation instructions and requires a link to NVIDIA's guide.

Looks good and definitely an improvement over the deprecated instructions it replaces.  Thank you!