[Question] Vertical alignment of the additional elements

Hi!
I'm having a hard time trying to align the additional chart elements that I'm adding so they are vertically aligned relative to the bar itself. For example, the Y position that labels are using would be useful for me, but I'm not sure which property to call/which helper method to use in order to get this position.
The chart that I'm using is horizontal stacked bar chart.
This is the what I have at the moment, but as you can see it's not being positioned properly. Here is the code I'm using in the pluginService afterDraw method:
Chart.helpers.each(chart.data.labels.forEach(function (label, i) {

                        var barWidth = 40;
                        var posY = (40 * i) + barWidth - 5;

                        ctx.fillStyle = "#333";
                        ctx.font = "10pt Tahoma";
                        if (chart.data.means[i]) {
                            ctx.fillText(chart.data.means[i], ctx.canvas.clientWidth - 100, posY);
                        }

                        ctx.font = "12pt FontAwesome";
                        if (chart.data.indicators) {
                            if (chart.data.indicators[i].length > 0) {
                                ctx.fillStyle = chart.data.indicatorColors[i] || '#fff';
                                ctx.fillText(chart.data.indicators[i], ctx.canvas.clientWidth - 65, posY);
                            }
                        }

                        ctx.fillStyle = "#333";
                        ctx.font = "10pt Tahoma";
                        if (chart.data.samples) {
                            if (chart.data.samples[i].length > 0) {
                                ctx.fillText(chart.data.samples[i], ctx.canvas.clientWidth - 40, posY);
                            }
                        }
                    }));

Note the different positioning in the chart with legend and without it,

@hrvoje-fadiga you can get the Y label positions by finding the bar. Since your bars are stacked, it doesn't matter which dataset you use.
chart.helpers.each(chart.data.labels.forEach(function (label, i) {
  var meta = chart.getDatasetMeta(0); // get meta for dataset 0
  var posY = meta.data[i]._view.y;

  ctx.fillStyle = "#333";
  ctx.font = "10pt Tahoma";
  if (chart.data.means[i]) {
    ctx.fillText(chart.data.means[i], ctx.canvas.clientWidth - 100, posY);
  }

  ctx.font = "12pt FontAwesome";
  if (chart.data.indicators) {
    if (chart.data.indicators[i].length > 0) {
      ctx.fillStyle = chart.data.indicatorColors[i] || '#fff';
      ctx.fillText(chart.data.indicators[i], ctx.canvas.clientWidth - 65, posY);
    }
  }

  ctx.fillStyle = "#333";
  ctx.font = "10pt Tahoma";
  if (chart.data.samples) {
    if (chart.data.samples[i].length > 0) {
      ctx.fillText(chart.data.samples[i], ctx.canvas.clientWidth - 40, posY);
    }
  }
}));

@etimberg Thank you, but unfortunately it only works for the chart with the legend - here are the two screenshots that prove that
With legend

Without legend

That's really weird ... the meta.data[i]._view.y should be in canvas coordinates, ie it doesn't matter if the legend is displayed or not. Can you make a test fiddle?

@etimberg Sure, here you go: https://jsfiddle.net/9ck8rqc7/
P.S. Ignore the fact that the additional elements are overlapping the chart area. The only line of the original chart.js file that I changed in my project is the following one and with that line I get additional 100px.
var newMaxChartAreaWidth = chartInstance.config.type == 'horizontalBar' ? width - totalLeftBoxesWidth - totalRightBoxesWidth - 100 : width - totalLeftBoxesWidth - totalRightBoxesWidth;

@hrvoje-fadiga fixed at https://jsfiddle.net/he95epv5/1/
I removed the -8 on the Y calculation and instead set the ctx.textBaseline = 'middle'; before filling any text. The legend is probably the last thing to draw (it is implemented as a plugin internally) and the baseline isn't reset. It's generally a good idea to set all the settings in your plugin to avoid changes like this

@etimberg Thank you for the info and the solution!


feat: create public api

This PR should create our public API and add the dependency on retrofit for HTTP requests.

@rosariopfernandes do we expect to allow the modification of configuration after creating an instance of Client?

@edsonmichaque No, a Client is not supposed to be modified. What are you suggesting?

@rosariopfernandes, I think the Client interface doesn't need getters and setter for configuration properties. We can have only receive, send, query and revert.

@edsonmichaque the getters are for our own use internally and the Client class has no setters. The setters are present in the Builder.

@rosariopfernandes, my bad, about the setters
But Client is the user facing class, so anyone call call the getters

@edsonmichaque Yes. Thought it might useful in the future for developers who may want to extend our SDK in any kind of way.

@rosariopfernandes I agree, when we need them we will add them

@edsonmichaque I've updated the PR accordingly. PTAL

@rosariopfernandes, maybe we dont need to declare an Environment member in client, but we can still receive in class Builder


Added Leave-Session-Service

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


Add skiplink story

Describe your changes
created skiplink story
Screenshots - If Any (Optional)

Link to issue

Add skiplink story #164
Checklist before requesting a review

[x] I have performed a self-review of my code.
[x] Followed the repository's Contributing Guidelines.
[x] I ran the app and tested it locally to verify that it works as expected.
[x] I have checked my code with an automatic accessibility tool such as Axe Dev Tools or Wave
and it shows no errors.

Additional Information (Optional)
Any additional information that you want to give us.

Thank you for contributing!
There is only a small detail to fix, and we can merge it.

Nice, perfect!


LateInitUsage annotation exclusion

When I have a property like this:
@Inject @field:SchedulerMainThread lateinit var mainScheduler: Scheduler

and I set it up to ignore @Inject it'll still get flagged since @SchedulerMainThread is still present.
I'd like to change the way the exclusion work, meaning if one value matches it should be ignored.
I can't find a case where the current behavior (needing to exclude both) makes more sense.

I agree. As long as one of the exclude strings matches at least one annotation on the lateinit var we should not report that property.


Use GitHub workflows for building releases

https://github.com/shannah/jdeploy-javafx-starter

https://github.com/wiverson/maven-jpackage-template


custom fonts per weeks

Describe your problem here.
So im making an fnf mod with 4 weeks and im planning for week 1 to use Russel square font and week 2 to use pusab font is there anyway to do this? (with or without lua idc what works i really wana do this lel)
Are you modding a build from source or with Lua?
Source & lua
pref: lua
What is your build target?
Windows x64
Did you edit anything in this build? If so, mention or summarize your changes.
nope

wdym by different weeks using different fonts? Like score texts?

Don't weeks use .png images to display "Week #" by default? You're free to use whatever fonts are available in your image editor to create them.

Don't weeks use .png images to display "Week #" by default? You're free to use whatever fonts are available in your image editor to create them.

im talking about like you know what indie cross used or whatever do i have to code it into playstate to display the game with dif fonts?

lets say

this song uses this font
and the other uses for say Russel square

setTextFont("scoreTxt", "Russel square.ttf")

Thanks grape boy it worked!


Create Improved HTML

Improve the structure of the list items and nested lists.
Ensure accessibility by adding aria-label to buttons.
Add meta description for better SEO.
Optimize CSS for better performance and readability

Improve the structure of the list items and nested lists.
Ensure accessibility by adding aria-label to buttons.
Add meta description for better SEO.
Optimize CSS for better performance and readability


TapTarget on recycler view item not working

[ Yes] I have verified the issue exists on the latest version
[ Yes] I am able to reproduce it

Version used: 1.8
Does tap target work on recycler view item? The stacktrace (if you click into the code) shows that the width is -230, which is less than 0. But both the width and measured width are actually 1022.
I'm pulling the view through
                                              View view = linearLayoutManager.findViewByPosition(position);
and passing it through if it's not null. I know the view is viable because I used an animation library (YoYo, an animation library on github) on this same view and it does work on it properly.
Does recycler view do something funky here?
Stack trace:
03-01 14:57:34.025 25215-25215/bentseytlin.lovetap E/AndroidRuntime: FATAL EXCEPTION: main
Process: bentseytlin.lovetap, PID: 25215
java.lang.IllegalArgumentException: Layout: -230 < 0
at android.text.Layout.(Layout.java:182)
at android.text.StaticLayout.(StaticLayout.java:478)
at android.text.StaticLayout.(StaticLayout.java:464)
at android.text.StaticLayout.(StaticLayout.java:442)
at android.text.StaticLayout.(StaticLayout.java:422)
at com.getkeepsafe.taptargetview.TapTargetView.updateTextLayouts(TapTargetView.java:824)
at com.getkeepsafe.taptargetview.TapTargetView$9.onGlobalLayout(TapTargetView.java:427)
at android.view.ViewTreeObserver.dispatchOnGlobalLayout(ViewTreeObserver.java:912)
at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:2106)
at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1254)
at android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:6337)
at android.view.Choreographer$CallbackRecord.run(Choreographer.java:874)
at android.view.Choreographer.doCallbacks(Choreographer.java:686)
at android.view.Choreographer.doFrame(Choreographer.java:621)
at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:860)
at android.os.Handler.handleCallback(Handler.java:751)
at android.os.Handler.dispatchMessage(Handler.java:95)
at android.os.Looper.loop(Looper.java:154)
at android.app.ActivityThread.main(ActivityThread.java:6119)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:886)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:776)
Android version:
7.1.1

Can you share the code you're using to display the tap target? Is the view you're targeting visible?

The view is visible yes! I swapped a call to showTapSequence with a call to animate the same view and the animation fired as expected.
private void showTapSequence(View view) {

        final TapTargetSequence sequence = new TapTargetSequence(getActivity())
                .targets(
                        // Specify the target radius (in dp)
                        TapTarget.forView(view, "Words words words")
                                // All options below are optional
                                .outerCircleColor(R.color.colorPrimary)      // Specify a color for the outer circle
                                .targetCircleColor(R.color.white)   // Specify a color for the target circle
                                .titleTextSize(20)                  // Specify the size (in sp) of the title text
                                .titleTextColor(R.color.white)      // Specify the color of the title text
                                .descriptionTextSize(18)            // Specify the size (in sp) of the description text
                                .descriptionTextColor(R.color.white)  // Specify the color of the description text
                                .textColor(R.color.white)            // Specify a color for both the title and description text
                                .textTypeface(Typeface.SANS_SERIF)  // Specify a typeface for the text
                                .dimColor(R.color.black)            // If set, will dim behind the view with 30% opacity of the given color
                                .drawShadow(true)                   // Whether to draw a drop shadow or not
                                .cancelable(true)                  // Whether tapping outside the outer circle dismisses the view
                                .tintTarget(false)                   // Whether to tint the target view's color
                                .transparentTarget(true)           // Specify whether the target is transparent (displays the content underneath)
                                .targetRadius(50)
                                .id(1)
                )
                .listener(new TapTargetSequence.Listener() {
                    // This listener will tell us when interesting(tm) events happen in regards
                    // to the sequence
                    @Override
                    public void onSequenceFinish() {
                        Log.d("TapTargetView", "onSequenceFinish");
                    }

                    @Override
                    public void onSequenceStep(TapTarget lastTarget) {
                        Log.d("TapTargetView", "Clicked on " + lastTarget.id());
                    }

                    @Override
                    public void onSequenceCanceled(TapTarget lastTarget) {
                    }
                });
        sequence.considerOuterCircleCanceled(true);
        sequence.continueOnCancel(true);
        sequence.start();
    }

I'm not sure why using a TapTargetSequence would be any different from a regular TapTargetView since a TapTargetSequence just creates a TapTargetView internally... Do you have a minimum layout + activity that exhibits this problem?

I am using a TapTargetSequence because of the 3 final calls to make it so that clicking anywhere on the screen will get rid of the target things. I am using it as a loose visual guide rather than a strict sequence.
No, but I was wondering if others had used it in a recycler view before

Others have used it in a RecyclerView before, myself included. It would be great if you can share a layout + code to cause the issue to reproduce
The exception you're getting tends to come from attempting to fit a StaticLayout in a very small space (such as an invisible view). I've only seen it once before in #74 and I haven't been able to directly reproduce it.

