What is Sampling - why is there two different modes?

This section https://learn.microsoft.com/en-us/azure/azure-monitor/app/worker-service#sampling does not tell us the difference between the two sampling techniques.  Also WHY do the two exist, and WHEN should we use one over the other.  These sampling differences were created for a reason, and documenting that reason is IMO key to the understanding.  Whoever is writing or approving these docs need to ask themselves - does this document address the WHY  the functionality exists?  In addition, an example showing the use of the functionality in both modes is always appreciated.

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

ID: 9d4fa84d-4cd3-216e-ca60-885f1565ee29
Version Independent ID: 5c08427b-21d3-b22a-924a-d07d1461ba79
Content: Application Insights for Worker Service apps (non-HTTP apps) - Azure Monitor
Content Source: articles/azure-monitor/app/worker-service.md
Service: azure-monitor
Sub-service: application-insights
GitHub Login: @AaronMaxwell
Microsoft Alias: aaronmax

@RichardReukemaOptimus
Thanks for your feedback! We will investigate and update as appropriate.

Tagging @AaronMaxwell for visibility, review, to provide insights and consider document enhancement as appropriate.

Thanks for the feedback. These links point to information about the two sampling techniques:
Adaptive sampling: https://learn.microsoft.com/en-us/azure/azure-monitor/app/sampling?tabs=net-core-new#adaptive-sampling
Fixed-rate sampling: https://learn.microsoft.com/en-us/azure/azure-monitor/app/sampling?tabs=net-core-new#fixed-rate-sampling
I will add these links to the Sampling section.
#please-close


Output is spamming on every evaluation

creating index...
index created!
Running per image evaluation...
Evaluate annotation type *bbox*
DONE (t=0.01s).
Accumulating evaluation results...
DONE (t=0.00s).

I see it is coming from pycocotools package.
Here is solution I came up with:
import builtins
from contextlib import contextmanager

@contextmanager
def mock_print():
    original_print = builtins.print

    def custom_print(*args, **kwargs):
        pass

    try:
        builtins.print = custom_print
        yield
    finally:
        builtins.print = original_print

with mock_print():
    report = evaluator.get_report()


Support Time32 and Time64 types

Description
The delta-rs PrimitiveType supports timestamp and date, but not time. This means that Arrow Time32 and Time64 types are not supported.
Use Case
I would like to use Time32 and Time64 types in my DataFusion DeltaTables.
Related Issue(s)

take

Are other types possible to add as well, such as Duration? I had a source the other day where most columns were duration format in Polars (HH:MM:SS) but it failed to save to the Delta Table. I converted to an integer for now.
            pl.col("response_sla").dt.total_milliseconds().alias("response_sla_ms"),

All these types are not supported by the delta protocol, so we can't add them.
For duration types i actually made an upstream request at the delta io repo, so you could up vote or ping the databricks folks there to make it happen


[SPARK-11016] Move RoaringBitmap to explicit Kryo serializer

Fix the serialization of RoaringBitmap with Kyro serializer
This PR came from https://github.com/metamx/spark/pull/1, thanks to @drcrallen

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/46029/
Test FAILed.

Test build #2067 has started for PR 9748 at commit 9947bdc.

Test build #2067 has finished for PR 9748 at commit 9947bdc.

This patch passes all tests.
This patch merges cleanly.
This patch adds the following public classes (experimental):\n  * class BitSet(numBits: Int) extends Serializable \n  * class StreamingListener(object):\n

Lacking background knowledge to sign off this one. Referenced discussions in #9243, https://github.com/metamx/spark/pull/1, SPARK-5949, and SPARK-11016. If understand it correctly, currently RoaringBitmap isn't a direct dependency of Spark, instead it's just a transitive dependency, and Kryo needs it to work properly?

Oh I didn't notice that #9243 was reverted. So RoaringBitmap is still a direct dependency, and before this PR, Kryo can't serialize it properly. Then this LGTM except for a few minor styling issues.

Yep, LGTM, thanks for going back and taking care of this loose end @davies

Test build #46108 has started for PR 9748 at commit 7fcbf66.

Test build #46108 has finished for PR 9748 at commit 7fcbf66.

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

@davies here are some problems when deserialize for RoaringBitmap. see the examples below:
run this piece of code
import com.esotericsoftware.kryo.io.{Input => KryoInput, Output => KryoOutput}
import java.io.DataInput

    class KryoInputDataInputBridge(input: KryoInput) extends DataInput {
      override def readLong(): Long = input.readLong()
      override def readChar(): Char = input.readChar()
      override def readFloat(): Float = input.readFloat()
      override def readByte(): Byte = input.readByte()
      override def readShort(): Short = input.readShort()
      override def readUTF(): String = input.readString() // readString in kryo does utf8
      override def readInt(): Int = input.readInt()
      override def readUnsignedShort(): Int = input.readShortUnsigned()
      override def skipBytes(n: Int): Int = input.skip(n.toLong).toInt
      override def readFully(b: Array[Byte]): Unit = input.read(b)
      override def readFully(b: Array[Byte], off: Int, len: Int): Unit = input.read(b, off, len)
      override def readLine(): String = throw new UnsupportedOperationException("readLine")
      override def readBoolean(): Boolean = input.readBoolean()
      override def readUnsignedByte(): Int = input.readByteUnsigned()
      override def readDouble(): Double = input.readDouble()
    }

    class KryoOutputDataOutputBridge(output: KryoOutput) extends DataOutput {
      override def writeFloat(v: Float): Unit = output.writeFloat(v)
      // There is no "readChars" counterpart, except maybe "readLine", which is not supported
      override def writeChars(s: String): Unit = throw new UnsupportedOperationException("writeChars")
      override def writeDouble(v: Double): Unit = output.writeDouble(v)
      override def writeUTF(s: String): Unit = output.writeString(s) // writeString in kryo does UTF8
      override def writeShort(v: Int): Unit = output.writeShort(v)
      override def writeInt(v: Int): Unit = output.writeInt(v)
      override def writeBoolean(v: Boolean): Unit = output.writeBoolean(v)
      override def write(b: Int): Unit = output.write(b)
      override def write(b: Array[Byte]): Unit = output.write(b)
      override def write(b: Array[Byte], off: Int, len: Int): Unit = output.write(b, off, len)
      override def writeBytes(s: String): Unit = output.writeString(s)
      override def writeChar(v: Int): Unit = output.writeChar(v.toChar)
      override def writeLong(v: Long): Unit = output.writeLong(v)
      override def writeByte(v: Int): Unit = output.writeByte(v)
    }
    val outStream = new FileOutputStream("D:\\wfserde")
    val output = new KryoOutput(outStream)
    val bitmap = new RoaringBitmap
    bitmap.add(1)
    bitmap.add(3)
    bitmap.add(5)
    bitmap.serialize(new KryoOutputDataOutputBridge(output))
    output.flush()
    output.close()

    val inStream = new FileInputStream("D:\\wfserde")
    val input = new KryoInput(inStream)
    val ret = new RoaringBitmap
    ret.deserialize(new KryoInputDataInputBridge(input))

    println(ret)

this will throw Buffer underflow error:
com.esotericsoftware.kryo.KryoException: Buffer underflow.
	at com.esotericsoftware.kryo.io.Input.require(Input.java:156)
	at com.esotericsoftware.kryo.io.Input.skip(Input.java:131)
	at com.esotericsoftware.kryo.io.Input.skip(Input.java:264)
	at org.apache.spark.sql.SQLQuerySuite$$anonfun$6$KryoInputDataInputBridge$1.skipBytes

after same investigation,  i found this is caused by a bug of kryo's Input.skip(long count)(https://github.com/EsotericSoftware/kryo/issues/119) and we call this method in KryoInputDataInputBridge.
So i think we can fix this issue in this two ways:

upgrade the kryo version to 2.23.0 or 2.24.0, which has fix this bug in kryo (i am not sure the upgrade is safe in spark, can you check it? @davies )

