[Missing SNMP Polling Profile] Dell SonicWALL NSA 4600 #396

Just in case, #396 issue was already closed, so create an this issue.
Please kindly check the following message.
[Missing SNMP Polling Profile] Dell SonicWALL NSA 4600 #396

Sorry for late reply.
Today, we did destroy current SNMP container and redeploy a fresh container.
(We also check the container image and the update was latest Sep. 9 version)
And also, did the discovery job against the target devices.
However, SNMP container don't recognize Sonicwall profile and still kentik_default.
Is existing sonicwall profile support followings?
Device Model: SonicWALL NSA 4600
System Object Identifier (SysOID): <IP_ADDRESS>.4.1.8741.1
Version: SonicOS Enhanced <IP_ADDRESS>-79n.jpn
Please kindly check the profile again.

@shu-ctc the profile already includes the sysOID from your snmp walk.  You will likely need to take this up as a New Relic tech support issue so they can walk through this with you.


Possible incompatibility with Dynamic Surroundings [1.7.10]

Let it rain, build a rocket, shift + right click to get in the interface. Select the guidance computer for example, crash to desktop.
Crashlog: http://pastebin.com/1v50GfKU
Not sure if this is AR related.

I only see DynSurroundings in the trace.  Will investigate though.

Looks like I had to do with the voodoo around the fake world the rocket uses for inventory/tile interaction.

Will close this for now, if it persists in 1.0.4 just comment on this issue again.


feat(add): version control for snapshot-finder

Adds version parameter for snapshot-finder
Changes mis-spelled word in parameters

If this should be based from or point to a different branch please let me know!

Thank you very much for the commit!
I'll review and merge it.
For your information, we’re planning a full transition from Node to Deno in solv5 to minimize runtime environment differences. Currently, due to pnpm and Node, some users are encountering issues with environment setup.
If you’d like, feel free to join us on Discord, where we can discuss the future vision for solv. Thank you again!

That sounds great! I have joined and left a message.


Added implicit conversion from BigDecimal to Afrondbaar[BigDecimal]. …

Now BigDecimals can also be rounded with "BigDecimal naarBeneden (or other rounding modes) afgerond op (Int) decimalen". Expanded property based tests.

Looks great, merging :)


Attribute Manipulations are a security risk

AMs are written in PHP and as such have complete control over EngineBlock, if someone were to gain access to the Service Registry (with something like CSRF) then it would be trivial to inject something malicious into EB.
It might be worthwile to migrate AMs to a more restricted language (that is still turing complete but specifically designed for such a purpose) like Lua: http://php.net/manual/en/book.lua.php

