Access denied finding property "vendor.camera.aux.packagelist"

Can you please provide a few more details? Sample code that triggers your issue?

I did this .....
/////#######################////
package com.example.cameraxapp
import android.Manifest
import android.content.pm.PackageManager
import android.graphics.Matrix
import android.os.Bundle
import android.os.Handler
import android.os.HandlerThread
import android.util.Log
import android.util.Rational
import android.util.Size
import android.view.Surface
import android.view.TextureView
import android.view.ViewGroup
import android.widget.ImageButton
import android.widget.Toast
import androidx.appcompat.app.AppCompatActivity
import androidx.camera.core.*
import androidx.core.content.ContextCompat
import androidx.lifecycle.LifecycleOwner
import java.io.File
import java.nio.ByteBuffer
import java.util.concurrent.TimeUnit
// This is an arbitrary number we are using to keep tab of the permission
// request. Where an app has multiple context for requesting permission,
// this can help differentiate the different contexts
private const val REQUEST_CODE_PERMISSIONS = 10
// This is an array of all the permission specified in the manifest
private val REQUIRED_PERMISSIONS = arrayOf(Manifest.permission.CAMERA)
class MainActivity : AppCompatActivity(),LifecycleOwner {
private lateinit var viewFinder: TextureView

override fun onCreate(savedInstanceState: Bundle?) {
    super.onCreate(savedInstanceState)
    setContentView(R.layout.activity_main)

}
// this  method create for implement cameraX operations
// create configuration object for the viewfinder use case
private fun startCamera() {

    val previewConfig = PreviewConfig.Builder().apply {

        setTargetAspectRatio(Rational(1, 1))
        setTargetResolution(Size(640, 640))

    }.build()

    // Build the viewFinder use case
    val preview = Preview(previewConfig)

    preview.setOnPreviewOutputUpdateListener {

        // To update the surfaceTexture, we have to remove it and re-add it
        val parent = viewFinder.parent as ViewGroup
        parent.removeView(viewFinder)
        parent.addView(viewFinder, 0)

        // it :- this is return current value
        viewFinder.surfaceTexture = it.surfaceTexture
        updateTransform()
    }

    // Create configuration object for the image capture use case
    val imageCaptureConfig = ImageCaptureConfig.Builder()
        .apply {
            setTargetAspectRatio(Rational(1, 1))
            // We don't set a resolution for image capture; instead, we
            // select a capture mode which will infer the appropriate
            // resolution based on aspect ration and requested mode
            setCaptureMode(ImageCapture.CaptureMode.MIN_LATENCY)
        }.build()

    // Build the image capture use case and attach button click listener
    val imageCapture = ImageCapture(imageCaptureConfig)
    findViewById<ImageButton>(R.id.capture_button).setOnClickListener {
        val file = File(externalMediaDirs.first(),
            "${System.currentTimeMillis()}.jpg")
        imageCapture.takePicture(file,
            object : ImageCapture.OnImageSavedListener {
                override fun onError(error: ImageCapture.UseCaseError,
                                     message: String, exc: Throwable?) {
                    val msg = "Photo capture failed: $message"
                    Toast.makeText(baseContext, msg, Toast.LENGTH_SHORT).show()
                    Log.e("CameraXApp", msg)
                    exc?.printStackTrace()
                }

                override fun onImageSaved(file: File) {
                    val msg = "Photo capture succeeded: ${file.absolutePath}"
                    Toast.makeText(baseContext, msg, Toast.LENGTH_SHORT).show()
                    Log.d("CameraXApp", msg)
                }
            })
    }

    // Setup image analysis pipeline that computes average pixel luminance
    val analyzerConfig = ImageAnalysisConfig.Builder().apply {
        // Use a worker thread for image analysis to prevent glitches
        val analyzerThread = HandlerThread(
            "LuminosityAnalysis").apply { start() }
        setCallbackHandler(Handler(analyzerThread.looper))
        // In our analysis, we care more about the latest image than
        // analyzing *every* image
        setImageReaderMode(
            ImageAnalysis.ImageReaderMode.ACQUIRE_LATEST_IMAGE)
    }.build()

    // Build the image analysis use case and instantiate our analyzer
    val analyzerUseCase = ImageAnalysis(analyzerConfig).apply {
        analyzer = LuminosityAnalyzer()
    }

    // bind use cases to lifeCycle
    // If Android Studio complains about "this" being not a LifecycleOwner
    // try rebuilding the project or updating the appcompat dependency to
    // version 1.1.0 or higher.
    CameraX.bindToLifecycle(this, preview,imageCapture)

}

// this method is used for implement camera viewFinder transformation
private fun updateTransform() {

    val matrix = Matrix()

    //compute the center of the view finder
    val centerX = viewFinder.width/2f
    val centerY = viewFinder.height/2f

    //correct preview output to account for display rotation
    val rotationDegrees = when(viewFinder.display.rotation){

        Surface.ROTATION_0 ->0
        Surface.ROTATION_90 ->90
        Surface.ROTATION_180 ->180
        Surface.ROTATION_270 ->270
        else ->return
    }
    matrix.postRotate(-rotationDegrees.toFloat(), centerX, centerY)

    // Finally, apply transformations to our TextureView
    viewFinder.setTransform(matrix)

}

    /**
     * Process result from permission request dialog box, has the request
     * been granted? If yes, start Camera. Otherwise display a toast
     */
    override fun onRequestPermissionsResult(
        requestCode: Int,
        permissions: Array<out String>,
        grantResults: IntArray
    ) {

        if (requestCode == REQUEST_CODE_PERMISSIONS) {
            if (allPermissionsGranted()) {
                viewFinder.post { startCamera() }

            } else {
                Toast.makeText(this, "Permission not granted by the usser", Toast.LENGTH_LONG).show()
                finish()
            }
        }
        super.onRequestPermissionsResult(requestCode, permissions, grantResults)
    }

    /**
     * Check if all permission specified in the manifest have been granted
     */
  private  fun allPermissionsGranted(): Boolean {

        for (permission in REQUIRED_PERMISSIONS) {
            if (ContextCompat.checkSelfPermission(
                    this, permission) != PackageManager.PERMISSION_GRANTED
            ) {
                return false
            }
        }
        return true
    }

}
private class LuminosityAnalyzer : ImageAnalysis.Analyzer {
private var lastAnalyzedTimestamp = 0L
/**
 * Helper extension function used to extract a byte array from an
 * image plane buffer
 */
private fun ByteBuffer.toByteArray(): ByteArray {
    rewind()    // Rewind the buffer to zero
    val data = ByteArray(remaining())
    get(data)   // Copy the buffer into a byte array
    return data // Return the byte array
}

override fun analyze(image: ImageProxy, rotationDegrees: Int) {
    val currentTimestamp = System.currentTimeMillis()
    // Calculate the average luma no more often than every second
    if (currentTimestamp - lastAnalyzedTimestamp >=
        TimeUnit.SECONDS.toMillis(1)) {
        // Since format in ImageAnalysis is YUV, image.planes[0]
        // contains the Y (luminance) plane
        val buffer = image.planes[0].buffer
        // Extract image data from callback object
        val data = buffer.toByteArray()
        // Convert the data into an array of pixel values
        val pixels = data.map { it.toInt() and 0xFF }
        // Compute average luminance for the image
        val luma = pixels.average()
        // Log the new luma value
        Log.d("CameraXApp", "Average luminosity: $luma")
        // Update timestamp of last analyzed frame
        lastAnalyzedTimestamp = currentTimestamp
    }
}

}

A few follow-up questions:

What specific line is throwing the error?
Can you paste the stack trace as well?
Does this happen when you run the sample as-is?
If you modified the sample, can you tell us what you changed that causes the error?

1.There is no specific line throwing error
3.Yes ,this happen when am i rum sample code
4. No modification sample code

Thanks for the feedback. It sounds like the issue may not be with the sample itself, but potentially with the library. Can you please file a bug in the appropriate component of the Android Issue Tracker? It should be https://issuetracker.google.com/components/618491. Please include information about the specific device that you are seeing this on.

Closing after 30+ days of inactivity. Feel free to reopen if you are still encountering this issue.

This issue not resolved yet, i am also facing the same issue

Hello just in case someone like me is having this issue, I'm using a Nokia 6.1 only managed to have this code to work with the following camera2 version 'androidx.camera:camera-camera2:1.0.0-alpha03'
firebase-ml didn't seem to impact here.


feat(material/datepicker): added MatDatepickerBase to public-api.ts

Provided the ability to create own custom datepicker.
Fixes #29710

Closing since the same can be achieved using the MatDatepickerInput.


"Exclude Forks" Additional Filter gives a result still containing some forks

Description
I got from GHS a list of projects with at least 10 contributors, 100 stars, 1000 commits, and explicitly requested GHS to exclude forks with the filter checkbox in the UI.
When checking projects in the list, there are still some that are forks (9 out of about 12,000).
Replication
These are two projects that were in the list and that you can use to reproduce the bug.
If you search for them in GHS with Exclude Forks checked, they are returned, but if clicked, they clearly show as forks on GitHub (and are also forks according to the REST API):

anurodhp/VaxProj - GHS Original Name: anurodhp/monal - [example of renamed fork]
qaprosoft/carina - GHS Original Name: qaprosoft/carina - [example of non-renamed fork]

To replicate: just search for "quaprosoft" or "anurodhp" with Exclude Forks checked, they're returned, click the link to the repo on GitHub and see the "forked from:" at the top.
I included two examples because the anurodhp/VaxProj was renamed from anurodhp/monal, but qaprosoft/carina was not.
Both these projects had their last commit in 2021 (March and November respectively).
Other Info
Other projects I didn't manually check but that were marked as forks by my analysis (if you need more cases to investigate):

WorldDbs/lotus - GHS Original Name: worlddbs/lotus
iDevision/enhanced-discord.py - GHS Original Name: idevision/enhanced-discord.py
terraform-providers/terraform-provider-oci - GHS Original Name: terraform-providers/terraform-provider-oci
krassowski/jupyterlab-lsp - GHS Original Name: krassowski/jupyterlab-lsp
pliablepixels/zmNinja - GHS Original Name: pliablepixels/zmninja
bhj/Karaoke-Forever - GHS Original Name: bhj/karaoke-forever
sibirrer/lenstronomy - GHS Original Name: sibirrer/lenstronomy

The list might be outdated since I have old data already analyzed from which I am getting them, but the two examples I manually checked are definitely still exhibiting the problem.

The two example repositories also show stats in GHS that are different from the ones in the actual repo on GitHub.
Examples:

299 stars for anurodhp/monal in GHS vs. 1 star for anurodhp/VaxProj (possible reason for it not to be updated anymore <10 stars criterion).
Same for qaprosoft/carina, 570 stars according to GHS, 4 stars now in GitHub.

By the way, regarding the naming mismatches: GitHub does not discriminate casing in repository names. What I mean by this is that given a repository ghs by user @seart-group, the same user would not be able to create Ghs or GHS.
Example:

https://api.github.com/repos/seart-group/ghs
https://api.github.com/repos/seart-group/Ghs
https://api.github.com/repos/seart-group/GHS

All of these API links point to the same repository. My point is that there is no difference between the actual name and its lower-case variant. We used to keep all names in lowercase (due to a misunderstanding by one of the maintainers), but I have since changed it to be stored as is displayed in GitHub. As a result, you may still see some repositories that were not updated in a long time have a case mismatch in the stored and actual name. But I guess that this will also be rectified with the proposed "maintenance" job.