we can bypass the  kryo's Input.skip(long count) by directly call another skip method in kryo's Input.java(https://github.com/EsotericSoftware/kryo/blob/kryo-2.21/src/com/esotericsoftware/kryo/io/Input.java#L124), i.e. write the bug-fixed version of Input.skip(long count) in KryoInputDataInputBridge's skipBytes method:

   class KryoInputDataInputBridge(input: KryoInput) extends DataInput {
      ...
      override def skipBytes(n: Int): Int = {
        var remaining: Long = n
        while (remaining > 0) {
          val skip = Math.min(Integer.MAX_VALUE, remaining).asInstanceOf[Int]
          input.skip(skip)
          remaining -= skip
        }
        n
     }
      ...
    }

@scwf For 1.6 release, it's risky to upgrade Kryo, the second approach will be better, could  you send out a PR for it? thanks!

ok, should i send pr to master and branch-1.6 both?

Sending to master should be enough, will be pickled into 1.6.


27_bucket_list.py bug

#hacktoberfest
Remove comma after the last list item

Post October Monthly Challenge cleanup. It's changing 24 files here :( Have to close this one.

Post October Monthly Challenge cleanup. It's changing 24 files here :( Have to close this one.


[BUG] Navbar UI Improvement

Description
Hey, the navbar is not looking good you can see below its conflicts with other components I want to improve it can please assign it to me under GSSOC'23?

Describe the bug:
A clear and concise description of what the bug is.
Expected behavior:
A clear and concise description of what you expected to happen.
Actual behavior:
A clear and concise description of what actually happened.
Reproduction Steps
Steps to reproduce the behavior:

Go to '...'
Click on '....'
Scroll down to '....'
See error

Expected result:
A clear and concise description of what you expected to happen at each step.
Actual result:
A clear and concise description of what actually happened at each step.
Screenshots
If applicable, add screenshots to help explain your problem.
Additional Information
Device (please complete the following information):

OS: [e.g., Windows, macOS, Linux]
Browser [e.g., Chrome, Safari, Firefox]
Version [e.g., 22]

Additional context:
Add any other context about the problem here.

Hey already I have created issues in navbar improvement


Add telescope and instrument to raw oifits

When trying to use AMICAL outputs with fouriever, I got an error saying the telescope was unknown. The TELESCOP keyword was an empty string in the oifits even though the initial data had TELESCOP='JWST'. The issue seems to be that the telescope is saved in the info dictionary with a lowercase key (like date-obs), so it was not found when trying to pass it to the oifits. This fixes the issue by using lowercase. I also added a fallback option for INSTRUME to get the right instrument from the info dict.
I saw that the unit test function for saving raw oifits is commented out, so I did not add a failing test for this.

Perfect, thanks Thomas.


Setting nested Options to Some(value)

Hi,
Given a nested chain of Options, is there a way to coerce the most inner one to Some?
The current operator .each allows traversing Options, but acts like map:
import com.softwaremill.quicklens._

case class C(d: Option[Int])
case class B(c: Option[C])
case class A(b: Option[B])

val a = A(b = None)

a.modify(_.b.each.c.each.d.each).setTo(3)  //  res0: A = A(None)

(the result is A(None), but how can we achieve a A(Some(B(Some(C(Some(3))))))?)
It could be useful if there were some operator (say, all) which can act as follows:
a.modify(_.b.all.c.all.d.all).setTo(3) //  res0: A = A(Some(B(Some(C(Some(3))))))

I'm afraid this is very option-chain-specific. Firstly, you wouldn't be able to use .modify, as there need not be a value. Secondly, if e.g. B had any other fields, there's nowhere to get their values from.

What about a variation of at(idx: Int) which doesn't throw IndexOutOfBoundsException, and instead enlarges the sequence so accommodate the new index? Such a method could also be adapted to Options if we look at them as sequences if length 1.

But what would you put in the indicies in between? Also, how would you initialize an "empty" object which would be added to the sequence?

Maybe a type class Zeroable[A] with default implementations for all the primitives?
A completely alternative solution would be a insertAtHead[A](a: A) which can work for all sequences (including Option, Either, etc.)

Maybe Zeroable would work ... but I have the feeling that this takes the .each syntax a bit too far. Wouldn't, in such situations, just writing code in .setTo with the appropriate new instance creation logic be sufficient?

Yeah, on a second thought, there's no much difference between .setTo and my suggestion.
I guess you're right :)


Adds Cake.Common.FileAliases integration tests

relates to #1173
also fixes some inconsistencies and cache issues in build.ps1 and adds some new io convenience methods

LGTM!


⚠ Bofrost.de has degraded performance

In 9b5a1ff, Bofrost.de (https://www.bofrost.de) experienced degraded performance:

HTTP code: 200
Response time: 8716 ms

Resolved: Bofrost.de performance has improved in 4c7c6d3 after 13 minutes.


perf upgrade lazy load twitter module on mobile

On the mobile version of the cannabis homepage the twitter module is pretty far down the page. This module is a major performance drag.
Proposal: Change the way this module is loaded to use an interaction observer that retrieves its dependencies when the user scrolls close to it rather than during initial rendering. This will have a big impact on performance on mobile, have no effect on desktop because the module is present immediately there.

Adding this to QA backlog - we can do some performance optimizations after launch. (Will move this back to icebox if it's not a simple improvement)

Closing this - we will move to headless where this won't be an issue - and the theme code is likely going to change.
It would be nice to have a way to register additional JS with the component and have to load in an optimal place in the WordPress page order.


Add FDWaveformView

Project URL
https://github.com/fulldecent/FDWaveformView
Category
Audio
Description
FDWaveformView is an easy way to display an audio waveform in your app. It is a nice visualization to show a playing audio file or to select a position in a file.
Why it should be included to awesome-ios (mandatory)
Nothing else like it here. Works on audio.
Checklist

[x] Has 50 GitHub stargazers or more
[x] Only one project/change is in this pull request
[x] Isn't an archived project
[x] Has more than one contributor
[x] Has unit tests, integration tests or UI tests
[x] Addition in chronological order (bottom of category)
[x] Supports iOS 9 / tvOS 10 or later
[x] Supports Swift 4 or later
[x] Has a commit from less than 2 years ago
[x] Has a clear README in English

Thank you!


fix: stuck on loading when getting an invite without existing identity

Resolves #243

Yeah that is exactly my thought as well.


how to run the project

how to run the project

Please follow the instructions in the README file.


Translate Methods For Manual Patching?

I was looking for a method to translate the string, and looks like is this one:
XUnity.AutoTranslator.Plugin.Core.AutoTranslationPlugin.Current.TranslateOrQueueWebJob
But this method is private.
I  wanted apply a manual patching in the AssemblyCSharp to can fix the 'typewrite' effect untranslated.

Forget, I added my own: https://github.com/marcussacana/XUnity.AutoTranslator/commit/813fdb2777e8048067893917d9532709c32efd2f
If you want PR (well, it's a bit useless to you maybe) just say.
I will left open because maybe there is a 'proper way' to do that and I don't know

Greetings!
If you simply want to translate a text then there is a public interface available to do so:
   /// <summary>
   /// Public API Surface for the Auto Translator Plugin.
   /// </summary>
   public interface ITranslator
   {
      /// <summary>
      /// Queries the plugin to provide a translated text for the untranslated text.
      /// If the translation cannot be found in the cache, it will make a
      /// request to the translator selected by the user.
      /// </summary>
      /// <param name="untranslatedText">The untranslated text to provide a translation for.</param>
      /// <param name="onCompleted">Callback to completion of the translation.</param>
      void TranslateAsync( string untranslatedText, Action<TranslationResult> onCompleted );

      /// <summary>
      /// Queries the plugin to provide a translated text for the untranslated text.
      /// If the translation cannot be found in the cache, it will make a
      /// request to the translator selected by the user.
      /// </summary>
      /// <param name="untranslatedText">The untranslated text to provide a translation for.</param>
      /// <param name="scope">Scope to be used during translation cache lookup.</param>
      /// <param name="onCompleted">Callback to completion of the translation.</param>
      void TranslateAsync( string untranslatedText, int scope, Action<TranslationResult> onCompleted );

      /// <summary>
      /// Queries the plugin to provide a translated text for the untranslated text.
      /// If the translation cannot be found in the cache, the method returns false
      /// and returns null as the untranslated text.
      /// </summary>
      /// <param name="untranslatedText">The untranslated text to provide a translation for.</param>
      /// <param name="translatedText">The translated text.</param>
      /// <returns></returns>
      bool TryTranslate( string untranslatedText, out string translatedText );

      /// <summary>
      /// Queries the plugin to provide a translated text for the untranslated text.
      /// If the translation cannot be found in the cache, the method returns false
      /// and returns null as the untranslated text.
      /// </summary>
      /// <param name="untranslatedText">The untranslated text to provide a translation for.</param>
      /// <param name="scope">Scope to be used during translation cache lookup.</param>
      /// <param name="translatedText">The translated text.</param>
      /// <returns></returns>
      bool TryTranslate( string untranslatedText, int scope, out string translatedText );
   }

An instance of this interface can be obtained through AutoTranslator.Default.
Do note that if you want to use this API translate texts, and simply hook various text components yourself, then if you queue a lot of similar texts to this API in a sequential fashion, the plugin will shutdown because it detects it as spam (Similar texts are often produced by type-writer-like techniques). For example if you queue:

"
"I
"I a
"I am

and so on...

Also, forgot to add. If you want to enable type-writer effects on PRETRANSLATED texts, then in some games the following setting might be helpful:
[Behaviour]
GeneratePartialTranslations=False ;Indicates that the plugin should generate partial translations to support text translations as it is "scrolling in"

That setting is not entirely memory-friendly though. But it's just text so who cares ^_^.

In my case I patched very early, after the game load the string in their script.
then probably he don't will flood requests.
Anyway, thanks for the info, that should help, i almost forget to ensure if he isn't spamming anyway.


Invalid argument error now explaining what the error is

Environment details

OS: 10.15.5 Beta (19F83c)
Node.js version: 13.7.0
npm version: 6.14.4
@google-cloud/firestore version:  3.7.5

Steps to reproduce
I am not sure how to reproduce, all I know is somewhere I am getting:
(node:41601) UnhandledPromiseRejectionWarning: Error: 3 INVALID_ARGUMENT: Request contains an invalid argument.
    at Object.callErrorFromStatus (/Users/jakeleventhal/myproj/node_modules/@grpc/grpc-js/src/call.ts:81:24)
    at Object.onReceiveStatus (/Users/jakeleventhal/myproj/node_modules/@grpc/grpc-js/src/client.ts:324:36)
    at Object.onReceiveStatus (/Users/jakeleventhal/myproj/node_modules/@grpc/grpc-js/src/client-interceptors.ts:439:34)
    at Object.onReceiveStatus (/Users/jakeleventhal/myproj/node_modules/@grpc/grpc-js/src/client-interceptors.ts:402:48)
    at Http2CallStream.outputStatus (/Users/jakeleventhal/myproj/node_modules/@grpc/grpc-js/src/call-stream.ts:228:22)
    at Http2CallStream.maybeOutputStatus (/Users/jakeleventhal/myproj/node_modules/@grpc/grpc-js/src/call-stream.ts:278:14)
    at Http2CallStream.endCall (/Users/jakeleventhal/myproj/node_modules/@grpc/grpc-js/src/call-stream.ts:262:12)
    at Http2CallStream.handleTrailers (/Users/jakeleventhal/myproj/node_modules/@grpc/grpc-js/src/call-stream.ts:398:10)
    at ClientHttp2Stream.emit (events.js:321:20)
    at ClientHttp2Stream.EventEmitter.emit (domain.js:485:12)
    at emit (internal/http2/core.js:289:8)
    at processTicksAndRejections (internal/process/task_queues.js:87:22)

The issues are:

The error should include what the invalid argument is
The error should include the place in the code that the error occurred in the stack trace

@jakeleventhal Thanks for filing the issue! The error you are receiving is from our backend, which does not include the invalid argument in its error. I'm currently looking into wrapping node errors to preserve the stack trace from the original call, which should hopefully help you trace down the original errors.


Update index.md

Merge

The copyright and published date refer to when the tutorial was written. No change needed.


eBPF for Process and File Auditing: Extending to macOS with uBPF

Hi,
I'm working on a research project where I want to use eBPF for auditing purposes, specifically for the following objectives:

Monitoring the creation and termination of each process.
Tracking file accesses for specific processes, such as creation and modification.

We already have a project addressing similar tasks for Linux, but we want to extend this capability to macOS as well. In my search, I came across the uBPF project and I'm curious if it could be used for the above goals.
Thank you!

@hadisinaee I think this should be working now. Please re-open if this still needs more work.


ACHDirectory Fuzzy search on Bank Name

If a 1-2-1 match is not found in the Name search and optional fuzzy search could be used to handle misspelling or other issues if the name was not found.
A package such as Fuzzy Search could be added to the Bank Name field for better results.
Additional packages to be tested closesmatch

Used Levenstin and JaroWinkler for similarity


GPT-4 (128k) update

Any chance to revise the codebase to upgrade the chat model/s to GPT-4?

@EOSG-DataDrive - Yes that's in works, will update you


Release windows executable as part of release-deploy

Added a new workflow to build executables on Windows when a pull request is opened
For windows only, added steps to build and deploy windows executables to GitHub release.
If this PR looks good, it can replace PR #108.

Yes, please! Keeping my fingers crossed!

Nope, didn't work. I will check later...

Bummer! I do see that the executable was built correctly in the job. I double-checked and confirmed that action-gh-release specifies using / even for Windows.

I have hacked it to work (by amending the commit and re-creating the release several times).
The actual problem was an error in the GH release action that I also missed: you had put an hyphen before the file names:
      with:
        files: |
          - dist/validate_iods.exe
          - dist/dump_dcm_info.exe

which should have been:
      with:
        files: |
          dist/validate_iods.exe
          dist/dump_dcm_info.exe

(e.g. these are not sub-items, but just the file names)
I actually replaced it with:
      with:
        files: dist/*.exe

I also divided the workflow into two separate jobs, so that the pypi release depends on the successful executable creation, to avoid the problem for future releases.
I did this by force-pushing the changes to avoid to have to make a new PyPi release, not really the clean way... but we do have a release including the executables now, so thank you for the contribution!

Ah! My bad! Thank you for fixing it. I can now point others to the release page for downloading the executables!


Going about asserting if user is signed in with Minitest; ActionDispatch::IntegrationTest/Warden issue

Ruby 3.1.2
Rails 7.0.4
Devise 4.8.1

Current behavior
a test  aims to determine if a user is logged in, where users(:one) fixture has email defined, but not an encrypted password stated.
require "test_helper"

class ThisKlassControllerTest < ActionDispatch::IntegrationTest
  include Devise::Test::IntegrationHelpers
  test "should login " do
    sign_in(users(:one))
    is_logged_in?
  end

via a test_helper method
class ActiveSupport::TestCase
  fixtures :all
  parallelize(workers: :number_of_processors)

  def is_logged_in?
puts (session['warden.user.user.key'][0]).present?
    (session['warden.user.user.key'][0]).present?
  end

Returns
NoMethodError: undefined method `session' for nil:NilClass

      @request.session
              ^^^^^^^^
    test/test_helper.rb:38:in `is_logged_in?'

The application runs authentication as expected and will display warden.user.user.key
Thus, there may be an issue with the  inclusion of Devise::Test::IntegrationHelpers - or something else is missing/wrong in the above approach.

A second test, using the synax from the repository 's tests
require "test_helper"

class ThisKlassControllerTest < ActionDispatch::IntegrationTest
  include Warden::Test::Helpers
  include Devise::Test::IntegrationHelpers

  test "should login " do
    sign_in(users(:one))
    assert warden.authenticated?(:user)
  end

returns NameError: undefined local variable or method warden' for [...]ControllerTest[...]
Did you mean?  warn`
seem to indicate a problem with warden of its inclusion.

Having created a second application with the same methods and routes, it is determined the issue lies not with devise, but in the testing environment being somehow corrupted.


README.md > More readable "testing HCL example" command

Pull Request
Please check the type of change your PR introduces:

[ ] Bugfix
[ ] Feature
[ ] Build related changes
[x] Documentation content changes
[ ] Other: (describe here)

Proposed Change

Issue Number: N/A

Breaking Change?

[ ] Yes
[x] No

Checklist
Please validate that your PR fulfills the following requirements:

[x] I have read the CONTRIBUTING.md documentation (if available)
[x] I have branched from the default repo branch (can be master, main, or release/vX.X)
[x] I have checked that a similar PR does not exist or has been rejected in the past
[x] PR changes are specific to a feature or bug
[x] No style/format/cosmetic changes included
[x] I have used existing style and naming patterns in my changes
[x] Tests for the changes have been added/updated (if relevant)
[x] Built/compiled and tested locally
[x] Docs have been added/updated (if relevant)
[x] I have squashed my changes into a single commit

Additional Information

While we thank you for the contribution, this PR has had no reply or activity for quite a while. We're going to close it out at this time.


Calculate upper bounds gas limits for all methods and set them in the WRB contract (Claim, PosDRInclusion, PostBlock, PostResult)

Closed in #141

Closed in #141


OSD jenkinsfile bug

Signed-off-by: Prudhvi Godithi<EMAIL_ADDRESS>Description
Fix error:
Jenkins build error for OSD distribution [No messages found for build-and-test-linux-arm64-tar]
Issues Resolved
https://github.com/opensearch-project/opensearch-build/issues/3028
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Codecov Report

Merging #3035 (420dd10) into main (ec38440) will decrease coverage by 0.30%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main    #3035      +/-   ##
==========================================
- Coverage   93.17%   92.87%   -0.31%
==========================================
  Files         167      167
  Lines        4602     4602
==========================================
- Hits         4288     4274      -14
- Misses        314      328      +14

Impacted Files
Coverage Δ

src/system/temporary_directory.py
64.44% <0.00%> (-28.89%)
:arrow_down:

src/system/os.py
94.73% <0.00%> (-5.27%)
:arrow_down:

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


User persona and empathy map

Completed

I created the female user persona and the empathy map to aid and give direction to our design thinking process

I created the User Personna 2 that's the male user personna
User Personna 2.zip


where can i find lastApplied

It seems not show lastApplied . where can i find it?

Correct. There's no state machine in the visualization, so nothing is "applying" the committed entries, so it's not meaningful to keep track of the last one that was applied. In a normal implementation, the state machine applies committed entries as quickly as possible, and when it does so, it increments lastApplied accordingly.


[platform-ios]:  Cannot delete emojis from textfield if they are input using emoji keyboard.The focus remains on both textfields (TextField widget and Emoji search)

Steps to Reproduce

Execute flutter run on the code sample
focus on textfield
type on searching emoji input
tap textfield again

Expected results:
after tap textfield, unfocus on searching emoji input and focus on textfield like native below
https://user-images.githubusercontent.com/52235899/158925057-143c4626-6ef3-44b2-b19f-32780bb547da.mov
Actual results:
nothing happen. (can't unfocus)
https://user-images.githubusercontent.com/52235899/158925108-5cde4592-280a-4a80-a5c7-7f0db0b8da59.mov

Code sample

import 'package:flutter/material.dart';

void main() {
  runApp(const MyApp());
}

class MyApp extends StatelessWidget {
  const MyApp({Key? key}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      theme: ThemeData(
        primarySwatch: Colors.blue,
      ),
      home: _MyHomePage(),
    );
  }
}

class _MyHomePage extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return const Scaffold(
      body: Center(
        child: TextField(),
      ),
    );
  }
}

Logs

No issues found! (ran in 4.2s)

[✓] Flutter (Channel stable, 2.10.0, on macOS 12.3 21E230 darwin-x64, locale en-US)
    • Flutter version 2.10.0 at /Users/takashi/fvm/versions/2.10.0
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 5f105a6ca7 (6 weeks ago), 2022-02-01 14:15:42 -0800
    • Engine revision 776efd2034
    • Dart version 2.16.0
    • DevTools version 2.9.2

[✓] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
    • Android SDK at /Users/takashi/Library/Android/sdk
    • Platform android-31, build-tools 31.0.0
    • ANDROID_HOME = /Users/takashi/Library/Android
    • ANDROID_SDK_ROOT = /Users/takashi/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.8+10-b944.6916264)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 13.3)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • CocoaPods version 1.11.2

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 4.2)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.8+10-b944.6916264)

[✓] VS Code (version 1.65.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.36.0

[✓] Connected device (1 available)
    • Chrome (web) • chrome • web-javascript • Google Chrome 99.0.4844.74
    ! Error: TAKASHI is not connected. Xcode will continue when TAKASHI is connected. (code -13)

[✓] HTTP Host Availability
    • All required HTTP hosts are available

• No issues found!

I do see the same behavior which I think is an interesting find.
https://user-images.githubusercontent.com/67046386/158977759-070a6219-6678-4e6b-b25a-ddc021cfb7ee.mov
The TextField focus is retained only if we switch from emoji keyboard to normal keyboard and then can delete the emojis as shown in the video above.
 stable, master flutter doctor -v

[✓] Flutter (Channel stable, 2.10.3, on macOS 12.2.1 21D62 darwin-x64, locale
    en-GB)
    • Flutter version 2.10.3 at /Users/dhs/documents/fluttersdk/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 7e9793dee1 (11 hours ago), 2022-03-02 11:23:12 -0600
    • Engine revision bd539267b4
    • Dart version 2.16.1
    • DevTools version 2.9.2

[!] Xcode - develop for iOS and macOS (Xcode 12.3)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    ! Flutter recommends a minimum Xcode version of 13.
      Download the latest version or update via the Mac App Store.
    • CocoaPods version 1.11.2

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] VS Code (version 1.62.0)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.21.0

[✓] Connected device (5 available)
    • SM G975F (mobile)       • RZ8M802WY0X • android-arm64   • Android 11 (API 30)
    • Darshan's iphone (mobile)  • 21150b119064aecc249dfcfe05e259197461ce23 •
      ios            • iOS 14.4.1 18D61
    • iPhone 12 Pro Max (mobile) • A5473606-0213-4FD8-BA16-553433949729     •
      ios            • com.apple.CoreSimulator.SimRuntime.iOS-14-3 (simulator)
    • macOS (desktop)            • macos                                    •
      darwin-x64     • Mac OS X 10.15.4 19E2269 darwin-x64
    • Chrome (web)               • chrome                                   •
      web-javascript • Google Chrome 98.0.4758.80

[✓] HTTP Host Availability
    • All required HTTP hosts are available

! Doctor found issues in 1 category.

[✓] Flutter (Channel master, 2.13.0-0.0.pre.141, on macOS 12.2.1 21D62
    darwin-x64, locale en-GB)
    • Flutter version 2.13.0-0.0.pre.141 at
      /Users/dhs/documents/fluttersdk/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 875c552c54 (83 minutes ago), 2022-03-17 21:24:16 -0700
    • Engine revision 17f0f1f95d
    • Dart version 2.17.0 (build 2.17.0-216.0.dev)
    • DevTools version 2.11.4

[!] Xcode - develop for iOS and macOS (Xcode 12.3)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    ! Flutter recommends a minimum Xcode version of 13.
      Download the latest version or update via the Mac App Store.
    • CocoaPods version 1.11.2

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] VS Code (version 1.62.0)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.21.0

[✓] Connected device (5 available)
    • SM G975F (mobile)       • RZ8M802WY0X • android-arm64   • Android 11 (API 30)
    • Darshan's iphone (mobile)  • 21150b119064aecc249dfcfe05e259197461ce23 •
      ios            • iOS 14.4.1 18D61
    • iPhone 12 Pro Max (mobile) • A5473606-0213-4FD8-BA16-553433949729     •
      ios            • com.apple.CoreSimulator.SimRuntime.iOS-14-3 (simulator)
    • macOS (desktop)            • macos                                    •
      darwin-x64     • Mac OS X 10.15.4 19E2269 darwin-x64
    • Chrome (web)               • chrome                                   •
      web-javascript • Google Chrome 98.0.4758.80

[✓] HTTP Host Availability
    • All required HTTP hosts are available

! Doctor found issues in 1 category.

/cc @justinmc

From my testing the input connection is still open when backspace is pressed, but I guess the keyboard doesn't know that something else should take the focus when the field was tapped.  Maybe there is something in the engine that we need to call when that tap happens to let it know.  @LongCatIsLooong do you know off the top of your head?

Hi, anything new here?


Integration with ownCloud

Hi,
For file management I use OwnCloud (current version 8.03) including my photos. However, since I like lychee very much, I would like to ask, if there will be a special app for OC to connect / integrate lychee with OwnCloud!
Thanks & regards, hitam4450

Hi, there's no way to integrate both systems, but you can sync Lychee with any directory containing photos using this plugin: https://github.com/GustavePate/lycheesync
Hope that helps :)

Thanks for yore reply and comment!


fix: CE-1059 Unable to save Decision section without entering all fields - incorrect toast

Description
Unable to save Decision section without entering all fields - incorrect toast
Fixes # CE-1059
Tasks

[x] Add validation messages to the first 3 fields to indicate that they are required
[x] Ensure you can save without entering anything other than the first 3 fields
[x] Add validation when adding action input
[x] Add validation if

[x] lead agency selected
[x] recommend inspection

[x] Fix toast message

How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration

[ ] Test A
[ ] Test B

Checklist

[ ] I have added tests that prove my fix is effective or that my feature works
[ ] New and existing unit tests pass locally with my changes

Further comments

Thanks for the PR!
Deployments, as required, will be available below:

Frontend
Backend

Please create PRs in draft mode.  Mark as ready to enable:

Analysis Workflow

After merge, new images are deployed in:

Merge Workflow

Thanks for the PR!
Deployments, as required, will be available below:

Frontend
Backend

Please create PRs in draft mode.  Mark as ready to enable:

Analysis Workflow

After merge, new images are deployed in:

Merge Workflow

Failing Cypress Test is due to a recent change in how the officer lists are populated.   Will create a bug to address.


Interface Builder and prepare for segue

Hello I have a question,
how can i use it in the following case?
thanks

this wouldn't work correctly, the instantiation needs to be autoclosure wrapped, passing in actual variable doesn't really do anything

so it can't use with projects that use Interface Builder, right ?

ok thanks


K8SPXC-336: Refactor status handling

Test name
Status

big-data
passed

upgrade-haproxy
passed

recreate
passed

scaling
passed

haproxy
passed

storage
passed

scheduled-backup
passed

scaling-proxysql
passed

self-healing
passed

restore-to-encrypted-cluster
passed

init-deploy
passed

security-context
passed

upgrade-proxysql
passed

self-healing-advanced
passed

limits
passed

demand-backup
passed

smart-update
passed

monitoring-2-0
passed

operator-self-healing
passed

affinity
passed

one-pod
passed

auto-tuning
passed

proxysql-sidecar-res-limits
passed

pitr
passed

users
failed

upgrade-consistency
passed

demand-backup-encrypted-with-tls
passed

tls-issue-self
passed

tls-issue-cert-manager
passed

tls-issue-cert-manager-ref
passed

validation-hook
passed

commit: https://github.com/percona/percona-xtradb-cluster-operator/pull/866/commits/34bc27e1ca221deac2fbd67be0b17a5b84670f43
image: perconalab/percona-xtradb-cluster-operator:PR-866-34bc27e1

See comments.
Also, have taken a look at the code here. It looks frightening. Any chance simplify it?

Is it any better? https://github.com/percona/percona-xtradb-cluster-operator/pull/866/commits/b256ebcb3a0c347acb3d1c44f98f58ef8ebd36f0

Test name
Status

upgrade-haproxy
failed

storage
passed

scaling
passed

self-healing
passed

scaling-proxysql
passed

security-context
failed

self-healing-advanced
passed

operator-self-healing
failed

upgrade-proxysql
failed

smart-update
failed

upgrade-consistency
failed

commit: https://github.com/percona/percona-xtradb-cluster-operator/pull/866/commits/b256ebcb3a0c347acb3d1c44f98f58ef8ebd36f0
image: perconalab/percona-xtradb-cluster-operator:PR-866-b256ebcb

Test name
Status

upgrade-haproxy
passed

storage
passed

scaling
passed

recreate
passed

big-data
passed

scheduled-backup
passed

haproxy
passed

scaling-proxysql
passed

init-deploy
passed

self-healing
passed

security-context
passed

restore-to-encrypted-cluster
passed

upgrade-proxysql
passed

limits
passed

self-healing-advanced
passed

monitoring-2-0
passed

smart-update
passed

operator-self-healing
passed

affinity
passed

one-pod
passed

auto-tuning
passed

proxysql-sidecar-res-limits
passed

upgrade-consistency
passed

users
passed

tls-issue-self
passed

demand-backup
failed

tls-issue-cert-manager
passed

tls-issue-cert-manager-ref
passed

validation-hook
passed

commit: https://github.com/percona/percona-xtradb-cluster-operator/pull/866/commits/59aaf71f95dcce7f294aa438ef80c4f36cf10ae9
image: perconalab/percona-xtradb-cluster-operator:PR-866-59aaf71f

Test name
Status

haproxy
passed

scaling
passed

upgrade-haproxy
passed

big-data
passed

storage
passed

recreate
passed

scheduled-backup
passed

init-deploy
passed

scaling-proxysql
passed

self-healing
passed

security-context
passed

restore-to-encrypted-cluster
passed

upgrade-proxysql
passed

limits
passed

monitoring-2-0
passed

smart-update
passed

demand-backup
passed

affinity
passed

self-healing-advanced
passed

one-pod
passed

auto-tuning
passed

operator-self-healing
passed

proxysql-sidecar-res-limits
failed

pitr
passed

upgrade-consistency
passed

demand-backup-encrypted-with-tls
passed

commit: https://github.com/percona/percona-xtradb-cluster-operator/pull/866/commits/35e3ae1bbeb154b249cb6553bb65da53aea0c2fd
image: perconalab/percona-xtradb-cluster-operator:PR-866-35e3ae1b

Test name
Status

haproxy
passed

storage
passed

big-data
passed

scheduled-backup
passed

upgrade-haproxy
passed

recreate
passed

scaling
passed

init-deploy
passed

scaling-proxysql
passed

self-healing
passed

security-context
passed

restore-to-encrypted-cluster
passed

upgrade-proxysql
passed

limits
passed

self-healing-advanced
passed

monitoring-2-0
passed

smart-update
passed

affinity
passed

demand-backup
passed

operator-self-healing
passed

one-pod
passed

auto-tuning
passed

proxysql-sidecar-res-limits
passed

pitr
passed

users
failed

upgrade-consistency
passed

demand-backup-encrypted-with-tls
passed

tls-issue-self
passed

tls-issue-cert-manager
passed

tls-issue-cert-manager-ref
passed

validation-hook
passed

commit: https://github.com/percona/percona-xtradb-cluster-operator/pull/866/commits/84d66edc95be61977fd983011e99c5dc738ad42d
image: perconalab/percona-xtradb-cluster-operator:PR-866-84d66edc

Test name
Status

haproxy
passed

upgrade-haproxy
passed

storage
passed

scheduled-backup
passed

big-data
passed

recreate
passed

scaling
passed

init-deploy
passed

self-healing
passed

scaling-proxysql
passed

security-context
passed

upgrade-proxysql
passed

limits
passed

restore-to-encrypted-cluster
passed

self-healing-advanced
passed

monitoring-2-0
passed

smart-update
passed

affinity
passed

demand-backup
passed

operator-self-healing
passed

one-pod
passed

auto-tuning
passed

proxysql-sidecar-res-limits
passed

users
passed

pitr
passed

tls-issue-self
passed

tls-issue-cert-manager
passed

tls-issue-cert-manager-ref
passed

upgrade-consistency
passed

demand-backup-encrypted-with-tls
passed

validation-hook
passed

commit: https://github.com/percona/percona-xtradb-cluster-operator/pull/866/commits/337d9d567bbad589cfd8d851d66960f2a55d8ac0
image: perconalab/percona-xtradb-cluster-operator:PR-866-337d9d56

Test name
Status

storage
passed

upgrade-haproxy
passed

scaling
passed

haproxy
passed

big-data
passed

recreate
passed

scheduled-backup
passed

scaling-proxysql
passed

self-healing
passed

init-deploy
passed

security-context
passed

limits
passed

self-healing-chaos
passed

restore-to-encrypted-cluster
passed

monitoring-2-0
passed

self-healing-advanced
passed

affinity
passed

one-pod
passed

demand-backup
passed

auto-tuning
passed

self-healing-advanced-chaos
passed

proxysql-sidecar-res-limits
passed

users
passed

operator-self-healing
passed

pitr
passed

operator-self-healing-chaos
passed

tls-issue-self
passed

tls-issue-cert-manager
passed

tls-issue-cert-manager-ref
passed

validation-hook
passed

demand-backup-encrypted-with-tls
failed

commit: https://github.com/percona/percona-xtradb-cluster-operator/pull/866/commits/6997b73a63154459103d5d7e385d864f161f3ecd
image: perconalab/percona-xtradb-cluster-operator:PR-866-6997b73a

Test name
Status

upgrade-haproxy
passed

scaling
passed

scaling-proxysql
passed

security-context
passed

scheduled-backup
passed

recreate
passed

haproxy
passed

restore-to-encrypted-cluster
passed

init-deploy
passed

limits
passed

demand-backup
passed

monitoring-2-0
passed

pitr
passed

affinity
passed

demand-backup-encrypted-with-tls
passed

one-pod
passed

big-data
passed

storage
passed

auto-tuning
passed

self-healing
passed

proxysql-sidecar-res-limits
passed

self-healing-chaos
passed

users
passed

self-healing-advanced
passed

tls-issue-self
passed

self-healing-advanced-chaos
passed

tls-issue-cert-manager
passed

operator-self-healing
passed

tls-issue-cert-manager-ref
passed

operator-self-healing-chaos
passed

validation-hook
passed

upgrade-proxysql
passed

smart-update
passed

upgrade-consistency
passed

commit: https://github.com/percona/percona-xtradb-cluster-operator/pull/866/commits/6997b73a63154459103d5d7e385d864f161f3ecd
image: perconalab/percona-xtradb-cluster-operator:PR-866-6997b73a

Test name
Status

scaling
passed

upgrade-haproxy
failed

scheduled-backup
passed

scaling-proxysql
passed

security-context
failed

upgrade-proxysql
failed

smart-update
failed

upgrade-consistency
failed

commit: https://github.com/percona/percona-xtradb-cluster-operator/pull/866/commits/29822f9aab666ab1bf0af27b9b9557d489c5f783
image: perconalab/percona-xtradb-cluster-operator:PR-866-29822f9a

Test name
Status

storage
passed

haproxy
passed

scheduled-backup
passed

big-data
passed

scaling
passed

recreate
passed

scaling-proxysql
passed

security-context
failed

upgrade-haproxy
failed

self-healing
passed

init-deploy
passed

restore-to-encrypted-cluster
passed

limits
passed

self-healing-chaos
passed

monitoring-2-0
failed

self-healing-advanced
passed

affinity
passed

self-healing-advanced-chaos
passed

one-pod
passed

auto-tuning
failed

demand-backup
passed

operator-self-healing
passed

operator-self-healing-chaos
passed

pitr
failed

proxysql-sidecar-res-limits
passed

upgrade-proxysql
failed

users
failed

tls-issue-self
passed

tls-issue-cert-manager
passed

tls-issue-cert-manager-ref
passed

demand-backup-encrypted-with-tls
passed

validation-hook
passed

smart-update
failed

upgrade-consistency
failed

commit: https://github.com/percona/percona-xtradb-cluster-operator/pull/866/commits/29822f9aab666ab1bf0af27b9b9557d489c5f783
image: perconalab/percona-xtradb-cluster-operator:PR-866-29822f9a

Test name
Status

recreate
passed

big-data
passed

haproxy
passed

upgrade-haproxy
passed

scheduled-backup
passed

scaling
passed

storage
passed

self-healing
passed

scaling-proxysql
passed

init-deploy
passed

restore-to-encrypted-cluster
passed

security-context
passed

upgrade-proxysql
passed

limits
passed

self-healing-chaos
passed

demand-backup
passed

monitoring-2-0
passed

smart-update
passed

self-healing-advanced
passed

affinity
passed

one-pod
failed

self-healing-advanced-chaos
passed

auto-tuning
passed

pitr
passed

operator-self-healing
passed

proxysql-sidecar-res-limits
passed

users
passed

operator-self-healing-chaos
passed

tls-issue-self
passed

demand-backup-encrypted-with-tls
passed

upgrade-consistency
passed

tls-issue-cert-manager
passed

tls-issue-cert-manager-ref
passed

validation-hook
passed

commit: https://github.com/percona/percona-xtradb-cluster-operator/pull/866/commits/c9f14be50d0c305867850d73b144f0bbfea0d593
image: perconalab/percona-xtradb-cluster-operator:PR-866-c9f14be5

Test name
Status

upgrade-haproxy
passed

big-data
passed

scaling
passed

scheduled-backup
passed

haproxy
passed

recreate
passed

storage
passed

self-healing
passed

scaling-proxysql
passed

init-deploy
passed

restore-to-encrypted-cluster
passed

security-context
passed

upgrade-proxysql
passed

limits
passed

self-healing-chaos
passed

monitoring-2-0
passed

demand-backup
passed

smart-update
passed

self-healing-advanced
passed

affinity
passed

one-pod
passed

auto-tuning
passed

self-healing-advanced-chaos
passed

pitr
passed

proxysql-sidecar-res-limits
passed

users
passed

operator-self-healing
passed

upgrade-consistency
passed

tls-issue-self
passed

operator-self-healing-chaos
passed

demand-backup-encrypted-with-tls
passed

tls-issue-cert-manager
passed

tls-issue-cert-manager-ref
passed

validation-hook
passed

commit: https://github.com/percona/percona-xtradb-cluster-operator/pull/866/commits/2f456e7bab78b10e9cef524eb3801e7c8983d6e9
image: perconalab/percona-xtradb-cluster-operator:PR-866-2f456e7b

Test name
Status

scaling
passed

recreate
passed

upgrade-haproxy
passed

big-data
passed

restore-to-encrypted-cluster
passed

scaling-proxysql
passed

upgrade-proxysql
passed

security-context
passed

demand-backup
passed

pitr
passed

demand-backup-encrypted-with-tls
failed

commit: https://github.com/percona/percona-xtradb-cluster-operator/pull/866/commits/013e0b990026b5b8698a525b57e4c429acd0596d
image: perconalab/percona-xtradb-cluster-operator:PR-866-013e0b99

Test name
Status

big-data
passed

storage
passed

recreate
passed

haproxy
passed

self-healing
passed

init-deploy
passed

restore-to-encrypted-cluster
passed

limits
passed

self-healing-chaos
passed

monitoring-2-0
passed

self-healing-advanced
passed

affinity
passed

one-pod
passed

auto-tuning
passed

self-healing-advanced-chaos
passed

proxysql-sidecar-res-limits
passed

operator-self-healing
passed

demand-backup
passed

users
passed

operator-self-healing-chaos
passed

tls-issue-self
passed

tls-issue-cert-manager
passed

pitr
failed

tls-issue-cert-manager-ref
passed

validation-hook
passed

demand-backup-encrypted-with-tls
failed

commit: https://github.com/percona/percona-xtradb-cluster-operator/pull/866/commits/0094e4a83780ee0a6cb93494f0f1c0b53dcef9eb
image: perconalab/percona-xtradb-cluster-operator:PR-866-0094e4a8

Test name
Status

recreate
passed

scaling
passed

haproxy
passed

big-data
passed

storage
passed

scheduled-backup
failed

upgrade-haproxy
passed

scaling-proxysql
passed

init-deploy
passed

security-context
passed

self-healing
passed

restore-to-encrypted-cluster
passed

limits
passed

self-healing-chaos
passed

monitoring-2-0
passed

upgrade-proxysql
passed

affinity
passed

self-healing-advanced
passed

one-pod
passed

smart-update
passed

auto-tuning
passed

self-healing-advanced-chaos
passed

proxysql-sidecar-res-limits
passed

users
failed

demand-backup
passed

operator-self-healing
passed

operator-self-healing-chaos
passed

upgrade-consistency
passed

tls-issue-self
passed

pitr
failed

tls-issue-cert-manager
passed

tls-issue-cert-manager-ref
passed

validation-hook
passed

commit: https://github.com/percona/percona-xtradb-cluster-operator/pull/866/commits/b0a7fc16e27a7fefe929f9c5cd3c97252481b73c
image: perconalab/percona-xtradb-cluster-operator:PR-866-b0a7fc16

Test name
Status

storage
passed

haproxy
passed

recreate
passed

scheduled-backup
passed

scaling
passed

upgrade-haproxy
passed

big-data
passed

scaling-proxysql
passed

self-healing
passed

init-deploy
passed

security-context
passed

restore-to-encrypted-cluster
passed

upgrade-proxysql
passed

limits
passed

self-healing-chaos
passed

monitoring-2-0
passed

demand-backup
passed

smart-update
passed

self-healing-advanced
passed

affinity
passed

one-pod
passed

auto-tuning
passed

self-healing-advanced-chaos
passed

proxysql-sidecar-res-limits
passed

pitr
passed

users
passed

operator-self-healing
passed

upgrade-consistency
passed

operator-self-healing-chaos
passed

demand-backup-encrypted-with-tls
passed

tls-issue-self
passed

tls-issue-cert-manager
passed

tls-issue-cert-manager-ref
passed

validation-hook
passed

commit: https://github.com/percona/percona-xtradb-cluster-operator/pull/866/commits/edf52533ef245ba0842f9239d6f44cfbd11f379a
image: perconalab/percona-xtradb-cluster-operator:PR-866-edf52533


docs: Make Discord more visible

Add a badge to our README that shows we support chat

@googlebot I fixed it.


Update code-of-conduct.md with Photography/Videography Disclaimer

Update code-of-conduct.md with Photography/Videography Disclaimer:
Added Photography/Videography Disclaimer section.  Instead of including language to 'contact if want photo removed', chose to frame as 'contact for further info'.
*Also, this commit includes a slight general grammar update that was made on line 12

@sheldon-b - You’re welcome! Ok, sounds good about Meetup page, great idea!


add option to restrict pagination types

Coverage decreased (-4.2%) to 95.816% when pulling 5b60d722646e5d43f07aec61a90258b184cc96f6 on restrict-pagination into df6c5ef6ca26f64a2049b01216c425758e78d261 on main.


[www.autoblog.com] embedded player not loading

Generally the player is hosted on cdnapisec.kaltura.com but cfvod.kaltura.com is the one that redirects to it and it's blocked.Removing it from the lists fixed the problem.Naturally there were several tracking/telemetry domains that cfvod.kaltura.com brought back which were already blocked so i don't see any reason to remain blacklisted.
https://www.autoblog.com/2018/10/10/florida-man-crashes-lamborghini-video/?ncid=edlinkusauto00000021&yptr=yahoo

@dnmTX fixed!  This will appear in the next release.

@StevenBlack I've just tried that link @dnmTX have applied, and i'm redirected straight to guce.advertising.com so I would unlist that domain.... just my two cents

That is absolute BULLSHIT !!!!! Player is WORKING,no advers are showing up.
@spirillen  not sure where you poped up from but STAY AWAY from my posts.PERIOD !!!!!!!


Fix for ARAM and URF stat changes.

ARAM and URF stats currently always return 1.0 instead of the correct wiki values. Simple change to fix that issue.

Thanks!


Broken link : docs -> fleet -> launching-containers-fleet.md

Just to signal a broken link (from reorg certainly)
it's here.
this link (https://github.com/coreos/docs/blob/master/launching-containers/building/launching-containers-fleet/index.md) on the head of the page.

This frontmatter should have been removed as part of a reorg we just did. Thanks for reporting this!

No problem


PagerTabStripView not working properly on iOS 18

Describe the bug
PagerTabStripView doesnt work as expected on iOS 18 - blank view
To Reproduce
Steps to reproduce the behavior:
Build app for iOS 18 and open screen with PagerTabStripView - it shows with not content or tabs
Expected behavior
Work properly
Screenshots
If applicable, add screenshots to help explain your problem.
screenshots from iPhone simulator with iOS 17.5 and 18

Versions (please complete the following information):

Xcode: 16.0
Device: iPhone 16 Pro - simulator
OS: iOS 18.0
Lbrary version: 4.0.0

Using HStack rather than LazyHStack for the tabs fixes it, but not sure that's totally acceptable as a fix.

Also in need of this fix :)

Thank you @mcfunley! Your PR was merged into master.


chore: Release python lambda sdk version 0.1.19

Retry release https://github.com/serverless/console/pull/774 with additional performance improvement

@medikoo ready for review 🙏


node client SDK: transaction processing

The node client SDK must support build, deploy, invoke, and query like an NVP does today.

done


Skew protection on Vercel

Describe the feature
https://vercel.com/docs/deployments/skew-protection
Example implementation: https://github.com/sveltejs/kit/pull/11987
Additional information

[X] Would you be willing to help implement this feature?

Love this idea. Put pending label only because we can have a standard API to depend on for this meta (https://github.com/unjs/nitro/issues/2312)


Can't install any chroot, CRAS script fucks itself up

Please paste the output of the following command here: sudo edit-chroot -all

Please describe your issue:
Compiling CRAS (i386)...
sh: 119: Bad substitution
during bootstrapping
If known, describe the steps to reproduce the issue:
Try to make a chroot, any chroot.

Same problem updating a target!
See log below. Lost audio output since CRAS died, oh, and lost about 12 hours trying to find the hang when using SDL apps in the chroot - turns out, when it tried to use the sound device it locked up waiting for it. Killing the audio sink got the application working again. All due to chronic crouton being a CRASshole.
LOG:
chronos@localhost / $ sudo crouton -p /media/removable/sammy/ -n xenial -u
/media/removable/sammy/chroots/xenial already exists; updating it...
Preparing chroot environment...
Installing brightness into the chroot...
Installing croutonpowerd into the chroot...
Installing croutonversion into the chroot...
Installing host-dbus into the chroot...
Installing host-wayland into the chroot...
Installing volume into the chroot...
Installing pulseaudio-default.pa into the chroot...
Installing croutoncycle into the chroot...
Installing croutontriggerd into the chroot...
Installing croutonxinitrc-wrapper into the chroot...
Installing setres into the chroot...
Installing xinit into the chroot...
Installing xbindkeysrc.scm into the chroot...
Installing xorg-intel-sna.conf into the chroot...
Installing xserverrc into the chroot...
Installing xserverrc-xorg into the chroot...
Installing xserverrc-local.example into the chroot...
Installing croutonclip into the chroot...
Installing croutonnotify into the chroot...
Installing croutonurlhandler into the chroot...
Installing startxiwi into the host...
Installing croutoncycle into the chroot...
Installing croutonfindnacl into the chroot...
Installing croutontriggerd into the chroot...
Installing croutonxinitrc-wrapper into the chroot...
Installing setres into the chroot...
Installing xinit into the chroot...
Installing xiwi into the chroot...
Installing xbindkeysrc.scm into the chroot...
Installing xiwi.conf into the chroot...
Installing xorg-dummy.conf into the chroot...
Installing xserverrc into the chroot...
Installing xserverrc-xiwi into the chroot...
Installing xserverrc-local.example into the chroot...
Installing startxfce4 into the host...
Installing crouton-noroot into the chroot...
Installing startxfce4 into the chroot...
Installing enter-chroot into the host...
Installing delete-chroot into the host...
Installing edit-chroot into the host...
Installing mount-chroot into the host...
Installing unmount-chroot into the host...
Installing crash_reporter_wrapper into the host...
Installing target core...
Preparing environment...
Preparing software sources...
Hit:1 http://archive.ubuntu.com/ubuntu xenial InRelease
Hit:2 http://repository.spotify.com stable InRelease
Get:3 http://archive.ubuntu.com/ubuntu xenial-updates InRelease [109 kB]
Hit:4 https://packages.microsoft.com/repos/vscode stable InRelease
Hit:6 https://download.sublimetext.com apt/stable/ InRelease
Get:7 http://archive.ubuntu.com/ubuntu xenial-security InRelease [109 kB]
Ign:5 https://debian.trikaliotis.net stable InRelease
Hit:8 https://debian.trikaliotis.net stable Release
Fetched 218 kB in 4s (50.6 kB/s)
Reading package lists... Done
W: http://debian.trikaliotis.net/dists/stable/Release.gpg: Signature by key ECC5D8FD6374CFBD42A1991728E1D6A42AF47E44 uses weak digest algorithm (SHA1)
Ensuring system is up-to-date...
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Reading package lists... Done
Building dependency tree
Reading state information... Done
apt-transport-https is already the newest version (1.2.32).
ca-certificates is already the newest version (20170717~16.04.2).
sudo is already the newest version (1.8.16-0ubuntu1.8).
wget is already the newest version (1.17.1-1ubuntu1.5).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Syncing timezone...
Installing target audio...
Fetching CRAS (branch da64d1c5d016ada6b231ae675752d6bf3354a6f4)...
--2020-01-12 22:42:20--  https://chromium.googlesource.com/chromiumos/third_party/adhd/+archive/da64d1c5d016ada6b231ae675752d6bf3354a6f4.tar.gz
Resolving chromium.googlesource.com (chromium.googlesource.com)... <IP_ADDRESS>, 2404:6800:4003:c03::52
Connecting to chromium.googlesource.com (chromium.googlesource.com)|<IP_ADDRESS>|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [application/x-gzip]
Saving to: '/tmp/crouton-cras.IS2y6S/adhd.tar.gz'
 0K .......... .......... .......... .......... ..........  293K
50K .......... .......... .......... .......... ..........  427K

100K .......... .......... .......... .......... ..........  900K
150K .......... .......... .......... .......... .......... 1.16M
200K .......... .......... .......... .......... .......... 1.27M
250K .......... .......... .......... .......... .......... 1.78M
300K .......... .......... .......... .......... .......... 2.28M
350K .......... .......... .......... .......... .......... 2.62M
400K .......... .......... .......... .......... .......... 3.01M
450K .......... .......... .......... .......... .......... 2.99M
500K .......... .......... .......... .......... .......... 3.42M
550K .......... .......... .......... .......... .......... 3.75M
600K .......... .......... .......... .......... .......... 4.15M
650K .......... .......... .......... .......... .......... 4.72M
700K .......... .......... .......... .......... .......... 4.52M
750K .......... .......... .......... .......... .........  4.67M=0.6s
2020-01-12 22:42:22 (1.31 MB/s) - '/tmp/crouton-cras.IS2y6S/adhd.tar.gz' saved [818710]
Reading package lists... Done
Building dependency tree
Reading state information... Done
alsa-utils is already the newest version (1.1.0-0ubuntu5).
libasound2:i386 is already the newest version (1.1.0-0ubuntu1).
libspeexdsp1:i386 is already the newest version (1.2~rc1.2-1ubuntu1).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Reading package lists... Done
Building dependency tree
Reading state information... Done
gcc is already the newest version (4:5.3.1-1ubuntu1).
gcc-multilib is already the newest version (4:5.3.1-1ubuntu1).
pkg-config is already the newest version (0.29.1-0ubuntu1).
Suggested packages:
glibc-doc:i386 manpages-dev:i386 speex:i386
The following NEW packages will be installed:
libc6-dev:i386 libspeex-dev:i386 libspeex1:i386 libspeexdsp-dev:i386 linux-libc-dev:i386
0 upgraded, 5 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/2719 kB of archives.
After this operation, 14.8 MB of additional disk space will be used.
Selecting previously unselected package linux-libc-dev:i386.
(Reading database ... 309818 files and directories currently installed.)
Preparing to unpack .../linux-libc-dev_4.4.0-171.200_i386.deb ...
Unpacking linux-libc-dev:i386 (4.4.0-171.200) ...
Selecting previously unselected package libc6-dev:i386.
Preparing to unpack .../libc6-dev_2.23-0ubuntu11_i386.deb ...
Unpacking libc6-dev:i386 (2.23-0ubuntu11) ...
Selecting previously unselected package libspeex1:i386.
Preparing to unpack .../libspeex1_1.2~rc1.2-1ubuntu1_i386.deb ...
Unpacking libspeex1:i386 (1.2~rc1.2-1ubuntu1) ...
Selecting previously unselected package libspeex-dev:i386.
Preparing to unpack .../libspeex-dev_1.2~rc1.2-1ubuntu1_i386.deb ...
Unpacking libspeex-dev:i386 (1.2~rc1.2-1ubuntu1) ...
Selecting previously unselected package libspeexdsp-dev:i386.
Preparing to unpack .../libspeexdsp-dev_1.2~rc1.2-1ubuntu1_i386.deb ...
Unpacking libspeexdsp-dev:i386 (1.2~rc1.2-1ubuntu1) ...
Setting up linux-libc-dev:i386 (4.4.0-171.200) ...
Setting up libc6-dev:i386 (2.23-0ubuntu11) ...
Setting up libspeex1:i386 (1.2~rc1.2-1ubuntu1) ...
Setting up libspeex-dev:i386 (1.2~rc1.2-1ubuntu1) ...
Setting up libspeexdsp-dev:i386 (1.2~rc1.2-1ubuntu1) ...
Processing triggers for libc-bin (2.23-0ubuntu11) ...
libc6-dev:i386 set to automatically installed.
libspeexdsp-dev:i386 set to automatically installed.
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
libc6-dev:i386 libspeex-dev:i386 libspeex1:i386 libspeexdsp-dev:i386 linux-libc-dev:i386
Use 'apt autoremove' to remove them.
Suggested packages:
libasound2-doc:i386
The following NEW packages will be installed:
libasound2-dev:i386
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/114 kB of archives.
After this operation, 544 kB of additional disk space will be used.
Selecting previously unselected package libasound2-dev:i386.
(Reading database ... 310150 files and directories currently installed.)
Preparing to unpack .../libasound2-dev_1.1.0-0ubuntu1_i386.deb ...
Unpacking libasound2-dev:i386 (1.1.0-0ubuntu1) ...
Setting up libasound2-dev:i386 (1.1.0-0ubuntu1) ...
libasound2-dev:i386 set to automatically installed.
Reading package lists... Done
Building dependency tree
Reading state information... Done
patch is already the newest version (2.7.5-1ubuntu<IP_ADDRESS>).
The following packages were automatically installed and are no longer required:
libasound2-dev:i386 libc6-dev:i386 libspeex-dev:i386 libspeex1:i386 libspeexdsp-dev:i386 linux-libc-dev:i386
Use 'apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Compiling CRAS (i386)...
sh: 119: Bad substitution
Failed to complete chroot setup.
Unmounting /media/removable/sammy/chroots/xenial...

Hi,
Same problem here.
Installed my new Acer R13 Chromebook today in Developer Mode, and ran the Crouton installation script.
I also get the ¨119 bad substitution¨ error while compiling CAS :
Compiling CRAS (native)...
sh: 119: Bad substitution
Failed to complete chroot setup.

Solution (At least for me):
I run a Hewlett-Packard Chromebook, Model Name: Chell.
All I did was switch the channel back to stable, and it seemed to fix the CRAS script. Before, it wouldn't work because I was on the developer channel.
So there you have it.

@FadeShock
Thx for the hint, appreciate it!
I'm currently using the 81.0.xxxxx dev channel. Tonight I will switch back to "stable" and install Crouton again.
Fingers crossed!

No problem! Hope it works out for you!

@FadeShock
ISSUE SOLVED :-)
Used this procedure, maybe it helps others.
I re-installed Crouton after switching back to the Stable channel:

was using the 81.0.xxxxx dev channel
switching to "stable" executes a Powerwash, so a full reset.
when rebooted the Chromebook is still in Developer Mode, and now running 79.0.xxx (official build)
installed Crouton acc. this Github using "The easy way"
the installation runs OK, "compiling CAS" now runs fine, the "119 bad substitution" error is now gone.
installation fully completes, asking for "... specify username ......", so all is well.

Excellent, many thanks for your help !! Spent many, many hours while trying to solve the issue on my own, in the end the solution is simple.

No problem!


Any starter file?

Hello @Sjlver
Thanks for making this package. It's really an awesome idea to implement forms as code!
I tried to convert a .yaml file but I faced a lot of errors. It seems like my file is not compatible with the tool. I tried the format you provided in the screenshot but it seems there is something missing.
Could you please provide a guide on the format in the README file or maybe an example .yaml file so we can use it as a boilerplate?

Hi @hamzakat,
I'm happy to hear that you're interested in yxf.
The easiest way to get a YAML file is to take an existing xlsform file (that is, an Excel table with a survey, choices, and settings sheet). Then you can use yxf to convert this file to YAML. If that doesn't work, let me know. Ideally, include the error message that yxf prints.
Let me know if that helped!

Yup, that works!
Error messages were appearing because I wasn't adding the yxf: section properly.


Problem with EnsembleGPUArray() when updating library

Hi, I updated the library to version v2.1.0 and the codes that previously worked for me with the EnsembleGPUArray() now throw me the following error
MethodError: no method matching EnsembleGPUArray()
Closest candidates are:
  EnsembleGPUArray(!Matched::Float64) at [~/.julia/packages/DiffEqGPU/USGaj/ext/CUDAExt.jl:8](https://vscode-remote+ssh-002dremote-002bnabucodonosor-002eccad-002eunc-002eedu-002ear.vscode-resource.vscode-cdn.net/users/mabrudsky/FAMAF/Beca_CIN_Trabajo_Final/skymap/GPU_Julia/~/.julia/packages/DiffEqGPU/USGaj/ext/CUDAExt.jl:8)
  EnsembleGPUArray(!Matched::Any) at [~/.julia/packages/DiffEqGPU/USGaj/src/DiffEqGPU.jl:458](https://vscode-remote+ssh-002dremote-002bnabucodonosor-002eccad-002eunc-002eedu-002ear.vscode-resource.vscode-cdn.net/users/mabrudsky/FAMAF/Beca_CIN_Trabajo_Final/skymap/GPU_Julia/~/.julia/packages/DiffEqGPU/USGaj/src/DiffEqGPU.jl:458)
  EnsembleGPUArray(!Matched::Backend, !Matched::Float64) where Backend at [~/.julia/packages/DiffEqGPU/USGaj/src/DiffEqGPU.jl:337](https://vscode-remote+ssh-002dremote-002bnabucodonosor-002eccad-002eunc-002eedu-002ear.vscode-resource.vscode-cdn.net/users/mabrudsky/FAMAF/Beca_CIN_Trabajo_Final/skymap/GPU_Julia/~/.julia/packages/DiffEqGPU/USGaj/src/DiffEqGPU.jl:337)

Yes, there was a breaking change, which is why a new major version was released which signals a breaking update.
@utkarsh530 did you not update the docs?

@martin-abrudsky You'll need to provide a backend for the GPU codes to compile. For Nvidia GPUs, do something like this:
using CUDA

backend = CUDA.CUDABackend()

solve(monteprob, Tsit5(), EnsembleGPUArray(backend), ...)

Or else reference the tests; they have the updated API. https://github.com/SciML/DiffEqGPU.jl/blob/master/test/ensemblegpuarray.jl#L23
I will update the docs by this weekend.

I enabled doctests so you get build failures for this in the future, and wrote a page on the backends. @utkarsh530 complete https://github.com/SciML/DiffEqGPU.jl/pull/255 and then we can close this.

The new documentation is fully tested at build time and is updated to v2, so after about 20 minutes https://github.com/SciML/DiffEqGPU.jl/pull/255 will have solved this. Thanks for bringing this to my attention.


Introduce performance regression CI check

Using Gimbal and GitHub Actions to ensure Performance Budgeting on the VueJS.org homepage.
This CI action will

[x] ensure lighthouse tests don’t fall below thresholds
[x] ensure a11y rules are observed
[x] ensure heap memory doesn’t go over the threshold
[x] automatically create a PR comment with items that are failing

The thresholds are loose to reflect the current state of the built site. Some of the tests are skipped as they are taken care of on the server side post-deployment.
Gimbal is not made a dependency to keep the dependency tree light (apart from the light axe plugin). However, it can be executed locally via a CLI command as such:
npx @modus/gimbal

@bencodezen since you are leading the charge for vuepresss migration, I think your input on this is important

@sdras Thanks for pinging me. Sorry for missing the notification on this one and not seeing it till now.
I'll definitely need to play around with Gimbal to see how it interacts with VuePress. Will keep you posted. 👍

Thanks @bencodezen and @sdras. Please let me know if I can help with anything there.


Create sensu-plugins-strongswan repo

I am writing plugins for strongswan. Can you create the repo please.

@eheydrick you are all set


code optimize for TableRule.

Pull Request Test Coverage Report for Build 10564

2 of 2 (100.0%)  changed or added relevant lines in 1 file are covered.
3 unchanged lines in 1 file lost coverage.
Overall coverage decreased (-0.02%) to 58.063%

Files with Coverage Reduction
New Missed Lines
%

sharding-orchestration/sharding-orchestration-core/sharding-orchestration-core-registrycenter/src/main/java/org/apache/shardingsphere/orchestration/core/registrycenter/util/IpUtils.java
3
76.0%

Totals

Change from base Build 1164:
-0.02%

Covered Lines:
11871

Relevant Lines:
20445

💛  - Coveralls


accuracy and latency rules for open

Added at Tom's request. There is more in the open rules discussion
https://docs.google.com/document/d/1SX458TLuQGeRAnZm9Ri2SPQ4ab4Mg0oWVwz9JR-b0i8/edit
but that is pending integration of rules defining the form of submissions etc.

Can you mention that testing at a non-default tail latency requires a non-default minimum number of queries using the standard formula?


Added Minh Nguyen into the list

Observed that @1ec5 is not part of the data team list. Due to this reason, his edits are getting quarantined under detectors. Example is all the place changes @1ec5 had done got stuck in quarantine. https://osmcha.mapbox.com/?is_suspect=False&checked=False&is_whitelisted=All&all_reason=False&reasons[]=62&page=2
cc @batpad @maning @planemad

This would mean Minh also gets added to our data team dashboards like osm-edit-report -- I think this is fine, but just want a go-ahead from @geohacker

Of course!

Thank you for trusting me! ❤

Thank you for trusting

lol! @1ec5 we don't want your crop maze edits get into our ML training data.


Interesting matrix-free optimization

Someone suggested an interesting optimization to CVXcanon. Right now CVXcanon takes an expression tree where each parent node represents a linear function and  converts it to a map of variable to matrix coefficient (then to a single matrix). The algorithm essentially replaces each parent node with an explicit sparse matrix and then collapses the tree by multiplying out the matrices.
But there's no need to form the matrices at each parent node. You can just have the parent node evaluate it's function on the input coefficients. For example, if a node's function is to extract index i, it would extract row i of each of its input coefficient matrices. Does this make sense? It's not super clear how much better this would be, but at least you would avoid forming a lot of matrices.

Is this basically the idea of a presolve -- that we could avoid creating matrices by evaluating and combining appropriate terms in advance? i.e. combining Ax + Bx into (A+B)x before forming matrices? Yes, I think this would be a very good idea. Is there any existing literature on presolve algorithms for LinOp trees?
In the index example that you used, simplification would only be possible if you are extracting that index from a constant expression, correct? Or is there something that you think could be done even in the case of extracting indices from variables?

This is different from a presolve, though I also think a presolve would be great. Here's a clearer example of what I mean. Suppose we have the expression (Ax + By)[0]. That makes the tree
index [0]
    |
    +
 |    |
 A    B
 |    |
 x    y

Suppose we run CVXcanon on this tree. When we're evaluating the index[0] node, it will have the coefficient inputs {x:A, y:B}. Normally what we do is form a sparse matrix C that represents index[0], then we multiply C by all the coefficients. So we get {x:CA, y:CB}. But we could just directly carry out the indexing operation on A and B. So we reduce A to A[0,:]=CA and B to B[0,:] = CB, i.e, we have output  {x:A[0,:], y:B[0,:]}. The gain here is we never form the matrix C and we possibly can evaluate CA and CB more efficiently.

Hi Steven, I started to work on this on a new branch, feature/directly_apply_linops. Indexing and summing now occur with no intermediate matrix calculation. Are there any other linops that you think it could make sense to try this sort of strategy on? I think you mentioned transpose at the meeting yesterday.

Got it working for transpose, too.

This is great! Thanks for doing this. Does it speed up the matrix stuffing?
On Sun, May 29, 2016 at 12:47 AM pquiggles<EMAIL_ADDRESS>wrote:

Got it working for transpose, too.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/cvxgrp/CVXcanon/issues/19#issuecomment-222347575, or mute
the thread
https://github.com/notifications/unsubscribe/AAfyIK0eIggon-i8ugIIfQv11LIHG4Syks5qGUR6gaJpZM4ITK0Z
.

So I'm seeing improved performance on most problems, and some performance drops on a few... but ironically I think this is almost entirely due to the fact that I changed matrices from being column major to row major in this branch. I'll investigate more fully and let you know tomorrow.

Any update on this? Matrices should probably be column major.


Apply the english version for the about description

Idea Description

Title says everything
Use same text as Web https://droidkaigi.jp/2022/en/

DroidKaigi is a conference tailored for Android developers.
It's scheduled to take place on the 5 to 7 of October 2022.

Reference images and links

I'd like to do this task 🙋

Thanks! Assigned!🙏


Concurrent jobs with docker login (dind)

Minimal .gitlab-ci.yml illustrating the issue
stages:
  - build

job:
  stage: build
  services:
    - docker:dind
  image: docker:latest
  script:
    - docker login -u "$CI_REGISTRY_USER" -p "$CI_JOB_TOKEN" "$CI_REGISTRY"
job2:
  stage: build
  services:
    - docker:dind
  image: docker:latest
  script:
    - docker login -u "$CI_REGISTRY_USER" -p "$CI_JOB_TOKEN" "$CI_REGISTRY"

Expected behavior
concurrent jobs runs ok (same as in gitlab-ci)
Host information
Macos 13.4 (22F66)
gitlab-ci-local 4.41.2
Additional context
Hello.
When I try to run more that 1 job at the same time (stage).
gitlab-ci-local --cleanup --stage build

where in each stage i need to do "docker login". Only one job will login. success and other will fail with this error:
error during connect: Post "https://docker:2376/v1.24/auth": tls: failed to verify certificate: x509: certificate signed by unknown authority (possibly because of "crypto/rsa: verification error" while trying to verify candidate authority certificate "docker:dind CA"

But run them separate is ok.
Here is my .gitlab-ci-local-env as in your dind example
PRIVILEGED=true
ULIMIT=8000:16000
VOLUME=certs:/certs/client
VARIABLE="DOCKER_TLS_CERTDIR=/certs"

Here is my .gitlab-ci-local-variables.yml (i use registry from gitlab, you need to provide your user and deploy-token)
CI_REGISTRY: "registry.gitlab.com"
CI_REGISTRY_USER:
CI_JOB_TOKEN:

Thank you!

Yeah, you can't run docker login over each other using --no-shell-isolation add --shell-isolation to your command or add GCL_SHELL_ISOLATION=true  to your .bashrc

I can reproduce on Ubuntu 22.04 with gitlab-ci-local --version 4.41.2
Does this happen on real gitlab runners, if both jobs execute on the same runner at the same time? @dfyz011

It's because the ci job's share the same certs folder that dind needs.

How can we mitigate here?
I'd love to invest some time here but I lack the knowledge how the general setup is working, like, where is the command line generated with the volume mounts etc. Having a detailed debug log what docker commands are being issued would work wonders here.
I suspect, we need to mount a separate cert dir per concurrent job?
If so, why?
The root cert should not change, should it?

Addendum: maybe we can set --concurrency implicitely to 1 if we have dind jobs? Ofc logging also to stderr that we do so.

It seems like each job/service pairs needs it's own certs mount.
But i can't figure why that would be needed.

Any update on this? Is there anything I can do to mitigate this issue? It is too slow to run the jobs one by one.


Multiple brackets

As far now brackets are exposed to the output, we can claim that output is brackets-dependless, so we can recognize every type of brackets: [], {}, (). It is more useful for the basic use-case

Done


Catalog entity folders

CatalogEntityFolders would allow users to organise (and optionally share) entities. This could be implemented as a new CatalogEntity kind (would not require new apis).
Example structure using new kind:
{
  apiVersion: "entity.k8slens.dev/v1alpha1",
  kind: "CatalogEntityFolder",
  metadata: {
    uid: "...",
    name: "My Folder",
    source: "local",
    labels: {}
  },
  spec: {
    items: []
  },
  status: {}
}

UI mockup:

This is also a must have for me, and I bit surprised, that Lens IDE does not allow clusters grouping in folders from the beginning.


fix: the header branch selector now properly encode the branch name as an URI

Fixes #492
I included some new tests to check the encoding, using the one of the most character in branch names "/".

Thanks for providing this fix! Looks good to me.


Fixing regression with templates depending on server resources

This commit fixes a regression introduced in Aria Templates v1.7.6 (dc9c3ba89fdaaf5a67fc2707f916d1f599b4a56d) :
templates which have a server resources dependency (i.e. whose classpath ends with .Res) failed to be loaded.
For example, if the template contained something like this:
 {Template {
   $classpath : "x.y.MyTemplate",
   $res : {
     myRes : "x.y.myResourceName.Res"
   }
 } ...

That template could not be loaded, with the following error message:
 [aria.core.MultiLoader] Load failed
 ReferenceError: myResourceName is not defined

Change is fine for me :+1: assuming that the build is fine :)

@benouat Thank you for your review. I have fixed the test, rebased the branch and integrated it in master.


Volume mount with subfolder and ${pwd} not working

The following command does not mount my local files into the container:
gefyra run ... -v ${pwd}/app:/app
I can see the "app" folder within the container, however its empty.
Running gefyra run ... -v ${pwd}:/app works fine. Thus I guess its a bug.

this notation does not work.

You are completely right. Using "&{...}" does not make sense. I tried:
gefyra run ... -v "$(pwd)/app":/app
gefyra run ... -v $(pwd)/app:/app

Both work perfectly fine.
Thanks Robert!


Eliminate extra div introduced by ReactViewAdapter

ReactViewAdapter needs a div to hand out to IComponentHTMLView and IComponentHTMLVisual for their render().  Currently, it creates a new div, but maybe we could use ref forwarding to eliminate that?

Closing this as it's not an issue for any customer at the moment.


Class based views

I just discovered sanic and was really impressed of its speed, so decide try to build API on it. But I was really lack of class based views, so write some simple implementation.
Changes:

added HTTPMethodView class
added debug parameter for sanic_endpoint_test for easier test debugging
added missing dev requirement - aiofiles (at least it fails on my machine without it)
Add one more way to register routes: add_route. It already existed for the BlueprintSetup, so I just made such method for Sanic class and make available for Blueprint

As a newcomer to python webdev, the name 'MethodView' is a bit meaningless. Especially because the word 'method' is synonymous with function. After a brief google search it seems that the name came from the flask project. It took me a bit to realize that the name comes from 'HTTP method', but, I was thinking there might be a more intuitive name. What about RESTView (or RestView, not sure which is more pythonic)? Also, it's nice that RESTView is shorter. Just some food for thought!

@rednebmas I don't think that RESTView will be better for this case, because get, post etc are parts of the HTTP protocol, not REST-specific and one could use them not only for REST architecture. You're right I use MethodView from Flask, because Sanic is a Flask-like :). Django use just generic View name for such case, so for shorter name just general View could be used.
What do you think?

Oh, yup, that makes sense. I do like View, but after thinking about it for a bit I think I prefer HTTPMethodView. It is much longer, but it is also a lot clearer, and you will likely only use the name infrequently. It also might indicate that there are other types of views, although ErrorView is the only other thing I can think of at the moment. Thanks for considering my input!

This was a great pull request I really appreciate the effort @AntonDnepr

我觉得应该像tornaodo一样，调用handle之前应该调用一个prepare，调用之后调用finish。


Dynamic Input Fields

I'm new in react+redux and I want to create a form where I could add input fields. Do you have a example maybe?

Sure, if you have the initial setup already completed, you can do something like this:
// Assuming you have a 'user' modelReducer in your store...
import { Field, actions } from 'react-redux-form';

// inside the render() method of your React component:

render() {
  const { user, dispatch }  = this.props;

  return (
    <div>
      { user.phones.map((phone, i) =>
        <Field model={`user.phones[${i}]`} key={i}>
          <input type="text" />
        </Field>
      }
      <button onClick={() => dispatch(actions.push('user.phones', ''))}>
        Add phone
      </button>
    </div>
  );
}

Does this make sense?


add logger and fix bug issue #19

What is this PR?
fix #19 and #3
I also introduce zerolog for verbose outputs
usage
$ bqiam permit project READER -p sample-project-id -u<EMAIL_ADDRESS>-v // added verbose option flag
project_id: sample-project-id
role:       roles/viewer
users<EMAIL_ADDRESS>If you proceeds, PROJECT-WIDE permission will be added. Are you sure? [y/n]y
<EMAIL_ADDRESS>already has a role: roles/viewer, project: sample-project-id. skipped."}. // This is a verbose output.
Permit<EMAIL_ADDRESS>to sample-project-id access as roles/viewer

@hirosassa LGTM! thanks!

@snowhork Thanks!

also fixed #3


Update nightly workflows and dependencies

Codecov Report
Patch and project coverage have no change.

Comparison is base (fe92c05) 100.00% compared to head (e621ce7) 100.00%.

Additional details and impacted files
@@            Coverage Diff            @@
##              main       #58   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files            9         9
  Lines          255       255
  Branches        55        55
=========================================
  Hits           255       255

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


Duplicate set-cookies in Web API response header

First language cookie response:
https://github.com/dnnsoftware/Dnn.Platform/blob/8e19f0ed92322dad9433b14e42a526139c19cb51/DNN Platform/HttpModules/Localization/LocalizationModule.cs#L50-L54
Duplicate Second language cookie response:
https://github.com/dnnsoftware/Dnn.Platform/blob/1c5b7d86d077023b962a5a099565b7a6ccec2fe4/DNN Platform/DotNetNuke.Web/Api/Internal/DnnContextMessageHandler.cs#L27-L33
This causes each API call to be repeated 2 times of set-cookie
Should I remove the SetThreadCulture method in DnnContextMessageHandler?

@donker I know you been in that section of code recently, any input on this ? Should we check if there is already the language cookie and replace it instead of adding or some such ?

I've changed the cookie code to ensure only one goes out. This should be fixed in 9.8.1.


Feature list table: add GO column as a hidden column

Add GO column as a hidden column in the Feature list table

Added and available in alpha build

tested and confirmed.


Add required features to winit for re_renderer_examples to pass check on linux

What
Fixes CI issue on main.
Checklist

[x] I have read and agree to Contributor Guide and the Code of Conduct
[x] I've included a screenshot or gif (if applicable)
[x] I have tested the web demo (if applicable):

Using newly built examples: app.rerun.io
Using examples from latest main build: app.rerun.io
Using full set of examples from nightly build: app.rerun.io

[x] The PR title and labels are set such as to maximize their usefulness for the next release's CHANGELOG

PR Build Summary
Docs preview
Examples preview
Recent benchmark results
Wasm size tracking

Yes, these are annoying:

https://github.com/emilk/egui/pull/3909

😆


Initialize props pattern

Jira

http://vjira2:8080/browse/BDS-536

Summary
I took another pass at the component props pattern with feedback from the team.
Details
I added a new Twig function initialize_props(_context, schema) and a new utility function build_props_array(). initialize_props() loops through all the Twig variables and returns the ones that match up with a prop in the schema.
I also added a new key, name, to the schema for setting custom (kebab-case) names. This also helps with props that are nested, like author.title. We can use the name key to set the author title prop name to whatever we want for the web component. The array returned by initialize_props() will use this name key if it is set. No need to set on props that are just one word.
Next, in the Twig template, the props array is merged with the attributes array as it's turned into a Drupal object. Now we can use regular Twig merge because we're not passing in null prop values which would overwrite attributes with the same name.
merge_attributes() has been removed, new functions added to BoltCore.
Next steps

Add function to set default values on Twig variables (I can make a ticket)
Add function to apply inner/outer class filtering (http://vjira2:8080/browse/BDS-884)

How to test

Review new pattern and functions. Do you approve of this approach?
What do you think about using name key in schema for adding kebab formatted names for web component? I'm sure automating this is possible, but will introduce more complexity. For instance, how do we handle nested schema props?
Suggestions for function names? initialize_props(), build_props_array()?

Just checking, is the build props currently working?  I was under the impression we needed the underscore_case props to be transformed to kebab-case since we're no longer storing a name key in the schema.
In any case, I will still continue to troubleshoot autoloading so we can get Case Helper working.

Just checking, is the build props currently working? I was under the impression we needed the underscore_case props to be transformed to kebab-case since we're no longer storing a name key in the schema.
In any case, I will still continue to troubleshoot autoloading so we can get Case Helper working.

@remydenton accidentally merged, has been reverted. Please do continue troubleshooting autoloading. Thanks! I'm making a new PR right now.


Common table expression (WITH) executed multiple times

We we're trying to optimize a few queries which basically have the issue that there is one (or multiple) results of a WITH-statement that can be reused to speedup the results of other subqueries and the final result.
I wrote an example query (see below) where the expensive_input_data would take the majority of the time of the query (time & resources like CPU). The top_a, top_b and top_c are only examples and could in reality have very different logic.
Currently I attempt to re-use the results of that in 3 sub queries. From my point of view it should only run once, and then stream the results into the other subqueries.
What we see however (version 0.114) is that it is executed once for every sub query that depends on it (in this example 3 times).
Is there a way we can optimize by rewriting the query? If not, how can we improve the source code to support these kind of use cases? Can we trick the execution plan to distributed the results to the splits? Is there something that needs to be coded (happy to do so if you can point out the major steps and what syntax we need to "hint" for this)?
WITH expensive_input_data
AS
  (
           SELECT   cola,
                    colb,
                    colc,
                    count(1) AS c
           FROM     my_table
           JOIN     other_table
           ON       (
                             my_table.id=other_table.parent_id)
           WHERE    1=1
                    /** expensive filter etc */
           GROUP BY 1,
                    2,
                    3 ), top_a
AS
  (
           SELECT   cola   AS k,
                    sum(c) AS c
           FROM     input_data
           GROUP BY 1
           ORDER BY 2 DESC
           LIMIT    10 ),
  top_b
AS
  (
           SELECT   colb   AS k,
                    sum(c) AS c
           FROM     input_data
           GROUP BY 1
           ORDER BY 2 DESC
           LIMIT    10 ),
  top_c
AS
  (
           SELECT   colc   AS k,
                    sum(c) AS c
           FROM     input_data
           GROUP BY 1
           ORDER BY 2 DESC
           LIMIT    10 )
  SELECT *
  FROM   top_a
  UNION
  SELECT *
  FROM   top_b
  UNION
  SELECT *
  FROM   top_c;

Thanks for looking into this!

Can you try a brute-force approach to save the common subquery output into a new (temporary) table and then reuse it x3? I don't know of any better way today in Presto.

Thanks @KBP-TDC for your reply. We have tested that, and yes it does work, but it is not very flexible as it will cause a lot of overhead and unnecessary pressure on the metastores (from Hive).
It feels to me that this shouldn't be too hard to accomplish looking at the streaming data that is already in place.

In the latest release, you should be able to do this in a transaction like this;
start transaction;
-- materialize "with" clauses from above
create expensive_input_data as select ...;
create top_b as select ...;
create top_c as select ...;

select ....;

rollback;

With this Presto will not write the tables to the metastore at all.  If you want to create a table and commit in the transaction, simply drop the tables at the end.

That sounds like a much better workaround 👍  thanks!


java.lang.ArrayIndexOutOfBoundsException: Index 0 out of bounds for length 0 error when trying to commit in SI 1.1.0

Description
Following issue when trying to use the commit function in SI 1.1.0 after reading data from one database and inserting into another when the event chunk is a batch of multiple events.
Steps to Reproduce
Create siddhi application to insert and commit data into the database by reading from another database
Affected Component
SI
Version
1.1.0
Environment Details (with versions)
No response
Relevant Log Output
No response
Related Issues
No response
Suggested Labels
No response

public PR: https://github.com/siddhi-io/siddhi-store-rdbms/pull/249

Fixed in public. Hence closing this issue.


changes dealing with circular import

Description
Include description of feature this PR introduces or a bug that it fixes. Include the following information:

Context: There is a circular import error when importing from default_pipelines.py and automatic_resource_estimator.py
Transferred code from automatic_resource_estimator.py into default_pipelines.py

Please verify that you have completed the following steps

[x] I have self-reviewed my code.
[ ] I have included test cases validating introduced feature/fix.
[ ] I have updated documentation.

This bug should have been fixed just by taking both files outside of of the graph file. That's prefereable since the automatic resource estimators now contain a footprint analysis tool.


Simplify logic on if statement

Referencing the same boolean multiple times in a logical statement is
probably not what was intended.
Here's the truth table for this if statement, which isn't altered:
pumvisible()|&previewwindow|g:...  |is true
0           |0             |0      |no
0           |0             |1      |no
0           |1             |0      |no
0           |1             |1      |no
1           |0             |0      |yes
1           |0             |1      |yes
1           |1             |0      |no
1           |1             |1      |yes

thanks.


DataTables warning: table id=tableId - Exception Message:

DataTables warning: table id=tableId - Exception Message:
htmlspecialchars() expects parameter 1 to be string, array given
Hello, i get this message alert after updating to the latest version.
Any ideea what could be?
I using it with Eloquent.
Hall::with(['One', 'Two'])->select(['table.column']).. and with
Hall::select(['table.*']).. will return that alert.
With Hall::select(['table.column']).. will work..

Yes, I recently released an update https://github.com/yajra/laravel-datatables/pull/1131 that throws the exception on alert instead of error dump on console.
Can you please paste some snippets to reproduce the issue? Just to be sure what version are you using as displayed on composer show? Sorry for the inconvenience.

I`m using v7.5.1 with laravel 5.4.
I dont have a simple snippet (my code is complex than simple query ive pasted) but you could try exactly same query from comment. Should return that alert.
Thank you for your greate work!

@oriceon I think this is somehow related to MySQL version. It's working fine on MySQL 5.7++ but was able to reproduce the issue on MySQL v5.5.x.
Will dig further and hopefully create a patch to fix this. Thanks for reporting.

My MySQL version is: mysql  Ver 14.14 Distrib 5.7.18, for Win64 (x86_64)

My initial findings is wrong. It seems like array_dot helper is not flattening the array and still returns an empty array values. Releasing a patch in a minute.

@oriceon can you please verify if issue was fixed on v7.5.2? thanks!

Sure, i tested and you fixed! Thank you again.


Add missing version strings for dependent crates

In order to publish crates all dependencies should specify the
versions.  Previously some local crates were not specifying the version,
now they all are.

Current dependencies on/for this PR:

develop

PR #63   👈

This comment was auto-generated by Graphite.

The other missing ones should be added now

I'm holding off on a review b/c I think all this should be fixed by #61