7.3.3 SUR-703 – Code Execution
Vulnerability ID: SUR-703
Vulnerability Type: Code Execution
Threat Level: Extreme
Description
The response manipulation mechanism provided by EngineBlock is exposed through a web form in ServiceRegistry. This form enables admin users to directly edit the PHP hooks that are executed when SAML messages pass through EngineBlock.
Technical Details
EngineBlock provides a facility for manipulating SAML responses that pass through it. This is accomplished through admin-defined PHP hooks. ServiceRegistry provides direct access to these PHP hooks, presumably for ease of administration. An attacker which has access to an admin account (either via stolen credentials/sessions or through XSS in an admin's browser) can modify these hooks arbitrarily. By inserting exploit code and either waiting for a suitable SAML response to pass through EngineBlock or even triggering such a response explicitly, this grants the attacker code execution on the webserver in the context of the webserver process' user.
Impact
This vulnerability represents a critical avenue for code execution on the webserver. The triviality of exploitation coupled with the relative ease of accessibility (e.g. obtained using SUR-701 and SUR-702) make this an especially dangerous vulnerability.
Recommendation
It should be considered whether this functionally is really needed, and has to be exposed through a web interface. If at all possible, we strongly recommend removing access to these hooks through the webapp. Sandboxing of the PHP hook execution is not a promising avenue of mitigation.

Let's state up front that the choice for a turing complete attribute manipulation has been deliberate and is the raison d'etre of this functionality. Re the recommendation: the functionality is really needed.
Although the potential abuse when malicious code is injected is large, on a more abstract level it's not an elevation of possibilities compared to other metadata fields. That is, if we were to remove a feature but someone would still be able to manipulate the SR web interface in the same way, they could replace certData for an IdP and have all the freedom they want to impersonate people, thereby violating the core purpose of the platform. Singling out this feature for removal would therefore not in that sense make the platform significantly more secure. Having the facility in SR means that it's detectable and reversible when the field is being abused. Therefore, I reject the 'extreme' classification of this issue.
Nonetheless, as OP said on a new implementation a good case could be made to use a separate language like LUA instead, so it's more easily sandboxed. This would limit the actions malicious code can do to a very defined set, instead of doing random things on the system, so would certainly be an improvement.
However, given the arguments above and the expensive migration scenario, I do not see this fixed in the short term.

Setting an appropriate disable_functions in PHP does limit what AM code can do. I've added some documentation about this. For now I think we consider this "as designed".

As another measure we've made a feature in Manage that you can limit who / which clients can set attribute manipulation, further reducing the risk. We've also created features to make AM's less needed. I think the rest is currently accepted.


Support for devicer mapper IMA validation

Some systems depend on that files are protected by either encryption or something like dm-verity, but before there was no way to confirm from the outside if those were setup correctly.  Now we can validate that through IMA and this PR adds support for validating the different device mapper target and device events introduced in kernel version 5.15 [1].
The IMA allowlist format is extended to include a dm_policy for configuring rules to validate those entries [2].
The rules can be matched either on the uuid or name of the device using a regex. Entries can be validated against  constants or regex expressions. None can be used to ignore a entry. Please check if this works most use cases.
Because the format for dm-ima has a higher complexity than the base IMA format the lexer and parser is generated with lark [3].
This has the advantage that the overall code is more readable, less error prone to parsing errors and simpler to extend.
Currently with some of the attribute values change in target table no new event is generated. I've proposed a new event that handles that case [4]. If you have the time have a look at this change.
Parsing and tests are currently implemented for following device mapper targets: verity, cache, crypt, integrity, linear, mirror and snapshot. More will be added after initial release of this feature.
Lark versions from 0.8.1 to the latest version (1.1.1) should work, which covers the most of the versions packaged today.
Note that on older versions we fallback to a slower parser.
The transformation of the lark tokens into python objects  heavily relies on dataclasses, so Python 3.6 users will have to install the dataclasses compatibility package (https://pypi.org/project/dataclasses/).
Notes

Kernel documentation for cache needs to be updated
Parsing rules for mirror, multipath, raid and striped are more complex
end-to-end tests are failing because lark is not installed

[1] https://www.kernel.org/doc/html/latest/admin-guide/device-mapper/dm-ima.html
[3] https://github.com/lark-parser/lark
[4]<EMAIL_ADDRESS>[2] See tests for example policies

@aplanas renaming the ima_ast to ast and ima_dm to dm makes sense and I'll change that but in what would you rename the original ima.py file?

@aplanas renaming the ima_ast to ast and ima_dm to dm makes sense and I'll change that but in what would you rename the original ima.py file?

I think that we can do that later. I am still digesting the PR!

/packit retest-failed

@mpeters I still need to include a patch for dataclasses support for Python 3.6. I'll rebase it tomorrow on master, add a warning that it is still experimental and add that patch for dataclasses.

@mpeters should I import the fallback code for dataclasses directly into Keylime or should people install it from pypi?

@mpeters should I import the fallback code for dataclasses directly into Keylime or should people install it from pypi?

What does the fallback code look like? Is is commonly packaged by distros (RH, Fedora, SUSE, Ubuntu are our biggest concerns)?

What does the fallback code look like?

We would just import the official dataclasses backport into Keylime (basically this patch: https://github.com/utkarsh2102/python-keylime/blob/1ea72cf75309f606ccfcd9015e29dcd4be79c654/debian/patches/embed-dataclasses-module.patch) and load it conditionally based on the Python version.
The dataclasses package  is not really packaged for any distribution (it is only in EPEL 8).

The dataclasses package is not really packaged for any distribution (it is only in EPEL 8).

Just to confirm that this is the case for SUSE (SLE*) : ((

I now added the backport for dataclasses. The centos stream 8 failure is not related to the PR.

/packit retest-failed

@mpeters I think this is ready for going into the 6.4 release as an experimental feature. I've added a warning that is generated when a policy contains a device mapper policy.


fix: close drop down after navigation

a slight hack for now, could be done with css after #136 has been merged or even in the future.
closes #130

a slight hack for now, could be done with css after #136 has been merged or even in the future.
closes #130

yup this can work, we'll be using Shadcn after we complete the refactoring, so we'll get some of these interactions for free.
see #31


Add license to package.json.

Fix to allow tools such as nlf to correctly identify license type.

Module seems abandoned. Closing.

You would think that the fact that any code was last updated 6 to 7 years when filing this ticket would have been a clue here...
Don't use this parser. It is very very slow. (No, seriously, super slow.) You can find a proper ES5 parser at https://github.com/qfox/zeparser2 which is fast and complete. I'm leaving this code up for the sake of learning from it and as part of my portfolio.
Take it for what it is. (Slow! :) )


[0.6.x] Invalid IR (missing conversion) for adapted Int-to-Long in match with 2.13.0-M3

OK, this is a really, really weird one. Discovered when trying to upgrade scala-xml to 2.13.0-M3. It only happens on 0.6.x, using Scala 2.13.0-M3.
Here is a minimal reproduction:
object HelloWorld {
  def main(args: Array[String]): Unit = {
    val l: Any = 0 :: Nil
    overloaded(l match {
      case x :: xs => 5
    })
  }

  def overloaded(x: Long): Unit =
    assert(x.equals(5L))

  def overloaded(x: Any): Unit =
    assert(false, "test(Any)")
}

The ingredients are:

An overloaded method, with one overload taking a Long
A call to the overloaded method, whose argument is a match
The rhs of the case is an Int

Symptom: IR checking error (or weird link-time or run-time misbehavior if the IR checker is not enabled, as is the case in scala-xml):
[error] HelloWorld.scala(15:14:If): LongType expected but IntType found for tree of type org.scalajs.core.ir.Trees$IntLiteral

Sure enough, the IR is bogus:
> helloworld/scalajsp helloworld/HelloWorld$.sjsir
module class Lhelloworld_HelloWorld$ extends O {
  def main__AT__V(args: T[]) {
    val l: any = {
      val rassoc$1: int = 0;
      mod:sci_Nil$.$$colon$colon__O__sci_List(rassoc$1)
    };
    this.overloaded__J__V({
      val x1: any = l;
      if (x1.isInstanceOf[sci_$colon$colon]) {
        5 // <== This 5 is missing a conversion to Long
      } else {
        throw new s_MatchError().init___O(x1)
      }
    })
  }
  def overloaded__J__V(x: long) {
    mod:s_Predef$.assert__Z__V(x.equals__O__Z(5L))
  }
  def overloaded__O__V(x: any) {
    mod:s_Predef$.assert__Z__F0__V(false, new sjsr_AnonFunction0().init___sjs_js_Function0((lambda<$this: Lhelloworld_He
lloWorld$ = this>() = {
      $this.$$anonfun$overloaded$1__p1__T()
    })))
  }
  @hints(1) def $$anonfun$overloaded$1__p1__T(): T = {
    "test(Any)"
  }
  def init___() {
    this.O::init___();
    mod:Lhelloworld_HelloWorld$<-this
  }
}

-Xprint:mixin shows something funny:
package helloworld {
  object HelloWorld extends Object {
    def main(args: Array[String]): Unit = {
      val l: Object = {
        <synthetic> <artifact> val rassoc$1: Int = 0;
        scala.collection.immutable.Nil.::(scala.Int.box(rassoc$1))
      };
      HelloWorld.this.overloaded({
        case <synthetic> val x1: Object = l;
        case5(){
          if (x1.$isInstanceOf[scala.collection.immutable.::]())
            matchEnd4(5.$asInstanceOf[Long]()) // <== Note the $asInstanceOf[Long] here
          else
            case6()
        };
        case6(){
          matchEnd4(throw new MatchError(x1))
        };
        matchEnd4(x: Long){
          x
        }
      })
    };
    def overloaded(x: Long): Unit = scala.Predef.assert(scala.Long.box(x).equals(scala.Long.box(5L)));
    def overloaded(x: Object): Unit = scala.Predef.assert(false, {
      (() => HelloWorld.this.$anonfun$overloaded$1())
    });
    final <artifact> private[this] def $anonfun$overloaded$1(): String = "test(Any)";
    def <init>(): helloworld.HelloWorld.type = {
      HelloWorld.super.<init>();
      ()
    }
  }
}

It converts the 5 into a Long using .$asInstanceOf[scala.Long].
By comparison, with 2.13.0-M2, the 5 (or rather the result of the match) is converted to Long using .toLong():
package helloworld {
  object HelloWorld extends Object {
    def main(args: Array[String]): Unit = {
      val l: Object = {
        <synthetic> <artifact> val x$1: Int = 0;
        scala.collection.immutable.Nil.::(scala.Int.box(x$1))
      };
      HelloWorld.this.overloaded({
  case <synthetic> val x1: Object = l;
  case5(){
    if (x1.$isInstanceOf[scala.collection.immutable.::]())
      matchEnd4(5)
    else
      case6()
  };
  case6(){
    matchEnd4(throw new MatchError(x1))
  };
  matchEnd4(x: Int){
    x
  }
}.toLong()) // <== .toLong() here
    };
    def overloaded(x: Long): Unit = scala.Predef.assert(scala.Long.box(x).equals(scala.Long.box(5L)));
    def overloaded(x: Object): Unit = scala.Predef.assert(false, {
      (() => HelloWorld.this.$anonfun$overloaded$1())
    });
    final <artifact> private[this] def $anonfun$overloaded$1(): String = "test(Any)";
    def <init>(): helloworld.HelloWorld.type = {
      HelloWorld.super.<init>();
      ()
    }
  }
}

and, accordingly, the IR has a (long) conversion operator, which the 2.13.0-M3 version is missing.
Now, $asInstanceOf[prim] ends up in genConversion, an obscure method, which for a long time I could not even find a reproducible source code that calls it. As you can see, it is definitely missing a case for Int to Long conversion, which means it just forwards the value unadapted.
In Scala.js 1.x, genConversion was completely rewritten in https://github.com/scala-js/scala-js/commit/9890ee769ee55adc0ef0514760d08e3fe3a3c2a0 to become this new version, which does handle all sorts of primitive conversions. This explains why Scala.js 1.x is not affected. In the same commit, I also added a comment about one case I found where this thing was generated.
Now, it seems that Scala 2.13.0-M3 generates new occurrences of these $asInstanceOf[prim], where previous versions of the compiler used .toLong. From the minimization, it can at least happen if a match needs to be adapted from Int to Long. The overload is necessary to trigger this: it prevents the typechecker from typechecking the match with an expected type of Long, while at the same time needing to adapt the Int it found to the matching overload which is Long.
I tried with a simple Int or with an if, and could not reproduce the issue. It seems limited to match.
The fix would of course be to extend genConversion in 0.6.x to support all possible conversions, like the one in 1.x.

Fixed in f0f5af10604a0640bf6bdc30e63cbe78796c562c.


Merge release 1.9.2 from GDX master.

Why "libgdxNightlyVersion = "1.9.3-SNAPSHOT""?

Well, when the version gets incremented to '1.9.2' the nightly build version becomes '1.9.3-SNAPSHOT.'
It seem odd though that the DependencyBank class still has '1.9.1' as the 'libgdxVersion'. That might be an oversight from the LibGDX guys?

@badlogic Can you tell us whether there is something wrong with the dependency bank still using 1.9.1 as the 'libgdxVersion'?

Yeah the build of gdx-setup hung itself appearently. Fixing, thanks for
reporting.
On Feb 7, 2016 7:07 PM, "Julien Gouesse"<EMAIL_ADDRESS>wrote:

@badlogic https://github.com/badlogic Can you tell us whether there is
something wrong with the dependency bank still using 1.9.1 as the
'libgdxVersion'?
—
Reply to this email directly or view it on GitHub
https://github.com/gouessej/libgdx/pull/16#issuecomment-181069484.

Fix cherry-picked in with 182b7c2


flutter: type '(Map<String, dynamic>) => void' is not a subtype of type '(dynamic) => void'

Steps to Reproduce
Integrated https://github.com/evrone/flutter_audio with an app for a few months. Was working until recently.  Now throws
2018-05-01 10:17:34.794099-0700 Runner[52813:1608248] flutter: type '(Map<String, dynamic>) => void' is not a subtype of type '(dynamic) => void'
filed this issue  at  flutter_audio.
Logs
Run your application with flutter run and attach all the log output.
2018-05-01 10:17:34.627949-0700 Runner[52813:1608279] flutter: Observatory listening on http://<IP_ADDRESS>:61887/
2018-05-01 10:17:34.786834-0700 Runner[52813:1608248] flutter: ══╡ EXCEPTION CAUGHT BY WIDGETS LIBRARY ╞═══════════════════════════════════════════════════════════
2018-05-01 10:17:34.793689-0700 Runner[52813:1608248] flutter: The following assertion was thrown attaching to the render tree:
2018-05-01 10:17:34.794099-0700 Runner[52813:1608248] flutter: type '(Map<String, dynamic>) => void' is not a subtype of type '(dynamic) => void'
2018-05-01 10:17:34.803361-0700 Runner[52813:1608248] flutter:
2018-05-01 10:17:34.803674-0700 Runner[52813:1608248] flutter: Either the assertion indicates an error in the framework itself, or we should provide substantially
2018-05-01 10:17:34.804658-0700 Runner[52813:1608248] flutter: more information in this error message to help you determine and fix the underlying cause.
2018-05-01 10:17:34.804950-0700 Runner[52813:1608248] flutter: In either case, please report this assertion by filing a bug on GitHub:
2018-05-01 10:17:34.805849-0700 Runner[52813:1608248] flutter:   https://github.com/flutter/flutter/issues/new
2018-05-01 10:17:34.806535-0700 Runner[52813:1608248] flutter:
2018-05-01 10:17:34.806868-0700 Runner[52813:1608248] flutter: When the exception was thrown, this was the stack:
2018-05-01 10:17:34.811722-0700 Runner[52813:1608248] flutter: #0      new MedcorderAudio (package:medcorder_audio/medcorder_audio.dart:16:50)
2018-05-01 10:17:34.812700-0700 Runner[52813:1608248] flutter: #1      new _MyAppState (file:///Users/jeanpaul/Dev/flutter_audio/example/lib/main.dart:17:36)
2018-05-01 10:17:34.813265-0700 Runner[52813:1608248] flutter: #2      MyApp.createState (file:///Users/jeanpaul/Dev/flutter_audio/example/lib/main.dart:12:36)
2018-05-01 10:17:34.813675-0700 Runner[52813:1608248] flutter: #3      new StatefulElement (package:flutter/src/widgets/framework.dart:3702:23)
2018-05-01 10:17:34.813951-0700 Runner[52813:1608248] flutter: #4      StatefulWidget.createElement (package:flutter/src/widgets/framework.dart:781:42)
2018-05-01 10:17:34.814354-0700 Runner[52813:1608248] flutter: #5      Element.inflateWidget (package:flutter/src/widgets/framework.dart:2897:40)
2018-05-01 10:17:34.814503-0700 Runner[52813:1608248] flutter: #6      Element.updateChild (package:flutter/src/widgets/framework.dart:2702:12)
2018-05-01 10:17:34.815057-0700 Runner[52813:1608248] flutter: #7      RenderObjectToWidgetElement._rebuild (package:flutter/src/widgets/binding.dart:857:16)
2018-05-01 10:17:34.815264-0700 Runner[52813:1608248] flutter: #8      RenderObjectToWidgetElement.mount (package:flutter/src/widgets/binding.dart:828:5)
2018-05-01 10:17:34.815461-0700 Runner[52813:1608248] flutter: #9      RenderObjectToWidgetAdapter.attachToRenderTree. (package:flutter/src/widgets/binding.dart:774:17)
2018-05-01 10:17:34.815602-0700 Runner[52813:1608248] flutter: #10     BuildOwner.buildScope (package:flutter/src/widgets/framework.dart:2214:19)
2018-05-01 10:17:34.815924-0700 Runner[52813:1608248] flutter: #11     RenderObjectToWidgetAdapter.attachToRenderTree (package:flutter/src/widgets/binding.dart:773:13)
2018-05-01 10:17:34.816070-0700 Runner[52813:1608248] flutter: #12     _WidgetsFlutterBinding&BindingBase&GestureBinding&ServicesBinding&SchedulerBinding&PaintingBinding&RendererBinding&WidgetsBinding.attachRootWidget (package:flutter/src/widgets/binding.dart:662:7)
2018-05-01 10:17:34.816395-0700 Runner[52813:1608248] flutter: #13     runApp (package:flutter/src/widgets/binding.dart:704:7)
2018-05-01 10:17:34.816566-0700 Runner[52813:1608248] flutter: #14     main (file:///Users/jeanpaul/Dev/flutter_audio/example/lib/main.dart:7:3)
2018-05-01 10:17:34.817113-0700 Runner[52813:1608248] flutter: #15     _startIsolate. (dart:isolate/runtime/libisolate_patch.dart:279:19)
2018-05-01 10:17:34.817693-0700 Runner[52813:1608248] flutter: #16     _RawReceivePortImpl._handleMessage (dart:isolate/runtime/libisolate_patch.dart:165:12)
2018-05-01 10:17:34.818300-0700 Runner[52813:1608248] flutter: ════════════════════════════════════════════════════════════════════════════════════════════════════
Run flutter analyze and attach any output of that command also.
Flutter Doctor
144:example jeanpaul$ flutter doctor
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel beta, v0.3.1, on Mac OS X 10.13.4 17E199, locale en-US)
[✓] Android toolchain - develop for Android devices (Android SDK 27.0.3)
[✓] iOS toolchain - develop for iOS devices (Xcode 9.3)
[✓] Android Studio (version 3.1)
[✓] VS Code (version 1.22.2)
[✓] Connected devices (3 available)

For more information about diagnosing and reporting Flutter bugs, please see https://flutter.io/bug-reports/.

ah, breaking changes for dart 2 broke it.
https://groups.google.com/forum/#!topic/flutter-dev/H8dDhWg_c8I

the library needs to be updated for dart 2 preview
i downgraded and now can use the library.
https://groups.google.com/forum/#!topic/flutter-dev/H8dDhWg_c8I


Change include_all_form_fields data attribute to explicitly output string true/false

For select2_from_ajax and select2_from_ajax_multiple fields, setting include_all_form_fields to the boolean false (as shown in the docs) had the same effect as setting it to true, because it would output an empty string.
This PR changes the behavior to explicitly output a string 'true' or 'false' and fixes this issue.

A new inspection was created.

Sounds about right. This must have been annoying to debug - sorry for that @nbolender ! Thank you for taking the time to submit the PR!
Merging it into master right now, it'll be available with a composer update in 24h max, as Backpack/CRUD 4.0.50, bundled with a few more non-breaking changes.
Thanks again!


Help needed: understanding path

Hey.
Seems to be a great project.
But what exactly did you mean by "path/to/trailers" ? I have no direct trailers Path, instead the trailers are packed in the movie-folders, just like plex is requesting it.
So did you mean "path/to/movies" ?
just want to clarify this, before my movies folder gets deleted or something^^
thanks for your work and for sharing it

Hi, thanks for your question.
I agree - path/to/trailers is unclear as to whether it means a path to all the trailers on a host (nested in sub directories), or a path with trailers at the root.
The path is where the trailers will be downloaded to.
So for example, if your setup is /movies/some-movie, and you mount your /movies path - trailers will be downloaded to the root of movies.
So I think - path/to/download better describes the host path. What do you think?

Also just to clarify - the application does not delete any directories or files.
Even if you mounted your /movies directory, trailers will only be downloaded to the root of that directory.

hey. thanks for your response.
yes, path/to/download is more convenient i guess.
but how does Plex (for example) take advantage of those trailers , not nested in the movie-folders itself?
or is a root-trailer-folder something kodi or emby can work with ?
i was hoping trailarr could take the Paths out of Sonarr/Radarr, like bazarr does it^^


Feature: Copyright Year

Make copyright date dynamic by using a liquid variable with format

@marcobiedermann could you make this change to the https://github.com/Microsoft/rushjs.io-website/ repo?
Pretty soon we're going to blow away the rushstack.io Jekyll scripts here, and replace them with the scripts from that repo.

@pgonzal
Sure, I could but it is already implemented in the new repo: https://github.com/Microsoft/rushjs.io-website/blob/master/_includes/base/footer.html#L6
Wouldn't it make sense to archive this repo to avoid any future confusion?

Wouldn't it make sense to archive this repo to avoid any future confusion?

Rush and Rush Stack are two separate projects, with separate repos, and separate web sites.  What I was trying to say was that we recently did a bunch of work on the template and visual theme for the other site.  So rather than duplicating that work here, we're planning to overwrite this template by copying the template from the other site, and then customize the CSS/logo a bit.  The two repos will have continue to have different content, though.  I am only referring to the visual template (which your PR was fixing).
Sorry if that was unclear. :-)


Problem with esp32 c3 rebooting when closing the serial port (IDFGH-12010)

Answers checklist.

[X] I have read the documentation ESP-IDF Programming Guide and the issue is not addressed there.
[X] I have updated my IDF branch (master or release) to the latest version and checked that the issue is present there.
[X] I have searched the issue tracker for a similar issue and not found a similar issue.

General issue report
my board is ESP32 C3 Supermini
After modifying Board.txt, the board reset disappeared when opening and closing the Arduino built-in serial monitor.
However, a reset occurs when close the port in the serial port monitor program (Eltima).
Both codes below appear to use HWCDC, but HWCDC does not have any code to disable DTR and RTS.
AppData\Local\Arduino15\packages\esp32\hardware......\board.txt
esp32c3.serial.disableDTR=true
esp32c3.serial.disableRTS=true

//USB-CDC on boot : DISABLED
void setup() {
  pinMode(10, OUTPUT);
  USBSerial.begin();
}

void loop() {
  digitalWrite(10, LOW);
  USBSerial.println("USB");
  delay(1000);
}

//USB-CDC on boot : ENABLED
void setup() {
  pinMode(10, OUTPUT);
  Serial.begin();
}

void loop() {
  digitalWrite(10, LOW);
  Serial.println("SERIAL");
  delay(1000);
}

My Windows programs cannot be modified. Is there a way to disable DTR and RTS in HWCDC?
.
.
.
And I read trm v1.1
Table 30-2. CDC-ACM Settings with RTS and DTR
....
All these functions can also be disabled by programming various eFuses, please refer to Chapter 4 eFuse Controller (EFUSE) for more details.

I looked into the efuse controller, but I didn't know exactly what part to modify, so I tried it.
DIS_USB_SERIAL_JTAG_DOWNLOAD_MODE
DIS_DOWNLOAD_MODE

and also disabled Joint Download Mode by connecting GPIO 8 to GND, but still my Esp32 c3 Supermini resets when I close the serial port (Eltima). And I can't upload any more new programs...
.
.
.
And this problem does not occur in ESP32-S3 devkit.
//USB-CDC on boot : ENABLED
#include "USB.h"
USBCDC USBSerial;

void setup() {
  pinMode(10, OUTPUT);
  USBSerial.begin();
  USB.begin();
}

void loop() {
  digitalWrite(10, LOW);
  UsbSerial.println("SERIAL");
  delay(1000);
}

This is the place for ESP-IDF issues.
Issues of Arduino for ESP32 is here:
https://github.com/espressif/arduino-esp32/issues

Thank you, I will move it to the Arduino issue.


Issue:  httplib ``No Module named httplib```

https://github.com/jgarzik/pyminer/blob/3740e1a9149fa79e448a31f09300f605457afe83/pyminer.py#L26
To those who have the issue     import httplib ImportError: No module named httplib, FYI in Python 3 the module renamed to http.client
Read this >>>>>>>>>>>> The documnetation
Hope I did Help anyone <3

I have a working miner that uses the current "getworktemplate" in python 3. It is a code from (https://github.com/vsergeev) that I changed to check for a new block every 20 sc or so and start mining again every time a new block is detected. Currently getting 1.01KH/s on a Dell.


Ziggy Resource Route Issue

Hello,
Thank you for all your work. I came across your package when looking at Vite itself.
Having an issue with Ziggy and resource routes, and I'm sure it's on my end.
I have a resource route named:
Route::resource('test', HomeController::class);

Where the index method returns a Vue component named Test.vue directly in the Pages folder.
Test.vue:
<template>
Hello tester!!
    test
</template>

However, if I try to load that page, I get this error:
[plugin:vite:vue] Unquoted attribute value cannot contain U+0022 ("), U+0027 ('), U+003C (<), U+003D (=), and U+0060 (`).

1  |  <template>
2  |  Hello tester!!
3  |      test
   |                      ^
4  |  </template>
5  |

I'm perplexed as to what I'm missing or if there's an actual issue.

Thanks for the compliments.
Your attribute value needs to be quoted. So:
test


Implement makePrivate and remove non-existent php-cs-fixer config value

…fig value

Oops, forgot to run composer install upon pulling master, my bad! Closing this


Setting printrequestheaders and printresponseheaders to false doesn't do anything.

 Issue by GoogleCodeExporter
Monday May 11, 2015 at 22:05 GMT
Originally opened as https://github.com/twogee/missing-link/issues/30

The following should output just the body of the HTTP response:

	<http url="http://domain/etc"
		entityProperty       = "HttpResponse"
		failonunexpected     = "false"
		printrequestheaders  = "false"
		printresponseheaders = "false"
		/>
	<echo>${HttpResponse}</echo>

Instead, it is preceeding the echo with:

     [http] HTTP Request
     [http] ********************
     [http] URL:		http://domain/etc
     [http] Method:		GET
     [http] HTTP Response
     [http] ********************
     [http] Status:		200

Which is clogging up the output.

Using missing-link 1.1.3 with Ant 1.8.2

Original issue reported on code.google.com by<EMAIL_ADDRESS>on 8 Jan 2012 at 8:07

 Comment by GoogleCodeExporter
Monday May 11, 2015 at 22:05 GMT

I have an authentication token in the header and I would prefer it not being
sent to std out

Original comment by<EMAIL_ADDRESS>on 4 May 2014 at 8:51

 Comment by GoogleCodeExporter
Monday May 11, 2015 at 22:05 GMT

Looking at the source it seems you already have accounted for this except the
if statement @ line 283 in HttpClientTask.java

 if (httpClient.getHeaders().size() > 0 && printRequestHeaders) {

Great library by the way.. Thanks !

Original comment by<EMAIL_ADDRESS>on 4 May 2014 at 8:55


[$250] [CRITICAL] Submit an expense menu option not available for the workspace chat

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Version Number: N/A
Reproducible in staging?: Needs reproduction
Reproducible in production?: Needs reproduction
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Expensify/Expensify Issue URL:
Issue reported by: @miljakljajic
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1714471434971829
Action Performed:

Open the NewDot test - Expensify UK workspace
Click +

Expected Result:
The following options should be available when clicking + in a workspace:
Split expense
Submit expense
Track expense
Assign task
Add attachment
Actual Result:
Only assign task and add attachment were
Workaround:
Unknown
Platforms:

Which of our officially supported platforms is this issue occurring on?

[ ] Android: Native
[ ] Android: mWeb Chrome
[X] iOS: Native
[ ] iOS: mWeb Safari
[ ] MacOS: Chrome / Safari
[ ] MacOS: Desktop

Screenshots/Videos
Add any screenshot/video evidence

View all open jobs on GitHub
Upwork Automation - Do Not Edit

Upwork Job URL: https://www.upwork.com/jobs/~010768fa26d7b30a23
Upwork Job ID:<PHONE_NUMBER>486371328
Last Price Increase: 2024-05-31

Issue OwnerCurrent Issue Owner: @bfitzexpensify

This has been labelled "Needs Reproduction". Follow the steps here: https://stackoverflowteams.com/c/expensify/questions/16989

Heads up, I will be offline until Tuesday, May 28, 2024, and will not actively watch over this GitHub during that period.
@bfitzexpensify - Since this is a Critical issue, I need help here to ensure that we get proposals and they are reviewed. I'm trying to avoid this one going stale. Thanks!

Hi, I should apply from upwork in order to work on this issue. or I can submit a proposal here?

 More information in the contributing guidelines

Waiting on proposals

Hello, sorry I was offline yesterday mostly all day. But sure! I'll be sending the proposal soon.

Kidroca in #newdot-quality has asked if someone can do the following:

I've investigated further and need some clarification:
Frequency of the Bug: How often does this bug occur? Could there be any false positive reports?
Documentation and User Actions:
As a developer, I've found comments documenting when these options should be available.
As a user, I couldn't find clear information on actions I can take in group chats or two-person chats in workspaces.
Understanding Direct Messages (DMs): I'm unclear about the difference between a DM and a standard two-person chat. Could someone explain this?
Additionally, I've identified another possible cause for the exclusion of the split and submit options: missing report participant IDs. This can occur if you have partial report data, such as when using "focus mode," then tap the notification to open NewDot. At this point, the OpenReport command runs, and once the full report syncs, the options become available.
Here's how I recreated the scenario:
Went offline before opening the push notification to delay the OpenReport command.
Resumed network connectivity, and the options appeared.
For real users, it's unlikely to experience the bug this way unless they haven't used NewDot for a while and have many queued network requests. This delay might cause the bug to appear briefly.
I suggest revisiting the ticket description to improve clarity:
Verify the bug has been recreated more than once.
Detail how the user encountered the bug: Did they open a push notification or access the report from LHN?
Note any other circumstances, such as not using NewDot for a while or having a slow internet connection.
Since the ticket is open for external contributions, clarify when these options should appear and why the user expected to see them. Could it be that this type of conversation lacks these options by design?
I'll pause my investigation until we have more information to avoid going off track.

I can try to get to this along with the rest of my workload, but I would appreciate it if the assigned BZ team can help with this

Actually, I'm unable to own all of the performance issues, so I do need help. Here's the update:

This isn’t to do with partial reports after all, and is actually to do with a race condition. We need BZ to 1) confirm the functionality a Workspace Chat has, 2) give rough reproduction steps and 3) improve the issue hygiene since it’s light on details. @ben and @al can you do that and give an ETA?