No issue with the names, indeed GitHub is case insensitive for repo names. I reported them as coming from my tool (didn't mean to imply a difference with the casing) to check if renames are possibly linked to the problem. The only rename example seems to be anurodhp/monal -> anurodhp/VaxProj. Added a note to the issue to clarify this.


Updated README.md with additional information - Initial PR

Please review and merge when there are no issues with this PR.

Applied thank you


IOException in TwitterStream app (v5.0.3)

I was trying to let my TwitterStream application run a longer time (overnight, so my Desktop PC switched into some kind of mode where the network connections are cut) while catching TwitterException and handling it. But there was an IOException I did not expect:
System.IO.IOException: The response ended prematurely.
   at Tweetinvi.Streams.StreamTask.RunStreamAsync()
   at Tweetinvi.Streams.StreamTask.StartAsync()
   at Tweetinvi.Streams.Helpers.StreamResultGenerator.StartAsync(Func`2 onJsonReceivedCallback, Func`1 createTwitterRequest)
   at Tweetinvi.Streams.Helpers.StreamResultGenerator.StartAsync(Action`1 onJsonReceivedCallback, Func`1 createTwitterRequest)
   at Tweetinvi.Streams.FilteredStream.StartMatchingAnyConditionAsync()
   at TwitterDotNet.LiveHashtagLogger.Run() in /a/b/c/d.cs:line 36
   at TwitterDotNet.Program.Main(String[] args) in /a/b/c/e.cs:line 27
Unhandled exception. System.IO.IOException: The response ended prematurely.
   at Tweetinvi.Streams.StreamTask.RunStreamAsync()
   at Tweetinvi.Streams.StreamTask.StartAsync()
   at Tweetinvi.Streams.Helpers.StreamResultGenerator.StartAsync(Func`2 onJsonReceivedCallback, Func`1 createTwitterRequest)
   at Tweetinvi.Streams.Helpers.StreamResultGenerator.StartAsync(Action`1 onJsonReceivedCallback, Func`1 createTwitterRequest)
   at Tweetinvi.Streams.FilteredStream.StartMatchingAnyConditionAsync()
   at a.b.Run() in /a/b/c/d.cs:line 36
   at a.Program.Main(String[] args) in /a/b/c/e.cs:line 27
   at a.Program.<Main>(String[] args)

Version Used:
5.0.3

Sorry for very late response. I will mark this as a bug and try to get a fix out.

Thank you for that. This is not actually a bug.
I will update the documentation to reflect this.

Yes, it is - thx for posting. Was researching this and an uncaught AuthException right now.

I have the same exception but I have an idea that may be help to solve the problem.
I have two webservices and one webservice is working on a domain name, and another is working on localhost on the same server. The global webservice calls some methods or an event is triggered from the localhost webservice.
After a call, exactly after 5 minutes later I get this exception and my app is shutting down.
Example 1:
after 5 minutes, this event is triggered
_streamV2.EventReceived += _streamV2_EventReceived;
https://i.imgur.com/x61yVd5.png
Example 2:
I call a method in my global API and the global API call a method in localhost API that is SearchTwitterUser. I get the result no problem but after 5 minutes later, the app is shutting down..
PS: this log is from localhost API.
https://i.imgur.com/lclwbxX.png
My conclusion: when a request comes or an event is triggered, somehow it affects Stream Listener task and an exception occurs..
Hope it helps and you solve it as soon as possible :))
Thank you

Are you sure it's not a bug when it throws in StreamResultGenerator.StartAsync which doesn't go through StreamStopped?
It would be nice if docs had a correct example of how to handle disconnections/exceptions so you can have reliable stream.

I also experienced this today. I saw in the post previously that documentation will be updated about this but I did not find anything. Running version 5.0.4
System.IO.IOException
HResult=0x80131620
Message=The response ended prematurely.
Source=Tweetinvi.Streams
StackTrace:
at Tweetinvi.Streams.StreamTask.d__25.MoveNext()
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Tweetinvi.Streams.StreamTask.d__24.MoveNext()
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Tweetinvi.Streams.Helpers.StreamResultGenerator.d__24.MoveNext()
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Tweetinvi.Streams.Helpers.StreamResultGenerator.d__23.MoveNext()
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Tweetinvi.Streams.FilteredStream.d__20.MoveNext()
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.GetResult()
at TwitterApi.Program.d__0.MoveNext() in C:\Users\dkony\source\TwitterApi\Program.cs:line 97

Same problem. It's not tweeinvi problem
As far as I can see from the tcp connection logs, the break comes from the Twitter API side.
schannel: client wants to read 102400 bytes
schannel: encrypted data buffer: offset 0 length 103424
schannel: encrypted data got 31
schannel: encrypted data buffer: offset 31 length 103424
schannel: server closed the connection
schannel: schannel_recv cleanup
transfer closed with outstanding read data remaining
Closing connection 0
schannel: shutting down SSL/TLS connection with api twitter com port 443
schannel: clear security context handle
curl: (18) transfer closed with outstanding read data remaining

10:53:08.227497 IP <IP_ADDRESS>.443 > xx.xx.54.10.46102: Flags [P.], seq 12099:12135, ack 1733, win 271, options [nop,nop,TS val<PHONE_NUMBER> ecr<PHONE_NUMBER>], length 36
10:53:08.227586 IP xx.xx.54.10.46102 > <IP_ADDRESS>.443: Flags [.], ack 12135, win 501, options [nop,nop,TS val<PHONE_NUMBER> ecr<PHONE_NUMBER>], length 0

10:53:28.237228 IP <IP_ADDRESS>.443 > xx.xx.54.10.46102: Flags [P.], seq 12135:12171, ack 1733, win 271, options [nop,nop,TS val<PHONE_NUMBER> ecr<PHONE_NUMBER>], length 36
10:53:28.237302 IP xx.xx.54.10.46102 > <IP_ADDRESS>.443: Flags [.], ack 12171, win 501, options [nop,nop,TS val<PHONE_NUMBER> ecr<PHONE_NUMBER>], length 0

10:53:48.836734 IP <IP_ADDRESS>.443 > xx.xx.54.10.46102: Flags [P.], seq 12171:12202, ack 1733, win 271, options [nop,nop,TS val<PHONE_NUMBER> ecr<PHONE_NUMBER>], length 31
10:53:48.836734 IP <IP_ADDRESS>.443 > xx.xx.54.10.46102: Flags [F.], seq 12202, ack 1733, win 271, options [nop,nop,TS val<PHONE_NUMBER> ecr<PHONE_NUMBER>], length 0

after random time, anout 1-4 minutes server send TCP Fin packet and closing connection.

I have wrapped the stream call in do/while loop. This works for me.
do
{
try
{
await stream.StartMatchingAnyConditionAsync();
}
catch (Exception e)
{
_logger.LogError($"Error during stream: {e.Message}");
}
} while (true);

yes, until you catch ~50 times "too many connections" with a few seconds
{"title":"ConnectionException","detail":"This stream is currently at the maximum allowed connection limit.","connection_issue":"TooManyConnections","type":"https://api.twitter.com/2/problems/streaming-connection"}

, and after that "Rate limit exceeded"
< x-rate-limit-limit: 50
< x-rate-limit-reset:<PHONE_NUMBER>
< x-content-type-options: nosniff
< x-rate-limit-remaining: 0

My code: https://github.com/xPaw/TwitterToWebhook/blob/917f2541afdba93a6c22262b54bfa744df5d9ce1/TwitterToWebhook/TwitterStreaming.cs#L80
It worked on v4, I just changed it to use await/async.

Very bad idea use thread.sleep in async method 🤦🏻♂Use await task.delay() instead of sleep(blocking thread)

You should also be able to catch it with.
EndOfStreamException

You should also be able to catch it with.
EndOfStreamException
Then stop and restart the Stream.

No matter.  the problems started on 12.05.2021. I am catching all exceptions, but i can do nothing with “too many connections” at twi api after connection lost.

I also experienced this today. I saw in the post previously that documentation will be updated about this but I did not find anything. Running version 5.0.4
System.IO.IOException
HResult=0x80131620
Message=The response ended prematurely.
Source=Tweetinvi.Streams
StackTrace:
at Tweetinvi.Streams.StreamTask.d__25.MoveNext()
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Tweetinvi.Streams.StreamTask.d__24.MoveNext()
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Tweetinvi.Streams.Helpers.StreamResultGenerator.d__24.MoveNext()
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Tweetinvi.Streams.Helpers.StreamResultGenerator.d__23.MoveNext()
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Tweetinvi.Streams.FilteredStream.d__20.MoveNext()
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.GetResult()

Same, it is still there @linvi

Thanks for the info. I might find some time to look into this in 2 weeks from now.


How do I get quantitative results after testing on the DAVIS 2016 dataset?

Hi, how do I get quantitative results after testing on the DAVIS 2016 dataset?

Use the official code: https://davischallenge.org/davis2016/code.html

Use the official code: https://davischallenge.org/davis2016/code.html

Ok,thanks!


SDK-280 - java does not serialize/deserialize anything with a hyphen …

…(-) or anything with a capitalized field name

This change is

Reviewed 3 of 3 files at r1.
Review status: all files reviewed at latest revision, all discussions resolved.

Comments from Reviewable


Feature Request: add username header

n proxy mode we can specify a header that will be filled with the validated email address from the JWT token. The value will only contain the email address, eg<EMAIL_ADDRESS>gcp-iap-auth --audiences=YOUR_AUDIENCE --backend=http://localhost:8080 --email-header=X-WEBAUTH-USER

Can we have another header just to provide username? eg: name from<EMAIL_ADDRESS>using --name-header=X-WEBAUTH-NAME

Something like this but with a different header name.

A better feature request would be to have the injected headers customizable using JMESPath like Grafana did in its jwt auth. This will make injected response headers (when running gcp-iap-auth in server mode for nginx auth_request) and request headers (when running in reverse proxy mode) use anything from the jwt token as value.


Inputs and display refactoring

Renamed LiquidCrystalI2CAdapter into LiquidCrystal_I2CAdapter to match wrapped class LiquidCrystal_I2C.
Don't create LCD instance inside adapter, just wrap existing, so calling code owns the implementation of LCD.
Regarding #45 if intance will be created outside, we can hide implementation.

Don't understand why this PR contains changes from revious one...

Because you didn't update your branch (merge changes from forntoh:feature/move-control-to-items into your forked branch

Thanks, handled.

I would also renamed directory interface into display, if you don't mind.

I have rebased your branch, it now only has 2 commits instead of 31 as before

History is messed up again 😃, next time, pull and rebase your local branch, or just merge from remote, doing a normal pull will mess up the history (for this specific branch)
Also, for future PRs, don't use the same base branch ShishkinDmitriy:move-logic-to-items, create a new one for every feature, the issue you faced with unknown commits won't happen again.
I will rebase to elliminate the duplicate commits.
[Delete your local branch first then check out the remote branch after]


Remove u-flex and u-inlineFlex

After thinking about it and chatting to @timkelty it makes more sense for these rules to exists in util-flex so they can be scoped to media queries - https://gitter.im/suitcss/suit?at=5649db0110f6aea94fddc7e3
Plus it saves installing two packages to use flexbox

Fixed in https://github.com/suitcss/utils-display/commit/5479a557f2d46cd6551fe38eee67b788a42bfbb0


options.html adaptivity issue

When options page is less than 768px wide most of "options" button is unclickable.

768px

767px
Apparently
...
 is obstructing it. Also if you open and close configuration of any connector "options" is no longer obstructed.

When using the responsive mode of chrome dev tools I am unable to reproduce this issue. Anyone else able to confirm?


C-u SPC should stop marking after a copy