Closing due to lack of information. Please comment when you can provide a layout that causes this issue. I'm unable to reproduce this on my own :(

the tap target view is not running inside fragments . in devices with api level 23 vr 6.0.1
showing the above issues
java.lang.IllegalArgumentException: Layout: -230 < 0


How to get currentPage in Controller's action

Hi,
I want to know how to How to get currentPage in Controller's action?  you use grid-page as querystring , but I cannot use it as parameter in Controller's action.

Thanks in advance

Everything is accessible from request's query string.
[HttpGet]
public ViewResult Index()
{
    NameValueCollection query = Request.QueryString;
    String pageValue = query["grid-page"];

    return View();
}

I will consider renaming grid-page to GridName in v3, so it can be accessed more easily.

thank you


[WIP] universe: yarn: various improvements

Split out shell scripts
(more)

Improving this package has been on our minds for a while now, it's great to see this kicking off 🙂
When we tried using the yarn package last time, we've hit the following issues:

the previous interface made the integration with our todoapp example too complex - it was easier to just use bash.#Run
installing next.js plugins as yarn packages was failing due to a permission error for @slumbering part of  https://github.com/dagger/dagger.io/pull/117 - bash.#Run worked

These two experiences suggest to me that any improvements to this package should be validated by integrating them with the todoapp & dagger.io.

I know that we talked about the yarn package briefly on Discord, but I'm not sure what needs to happen for this to get moving again @shykes. I know that you are already 10 steps ahead with this, please share 🙂

Happy monday! I'm going to start this over, based on the custom yarn package developed for https://github.com/shykes/todoapp. I will open a new PR, starting in /x/.


Detail questions on dash-handling-fragmented-packets.md

These statements are made in the latest version of that file as of 2022-Feb-23:

If a subsequent packet arrives that is the start of a fragmented packet, the Frag ID must be used to create a new temporal flow that can be uniquely identified by the (Frag ID, DST, SRC) tuple.

If the connection is closed with the arrival of the FIN packet then all temporal flows must be closed as well.

The last statement seems to be assuming that temporal flows can be associated with a 5-tuple.  That is true if the first IP fragment arriving for one original unfragmented packet contains the L4 header.
Is there a preferred behavior if the first IP fragment for a particular (Frag ID, DST, SRC) tuple is a non-first fragment, and contains no L4 header information, and thus cannot be associated with a particular 5-tuple (at least not yet)?

Another question that might be useful to answer in that same document: Is there some maximum IP fragmented packets per second maximum requirement for a DASH compliant product, that might be much much lower than "line rate" for the product?  e.g. something like "if a DASH device received more than 50K IP fragmented packets per second, it may discard all of those exceeding that rate".
If you want DASH compliant products to handle IP fragmented packets at line rate indefinitely, it would be good to state that explicitly.

AI for @jfingerh to create a PR for the dash-handling-fragmented-packets.md document that makes this as explicit as possible.


Update idds-workflow to v-0.7.4 after the update of idds-common

Checklist

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

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

@beckermr ,
Again, I could not see the "Merge" button for the pull request of package idds-workflow.

you should be all set.


[SPARK-28985][PYTHON][ML][FOLLOW-UP] Add _IsotonicRegressionBase

What changes were proposed in this pull request?
Adds
class _IsotonicRegressionBase(HasFeaturesCol, HasLabelCol, HasPredictionCol, HasWeightCol): ...