Sorry I tagged some people who shouldn't have been tagged (and this is a public repo so they may have been pinged, sorry about that)

Since I'm the only one who can reproduce this, I'm going to take it over

The following options should be available when clicking + in a workspace:
Split expense
Submit expense
Track expense
Assign task
Add attachment

Could we clarify if this feature is available to everyone in the workspace or only to the people I invite? For instance, when I create a workspace with User A and start a chat with User B, only User B has access to the expense-related options.

@kidroca it would be for the person who is an employee in that workspace and the workspace chat is theirs as a result
@muttmuure once you are back and if you can still reproduce, I think we should look into the onyx data for the workspace chat where you cannot see these options. Then we also should see the policy data. This combination should let us know why you do not see the options

I'm back from OOO but leaving the assignment as is based on this comment - https://github.com/Expensify/App/issues/42172#issuecomment-2129873195

Waiting on proposals

@muttmuure , want to open this as a job for a contributor to document reliable reproduction steps? If so, I'll co-assign myself to help manage (since the process is currently a WIP)

commented in slack but I think you should help out here too @mallenexpensify !

Not reproducible now


Is there any way to get a shell from running container?

Hi there,
Sometimes we need to get bash or ssh into a running container for debugging . Is it possible  to do this with these images ?

The :debug tagged images container busybox, so you can --entrypoint=sh, but the :latest images drop this to bias towards minimal containers in production.