C-u SPC, C-n, Cmd-C -- I should not have to C-g out now. When I copy something, I intend to go somewhere and paste it, not continue selecting text.

Hi @artagnon
alt-w should do what you're after.
I'm inclined to leave cmd-c alone as this behavior is more consistent with other mac applications where cmd-c does not alter the selection. Of course, you can always bind the alt-w command (atomic-emacs:copy) if you'd prefer cmd-c to behave this way.

Thanks, I understand the rationale, and will opt to override Cmd-C for myself.


ci: fix build with autoware

Description

Fix CI (build_with_autoware) failure
Use the current version (branch) of CARET instead of main branch
(Fix  pre-commit-optional , broken link)

Related links

Before (failed): https://github.com/tier4/caret/actions/runs/4306007450
After (passed): https://github.com/tier4/caret/actions/runs/4311911216

Notes for reviewers
None
Pre-review checklist for the PR author

[x] I've confirmed the contribution guidelines.
[x] The PR is ready for review.

In-review checklist for the PR reviewers
The PR reviewers must check the checkboxes below before approval.

[ ] The PR has been properly tested.
[ ] The PR has been reviewed.

Post-review checklist for the PR author
The PR author must check the checkboxes below before merging.

[ ] (Optional) The PR has been properly tested with CARET_report verification.
[ ] There are no open discussions or they are tracked via tickets.
[ ] The PR is ready for merge.

After all checkboxes are checked, anyone who has write access can merge the PR.

@takam5f2
Could you review this PR?


Android on emulator loads infinitely

I wanted to try nanoscope on emulator, installed it from Homebrew, launched the emulator with nanoscope emulator but the emulator never finished launching. Unfortunately, I don't know what information I need to provide so you can reproduce this issue.

I've had one other report of this internally. Can you paste both the output of the terminal command and the logcat output (if any)?

Seems Android compiles some classes but does it very slowly. I'll try to wait for 12 hours or so. Maybe it'll finish.
logcat.log
output.log

Looks like it's due HAXM not loading:
HAXM is not working and emulator runs in emulation mode

This will cause the emulator to run much slower. Do you have HAXM installed?

Yes, I have it installed and emulators from Android SDK work just fine. I waited for a little longer and it seems Android entered some kind of a boot-loop.
logcat.log

Ok, I'll try to take a look at this more but it may not be for a couple weeks since I'm on vacation. My guess is that this is due to HAXM not loading, so if you can solve that then it may fix the issue. Found this after a brief search - hopefully helpful.

Seems I managed to load the emulator with HAXM support by manually loading HAXM kext with sudo kextload -b com.intel.kext.intelhaxm. I ran this command, then allowed loading the extension in System Preferences -> Security & Privacy, and then ran the same command again. Now nanoscope emulator prints the following lines:
emulator: CPU Acceleration: working
emulator: CPU Acceleration status: HAXM version 7.1.0 (4) is installed and usable.

Add the emulator even managed to load Android but it took quite a long time comparing to default emulators from Android SDK.

I encounter the same problem, also installed HAXM from Android Studio and manually, but neither work.

Finally solve this problem, I tried those steps one by one, but I don't know which one really works.

kill all adb service, then restart, try again.
Restart Mac, try again.
Uninstall HAXM, then re-install, set the RAM to recommended size(2GB for me), restart Mac, try again.

The booting of emulator takes several minutes (5-10 mins for me).

The booting of emulator takes several minutes (5-10 mins for me).

@CheerS17 That seems like a long time for a HAXM emulator. Are you sure HAXM successfully loads? Mind pasting the logs from the nanoscope emulator command here?

I think so, I can see this log: emulator:

Adding boot property: 'ro.opengles.version' = '131072' HAXM is working and emulator runs in fast virt mode.

here are all outputs after typing nanoscope emulator.
Zip already downloaded: /Users/majunqi0102/.nanoscope/roms/c1sEHfsSLhstgkhc6EcnQQ==...
Launching emulator...
emulator: autoconfig: -vendor ./vendor.img
emulator: autoconfig: -datadir .
emulator: Read property file at ./system/build.prop
emulator: Cannot find boot properties file: ./boot.prop
emulator: Found target API sdkVersion: 25
emulator: Invalid int property: 'ro.build.version.incremental:eng.leland.20180507.124526'
emulator: virtual device config file: ./config.ini
emulator: using core hw config path: ./hardware-qemu.ini
emulator: Warning: config.ini contains invalid skin.path entry: (null)
emulator: Target arch = 'x86'
emulator: Auto-config: -qemu -cpu qemu32
emulator: Auto-detect: Kernel image requires legacy device naming scheme.
emulator: Auto-detect: Kernel does not support YAFFS2 partitions.
emulator: Using initial system image: ./system.img
emulator: Using initial vendor image: ./vendor.img
emulator: autoconfig: -initdata ./userdata.img
emulator: autoconfig: -cache ./cache.img
emulator: autoconfig: -sdcard ./system.img
emulator: Physical RAM size: 1024MB
emulator: System image is read only
emulator: Found 4 DNS servers: <IP_ADDRESS> <IP_ADDRESS> <IP_ADDRESS> <IP_ADDRESS>
emulator: trying to load skin file '/Users/majunqi0102/Library/Android/sdk/skins/pixel/layout'
emulator: GPU emulation enabled using 'host' mode
emulator: Initializing hardware OpenGLES emulation support
emulator: Found 4 DNS servers: <IP_ADDRESS> <IP_ADDRESS> <IP_ADDRESS> <IP_ADDRESS>
emulator: WARNING: Classic qemu does not support SMP. The hw.cpu.ncore option from your config file is ignored.
Content of hardware configuration file:
hw.cpu.arch = x86
hw.cpu.model = qemu32
hw.cpu.ncore = 4
hw.ramSize = 1024
hw.screen = multi-touch
hw.mainKeys = false
hw.trackBall = false
hw.keyboard = true
hw.keyboard.lid = false
hw.keyboard.charmap = qwerty2
hw.dPad = false
hw.rotaryInput = false
hw.gsmModem = true
hw.gps = true
hw.battery = true
hw.accelerometer = true
hw.gyroscope = true
hw.audioInput = true
hw.audioOutput = true
hw.sdCard = true
hw.sdCard.path = ./system.img
disk.cachePartition = true
disk.cachePartition.path = ./cache.img
disk.cachePartition.size = 66m
hw.lcd.width = 1080
hw.lcd.height = 1920
hw.lcd.depth = 16
hw.lcd.density = 480
hw.lcd.backlight = true
hw.gpu.enabled = true
hw.gpu.mode = host
hw.gpu.blacklisted = no
hw.initialOrientation = Portrait
hw.camera.back = emulated
hw.camera.front = emulated
vm.heapSize = 256
hw.sensors.light = true
hw.sensors.pressure = true
hw.sensors.humidity = true
hw.sensors.proximity = true
hw.sensors.magnetic_field = true
hw.sensors.magnetic_field_uncalibrated = true
hw.sensors.gyroscope_uncalibrated = true
hw.sensors.orientation = true
hw.sensors.temperature = true
hw.useext4 = true
kernel.path = /Users/majunqi0102/Library/Android/sdk/system-images/android-25/google_apis/x86/kernel-qemu
kernel.newDeviceNaming = no
kernel.supportsYaffs2 = no
disk.ramdisk.path = ./ramdisk.img
disk.systemPartition.initPath = ./system.img
disk.systemPartition.size = 2056m
disk.vendorPartition.initPath = ./vendor.img
disk.vendorPartition.size = 2056m
disk.dataPartition.path = ././userdata.img
disk.dataPartition.size = 2056m
PlayStore.enabled = false
avd.name =
.
emulator: CPU Acceleration: working
emulator: CPU Acceleration status: HAXM version 7.2.0 (4) is installed and usable.
emulator: checking cpu acceleration from main qemu params
QEMU options list:
emulator: argv[00] = "/Users/majunqi0102/Library/Android/sdk/emulator/emulator64-x86"
emulator: argv[01] = "-dns-server"
emulator: argv[02] = "<IP_ADDRESS>,<IP_ADDRESS>,<IP_ADDRESS>,<IP_ADDRESS>"
emulator: argv[03] = "-serial"
emulator: argv[04] = "null"
emulator: argv[05] = "-serial"
emulator: argv[06] = "null"
emulator: argv[07] = "-enable-hax"
emulator: argv[08] = "-android-hw"
emulator: argv[09] = "./hardware-qemu.ini"
emulator: argv[10] = "-append"
emulator: argv[11] = "qemu=1 androidboot.hardware=goldfish clocksource=pit android.qemud=1 console=0 android.checkjni=1 qemu.gles=1 qemu.opengles.version=131072 ndns=4"
Concatenated QEMU options:
/Users/majunqi0102/Library/Android/sdk/emulator/emulator64-x86 -dns-server <IP_ADDRESS>,<IP_ADDRESS>,<IP_ADDRESS>,<IP_ADDRESS> -serial null -serial null -enable-hax -android-hw ./hardware-qemu.ini -append 'qemu=1 androidboot.hardware=goldfish clocksource=pit android.qemud=1 console=0 android.checkjni=1 qemu.gles=1 qemu.opengles.version=131072 ndns=4'
emulator: Warning: config.ini contains invalid skin.path entry: (null)
emulator: Starting QEMU main loop
emulator: registered 'boot-properties' qemud service
emulator: Using kernel serial device prefix: ttyS
emulator: AVD Name:
emulator: Ramdisk image contains fstab.goldfish file
emulator: Found format of system partition: 'ext4'
emulator: Could not extract format of vendor partition!
emulator: Found format of userdata partition: 'ext4'
emulator: Found format of cache partition: 'ext4'
emulator: system partition format: ext4
emulator: nand_add_dev: system,size=0x80800000,file=./system.img,pagesize=512,extrasize=0,readonly
emulator: userdata partition format: ext4
emulator: nand_add_dev: userdata,size=0x80800000,file=././userdata.img,pagesize=512,extrasize=0
emulator: cache partition format: ext4
emulator: nand_add_dev: cache,size=0x4200000,file=./cache.img,pagesize=512,extrasize=0
emulator: Adding boot property: 'dalvik.vm.heapsize' = '256m'
emulator: Adding boot property: 'qemu.sf.lcd_density' = '480'
emulator: Adding boot property: 'qemu.hw.mainkeys' = '0'
emulator: Adding boot property: 'qemu.sf.fake_camera' = 'both'
emulator: Found 4 DNS servers: <IP_ADDRESS> <IP_ADDRESS> <IP_ADDRESS> <IP_ADDRESS>
emulator: Adding boot property: 'ro.opengles.version' = '131072'
HAXM is working and emulator runs in fast virt mode
emulator: Kernel parameters: qemu=1 androidboot.hardware=goldfish clocksource=pit android.qemud=1 console=0 android.checkjni=1 qemu.gles=1 qemu.opengles.version=131072 ndns=4
emulator:     trying to find: /Users/majunqi0102/Library/Android/sdk/emulator/bios.bin
emulator:     trying to find: /Users/majunqi0102/Library/Android/sdk/emulator/lib/pc-bios/bios.bin
emulator:     trying to find: /Users/majunqi0102/Library/Android/sdk/emulator/vgabios-cirrus.bin
emulator:     trying to find: /Users/majunqi0102/Library/Android/sdk/emulator/lib/pc-bios/vgabios-cirrus.bin
emulator: control console listening on port 5554, ADB on port 5555
Not using any http proxy
emulator: android_hw_fingerprint_init: fingerprint qemud listen service initialized
emulator: onGuestSendCommand: [0x7f8394610fa0] Adb connected, start proxing data
emulator: ### WARNING: /etc/localtime does not point to /usr/share/zoneinfo/, can't determine zoneinfo timezone name
emulator: onGuestClose: [0x7f8394610fa0] Adb closed by guest
emulator: onGuestClose: [0x7f839c800dd0] Adb closed by guest
emulator: onGuestSendCommand: [0x7f8399df6b10] Adb connected, start proxing data
emulator: onGuestRecvData: [0x7f8399df6b10] Adb closed by host
emulator: onGuestClose: [0x7f8399df6b10] Adb closed by guest
emulator: onGuestSendCommand: [0x7f839c800dd0] Adb connected, start proxing data