with related Params and uses it to replace JavaPredictor and HasWeightCol in IsotonicRegression base classes and JavaPredictionModel, in IsotonicRegressionModel base classes.
Why are the changes needed?
Previous work (#25776) on SPARK-28985 replaced JavaEstimator, HasFeaturesCol, HasLabelCol, HasPredictionCol in IsotonicRegression and JavaModel in IsotonicRegressionModel with newly added JavaPredictor:
https://github.com/apache/spark/blob/e97b55d32285052a1f76cca35377c4b21eb2e7d7/python/pyspark/ml/wrapper.py#L377
and JavaPredictionModel
https://github.com/apache/spark/blob/e97b55d32285052a1f76cca35377c4b21eb2e7d7/python/pyspark/ml/wrapper.py#L405
respectively.
This however is inconsistent with Scala counterpart where both  classes extend private IsotonicRegressionBase
https://github.com/apache/spark/blob/3cb1b57809d0b4a93223669f5c10cea8fc53eff6/mllib/src/main/scala/org/apache/spark/ml/regression/IsotonicRegression.scala#L42-L43
This preserves some of the existing inconsistencies (model as defined in the official example), i.e.
from pyspark.ml.regression impor IsotonicRegressionMode
from pyspark.ml.param.shared import HasWeightCol

issubclass(IsotonicRegressionModel, HasWeightCol)
# False

hasattr(model, "weightCol")
# True

as well as introduces a bug, by adding unsupported predict method:
import inspect

hasattr(model, "predict")
# True

inspect.getfullargspec(IsotonicRegressionModel.predict)
# FullArgSpec(args=['self', 'value'], varargs=None, varkw=None, defaults=None, kwonlyargs=[], kwonlydefaults=None, annotations={})

IsotonicRegressionModel.predict.__doc__
# Predict label for the given features.\n\n        .. versionadded:: 3.0.0'

model.predict(dataset.first().features)

# Py4JError: An error occurred while calling o49.predict. Trace:
# py4j.Py4JException: Method predict([class org.apache.spark.ml.linalg.SparseVector]) does not exist
# ...

Furthermore existing implementation can cause further problems in the future, if Predictor / PredictionModel API changes.
Does this PR introduce any user-facing change?
Yes. It:

Removes invalid IsotonicRegressionModel.predict method.
Adds HasWeightColumn to IsotonicRegressionModel.

however the faulty implementation hasn't been released yet, and proposed additions have negligible potential for breaking existing code (and none, compared to changes already made in #25776).
How was this patch tested?

Existing unit tests.
Manual testing.

CC @huaxingao, @zhengruifeng

Merged build finished. Test PASSed.

Test build #111774 has started for PR 26023 at commit e5183b8.

Test build #111774 has finished for PR 26023 at commit e5183b8.

This patch passes all tests.
This patch merges cleanly.
This patch adds the following public classes (experimental):
class _IsotonicRegressionBase(HasFeaturesCol, HasLabelCol, HasPredictionCol, HasWeightCol):
class IsotonicRegression(JavaEstimator, _IsotonicRegressionBase, HasWeightCol,
class IsotonicRegressionModel(JavaModel, _IsotonicRegressionBase,

Merged build finished. Test PASSed.

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

LGTM

Merged to master

Thanks @srowen, @zhengruifeng!


Install of metalinters fail

Followed the process of installing:
go get -u gopkg.in/alecthomas/gometalinter.v1
gometalinter.v1 --install --debug

This fails with:
DEBUG: found vendored linters at /data/go/src/gopkg.in/alecthomas/gometalinter.v1/_linters, updating environment
DEBUG: PATH=/data/go/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin:/usr/local/go/bin:/data/go/bin:/data/go/src/gopkg.in/alecthomas/gometalinter.v1/_linters/bin
DEBUG: GOPATH=/data/go/src/gopkg.in/alecthomas/gometalinter.v1/_linters
DEBUG: GOBIN=/data/go/bin
Installing:
  goconst
  safesql
  unconvert
  unused
  dupl
  errcheck
  goimports
  structcheck
  varcheck
  deadcode
  gocyclo
  misspell
  gosimple
  gotype
  ineffassign
  interfacer
  lll
  aligncheck
  gas
  golint
  staticcheck
  unparam
DEBUG: go install -v github.com/jgautheron/goconst/cmd/goconst github.com/stripe/safesql github.com/mdempsky/unconvert honnef.co/go/tools/cmd/unused github.com/mibk/dupl github.com/kisielk/errcheck golang.org/x/tools/cmd/goimports github.com/opennota/check/cmd/structcheck github.com/opennota/check/cmd/varcheck github.com/tsenart/deadcode github.com/alecthomas/gocyclo github.com/client9/misspell/cmd/misspell honnef.co/go/tools/cmd/gosimple golang.org/x/tools/cmd/gotype github.com/gordonklaus/ineffassign github.com/mvdan/interfacer/cmd/interfacer github.com/walle/lll/cmd/lll github.com/opennota/check/cmd/aligncheck github.com/GoASTScanner/gas github.com/golang/lint/golint honnef.co/go/tools/cmd/staticcheck github.com/mvdan/unparam
import cycle not allowed
package github.com/jgautheron/goconst/cmd/goconst
        imports encoding/json
        imports bytes
        imports errors
        imports runtime
        imports runtime/internal/atomic
        imports runtime
../../../gopkg.in/alecthomas/gometalinter.v1/_linters/src/golang.org/x/tools/go/ssa/create.go:18:2: no buildable Go source files in /data/go/src/gopkg.in/alecthomas/gometalinter.v1/_linters/src/golang.org/x/tools/go/types/typeutil
/usr/local/go/src/crypto/tls/cipher_suites.go:18:2: cannot find package "golang_org/x/crypto/chacha20poly1305" in any of:
        /usr/local/go/src/golang_org/x/crypto/chacha20poly1305 (from $GOROOT)
        /data/go/src/gopkg.in/alecthomas/gometalinter.v1/_linters/src/golang_org/x/crypto/chacha20poly1305 (from $GOPATH)
/usr/local/go/src/crypto/tls/key_agreement.go:20:2: cannot find package "golang_org/x/crypto/curve25519" in any of:
        /usr/local/go/src/golang_org/x/crypto/curve25519 (from $GOROOT)
        /data/go/src/gopkg.in/alecthomas/gometalinter.v1/_linters/src/golang_org/x/crypto/curve25519 (from $GOPATH)
/usr/local/go/src/net/http/h2_bundle.go:46:2: cannot find package "golang_org/x/net/http2/hpack" in any of:
        /usr/local/go/src/golang_org/x/net/http2/hpack (from $GOROOT)
        /data/go/src/gopkg.in/alecthomas/gometalinter.v1/_linters/src/golang_org/x/net/http2/hpack (from $GOPATH)
/usr/local/go/src/net/http/h2_bundle.go:47:2: cannot find package "golang_org/x/net/idna" in any of:
        /usr/local/go/src/golang_org/x/net/idna (from $GOROOT)
        /data/go/src/gopkg.in/alecthomas/gometalinter.v1/_linters/src/golang_org/x/net/idna (from $GOPATH)
/usr/local/go/src/net/http/h2_bundle.go:48:2: cannot find package "golang_org/x/net/lex/httplex" in any of:
        /usr/local/go/src/golang_org/x/net/lex/httplex (from $GOROOT)
        /data/go/src/gopkg.in/alecthomas/gometalinter.v1/_linters/src/golang_org/x/net/lex/httplex (from $GOPATH)
/usr/local/go/src/net/interface_bsd.go:12:2: cannot find package "golang_org/x/net/route" in any of:
        /usr/local/go/src/golang_org/x/net/route (from $GOROOT)
        /data/go/src/gopkg.in/alecthomas/gometalinter.v1/_linters/src/golang_org/x/net/route (from $GOPATH)
/usr/local/go/src/net/http/request.go:30:2: cannot find package "golang_org/x/text/unicode/norm" in any of:
        /usr/local/go/src/golang_org/x/text/unicode/norm (from $GOROOT)
        /data/go/src/gopkg.in/alecthomas/gometalinter.v1/_linters/src/golang_org/x/text/unicode/norm (from $GOPATH)
/usr/local/go/src/net/http/request.go:31:2: cannot find package "golang_org/x/text/width" in any of:
        /usr/local/go/src/golang_org/x/text/width (from $GOROOT)
        /data/go/src/gopkg.in/alecthomas/gometalinter.v1/_linters/src/golang_org/x/text/width (from $GOPATH)
../../../gopkg.in/alecthomas/gometalinter.v1/_linters/src/github.com/walle/lll/cmd/lll/main.go:10:2: cannot find package "github.com/alexflint/go-arg" in any of:
        /usr/local/go/src/github.com/alexflint/go-arg (from $GOROOT)
        /data/go/src/gopkg.in/alecthomas/gometalinter.v1/_linters/src/github.com/alexflint/go-arg (from $GOPATH)
../../../gopkg.in/alecthomas/gometalinter.v1/_linters/src/github.com/GoASTScanner/gas/rules/hardcoded_credentials.go:23:2: cannot find package "github.com/nbutton23/zxcvbn-go" in any of:
        /usr/local/go/src/github.com/nbutton23/zxcvbn-go (from $GOROOT)
        /data/go/src/gopkg.in/alecthomas/gometalinter.v1/_linters/src/github.com/nbutton23/zxcvbn-go (from $GOPATH)
../../../gopkg.in/alecthomas/gometalinter.v1/_linters/src/github.com/GoASTScanner/gas/filelist.go:20:2: cannot find package "github.com/ryanuber/go-glob" in any of:
        /usr/local/go/src/github.com/ryanuber/go-glob (from $GOROOT)
        /data/go/src/gopkg.in/alecthomas/gometalinter.v1/_linters/src/github.com/ryanuber/go-glob (from $GOPATH)
../../../gopkg.in/alecthomas/gometalinter.v1/_linters/src/golang.org/x/tools/go/gcexportdata/gcexportdata.go:35:2: no buildable Go source files in /data/go/src/gopkg.in/alecthomas/gometalinter.v1/_linters/src/golang.org/x/tools/go/gcimporter15
WARNING: failed to install one or more linters: exit status 1 (installing individually)
DEBUG: go install -v github.com/jgautheron/goconst/cmd/goconst
import cycle not allowed
package github.com/jgautheron/goconst/cmd/goconst
        imports encoding/json
        imports bytes
        imports errors
        imports runtime
        imports runtime/internal/atomic
        imports runtime
WARNING: failed to install github.com/jgautheron/goconst/cmd/goconst: exit status 1
DEBUG: go install -v github.com/stripe/safesql
../../../gopkg.in/alecthomas/gometalinter.v1/_linters/src/golang.org/x/tools/go/ssa/create.go:18:2: no buildable Go source files in /data/go/src/gopkg.in/alecthomas/gometalinter.v1/_linters/src/golang.org/x/tools/go/types/typeutil
import cycle not allowed
package github.com/stripe/safesql
        imports flag
        imports errors
        imports runtime
        imports runtime/internal/atomic
        imports runtime
WARNING: failed to install github.com/stripe/safesql: exit status 1
DEBUG: go install -v github.com/mdempsky/unconvert
import cycle not allowed
package github.com/mdempsky/unconvert
        imports bytes
        imports errors
        imports runtime
        imports runtime/internal/atomic
        imports runtime
WARNING: failed to install github.com/mdempsky/unconvert: exit status 1
DEBUG: go install -v honnef.co/go/tools/cmd/unused
../../../gopkg.in/alecthomas/gometalinter.v1/_linters/src/honnef.co/go/tools/ssa/create.go:18:2: no buildable Go source files in /data/go/src/gopkg.in/alecthomas/gometalinter.v1/_linters/src/golang.org/x/tools/go/types/typeutil
import cycle not allowed
package honnef.co/go/tools/cmd/unused
        imports honnef.co/go/tools/lint/lintutil
        imports errors
        imports runtime
        imports runtime/internal/atomic
        imports runtime
WARNING: failed to install honnef.co/go/tools/cmd/unused: exit status 1
DEBUG: go install -v github.com/mibk/dupl
import cycle not allowed
package github.com/mibk/dupl
        imports bufio
        imports bytes
        imports errors
        imports runtime
        imports runtime/internal/atomic
        imports runtime
WARNING: failed to install github.com/mibk/dupl: exit status 1
DEBUG: go install -v github.com/kisielk/errcheck
import cycle not allowed
package github.com/kisielk/errcheck
        imports bufio
        imports bytes
        imports errors
        imports runtime
        imports runtime/internal/atomic
        imports runtime
WARNING: failed to install github.com/kisielk/errcheck: exit status 1
DEBUG: go install -v golang.org/x/tools/cmd/goimports
import cycle not allowed
package golang.org/x/tools/cmd/goimports
        imports bufio
        imports bytes
        imports errors
        imports runtime
        imports runtime/internal/atomic
        imports runtime
WARNING: failed to install golang.org/x/tools/cmd/goimports: exit status 1
DEBUG: go install -v github.com/opennota/check/cmd/structcheck
import cycle not allowed
package github.com/opennota/check/cmd/structcheck
        imports flag
        imports errors
        imports runtime
        imports runtime/internal/atomic
        imports runtime
WARNING: failed to install github.com/opennota/check/cmd/structcheck: exit status 1
DEBUG: go install -v github.com/opennota/check/cmd/varcheck
import cycle not allowed
package github.com/opennota/check/cmd/varcheck
        imports flag
        imports errors
        imports runtime
        imports runtime/internal/atomic
        imports runtime
WARNING: failed to install github.com/opennota/check/cmd/varcheck: exit status 1
DEBUG: go install -v github.com/tsenart/deadcode
import cycle not allowed
package github.com/tsenart/deadcode
        imports flag
        imports errors
        imports runtime
        imports runtime/internal/atomic
        imports runtime
WARNING: failed to install github.com/tsenart/deadcode: exit status 1
DEBUG: go install -v github.com/alecthomas/gocyclo
import cycle not allowed
package github.com/alecthomas/gocyclo
        imports flag
        imports errors
        imports runtime
        imports runtime/internal/atomic
        imports runtime
WARNING: failed to install github.com/alecthomas/gocyclo: exit status 1
DEBUG: go install -v github.com/client9/misspell/cmd/misspell
/usr/local/go/src/crypto/tls/cipher_suites.go:18:2: cannot find package "golang_org/x/crypto/chacha20poly1305" in any of:
        /usr/local/go/src/golang_org/x/crypto/chacha20poly1305 (from $GOROOT)
        /data/go/src/gopkg.in/alecthomas/gometalinter.v1/_linters/src/golang_org/x/crypto/chacha20poly1305 (from $GOPATH)
/usr/local/go/src/crypto/tls/key_agreement.go:20:2: cannot find package "golang_org/x/crypto/curve25519" in any of:
        /usr/local/go/src/golang_org/x/crypto/curve25519 (from $GOROOT)
        /data/go/src/gopkg.in/alecthomas/gometalinter.v1/_linters/src/golang_org/x/crypto/curve25519 (from $GOPATH)
/usr/local/go/src/net/http/h2_bundle.go:46:2: cannot find package "golang_org/x/net/http2/hpack" in any of:
        /usr/local/go/src/golang_org/x/net/http2/hpack (from $GOROOT)
        /data/go/src/gopkg.in/alecthomas/gometalinter.v1/_linters/src/golang_org/x/net/http2/hpack (from $GOPATH)
/usr/local/go/src/net/http/h2_bundle.go:47:2: cannot find package "golang_org/x/net/idna" in any of:
        /usr/local/go/src/golang_org/x/net/idna (from $GOROOT)
        /data/go/src/gopkg.in/alecthomas/gometalinter.v1/_linters/src/golang_org/x/net/idna (from $GOPATH)
/usr/local/go/src/net/http/h2_bundle.go:48:2: cannot find package "golang_org/x/net/lex/httplex" in any of:
        /usr/local/go/src/golang_org/x/net/lex/httplex (from $GOROOT)
        /data/go/src/gopkg.in/alecthomas/gometalinter.v1/_linters/src/golang_org/x/net/lex/httplex (from $GOPATH)
/usr/local/go/src/net/interface_bsd.go:12:2: cannot find package "golang_org/x/net/route" in any of:
        /usr/local/go/src/golang_org/x/net/route (from $GOROOT)
        /data/go/src/gopkg.in/alecthomas/gometalinter.v1/_linters/src/golang_org/x/net/route (from $GOPATH)
/usr/local/go/src/net/http/request.go:30:2: cannot find package "golang_org/x/text/unicode/norm" in any of:
        /usr/local/go/src/golang_org/x/text/unicode/norm (from $GOROOT)
        /data/go/src/gopkg.in/alecthomas/gometalinter.v1/_linters/src/golang_org/x/text/unicode/norm (from $GOPATH)
/usr/local/go/src/net/http/request.go:31:2: cannot find package "golang_org/x/text/width" in any of:
        /usr/local/go/src/golang_org/x/text/width (from $GOROOT)
        /data/go/src/gopkg.in/alecthomas/gometalinter.v1/_linters/src/golang_org/x/text/width (from $GOPATH)
import cycle not allowed
package github.com/client9/misspell/cmd/misspell
        imports bytes
        imports errors
        imports runtime
        imports runtime/internal/atomic
        imports runtime
WARNING: failed to install github.com/client9/misspell/cmd/misspell: exit status 1
DEBUG: go install -v honnef.co/go/tools/cmd/gosimple
../../../gopkg.in/alecthomas/gometalinter.v1/_linters/src/honnef.co/go/tools/ssa/create.go:18:2: no buildable Go source files in /data/go/src/gopkg.in/alecthomas/gometalinter.v1/_linters/src/golang.org/x/tools/go/types/typeutil
import cycle not allowed
package honnef.co/go/tools/cmd/gosimple
        imports honnef.co/go/tools/lint/lintutil
        imports errors
        imports runtime
        imports runtime/internal/atomic
        imports runtime
WARNING: failed to install honnef.co/go/tools/cmd/gosimple: exit status 1
DEBUG: go install -v golang.org/x/tools/cmd/gotype
import cycle not allowed
package golang.org/x/tools/cmd/gotype
        imports runtime
        imports runtime/internal/atomic
        imports runtime
WARNING: failed to install golang.org/x/tools/cmd/gotype: exit status 1
DEBUG: go install -v github.com/gordonklaus/ineffassign
import cycle not allowed
package github.com/gordonklaus/ineffassign
        imports flag
        imports errors
        imports runtime
        imports runtime/internal/atomic
        imports runtime
WARNING: failed to install github.com/gordonklaus/ineffassign: exit status 1
DEBUG: go install -v github.com/mvdan/interfacer/cmd/interfacer
import cycle not allowed
package github.com/mvdan/interfacer/cmd/interfacer
        imports flag
        imports errors
        imports runtime
        imports runtime/internal/atomic
        imports runtime
WARNING: failed to install github.com/mvdan/interfacer/cmd/interfacer: exit status 1
DEBUG: go install -v github.com/walle/lll/cmd/lll
../../../gopkg.in/alecthomas/gometalinter.v1/_linters/src/github.com/walle/lll/cmd/lll/main.go:10:2: cannot find package "github.com/alexflint/go-arg" in any of:
        /usr/local/go/src/github.com/alexflint/go-arg (from $GOROOT)
        /data/go/src/gopkg.in/alecthomas/gometalinter.v1/_linters/src/github.com/alexflint/go-arg (from $GOPATH)
/usr/local/go/src/crypto/tls/cipher_suites.go:18:2: cannot find package "golang_org/x/crypto/chacha20poly1305" in any of:
        /usr/local/go/src/golang_org/x/crypto/chacha20poly1305 (from $GOROOT)
        /data/go/src/gopkg.in/alecthomas/gometalinter.v1/_linters/src/golang_org/x/crypto/chacha20poly1305 (from $GOPATH)
/usr/local/go/src/crypto/tls/key_agreement.go:20:2: cannot find package "golang_org/x/crypto/curve25519" in any of:
        /usr/local/go/src/golang_org/x/crypto/curve25519 (from $GOROOT)
        /data/go/src/gopkg.in/alecthomas/gometalinter.v1/_linters/src/golang_org/x/crypto/curve25519 (from $GOPATH)
/usr/local/go/src/net/http/h2_bundle.go:46:2: cannot find package "golang_org/x/net/http2/hpack" in any of:
        /usr/local/go/src/golang_org/x/net/http2/hpack (from $GOROOT)
        /data/go/src/gopkg.in/alecthomas/gometalinter.v1/_linters/src/golang_org/x/net/http2/hpack (from $GOPATH)
/usr/local/go/src/net/http/h2_bundle.go:47:2: cannot find package "golang_org/x/net/idna" in any of:
        /usr/local/go/src/golang_org/x/net/idna (from $GOROOT)
        /data/go/src/gopkg.in/alecthomas/gometalinter.v1/_linters/src/golang_org/x/net/idna (from $GOPATH)
/usr/local/go/src/net/http/h2_bundle.go:48:2: cannot find package "golang_org/x/net/lex/httplex" in any of:
        /usr/local/go/src/golang_org/x/net/lex/httplex (from $GOROOT)
        /data/go/src/gopkg.in/alecthomas/gometalinter.v1/_linters/src/golang_org/x/net/lex/httplex (from $GOPATH)
/usr/local/go/src/net/interface_bsd.go:12:2: cannot find package "golang_org/x/net/route" in any of:
        /usr/local/go/src/golang_org/x/net/route (from $GOROOT)
        /data/go/src/gopkg.in/alecthomas/gometalinter.v1/_linters/src/golang_org/x/net/route (from $GOPATH)
/usr/local/go/src/net/http/request.go:30:2: cannot find package "golang_org/x/text/unicode/norm" in any of:
        /usr/local/go/src/golang_org/x/text/unicode/norm (from $GOROOT)
        /data/go/src/gopkg.in/alecthomas/gometalinter.v1/_linters/src/golang_org/x/text/unicode/norm (from $GOPATH)
/usr/local/go/src/net/http/request.go:31:2: cannot find package "golang_org/x/text/width" in any of:
        /usr/local/go/src/golang_org/x/text/width (from $GOROOT)
        /data/go/src/gopkg.in/alecthomas/gometalinter.v1/_linters/src/golang_org/x/text/width (from $GOPATH)
import cycle not allowed
package github.com/walle/lll/cmd/lll
        imports bufio
        imports bytes
        imports errors
        imports runtime
        imports runtime/internal/atomic
        imports runtime
WARNING: failed to install github.com/walle/lll/cmd/lll: exit status 1
DEBUG: go install -v github.com/opennota/check/cmd/aligncheck
import cycle not allowed
package github.com/opennota/check/cmd/aligncheck
        imports flag
        imports errors
        imports runtime
        imports runtime/internal/atomic
        imports runtime
WARNING: failed to install github.com/opennota/check/cmd/aligncheck: exit status 1
DEBUG: go install -v github.com/GoASTScanner/gas
../../../gopkg.in/alecthomas/gometalinter.v1/_linters/src/github.com/GoASTScanner/gas/rules/hardcoded_credentials.go:23:2: cannot find package "github.com/nbutton23/zxcvbn-go" in any of:
        /usr/local/go/src/github.com/nbutton23/zxcvbn-go (from $GOROOT)
        /data/go/src/gopkg.in/alecthomas/gometalinter.v1/_linters/src/github.com/nbutton23/zxcvbn-go (from $GOPATH)
../../../gopkg.in/alecthomas/gometalinter.v1/_linters/src/github.com/GoASTScanner/gas/filelist.go:20:2: cannot find package "github.com/ryanuber/go-glob" in any of:
        /usr/local/go/src/github.com/ryanuber/go-glob (from $GOROOT)
        /data/go/src/gopkg.in/alecthomas/gometalinter.v1/_linters/src/github.com/ryanuber/go-glob (from $GOPATH)
import cycle not allowed
package github.com/GoASTScanner/gas
        imports encoding/json
        imports bytes
        imports errors
        imports runtime
        imports runtime/internal/atomic
        imports runtime
WARNING: failed to install github.com/GoASTScanner/gas: exit status 1
DEBUG: go install -v github.com/golang/lint/golint
../../../gopkg.in/alecthomas/gometalinter.v1/_linters/src/golang.org/x/tools/go/gcexportdata/gcexportdata.go:35:2: no buildable Go source files in /data/go/src/gopkg.in/alecthomas/gometalinter.v1/_linters/src/golang.org/x/tools/go/gcimporter15
import cycle not allowed
package github.com/golang/lint/golint
        imports flag
        imports errors
        imports runtime
        imports runtime/internal/atomic
        imports runtime
WARNING: failed to install github.com/golang/lint/golint: exit status 1
DEBUG: go install -v honnef.co/go/tools/cmd/staticcheck
../../../gopkg.in/alecthomas/gometalinter.v1/_linters/src/honnef.co/go/tools/ssa/create.go:18:2: no buildable Go source files in /data/go/src/gopkg.in/alecthomas/gometalinter.v1/_linters/src/golang.org/x/tools/go/types/typeutil
/usr/local/go/src/crypto/tls/cipher_suites.go:18:2: cannot find package "golang_org/x/crypto/chacha20poly1305" in any of:
        /usr/local/go/src/golang_org/x/crypto/chacha20poly1305 (from $GOROOT)
        /data/go/src/gopkg.in/alecthomas/gometalinter.v1/_linters/src/golang_org/x/crypto/chacha20poly1305 (from $GOPATH)
/usr/local/go/src/crypto/tls/key_agreement.go:20:2: cannot find package "golang_org/x/crypto/curve25519" in any of:
        /usr/local/go/src/golang_org/x/crypto/curve25519 (from $GOROOT)
        /data/go/src/gopkg.in/alecthomas/gometalinter.v1/_linters/src/golang_org/x/crypto/curve25519 (from $GOPATH)
/usr/local/go/src/net/http/h2_bundle.go:46:2: cannot find package "golang_org/x/net/http2/hpack" in any of:
        /usr/local/go/src/golang_org/x/net/http2/hpack (from $GOROOT)
        /data/go/src/gopkg.in/alecthomas/gometalinter.v1/_linters/src/golang_org/x/net/http2/hpack (from $GOPATH)
/usr/local/go/src/net/http/h2_bundle.go:47:2: cannot find package "golang_org/x/net/idna" in any of:
        /usr/local/go/src/golang_org/x/net/idna (from $GOROOT)
        /data/go/src/gopkg.in/alecthomas/gometalinter.v1/_linters/src/golang_org/x/net/idna (from $GOPATH)
/usr/local/go/src/net/http/h2_bundle.go:48:2: cannot find package "golang_org/x/net/lex/httplex" in any of:
        /usr/local/go/src/golang_org/x/net/lex/httplex (from $GOROOT)
        /data/go/src/gopkg.in/alecthomas/gometalinter.v1/_linters/src/golang_org/x/net/lex/httplex (from $GOPATH)
/usr/local/go/src/net/interface_bsd.go:12:2: cannot find package "golang_org/x/net/route" in any of:
        /usr/local/go/src/golang_org/x/net/route (from $GOROOT)
        /data/go/src/gopkg.in/alecthomas/gometalinter.v1/_linters/src/golang_org/x/net/route (from $GOPATH)
/usr/local/go/src/net/http/request.go:30:2: cannot find package "golang_org/x/text/unicode/norm" in any of:
        /usr/local/go/src/golang_org/x/text/unicode/norm (from $GOROOT)
        /data/go/src/gopkg.in/alecthomas/gometalinter.v1/_linters/src/golang_org/x/text/unicode/norm (from $GOPATH)
/usr/local/go/src/net/http/request.go:31:2: cannot find package "golang_org/x/text/width" in any of:
        /usr/local/go/src/golang_org/x/text/width (from $GOROOT)
        /data/go/src/gopkg.in/alecthomas/gometalinter.v1/_linters/src/golang_org/x/text/width (from $GOPATH)
import cycle not allowed
package honnef.co/go/tools/cmd/staticcheck
        imports honnef.co/go/tools/lint/lintutil
        imports errors
        imports runtime
        imports runtime/internal/atomic
        imports runtime
WARNING: failed to install honnef.co/go/tools/cmd/staticcheck: exit status 1
DEBUG: go install -v github.com/mvdan/unparam
../../../gopkg.in/alecthomas/gometalinter.v1/_linters/src/golang.org/x/tools/go/ssa/create.go:18:2: no buildable Go source files in /data/go/src/gopkg.in/alecthomas/gometalinter.v1/_linters/src/golang.org/x/tools/go/types/typeutil
import cycle not allowed
package github.com/mvdan/unparam
        imports bytes
        imports errors
        imports runtime
        imports runtime/internal/atomic
        imports runtime
WARNING: failed to install github.com/mvdan/unparam: exit status 1
gometalinter.v1: error: failed to install the following linters: github.com/jgautheron/goconst/cmd/goconst, github.com/stripe/safesql, github.com/mdempsky/unconvert, honnef.co/go/tools/cmd/unused, github.com/mibk/dupl, github.com/kisielk/errcheck, golang.org/x/tools/cmd/goimports, github.com/opennota/check/cmd/structcheck, github.com/opennota/check/cmd/varcheck, github.com/tsenart/deadcode, github.com/alecthomas/gocyclo, github.com/client9/misspell/cmd/misspell, honnef.co/go/tools/cmd/gosimple, golang.org/x/tools/cmd/gotype, github.com/gordonklaus/ineffassign, github.com/mvdan/interfacer/cmd/interfacer, github.com/walle/lll/cmd/lll, github.com/opennota/check/cmd/aligncheck, github.com/GoASTScanner/gas, github.com/golang/lint/golint, honnef.co/go/tools/cmd/staticcheck, github.com/mvdan/unparam

update added --debug to help debugging

Seems there must be something wrong internally, possibly environment related, with gometalinter as based on the debug out if I set:
GOPATH=/data/go/src/gopkg.in/alecthomas/gometalinter.v1/_linters

and then run:
go install -v github.com/jgautheron/goconst/cmd/goconst github.com/stripe/safesql github.com/mdempsky/unconvert honnef.co/go/tools/cmd/unused github.com/mibk/dupl github.com/kisielk/errcheck golang.org/x/tools/cmd/goimports github.com/opennota/check/cmd/structcheck github.com/opennota/check/cmd/varcheck github.com/tsenart/deadcode github.com/alecthomas/gocyclo github.com/client9/misspell/cmd/misspell honnef.co/go/tools/cmd/gosimple golang.org/x/tools/cmd/gotype github.com/gordonklaus/ineffassign github.com/mvdan/interfacer/cmd/interfacer github.com/walle/lll/cmd/lll github.com/opennota/check/cmd/aligncheck github.com/GoASTScanner/gas github.com/golang/lint/golint honnef.co/go/tools/cmd/staticcheck github.com/mvdan/unparam

It completes successfully.

Can you follow the Contributing guide and run with --debug
On Sat, 25 Mar 2017 at 5:03 am, Steven Hartland<EMAIL_ADDRESS>wrote:

Seems there must be something wrong internally, possibly environment
related, with gometalinter as based on the debug out if I set:
GOPATH=/data/go/src/gopkg.in/alecthomas/gometalinter.v1/_linters
and then run:
go install -v github.com/jgautheron/goconst/cmd/goconst github.com/stripe/safesql github.com/mdempsky/unconvert honnef.co/go/tools/cmd/unused github.com/mibk/dupl github.com/kisielk/errcheck golang.org/x/tools/cmd/goimports github.com/opennota/check/cmd/structcheck github.com/opennota/check/cmd/varcheck github.com/tsenart/deadcode github.com/alecthomas/gocyclo github.com/client9/misspell/cmd/misspell honnef.co/go/tools/cmd/gosimple golang.org/x/tools/cmd/gotype github.com/gordonklaus/ineffassign github.com/mvdan/interfacer/cmd/interfacer github.com/walle/lll/cmd/lll github.com/opennota/check/cmd/aligncheck github.com/GoASTScanner/gas github.com/golang/lint/golint honnef.co/go/tools/cmd/staticcheck github.com/mvdan/unparam
It completes successfully.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/alecthomas/gometalinter/issues/266#issuecomment-289101003,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AACjJ9bV0ZvXATxfM2WfuWM9zegqn7QVks5rpAVzgaJpZM4Mokwl
.

Erm, the output is from a run with --debug.
I did combine it with the --install, as that's the step that's failing, is that the issue or given the ... from your message, are you looking at the initial version via email before I updated it?

Yes, my reply was from the original email.
I'm 99% sure this is an issue with your environment. My guess is gometalinter is picking up a different version of the Go binary somehow. Do you have multiple Go versions installed? What version(s) of Go do you have?
You will probably need to debug this yourself, but if you find some way that gometalinter can improve behaviour I'd be interested in a bug report.


python 3.4 - surely not

Does this package need to support python 3.4?
I would suggest not. 3.5 is in wide usage and is available on all major platforms I've seen.
Also keeping support for 3.4 would make the code (both the library and the generated start project) significantly uglier.
@asvetlov ?

@samuelcolvin agreed.
Feel free to don't care about 3.4.


Upcoming meetings Calendar subscription

Description
https://www.ietf.org/how/meetings/upcoming/ is very valuable to plan our attendance but also for other SDOs or other organizations to avoid conflicts. However, that specific table (only the span dates of the upcoming meetings) does not seem to be available as a calendar subscription. https://datatracker.ietf.org/meeting/upcoming provides too much data (i.e. interim) or filtering by IETF meetings only seem to show the current and the next one. Would be really useful to have the whole list as https://www.ietf.org/how/meetings/upcoming/  (with the city location obviously). Maybe it is already available somewhere, but can't find it. Obviously not high priority, but nice to have.
Code of Conduct

[X] I agree to follow the IETF's Code of Conduct

Also see #4808

I think this is a duplicate of 4808 and am marking it as such.


Does not work with slim templater

$ i15r /path/to/app/views/shared/_my_account.html.slim -n
Running in dry-run mode
/path/to/app/views/shared/_my_account.html.slim:

/home/adrianov/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/i15r-0.5.5/lib/i15r/pattern_matcher.rb:36:in `const_get': uninitialized constant SlimTransformer (NameError)
    from /home/adrianov/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/i15r-0.5.5/lib/i15r/pattern_matcher.rb:36:in `initialize'
    from /home/adrianov/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/i15r-0.5.5/lib/i15r.rb:84:in `new'
    from /home/adrianov/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/i15r-0.5.5/lib/i15r.rb:84:in `sub_plain_strings'
    from /home/adrianov/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/i15r-0.5.5/lib/i15r.rb:79:in `internationalize_file'
    from /home/adrianov/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/i15r-0.5.5/lib/i15r.rb:99:in `block in internationalize!'
    from /home/adrianov/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/i15r-0.5.5/lib/i15r.rb:99:in `each'
    from /home/adrianov/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/i15r-0.5.5/lib/i15r.rb:99:in `internationalize!'
    from /home/adrianov/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/i15r-0.5.5/bin/i15r:56:in `<top (required)>'
    from /home/adrianov/.rbenv/versions/2.2.3/bin/i15r:23:in `load'
    from /home/adrianov/.rbenv/versions/2.2.3/bin/i15r:23:in `<main>'

@adrianov - I know it's been a year and a half since you filed this issue, but did you figure out a solution?

Sorry for not replying on that one earlier but I don't have the time any more to maintain the gem.
Regarding this issue, to make it work, one would have to define a SlimTransformer class and define its transform method (see ErbTransformer and HamlTransformer in the pattern_matcher.rb file.
If any of you feels like implementing it, I'd be more than happy to merge it back in and release a new gem version.


chore(devops): set db name based on app version

Description:
Introduce a global config system and use to to allow overriding of the database name based on user defined conditions.
By default, include the domain next when using the app with a version greater than 0.4.0-alpha in order to allow us to use dedicated databases for master vs next.
After merging this, we will increment the version number in the next branch to 0.4.0-alpha which will cause it to use an alternate database when running that branch (ora branches based on it).
So, by default database names will be:
0.3.x:
ZapDesktop.development / ZapDesktop.production

0.4.x:
ZapDesktop.next.development / ZapDesktop.next.production

Motivation and Context:
We have different database schemas in next vs master and want an easy way to work with both branches without causing conflicts.
Also, we want to glob al config store that we use to define global config variables (eg autopilot settings, rpc port/host) in a single location, with the ability for developers to easily override thease defaults for their own development environment.
How Has This Been Tested?
Ensure correct database is used  when running yarn dev/start/package
Types of changes:
Devops improvement
Checklist:

[x] My code follows the code style of this project.
[x] I have reviewed and updated the documentation accordingly.
[x] I have read the CONTRIBUTING document.
[ ] I have added tests to cover my changes where needed.
[ ] All new and existing tests passed.
[x] My commits have been squashed into a concise set of changes.

Coverage decreased (-0.1%) to 19.49% when pulling fd3bc7529145d46ddf3c2d3bc8a5b3a3ac8c7946 on mrfelton:chore/db-domains into 124b003805de1180f60d952c7c5ef5518b66e58b on LN-Zap:master.


Include watch's API level

When transmitting watch info, also include its API Level (to determine Android version).

Thanks!


Configuration of the engine

I noticed, that in commit a3c4a1d4284e6250d7693f3157c7a62b0f118737 a construct along the lines of
namespace preinit{
    extern bool use_legacy_renderer;
}

int main() {
    oe::preinit::use_legacy_renderer = true;

    //...
}

was added to configure which version of the renderer is used.
I must say that I personally find this construct extremely ugly for a couple of reasons, not the least of which being that it introduces
global variables. Another reason is that I would like to only perform configuration at runtime when it is necessary / sensible. In my opinion in all other cases configurations options should be compile time constants.
Here are a bunch of ideas for how we could implement configuration options:
Compile-Time Configuration
Still global, but constexpr static
The user of the engine creates a config.h header file, with content along the lines of
namespace conf {
    constexpr static option1 = false;
    constexpr static option2 = false;
    constexpr static option3 = true;
}

This header file has to be included above other OEngine header files in the game source code.
Configuration options can then be accessed by the engine source code by doing e.g. conf::option1.
If any necessary configuration option is missing, the compiler will throw an error.
Compile-time evaluated JSON-String
Essentially the same as above, but a bit fancier :P
The user of the engine creates a config.h header file, with the configuration options written in JSON format (Don't worry about
const_string, it's just a type to store a compile time string literal):
const_string conf = "{
                      'option1': true,
                      'option2': true,
                      'list_option3': {
                          'inside_opt1': true,
                          'inside_opt2': false
                      }
                     }";

This would go very well with std::embed, if and when it is accepted into the C++ standard (A long shot, I know :P)
Runtime Configuration
No general runtime-conf options
Don't provide general options to configure stuff, only have configuration options be passed as function arguments to each
engine function.
Call a reconfigure function with a dedicated configuration struct as an argument
int main() {
    // ...

    oe::conf_t new_conf;
    new_conf.option1 = false;
    new_conf.option2 = false;
    new_conf.option3 = true;

    oe::reconfigure(new_conf);

    // ...
}

Internally, this could be implemented with a Singleton (A class that only has one instance, and only a reference to this instance can be obtained). While still kind of the same thing as a global variable, to me an engine-internal class that handles configuration still seems like a better option than just raw global variables:
namespace oe {
    // ...

    void configure(conf_t conf) {
        config_handler_t& handler = config_handler_t::get_instance();
        handler.set_conf(conf);
    }

    // Some engine-internal function that needs configuration values
    void some_func() {
        config_handler_t& handler = config_handler_t::get_instance();
        conf_t conf = handler.get_conf();
    }
}

While I am not sure how that would be implemented, in this case something pretty helpful would be if we could somehow
prevent engine-internal software from using the set_conf() function (or otherwise writing to the configuration options), with the explicit exception of oe::configure.

This is a well written issue i must say. But i find there are a few problems with your suggestions themselves.
FYI there is already one single global variable in the OE API and that is
namespace oe{

    // GLOBAL VARIABLE
    extern OE_TaskManager* OE_Main;

If you have any idea how to conceal it and make it only accessible from inside the API that would be nice. This is not particularly important since all C-based libraries have this problem though. (SDL included)
Global variables also exist in the renderer api to a greater extent: (include/Renderer/NRE_GPU_API.h line 101)
//////////////////////
//  all variables here
extern void* api;
extern info_struct backend_info;
extern std::atomic<bool>  use_wireframe;

extern uint32_t x;
extern uint32_t y;
//////////////////////

The problem is that those parameters must transcend the lifetime of a specific void* api. The renderer (and the physics engine and the networking engine) should be able to be restarted on runtime at will. The renderer is already able to restart itself on runtime if needed due to parameter changes.
This does not really apply to the engine (OE_TaskManager) itself if we assume that only after oe::init the runtime configuration options can be changed, but it does for all the other APIs. If you have any suggestions for improvements, they are welcome. Could we use singletons?
Compile-Time Configuration
Still global, but constexpr static
Riiiight. There is a really important problem with this suggestion. Are you suggesting that the user HAS to provide a config.h file? I find this unnecessary complicated. It should be possible to configure and use the engine completely using a single file.  I strongly suggest examples in the examples directory to be single-file for simplicity's sake. I always hate it when i am looking for examples to use some library and they always try to split the code into small .h and .cpp files instead of making it as simple as possible...
Could this be optional? Can we make a default configuration and make the oe::conf namespace optional?
Maybe a oe/default_config.h that could be included before oe/api_oe.h would suffice?
What i think does not look very good:

#include <whatever_file.h>
#include <whatever_file2.h>

namespace oe { namespace conf {
    constexpr static option1 = false;
    constexpr static option2 = false;
    constexpr static option3 = true;
};

#include <OE_API.h> // yeah right i need to the new names. The new name would be <oe/api_oe.h>

int main(){

    oe::init();
    //...
    oe::destroy();
    return 0;
}

Compile-time evaluated JSON-String
Can we then do this even for compile-time constants?
#include <whatever_file.h>
#include <whatever_file2.h>
#include <oe/api_oe.h>

const_string conf = "{
                      'option1': true,
                      'option2': true,
                      'list_option3': {
                          'inside_opt1': true,
                          'inside_opt2': false
                      }
                     }";

int main(){

    oe::preconfigure(conf); // can this be constexpr (?) Can we adapt the OE_API.h for this to be possible?
    oe::init();
    //...
    oe::destroy();
    return 0;
}

If yes then i have no problem with that. I can tolerate more complexity in the OE_API.h and OE_API.cpp if this means the user-facing API looks simpler. If we cannot do this then i prefer a namespace for compile-time parameters.
The big problem with compile-time parameters is that they are set in stone. They can only be changed by the user and not the player. I can hardly think of a single option that fits this requirement for the renderer. The preinit::use_legacy_renderer definitely does not fit this. It cannot change on runtime, but it should be able to be changed by the actual player before launching the engine at least...
Runtime Configuration
No general runtime-conf options
What if the user only wants to change ONE parameter and not all at once?
Does the user also have to query and remember every single option there is? What if we load a player config and the game developer(user) does not (of course) know the parameters. Does the user have to query them by hand then?
Call a reconfigure function with a dedicated configuration struct as an argument
Again what if the user only wants to change ONE parameter and not all at once?
The logic with constant parameters cannot be applied as is for dynamic ones as i see it.
We could still make this an option though. Right now my idea is to make explicit functions accepting values and functions that toggle (if it is boolean):
From OE_API.h :
void set_shading_mode(oe::renderer::shading_mode::type);
oe::renderer::shading_mode::type get_shading_mode();

void render_wireframe(bool);
void toggle_wireframe_rendering();

void render_bounding_boxes(bool);
void toggle_bounding_boxes_rendering();

void render_bounding_spheres(bool);
void toggle_bounding_spheres_rendering();

void render_HDR(bool);
void toggle_render_HDR();
// i was bored so i haven't implemented the has_wireframe_rendering() or similar etc.

If you have any objections to the naming or the pattern i use i am all ears.
We could still also implement a reconfigure function. BUT I think it would only be useful if it reads a config file and not with a struct in code.
Concerning singletons i find this a little hard to understand how it would work exactly. Consider i have OE_Main as a global variable i can imagine it would work something like this theoretically:
namespace oe {
    // ...

    void reconfigure(conf_t conf) {
         OE_Main->set_conf(conf);
    }

    // Some engine-internal function that needs configuration values
    void some_func() {
        OE_Main->set_conf(conf); // i dont think this can ever happen
    }
}

The problem would be to conceal ```OE_Main`` somehow if possible, but again not something i personally worry about in particular. Maybe we could make THIS a singleton?
I do not think this is the way it would happen anyways. the reconfigure API function would just call the respective user-facing API functions for each parameter separately. :P
Final point
I definitely cannot make preinit::use_legacy_renderer a compile-time constant. I can accept a oe::preconfigure (with JSON or using your parser) plus a possibility to use a real player configuration file for non compile-time constants that cannot be changed at runtime.

SInce you also talk about runtime configuration please change the title to reflect that :P

Runtime Configuration
Actually, making OE_Main a Singleton isn't a bad idea. As for it's concealment from the user, I would put everything the user is not supposed to directly access in an internal oe_detail namespace:
namespace oe {

    namespace oe_detail {
        // Internal OE Stuff the user is not supposed to see directly
    }

    // Public API

}

I could live with the TaskManager class handling configuration. All the conf functions used for setting the different parameters
could then simply access the OE_Main instance:
void render_wireframe(bool b) {
    oe_detail::OE_Main->render_wireframe(b);
}
void render_bounding_boxes(bool b) {
    oe_detail::OE_Main->render_bounding_boxes(b);
}
void render_bounding_spheres(bool b) {
    oe_detail::OE_Main->render_bounding_spheres(b);
}

My main issue is somehow handling configuration centrally. I don't like the idea of a bunch of global variables somewhere,
which can be changed and accessed from anywhere and everywhere.
Compile-time configuration
Proper compile time configuration requires either macros, constexpr static variables or templates. The first two would need to be dfined before anything else engine-related, i.e. in a user-written config file that get's included before everything else (At least I don't really see another way). The template option essentially requires a completely object oriented internal API, like in the example I proposed in issue #25 .
But we can ignore this for now. I am not sure that it would even be useful, since I can't think of any compile-time configuration options we might use.

oe_detail is a pretty good idea. I can implement that!
The really nice thing about those global variables is exactly the thing that you do not like. The only alternative i can see is to put them all inside the TaskManager, but at least some of them still would be static.
I already put all parameters that i can do inside the dummy classes in OE_DummyClasses.h. I also just noticed the use_wireframe as a global variable in the GPU API is probably not needed, but i need to investigate more.
There are also some leftover global variables in the event handler.
We still also have OE_World::objectsList etc. as static global variables, which i wanted before to put inside the taskmanager, but the renderer had a higher priority.
Would putting all possible global variables (static or not) inside the task manager and implementing config methods be enough? All those variables are still accessible through oe::oe_detail::OE_Main or TaskManager:: this way and we could make a singleton although i dont really know how.
Also should i keep preinit::use_legacy_renderer as it is for now or make it a function which would change a static task manager variable?
Should we introduce JSON with preconfigure for non compile constants in the future?

About TaskManager
This would be more complicated. The oxygen_engine_t would already have to pass the right configuration options to the taskmanager which would then pass them to the respective subsystems.
On the other hand, this would make the task manager simpler to an extent. I will open an issue once i have an updated design proposal ready.
About globally accessible variables in general
I tried to remove them as far as I could, but there are many complications. I need for example both the window system and the renderer to be able to get access to the window dimensions or backend_info. The obvious solution would be to let the window system handle renderer initialisation and execution. However, this makes the window system more complicated and more importantly we cannot independently decouple the renderer from the window system.  It would make the window system do half the job of task managing if that were to be the case.
Also the renderer (and the physics engine and csl as well) need direct access to the actual objectList etc. I cannot  easily make them non-static members of taskmanager or oxygen_engine_t, since i would need to always pass around relevant pointers...
I may need to think about a partial redesign here as well. I already have something in mind using return values and arguments for the renderer and window system.
Thoughts/ideas welcome especially regarding the objectsList and similar.
What to do with preinit::use_legacy_renderer
Ok.
I like the idea of oe::preconfigure. We could use JSON or your parser together with it. For file configs we could use oe::preload_config or something similar. It should still be possible to only change parameters individually and not all at once.


name field contains an invalid domain

I'm trying to alias a deployment
I have my CNAME setup at DigitalOcean and I've used NSLOOKUP to confirm that the name servers there are publishing the records
MBP:foster bobby$ now alias https://foster-ujntgjvlsx.now.sh/ foster.joshjoe.com
> Assigning alias foster.joshjoe.com to deployment foster-ujntgjvlsx.now.sh
> Nameservers: ns1.digitalocean.com, ns2.digitalocean.com, ns3.digitalocean.com
> Error! An unexpected error occurred in alias: foster.joshjoe.com: The `name` field contains an invalid domain name ("foster.joshjoe.com") (400)
    at responseError (/snapshot/repo/dist/now.js:2564:15)
    at <anonymous>
    at process._tickCallback (internal/process/next_tick.js:188:7)

MBP:foster bobby$ nslookup
> server ns1.digitalocean.com
Default server: ns1.digitalocean.com
Address: 2400:cb00:2049:1::adf5:3a33#53
Default server: ns1.digitalocean.com
Address: <IP_ADDRESS>#53
> foster.joshjoe.com
Server:         ns1.digitalocean.com
Address:        2400:cb00:2049:1::adf5:3a33#53

foster.joshjoe.com      canonical name = alias.zeit.co.

I'm following the guide here: https://zeit.co/docs/getting-started/assign-a-domain-name

I was able to fix this by doing now domain add -e foster.joshjoe.com then after I added the TXT record to joshjoe.com I was able to re-run the now alias https://foster-ujntgjvlsx.now.sh/ foster.joshjoe.com command and this time it worked.
I still think that there is a bug because the CLI clearly states that this kind of manual adding of domains isn't necessary.

I worked around this just now by trying to add an alias to my root domain (which failed, but differently) and then it somehow let me add the alias on the subdomain.

i experienced the same - ended up having to add the TXT record asked for when running now domain add -e myrootdomain.com, then intentionally trying to alias the root domain, and finally successfully aliasing the subdomain (so a mixture of the above two workarounds).

Thanks all! I too had to add the root domain instead of a sub domain (even though I only wanted to alias a subdomain).


Powdr/RISCV executor

    function main {
		ret;
    }

If I run it on this it seems to get into an infinite loop and runs OOM.

(rebased)

maybe I just don't understand yet how this works

ok it looks like reg_map is a map from register names to indices in the table.

Ok if I print everything at the end properly it seems correct, although I don't know why pc=1 at the end:
pc=0 X=0 Y=0 Z=0 W=0 tmp1=0 tmp2=0 tmp3=0 lr_sc_reservation=0 x0=0 x1=0 x2=0 x3=0 x4=0 x5=0 x6=0 x7=0 x8=0 x9=0 x10=0 x11=0 x12=0 x13=0 x14=0 x15=0 x16=0 x17=0 x18=0 x19=0 x20=0 x21=0 x22=0 x23=0 x24=0 x25=0 x26=0 x27=0 x28=0 x29=0 x30=0 x31=0 addr=0

pc=0 X=0 Y=0 Z=0 W=0 tmp1=0 tmp2=0 tmp3=0 lr_sc_reservation=0 x0=0 x1=0 x2=0 x3=0 x4=0 x5=0 x6=0 x7=0 x8=0 x9=0 x10=0 x11=0 x12=0 x13=0 x14=0 x15=0 x16=0 x17=0 x18=0 x19=0 x20=0 x21=0 x22=0 x23=0 x24=0 x25=0 x26=0 x27=0 x28=0 x29=0 x30=0 x31=0 addr=0

pc=1 X=0 Y=0 Z=0 W=0 tmp1=0 tmp2=0 tmp3=0 lr_sc_reservation=0 x0=0 x1=0 x2=0 x3=0 x4=0 x5=0 x6=0 x7=0 x8=0 x9=0 x10=0 x11=0 x12=0 x13=0 x14=0 x15=0 x16=0 x17=0 x18=0 x19=0 x20=0 x21=0 x22=0 x23=0 x24=0 x25=0 x26=0 x27=0 x28=0 x29=0 x30=0 x31=0 addr=0

Ok if I print everything at the end properly it seems correct, although I don't know why pc=1 at the end:
pc=0 X=0 Y=0 Z=0 W=0 tmp1=0 tmp2=0 tmp3=0 lr_sc_reservation=0 x0=0 x1=0 x2=0 x3=0 x4=0 x5=0 x6=0 x7=0 x8=0 x9=0 x10=0 x11=0 x12=0 x13=0 x14=0 x15=0 x16=0 x17=0 x18=0 x19=0 x20=0 x21=0 x22=0 x23=0 x24=0 x25=0 x26=0 x27=0 x28=0 x29=0 x30=0 x31=0 addr=0

pc=0 X=0 Y=0 Z=0 W=0 tmp1=0 tmp2=0 tmp3=0 lr_sc_reservation=0 x0=0 x1=0 x2=0 x3=0 x4=0 x5=0 x6=0 x7=0 x8=0 x9=0 x10=0 x11=0 x12=0 x13=0 x14=0 x15=0 x16=0 x17=0 x18=0 x19=0 x20=0 x21=0 x22=0 x23=0 x24=0 x25=0 x26=0 x27=0 x28=0 x29=0 x30=0 x31=0 addr=0

pc=1 X=0 Y=0 Z=0 W=0 tmp1=0 tmp2=0 tmp3=0 lr_sc_reservation=0 x0=0 x1=0 x2=0 x3=0 x4=0 x5=0 x6=0 x7=0 x8=0 x9=0 x10=0 x11=0 x12=0 x13=0 x14=0 x15=0 x16=0 x17=0 x18=0 x19=0 x20=0 x21=0 x22=0 x23=0 x24=0 x25=0 x26=0 x27=0 x28=0 x29=0 x30=0 x31=0 addr=0

I don't understand why there are 2 pc=0. pc is incremented on every instruction.

I don't understand why there are 2 pc=0. pc is incremented on every instruction.

Each line is a row

rebased, last commit needs to be doubled checked because of some AST changes

rebased & squashed


Added Formula Button (for maths support)

https://github.com/singerdmx/flutter-quill/issues/898

@garv-shah https://github.com/singerdmx/flutter-quill/commit/c507e4fccd97ce7c586c2012f882e0887e69d929

Ah, apologies, it must not have been handling the delta at all.
I believe you said that the attributes for embeds were automatic, it that's not the case would you know where I can handle the delta?

Delta has to have a line break at the very end

Don't insert at the end

oh, whoops! alright, I'll mess around with it some more later, thanks :)


Optimize Github workflow autoyapf

Introduction
autoyapf is a GitHub workflow used to automatically reformatting the python code to PEP8 format using yapf whenever a pull request to master is initiated.
Current Behaviour
Currently, it checks and reformats all the '.py' files in the repository but this can be optimize by just checking which file has been updated and only reformat those files.
Expected Behaviour
Optimize autoyapf.yml file so that it only reformat those files in PR which is updated by the contributor in the following PR.

Hi @ShivamSinghal1 can you please assign this to me.

Yes, you can work on this.

@ShivamSinghal1  created PR, please review.


[dv] extracted from the pinout configuration for a chip from hjson

As Sri pointed out, we need a layer (a wire-like data structure) extracted from the pinout configuration for a chip from the HJSon that represents what functionality (either muxed or dedicated) is available on each of these pins, and use that to connect the peripheral agents.

I think this is not needed anymore since we have the chip_if in DV now.


Import Static Mesh (Abc) - wrong Y axis alignment

Is there an existing issue for this?

[X] I have searched the existing issues

Current Behavior:
When importing the static mesh, there is wrong Y axis alignment (transform Rot -90deg needed to fix it) - while using FBX repre this is not an issue
Expected Behavior:
No response
Version
1.0.0
What platform you are running on?
Windows
Steps To Reproduce:
1, Launch Unreal with AYON
2. Load Static Mesh
3. You can find the axis alignment of the objects being wrong
Are there any labels you wish to add?

[X] I have added the relevant labels to the bug report.

Relevant log output:
No response
Additional context:
No response

They have the maya preset settings for abc

it also has some container error on Asset Registry, so the PR for this issue would also reoslve this altogether
LogEditorAssetSubsystem: Error: LoadAsset failed: The AssetData
'/Game/Ayon/Assets/lenny_restroom/asset/modelMain_v045/modelMain_v045_CON.modelMain_v045_CON' could not be found in the Asset Registry.
LogEditorAssetSubsystem: Error: SetMetadataTag failed: Object is null.
LogEditorAssetSubsystem: Error: SetMetadataTag failed: Object is null.
LogEditorAssetSubsystem: Error: SetMetadataTag failed: Object is null.
LogEditorAssetSubsystem: Error: SetMetadataTag failed: Object is null.
LogEditorAssetSubsystem: Error: SetMetadataTag failed: Object is null.
LogEditorAssetSubsystem: Error: SetMetadataTag failed: Object is null.
LogEditorAssetSubsystem: Error: SetMetadataTag failed: Object is null.
LogEditorAssetSubsystem: Error: SetMetadataTag failed: Object is null.
LogEditorAssetSubsystem: Error: SetMetadataTag failed: Object is null.
LogEditorAssetSubsystem: Error: SetMetadataTag failed: Object is null.
LogEditorAssetSubsystem: Error: SetMetadataTag failed: Object is null.
LogEditorAssetSubsystem: Error: SetMetadataTag failed: Object is null.
LogEditorAssetSubsystem: Error: SaveAsset failed: Could not load asset: The AssetData '/Game/Ayon/Assets/lenny_restroom/asset/modelMain_v045/modelMain_v045_CON.modelMain_v045_CON' could not be found in the Asset Registry.

@moonyuet we can close this one too, or?


Who should I report the server internal error to?

Hello @x1280,
Could you please provide more details?
Thanks,
Marina


updated video player 0.7.5

I/dalvikvm( 5366): Could not find method android.graphics.SurfaceTexture.setOnFrameAvailableListener, referenced from method io.flutter.view.FlutterView$SurfaceTextureRegistryEntry.<init>
W/dalvikvm( 5366): VFY: unable to resolve virtual method 697: Landroid/graphics/SurfaceTexture;.setOnFrameAvailableListener (Landroid/graphics/SurfaceTexture$OnFrameAvailableListener;Landroid/os/Handler;)V
D/dalvikvm( 5366): VFY: replacing opcode 0x6e at 0x0015
E/flutter ( 5366): [ERROR:flutter/shell/platform/android/platform_view_android_jni.cc(40)] java.lang.NoSuchMethodError: android.graphics.SurfaceTexture.setOnFrameAvailableListener
E/flutter ( 5366): 	at io.flutter.view.FlutterView$SurfaceTextureRegistryEntry.<init>(FlutterView.java:969)
E/flutter ( 5366): 	at io.flutter.view.FlutterView.createSurfaceTexture(FlutterView.java:955)
E/flutter ( 5366): 	at io.flutter.plugins.videoplayer.VideoPlayerPlugin.onMethodCall(VideoPlayerPlugin.java:291)
E/flutter ( 5366): 	at io.flutter.plugin.common.MethodChannel$IncomingMethodCallHandler.onMessage(MethodChannel.java:191)
E/flutter ( 5366): 	at io.flutter.view.FlutterNativeView.handlePlatformMessage(FlutterNativeView.java:163)
E/flutter ( 5366): 	at android.os.MessageQueue.nativePollOnce(Native Method)
E/flutter ( 5366): 	at android.os.MessageQueue.next(MessageQueue.java:138)
E/flutter ( 5366): 	at android.os.Looper.loop(Looper.java:150)
E/flutter ( 5366): 	at android.app.ActivityThread.main(ActivityThread.java:5323)
E/flutter ( 5366): 	at java.lang.reflect.Method.invokeNative(Native Method)
E/flutter ( 5366): 	at java.lang.reflect.Method.invoke(Method.java:515)
E/flutter ( 5366): 	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:828)
E/flutter ( 5366): 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:644)
E/flutter ( 5366): 	at dalvik.system.NativeStart.main(Native Method)
E/flutter ( 5366):
F/flutter ( 5366): [FATAL:flutter/shell/platform/android/platform_view_android_jni.cc(77)] Check failed: CheckException(env).
F/libc    ( 5366): Fatal signal 6 (SIGABRT) at 0x000014f6 (code=-6), thread 5366 (ive.mysterylive)
handle_request(15)