Thanks for your reply. So there is no busybox or any kind of shell in
production images?
On Wed, Mar 7, 2018 at 02:19 Matt Moore<EMAIL_ADDRESS>wrote:

The :debug tagged images container busybox, so you can --entrypoint=sh,
but the :latest images drop this to bias towards minimal containers in
production.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/GoogleCloudPlatform/distroless/issues/168#issuecomment-370957362,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABbb2pPkevKMO_50Oy47MyYNfpARbzPMks5tbxJggaJpZM4Sfi0J
.

Not currently, no.
On Tue, Mar 6, 2018, 2:56 PM Reza Kamalifard<EMAIL_ADDRESS>wrote:

Thanks for your reply. So there is no busybox or any kind of shell in
production images?
On Wed, Mar 7, 2018 at 02:19 Matt Moore<EMAIL_ADDRESS>wrote:

The :debug tagged images container busybox, so you can --entrypoint=sh,
but the :latest images drop this to bias towards minimal containers in
production.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<
https://github.com/GoogleCloudPlatform/distroless/issues/168#issuecomment-370957362
,
or mute the thread
<
https://github.com/notifications/unsubscribe-auth/ABbb2pPkevKMO_50Oy47MyYNfpARbzPMks5tbxJggaJpZM4Sfi0J
.

—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/GoogleCloudPlatform/distroless/issues/168#issuecomment-370959130,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ACVE4kt4abAm1ViQ2L1LguAwiuC9DaxRks5tbxQLgaJpZM4Sfi0J
.

@itmard You can copy the busybox into a running container and then run it there. If you have a running container named mycontainer1, you can run:
docker cp /path/to/busybox mycontainer1:/sh
docker exec -it mycontainer1 /sh

The busybox executable can be extracted from the busybox:latest docker image, for example. Make sure it is statically linked:
$ file busybox
busybox: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), statically linked, stripped

Closing as this looks addressed. Also see https://github.com/kubernetes/features/issues/277 for another take on a similar use-case.


Load Spice2x patches for supported games

Before I waste any more time on this meme, I want to check in if you guys even want this.
In short, this loads patches by discovering them through SUPPORTED.md from the sp2x patcher. It then converts the patches to a BemaniPatcher-compatible format, while also adding a reminder to try out sp2x patching:

People can learn to use spice2x patching for those games.
If they can't because of mental illness, they can spin up their own web patcher and automate conversion from our repos themselves.

The only reason why you'd want to use a web patcher is if you refuse to use spice2x and stick to bemanitools. I'm 100% down to add SD styles that do not have spice2x support but for everything else it's absolutely not needed.


Where the F is build_gmailsmtp?

Where the F is build_gmailsmtp?

It's build_images.sh
Fixed in the readme


Create collaboration page

Here we should put all credits info. People helping to realize the conference, credits about used material and so on.

I'm working on it.

@andreaforni any updates on this, can be closed until your pull request? /cc @mcollina @andreareginato

I'm still working on it, I had not so much time in the past two weeks... I think it's better to keep it open, maybe I can use it to post some doubts.

Could you share your partial work on a repo so we can contribute?

@andreaforni ho creato un branch su rubydayit/conference_site, si chiama collaboration-page
puoi fare push direttamente lì, e poi appena c'è qualcosa puoi fare una pull in cui continuiamo la conversazione :)

@elia @mcollina: my work is on my macbook at home.  :-)

E bravo elia.. :D
Il giorno 18 febbraio 2012 14:51, Andrea Forni <
<EMAIL_ADDRESS>
ha scritto:

@elia  grazie, non lo conoscevo. :-)

Reply to this email directly or view it on GitHub:
https://github.com/andreareginato/conference_site/issues/11#issuecomment-4034153

Congratulations! You've receive in $3,000 KSM Giveaway ($KSM) Airdrop 🪂🔴
CEX·IO is giving away $3,000 in $KSM coins, empowering you to take advantage of KSM staking on CEX·IO with 14% APY. Join the giveaway and earn a chance to win up to $500. Stake Kusama with CEX·IO, get high rewards and win prizes!
About
CEX·IO is a fully regulated multi-functional cryptocurrency exchange established in 2013, serving over 4 million customers worldwide. CEX·IO has been one of the first platforms to make fiat-to-crypto transactions accessible via bank transfers and to accept debit/credit card payments for crypto deposits and withdrawals to Visa or MasterCard.
→ How to join the $3,000 KSM Giveaway Airdrop?
Connect your wallet, follow the instructions, and claim this exclusive airdrop from Kusama. For GitHub users only—share with friends to make it eligible. Redeem your reward first.

Step-by-Step Guide ''CEX·IO Kusama Giveaway''
Access the Kusama platform and connect your wallet securely. Ensure you're using a trusted wallet for the transaction.

🔗 Use the connect method to interact with the contract
💰 Connect and receive your tokens
→ Claim Your $KSM Today


SSH Login Data Raspi4 Image

Hi, first of all, thank you very much for your work.
After a few initial difficulties I was able to connect my Vector.
Now I have seen the German translations and thought nice try :)
When I tried to change them I failed at the SSH login.
Maybe I just overlooked it. Which SSH login data are on your Raspi4 image?

I got it out :)
for all who are facing the same problem, the password for the user "pi" is "vectorx"

pi / vectorx I think it's written on github. Unfortunately I don't have
time for new developments lately but that was a quick one
On Wed, Jan 10, 2024 at 2:16 PM Michael Scharfheuer <
@.***> wrote:

Hi, first of all, thank you very much for your work.
After a few initial difficulties I was able to connect my Vector.
Now I have seen the German translations and thought nice try :)
When I tried to change them I failed at the SSH login.
Maybe I just overlooked it. Which SSH login data are on your Raspi4 image?
—
Reply to this email directly, view it on GitHub
https://github.com/fforchino/vectorx/issues/34, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AA4AIJHNMZYPCJDGMC26JCDYN2IDDAVCNFSM6AAAAABBUY3CTOVHI2DSMVQWIX3LMV43ASLTON2WKOZSGA3TIMZVHAYTEMY
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>


header parameter

hi.
can you add in header parameter as an options inside the node?
ntfy header params
i believe this is part of the solution for #4

Do you want the ability to configure arbitrary headers? Or just the authorization one?


Final leaf labels

An option to replace the “leaf note = …” in the plot.policy_tree output by a user-specified label of the treatment would be nice. Especially with multiple treatments it might be hard to keep track of the mapping of numbers to treatments.

Thanks, #60 adds an optional leaf.labels argument to plot


add information for logistical planning

copying information for logistics from pads

I've moved things around a bit to get an auto-generated hierarchical navigation. Does this look good to you?


[FEATURE]: add extract_faces to the web API / Limit to number of faces with represent

Description
If I have an image with 100 faces, but I'm only interested in 10 biggest faces in the foreground. If I'm using the API there is no way to only get the embeddings for the biggest 10 faces in a performant way. by calling represent, every single face will be processed which can take a very long time, then I would have to filter out the 10 biggest afterwards.
One option would be to allow a max_faces parameter for the represent API, so that only the max_faces largest faces are analyzed and returned. Alternatively, extract_faces could be exposed to the web API, so that we could do this filtering ourselves, and call represent for only the faces were interested in.
Let me know if I'm missing something here!
Thanks
Additional Info
No response

represent method is not for it. you need to call verify method many times with the current design.

I'm not sure I understand. I want to extract the embeddings for many faces in an image, so that I can later on use verify with those embeddings. represent is the API that should be used for this correct? However represent will extract embeddings for every single face. I'm suggesting limiting to the max_faces largest faces to make this more performant and not extract embeddings for background faces. Alternatively exposing extract_faces will allow us to perform this filtering client side and then call represent on each individual extracted face that were interested in.

Yes well my thinking was filtering the largest faces would be much faster than calculating an embedding for every single face, as that is quite an expensive operation.
If this isn't something you would consider, would you consider exposing extract_faces to the web API?

no no, totally makes sense

Awesome thanks!

@Circuit8 just pushed the changes. You can pull the latest source code and try. Let me know when you test please.

@serengil just tested it, all working perfectly. Thanks so much!

no problem. i misunderstood your requirement initially, sorry for that.

No worries, I wasn't being that clear :+1:

@serengil any chance of a new release on dockerhub with these changes?

would you please open a new issue for this? also, what do you expect in the response payload? base64 encoded extracted face is okay?

This is all fixed now in master nothing needs to be added, just wondering if a release could be made to dockerhub with the changes.

yes sure


Cleaned up resource creation code and filtered functions running in no container mode from having resources created

For #145
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Running integration tests and local tests

Integration tests passed. Merging.


PySide2 uses CMake target instead of variable

On Arch linux (PySide2 version 5.13.2), the variables PYSIDE_LIBRARY and PYSIDE_INCLUDE_DIR are not set, which leads to build failures like https://github.com/ros-visualization/qt_gui_core/issues/142.
Setting PYSIDE_INCLUDE_DIR as CMake argument is a workaround, but not a clean solution.
A proper fix could look like https://github.com/FreeCAD/FreeCAD/commit/3939e4543ef4be6c50581d9bff77e930fb1d9d03.

Please consider to contribute a pull request to address this in a backwards compatible way.


✅Updated SFC to FC

Due to hooks, function components can no longer be considered 'stateless' 😁https://github.com/DefinitelyTyped/DefinitelyTyped/pull/30364

Or Functional? 😁


Doc: Update history section of EC_GROUP API's.

Fixes #8630
The remaining functions are at least as old as 0.9.8 so it is not worth documenting this.

Checklist

[x] documentation is added or updated
[ ] tests are added or updated

LGTM (assuming tests pass as this is only adding more text to an existing manpage).
Thanks for picking up the old issue!

Not sure about 1.1.1 branch

This does not make sense for 1.1.1 branch. It is security-fixes only.

24 hours has passed since 'approval: done' was set, but as this PR has been updated in that time the label 'approval: ready to merge' is not being automatically set.  Please review the updates and set the label manually.

Merged to master, 3.1, and 3.0 branches. Thank you.


Try to update to 0.7.1

Checklist

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

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

This build is failing with the following error
ERROR: Some build dependencies for file:///home/conda/feedstock_root/build_artifacts/pyqg_1652801868100/work are missing: 'importlib_metadata', 'oldest-supported-numpy', 'setuptools_scm[toml]>=6.2'.