I think so, I can see this log: emulator:

Adding boot property: 'ro.opengles.version' = '131072' HAXM is working and emulator runs in fast virt mode.

here are all outputs after typing nanoscope emulator.
Launching emulator...
emulator: autoconfig: -vendor ./vendor.img
emulator: autoconfig: -datadir .
emulator: Read property file at ./system/build.prop
emulator: Cannot find boot properties file: ./boot.prop
emulator: Found target API sdkVersion: 25
emulator: Invalid int property: 'ro.build.version.incremental:eng.leland.20180507.124526'
emulator: virtual device config file: ./config.ini
emulator: using core hw config path: ./hardware-qemu.ini
emulator: Warning: config.ini contains invalid skin.path entry: (null)
emulator: Target arch = 'x86'
emulator: Auto-config: -qemu -cpu qemu32
emulator: Auto-detect: Kernel image requires legacy device naming scheme.
emulator: Auto-detect: Kernel does not support YAFFS2 partitions.
emulator: Using initial system image: ./system.img
emulator: Using initial vendor image: ./vendor.img
emulator: autoconfig: -initdata ./userdata.img
emulator: autoconfig: -cache ./cache.img
emulator: autoconfig: -sdcard ./system.img
emulator: Physical RAM size: 1024MB
emulator: System image is read only
emulator: Found 4 DNS servers: <IP_ADDRESS> <IP_ADDRESS> <IP_ADDRESS> <IP_ADDRESS>
emulator: trying to load skin file '~/Library/Android/sdk/skins/pixel/layout'
emulator: GPU emulation enabled using 'host' mode
emulator: Initializing hardware OpenGLES emulation support
emulator: Found 4 DNS servers: <IP_ADDRESS> <IP_ADDRESS> <IP_ADDRESS> <IP_ADDRESS>
emulator: WARNING: Classic qemu does not support SMP. The hw.cpu.ncore option from your config file is ignored.
Content of hardware configuration file:
hw.cpu.arch = x86
hw.cpu.model = qemu32
hw.cpu.ncore = 4
hw.ramSize = 1024
hw.screen = multi-touch
hw.mainKeys = false
hw.trackBall = false
hw.keyboard = true
hw.keyboard.lid = false
hw.keyboard.charmap = qwerty2
hw.dPad = false
hw.rotaryInput = false
hw.gsmModem = true
hw.gps = true
hw.battery = true
hw.accelerometer = true
hw.gyroscope = true
hw.audioInput = true
hw.audioOutput = true
hw.sdCard = true
hw.sdCard.path = ./system.img
disk.cachePartition = true
disk.cachePartition.path = ./cache.img
disk.cachePartition.size = 66m
hw.lcd.width = 1080
hw.lcd.height = 1920
hw.lcd.depth = 16
hw.lcd.density = 480
hw.lcd.backlight = true
hw.gpu.enabled = true
hw.gpu.mode = host
hw.gpu.blacklisted = no
hw.initialOrientation = Portrait
hw.camera.back = emulated
hw.camera.front = emulated
vm.heapSize = 256
hw.sensors.light = true
hw.sensors.pressure = true
hw.sensors.humidity = true
hw.sensors.proximity = true
hw.sensors.magnetic_field = true
hw.sensors.magnetic_field_uncalibrated = true
hw.sensors.gyroscope_uncalibrated = true
hw.sensors.orientation = true
hw.sensors.temperature = true
hw.useext4 = true
kernel.path = ~/Library/Android/sdk/system-images/android-25/google_apis/x86/kernel-qemu
kernel.newDeviceNaming = no
kernel.supportsYaffs2 = no
disk.ramdisk.path = ./ramdisk.img
disk.systemPartition.initPath = ./system.img
disk.systemPartition.size = 2056m
disk.vendorPartition.initPath = ./vendor.img
disk.vendorPartition.size = 2056m
disk.dataPartition.path = ././userdata.img
disk.dataPartition.size = 2056m
PlayStore.enabled = false
avd.name =
.
emulator: CPU Acceleration: working
emulator: CPU Acceleration status: HAXM version 7.2.0 (4) is installed and usable.
emulator: checking cpu acceleration from main qemu params
QEMU options list:
emulator: argv[00] = "~/Library/Android/sdk/emulator/emulator64-x86"
emulator: argv[01] = "-dns-server"
emulator: argv[02] = "<IP_ADDRESS>,<IP_ADDRESS>,<IP_ADDRESS>,<IP_ADDRESS>"
emulator: argv[03] = "-serial"
emulator: argv[04] = "null"
emulator: argv[05] = "-serial"
emulator: argv[06] = "null"
emulator: argv[07] = "-enable-hax"
emulator: argv[08] = "-android-hw"
emulator: argv[09] = "./hardware-qemu.ini"
emulator: argv[10] = "-append"
emulator: argv[11] = "qemu=1 androidboot.hardware=goldfish clocksource=pit android.qemud=1 console=0 android.checkjni=1 qemu.gles=1 qemu.opengles.version=131072 ndns=4"
Concatenated QEMU options:
~/Library/Android/sdk/emulator/emulator64-x86 -dns-server <IP_ADDRESS>,<IP_ADDRESS>,<IP_ADDRESS>,<IP_ADDRESS> -serial null -serial null -enable-hax -android-hw ./hardware-qemu.ini -append 'qemu=1 androidboot.hardware=goldfish clocksource=pit android.qemud=1 console=0 android.checkjni=1 qemu.gles=1 qemu.opengles.version=131072 ndns=4'
emulator: Warning: config.ini contains invalid skin.path entry: (null)
emulator: Starting QEMU main loop
emulator: registered 'boot-properties' qemud service
emulator: Using kernel serial device prefix: ttyS
emulator: AVD Name:
emulator: Ramdisk image contains fstab.goldfish file
emulator: Found format of system partition: 'ext4'
emulator: Could not extract format of vendor partition!
emulator: Found format of userdata partition: 'ext4'
emulator: Found format of cache partition: 'ext4'
emulator: system partition format: ext4
emulator: nand_add_dev: system,size=0x80800000,file=./system.img,pagesize=512,extrasize=0,readonly
emulator: userdata partition format: ext4
emulator: nand_add_dev: userdata,size=0x80800000,file=././userdata.img,pagesize=512,extrasize=0
emulator: cache partition format: ext4
emulator: nand_add_dev: cache,size=0x4200000,file=./cache.img,pagesize=512,extrasize=0
emulator: Adding boot property: 'dalvik.vm.heapsize' = '256m'
emulator: Adding boot property: 'qemu.sf.lcd_density' = '480'
emulator: Adding boot property: 'qemu.hw.mainkeys' = '0'
emulator: Adding boot property: 'qemu.sf.fake_camera' = 'both'
emulator: Found 4 DNS servers: <IP_ADDRESS> <IP_ADDRESS> <IP_ADDRESS> <IP_ADDRESS>
emulator: Adding boot property: 'ro.opengles.version' = '131072'
HAXM is working and emulator runs in fast virt mode
emulator: Kernel parameters: qemu=1 androidboot.hardware=goldfish clocksource=pit android.qemud=1 console=0 android.checkjni=1 qemu.gles=1 qemu.opengles.version=131072 ndns=4
emulator:     trying to find: ~/Library/Android/sdk/emulator/bios.bin
emulator:     trying to find: ~/Library/Android/sdk/emulator/lib/pc-bios/bios.bin
emulator:     trying to find: ~/Library/Android/sdk/emulator/vgabios-cirrus.bin
emulator:     trying to find: ~/Library/Android/sdk/emulator/lib/pc-bios/vgabios-cirrus.bin
emulator: control console listening on port 5554, ADB on port 5555
Not using any http proxy
emulator: android_hw_fingerprint_init: fingerprint qemud listen service initialized
emulator: onGuestSendCommand: [0x7f8394610fa0] Adb connected, start proxing data
emulator: ### WARNING: /etc/localtime does not point to /usr/share/zoneinfo/, can't determine zoneinfo timezone name
emulator: onGuestClose: [0x7f8394610fa0] Adb closed by guest
emulator: onGuestClose: [0x7f839c800dd0] Adb closed by guest
emulator: onGuestSendCommand: [0x7f8399df6b10] Adb connected, start proxing data
emulator: onGuestRecvData: [0x7f8399df6b10] Adb closed by host
emulator: onGuestClose: [0x7f8399df6b10] Adb closed by guest
emulator: onGuestSendCommand: [0x7f839c800dd0] Adb connected, start proxing data

I am also facing the same issue . Is this issue fixed?

The same for me and when i use haxm i am getting emulator: Trying to vcpu execute at eip:
in an infinite loop. In the end an emulator silently fails.

@warabei14 Trying to reinstall the HXAM, the first time it may take a long time to load the emulator, but it will be faster for the following loadings.

Looking at emulator: Warning: config.ini contains invalid skin.path entry: (null), try with -no-skin. That might fix the issue.

This issue in the Google bug tracker might be helpful.

The latest version of Nanoscope creates a proper AVD with the nanoscope emulator command. Please update to the latest version brew upgrade nanoscope and re-open if this doesn't fix your issue.


Add usage note about COPY

I'm wondering if this belongs in the scaling data ingest section, or in each individual data-loading section for each partition method. (e.g.: https://www.citusdata.com/docs/citus/5.1/dist_tables/append_distribution.html#data-loading)

Good point, the scaling ingest section is a little out of the way for this kind of note. I moved it to the hash distribution insert section and duplicated in the append distribution insert section as well.


Transform block size RDO for Intra block.

Prerequisite: #222.

Expect large amount of debugging time due to the top and left contexts for transform block sizes.
Even if tx-domain distortion is used if there exist multiple # of tx blocks in a partition, reconstructed pixels are required for each intra block (i.e tx block) thus inverse_tx() should be called.

For the record, there are two sizes now tested for intra blocks (i.e. the max transform size for the given block size, and the one below it).

Precisely, there are three sizes being tested, i.e. three levels: 1) no partition, 2) partition once, 2) partition twice.
https://github.com/xiph/rav1e/blob/c68d68c6fa80dabf5e4ed9b379f090572eb43d96/src/rdo.rs#L373


Clarify Link Obj parameters as best we can (3.0.4)

Fixes:

#3276

This acknowledges the ambiguity in the key and value syntax of the Link Object's parameter field, and provides a bit of guidance on how to implement it.  Sadly it is not possible to fully solve in a point release.

@ralfhandl @lornajane @darrelmiller I have substantially condensed this PR based on this morning's TDC call - the new text should get the essentials across and be more clear.


Override default margin for paragraphs

In mjml-lib.js, the margin is set to 13px for all p tags. How do we override it? If any code examples are available, please share.

Any mj-style in mj-head should override this
https://mjml.io/try-it-live/QYd9gCeLe
On Mon, Nov 21, 2022 at 10:38 PM Kiran Vedantam @.***>
wrote:

In mjml-lib.js, the margin is set to 13px for all p tags. How do we
override it? If any code examples are available, please share.
[image: image]
https://user-images.githubusercontent.com/52167315/203163077-42bf338a-6d43-4a4f-af65-45dd9284e2a1.png
—
Reply to this email directly, view it on GitHub
https://github.com/mjmlio/mjml/issues/2581, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAELHTLD4MVQDRIDUNYWW23WJPTWXANCNFSM6AAAAAASHCYFFE
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

For some reason, it's not working. FYI: We have integrated MJML with AEM

As it works in the try it live, the issue is on your side. Can't really
help you more here.
On Mon, Nov 21, 2022 at 11:17 PM Kiran Vedantam @.***>
wrote:

For some reason, it's not working. FYI: We have integrated MJML with AEM
[image: image]
https://user-images.githubusercontent.com/52167315/203168980-0ff7d261-303c-4afe-934a-57e07131c36a.png
—
Reply to this email directly, view it on GitHub
https://github.com/mjmlio/mjml/issues/2581#issuecomment-1322723345, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AAELHTJCMI523IMTZ7K2NU3WJPYIDANCNFSM6AAAAAASHCYFFE
.
You are receiving this because you commented.Message ID:
@.***>

We manged to fix this by adding the style tag after the head tag


Blurry results on retina display.

The renderer pixelRatio property gets ignored when setting the size of the THREE.WebGLRenderTarget. This results in a write and read buffer that's 1/4 the size (pixelRatio = 2) of the canvas which means the rendered result gets upscaled and will look blurry on screens with a higher pixelRatio. You can fix  this by multiplying the width and height with the pixelRatio when setting the size of the THREE.WebGLRenderTarget.
const pixelRatio = this.renderer.getPixelRatio();
new THREE.WebGLRenderTarget(size.width * pixelRatio, size.height * pixelRatio, ...

I can send a pr when I find some time.
:)

Hi,
thanks for the issue report!
I'm currently fully invested in another project, but I'm planning on revising a lot of the code in this repository when I finally have more time.
Feel free to send a PR, I'll take a look at it if time permits 😅

Just a heads up, this issue might be fixed by now! I didn't get to test it, though.

Closing this since the problem seems to be solved.


Fails to install in R 3.4.3

I used biocLite("ggcyto") but the install exits with non-zero exit status. I'm on a Mac.
Warning messages:
1: In install.packages(pkgs = doing, lib = lib, ...) :
installation of package ‘RProtoBufLib’ had non-zero exit status
2: In install.packages(pkgs = doing, lib = lib, ...) :
installation of package ‘cytolib’ had non-zero exit status
3: In install.packages(pkgs = doing, lib = lib, ...) :
installation of package ‘flowWorkspace’ had non-zero exit status
When I use install.packages("ggcyto"), I get the error message
Warning in install.packages :
package ‘ggcyto’ is not available (for R version 3.4.3)
Please advise which version of R I should be using this in.

It does not fail to install on R 3.4.3:

Let's try that again:
It does not fail on R 3.4.3 in general:
> library(BiocInstaller);biocLite("ggcyto")
Bioconductor version 3.6 (BiocInstaller 1.28.0), ?biocLite for help
BioC_mirror: https://bioconductor.org
Using Bioconductor 3.6 (BiocInstaller 1.28.0), R 3.4.3 (2017-11-30).
Installing package(s) ‘ggcyto’
trying URL 'https://bioconductor.org/packages/3.6/bioc/src/contrib/ggcyto_1.6.1.tar.gz'
Content type 'application/x-gzip' length 11220197 bytes (10.7 MB)
==================================================
downloaded 10.7 MB

* installing *source* package ‘ggcyto’ ...
** R
** inst
** preparing package for lazy loading
Creating a generic function for ‘%+%’ from package ‘ggplot2’ in package ‘ggcyto’
** help
*** installing help indices
** building package indices
** installing vignettes
** testing if installed package can be loaded
* DONE (ggcyto)
> version
               _
platform       x86_64-apple-darwin16.7.0
arch           x86_64
os             darwin16.7.0
system         x86_64, darwin16.7.0
status
major          3
minor          4.3
year           2017
month          11
day            30
svn rev        73796
language       R
version.string R version 3.4.3 (2017-11-30)
nickname       Kite-Eating Tree

You are getting errors from upstream packages. Check those first.


Add API-connection

API:
Input: board data
Output: solution (path)

You could implement a graceful shut down functionality.
Have a look at: https://link.medium.com/zKhrM5vxpub


encountered a dart analysis server error

Analyzer Feedback from IntelliJ
Version information

IDEA AI-191.8<IP_ADDRESS>10548
2.7.0-dev.2.1
AI-191.8<IP_ADDRESS>10548, JRE 1.8.0_202-release-1483-b03x64 JetBrains s.r.o, OS Windows 10(amd64) v10.0 , screens 1920x1080

Exception
Dart analysis server, SDK version 2.7.0-dev.2.1, server version 1.27.4, FATAL error: NoSuchMethodError: The getter 'isEof' was called on null.
Receiver: null
Tried calling: isEof
#0      Driver._captureExceptions.errorFunction (package:analysis_server/src/server/driver.dart:723:7)
#1      _CustomZone.handleUncaughtError (dart:async/zone.dart:1005:19)
#2      _CustomZone.runGuarded (dart:async/zone.dart:927:7)
#3      _CustomZone.bindCallbackGuarded.<anonymous closure> (dart:async/zone.dart:965:23)
#4      _microtaskLoop (dart:async/schedule_microtask.dart:43:21)
#5      _startMicrotaskLoop (dart:async/schedule_microtask.dart:52:5)
#6      _Timer._runTimers (dart:isolate-patch/timer_impl.dart:393:30)
#7      _Timer._handleMessage (dart:isolate-patch/timer_impl.dart:418:5)
#8      _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:174:12)

For additional log information, please append the contents of
file://C:\Users\GHT_004\AppData\Local\Temp\report3.txt.

This being reported recently, in Dart 2.8.2.

Thanks for opening this issue! A duplicate issue was opened at https://github.com/dart-lang/sdk/issues/41658; while this issue is older, the other has more clues. Please follow along there.

Duplicate of #41658


Blake2-256 or 512 ?

I have a question about Address Encoding. Wiki shows that the checksum uses Blake2-256 algorithm, while polkadot-js is using Blake2-512. So, is the wiki wrong?

https://github.com/paritytech/substrate/wiki/External-Address-Format-(SS58)
https://github.com/polkadot-js/common/blob/f07d66562b09e4ddb8ec31f51f354d1c07d44212/packages/util-crypto/src/address/sshash.ts

64 byte output (512 bits), also see https://github.com/paritytech/substrate/blob/master/primitives/core/src/crypto.rs#L305

@jacogr So is the document page required to be corrected?

No, as @jacogr it is the length of the output!


Add Diaphora

OpenSource IDA Plugin to perform binary diffing - https://github.com/joxeankoret/diaphora

Thank you for your feedback! We've been working on major updates to FLARE VM over the last year.
The now revamped FLARE VM has just been released and will make the project more open and maintainable.
Please check out our blog post at https://www.mandiant.com/resources/blog/flarevm-open-to-public and give the new installation a try.
If this problem still persists with the new installation, please report:

new tools or tool-related issues at https://github.com/mandiant/VM-Packages/issues
ideas and issues related to the installer script and configuration at https://github.com/mandiant/flare-vm/issues

Please note that we use this message to close all legacy issues in this repository. We look forward to your feedback and support for the next generation of FLARE VM.


Smartapi test

https://github.com/biothings/biothings_explorer/issues/785

From the looks of the implementation, an exception is captured in Sentry for the whole thing failing. It's preferable to create an individual Sentry exception whenever a given KP fails, with specifics of the criteria it failed (spec for expected API doesn't exist, API is unreachable, test example fails). This can be a totally artificial exception.

@tokebe Done.
ex.


Python: Serialize a DataFrame with None column

This might be related to #295
import pandas as pd
import feather
pd.__version__
feather.version.version
df = pd.DataFrame({"A": (1, 2, 3), "B": (None, None, None)})
feather.write_dataframe(df, "/tmp/foo.feather")

The above snippet fails with:
---------------------------------------------------------------------------
ArrowNotImplementedError                  Traceback (most recent call last)
<ipython-input-72-799e35eece97> in <module>()
      6 df
      7 df.info()
----> 8 feather.write_dataframe(df, "/tmp/foo.feather")

/home/feanor/.virtualenvs/xbrl/lib/python3.6/site-packages/pyarrow/feather.py in write_feather(df, dest)
    110     writer = FeatherWriter(dest)
    111     try:
--> 112         writer.write(df)
    113     except:
    114         # Try to make sure the resource is closed

/home/feanor/.virtualenvs/xbrl/lib/python3.6/site-packages/pyarrow/feather.py in write(self, df)
     99                 name = str(name)
    100
--> 101             self.writer.write_array(name, col)
    102
    103         self.writer.close()

pyarrow/io.pxi in pyarrow.lib.FeatherWriter.write_array (/arrow/python/build/temp.linux-x86_64-3.6/lib.cxx:48584)()

pyarrow/error.pxi in pyarrow.lib.check_status (/arrow/python/build/temp.linux-x86_64-3.6/lib.cxx:7124)()

ArrowNotImplementedError: NotImplemented: null

The versions are:
pandas: '0.19.2'
arrow: '0.4.0'

@pmav99 Can you report this problem upstream with Apache Arrow, please: https://issues.apache.org/jira/projects/ARROW

I did create: https://issues.apache.org/jira/browse/ARROW-1187


When I try to create a page which name is a number, I get an error

When I try to create a page with a name like '404' for example, I get the following error:
Column 'page_id' cannot be null
An error occurred while attempting to execute the following query
INSERT INTO `sym_pages_types` (`page_id`, `type`) VALUES (NULL, 'hidden')
Backtrace:
[(...)/public_html/symphony/lib/toolkit/class.mysql.php:463] MySQL->__error();
[(...)/public_html/symphony/lib/toolkit/class.mysql.php:546] MySQL->query();
[(...)/public_html/symphony/content/content.blueprintspages.php:944] MySQL->insert();
[(...)/public_html/symphony/content/content.blueprintspages.php:661] contentBlueprintsPages->__actionEdit();
[(...)/public_html/symphony/lib/toolkit/class.administrationpage.php:440] contentBlueprintsPages->__actionNew();
[(...)/public_html/symphony/lib/toolkit/class.administrationpage.php:409] AdministrationPage->__switchboard();
[(...)/public_html/symphony/lib/toolkit/class.administrationpage.php:242] AdministrationPage->action();
[(...)/public_html/symphony/lib/core/class.administration.php:230] AdministrationPage->build();
[(...)/public_html/symphony/lib/core/class.administration.php:383] Administration->__buildPage();
[(...)/public_html/index.php:25] Administration->display();

This affects S2.2.3

It has been resolved in 2.2.4 with #814


Names of user packages generated for Java and Python incorrect in documentation

The section describing the output of the package command lists the expected package names for each output language here:
http://datawire.github.io/quark/install/compile.html#package
Both Java and Python have a 0.1.0 string in the naming pattern. This is actually a variable set using the first @version annotation encountered starting from the top of the first file in the compile list then continuing through the files in order until the end of the last file specified.
The documentation needs to be updated to reflect this and also to indicate what happens if no @version annotation is found.

This has been fixed locally and will be in the next release.

The fix has been published in 0.2.8-1


bar clocking time left.