Please add the output of flutter doctor -v.
Have you tried flutter clean?

[✓] Flutter (Channel dev, v0.8.2, on Mac OS X 10.13.1 17B1003, locale zh-Hans-CN)
• Flutter version 0.8.2 at /Library/Java/flutter
• Framework revision 5ab9e70727 (6 days ago), 2018-09-07 12:33:05 -0700
• Engine revision 58a1894a1c
• Dart version 2.1.0-dev.3.1.flutter-760a9690c2
[✓] Android toolchain - develop for Android devices (Android SDK 27.0.3)
• Android SDK at /Library/Java/android-sdk-macosx
• Android NDK location not configured (optional; useful for native profiling support)
• Platform android-27, build-tools 27.0.3
• ANDROID_HOME = /Library/Java/android-sdk-macosx
• Java binary at: /Library/Java/JavaVirtualMachines/jdk1.8.0_152.jdk/Contents/Home/bin/java
• Java version Java(TM) SE Runtime Environment (build 1.8.0_152-b16)
• All Android licenses accepted.
[✓] iOS toolchain - develop for iOS devices (Xcode 9.2)
• Xcode at /Applications/Xcode.app/Contents/Developer
• Xcode 9.2, Build version 9C40b
• ios-deploy 1.9.2
• CocoaPods version 1.5.3
[✗] Android Studio (not installed)
• Android Studio not found; download from https://developer.android.com/studio/index.html
(or visit https://flutter.io/setup/#android-setup for detailed instructions).
[✓] IntelliJ IDEA Ultimate Edition (version 2018.2.3)
• IntelliJ at /Applications/IntelliJ IDEA.app
• Flutter plugin version 27.0.3
• Dart plugin version 182.3569.4
[✓] Connected devices (1 available)
• M10 •<PHONE_NUMBER>ABCDEF • android-arm • Android 7.0 (API 19)
! Doctor found issues in 1 category.

I found the reason. It's a question of flutter 0.8.2
I updated flutter 0.8.2, This problem arises.

Hi, I have same error in my camera plugin after updated flutter on line:
FlutterView.SurfaceTextureEntry surfaceTextureEntry = flutterView.createSurfaceTexture();
For android lollipop and higher it works fine.
[✓] Flutter (Channel master, v0.9.4-pre.31, on Linux, locale cs_CZ.UTF-8)
• Flutter version 0.9.4-pre.31 at /home/lmarik/flutter
• Framework revision 52697ef (5 hours ago), 2018-09-26 07:57:05 +0200
• Engine revision 38a646e14c
• Dart version 2.1.0-dev.5.0.flutter-4cf2d3990b
[✓] Android toolchain - develop for Android devices (Android SDK 27.0.3)
• Android SDK at /home/lmarik/Android/Sdk
• Android NDK location not configured (optional; useful for native profiling support)
• Platform android-27, build-tools 27.0.3
• Java binary at: /usr/local/android-studio/jre/bin/java
• Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1136-b06)
• All Android licenses accepted.
[✓] Android Studio (version 3.2)
• Android Studio at /usr/local/android-studio
• Flutter plugin version 28.0.2
• Dart plugin version 181.5616
• Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1136-b06)
[✓] IntelliJ IDEA Ultimate Edition (version 2018.1)
• IntelliJ at /home/lmarik/Stažené/ideaIU-2018.1.4/idea-IU-181.5087.20
• Flutter plugin version 26.0.2
• Dart plugin version 181.4892.1
[✓] Connected devices (1 available)
• Lenovo A7600 F • HJA4RYNC • android-arm • Android 4.4.2 (API 19)
• No issues found!