Traceback (most recent call last):
  File "$PREFIX/lib/python3.9/site-packages/pip/_internal/cli/base_command.py", line 167, in exc_logging_wrapper
    status = run_func(*args)
  File "$PREFIX/lib/python3.9/site-packages/pip/_internal/cli/req_command.py", line 205, in wrapper
    return func(self, options, args)
  File "$PREFIX/lib/python3.9/site-packages/pip/_internal/commands/install.py", line 340, in run
    requirement_set = resolver.resolve(
  File "$PREFIX/lib/python3.9/site-packages/pip/_internal/resolution/resolvelib/resolver.py", line 75, in resolve
    collected = self.factory.collect_root_requirements(root_reqs)
  File "$PREFIX/lib/python3.9/site-packages/pip/_internal/resolution/resolvelib/factory.py", line 506, in collect_root_requirements
    req = self._make_requirement_from_install_req(
  File "$PREFIX/lib/python3.9/site-packages/pip/_internal/resolution/resolvelib/factory.py", line 468, in _make_requirement_from_install_req
    cand = self._make_candidate_from_link(
  File "$PREFIX/lib/python3.9/site-packages/pip/_internal/resolution/resolvelib/factory.py", line 215, in _make_candidate_from_link
    self._link_candidate_cache[link] = LinkCandidate(
  File "$PREFIX/lib/python3.9/site-packages/pip/_internal/resolution/resolvelib/candidates.py", line 291, in __init__
    super().__init__(
  File "$PREFIX/lib/python3.9/site-packages/pip/_internal/resolution/resolvelib/candidates.py", line 161, in __init__
    self.dist = self._prepare()
  File "$PREFIX/lib/python3.9/site-packages/pip/_internal/resolution/resolvelib/candidates.py", line 230, in _prepare
    dist = self._prepare_distribution()
  File "$PREFIX/lib/python3.9/site-packages/pip/_internal/resolution/resolvelib/candidates.py", line 302, in _prepare_distribution
    return preparer.prepare_linked_requirement(self._ireq, parallel_builds=True)
  File "$PREFIX/lib/python3.9/site-packages/pip/_internal/operations/prepare.py", line 421, in prepare_linked_requirement
    return self._prepare_linked_requirement(req, parallel_builds)
  File "$PREFIX/lib/python3.9/site-packages/pip/_internal/operations/prepare.py", line 490, in _prepare_linked_requirement
    dist = _get_prepared_distribution(
  File "$PREFIX/lib/python3.9/site-packages/pip/_internal/operations/prepare.py", line 57, in _get_prepared_distribution
    abstract_dist.prepare_distribution_metadata(finder, build_isolation)
  File "$PREFIX/lib/python3.9/site-packages/pip/_internal/distributions/sdist.py", line 55, in prepare_distribution_metadata
    self._raise_missing_reqs(missing)
  File "$PREFIX/lib/python3.9/site-packages/pip/_internal/distributions/sdist.py", line 145, in _raise_missing_reqs
    raise InstallationError(error_message)
pip._internal.exceptions.InstallationError: Some build dependencies for file://$SRC_DIR are missing: 'importlib_metadata', 'oldest-supported-numpy', 'setuptools_scm[toml]>=6.2'.

I have tried explicitly adding these dependencies to the build section, but it is still failing. At this point, I need some help from @conda-forge/python and especially @ocefpaf who helped us set up this build.
Note that I have not yet re-rendered, but the same error appeared in #12, which was automatically re-rendered.

In 103a1a3  I am trying a new dependency setup based on https://github.com/conda-forge/cython-blis-feedstock/blob/main/recipe/meta.yaml

Ok we made progress. Now we just need to understand how to set an environment variable on windows.

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.
I do have some suggestions for making it better though...
For recipe:

Jinja2 variable references are suggested to take a {{<one space><variable name><one space>}} form. See lines [16].


Cannot read properties of undefined (reading 'type') using relationTo

Describe the Bug
Hello,
I have encountered problem using latest payload version when using relations. I reproduced the issue in linked repo below.
I just created two collections (Products, Allergens), and inside products I have a block which uses allergens like so:
  {
    name: 'allergens',
    type: 'relationship',
    hasMany: true,
    relationTo: 'allergens',
    label: 'Allergens',
  },

On the admin side everything works, api response looks correctly in API tab, but got the error on the client side page.
error:
 ⨯ node_modules/.pnpm/@payloadcms+db-mongodb@3.2.1_@aws-sdk+credential-providers@3.699.0_@aws-sdk+client-sso-oidc<EMAIL_ADDRESS>(92:1) @ sanitizeQueryValue
 ⨯ Internal error: TypeError: Cannot read properties of undefined (reading 'type')
    at sanitizeQueryValue (./node_modules/.pnpm/@payloadcms+db-mongodb@3.2.1_@aws-sdk+credential-providers@3.699.0_@aws-sdk+client-sso-oidc@3_wtupchxbjl7z2gv34xpzbfsaiu/node_modules/@payloadcms/db-mongodb/dist/queries/sanitizeQueryValue.js:98:22)
    at buildSearchParam (./node_modules/.pnpm/@payloadcms+db-mongodb@3.2.1_@aws-sdk+credential-providers@3.699.0_@aws-sdk+client-sso-oidc@3_wtupchxbjl7z2gv34xpzbfsaiu/node_modules/@payloadcms/db-mongodb/dist/queries/buildSearchParams.js:57:111)
    at parseParams (./node_modules/.pnpm/@payloadcms+db-mongodb@3.2.1_@aws-sdk+credential-providers@3.699.0_@aws-sdk+client-sso-oidc@3_wtupchxbjl7z2gv34xpzbfsaiu/node_modules/@payloadcms/db-mongodb/dist/queries/parseParams.js:45:126)
    at buildAndOrConditions (./node_modules/.pnpm/@payloadcms+db-mongodb@3.2.1_@aws-sdk+credential-providers@3.699.0_@aws-sdk+client-sso-oidc@3_wtupchxbjl7z2gv34xpzbfsaiu/node_modules/@payloadcms/db-mongodb/dist/queries/buildAndOrConditions.js:14:94)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async parseParams (./node_modules/.pnpm/@payloadcms+db-mongodb@3.2.1_@aws-sdk+credential-providers@3.699.0_@aws-sdk+client-sso-oidc@3_wtupchxbjl7z2gv34xpzbfsaiu/node_modules/@payloadcms/db-mongodb/dist/queries/parseParams.js:26:41)
    at async Function.buildQuery (./node_modules/.pnpm/@payloadcms+db-mongodb@3.2.1_@aws-sdk+credential-providers@3.699.0_@aws-sdk+client-sso-oidc@3_wtupchxbjl7z2gv34xpzbfsaiu/node_modules/@payloadcms/db-mongodb/dist/queries/buildQuery.js:27:28)
    at async Object.find (./node_modules/.pnpm/@payloadcms+db-mongodb@3.2.1_@aws-sdk+credential-providers@3.699.0_@aws-sdk+client-sso-oidc@3_wtupchxbjl7z2gv34xpzbfsaiu/node_modules/@payloadcms/db-mongodb/dist/find.js:36:19)
    at async findOperation (./node_modules/.pnpm/payload@3.2.1_graphql@16.9.0_monaco-editor@0.52.0_react-dom@19.0.0-rc-65a56d0e-20241020_react_jqjkbuafwviv24bimp3tgs6jda/node_modules/payload/dist/collections/operations/find.js:116:22)
    at async eval (./node_modules/.pnpm/payload@3.2.1_graphql@16.9.0_monaco-editor@0.52.0_react-dom@19.0.0-rc-65a56d0e-20241020_react_jqjkbuafwviv24bimp3tgs6jda/node_modules/payload/dist/collections/dataloader.js:73:28)
    at async DataLoader.eval [as _batchLoadFn] (./node_modules/.pnpm/payload@3.2.1_graphql@16.9.0_monaco-editor@0.52.0_react-dom@19.0.0-rc-65a56d0e-20241020_react_jqjkbuafwviv24bimp3tgs6jda/node_modules/payload/dist/collections/dataloader.js:69:9)
digest: "2411937340"
  90 |         'group',
  91 |         'tab'
> 92 |     ].includes(field.type) && path.includes('.')) {
     | ^
  93 |         const segments = path.split('.');
  94 |         segments.shift();
  95 |         const foundField = getFieldFromSegments({
 ⨯ node_modules/.pnpm/@payloadcms+db-mongodb@3.2.1_@aws-sdk+credential-providers@3.699.0_@aws-sdk+client-sso-oidc<EMAIL_ADDRESS>(92:1) @ sanitizeQueryValue

For some reason a field in https://github.com/payloadcms/payload/blob/c4327f22946f3a1c47dbd316a62f9b291546da40/packages/db-mongodb/src/queries/sanitizeQueryValue.ts#L89 is undefined in my case which is cause the error.
@PAYLOADCMS/MONGO { field: undefined, path: '_status', value: 'published' }

Link to the code that reproduces this issue
https://github.com/romanslonov/payload-website-bug
Reproduction Steps

Create allergen in it's collection
Create product, fill all fields and attach allergen in it's field (select)
Go to /products/[your_slug] and see error

Which area(s) are affected? (Select all that apply)
area: core, db-mongodb
Environment Info
Binaries:
  Node: 20.11.0
  npm: 10.3.0
  Yarn: 1.22.22
  pnpm: 9.12.3
Relevant Packages:
  payload: 3.2.1
  next: 15.0.3
  @payloadcms/db-mongodb: 3.2.1
  @payloadcms/email-nodemailer: 3.2.1
  @payloadcms/graphql: 3.2.1
  @payloadcms/live-preview: 3.2.1
  @payloadcms/live-preview-react: 3.2.1
  @payloadcms/next/utilities: 3.2.1
  @payloadcms/payload-cloud: 3.2.1
  @payloadcms/plugin-form-builder: 3.2.1
  @payloadcms/plugin-nested-docs: 3.2.1
  @payloadcms/plugin-redirects: 3.2.1
  @payloadcms/plugin-search: 3.2.1
  @payloadcms/plugin-seo: 3.2.1
  @payloadcms/richtext-lexical: 3.2.1
  @payloadcms/translations: 3.2.1
  @payloadcms/ui/shared: 3.2.1
  react: 19.0.0-rc-65a56d0e-20241020
  react-dom: 19.0.0-rc-65a56d0e-20241020
Operating System:
  Platform: darwin
  Arch: arm64
  Version: Darwin Kernel Version 24.1.0: Thu Oct 10 21:03:15 PDT 2024; root:xnu-11215.41.3~2/RELEASE_ARM64_T6000
  Available memory (MB): 16384
  Available CPU cores: 10

Hey @romanslonov. It's not a bug with Payload, but with your queries
The Allergens collection https://github.com/romanslonov/payload-website-bug/blob/main/src/collections/Allergens.ts has access: authenticatedOrPublished which adds this where when you don't have user:
{
  _status: {
    equals: 'published',
  },
}

The problem is that the _status field doesn't exist in your collection, because you don't have versions.drafts enabled. Either add versions.drafts or replace access with authenticated.
However, I think we can improve this part with querying by non-existing fields (and specifically with drafts and _status) with providing more detailed error messages


[Modelina] Add support for Python 3.x

Reason/Context
Please try answering few of those questions

Why we need this improvement?
How will this change help?
What is the motivation?

Description
Please try answering few of those questions

What changes have to be introduced?
Will this be a breaking change?
How could it be implemented/designed?

@avineshwar have you checked out the next version?
If you have, do you mind clarifying how the current python output is insufficient to your liking?

I guess it's about Implicit-related imports which will not work with Python 3.3+:
PEP-328
Changed in version 3.3

That should be manageable, we also have different import ways for TypeScript.

That should be manageable, we also have different import ways for TypeScript.

Could you please suggest a proper way to implement an import differently?
My dumb take on the issue is:
        const models = await generator.generateCompleteModels(spec, {});
        const libraryDependencies = new Set(models.flatMap(m => m.dependencies));

        for (const model of models) {
            await writeFile(`${outputDirectory}/${model.modelName}.py`,
                model.result
                    .split('\n')
                    .map(s => {
                        if (libraryDependencies.has(s)) {
                            return s;
                        }
                        if (s.startsWith('from ')) {
                            return s.replace('from ', 'from .');
                        }
                        return s;
                    })
                    .map(s => `${s}\n`)
                    .filter(s => s !== '\n'));

If it's a library dep, skip it altogether. Unfortunately here, I'm working with dependencies on an import statement level, not with package names (which would be a much better alternative)
If it's any other import, then prefix it with a dot, assuming that here we won't receive anything but local imports

If the generateCompleteModels function does not generate accurate imports, then we should change how it renders dependencies.
Do you have a suggestion for an option you can provide with the function? That we can use inside the python renderer to render appropriate dependencies?

@jonaslagoni please check the attached PR. Hope that would do

I am gonna close this issue for now as a fix is in place.
Feel free to reopen @avineshwar if you don't find it solved it.


nvim-cmp/lua/cmp/view .lua:270: attempt to index field 'docs' (a nil value)

FAQ

[X] I have checked the FAQ and it didn't resolve my problem.

Announcement

[X] I have checked Breaking change announcement.

Minimal reproducible full config
    sources = cmp.config.sources({
        { name = "nvim_lsp" },                -- from language server
        { name = "nvim_lsp_signature_help" }, -- display function signatures with current parameter emphasized
        { name = "path" },
        { name = "treesitter" },
        { name = "nvim_lua",               keyword_length = 2 }, -- complete neovim's Lua runtime API such vim.lsp.*
        { name = "vsnip",                  keyword_length = 2 },
        { name = "buffer",                 keyword_length = 2 }, -- source current buffer
        { name = "lspconfig" },                    -- access to all languages
        { name = "cmp_tabnine" },                  -- AI for completion
        { name = "rg" },                           -- ripgrep
        { name = "npm",                    keyword_length = 4 },
        { name = "tmux" },
        { name = "fish" },
        -- cmp clippy
    }),
    view = "wildmenu", -- or 'native' 'wildmenu'
    window = {
        -- completion = cmp.config.window.bordered(),
        -- documentation = cmp.config.window.bordered(),
    },
    formatting = {
        fields = { "menu", "abbr", "kind" },
        format = function(entry, item)
            local menu_icon = {
                nvim_lsp = "λ",
                vsnip = "⋗",
                buffer = "Ω",
                path = "◇",
            }
            item.menu = menu_icon[entry.source.name]
            return item
        end,
    },

Description
neovim generates a list of suggestions.  When I select a suggestion, I get an error in the lua source code for this plugin (printed in my messages):
Error executing vim.schedule lua callback: /Users/edmund/.config/nvim/bundle/nvim-cmp/lua/cmp/view
.lua:270: attempt to index field 'docs' (a nil value)

stack traceback:
        /Users/edmund/.config/nvim/bundle/nvim-cmp/lua/cmp/view.lua:270: in function 'callback'
        ...und/.config/nvim/bundle/nvim-cmp/lua/cmp/utils/async.lua:138: in function ''
        vim/_editor.lua: in function <vim/_editor.lua:0>

Steps to reproduce
Trigger the display of suggested lints.  Hit tab to select one of the choices.
Expected behavior
If the plugin can't find a source, fail quietly.
Actual behavior
Generates error messages in the command region.
Additional context
In a jsx and py files I get a missing key error.  Despite my not having looked at the source code, I wonder if the plugin should just fail quietly if the error is cause by not finding a source.

I have the exact same problem with OCaml


CONSEP low-fidelity wireframes: 2nd priority QA/Testing Screens

Describe the task
Creating low-fidelity wireframes for the screens identified as second priority for the QA/Testing team:

Testing request report
Germination species average
Seedlot location history
Family lots

Acceptance Criteria

[ ] Low-fidelity wireframes are ready for review in Mural

SME/User Contact
Victoria L.

Rolling over to sprint 36


nixos/stage-1: fix mount replacement in extra-utils

Description of changes
Closes #243820
Things done

Built on platform(s)

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

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

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

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

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

I tested this on one machine which had the linked build failure and this fixed the deployment. Maybe we should merge this first and you're alternative better fix we do afterwards to unblock people.

Does https://github.com/NixOS/nixpkgs/pull/244177 also fix it?

Does #244177 also fix it?

Yes, it does, thanks!

So we want to merge both or only one?

So we want to merge both or only one?

Both are trying to fix the same issue and they work on their own.
Why would you want to merge both?

Why would you want to merge both?

If the symlink ever changes we would have the same problem again.

I think mine is the more correct solution, since it will work if any other tools that are needed by the initramfs become symlinks. Not sure the approach in this PR provides any value after that?


[WORK IN PROGRESS][Distributed] Inject transport handling in ctors in SILGen

Very work in progress.

Replacing this with a clean PR


Travis Jobs failing on PPC64LE architecture

Hi All,
I am using Travis-ci to run jobs on "Linux on Power" (ppc64le) architecture but the job for Go: 1.x & GIMME_ARCH=386 is failing and exited with 1.
The command "diff -u <(echo -n) <(gofmt -d .)" exited with 0.
4.58s$ go vet .
The command "go vet ." exited with 0.
4.60s$ go test -short $RACE ./...
fork/exec /tmp/go-build674018733/b001/goja.test: exec format error
FAIL	github.com/kishorkunal-raj/goja	0.002s
?   	github.com/kishorkunal-raj/goja/ast	[no test files]
?   	github.com/kishorkunal-raj/goja/file	[no test files]
fork/exec /tmp/go-build674018733/b091/ftoa.test: exec format error
FAIL	github.com/kishorkunal-raj/goja/ftoa	0.003s
?   	github.com/kishorkunal-raj/goja/ftoa/internal/fast	[no test files]
?   	github.com/kishorkunal-raj/goja/goja	[no test files]
fork/exec /tmp/go-build674018733/b108/parser.test: exec format error
FAIL	github.com/kishorkunal-raj/goja/parser	0.003s
?   	github.com/kishorkunal-raj/goja/token	[no test files]
?   	github.com/kishorkunal-raj/goja/unistring	[no test files]
FAIL
The command "go test -short $RACE ./..." exited with 1.
Done. Your build exited with 1.
Travis Job ID: https://travis-ci.com/github/kishorkunal-raj/goja/jobs/402447388
Please have a look & provide your suggestions.
Thanks in advance!

GIMME_ARCH=386 builds it for 32bit Intel architecture. I use it because native Travis lacks native support for it. It won't work on any of the supported Travis architectures other than amd64. You need to make sure unsupported combinations are excluded from the build matrix.


Mark gap space between marks

Is there any solution to find space between visible marks.
when number of marks count is less than 40 ,the space between mark automatically increase.
can you please update regarding space between marks.
private void setupGaps(double step, double offset) {         gaps[0] = (float) Math.sin(offset / 2);         float sum = gaps[0];         double angle = offset;         int n = 1;         while (angle + step <= Math.PI) {             gaps[n] = (float) Math.sin(angle + step / 2);             sum += gaps[n];             angle += step;             n++;         }         float lastGap = (float) Math.sin((Math.PI + angle) / 2);         sum += lastGap;         if (n != gaps.length) {             gaps[gaps.length - 1] = -1;         }         float k = view.getWidth() / sum;         for (int i = 0; i < gaps.length; i++) {             if (gaps[i] != -1) {                 gaps[i] *= k;             }         }     }

Hi, @bhavinsetubridge
Sorry, I don't fully understand what you mean. Maybe if you provide an example where you need this I will be able to help.


A full fledge example for Suneditor-react component is required. Current react package is not active since over a year.

Official example is using class component we need functional react component example.

Ok, I will upload the React example project to GitHub and link it.


2016-11 DoneJS Report

This should include a summary of the monthly metrics from https://github.com/donejs/donejs/issues/726.

Website sessions

CanJS: 12,207 (+23.2% change from last month)
DoneJS: 3,474 (-5.8% change from last month)
StealJS: 2,074 (-2.2% change from last month)

npm downloads

can: 10343 (+38.6% change from last month)
can-util: 6936 (+12.7% change from last month)
documentjs: 2068 (+16.1% change from last month)
donejs: 1948 (-1.9% change from last month)
funcunit: 3939 (+141.7% change from last month)
jquerypp: 868 (+65.3% change from last month)
steal: 12886 (-0.1% change from last month)
steal-tools: 8672 (+0.7% change from last month)
testee: 4501 (-4.1% change from last month)

GitHub and Twitter stats were not tracked for this month but will be included in next month’s report.
Compared to last month’s report, there were appreciable gains in CanJS, DocumentJS, FuncUnit, and jQuery++ downloads. There were either small gains or small losses for DoneJS, StealJS, and Testee downloads.
Similarly, there was a noticeable increase in CanJS website sessions but decreases for the DoneJS and StealJS sites.


Fix the Orchard.Users module to ensure authentication cookies are correctly isolated and can't be shared across tenants

This issue was fixed a while ago in the oauth2 branch, but it has never been merged into master:
https://github.com/OrchardCMS/Orchard2/pull/215#r85806573
https://github.com/OrchardCMS/Orchard2/pull/605#discussion_r105554163

Is there can give a setting button that will allow user shared across tenants?

It looks a good idea to me to make it configurable. What do you think @sebastienros ?
Maybe @zhhbo or other interested in can add a new feature to Orchard.Users called "Orchard.Users.CookieConfiguration" which by default will be disabled. That feature will allow to set for a tenant the cookie name and the purpose string used for creating the DataProtectorProvider.
By default those two would be based on tenant name as they are now in oauth branch..

@jersiovic  No, even if user auth cookies are shared the user objects are not. The solution is to use an external SSO service, even an Orchard tenant.

Closing, as this issue was fixed as part of https://github.com/OrchardCMS/Orchard2/commit/03468ae6e5d89a61075a28104e24d168213030ae.
Feel free to open a new ticket if you think it's worth investigating the "separate tenant approach" suggested by @sebastienros.


Contact me please

Hello Rob,
I am the owner of foundryserver.com.  I would like to talk to you about your module management module.  I tried to find you in Discord but didn't see any user that had a name "mouse".  I am Dax in the foundryvtt discord or you can find me over in our discord.  https://discord.gg/UhkZnFcF
Thanks
Brad

Sorry to bother I was able to sort it out.


Improve stylability of region handles

Short description of changes:
This PR improves the stylability of the region handles. Previously (since version 3.3.0) it was only possible to set a background-color. This feature was made possible by #1798. Other styling properties could not be set on the region handles.
This PR makes it possible to:

Set any styling property on a handle. As discussed here.
Disable all JS-styling of a handle. This way styling can be done in CSS. As discussed in point 1 here.

Breaking in the external API:
None, as far as I can see. It should be compatible with v3.3.0 / PR #1798, but please check my comment there.
Breaking changes in the internal API:
None, as far as I can see. It should be compatible with v3.3.0 / PR #1798, but please check my comment there.
Todos/Notes:
Issue #1838 contains more suggestions for further improvements.
Related Issues and other PRs:

Issue #1838.

Coverage remained the same at 80.811% when pulling 46b2aa7009b34df7c482edb51ca453932616a07a on Frank3K:region-styles into 17d6731e01933d85a786df3f30725b80a3fc7b62 on katspaugh:master.

Thanks, @Frank3K and @thijstriemstra! 🎉


[WIFI-3719] Add manual workflow to run tests against Docker Compose deployment

@dunaev-opsfleet thanks for the hint, will modify the workflow to reflect these changes.


Allow return direct for multi-action agents

Currently an error is thrown when using the returnDirect property of custom tools for multi-action agents. As described here this is probably not intended. This pull request changes the behavior. I tested my changes with OpenAI function calling agent - works fine.

Thanks for this!
Will aim to review tomorrow, sorry for the delay.

Looked into this a bit more - this gives me some pause:
https://github.com/langchain-ai/langchainjs/blob/bb001e888508653dedf3ab00479e5677ae058acb/langchain/src/agents/executor.ts#L562
If the agent returns multiple tools, which one do we return?
Maybe a sensible compromise is if there's only one tool called and returnDirect: true on that tool, return the output. What do you think?

Also, could we get this for the python code as well @jacoblee93

Looked into this a bit more - this gives me some pause:
https://github.com/langchain-ai/langchainjs/blob/bb001e888508653dedf3ab00479e5677ae058acb/langchain/src/agents/executor.ts#L562
If the agent returns multiple tools, which one do we return?
Maybe a sensible compromise is if there's only one tool called and returnDirect: true on that tool, return the output. What do you think?

I think that's a good compromise. Should I update my PR?

Ok, so dug in a bit more and it seems like Python supports RunnableAgent and RunnableMultiActionAgent. We should do the same and avoid a somewhat hacky compromise.
You would then be able to use returnDirect with e.g. createOpenAIFunctionsAgent but not createOpenAIToolsAgent, which is the right behavior. I'll get a fix up as soon as I can.

Sounds great. Thanks in advance!

Thank you!

any news for Python? i'm having the same problem here

I am not a fan of making this work only for one createOpenAIFunctionsAgent .
More logical seems: If multiple tools, let the last selected tool decide if it is final.
or:
if all toos are final, then it's final in the end.

Also, there is no way inside a tool to make it return as final?

Because curently, I just want the agent to use tools. Also, it seems no agent will just use tools without answering, or am I wrong?

If you just want to use the LLM for routing, maybe this is a better approach?
https://js.langchain.com/docs/use_cases/tool_use/multiple_tools

I am using it now, but not because I want to. I was not able to cancel the run. Overall there should be some way for the tool or tools to cancel the Agent and return message X. I think there are many use cases, and it's saving tokens.
There should be some meaningful logic to enable this in the case of multi-tools or not.

@jacoblee93 Can we do this implementation in langchain python too ?


Question: IdentityServer is completely UserStore-agnostic?

Is it correct that IdentityServer itself has no dependencies on any user-store implementation? From what I can tell, that's strictly a concern of whatever our project requirements might be (apart from supporting certain minimum concepts; specifically, ensuring we're able to work with a SubjectId, I believe).
I'm working backwards from the QuickStart-UI example and the TestUserStore to build out our own UI and persistence libraries. Our data layers are async but TestUserStore is not, so I wanted to be sure I wouldn't run into problems later if my own user store is async.

yes. that's right.


Add support for Identify

Does "blinky blinky" when called

Codecov Report

Merging #131 (c54e3d4) into main (ca2eaa3) will increase coverage by 34.16%.
The diff coverage is 93.54%.

@@             Coverage Diff             @@
##             main     #131       +/-   ##
===========================================
+ Coverage   61.06%   95.23%   +34.16%
===========================================
  Files           5        5
  Lines         131      168       +37
  Branches       22       21        -1
===========================================
+ Hits           80      160       +80
+ Misses         51        5       -46
- Partials        0        3        +3

Impacted Files
Coverage Δ

homewizard_energy/const.py
100.00% <ø> (ø)

homewizard_energy/homewizard_energy.py
91.66% <90.24%> (+59.66%)
:arrow_up:

homewizard_energy/features.py
100.00% <100.00%> (ø)

homewizard_energy/models.py
100.00% <100.00%> (ø)

homewizard_energy/__init__.py

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


Setting "Try to translate" == false not effective on localized taxonomy field

Hi all.
I experienced a problem with localized taxonomies in dev branch.
In a custom module, I need to translate a content item programmatically, without opening it in edit on the web page.
My original content item is localized and it has a localized taxonomy field with setting "Try to translate the selected terms" unchecked.
When I translate my original content item, my cloned content item keeps all the terms selected in the original content item, despite its "Try to translate" setting.
I found a simple solution in the LocalizedTaxonomyFieldHandler and I am going to make a PR on it.
When the BuildEditor is first created just after cloning and TryToLocalize is false, I simply remove all terms associated with the taxonomy field.
Does anyone see some problems in doing that?

"Try to translate the selected terms" unchecked, my cloned content item keeps all the terms selected in the original content item

It sounds like this is exactly what should happen with this unchecked. And when it's checked you then ask the new taxonomy to point to each term's translation instead.
If you expect the cloned item to have no terms at all, then it would be another options in the settings.
Unless I didn't understand your issue.

I get your point.
I'll review my code because I think I misunderstood localization settings of taxonomy fields.
Thanks!


PTv3 for joints of skeleton detection

I have a dataset consisting of rigged meshes, which includes vertices, fragments, and skeletons to which the meshes are skinned. How can I use PTv3 to predict the positions of the bones in the skeletons?
Additionally, there are specific requirements for the prediction task:
The number of nodes (bones) and its order must be specified for output a tree structure.
These nodes typically do not lie directly on the mesh surface but are located at the joints.
Can PTv3 be adapted these requirements?

Replied at https://github.com/Pointcept/Pointcept/issues/198


[BEAM-8057] Support ZetaSQL DOUBLE +INF, -INF and NAN

This PR supports +inf, -inf and NaN for ZetaSQL DOUBLE type.

Original ignored test case ZetaSqlDialectSpecTest.testEQ2 passed.
IS_INF() and IS_NAN() are supported for ZetaSQL now.
Additional corresponding test cases added.

r: @apilloud @robinyqiu

Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:

[ ] Choose reviewer(s) and mention them in a comment (R: @username).
[ ] Format the pull request title like [BEAM-XXX] Fixes bug in ApproximateQuantiles, where you replace BEAM-XXX with the appropriate JIRA issue, if applicable. This will automatically link the pull request to the issue.
[ ] Update CHANGES.md with noteworthy changes.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

See the Contributor Guide for more tips on how to make review process smoother.

LGTM.
I love this approach! It is very clean and keeps most doubles as normal Calcite literals.

Great. Thanks a lot.

I am testing this internally, after the tests pass I will merge it.

I am testing this internally, after the tests pass I will merge it.

Thanks.

Actually this change unveils a data corruption bug (produces wrong result).
It is related to NaN comparison (=, !=, >, >=, <, and <=). For example, if you have a query like
SELECT CAST('NAN' AS FLOAT64) = CAST('NAN' AS FLOAT64)

the expected result is false because according to ZetaSQL definition, NaN compared to any value should return false, but our engine returns true (please add a test to reproduce this.)
I dug into this a bit and found it is because Calcite internally does simplification to comparison operations (https://github.com/apache/calcite/blob/3fb68f6c22a7bcbc4cb1fff114bc911b1e31c4de/core/src/main/java/org/apache/calcite/rex/RexSimplify.java#L336-L351). So the above expression will be simplified to (you can print the sql query in BeamZetaSqlCalcRel to verify yourself)
NULL OR CAST('NAN' AS FLOAT64) IS NOT NULL

The simplification is triggered because the 2 operands of = are "equal" (they are both a RexCall to a function named double_nan with no input).
One way I can think of to fix this, without affecting other code path, is that we can generate a random double and convert it to BigDecimal and make it a input to double_nan. This input parameter is never used, its sole purpose is to make Calcite treat two calls to double_nan different.

Instead of adding an argument with a random number, make isDeterministic() false: https://github.com/apache/calcite/blob/551e3f5a182a48e20586e40c378224bb63e4bfb3/core/src/main/java/org/apache/calcite/sql/SqlOperator.java#L940

(There are a few other config parameters in that file, one should stop the optimizer from affecting NaN if isDeterministic doesn't.)

Yeah that is definitely a better approach. However checking of isDeterministic() in RexSimplify (https://github.com/apache/calcite/blob/551e3f5a182a48e20586e40c378224bb63e4bfb3/core/src/main/java/org/apache/calcite/rex/RexSimplify.java#L334) is only enabled in Calcite 1.23.0 (See https://issues.apache.org/jira/browse/CALCITE-3809).
So how about we use the old approach for now, and create a JIRA for updating to the new approach after we update to 1.23? (The JIRA should be marked blocked by: https://issues.apache.org/jira/browse/BEAM-9379 (we should change 1.22 to 1.23)

Oh the last comment was replying to your first comment. If other config parameters can do the work we can definitely do that. @ZijieSong946 Could you investigate this a bit next week?

(There are a few other config parameters in that file, one should stop the optimizer from affecting NaN if isDeterministic doesn't. Looks like isDynamicFunction is used by RAND and CURRENT_TIME.)

Acknowledged.

Oh the last comment was replying to your first comment. If other config parameters can do the work we should definitely do that. @ZijieSong946 Could you investigate this a bit next week?

Got it. I would figure out a possible solution to handle that issue.

I dug into this problem and figured out that we should avoid hitting into the operation simplification branch here (https://github.com/apache/calcite/blob/3530daaa8cad43aad6845b6c79e4bc1ca0e72f5f/core/src/main/java/org/apache/calcite/rex/RexSimplify.java#L325).
For the current Calcite version we use (1.20), there is no check for isDeterministic(), it is added on Mar.6. (https://github.com/apache/calcite/pull/1818)
So, we have to make equals() to be false. As for RexLiteral.equals(), it checks if the type and the value equals. (https://github.com/apache/calcite/blob/3530daaa8cad43aad6845b6c79e4bc1ca0e72f5f/core/src/main/java/org/apache/calcite/rex/RexLiteral.java#L1084-L1088)
I decided to add a random parameter to the Nan wrapper function for make two Nan different in value to avoid operation simplification in Calcite.
@robinyqiu  @apilloud

Thank you Zijie for the investigation. The temporary solution LGTM. I assigned the JIRA to myself because as discussed in meeting I will be updating the vendored Calcite version.
This PR failed building because I made some changes to some functions your code depends on. You will need to rebase against master and fix it.

Thank you Zijie for the investigation. The temporary solution LGTM. I assigned the JIRA to myself because as discussed in meeting I will be updating the vendored Calcite version.
This PR failed building because I made some changes to some functions your code depends on. You will need to rebase against master and fix it.

Rebased.

Thank you! I will merge it now (tested internally).

The detailed designs for overcoming the inconsistency between Calcite and ZetaSQL DOUBLE +inf/-inf/NaN literal representation:
https://docs.google.com/document/d/1veKaDTMttU2q2Izss--Y5Cagg2JUSEA1dS3NVxYjnYg/edit#


Not able to parse if default attribute is an array

The parser failing to parse the default attribute of a parameter if its an array.
e.g:
      {
          "name" : "status",
          "in" : "query",
          "description" : "Csv of user status for which the search is done. Default is Approved and Active.",
          "required" : false,
          "type" : "array",
          "default" : [ "Approved", "Active" ],
          "items" : {
            "type" : "string",
            "enum" : [ "Approved", "Active" , "New"]
          }

after parsing the object will show null value for the default attribute of  the query parameter.

Closed by #886


Merge: develop branch to refactor branch

Merging the changes in develop into the refactor branch.

This change is

lgtm


Can i get upstream first byte time?

Just like the stream module, embedded variable $upstream_first_byte_time?

If not, can this feature be supported?

Currenty this variable not work for proxy_connect module.

If not, can this feature be supported?

Yeah, we can add new variable $proxy_connect_first_byte_time similar to stream module.

这是来自QQ邮箱的自动回复邮件，邮件已收到。                                                      李震

See this pr: https://github.com/chobits/ngx_http_proxy_connect_module/pull/228

Ok,thank you.

pr has been merged into master.
You can check $proxy_connect_first_byte_time doc: https://github.com/chobits/ngx_http_proxy_connect_module#proxy_connect_first_byte_time

new version has been released with this issue resolved

这是来自QQ邮箱的自动回复邮件，邮件已收到。                                                      李震


[APPM-477] Provide the Option to Remove Images of a Published App

When editing a published Web app the option should be provided to remove the added banner and thumbnail images if the user wants to use the default ones.Reference: https://wso2.org/jira/browse/APPM-477

App manager component is being rewritten for IoT server, and this will be addressed there. Hence closing the issue.


run_tutorial_a is not marked executable

@keszybz reported that when building an RPM of PySB, rpmlint complained that the runnable script
pysb/examples/run_tutorial_a.py was not marked +x (the other scripts there are). He filed #104 but it's languished for a couple of reasons. First, the tutorial doc includes that script directly and we thought putting a #!/usr/bin/env python at the top would just add noise in that context. Second, I wanted to rethink this approach to the run_* scripts anyway.
I propose actually we remove the +x bit and strip the shebang lines from all example run scripts. I don't feel it's that useful to allow them to be directly run -- python run_foo.py is fine, and a lot of beginners (for whom the +x simplification was presumably intended) will be using an IDE anwyay.

Agreed