When you have some free time, could you make it so the bar at top doesn't block the time left and entries info. Sometimes they post their contest right at the top of the page, and the black bar block the information. Pic shown...
http://imgur.com/QSPrPpM
Also, would it be possible to add in a script that converts the "time left" to an actual date the contest will end?
Thanks again for your fantastic work, and dedication in keeping it updated.

Added all of this in v1.4.12.  You can hover over those times now to see the exact end date in your timezone.

HOT DAMN YOU'RE BRILLIANT!!!!!! THANK YOU!


Assign properties of NSDateComponents object to zero before use.…

… They default to NSUndefinedDateComponent (NSIntegerMax), which caused string conversions to NSDate to fail when using the latest SDKs.
The changed method (_parseHTTPDate) is used by RKDateFromHTTPDateString and indirectly by RKHTTPCacheExpirationDateFromHeadersWithStatusCode.

I don't know that this is intended... They default to NSUndefinedDateComponent so there's a difference between set and unset values.

Either way, could you please add a test demonstrating the issue this is fixing? Thanks!

Sure, there is a difference between being set and undefined. But the arithmetic a few lines below expect the components to have an initial value of zero. Now all dates become completely wrong.
The old struct, which is still used for old SDKs memset the members to zero.
/Roger

13 aug 2015 kl. 17:44 skrev Samuel E. Giddins<EMAIL_ADDRESS>I don't know that this is intended... They default to NSUndefinedDateComponent so there's a difference between set and unset values.
—
Reply to this email directly or view it on GitHub.

Ok. Could you please add a test demonstrating the issue that this is fixing?

Ok, will do so tomorrow.

13 aug 2015 kl. 18:02 skrev Samuel E. Giddins<EMAIL_ADDRESS>Ok. Could you please add a test demonstrating the issue that this is fixing?
—
Reply to this email directly or view it on GitHub.

:+1: if you can fix the alignment issues (we use 4 spaces)

Thanks so much @rojo69 !


Cisco Jabber XMPP connector

We create Cisco Jabber Bot based on botkit framework. To be able to connect to a Cisco Jabber bot, we add a Cisco Jabber XMPP connector into botkit. You can refer to below doc for more details.
ChatBot-CallFlow-Example.docx

https://github.com/howdyai/botkit/pull/1169 adding a link to this to discuss

@peterswimm Hi Peter, anything I need to do from my side?


Compile sync without sync reg

Fixed the pass compile-sync-without-sync-reg
The original problem was simply that the clear group did not have a done condition, if I  ran validate sooner, this could be immediately discovered.
Compiles @sync without use of std_sync_reg
Upon encountering @sync, it first instantiates a std_reg(1) for each thread(bar) and a std_reg(1) for each barrier (s)
It then continuously assigns the value of (s.in) to 1'd1 guarded by the
expression that all values of bar for threads under the barrier are
set to 1'd1
Then it replaces the @sync control operator with
seq {
     barrier;
     clear;
 }

barrier simply sets the value of bar to 1'd1 and then waits for s.out to be up
clear resets the value of bar to 1'd0 for reuse of barrier
Using this method, each thread only incurs 3 cycles of latency overhead for the barrier, and we theoretically won't have a limit for number of threads under one barrier

Seems like this PR still has conflicts with master branch. Can you fix them and let me know afterwards? The diff is currently too big and I'm assuming that's because the branch hasn't been merged with master yet.

@rachitnigam fixed merging conflict. Please take a look.

Changes look good! Looks like two tests are failing because #1422 improved the cycle count. Merge at your discretion! Great job! We should make this the default compile-sync pass in the pipeline and deprecate the old one once you're convinced it works for general programs


[FEATURE] Create ScriptExtension interface

Is your feature request related to a problem?
The getScriptEngine() and getContexts() extension points communicate an extension's script capabilities to OpenSearch.
What solution would you like?
Add a new interface ScriptExtension with the above two methods, with default implementations matching ScriptPlugin.java.

@petiveriaalliacea please self-assign this, or just comment here so I can assign it to you, since you've already got the PR in progress.

Hello! I guess I can't self-assign this. Thank you!

Done in #534


[HUDI-1200] KeyGenerator does not work,java.lang.NullPointerException

What is the purpose of the pull request
Fix KeyGenerator does not work,java.lang.NullPointerException
Committer checklist

[ ] Has a corresponding JIRA in PR title & commit

[ ] Commit message is descriptive of the change

[ ] CI is green

[ ] Necessary doc changes done or have another open PR

[ ] For large changes, please consider breaking it into sub-tasks under an umbrella JIRA.

11


Friendly web interface

Here is new web interface, based on Bulma + some ugly hacks to show the documents.

I do not like the search panel, where the numbers are really far on the right and the search bar far on the left.

documentation : meilisearch/documentation#112

The frontend is great.
Adding a small vuejs/angular snippet for search box, and result list, would increase adoption  - as t is easy to configure such js,change  hostName and indexName.
Bundling a primitive crawl script that could index a given url into "myinternalwebsiteIndex" would help for internal websites.

Hey @anborg, We are currently working on making a javascript library first. Once done we will work on making React and VueJs libraries from that one.


Missing type declarations for parse function

Describe the bug
A per the csv-parse documentation I specify the delimiters as an option with sync.d.ts being the only typedefs available this is no longer valid. I.e. the following code used to work fine
// example.ts
import parse from 'csv-parse'
const parser = parse({
  delimiter: ':',
  relax_column_count: true
})

However this now gives a compilation error of
Argument of type '{ delimiter: string; relax_column_count: boolean; }' is not assignable to parameter of type 'string | Buffer'

To Reproduce
Install the latest version of csv-parse and build a project using the code above (example.ts).
Additional context
I'm not exactly sure why ./lib/sync.d.ts was made the types definition in package.json in 4.8.4. I would rather expect ./lib/index.d.ts to be made the types definition.

I made a mistake earlier in the last release, could you pull version 4.8.5, it shall fix it.


feat: add support for opening and closing windows

Tested on my Ioniq 6 and seems to work well (minus the whole device ID invalidation thing which is unrelated)

Would these changes be better off in the BlueLink API?


How is GerritHub working for you?

@playground After a few reviews I ended up ditching it. I've used Gerrit a lot professionally and I love it (especially the latest releases) but I found when trying to get anyone who was interested in JALSE committing it was easier not to have it. We have unit testing, code coverage tools and travis CI builds - so I do care about quality. I just didn't want to make it more difficult than it had to be (as I can line by line comment a commit/pull-request anyway).


enable to tell sokoban to pull force image

I have a use case, where I want to tell sokoban to pull image even if it's already present on docker machine, because now it checks if image is present and if so, it does not pull.
And in some cases I have new version of image, but it's not on docker machine where containers are running. Do you agree if I will add this capability?

Sure. I think I had this ability and lost it when I took pullImage out of DockerContainer


Add List*Execution (ElasticSearch) API ratelimiters

ES (and in general any kind of "bulk query" API) is a different resource and has quite different
ratelimiting needs than other kinds of requests, so this separates the APIs and adds a new
ratelimiter dynamic config.
Since it kinda looked like we had something for this before, but it wasn't working, I dug around
in the code and discovered that the existing limits are pretty wildly incorrectly used, or were
actually completely unused.
Those variables are now marked as deprecated for visibility, future changes should probably just
remove them entirely (and/or correct them).
This is a re-implementation of #4916 that's compatible with the new dynamic config refactor, as
there are enough changes that it wasn't worth trying to merge or cherry-pick.  I've also made
some minor improvements, e.g. added some more descriptions and used private types, but there is
no behavior change from that PR.

Pull Request Test Coverage Report for Build 0182612e-921d-496d-a558-26dd57d37293

45 of 55 (81.82%)  changed or added relevant lines in 2 files are covered.
59 unchanged lines in 16 files lost coverage.
Overall coverage increased (+0.07%) to 57.763%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

service/frontend/workflowHandler.go
42
52
80.77%

Files with Coverage Reduction
New Missed Lines
%

common/types/shared.go
1
41.63%

service/history/queue/timer_queue_processor_base.go
1
77.26%

common/task/fifoTaskScheduler.go
2
85.57%

common/task/weightedRoundRobinTaskScheduler.go
2
89.64%

common/util.go
2
51.77%

service/history/execution/mutable_state_builder.go
2
69.03%

service/history/task/timer_task_executor_base.go
2
80.23%

service/history/task/transfer_active_task_executor.go
2
71.7%

service/matching/matchingEngine.go
2
71.83%

host/taskpoller.go
3
72.5%

Totals

Change from base Build 0182606c-a5eb-4918-90a4-53360fa062a0:
0.07%

Covered Lines:
84051

Relevant Lines:
145510

💛  - Coveralls


Deprecated function in tests

Should probably be adapted?
tests/test_petab.py::test_petab_problem
  /home/yannik/petab/petab/core.py:158: DeprecationWarning: This function will be removed in future releases.
    DeprecationWarning)

While we don't remove it, we should keep the test. But maybe we can remove that function soon...


Allow color spectrum selection

It seems the only color assignment available is white->green.  This doesn't look great, especially when combined with white text.
Setting the color to use the text field doesn't work (it claims the text is "ambiguous").

You're totally right, sorry about that. This is currently a limitation and I'm hoping to add support for configuring custom color spectrums to provide more customizability.

The built-in table panel seems to have many gradients.  Maybe you could steal those.
How is the text field supposed to work?  Are they supposed to be color names?

I have spectrum component from another plugin I've made that I might be able to use here as well. I know there's some work being done to add a color spectrum editor to the grafana/data package, that I intend to switch over to once it's done.
The text field is used as the identifier, which should probably be made clearer. Because it's used as an ID, you can't have more than one occurrence of a value. This could probably use a better error message 😅

I've just published 0.6.0 which makes use of the new standard field option for colors. You can now change the colors to any of the color scheme currently supported by Grafana. For more information, check out the Color scheme docs.


Fix FromVec constructor for IdlValue class

The current implementation is aliasing a pointer, this will cause double free errors.

:link: zboto Link

fixed via #24


align with MMCV

align with the  new version of MMCV

Any plan to update the deprated APIs?

Any plan to update the deprecated APIs?

I think that's OK to use the deprecated ones now since there is no difference in performance. I plan to update that during code refactoring.


API change: parse results for subcommands