I'm seeing the same issue as well (as I imagine anyone using createSurfaceTexture is). My app is affected on any device older than lollipop, and the qr plugin I'm maintaining has several users who will be affected by this as well - a few of them requested support down to api level 16...

I must build on version Flutter v0.7.6-pre.25 on master channel, for now and wait for repair.  Its for fine.

I must build on version Flutter v0.7.6-pre.25 on master channel, for now and wait for repair. Its for fine.

me too, I stay Flutter v0.8.0


Add more control on scraping libraries and stealth for puppeteer

Greetings!
Using your library I found that it's not running on cloud environments, because puppeteer requires additional options at creation.
This update expands options to pass additional settings for scraper libraries and provides more control on scraping for all sources.
Also I found that time to time amazon blocks puppeteer for "automation access" and asking for capcha - so I added extra stealth plugin for puppeteer - this should decrease this situations.
Thanks for a great project!

Thank you for your contribution, and apologies for the slow merge. For some reason this PR got lost in my inbox.
This should hopeful help with the intermittently failing smock tests.


[no-relative-parent-imports] Resolve paths

This changes the rule to resolve paths before emitting an error. While this means the error will trigger less often (before we could report an error even if the file didn't exist on disk yet) I think it's a fine tradeoff so that it can be useful in more situations.
Fixes #1123.

I only have intermittent time to check this out - just letting any 👀  know that I haven't forgotten about this fix - just busy.


x/sys/windows/svc: EventType always 0 for SessionChange

What version of Go are you using (go version)?
1.9.2
Does this issue reproduce with the latest release?
Yes
What operating system and processor architecture are you using (go env)?
windows 10, windows server 2008 r2 / amd64
What did you do?
I'm writing a windows service using the example project found at:
https://github.com/golang/sys/tree/master/windows/svc/example
In the service Execute function I've added AcceptSessionChange to the accepted commands and added a case to the switch statement:
case svc.SessionChange:
  elog.Info(1, fmt.Sprintf(
    "cmd <%d> type <%d> data <%d> ", c.Cmd, c.EventType, c.EventData))

  changes <- svc.Status{State: svc.Running, Accepts: cmdsAccepted}

These are the only changes made to the example project.
What did you expect to see?
EventType populated with status code indicating the event type, as described in:
https://msdn.microsoft.com/en-us/library/aa383828(v=vs.85).aspx
EventData populated with SessionID of event.
What did you see instead?
EventType is always 0
EventData is correct

/cc @alexbrainman

@cpowski I do not understand what your problem is.
Please, provide full small program that I could run here. And tell me what your program does wrong.
Thank you.
Alex

Hi @alexbrainman, the program I'm writing is a windows service that detects logon/off events. I've started with the windows service example in the golang docs. I've combined the 5 files from that project into one and shared it on play.golang.org. The example project does not handle SessionChange events so I've made the following additions:

line 88: Added  | svc.AcceptSessionChange
line 99/100: Commented out the beep logs to keep the event log clean
line 116-121: Added a case to handle the SessionChange event and log the details to the event log.

The rest of the file is unchanged from the sample project. Once built, the executable needs to be installed as as service and started with ./<executable> install and ./<executable> start. This process is successful and the start up message appears in the windows event log.
I log in/out of a test profile on my machine to trigger a session change event. In the logs I see this:
SessionChange cmd <14> type <0> data <3>

The cmd is correct (SessionChange) and the data contains the associated SessionID. All good. The problem is the EventType. This should represent the reason for the event, however it always reports as 0, which is not a valid status code.
I've tested on windows 10 and windows server 2008 r2 with the same result. I have a c++ service running on the same machines, with the same configuration/service account. It's doing the same thing and successfully receiving the event type.
Let me know if you need any more info.

shared it on play.golang.org

Thank you. I will try and run it here.

I have a c++ service running on the same machines, with the same configuration/service account. It's doing the same thing and successfully receiving the event type.

I will need the source code for that service too. I have never written code that does something similar. So C++ example would be helpful for me to debug Go code.
Thank you.
Alex

I have this same problem.
When I handle svc.SessionChange in service EventType should be one of WTS_CONSOLE_XXX values  (from http://msdn.microsoft.com/en-us/library/aa383828(v=vs.85).aspx) and EventData should be a pointer to WTSSESSION_NOTIFICATION structure
But EventType is always 0 and EventData usually has values from 1 to 8.
What is important: when I build my sample service as 32 bit application everything works fine! EventType and EventData have valid values and I can for example read WTSSESSION_NOTIFICATION structure.
So parameters are passed incorrectly only in 64 bit code: EventType is 0, EventData have value from EventType and pointer to WTSSESSION_NOTIFICATION  is missing.

I log in/out of a test profile on my machine to trigger a session change event. In the logs I see this:
SessionChange cmd <14> type <0> data <3>
The cmd is correct (SessionChange) and the data contains the associated SessionID. All good. The >problem is the EventType. This should represent the reason for the event, however it always reports as >0, which is not a valid status code.

I think you are wrong. Look at:  https://msdn.microsoft.com/pl-pl/library/windows/desktop/ms683241(v=vs.85).aspx?f=255&MSPPError=-2147217396 for SERVICE_CONTROL_SESSIONCHANGE EventType  is one of WTS_CONSOLE_XXX values and EventData is a pointer to a WTSSESSION_NOTIFICATION structure.
So your EventData does not contain sessionID. SessionID should be readed from WTSSESSION_NOTIFICATION structure.

Any news ?
I also noted problems in 32 bit application. In some cases sessionID is invalid (in my tests has value 4784210).
It is go problem in C++ app everything works. I think that the problem is in sys_386.s, sys_amd64.s  asm code so it is hard to fix for me....


[IOAPPX-281] Add VStack and HStack components

[!Note]
The new VStack and HStack components are only compatible with RN 0.71 and higher. The io-app repository currently uses the 0.70 version, so these components don't work yet.

Short description
This PR adds the new VStack and HStack components, useful when you need a uniform spacing between other components.
List of changes proposed in this pull request

Add VStack and HStack components
Update Layout screen in the example to show the new components

Preview

How to test

Launch the example app
Go to the Layout page

What about adding a storybook page as we did for VSpacer/Hspacer components?

@CrisTofani Addressed in this commit → https://github.com/pagopa/io-app-design-system/pull/241/commits/53d4e5d147c978fdcd250fd9af591b25f366d82c


P16S100A-21440-2.03 stops communicating

Hi,
I've set this BMS to pace_modbus and it does work. Worked for 48hrs on first connection but it stops only way to regain connection is to reset the BMS.
This sounds like an issue with the BMS however when I have it connected to the inverter the BMS keeps communicating no problem.
Output from log once it loses communication.
INFO ESPHome 2024.10.0
INFO Reading configuration /config/esphome/esphome-web-da8c7c.yaml...
INFO Starting log output from pace-bms/debug
INFO Connected to MQTT broker!
[12:29:11][D][modbus_controller:038]: Modbus command to device=1 register=0x0F no response received - removed from send queue
[12:29:11][D][uart_debug:114]: >>> 01:03:00:10:00:15:85:C0
[12:29:11][D][uart_debug:114]: >>> 01:03:00:10:00:15:85:C0
[12:29:11][D][uart_debug:114]: >>> 01:03:00:10:00:15:85:C0
[12:29:12][D][uart_debug:114]: >>> 01:03:00:10:00:15:85:C0
[12:29:12][D][uart_debug:114]: >>> 01:03:00:10:00:15:85:C0
[12:29:12][D][modbus_controller:038]: Modbus command to device=1 register=0x10 no response received - removed from send queue
[12:29:12][D][uart_debug:114]: >>> 01:03:00:3C:00:37:C4:10
[12:29:12][D][uart_debug:114]: >>> 01:03:00:3C:00:37:C4:10
[12:29:12][D][uart_debug:114]: >>> 01:03:00:3C:00:37:C4:10
[12:29:13][D][uart_debug:114]: >>> 01:03:00:3C:00:37:C4:10
[12:29:13][D][uart_debug:114]: >>> 01:03:00:3C:00:37:C4:10
[12:29:13][D][modbus_controller:038]: Modbus command to device=1 register=0x3C no response received - removed from send queue
[12:29:18][D][uart_debug:114]: >>> 01:03:00:00:00:08:44:0C
[12:29:18][D][uart_debug:114]: >>> 01:03:00:00:00:08:44:0C
[12:29:18][D][uart_debug:114]: >>> 01:03:00:00:00:08:44:0C
[12:29:18][D][uart_debug:114]: >>> 01:03:00:00:00:08:44:0C
[12:29:18][D][uart_debug:114]: >>> 01:03:00:00:00:08:44:0C
[12:29:19][D][modbus_controller:038]: Modbus command to device=1 register=0x00 no response received - removed from send queue
[12:29:19][D][uart_debug:114]: >>> 01:03:00:09:00:04:94:0B
[12:29:19][D][uart_debug:114]: >>> 01:03:00:09:00:04:94:0B

Do you use CAN bus to talk to your inverter? I'm afraid we can't solve the problem here. Please try to talk to the manufacturer of your BMS and ask for a fixed firmware.


Add rich text editing

Resolves #105.
Resolves #43.
This continues off of PR #106. Adds rich text editing to program details, to the about page, and to the documents and resources page.
Rich text editing for program details:

Removed detail links and external links. Links can now be easily created within the rich text editor.
Added a custom link handler to check if https:// or http:// is included in the link or not. If it isn't, then it adds it.
Added a custom hr handler to insert a
 tag that can be used to divide sections of a page or program details.
Removed program caching for browse section so that the programs are fetched whenever the browse component is created. This was to allow for admin users to check what a program description looks like after making changes to it without having to refresh the page. We might want to keep the program caching here.

ngx-quill uses Angular's DomSanitizer to sanitize the html in the editor. If the link doesn't start with http:// or https:// and has the string javascript: in it, then the link will be replaced with about:blank. This only sanitizes the client side. One could do an http request with malicious code in the href attribute if we didn't sanitize the html on the backend.
As for the backend, we are using sanitize-html. Calling sanitizeHtml(html) on some html prevents malicious code from getting through. If javascript: is in the href of the  tag, then it removes the href.
Even if we didn't sanitize the html on the backend, Angular uses DomSanitizer by default so if there is something like  then clicking on the link will try to navigate you to unsafe:javascript:alert('hello'); and nothing will happen.
Also, the endpoint to edit pages is under the protected controller and requires authentication.

Always assume evil actors know how to consume your API directly. Your users don't actually have to use the UI if they don't want to. Always sanitize your inputs on the server, even if you also do it on the front end.
As for the protected routes, assume that your authentication has been breached. You can never allow javascript to be put in your data store under any circumstance.

Makes sense. I meant to describe the security measures that are currently in place. The sanitizeHtml function on the backend takes care of any javascript in href attributes along with a number of other things.
https://github.com/punkave/sanitize-html/blob/master/src/index.js

Oh right! 😅


add a peer dependency on mongoose to satisfy pnpm's strict dependency…

This pull request simply adds Mongoose @ versions 4-5 to to the peer dependencies of the sinon-mongoose package.  This satisfies the strictness constraints of dependency managers pnpm and Yarn 2.

Unfortunately the pnpm build would not work with the git dependency (yet), but I still believe the change to the prepare script is valid because it works for npm.  The only slight issue is that npm runs the prepare script when doing npm install within the package under development, the reason for which I'm not quite sure.  Yarn behaves similarly.


It doesn’t copy  example responses from swagger

Its not an issue I guess might have not thought of. I was just wondering it would copy sample response from imported swagger to success.json or create files for all the responses provided in swagger file.

Ok i got it. I did modify swaggerPathMethods.js also modified swaggerImport.js to import local files. Thanks 😊

I'm interested in your change.  Do you have a diff of your changes?


[New Issue]: Sequence contains no elements

Please confirm these before moving forward

[X] I have searched for my issue and not found a work-in-progress/duplicate/resolved issue.
[X] I have not been informed if the issue is resolved in a preview version of the winget client.

Category of the issue
Other
Brief description of your issue
When submitting PR for which deletes any manifest this error message is received.
Steps to reproduce
Submit PR for vanity url package.
Actual behavior

Expected behavior
No error.
Environment
PS C:\Users\drsht> winget --info
Windows Package Manager v1.6.3482
Copyright (c) Microsoft Corporation. All rights reserved.

Windows: Windows.Desktop v10.0.22631.2861
System Architecture: X64
Package: Microsoft.DesktopAppInstaller v1.21.3482.0

Winget Directories
-------------------------------------------------------------------------------------------------------------------------------
Logs                               %LOCALAPPDATA%\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\DiagOutputDir
User Settings                      %LOCALAPPDATA%\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\settings.json
Portable Links Directory (User)    %LOCALAPPDATA%\Microsoft\WinGet\Links
Portable Links Directory (Machine) C:\Program Files\WinGet\Links
Portable Package Root (User)       %LOCALAPPDATA%\Microsoft\WinGet\Packages
Portable Package Root              C:\Program Files\WinGet\Packages
Portable Package Root (x86)        C:\Program Files (x86)\WinGet\Packages
Installer Downloads                %USERPROFILE%\Downloads

Links
---------------------------------------------------------------------------
Privacy Statement   https://aka.ms/winget-privacy
License Agreement   https://aka.ms/winget-license
Third Party Notices https://aka.ms/winget-3rdPartyNotice
Homepage            https://aka.ms/winget
Windows Store Terms https://www.microsoft.com/en-us/storedocs/terms-of-sale

Admin Setting                             State
--------------------------------------------------
LocalManifestFiles                        Enabled
BypassCertificatePinningForMicrosoftStore Disabled
InstallerHashOverride                     Enabled
LocalArchiveMalwareScanOverride           Disabled

Screenshots and Logs
-----------------------------------------------------
Processing manifest: manifests\w\WHONET\2023\23.13.8
-----------------------------------------------------
Status: Started
Manifest file is Added
Manifest content validated.
Manifest contains installer: https://whonet.org/WHONET2023-Setup-x86.exe
Manifest contains installer: https://whonet.org/WHONET2023-Setup-x64.exe
Status: Completed
Result: Succeeded

-----------------------------------------------------
Processing manifest: manifests\w\WHONET\2023\23.12.14
-----------------------------------------------------
Status: Started
Manifest file is Deleted
Status: Completed
##[error] Result: Failed
##[error] Sequence contains no elements
##[error]Manifest Validation Failed

****************************************************************************************
Manifest Validation
****************************************************************************************
Status: Completed
##[error] Result: Failed
##[error] One or more errors occurred. (Sequence contains no elements) Sequence contains no elements
Finishing: Validate Manifest

[Policy] Area Validation Pipelines

@stephengillie @Trenly @denelon

@stephengillie @Trenly @denelon

What's with the tag? Theres already labels on the issue, which means its been triaged and is being looked into

Seems to refer to a deleted or pre-moved folder path.


fix error handling in blacklist processing

Currently, if attackers are able to cause an error in the blacklist function, as they can with the current subnet example code, this error will propagate downstream to here.
Please see my associated PR in the subnet example repository that addresses the default code having an exploitable line to force an error:
https://github.com/opentensor/bittensor-subnet-template/pull/88
This was used on the main network on subnet 31 in order to cause a denial of service attack to half of the miner base.

Spoke with upstream devs about this as its more appropriate to fix it on SN side as it doesnt appear any function in part of the axon operation has its exceptions caught. this likely means the onus is on the sn dev to catch them