Problem with Usage Help for Subcommands
Adding support for nested subcommands (#127) highlighted a problem with the CommandLine::parse(String...) method: it currently returns a List with the annotated objects that were registered as subcommands.
This is a problem because without the CommandLine objects associated with these annotated objects, the usage help cannot list the subcommands registered on those CommandLine instances...
Example: suppose we have a subcommand hierarchy like this:
CommandLine commandLine = new CommandLine(new Main())
        .addCommand("cmd1", new Cmd1())
        .addCommand("cmd2", new Cmd2())
        .addCommand("cmd3", new CommandLine(new Cmd3())
                .addCommand("cmd3sub1", new Cmd3Sub1())
                .addCommand("cmd3sub2", new Cmd3Sub2())
        );

Suppose the user asked for help on subcommand cmd3:
<main class> cmd3 --help

In the current picocli API, this is hard to implement since the parsing result does not give a reference to the CommandLine instance that the nested subcommands are registered. It returns a list of annotated objects instead of a list of CommandLine objects:
List<Object> parsed = commandLine.parse(args);
assert parsed.size() == 2;
assert parsed.get(0) instanceof Main;
assert parsed.get(1) instanceof Cmd3;

// This will not show the nested subcommands for "cmd3"
CommandLine.usage(parsed.get(1), System.err);

The parse result should allow the client code to get a reference to the CommandLine object associated with the parsed subcommand.

Initial thoughts for a solution:

return a List<CommandLine> from the parse method.
introduce a new custom interface from which both the annotated objects and the CommandLine objects can be obtained.

What if the CommandLine retains a map of all parsed objects, and then the usage could be applied with an instance method instead of a static one, eg:
List<Object> parsed = commandLine.parse(args);
assert parsed.size() == 2;
assert parsed.get(0) instanceof Main;
assert parsed.get(1) instanceof Cmd3;

// This will not show the nested subcommands for "cmd3"
commandLine.usage(parsed.get(1), System.err);

Thought about it some more and I'm now leaning towards simply returning a List<CommandLine>. Combined with issue #135 you raised about the clashing method name, the new signature would become:
/**
 * <p>
 * Initializes the annotated object that this {@code CommandLine} was constructed with as well as possibly any
 * registered commands, based on the specified command line arguments,
 * and returns a list of all commands that were initialized by this method.
 * </p>
 *
 * @param args the command line arguments to parse
 * @return a list with all commands and subcommands initialized by this method
 * @throws ParameterException if the specified command line arguments are invalid
 */
public List<CommandLine> parseCommands(String... args) {...}

Showing usage help then becomes very easy:
List<CommandLine> parsed = commandLine.parseCommands(args);
assert parsed.size() == 2;
assert parsed.get(0).getAnnotatedObject() instanceof Main; // slightly longer than it is now
assert parsed.get(1).getAnnotatedObject() instanceof Cmd3;

// Show the nested subcommands for "cmd3"
parsed.get(1).usage(System.err);  // intuitively obvious for client code to do the right thing

Generally I prefer returning the full information in the result to storing some temporary information in the CommandLine instance: conceivably the same CommandLine instance could be used to parse multiple command line arg arrays, but that would not work correctly if the top-most CommandLine instance still has stored some results from previous invocations.

Fair enough. Just a comment of method name, I found getAnnotatedObject a bit cryptic, maybe getCommandObject will made the code more readable.

I hadn't realized, thanks for pointing that out. I like getCommand, it is short and maps naturally with the @Command annotation.
There is some potential confusion with addCommand and getCommands. Perhaps these should be renamed to addSubcommand and getSubcommands. Putting it all together:
public                          CommandLine   (Object command)                  {...} // constructor
public Object                   getCommand    ()                                {...} // returns constructor parameter
public CommandLine              addSubcommand (String name, Object subcommand)  {...}
public Map<String, CommandLine> getSubcommands()                                {...}
public static <T> T             parse         (T command, String... args)       {...}
public List<CommandLine>        parseCommands (String... args)                  {...}
public static void              usage         (Object command, PrintStream out) {...}

IMO getCommand is coherent with addCommand, I would change instead getCommands to getCommandLines or getCommandsMap.
Just my 2 cents ;)

Sorry, I only just saw your comment.
getCommand returns the object passed into the constructor, and is the top-level command, while addSubcommand and getSubcommands are one level below the top-level command. I kind of like that this difference in level is now explicit. It makes sense to me. Also, the docs have been talking about them as "subcommands" for a while; now the code and the docs are more in sync, which is good.
I think #127 has unearthed a number of hidden deficiencies, I'm quite happy with all these changes.
However, I'm going to let these changes sink in for a bit and keep this in master and not release a new binary just yet.


How to deploy cohere-toolkit in KVM VPS ?

What improvement(s) are you suggesting?
Not just deploy in localhost.
Write a document with the support to deploy cohere-toolkit in KVM VPS.
Avoid the error "http://localhost:8000/tools/ net::ERR_CONNECTION_REFUSED"
Additional information
No response

@hjw21century Can you clarify the ask, what platform exactly do you want to deploy on? We have a standalone.Dockerfile that you can try deploying to cloud environments, so far that Dockerfile has worked on major cloud providers like GCP/AWS/Azure

A VPS enviriment.  RackNerd.

Currently we have no bandwidth to try deploying there, but maybe you could provide any logs or information as to what issues you're running into trying to deploy.
The connection refused error you provided isn't very descriptive, ideally you can provide more logs so we can help debug, thanks.

Closing as this has been open without response for 2 weeks.


[Bug]: When an Agent is bound to multiple projects, if one project is deleted, the agent is deleted.

Preflight Checklist

[X] I agree to follow the Code of Conduct that this project adheres to.
[X] I have searched the issue tracker for an issue that matches the one I want to file, without success.
[X] I am not looking for support or already pursued the available support channels without success.

Version
1.0.2
Installation Type
Official SaaS Service
Service Name
DongTai-OpenAPI
Describe the details of the bug and the steps to reproduce it
When an Agent is bound to multiple projects, if one project is deleted, the agent is deleted.
Additional Information
No response
Logs
No response

Does not exist after verification


merge datdot-service fork from joshua

@todo

[x] merge code from joshuas fork back into datdot-service

https://github.com/joshua-mir/datdot-service

In scenario 5


⚠ ClamAV has degraded performance

In 2c41169, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 191 ms

Resolved: ClamAV performance has improved in 2b51f4c.


[Change Request] add missing case for Production Order Status "Finished"

Describe the request
In report 99003802 "Copy Production Order Document" the case for "Finished" Production Order Status is missing.

Additionally consider implementing some Publishers to make this whole report more extensible (one request for a new publisher is already accepted).
Additional context
This makes it impossible to preset the value of RequestPage Control "DocNo" if coming from a Finished Production Order.
For all other Production Order Status this works fine.
Internal work item: AB#534799

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.
Build ID: 19986.


fix/bug when navigating back to collection page

Thank you for your contribution to the KodaDot - One Stop Shop for Polkadot NFTs.
👇 __ Let's make a quick check before the contribution.
PR Type

[x] Bugfix

Needs QA check

@kodadot/qa-guild please review

Context

[x] Closes #9440

Did your issue had any of the "$" label on it?

[x] My DOT address: Payout

would be interesting to know to how users interact with the collection gallery page.
tested it a bit and unless you open each nft on new tab the ux is impacted quite a lot if the user is doing what @JustLuuuu  `s video showed  but idk

b. fix scrolling, when navigating to page n, all pages 0 => n should be loaded

I feel like the option b you mention would have been a better fit
regardless LGTM  🚀

the ux is impacted quite a lot

What do you mean, this fix is harming performance / slow down
or?

the ux is impacted quite a lot

It's a trade off
Loading all pages until page n would be slow to load, with speed decreasing as n increases
Navigation back to top is annoying, but speedy
We tried keep alive before to improve performance and it was a disaster

fair enough.

We tried keep alive before to improve performance and it was a disaster

true
open new tab with middle mouse ftw

Thanks!
pay 30 usd

😍 Perfect, I’ve sent the payout
💵 $30 @ 7.77 USD/DOT ~ 3.861 $DOT
🧗 1cAsKZYNRb8dkSCpn4eVkEn6ycNZTGoDo5dGDgB8J1UUWK8
🔗 0x2a9dcb7b6f093909ba9a6485d69547d6dffc7b4b74c7745b37b4e279bb0fee08
🪅 Let’s grab another issue and get rewarded!
🪄 github.com/kodadot/nft-gallery/issues


added mark's secrets

I decided to try forking instead of branching. I just added two files for my secrets


ZOMG

Hat is off to, kind person. TY TY!

Btw, working 100% on 10.15.4 (19E287) Mac mini (Late 2012) just fine after two privacy/settings changes.


Different results for server and client pages with dynamic data

❓Question
I'm developing a new application, and have been evaluating Razzle. Everything looks so far, but I'm trying to get around my head about the best way to do static rendering.
Let's say that I'm implementing an app for the Swagger Petstore.
In regular client-side React, I could have a component (let's call it Inventory) that makes a client side request (fetch / XmlHttpRequest) to /pet/inventory and render that.
However, I'd like to do static rendering, so that when a user visits /app/pet/inventory either of these happen:

If the user came through direct navigation (i.e., fresh page load), the server retrieves the appropriate list and servers a pre-rendered list to the user as HTML (inside the Inventory component).
If the user came through an already loaded page, retrieve the list client side through an API call and render that (inside the Inventory component).

With next.js, one could do this with getServerSideProps, as explained in https://nextjs.org/docs/basic-features/data-fetching.
I realise that Razzle is more barebones in this sense as it's not tied to any one framework (which I like very much). However, I struggle to see a good and clean solution. I've considered React Context (width two contexts for SSR and CSR) and writing a Webpack plugin.
Thanks,

The best way of doing this is to have some kind of server-side cache in a provider that stores any results from the fetches you do server-side. Then put the cached data in a script-tag. i.e window.SSRCACHE. Then have client-side cache in a provider that reads that window variable. If there is no cache value do a client-side fetch. If there is a value, use the cached data and invalidate the cache.
Now, implementering this is non-trivial. There is react-query and if you use graphql there is urql that has a normalized cache exchange.
I am working on a example of using prisma, graphql-codegen and apollo-server that uses urql.

https://github.com/fivethreeo/razzle-prisma-graphqlcodegen-urql-formik-jwt


Create deb package

Adds a CMake module with the packaging configuration and "Package" and "Consume" steps to GitHub actions to check that it works as it should.

Closing this, as the functionality was added in https://github.com/KhronosGroup/OpenCL-Headers/pull/239


automate pulling in prometheus rules/alerts

The kubernetes-monitoring project we use gets updates a few times a week, but we have to manually pull them in (and fix indent/format). Let's just make this a utility.
I've been thinking about having an infra cli tool. Useful for common kubectl commands, but also for chores like this.
$ infra chore --update=kubernetes-monitoring
...

This could also just be a makefile task.
Related with https://github.com/moov-io/infra/issues/8

https://github.com/moov-io/infra/pull/49 added the script and there's a runbook. We don't automate running make generate, but it's scripted for now.


Install XHProf by default, reverts a6683f5

Just realized we add a XHProf vhost while we don't actually have xhprof enabled by default. https://github.com/geerlingguy/drupal-vm/commit/157b0edc1e247ffa30b375846069364c30cb1e02 removed XHProf from the default installed_extras, I assume it was because we didn't switch the package automatically before. With https://github.com/geerlingguy/drupal-vm/pull/1043 we set the correct package automatically so this should be safe to re-enable again.
That being said, we might also consider removing the vhost as the future of XHProf on PHP 7.1 looks pretty dark https://github.com/geerlingguy/drupal-vm/issues/1031. I think this PR is the correct fix at the moment, but maybe it's not worth changing the default installed_extras as we're probably switching to 7.1 as the default soon anyways.
Edit: Currently service apache2 restart outputs:

AH00112: Warning: DocumentRoot [/usr/share/php/xhprof_html] does not exist

I'd rather leave it disabled for now, and live with the apache warning. Same thing happens if some of the other subdomains aren't in use (e.g. if you customize installed_extras and remove some of the other things).
Until there's a clearer path to 7.1, of course.

Makes sense, it took me this long to notice that warning.


Can't prove github

My keybase.md public gist is here:
https://gist.github.com/squintgit/e7ef175939098d4b324ad573b7f5e020
But I got the email from you saying it the proof never succeeded:

Hi, squint, your attempted github identity proof of @squintgit never succeeded. We've been checking it repeatedly, and from our perspective, it's either (a) not there, or (b) not posted precisely.
If you think there's a bug, please post an issue on github. Include the link to your proof.

Is there a bug here? I renamed myself on github a few days ago, that's why my other proof broke.

I believe I'm observing the same issue.
https://gist.github.com/daten/17bfc98a40a17911fe5d624100e198d2

Can you both try reposting your proof with the text you have before the ### Keybase proof.... removed? There cannot be any text before the "Keybase proof" heading. Thanks!

Removed ‘squint’ above ### Keybase proof.  When I re-ran "keybase prove”, it ends up saying "Couldn't find posted proof.”
Maybe just needs some time?

I had to revoke the previous attempt and try again with a fresh attempt. It worked without the additional text at the beginning (that the earlier keybase software auto-generated for me).

Revoked and then recreating worked.
Not sure how that text snuck in the first one.
Thanks!
On Mon, Apr 20, 2020 at 7:08 PM Bryan<EMAIL_ADDRESS>wrote:

I had to revoke the previous attempt and try again with a fresh attempt.
It worked without the additional text at the beginning (that the earlier
keybase software auto-generated for me).
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/keybase/client/issues/23708#issuecomment-616874210,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ACY7TMVJCTS5B5JCCGTYDFLRNTPZJANCNFSM4MHEJHOA
.


Make TelemetryClient optional in EmailNotificationClient

ApplicationInsigts is optionally registrered and should not be required for code to run.
The issue was discovered because WebApplicationFactory tests failed in the test runner inside Rider on Mac
Related Issue(s)

https://github.com/Altinn/app-lib-dotnet/pull/511

Verification

[ ] Your code builds clean without any errors or warnings
[ ] Manual testing done (required)
[ ] Relevant automated test added (if you find this hard, leave it and we'll help out)
[ ] All tests run green

Documentation

[ ] User documentation is updated with a separate linked PR in altinn-studio-docs. (if applicable)

This is being included in the SMS-pr https://github.com/Altinn/app-lib-dotnet/pull/525/files#diff-90ee25d423b47258972063eb48c88a6ec6004ebb7f8ac4bc0cce0a47ca9dd4bf


Fixing table sizing

Who is this PR for?
Dashboard users
What problem does this PR fix?
Dashboard tables don't resize correctly. cf #1644

What does this PR do?

@edavidsonsawyer Just tested this out locally in IE after rebasing onto master — looks great! 👍👍


feat(app): POB integration

🤜 🤛  from Skip!
In This PR

I add the x/builder module to the Migaloo app

This enables the application to utilize POB v1 functionality, in protocol auction for TOB blockspace

I over-ride the BaseApp's CheckTx method to use pob's (happy to discuss reasoning around this
I set the Prepare / Process Proposal Handlers to use the pob prepare / process-proposal handlers
I add the x/builder ante-handler to the initia-app ante-handler chain

Testing

I used the POB testing suite against a running Migaloo node to check

Bids are ordered + sequenced in block correctly
Bids w/ invalid txs are not reaped into block

Let's Discuss

the x/builder module requires a RewardsDistributionProvider` to distribute rewards from the last block's auction to the last proposer.

To do so, we utilize the distribution keeper and the initia staking-keeper to determine which sdk Address to send rewards to
This logic is handled here
Would love any thoughts  / concerns around the implementation

Happy to dig deeper anywhere in PR if necessary

Checklist

[x ] I have read Migaloo's contribution guidelines.
[ x?] My pull request has a sound title and description (not something vague like Update index.md)
[ x] All existing and new tests are passing.
[ ] I updated/added relevant documentation.
[x ] The code is formatted properly golangci-lint run ./... --fix.

Thanks so much guys.  This work would now target v4.  We've needed to delay sdk 47 because of some concerns with the alliance module.
Our current prioritiy here is to add ibc-hooks to migaloo.


Add ANCMV1 package

Reaction to https://github.com/aspnet/IISIntegration/pull/768.

Once you merge https://github.com/aspnet/IISIntegration/pull/768, update the submodule in modules/IISIntegration to match the new commit and :shipit:

Gonna run universe locally first with this change anyways.


fix(cmdline): Conditionally apply cmdline keymaps based on user config

Problem:
Cmdline keymaps are applied even when the user disables cmdline completions. For example, <UP> and <DOWN> do nothing when sources.cmdline = {}, instead of cycling through cmdline history.
Solution:
Conditionally apply cmdline keymaps based on user config. Only apply keymaps when type(sources.cmdline) ~= "table".

I committed similar functionality on main a couple of hours ago, but thank you! https://github.com/Saghen/blink.cmp/commit/88ec6010ddbb249257d22265b8a96842f10c7142

Sorry for the noise, I'll update. Thanks!


[SPARK-22815] [SQL] Keep PromotePrecision in Optimized Plans

What changes were proposed in this pull request?
We could get incorrect results by running DecimalPrecision twice.
How was this patch tested?
WIP

Test build #85003 has started for PR 20000 at commit 64d55c4.

Test build #85003 has finished for PR 20000 at commit 64d55c4.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

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

Test build #85014 has started for PR 20000 at commit 571ed44.

cc @cloud-fan

Test build #85014 has finished for PR 20000 at commit 571ed44.

This patch fails due to an unknown error code, -9.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

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

retest this please

Test build #85016 has started for PR 20000 at commit 571ed44.

Test build #85016 has finished for PR 20000 at commit 571ed44.

This patch fails SparkR unit tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

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

retest this please

Test build #85025 has started for PR 20000 at commit 571ed44.

cc @cloud-fan

Test build #85025 has finished for PR 20000 at commit 571ed44.

This patch fails PySpark unit tests.
This patch merges cleanly.
This patch adds no public classes.

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

Merged build finished. Test FAILed.

Test build #85082 has started for PR 20000 at commit 3f27c4b.

Test build #85082 has finished for PR 20000 at commit 3f27c4b.

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

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/85082/
Test PASSed.

thanks, merging to master!


Api paths are getting created under the wrong api with manifest.yaml

manifest.yaml
packages:
  ibmcos:
    version: 1.0
    license: Apache-2.0
    actions:
      cos-dashboard-action:
        function: dist/cos-dashboard-action.js
        runtime: nodejs:8
        web-export: true
        inputs:
          bucket: ${BUCKET}
          accessKeyId: ${ACCESSKEYID}
          secretAccessKey: ${SECRETACCESSKEY}
    apis:
      cos-dashboard:
        api:
          list:
            cos-dashboard-action:
              method: GET
              response: http
          upload:
            cos-dashboard-action:
              method: POST
              response: http

deploying...
Info: The API host is [us-south.functions.cloud.ibm.com], from .wskprops.
Info: The auth key is set, from .wskprops.
Info: The namespace is [_], from .wskprops.
Info: The apigw access token is set, from .wskprops.
Info: Unmarshal OpenWhisk runtimes from internet at https://us-south.functions.cloud.ibm.com.
Info: Deploying package [ibmcos] ...
Info: package [ibmcos] has been successfully deployed.

Info: Deploying action [ibmcos/cos-dashboard-action] ...
Info: action [ibmcos/cos-dashboard-action] has been successfully deployed.

Info: Deploying api [cos-dashboard /api/list GET] ...
Info: api [cos-dashboard /api/list GET] has been successfully deployed.

Info: Deploying api [cos-dashboard /api/upload POST] ...
Info: api [cos-dashboard /api/upload POST] has been successfully deployed.

Success: Deployment completed successfully.

According to the deploy log, both api/list and api/upload should have been created under api named "cos-dashboard".  However they are being created under "starter-apis"

Thanks for reporting the issue @playground
@mdeuser ^^

It would be helpful if you could open a ticket with IBM Cloud on this to have support jump to also help.

@mdeuser yes I already have starter-apis defined as a test which as a base path of /api.  So I can't have a base path with the name /api even though it is for a new endpoint name?

@playground - you can add new endpoints to an existing api.  the new endpoints would specify the existing basepath, which in your case is /api.  however, the new endpoints are not able to rename the api. in your case the existing api (base path /api, name starter-apsi) will retain the name starter-apis even though the new endpoints try to specify a different api name (cos-dashboard).  an api can only have one api name and one basepath.  if you really want another api with the name cos-dashboard just use a new basepath.


Problem with airyaiprime

Maybe I'm doing it wrong, but it looks like there is a problem with airyaiprime and BigFloats:
   _       _ _(_)_     |  Documentation: https://docs.julialang.org
  (_)     | (_) (_)    |
   _ _   _| |_  __ _   |  Type "?" for help, "]?" for Pkg help.
  | | | | | | |/ _` |  |
  | | |_| | | | (_| |  |  Version 1.9.0 (2023-05-07)
 _/ |\__'_|_|_|\__'_|  |  Official https://julialang.org/ release
|__/                   |

julia @v1.9> using ArbNumerics
[ Info: Precompiling ArbNumerics [7e558dbc-694d-5a72-987c-6f4ebed21442]

julia @v1.9> ArbNumerics.airyai(BigFloat(0))
0.3550280538878172392600631860041831763979791741991772405833265103008100424501266

julia @v1.9> ArbNumerics.airyaiprime(BigFloat(0))
ERROR: MethodError: no method matching airyaiprime(::Complex{BigFloat})

Closest candidates are:
  airyaiprime(::Complex{<:AbstractFloat})
   @ SpecialFunctions ~/julia-versions/dot_julia/packages/SpecialFunctions/sKqs4/src/bessel.jl:168
  airyaiprime(::Complex)
   @ SpecialFunctions ~/julia-versions/dot_julia/packages/SpecialFunctions/sKqs4/src/bessel.jl:165
  airyaiprime(::ArbComplex{P}) where P
   @ ArbNumerics ~/julia-versions/dot_julia/packages/ArbNumerics/OJfxd/src/float/airy.jl:53
  ...

Stacktrace:
 [1] airyaiprime(z::Complex{BigFloat})
   @ SpecialFunctions ~/julia-versions/dot_julia/packages/SpecialFunctions/sKqs4/src/bessel.jl:168
 [2] airyaiprime(x::BigFloat)
   @ SpecialFunctions ~/julia-versions/dot_julia/packages/SpecialFunctions/sKqs4/src/bessel.jl:173
 [3] top-level scope
   @ REPL[3]:1

what does this display?
 using Pkg; Pkg.status("ArbNumerics")

Actually -- something is wrong.
(while it does not help for Airy, you should prefer to use)
using ArbNumerics
setprecision(ArbFloat, precision(BigFloat))
a = ArbFloat(0.0)
result = function(a)

I need time to look into this.

No worries and no rush.  Just thought you'd like to know.  For the record:
julia @v1.11> using Pkg

julia @v1.11> Pkg.status("ArbNumerics")
Status `~/julia-versions/dot_julia/environments/v1.11/Project.toml`
  [7e558dbc] ArbNumerics v1.3.3

julia @v1.11>


DocsArchive-<IP_ADDRESS>Auto archive content

Please don't merge this PR until target archive repo PR https://github.com/OPS-E2E-PPE/docs-yml-archive-non-versioning-archive/pull/529 is merged into live branch.
Auto archive content to https://github.com/opstest2/docs-yml-archive-non-versioning-archive.git

Docs Build status updates of commit 63bfb9f:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

.openpublishing.redirection.json
:white_check_mark:Succeeded

docs/TOC.yml
:white_check_mark:Succeeded
View

docs/index.yml
:white_check_mark:Succeeded
View

docs/to-be-archive/level1/article3-1-1.md
:white_check_mark:Succeeded
View

docs/to-be-archive/level1/article3-1-2.md
:white_check_mark:Succeeded
View

docs/to-be-archive/level1/article3-1-3.yml
:white_check_mark:Succeeded
View

docs/to-be-archive/level1/sql-database-engine.png
:white_check_mark:Succeeded

docs/to-be-archive/level2/article3-2-1.md
:white_check_mark:Succeeded
View

docs/to-be-archive/level2/article3-2-2.md
:white_check_mark:Succeeded
View

docs/to-be-archive/level2/article3-2-3.yml
:white_check_mark:Succeeded
View

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