Android problem - needs three Taps to play!

On Android the audio player needs three taps on Play-button to play the audio.
How can this be fixed? A quick workaround is also appreciated as I'm close to a deadline.
To repro:

go to http://kolber.github.io/audiojs/ on a android device, I tested with a Sony Xperia Z1 running Android 4.4.2.
expect the play/pause button to be in play state, but is actually in loading state
clicking play makes the button go into play state
clicking button again sets the button into loading state
clicking button again sets the button into playing state, and this time actually playing the audio

Unable to reproduce in latest browser releases on the same device. Closing until further demonstration that this is still an issue.


[Python] Cannot convert pd.DataFrame with geometry cells to pa.Table

Example:

import geopandas as gpd
import pandas as pd
import pyarrow as pa

path = gpd.datasets.get_path("naturalearth_lowres")
data = gpd.read_file(path)
df = pd.DataFrame(data)
table = pa.Table.from_pandas(df)
print(table)

Throws the following error:

Traceback (most recent call last):
 File "/Users/Henrikh/Desktop/tmp.py", line 8, in <module>
 table = pa.Table.from_pandas(df)
 File "pyarrow/table.pxi", line 1553, in pyarrow.lib.Table.from_pandas
 File "/usr/local/lib/python3.9/site-packages/pyarrow/pandas_compat.py", line 594, in dataframe_to_arrays
 arrays = [convert_column(c, f)
 File "/usr/local/lib/python3.9/site-packages/pyarrow/pandas_compat.py", line 594, in <listcomp>
 arrays = [convert_column(c, f)
 File "/usr/local/lib/python3.9/site-packages/pyarrow/pandas_compat.py", line 581, in convert_column
 raise e
 File "/usr/local/lib/python3.9/site-packages/pyarrow/pandas_compat.py", line 575, in convert_column
 result = pa.array(col, type=type_, from_pandas=True, safe=safe)
 File "pyarrow/array.pxi", line 302, in pyarrow.lib.array
 File "pyarrow/array.pxi", line 79, in pyarrow.lib._ndarray_to_array
 File "pyarrow/array.pxi", line 67, in pyarrow.lib._ndarray_to_type
 File "pyarrow/error.pxi", line 120, in pyarrow.lib.check_status
pyarrow.lib.ArrowTypeError: ('Did not pass numpy.dtype object', 'Conversion failed for column geometry with type geometry')

Reporter: Henrikh Kantuni
Watchers: Rok Mihevc / @rok
Note: This issue was originally created as ARROW-14267. Please see the migration documentation for further details.

This issue seems to be connected:
https://github.com/streamlit/streamlit/issues/1002#issuecomment-916885614
Basically, when loading a geojson with geopandas the shape fails to render on altair / streamlit:
pyarrow.lib.ArrowTypeError: ('Did not pass numpy.dtype object', 'Conversion failed for column geometry with type geometry')

Here is a demo with code:
https://share.streamlit.io/fgenoese/st_bugreports/main/geopandas_map.py
Is this a pyarrow or geopandas issue?

Any update / workaround on this issue?


Error while indexing: invalid byte sequence in UTF-8

Ruby version
3.0.6
Code snippet
No response
Description
I get a notification in VSCode with this error message and "Source: Ruby LSP (Extension)", but no further information. I assume there's some file in my project that has weird characters, but the error message doesn't indicate the file with issues, so I'm not sure where to look.
I think the bug here is that this error message should be more helpful and it should reference whichever files had the encoding issue.
Expected output
An error message with more information about what exactly the problem was, which file it was in, perhaps a line number and column, and even the problematic string.

Thank you for the bug report! It's possible that we're just surfacing the error messages coming from Prism (the parser).
If run BUNDLE_GEMFILE=.ruby-lsp/Gemfile bundle exec ruby-lsp-doctor in the command line, it will run indexing and print the files as it goes. That last file before the error should be the problematic one.
If you can, please share what the piece of problematic code is.

Here's the last file and the error message:
indexing: /Users/jason/.rbenv/versions/3.0.6/lib/ruby/gems/3.0.0/bundler/gems/color-tools-53138ca93a20/lib/color/hsl.rb
/Users/jason/.rbenv/versions/3.0.6/lib/ruby/gems/3.0.0/gems/ruby-lsp-0.13.4/lib/ruby_indexer/lib/ruby_indexer/collector.rb:307:in `match?': invalid byte sequence in UTF-8 (ArgumentError)
	from /Users/jason/.rbenv/versions/3.0.6/lib/ruby/gems/3.0.0/gems/ruby-lsp-0.13.4/lib/ruby_indexer/lib/ruby_indexer/collector.rb:307:in `block in collect_comments'
	from /Users/jason/.rbenv/versions/3.0.6/lib/ruby/gems/3.0.0/gems/ruby-lsp-0.13.4/lib/ruby_indexer/lib/ruby_indexer/collector.rb:302:in `downto'
	from /Users/jason/.rbenv/versions/3.0.6/lib/ruby/gems/3.0.0/gems/ruby-lsp-0.13.4/lib/ruby_indexer/lib/ruby_indexer/collector.rb:302:in `collect_comments'
	from /Users/jason/.rbenv/versions/3.0.6/lib/ruby/gems/3.0.0/gems/sorbet-runtime-0.5.11193/lib/types/private/methods/call_validation_2_7.rb:968:in `bind_call'
	from /Users/jason/.rbenv/versions/3.0.6/lib/ruby/gems/3.0.0/gems/sorbet-runtime-0.5.11193/lib/types/private/methods/call_validation_2_7.rb:968:in `block in create_validator_method_medium1'
	from /Users/jason/.rbenv/versions/3.0.6/lib/ruby/gems/3.0.0/gems/ruby-lsp-0.13.4/lib/ruby_indexer/lib/ruby_indexer/collector.rb:161:in `handle_def_node'
	from /Users/jason/.rbenv/versions/3.0.6/lib/ruby/gems/3.0.0/gems/sorbet-runtime-0.5.11193/lib/types/private/methods/call_validation_2_7.rb:687:in `bind_call'
	from /Users/jason/.rbenv/versions/3.0.6/lib/ruby/gems/3.0.0/gems/sorbet-runtime-0.5.11193/lib/types/private/methods/call_validation_2_7.rb:687:in `block in create_validator_procedure_fast1'
	from /Users/jason/.rbenv/versions/3.0.6/lib/ruby/gems/3.0.0/gems/ruby-lsp-0.13.4/lib/ruby_indexer/lib/ruby_indexer/collector.rb:67:in `collect'
	from /Users/jason/.rbenv/versions/3.0.6/lib/ruby/gems/3.0.0/gems/sorbet-runtime-0.5.11193/lib/types/private/methods/call_validation_2_7.rb:687:in `bind_call'
	from /Users/jason/.rbenv/versions/3.0.6/lib/ruby/gems/3.0.0/gems/sorbet-runtime-0.5.11193/lib/types/private/methods/call_validation_2_7.rb:687:in `block in create_validator_procedure_fast1'
	from /Users/jason/.rbenv/versions/3.0.6/lib/ruby/gems/3.0.0/gems/ruby-lsp-0.13.4/exe/ruby-lsp-doctor:14:in `block in <top (required)>'
	from /Users/jason/.rbenv/versions/3.0.6/lib/ruby/gems/3.0.0/gems/ruby-lsp-0.13.4/exe/ruby-lsp-doctor:9:in `each'
	from /Users/jason/.rbenv/versions/3.0.6/lib/ruby/gems/3.0.0/gems/ruby-lsp-0.13.4/exe/ruby-lsp-doctor:9:in `<top (required)>'
	from /Users/jason/.rbenv/versions/3.0.6/bin/ruby-lsp-doctor:25:in `load'
	from /Users/jason/.rbenv/versions/3.0.6/bin/ruby-lsp-doctor:25:in `<top (required)>'
	from /Users/jason/.rbenv/versions/3.0.6/lib/ruby/gems/3.0.0/gems/bundler-2.4.13/lib/bundler/cli/exec.rb:58:in `load'
	from /Users/jason/.rbenv/versions/3.0.6/lib/ruby/gems/3.0.0/gems/bundler-2.4.13/lib/bundler/cli/exec.rb:58:in `kernel_load'
	from /Users/jason/.rbenv/versions/3.0.6/lib/ruby/gems/3.0.0/gems/bundler-2.4.13/lib/bundler/cli/exec.rb:23:in `run'
	from /Users/jason/.rbenv/versions/3.0.6/lib/ruby/gems/3.0.0/gems/bundler-2.4.13/lib/bundler/cli.rb:492:in `exec'
	from /Users/jason/.rbenv/versions/3.0.6/lib/ruby/gems/3.0.0/gems/bundler-2.4.13/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'
	from /Users/jason/.rbenv/versions/3.0.6/lib/ruby/gems/3.0.0/gems/bundler-2.4.13/lib/bundler/vendor/thor/lib/thor/invocation.rb:127:in `invoke_command'
	from /Users/jason/.rbenv/versions/3.0.6/lib/ruby/gems/3.0.0/gems/bundler-2.4.13/lib/bundler/vendor/thor/lib/thor.rb:392:in `dispatch'
	from /Users/jason/.rbenv/versions/3.0.6/lib/ruby/gems/3.0.0/gems/bundler-2.4.13/lib/bundler/cli.rb:34:in `dispatch'
	from /Users/jason/.rbenv/versions/3.0.6/lib/ruby/gems/3.0.0/gems/bundler-2.4.13/lib/bundler/vendor/thor/lib/thor/base.rb:485:in `start'
	from /Users/jason/.rbenv/versions/3.0.6/lib/ruby/gems/3.0.0/gems/bundler-2.4.13/lib/bundler/cli.rb:28:in `start'
	from /Users/jason/.rbenv/versions/3.0.6/lib/ruby/gems/3.0.0/gems/bundler-2.4.13/exe/bundle:45:in `block in <top (required)>'
	from /Users/jason/.rbenv/versions/3.0.6/lib/ruby/gems/3.0.0/gems/bundler-2.4.13/lib/bundler/friendly_errors.rb:117:in `with_friendly_errors'
	from /Users/jason/.rbenv/versions/3.0.6/lib/ruby/gems/3.0.0/gems/bundler-2.4.13/exe/bundle:33:in `<top (required)>'
	from bin/bundle:3:in `load'
	from bin/bundle:3:in `<main>'

And here's the contents of that file:
#--
# Colour management with Ruby.
#
# Copyright 2005 Austin Ziegler
#   http://rubyforge.org/ruby-pdf/
#
#   Licensed under a MIT-style licence.
#
# $Id$
#++

# An HSL colour object. Internally, the hue (#h), saturation (#s), and
# luminosity (#l) values are dealt with as fractional values in the range
# 0..1.
class Color::HSL
  class << self
    # Creates an HSL colour object from fractional values 0..1.
    def from_fraction(h = 0.0, s = 0.0, l = 0.0)
      colour = Color::HSL.new
      colour.h = h
      colour.s = s
      colour.l = l
      colour
    end
  end

  # Compares the other colour to this one. The other colour will be
  # converted to HSL before comparison, so the comparison between a HSL
  # colour and a non-HSL colour will be approximate and based on the other
  # colour's #to_hsl conversion. If there is no #to_hsl conversion, this
  # will raise an exception. This will report that two HSL values are
  # equivalent if all component values are within 1e-4 (0.0001) of each
  # other.
  def ==(other)
    other = other.to_hsl
    other.kind_of?(Color::HSL) and
    ((@h - other.h).abs <= 1e-4) and
    ((@s - other.s).abs <= 1e-4) and
    ((@l - other.l).abs <= 1e-4)
  end

  # Creates an HSL colour object from the standard values of degrees and
  # percentages (e.g., 145∫, 30%, 50%).
  def initialize(h = 0, s = 0, l = 0)
    @h = h / 360.0
    @s = s / 100.0
    @l = l / 100.0
  end

  # Present the colour as an HTML/CSS colour string.
  def html
    to_rgb.html
  end

  # Converting to HSL as adapted from Foley and Van-Dam from
  # http://www.bobpowell.net/RGBHSB.htm.
  def to_rgb(ignored = nil)
    # If luminosity is zero, the colour is always black.
    return Color::RGB.new if @l == 0
    # If luminosity is one, the colour is always white.
    return Color::RGB.new(0xff, 0xff, 0xff) if @l == 1
    # If saturation is zero, the colour is always a greyscale colour.
    return Color::RGB.new(@l, @l, @l) if @s <= 1e-5

    if (@l - 0.5) < 1e-5
      tmp2 = @l * (1.0 + @s.to_f)
    else
      tmp2 = @l + @s - (@l * @s.to_f)
    end
    tmp1 = 2.0 * @l - tmp2

    t3  = [ @h + 1.0 / 3.0, @h, @h - 1.0 / 3.0 ]
    t3 = t3.map { |tmp3|
      tmp3 += 1.0 if tmp3 < 1e-5
      tmp3 -= 1.0 if (tmp3 - 1.0) > 1e-5
      tmp3
    }

    rgb = t3.map do |tmp3|
      if ((6.0 * tmp3) - 1.0) < 1e-5
        tmp1 + ((tmp2 - tmp1) * tmp3 * 6.0)
      elsif ((2.0 * tmp3) - 1.0) < 1e-5
        tmp2
      elsif ((3.0 * tmp3) - 2.0) < 1e-5
        tmp1 + (tmp2 - tmp1) * ((2 / 3.0) - tmp3) * 6.0
      else
        tmp1
      end
    end

    Color::RGB.from_fraction(*rgb)
  end

  # Converts to RGB then YIQ.
  def to_yiq
    to_rgb.to_yiq
  end

  # Converts to RGB then CMYK.
  def to_cmyk
    to_rgb.to_cmyk
  end

  # Returns the luminosity (#l) of the colour.
  def brightness
    @l
  end

  def to_greyscale
    Color::GrayScale.from_fraction(@l)
  end

  alias to_grayscale to_greyscale

  attr_reader :h, :s, :l

  def h=(hh) #:nodoc:
    hh = 1.0 if hh > 1
    hh = 0.0 if hh < 0
    @h = hh
  end

  def s=(ss) #:nodoc:
    ss = 1.0 if ss > 1
    ss = 0.0 if ss < 0
    @s = ss
  end

  def l=(ll) #:nodoc:
    ll = 1.0 if ll > 1
    ll = 0.0 if ll < 0
    @l = ll
  end
end

It looks to me like the issue is the character right after percentages (e.g., 145.

Thanks for the report. It may be related to the file encoding:
% file -I lib/color/hsl.rb
lib/color/hsl.rb: text/x-ruby; charset=iso-8859-1

I'll continue to investigate, but I'm curious, where is this dependency coming from in your Gemfile.lock? It's a very old library (last release was 2005).


Floodgate2.0 support

↑

I will update to Floodgate 2.0 once compiled builds are officially available.

I will update to Floodgate 2.0 once compiled builds are officially available.

I believe they are officially available.

ok


ko resolve should exit error code when hitting 502 caused by docker repo issue

When hitting 502 caused by docker repo issue, ko resolve prints error message as stdout and exits 0, this should return non-zero exit code instead. The print line is here
See example here: https://prow.knative.dev/view/gcs/knative-prow/logs/ci-knative-serving-istio-1.1-mesh/1174030278339858432
Sample error message (Copy/pasted from link above):
2019/09/17 18:53:27 error processing import paths in "config/networking-istio.yaml": unsupported status code 502; body: <!DOCTYPE html>

  <meta charset=utf-8>
  <meta name=viewport content="initial-scale=1, minimum-scale=1, width=device-width">
  <title>Error 502 (Server Error)!!1</title>

502. That’s an error.

The server encountered a temporary error and could not complete your request.
Please try again in 30 seconds.  That’s all we know.

Are you using --watch?

Not afaik, unless implicitly. It's this file: https://github.com/knative/serving/blob/master/hack/generate-yamls.sh

All ko commands in the script above are something like:
ko resolve -P -f config/ --selector blablabla

Are you able to reproduce this reliably? I have a theory that the main thread is exiting with 0 after 	std.Output(2, fmt.Sprint(v...)) but before os.Exit(1) in log.Fatal.
We could just add a time.Sleep(1 * time.Millisecond) here. Or maybe instead of doing log.Fatal and just returning here, we could send an error on errCh if fo.Watch is unset, otherwise log.Printf.

Actually we should probably just be using errgroup and Wait() before exiting.
This should just return an error, then we can handle it appropriately depending on if we're in watch mode or one-shot mode, instead of this hack.

Actually we should probably just be using errgroup and Wait() before exiting.
This should just return an error, then we can handle it appropriately depending on if we're in watch mode or one-shot mode, instead of this hack.

sgtm


RPCException when running tests with GraalJS

When Scala.js runs tests, it blows up with an RPCException if no tests are found (or at least that's what I'm assuming is the reason).
Reproduction

Check out https://github.com/japgolly/scala-graal
sbt extBoopickleJS/test.

Full error message
[error] org.scalajs.testcommon.RPCCore$RPCException: scala.scalajs.js.JavaScriptException: TypeError: Access to host class org.scalacheck.ScalaCheckFramework is not allowed or does not exist.
[error] 	at org.scalajs.testcommon.RPCCore.$anonfun$handleMessage$4(RPCCore.scala:79)
[error] 	at scala.Option.foreach(Option.scala:257)
[error] 	at org.scalajs.testcommon.RPCCore.$anonfun$handleMessage$1(RPCCore.scala:77)
[error] 	at org.scalajs.testcommon.RPCCore.$anonfun$handleMessage$1$adapted(RPCCore.scala:57)
[error] 	at org.scalajs.testcommon.Serializer$.withInputStream(Serializer.scala:60)
[error] 	at org.scalajs.testcommon.RPCCore.handleMessage(RPCCore.scala:57)
[error] 	at org.scalajs.testadapter.ComJSEnvRPC$$anon$1.run(ComJSEnvRPC.scala:34)
[error] Caused by: scala.scalajs.js.JavaScriptException: TypeError: Access to host class org.scalacheck.ScalaCheckFramework is not allowed or does not exist.
[error] 	at <jscode>.@TypeError: Access to host class org.scalacheck.ScalaCheckFramework is not allowed or does not exist.(Unknown Source)
[error] 	at <jscode>.file:///home/golly/projects/public/scala-graal/ext-boopickle/js/target/scala-2.12/ext-boopickle-test-fastopt.js:5804:111@$c_Lorg_scalajs_testinterface_internal_FrameworkLoader$.loadFramework__T__Lsbt_testing_Framework(Unknown Source)
[error] 	at <jscode>.(file:///home/golly/projects/public/scala-graal/ext-boopickle/js/target/scala-2.12/ext-boopickle-test-fastopt.js:5528)
[error] 	at <jscode>.(file:///home/golly/projects/public/scala-graal/ext-boopickle/js/target/scala-2.12/ext-boopickle-test-fastopt.js:5550)
[error] 	at <jscode>.file:///home/golly/projects/public/scala-graal/ext-boopickle/js/target/scala-2.12/ext-boopickle-test-fastopt.js:20828:11@$c_sjsr_AnonFunction1.apply__O__O(Unknown Source)
[error] 	at <jscode>.(file:///home/golly/projects/public/scala-graal/ext-boopickle/js/target/scala-2.12/ext-boopickle-test-fastopt.js:3916)
[error] 	at <jscode>.file:///home/golly/projects/public/scala-graal/ext-boopickle/js/target/scala-2.12/ext-boopickle-test-fastopt.js:20828:11@$c_sjsr_AnonFunction1.apply__O__O(Unknown Source)
[error] 	at <jscode>.(file:///home/golly/projects/public/scala-graal/ext-boopickle/js/target/scala-2.12/ext-boopickle-test-fastopt.js:8667)
[error] 	at <jscode>.file:///home/golly/projects/public/scala-graal/ext-boopickle/js/target/scala-2.12/ext-boopickle-test-fastopt.js:20828:11@$c_sjsr_AnonFunction1.apply__O__O(Unknown Source)
[error] 	at <jscode>.(file:///home/golly/projects/public/scala-graal/ext-boopickle/js/target/scala-2.12/ext-boopickle-test-fastopt.js:20183)
[error] 	at <jscode>.file:///home/golly/projects/public/scala-graal/ext-boopickle/js/target/scala-2.12/ext-boopickle-test-fastopt.js:20828:11@$c_sjsr_AnonFunction1.apply__O__O(Unknown Source)
[error] (extBoopickleJS / Test / loadedTestFrameworks) org.scalajs.testcommon.RPCCore$RPCException: scala.scalajs.js.JavaScriptException: TypeError: Access to host class org.scalacheck.ScalaCheckFramework is not allowed or does not exist.

it blows up with an RPCException if no tests are found (or at least that's what I'm assuming is the reason).

It is very unlikely that that is the reason, because we explicitly have tests in our CI for this scenario. The error message you get is
TypeError: Access to host class org.scalacheck.ScalaCheckFramework is not allowed or does not exist.

Is it something GraalJS-specific? There's no such thing as a "host class" in Scala.js or Node.js.

I was about to say "I'm seeing the same exception in another code base too that's unrelated to Graal" but I just realised I think I may have been using Graal as my default java at that time. Silly me, you're probably right. A quick google of the error msg without the class name only returns Graal results.
I'll do some more testing in a few days, I'm exhausted tonight. I guess Scala.JS or probably more likely SBT is detecting test frameworks in a way that's incompatible with Graal.

Brainstormed offline about this issue with @gzm0 today. Just dumping raw ideas so that I don't forget them.
This is probably happening during test framework detection. sbt has a list of frameworks to look for by default, even when they're not there. Scala.js 0.6.x first tries to load stuff with the Reflect API (like 1.x), but it will fallback on the old JS export-based system if Reflect does not find anything (unlike 1.x). The fallback tries to read a top-level org.scalacheck.ScalaCheckFramework (for example), which is what we need to do for the JS export-based system. That probably runs into a GraalJS-specific feature to load actual JVM classes from the host system (hence the "Access to host class" error). Instead of silently returning undefined like any normal JS engine would do, apparently GraalJS throws that error.
If we're right, solutions include:

Not using GraalJS (duh...)
Using Scala.js 1.x (which does not have the fallback on JS export-based test loading
Include some option in Scala.js that would disable the fallbacks (would prevent from using testing frameworks built using the JS export system)
Somehow detect GraalJS and automatically disable the fallbacks in that case (same caveat; introduces a "knowledge dependency" from Scala.js 0.6.x to GraalJS, not nice)

As a workaround, you could also actually depend on ScalaCheck in the test configuration of the JS project, even if you don't actually use it. Just having it on the classpath will make the reflection-based lookup succeed, and so Scala.js won't try the JS export-based mechanism.
@japgolly could you try that?

Hi, I gave it a try and it doesn't make a difference. Trying to narrow down the cause has gotten really bizarre. Have a look at this branch.

I've removed the Graal SDK as a dependency
I've added scalacheck to the extBoopickleJS test classpath
I've stopped testing this with Graal and switched back to OpenJDK

And I'm still getting this error. Check this out!
> java -version
openjdk version "1.8.0_212"
OpenJDK Runtime Environment (build 1.8.0_212-b01)
OpenJDK 64-Bit Server VM (build 25.212-b01, mixed mode)

> sbt clean extBoopickleJS/test
[info] Loading settings for project global-plugins from plugins.sbt,metals.sbt ...
[info] Loading global plugins from /home/golly/.sbt/1.0/plugins
[info] Loading settings for project scala-graal-build-build from plugins.sbt ...
[info] Loading project definition from /home/golly/projects/public/scala-graal/project/project
[success] Generated .bloop/scala-graal-build-build.json
[success] Total time: 3 s, completed 01/06/2019 6:24:28 PM
[info] Loading settings for project scala-graal-build from plugins.sbt ...
[info] Loading project definition from /home/golly/projects/public/scala-graal/project
[success] Generated .bloop/scala-graal-build.json
[success] Total time: 3 s, completed 01/06/2019 6:24:31 PM
[info] Loading settings for project root from version.sbt,build.sbt ...
[info] Set current project to scala-graal (in build file:/home/golly/projects/public/scala-graal/)
[success] Total time: 0 s, completed 01/06/2019 6:24:33 PM
[info] Compiling 1 Scala source to /home/golly/projects/public/scala-graal/ext-boopickle/js/target/scala-2.12/classes ...
[info] Done compiling.
[info] Compiling 2 Scala sources to /home/golly/projects/public/scala-graal/ext-boopickle/js/target/scala-2.12/test-classes ...
[info] Done compiling.
[info] Fast optimizing /home/golly/projects/public/scala-graal/ext-boopickle/js/target/scala-2.12/ext-boopickle-test-fastopt.js
[error] org.scalajs.testcommon.RPCCore$RPCException: scala.scalajs.js.JavaScriptException: TypeError: Access to host class org.scalacheck.ScalaCheckFramework is not allowed or does not exist.
[error] 	at org.scalajs.testcommon.RPCCore.$anonfun$handleMessage$4(RPCCore.scala:79)
[error] 	at scala.Option.foreach(Option.scala:257)
[error] 	at org.scalajs.testcommon.RPCCore.$anonfun$handleMessage$1(RPCCore.scala:77)
[error] 	at org.scalajs.testcommon.RPCCore.$anonfun$handleMessage$1$adapted(RPCCore.scala:57)
[error] 	at org.scalajs.testcommon.Serializer$.withInputStream(Serializer.scala:60)
[error] 	at org.scalajs.testcommon.RPCCore.handleMessage(RPCCore.scala:57)
[error] 	at org.scalajs.testadapter.ComJSEnvRPC$$anon$1.run(ComJSEnvRPC.scala:34)
[error] Caused by: scala.scalajs.js.JavaScriptException: TypeError: Access to host class org.scalacheck.ScalaCheckFramework is not allowed or does not exist.
[error] 	at <jscode>.@TypeError: Access to host class org.scalacheck.ScalaCheckFramework is not allowed or does not exist.(Unknown Source)
[error] 	at <jscode>.file:///home/golly/projects/public/scala-graal/ext-boopickle/js/target/scala-2.12/ext-boopickle-test-fastopt.js:5804:111@$c_Lorg_scalajs_testinterface_internal_FrameworkLoader$.loadFramework__T__Lsbt_testing_Framework(Unknown Source)
[error] 	at <jscode>.(file:///home/golly/projects/public/scala-graal/ext-boopickle/js/target/scala-2.12/ext-boopickle-test-fastopt.js:5528)
[error] 	at <jscode>.(file:///home/golly/projects/public/scala-graal/ext-boopickle/js/target/scala-2.12/ext-boopickle-test-fastopt.js:5550)
[error] 	at <jscode>.file:///home/golly/projects/public/scala-graal/ext-boopickle/js/target/scala-2.12/ext-boopickle-test-fastopt.js:20828:11@$c_sjsr_AnonFunction1.apply__O__O(Unknown Source)
[error] 	at <jscode>.(file:///home/golly/projects/public/scala-graal/ext-boopickle/js/target/scala-2.12/ext-boopickle-test-fastopt.js:3916)
[error] 	at <jscode>.file:///home/golly/projects/public/scala-graal/ext-boopickle/js/target/scala-2.12/ext-boopickle-test-fastopt.js:20828:11@$c_sjsr_AnonFunction1.apply__O__O(Unknown Source)
[error] 	at <jscode>.(file:///home/golly/projects/public/scala-graal/ext-boopickle/js/target/scala-2.12/ext-boopickle-test-fastopt.js:8667)
[error] 	at <jscode>.file:///home/golly/projects/public/scala-graal/ext-boopickle/js/target/scala-2.12/ext-boopickle-test-fastopt.js:20828:11@$c_sjsr_AnonFunction1.apply__O__O(Unknown Source)
[error] 	at <jscode>.(file:///home/golly/projects/public/scala-graal/ext-boopickle/js/target/scala-2.12/ext-boopickle-test-fastopt.js:20183)
[error] 	at <jscode>.file:///home/golly/projects/public/scala-graal/ext-boopickle/js/target/scala-2.12/ext-boopickle-test-fastopt.js:20828:11@$c_sjsr_AnonFunction1.apply__O__O(Unknown Source)
[error] (extBoopickleJS / Test / loadedTestFrameworks) org.scalajs.testcommon.RPCCore$RPCException: scala.scalajs.js.JavaScriptException: TypeError: Access to host class org.scalacheck.ScalaCheckFramework is not allowed or does not exist.
[error] Total time: 20 s, completed 01/06/2019 6:24:53 PM

Looking at the referred line in the stack trace it's:
$c_Lorg_scalajs_testinterface_internal_FrameworkLoader$.prototype.loadFramework__T__Lsbt_testing_Framework = (function(frameworkName) {
  var this$1 = $m_sjs_reflect_Reflect$().lookupInstantiatableClass__T__s_Option(frameworkName);

Hum, I can't reproduce the crash. I did:
$ git clone git@github.com:japgolly/scala-graal.git
$ cd scala-graal/
$ git checkout sjs-3673
$ npm install jsdom
$ sbt clean extBoopickleJS/test

and it completed successfully. On both Windows and Linux.

I see that you added the JVM dependency on ScalaCheck at https://github.com/japgolly/scala-graal/blob/f9623ab1e05b8683c93705a72ae929072c71d1f3/project/Build.scala#L85 (with %%). My workaround above assumes that you're using the JS dependency instead, with %%%.

 I've changed to %%% and that seems to workaround it. It then moves on to complaining about the specs2 test runner instead :)
[error] org.scalajs.testcommon.RPCCore$RPCException: scala.scalajs.js.JavaScriptException: TypeError: Access to host class org.specs2.runner.Specs2Framework is not allowed or does not exist.

Regarding that it worked for you, I tried doing a new checkout and starting with OpenJDK and sure enough the problem didn't manifest. I guess sbt's clean isn't to be trusted (sigh) - there must be some state that was being left behind.
So with a brand-new with the updated branch (i.e. the %%% fix & removal of all src files):

extBoopickleJS/test - OpenJDK works, Graal gets past ScalaCheck and fails on Specs2
extBoopickleJVM/test - both OpenJDK and Graal work

Also I've just modified the title slightly. Graal (VM) and Graal JS are different in that Graal is Java 8 plus a new JVMCI and Polyglot SDK, Graal JS is a JS -> Polyglot IR compiler. So just to be clear it's Graal the VM that's in scope; what I'm not doing (in the scope of this issue) is executing SJS output via Graal JS. I'd bet money you already know that but I prefer to clarify just in case :)

I just realized that there is cleaner workaround, that will avoid stumbling on Specs2 after ScalaCheck, and then another one, etc.: simply empty the list of test frameworks that sbt looks for, and only include the ones you actually use. This line: https://github.com/japgolly/scala-graal/blob/f9623ab1e05b8683c93705a72ae929072c71d1f3/project/Build.scala#L66
testFrameworks += new TestFramework("utest.runner.Framework")))

can be replaced by
testFrameworks := List(new TestFramework("utest.runner.Framework"))))

to do that.

Ah I've done that before but didn't think about it here. Thanks.
So working around it is easy enough. We're expecting this won't be an issue with Scala.JS 1.x because it has a different framework loading mechanism, is that right?

We're expecting this won't be an issue with Scala.JS 1.x because it has a different framework loading mechanism, is that right?

Yes that's right.

Ok cool. I'm happy to close this then. Thanks for your time as always.


TypeError: '<' not supported between instances of 'NoneType' and 'float'

Hello everybody,
I am running a code to minimise a certain function which uses a filtering iteration (Kalman), with bounds:
...
def MLE(teta): # teta vector of parameters
...
...
minimiz_fun= optimize.minimize(MLE, x0, args=(), method=None, jac=None, hess=None, hessp=None, bounds=numpy.concatenate((numpy.transpose(lb),numpy.transpose(ub)), axis=1), constraints=(), tol=None, callback=None, options=None)

but I get this TypeError and the minimisation doesn't work:
minimiz_fun= optimize.minimize(MLE, x0, args=(), method=None, jac=None, hess=None, hessp=None, bounds=numpy.concatenate((numpy.transpose(lb),numpy.transpose(ub)), axis=1), constraints=(), tol=None, callback=None, options=None)
Traceback (most recent call last):
Cell In[20], line 1
minimiz_fun= optimize.minimize(MLE, x0, args=(), method=None, jac=None, hess=None, hessp=None, bounds=numpy.concatenate((numpy.transpose(lb),numpy.transpose(ub)), axis=1), constraints=(), tol=None, callback=None, options=None)
File /Applications/Spyder.app/Contents/Resources/lib/python3.9/scipy/optimize/_minimize.py:710 in minimize
res = _minimize_lbfgsb(fun, x0, args, jac, bounds,
File /Applications/Spyder.app/Contents/Resources/lib/python3.9/scipy/optimize/_lbfgsb_py.py:307 in _minimize_lbfgsb
sf = _prepare_scalar_function(fun, x0, jac=jac, args=args, epsilon=eps,
File /Applications/Spyder.app/Contents/Resources/lib/python3.9/scipy/optimize/_optimize.py:383 in _prepare_scalar_function
sf = ScalarFunction(fun, x0, args, grad, hess,
File /Applications/Spyder.app/Contents/Resources/lib/python3.9/scipy/optimize/_differentiable_functions.py:158 in init
self._update_fun()
File /Applications/Spyder.app/Contents/Resources/lib/python3.9/scipy/optimize/_differentiable_functions.py:251 in _update_fun
self._update_fun_impl()
File /Applications/Spyder.app/Contents/Resources/lib/python3.9/scipy/optimize/_differentiable_functions.py:155 in update_fun
self.f = fun_wrapped(self.x)
File /Applications/Spyder.app/Contents/Resources/lib/python3.9/scipy/optimize/_differentiable_functions.py:148 in fun_wrapped
if fx < self._lowest_f:
TypeError: '<' not supported between instances of 'NoneType' and 'float'
PLEASE HELP ME!
I a python beginner and I really have no idea how to deal with this
Leonardo

Best wishes with your work, but this forum is for bug reports, not usage questions. This type of question is best suited to stack overflow. That said, at first glance, your problem looks consistent with MLE not returning a number.

ok! sorry for that, thanks for the note :)


fix: reactivity on SfSearch in SfHeader

Related issue

Closes #711
Scope of work

add searchValue props in SfHeader
emit change:search and enter:search to update searchValue in SfHeader

Screenshots of visual changes

none
Checklist

[x] No commented blocks of code left
[x] Run tests and docs
[x] Self code-reviewed

If applicable:

[x] I followed composition rules for my component
[x] I tested the component in most common device sizes (can be tested in Storybook from viewport addon in top menu)
[x] I accept Individual Contributor License Agreement

@pspaczek there is an error in console regarding mutated prop, please check this

@pspaczek there is an error in console regarding mutated prop, please check this

fixed, thanks @martaradziszewska


[BUG] (ImportError) cannot import name 'BleuScoreEvaluator' from 'promptflow.evals.evaluators'

Describe the bug
Created an evaluation for a flow via the AI Studio gui.  Downloaded the code after the evaluation ran with the intent of running the evaluation locally and containerizing it.  When running pf build, received multiple errors stating that BleuScoreEvaluator, GleuScoreEvaluator, MeteorScoreEvaluator, and mlflow modules couldn't be found.
How To Reproduce the bug
Steps to reproduce the behavior, how frequent can you experience the bug:

Go to AI studio and create a flow
Go to AI studio and use the evaluations(preview) capability to evaluate the flow created.
Once the evaluation has completed, you will be offered the opportunity to download the code, download it
Run pf build against the evaluation code you just downloaded with --format docker

Expected behavior
I would expect the prompt flow distribution to be created successfully from the evaluation.
Screenshots
If applicable, add screenshots to help explain your problem.

Running Information(please complete the following information):

Promptflow Package Version using pf -v: [e.g. 0.0.102309906]

Operating System: [e.g. Ubuntu 20.04, Windows 11]
Windows 11

Python Version using python --version: [e.g. python==3.10.12]

Additional context
The evaluation runs fine in AI studio.

Quick Update, dropped down to python 3.9 with a new code space instance, same issue.  Here is my current environment config;

Here is the pf build command I ran; pf flow build --source MaterialAnalysisFlowEvaluation --output MaterialAnalysisFlowEvaluationDist --format docker
Here are the list of errors:

Figured it out.  You need to run pip install -r requirement.txt using the requirements.txt file that is included when you download the eval flow.  There is a reference to a whl file that will grab the appropriate packages which are not available via pip install promptflow-evals.


fix: update oson dependency to fix constructor.name error

Codecov Report
Base: 95.87% // Head: 95.87% // No change to project coverage :thumbsup:

Coverage data is based on head (80c5bb4) compared to base (d6ff081).
Patch coverage: 100.00% of modified lines in pull request are covered.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
Additional details and impacted files
@@           Coverage Diff           @@
##             main      #69   +/-   ##
=======================================
  Coverage   95.87%   95.87%
=======================================
  Files           4        4
  Lines         849      849
  Branches      124      124
=======================================
  Hits          814      814
  Misses         33       33
  Partials        2        2

Impacted Files
Coverage Δ

src/deps.deno.ts
100.00% <100.00%> (ø)

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

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

@KnorpelSenf Is there a reason for not using lib.deno.dev import for oson?

No, not really. I was hesitant because it's a third-party service, so I only really wanted to use it where nothing else is possible, namely for peer deps. But this incident shows that perhaps I should give up my hopes on Deno actually delivering something useful, and just use lib.deno.dev everywhere. After all, this would much better reflect our Node build.


cached() option on task() gives TS error

When using task("no-op", () => {}).cached() with TypeScript, cached gives a TS error:
Property 'cached' does not exist on type 'void | TaskFunction'.
  Property 'cached' does not exist on type 'void'. ts(2339)

This makes sense, since task() has a union type TaskFunction | void.
I propose removing the void return type option.

https://github.com/microsoft/just/blob/599d32ecf782d825e069cf4dd682f2f7a9596bb7/packages/just-task/src/interfaces.ts#L13-L16
its should be existing as per the line. Any way I guess  caching is still under development. Right ? @kenotron

I am in favor of removing the "void" signature now.

I can fix it @kenotron, if you'd like.

@Thisen - oh that'd be appreciated!

I looked a bit into it, seems like removing void, just surfaces another problem.
When I tried to write a test, to see if I could call cached() on the task function, I get a TS error: Cannot invoke an object which is possibly 'undefined'.ts(2722).
Not sure why I get this error, I can't find a possible undefined in the Undertaker typings either.
Do you know @kenotron?

Cannot invoke an object which is possibly 'undefined'.ts(2722).

weird 😕
is it coming when placing the void, if so then it might be declaration bug, else I am not sure.


Improve Dockerfile

Added newlines for readability
Added depth parameter to git clone so not the full git history is cloned
Combined git clone and Ludwig installation into one layer

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

Memo: I first also added a line with && rm -rf /var/lib/apt/lists/* but then realized that 1) it's not necessary because no apt update is done, which again isn't necessary because the TensorFlow image doesn't remove its apt lists and 2) deleting the inherited files wouldn't reduce the size of the layer (and thus the whole image) but instead would just force people who inherit from this image to apt update again.

Thank you for your contribution!


[20.09] cfitsio: Make configureFlags a list

Motivation for this change
Backport a2c3335cd360a36eae2109dac7caca7d9a68d395 from #113024.
This is mainly important for users who override and expect configureFlags to be a list. It's therefore important that master and release-20.09 branches are aligned (and behave the same as previous releases). Therefore I'd like this backported to the branches affected by 301c7b9992373869773992d6516133fefb402784 (the backport commit that changed configureFlags from list to string).
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[ ] NixOS
[ ] macOS
[x] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

@SuperSandro2000: What's the processes for getting the fix merged to other release branches? Is this done automatically/ periodically? The commit that introduced regression was also merged to nixos-20.09 nixos-20.09-small nixpkgs-20.09-darwin and staging-20.09 (I just followed the CONTRIBUTING.md instructions).


🚧 [WiP] Add a Contributing file

Add a contribution file to guide future contributors through our values, our workflow and our rules.
At the moment, it is a copy from this file -> https://www.contributor-covenant.org/version/1/4/code-of-conduct
Pretty much everything is in it, but we should make sure everything we want lives in this file.
This file should be discussed to ensure that we all agree with what is in it.

 Create a contribution template for the parser

@lizgzil @jdkram @nsorros This is ready for another round! 👌 ☕


identity request

hi
is it possible in some way (ex. a read instruction) to know the type of IC (if 41 or 42) and its pots type (10k, 100k or 1M)?

mmm, good question, you want to determine runtime if you have an 41 or 42?
I am not aware of any register that gives this information, nor a register that states the pots type.
(there might be hidden registers)
thinking out loud
That would mean you instantiate an object of type AD524X or AD5242 so you can access both ports.
Then write 0 to port 2 , read back from register , write 1, read back from register .
If you read back the same value as you wrote, it might be an indication that it is indeed a 42 with 2 ports.
At least if it fails it sure is a 41.
That is how it could be done.
Did you check the datasheet wrt this question?

Page 5 datasheet

There is no information about reading the resistance of the device.

so in code it would look like this. Not tested
uint8_t detectType()
{
  AD.write(1, 0);  // set value RDAC 2 to zero
  if (AD.readRegister() != 0) return 41;
  AD.write(1, 42);  // set value RDAC 2 to zero
  if (AD.readRegister() != 42) return 41;
  return 42;
}

Drawback of this routine is that it will affect the value of the device, which will affect the project in which it is used.
As this is a serious negative side effect I will not add this to the library.

hi
thanks for your answer!
i'm very wondered that Analog Device did not put inside infos about it.
Two bytes would have been enough, even one to be honest !!!!
a hex num and a conversion table  : 0x00 ? ok is a AD5252BRUZ100 ---- 0x01 = ok, is a BRUZ200 ...... 0xFA ? ok, is a 5280 bruz etc etc
I add another gap : ADAD525x series has a two type of pots
The 5253 is a 64 steps and 5254 is a 256 steps
Nothing say to me the type (you understand that depending of resolution you must change the mapping value)
really really a pity ...
unfortunately no competitor factory about I2C digital pots :-(

Yes 3 bytes would be ideal
1 byte for # ports
1 byte for resistance   (maybe even per port if these could be different)
1 byte for # steps - formula   2^n
more digital pots are there from Maxim and Microchip
(in dutch but they probably have italian site too)
https://nl.farnell.com/w/c/semiconductors-ics/digital-potentiometers/prl/resultaten?control-interface=i2c&st=digital potentiometer

oohhh wonderful !!
last year I search for any competitor but i found only SPI port products
your info has opened up a world for me!!:-))
really many thanks

you're welcome


Bug: Resizing 0h event with same start and end time

Resizing an event that has the same start and end dates cause the start date to become 'Invalid date'.

This happens because this line of code adds 1 day to 0h events for some reason.
https://github.com/jquense/react-big-calendar/blob/d7c14f68616dce3072921250b644becca37a4f53/src/addons/dragAndDrop/common.js#L42-L43
And after that, the closestSlotFromDate function is not able to find the closest slot because the closest to the end is already the next day.
https://github.com/jquense/react-big-calendar/blob/d7c14f68616dce3072921250b644becca37a4f53/src/utils/TimeSlots.js#L107-L108
It just returns undefined instead of a correct slot - offset -1 doesn't help at all.

In this case offset should be at least -49
I'm not sure if adding 1 day to an event is necessary in some particular cases, but I'd remove this - without this line, I'm not getting any errors in this case.

Has this been resolved yet?


Simplify extractText, and replace unnecessary var self = this statements with arrow functions, in web/pdf_find_controller.js

Simplify extractText in web/pdf_find_controller.js
Currently this method first uses a loop to build a temporary array to hold Promises, which are then resolved from a recursive helper function once the textContent is fetched for each page.
To me, this is unncessarily complicated, since we can do everything within one loop by simply chaining the asynchronous calls to retrieve the textContent. (Note that this guarantees that the textContent of the pages is still fetched sequentially.)

Replace unnecessary var self = this statements with arrow functions in web/pdf_find_controller.js

/botio-linux preview


Fresh command not works until run build command

I follow the same step as mention in document.
But for fresh command not work until I run build command.
Whenever  I made changes to file , first need to run build command and then fresh command
Any help for my issue will be appreciated

higher version use go install github.com/pilu/fresh ,is will be in your $GOPATH, then you can run fresh in your app


Underlining user input

On multiple pages (list obtained using e.g.,  fgrep -r $'\u0332' *) we use the U+035F, U+0332 or U+005 symbols to "emulate" underlining, but those characters are not in the Hack font.
An alternative solution has to be worked out, because the current output is confusing and incorrect:

(that's GradeCalculator/index.pdf)

This is solved with https://github.com/csci-1301/csci-1301.github.io/commit/1f39056aedfb14b7142010c68fa2925d66a4f7a4


MudIconButton gets its halo size from the container not the content

Bug type
Component
Component name
MudIconButton
What happened?
When the MudIconButton is placed with the bigger container than the button itself the halo/highlight gets sized according to the container not the button content itself. It is not very pleasing to the eyes, but also it is surprising one.
Expected behavior
The halo effect sized according to the element/content size, not the surrounding container.
Reproduction link
https://try.mudblazor.com/snippet/wuGRahlNrpXysXEb
Reproduction steps
<div class="d-flex flex-grow-1 gap-4">
    <MudButton  Class="flex-auto" Variant="Variant.Filled" Color="Color.Secondary">
        <MudStack>
            <MudText>h</MudText>
            <MudText>h</MudText>
        </MudStack>
    </MudButton>
    <MudIconButton<EMAIL_ADDRESS>Class="blue-text" ></MudIconButton>
</div>

The button on the right is sized proportionally, but it is placed within container stretched vertically. As the effect the button icons looks normal, but its halo not -- instead of being true circle it is ellipsoid.
Below I marked Chrome, but in fact I tested Chromium.
Relevant log output
No response
Version (bug)
6.7.0
Version (working)
No response
What browsers are you seeing the problem on?
Firefox, Chrome
On what operating system are you experiencing the issue?
Linux
Pull Request

[ ] I would like to do a Pull Request

Code of Conduct

[X] I agree to follow this project's Code of Conduct

Hi,
i dont think the IconButton is doing something wrong.
The halo size is just a padding of 12px on all sides.
What messes the button up is the flex layout.
I did modify your example a little, just put the icon button in a div and it will not be stretched.
https://try.mudblazor.com/snippet/wuGRahlNrpXysXEb

@DennisOstertag  Thank you very much for pointing this out.


FrameSimulators owns rng

Exposing FrameSimulator to python

That is a good idea. I was planning on phasing out SHARED_TEST_RNG and just calling externally_seeded_rng directly.

I was planning on phasing out SHARED_TEST_RNG and just calling externally_seeded_rng directly. Should get to the same place right?

Yes, that's what you should do.

I haven't forgotten about this! Hopefully will have some time to work on it next week


Based on the current node, how to find out the bufferView number?

In a function that takes the current node as input argument, how can I find out the number of the "bufferView" belonging to it? In the gltf file the number is simply specified: «"accessors":[ { "bufferView":0» but the parser already refers to the "bufferView" itself (node->mesh->primitives->indices->buffer_view) and does not allow to find out its number in order to correctly refer to other data, e.g. "accessor", by this number. So far, I've done this:
int iBufferView = (node - data->scene->nodes[0]) * 4;
but I doubt it's fair to the children.

That's kind of more correct:
int iBufferView = node->mesh->primitives->indices->buffer_view - data->accessors->buffer_view - 3;


“apropos” console command

Xonotic has a nice “apropos” command, if you type in console:
apropos something

It would print any cvar or command that has something in their name or description.
Currently in Unvanquished/Daemon we have to do something like that (with a lot of noise):
listCmds
listCvars
grep something

Some of our list* commands, like listMaps already allow this with listMaps something, so it just needs to be ported to other commands as well.

listCvars also works with * and probably other stuff like ?.


Fixes #12873. Allow Sidecar to override Outbound Traffic Policy

This PR fixes #12873.
It has to be used with the corresponding API change that is currently in https://github.com/istio/api/pull/887
It adds the field OutboundTrafficPolicy to the Sidecar configuration so that it is possible to override this policy per workload.
If I could use only one type in the change to the API, the code in sidecar.go would come a bit simpler and would not have to make a elementwise copy of the message.

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by: robertpanzer
To fully approve this pull request, please assign additional approvers.
We suggest the following additional approver: hzxuzhonghu
If they are not already assigned, you can assign the PR to them by writing /assign @hzxuzhonghu in a comment when ready.
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

pilot/OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

Hi @robertpanzer. Thanks for your PR.
I'm waiting for a istio member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work. Regular contributors should join the org to skip this step.
Once the patch is verified, the new status will be reflected by the ok-to-test label.
I understand the commands that are listed here.

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

/ok-to-test

@robertpanzer: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-unit-tests.sh
4521a3b74a3f2f830f25dfd9c777facacbd12d77
link
/test istio-unit-tests

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@robertpanzer: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-unit-tests.sh
4521a3b74a3f2f830f25dfd9c777facacbd12d77
link
/test istio-unit-tests

prow/istio-presubmit.sh
4521a3b74a3f2f830f25dfd9c777facacbd12d77
link
/test istio-presubmit

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@robertpanzer: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-unit-tests.sh
4521a3b74a3f2f830f25dfd9c777facacbd12d77
link
/test istio-unit-tests

prow/istio-presubmit.sh
4521a3b74a3f2f830f25dfd9c777facacbd12d77
link
/test istio-presubmit

prow/release-test.sh
4521a3b74a3f2f830f25dfd9c777facacbd12d77
link
/test release-test

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@robertpanzer: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-unit-tests.sh
4521a3b74a3f2f830f25dfd9c777facacbd12d77
link
/test istio-unit-tests

prow/istio-presubmit.sh
4521a3b74a3f2f830f25dfd9c777facacbd12d77
link
/test istio-presubmit

prow/release-test.sh
4521a3b74a3f2f830f25dfd9c777facacbd12d77
link
/test release-test

prow/istio-pilot-e2e-envoyv2-v1alpha3.sh
4521a3b74a3f2f830f25dfd9c777facacbd12d77
link
/test istio-pilot-e2e-envoyv2-v1alpha3

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@robertpanzer: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-unit-tests.sh
4521a3b74a3f2f830f25dfd9c777facacbd12d77
link
/test istio-unit-tests

prow/istio-presubmit.sh
4521a3b74a3f2f830f25dfd9c777facacbd12d77
link
/test istio-presubmit

prow/release-test.sh
4521a3b74a3f2f830f25dfd9c777facacbd12d77
link
/test release-test

prow/istio-pilot-e2e-envoyv2-v1alpha3.sh
4521a3b74a3f2f830f25dfd9c777facacbd12d77
link
/test istio-pilot-e2e-envoyv2-v1alpha3

prow/e2e-mixer-no_auth.sh
4521a3b74a3f2f830f25dfd9c777facacbd12d77
link
/test e2e-mixer-no_auth

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@robertpanzer: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-unit-tests.sh
4521a3b74a3f2f830f25dfd9c777facacbd12d77
link
/test istio-unit-tests

prow/istio-presubmit.sh
4521a3b74a3f2f830f25dfd9c777facacbd12d77
link
/test istio-presubmit

prow/release-test.sh
4521a3b74a3f2f830f25dfd9c777facacbd12d77
link
/test release-test

prow/istio-pilot-e2e-envoyv2-v1alpha3.sh
4521a3b74a3f2f830f25dfd9c777facacbd12d77
link
/test istio-pilot-e2e-envoyv2-v1alpha3

prow/e2e-mixer-no_auth.sh
4521a3b74a3f2f830f25dfd9c777facacbd12d77
link
/test e2e-mixer-no_auth

prow/istio-integ-local-tests.sh
4521a3b74a3f2f830f25dfd9c777facacbd12d77
link
/test istio-integ-local-tests

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

Thanks for marking ok_to_test! :) The thing will immediately fail right now though until https://github.com/istio/api/pull/887 is merged so that the dependency can be updated in this project.

@robertpanzer: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-unit-tests.sh
4521a3b74a3f2f830f25dfd9c777facacbd12d77
link
/test istio-unit-tests

prow/istio-presubmit.sh
4521a3b74a3f2f830f25dfd9c777facacbd12d77
link
/test istio-presubmit

prow/release-test.sh
4521a3b74a3f2f830f25dfd9c777facacbd12d77
link
/test release-test

prow/istio-pilot-e2e-envoyv2-v1alpha3.sh
4521a3b74a3f2f830f25dfd9c777facacbd12d77
link
/test istio-pilot-e2e-envoyv2-v1alpha3

prow/e2e-mixer-no_auth.sh
4521a3b74a3f2f830f25dfd9c777facacbd12d77
link
/test e2e-mixer-no_auth

prow/istio-integ-local-tests.sh
4521a3b74a3f2f830f25dfd9c777facacbd12d77
link
/test istio-integ-local-tests

prow/e2e-dashboard.sh
4521a3b74a3f2f830f25dfd9c777facacbd12d77
link
/test e2e-dashboard

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@robertpanzer: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-unit-tests.sh
4521a3b74a3f2f830f25dfd9c777facacbd12d77
link
/test istio-unit-tests

prow/istio-presubmit.sh
4521a3b74a3f2f830f25dfd9c777facacbd12d77
link
/test istio-presubmit

prow/release-test.sh
4521a3b74a3f2f830f25dfd9c777facacbd12d77
link
/test release-test

prow/istio-pilot-e2e-envoyv2-v1alpha3.sh
4521a3b74a3f2f830f25dfd9c777facacbd12d77
link
/test istio-pilot-e2e-envoyv2-v1alpha3

prow/e2e-mixer-no_auth.sh
4521a3b74a3f2f830f25dfd9c777facacbd12d77
link
/test e2e-mixer-no_auth

prow/istio-integ-local-tests.sh
4521a3b74a3f2f830f25dfd9c777facacbd12d77
link
/test istio-integ-local-tests

prow/e2e-dashboard.sh
4521a3b74a3f2f830f25dfd9c777facacbd12d77
link
/test e2e-dashboard

prow/e2e-bookInfoTests-v1alpha3.sh
4521a3b74a3f2f830f25dfd9c777facacbd12d77
link
/test e2e-bookInfoTests-envoyv2-v1alpha3

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@robertpanzer: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-unit-tests.sh
4521a3b74a3f2f830f25dfd9c777facacbd12d77
link
/test istio-unit-tests

prow/istio-presubmit.sh
4521a3b74a3f2f830f25dfd9c777facacbd12d77
link
/test istio-presubmit

prow/release-test.sh
4521a3b74a3f2f830f25dfd9c777facacbd12d77
link
/test release-test

prow/istio-pilot-e2e-envoyv2-v1alpha3.sh
4521a3b74a3f2f830f25dfd9c777facacbd12d77
link
/test istio-pilot-e2e-envoyv2-v1alpha3

prow/e2e-mixer-no_auth.sh
4521a3b74a3f2f830f25dfd9c777facacbd12d77
link
/test e2e-mixer-no_auth

prow/istio-integ-local-tests.sh
4521a3b74a3f2f830f25dfd9c777facacbd12d77
link
/test istio-integ-local-tests

prow/e2e-dashboard.sh
4521a3b74a3f2f830f25dfd9c777facacbd12d77
link
/test e2e-dashboard

prow/e2e-bookInfoTests-v1alpha3.sh
4521a3b74a3f2f830f25dfd9c777facacbd12d77
link
/test e2e-bookInfoTests-envoyv2-v1alpha3

prow/e2e-simpleTests.sh
4521a3b74a3f2f830f25dfd9c777facacbd12d77
link
/test e2e-simpleTests

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@robertpanzer: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-unit-tests.sh
4521a3b74a3f2f830f25dfd9c777facacbd12d77
link
/test istio-unit-tests

prow/istio-presubmit.sh
4521a3b74a3f2f830f25dfd9c777facacbd12d77
link
/test istio-presubmit

prow/release-test.sh
4521a3b74a3f2f830f25dfd9c777facacbd12d77
link
/test release-test

prow/istio-pilot-e2e-envoyv2-v1alpha3.sh
4521a3b74a3f2f830f25dfd9c777facacbd12d77
link
/test istio-pilot-e2e-envoyv2-v1alpha3

prow/e2e-mixer-no_auth.sh
4521a3b74a3f2f830f25dfd9c777facacbd12d77
link
/test e2e-mixer-no_auth

prow/istio-integ-local-tests.sh
4521a3b74a3f2f830f25dfd9c777facacbd12d77
link
/test istio-integ-local-tests

prow/e2e-dashboard.sh
4521a3b74a3f2f830f25dfd9c777facacbd12d77
link
/test e2e-dashboard

prow/e2e-bookInfoTests-v1alpha3.sh
4521a3b74a3f2f830f25dfd9c777facacbd12d77
link
/test e2e-bookInfoTests-envoyv2-v1alpha3

prow/e2e-simpleTests.sh
4521a3b74a3f2f830f25dfd9c777facacbd12d77
link
/test e2e-simpleTests

prow/e2e_pilotv2_auth_sds.sh
4521a3b74a3f2f830f25dfd9c777facacbd12d77
link
/test istio_auth_sds_e2e

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@robertpanzer: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-unit-tests.sh
4521a3b74a3f2f830f25dfd9c777facacbd12d77
link
/test istio-unit-tests

prow/istio-presubmit.sh
4521a3b74a3f2f830f25dfd9c777facacbd12d77
link
/test istio-presubmit

prow/release-test.sh
4521a3b74a3f2f830f25dfd9c777facacbd12d77
link
/test release-test

prow/istio-pilot-e2e-envoyv2-v1alpha3.sh
4521a3b74a3f2f830f25dfd9c777facacbd12d77
link
/test istio-pilot-e2e-envoyv2-v1alpha3

prow/e2e-mixer-no_auth.sh
4521a3b74a3f2f830f25dfd9c777facacbd12d77
link
/test e2e-mixer-no_auth

prow/istio-integ-local-tests.sh
4521a3b74a3f2f830f25dfd9c777facacbd12d77
link
/test istio-integ-local-tests

prow/e2e-dashboard.sh
4521a3b74a3f2f830f25dfd9c777facacbd12d77
link
/test e2e-dashboard

prow/e2e-bookInfoTests-v1alpha3.sh
4521a3b74a3f2f830f25dfd9c777facacbd12d77
link
/test e2e-bookInfoTests-envoyv2-v1alpha3

prow/e2e-simpleTests.sh
4521a3b74a3f2f830f25dfd9c777facacbd12d77
link
/test e2e-simpleTests

prow/e2e_pilotv2_auth_sds.sh
4521a3b74a3f2f830f25dfd9c777facacbd12d77
link
/test istio_auth_sds_e2e

prow/e2e-bookInfoTests-trustdomain.sh
4521a3b74a3f2f830f25dfd9c777facacbd12d77
link
/test e2e-bookInfoTests-trustdomain

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@robertpanzer: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-unit-tests.sh
4521a3b74a3f2f830f25dfd9c777facacbd12d77
link
/test istio-unit-tests

prow/istio-presubmit.sh
4521a3b74a3f2f830f25dfd9c777facacbd12d77
link
/test istio-presubmit

prow/release-test.sh
4521a3b74a3f2f830f25dfd9c777facacbd12d77
link
/test release-test

prow/istio-pilot-e2e-envoyv2-v1alpha3.sh
4521a3b74a3f2f830f25dfd9c777facacbd12d77
link
/test istio-pilot-e2e-envoyv2-v1alpha3

prow/e2e-mixer-no_auth.sh
4521a3b74a3f2f830f25dfd9c777facacbd12d77
link
/test e2e-mixer-no_auth

prow/istio-integ-local-tests.sh
4521a3b74a3f2f830f25dfd9c777facacbd12d77
link
/test istio-integ-local-tests

prow/e2e-dashboard.sh
4521a3b74a3f2f830f25dfd9c777facacbd12d77
link
/test e2e-dashboard

prow/e2e-bookInfoTests-v1alpha3.sh
4521a3b74a3f2f830f25dfd9c777facacbd12d77
link
/test e2e-bookInfoTests-envoyv2-v1alpha3

prow/e2e-simpleTests.sh
4521a3b74a3f2f830f25dfd9c777facacbd12d77
link
/test e2e-simpleTests

prow/e2e_pilotv2_auth_sds.sh
4521a3b74a3f2f830f25dfd9c777facacbd12d77
link
/test istio_auth_sds_e2e

prow/e2e-bookInfoTests-trustdomain.sh
4521a3b74a3f2f830f25dfd9c777facacbd12d77
link
/test e2e-bookInfoTests-trustdomain

prow/istio-integ-k8s-tests.sh
4521a3b74a3f2f830f25dfd9c777facacbd12d77
link
/test istio-integ-k8s-tests

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@robertpanzer: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-unit-tests.sh
4521a3b74a3f2f830f25dfd9c777facacbd12d77
link
/test istio-unit-tests

prow/istio-presubmit.sh
4521a3b74a3f2f830f25dfd9c777facacbd12d77
link
/test istio-presubmit

prow/release-test.sh
4521a3b74a3f2f830f25dfd9c777facacbd12d77
link
/test release-test

prow/istio-pilot-e2e-envoyv2-v1alpha3.sh
4521a3b74a3f2f830f25dfd9c777facacbd12d77
link
/test istio-pilot-e2e-envoyv2-v1alpha3

prow/e2e-mixer-no_auth.sh
4521a3b74a3f2f830f25dfd9c777facacbd12d77
link
/test e2e-mixer-no_auth

prow/istio-integ-local-tests.sh
4521a3b74a3f2f830f25dfd9c777facacbd12d77
link
/test istio-integ-local-tests

prow/e2e-dashboard.sh
4521a3b74a3f2f830f25dfd9c777facacbd12d77
link
/test e2e-dashboard

prow/e2e-bookInfoTests-v1alpha3.sh
4521a3b74a3f2f830f25dfd9c777facacbd12d77
link
/test e2e-bookInfoTests-envoyv2-v1alpha3

prow/e2e-simpleTests.sh
4521a3b74a3f2f830f25dfd9c777facacbd12d77
link
/test e2e-simpleTests

prow/e2e_pilotv2_auth_sds.sh
4521a3b74a3f2f830f25dfd9c777facacbd12d77
link
/test istio_auth_sds_e2e

prow/e2e-bookInfoTests-trustdomain.sh
4521a3b74a3f2f830f25dfd9c777facacbd12d77
link
/test e2e-bookInfoTests-trustdomain

prow/istio-integ-k8s-tests.sh
4521a3b74a3f2f830f25dfd9c777facacbd12d77
link
/test istio-integ-k8s-tests

prow/istio-pilot-multicluster-e2e.sh
4521a3b74a3f2f830f25dfd9c777facacbd12d77
link
/test istio-pilot-multicluster-e2e

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

Would it be possible to make this an annotation? Something like sidecar.istio.io/outboundTrafficPolicy? I think we are a bit hesitant committing to a new API field for this right now. You can read the annotation in node.Metadata.
The main difference with this approach though is it will be a pod-level change rather than Sidecar which can affect a whole namespace. Would that be an issue?
@costinm

Lets please not keep piling up annotations. It is non portable outside of kubernetes. And imposes an unnecessary tax on people to use custom tooling to add more stuff to their envoy metadata for every workload deployed on non kubernetes (and kubernetes environments).

Please update the deps.. the API change has merged

/hold
Fine for master - but for 1.1 we expect weekly releases and generally no API changes without prior TOC review.  Also the bar for 1.1 should be very high - end to end tests, qualification, perf, etc.

And please add an end to end test - the current test just verifies that the something is generated in listener.
Does it crash envoy ? Does it do what is expected ? Does it have any impact on stability or  performance ? Nobody can know based on what is in this PR.


[defs] zlib.constants is not defined

Node moved zlib's constants from under the zlib module to under zlib.constants e.g. zlib.Z_BEST_COMPRESSION is now zlib.constants.Z_BEST_COMPRESSION:

Note: Previously, the constants were available directly from require('zlib'), for instance zlib.Z_NO_FLUSH. Accessing the constants directly from the module is currently still possible but should be considered deprecated.

https://nodejs.org/api/zlib.html#zlib_constants
Flow's defs are here: https://github.com/facebook/flow/blob/master/lib/node.js#L1730. Probably could pull the fields out into a constants type and then intersect it into the zlib type for backwards compatibility.

I will take this one :)

Why wasn't this merged?

Oh idk I could look into this 👍


cap1xxx: generalize cap1188 to support more devices

cap1166 can be found in Display-O-Tron HAT by Pimoroni.

@jdortiz this should unblock you.

Cool, thanks!


Make faster to deploy staging containers

Both nix and ghcr.io are slow now
https://github.com/kachick/dotfiles/issues/472
https://github.com/orgs/community/discussions/27080
https://github.com/orgs/community/discussions/31175

I don't have any idea and motivation around this now


[android] Warning: Accessing hidden method Lsun/misc/Unsafe;->putObject

Hello, after upgrading to the latest flutter release (3.7.4), I'm seeing the following warnings every time I use this plugin:
W/my.cool.app(30110): Accessing hidden method Lsun/misc/Unsafe;->putObject(Ljava/lang/Object;JLjava/lang/Object;)V (greylist, linking, allowed)
W/my.cool.app(30110): Accessing hidden method Lsun/misc/Unsafe;->putInt(Ljava/lang/Object;JI)V (greylist, linking, allowed)
W/my.cool.app(30110): Accessing hidden method Lsun/misc/Unsafe;->getObject(Ljava/lang/Object;J)Ljava/lang/Object; (greylist, linking, allowed)
W/my.cool.app(30110): Accessing hidden method Lsun/misc/Unsafe;->putObject(Ljava/lang/Object;JLjava/lang/Object;)V (greylist, linking, allowed)
W/my.cool.app(30110): Accessing hidden method Lsun/misc/Unsafe;->getObject(Ljava/lang/Object;J)Ljava/lang/Object; (greylist, linking, allowed)
W/my.cool.app(30110): Accessing hidden method Lsun/misc/Unsafe;->putObject(Ljava/lang/Object;JLjava/lang/Object;)V (greylist, linking, allowed)
W/my.cool.app(30110): Accessing hidden method Lsun/misc/Unsafe;->getObject(Ljava/lang/Object;J)Ljava/lang/Object; (greylist, linking, allowed)
W/my.cool.app(30110): Accessing hidden method Lsun/misc/Unsafe;->putInt(Ljava/lang/Object;JI)V (greylist, linking, allowed)
W/my.cool.app(30110): Accessing hidden method Lsun/misc/Unsafe;->putInt(Ljava/lang/Object;JI)V (greylist, linking, allowed)

Right now I've only tested it on a physical android device, using both version 7.0.2 and 8.0.0 of this library.
The only other cue about this that I've found is on a flutter issue:
https://github.com/flutter/flutter/issues/27095#issuecomment-722857855
Here is flutter doctor output:
[✓] Flutter (Channel stable, 3.7.4, on Ubuntu 22.04.2 LTS 5.19.0-32-generic, locale en_US.UTF-8)
    • Flutter version 3.7.4 on channel stable at /home/iazel/snap/flutter/common/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision b4bce91dd0 (2 days ago), 2023-02-21 09:50:50 +0800
    • Engine revision 248290d6d5
    • Dart version 2.19.2
    • DevTools version 2.20.1

[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.0)
    • Android SDK at /home/iazel/Android/Sdk
    • Platform android-33, build-tools 33.0.0
    • Java binary at: /snap/android-studio/125/android-studio/jre/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.13+0-b1751.21-8125866)
    • All Android licenses accepted.

[✓] Chrome - develop for the web
    • Chrome at google-chrome

[✓] Linux toolchain - develop for Linux desktop
    • clang version 10.0.0-4ubuntu1
    • cmake version 3.16.3
    • ninja version 1.10.0
    • pkg-config version 0.29.1

[✓] Android Studio (version 2021.3)
    • Android Studio at /snap/android-studio/125/android-studio
    • Flutter plugin version 72.1.1
    • Dart plugin version 213.7433
    • Java version OpenJDK Runtime Environment (build 11.0.13+0-b1751.21-8125866)

[✓] Connected device (3 available)
    • ONEPLUS A5000 (mobile) • <IP_ADDRESS>:5000 • android-arm64  • Android 10 (API 29)
    • Linux (desktop)        • linux               • linux-x64      • Ubuntu 22.04.2 LTS 5.19.0-32-generic
    • Chrome (web)           • chrome              • web-javascript • Google Chrome 110.0.5481.100

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

• No issues found!

Could you please have a look?

This will help https://www.youtube.com/watch?v=JogvnnaJ8TI

I am closing all older issues. If this issue still exists in the latest version, please let me know.

The issue still exists with v.9.2.2. I was only experiencing it when testing on a physical device so far.


Fixes causer not being set on ActivityLog when using a different guard other than Laravel's default

This fixes an issue that can cause the causer to not be applied to an ActivityLog if using any guard other than Laravels default 'web' guard.
Using $this->authManager->getDefaultDriver() forces $this->authManager->guard($this->authDriver)->user() in getDefaultCauser to use that guard.  This change allows the authManager to return the authenticated user of the current guard.
For example: When testing and using Sanctum::actingAs($user), which uses the 'sanctum' guard, this would previously use the web guard and not return the authenticated user.
I'm not sure how to apply testing for this.

https://github.com/spatie/laravel-activitylog/releases/tag/4.5.3

@Gummibeer Thanks to you and the Spatie team for the many packages.


python310Packages.ropper: 1.13.7 -> 1.13.8

Diff: https://github.com/sashs/Ropper/compare/v1.13.7...v1.13.8
Description of changes

Things done

Built on platform(s)

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

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

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

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

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

[ ] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 209732 run on x86_64-linux 1

3 packages built:

gef
python310Packages.ropper
python39Packages.ropper


rs2::pointcloud calculate method timed out randomly

Required Info

Camera Model
D435/D435i

Firmware Version
<IP_ADDRESS>

Operating System & Version
Ubuntu 18.04

Kernel Version (Linux Only)
4.9.140-tegra

Platform
NVIDIA Jetson TX2

SDK Version
2.35.2

Language
C++

Segment
Robot

Issue Description
I am using gstreamer to produce a video stream of RGB frames from D435/D435i, while some point cloud algorithms running in the background, but the stream keeps getting cut out after running a while.
Sometimes it occurs after streaming for 5 hours straight, sometimes after running just 10 minutes. The time of stream cutting out tends to be longer if the system starts for the first time. And if stream restarts immediately after cutting out, it would fail again in just minutes.
After debugging, this line in my code just keeps timing out, and seems to be the reason the stream fails:
points = pointcloud.calculate(depth_frame);

It just stops here, does not produce any error, or stop the application from running, or proceed to the next line. The CPU usage goes down as algorithms stops after receiving no data, but the D435 camera is still busy and heating.
This also did not happen when I was using 2.13.0 version of the SDK, but only happens after I upgraded to 2.35.2.
Trouble Shooting Attempts
Changed camera, still happens, to both the D435 and D435i.
Changed to another NVIDIA Jetson TX2, still happens.
Changed firmware, still happens, to both <IP_ADDRESS> and <IP_ADDRESS>.
Tried running realsense-viewer for days, did not fail.
Tried running my streaming application with a .bag file on loop for days, did not fail.
I know this issue is super strange. I've never seen it before. It would help a lot if anyone can share some information on what is potentially the problem, or how to debug this.

Hi @lipeize-pku  If you were able to run the stream with a bag file on loop with gstreamer for days then that suggests that it is not the gstreamer aspect of the project that has the problem.  Nevertheless, you may be interested in the discussion about gstreamer streaming with RealSense in the link below if you have not seen it already:
https://github.com/IntelRealSense/librealsense/issues/6465
There is a known memory leak in the point cloud processing block that has been around for a while.  Its first recorded entry in the Known Issues section of the SDK release notes is actually in the 2.18.0 SDK version, and so began after the time at which you were successfully using the program with SDK 2.13.0.
A memory leak is where memory is not released properly by an application and so the memory capacity gets progressively more consumed, until stability of the program's execution degrades and the program may end up freezing or crashing.
The link below offers advice on how to workaround the point-cloud processing block's memory leak issue:
https://github.com/IntelRealSense/librealsense/issues/2860

Thanks for your reply!
I followed instructions in #2860 and put the creation of rs2::pointcloud pc variable outside the main data loop, and it solves my failure at line points = pc.calculate(depth_frame);
However, another failure arises. This time after running a much longer time. The pipe.wait_for_frames() line would report frame didn't arrive within 15000, after running several hours.
I tried the method described in #5713, and reset the camera after running some time, with the following code:
rs2::context ctx;
rs2::device dev = ctx.query_devices().front();
void reset_camera() {
        dev.hardware_reset();
        rs2::device_hub hub(ctx);
        dev = hub.wait_for_device();
        pipe.start(cfg);
}

The application reports error failed to set power state when I call reset_camera().

Could you test whether the situation improves if you move ** pipe.start(cfg);** outside of the reset_camera() void statement, please?

There is only one camera.

Thanks! I'm trying the moving out pipe.start(cfg)method.
But since when I debugged, the application stops at dev.hardware_reset() and did not proceed any further, I doubt it helps.
At first the function has the first 2 lines in it:
void reset_camera() {
        rs2::context ctx;
        rs2::device dev = ctx.query_devices().front();
        dev.hardware_reset();
        rs2::device_hub hub(ctx);
        dev = hub.wait_for_device();
        pipe.start(cfg);
}

Then the application would crash at rs2::device dev = ctx.query_devices().front() with the same failed to set power state.
It's really strange.

My understanding is that you cannot use pipe.stop() before pipe.start(), which may explain your crash when doing so.
Usually, hardware_reset() is not used inside a void function but instead is a part of the main block of setup code before the pipe.start() line.  So I am not sure what effect putting it inside a void may have (e.g duplicating configuration functions that may already have been defined in the main block of startup code and should only be used once).
The approach that some users have taken is to program in a hardware_reset() instruction into their application that activates on satisfaction of a certain condition.  For example, if a certain percentage of the depth pixels (e.g greater than 50%) have a value of zero (indicating that something has gone wrong with the image) then initiate a camera reset.

Why would the camera suddenly "frame didn't arrive within 15000" after running hours tho? It happens after 5 hours at 30 fps, or 30 hours at 6-7 fps (algorithm slowing down frame rate).

@lipeize-pku   If the time until an application becomes unstable depends upon the FPS that is being used (with failure occurring faster at higher FPS and taking longer at lower FPS), this can be a symptom of a memory leak.  The higher the FPS, the faster that the computer's memory resources are consumed.

I observe that the RAM usage of my system stays around 3G/8G, even when the camera stops, so it's far from filling up. Can it be some other internal resources depletion within the camera?

What are the camera ASIC and projector temperatures like during your long-run tests, please?  If the projector temperature exceeds 60 degrees C for several seconds during operation then a laser safety mechanism halves the camera's laser power.   If the temperature continues to exceed 60 degrees then the laser is shut off.

So I'm testing for temperature in long run in realsense-viewer, with laser power turned to max and a cooling fan keeping the camera at 35℃. Then I noticed some wired behaviour:
After running a while, the frame would stuck every few seconds, FPS drops from 30 to 4, and Output console says: "Out of frame resources!" and "Exception was thrown during user processing callback!"
I suspect it could link to my "frame didn't arrive within 15000" within my own application.
But I seem to only find "Out of frame resources!" issues in librealsense-ros git. Any idea why it would happen in Ubuntu 18.04 and librealsense 2.35.2?

It is a good idea to have a cooling fan to help reduce temperature by keeping the outer casing cool.  Be careful not to blow air directly into the camera's ventilation grille though, as pushing air inside can disrupt the airflow inside the device that normally helps warm air to be extracted.
35 degrees C is a fairly normal result for max laser power use over a prolonged period.  I would not expect to see problems starting to manifest in the camera unless the temperature exceeded 42 degrees.
Next, I would suggest monitoring your computer's CPU usage during running and see what it is doing when the FPS drops occur.   If it is "maxing out" at 100% CPU usage then this may create processing bottlenecks so that the CPU cannot cope with the amount of frames that are arriving (hence "out of frame resources" because it is not able to process them in a sufficiently timely manner).

I'm closing this issue because the discussion is now around another issue. I'm starting a new issue to address this.

Okay, thanks very much for the update.


Autoplay video not working.

I am using v1.5.0 libraries with YouTube slide.
But, on page load video not autoplay into slides.
//Video
reachVideoAction : 'playVideo',
leaveVideoAction : 'pauseVideo',
playVideoAction : 'none',
pauseVideoAction : 'startAutoplay',
endVideoAction : 'none',

There is no js error in console. Video start loading but not autoplay.
Any help appreciated.
Thanks

Hi. In some browsers the videos will not autoplay, without user action, unless they are muted. This is a browser policy.
Best,
David


Fix broken usage of llama_index usage. #1614

Summary
Fix the broken llama-index usage.
Motivation
Llama_index is a very popular and powerful production agent and many people refer to its example usage. Good maintenance is beneficial.
Those scripts use llama-index.
examples/evaluation/Evaluate_RAG_with_LlamaIndex.ipynb
examples/third_party/financial_document_analysis_with_llamaindex.ipynb
Use the llama-index==0.12.8.
Update with the new llama-index modules.
Deprecate gpt-3.5 to gpt-4o-mini, deprecate gpt-4 to gpt-4o.
Tested and got the same result as the previous scripts.

Fixing issue https://github.com/openai/openai-cookbook/issues/1614


Spelling mistake in README.md file

please assign me this

@akshitagupta15june please assign this issue to me because I have raised the issue first.

Please assign this issue to me. I would like to work on this project @akshitagupta15june

@gauravsingh1281 Will assign it soon
Thank you for patience

[ ] assigned


Scoping of attribute

There's an error in scoping attribute if no space after the signal name:
	attribute syn_keep of gated_echo_ptrig: signal is TRUE;

Will fail.  The following passes:
	attribute syn_keep of gated_echo_ptrig : signal is TRUE;

Fixed and staged for release.


[AutoComplete] Add a maxHeight property

DropDownMenu has a maxHeight property described as "The maximum height of the Menu when it is displayed".
AutoComplete has a similar Menu that I think would be awesome have this same property.

To be more clear I am trying avoid the floating menu fills all page height when dataSource is bigger than the examples given in the docs.

an alternative way, just add this:
menuStyle={{maxHeight:"30vh"}}

@Fauny Thanks for the tip ;)

Picked up with #3194. Thanks for the suggestion! :+1:

@Fauny This doesn't seem to work for me. Where would you put that? I'm trying to put it on <AutoComplete /> but it doesn't seem to make a difference. Using<EMAIL_ADDRESS>so wondering if it is a version difference?

This @Fauny . Thank you!


beast.cc:65] connect: Connection refused

Ubuntu 16.04.4 LTS
After start hub i get error in loop
E1029 15:38:04.320027 21539 beast.cc:65] connect: Connection refused
gRPC working

Hey @dru0 you'll need to provide a valid IRI HTTP API endpoint via -apiAddress.


loss does not decrease

Hello, thank you very much for sharing your work. In the TinyLLaVA_Factory-main file, I executed bash ./scripts/train/train_phi.sh and found a problem. Its loss has been around 5 and has not decreased. The final fine-tuned model effect is not good. The result of testvqa verification is 7.85. It's very strange. I don't know what went wrong? The executed script and results are shown in the figure below. Looking forward to your reply.

Are these pretrain-stage loss? For the Phi-2 LLM, final loss in the pretrain-stage could reach to about 2.5. From the screenshot you gave above, grad-norm is 0, which indicates the network is not learning and gradient is 0 and parameters are not updated any more. Did you change any hyper-params in the pretrain.sh/finetune.sh?

This is the loss in the fine-tuning phase. I only changed the batch_size in the hyperparameters. I used four 3090 GPUs. I don't know where the problem lies.
deepspeed --include localhost:0,1,2,3 --master_port 29501 tinyllava/train/train.py
--deepspeed ./scripts/zero3.json
--data_path  $DATA_PATH
--image_folder $IMAGE_PATH
--is_multimodal True
--conv_version $CONV_VERSION
--model_name_or_path $LLM_VERSION
--vision_tower $VT_VERSION
--vision_tower2 ''
--connector_type $CN_VERSION
--mm_vision_select_layer -2
--image_aspect_ratio square
--attn_implementation flash_attention_2
--fp16 True
--training_recipe $TRAIN_RECIPE
--tune_type_llm lora
--tune_type_vision_tower frozen
--tune_vision_tower_from_layer 0
--tune_type_connector full
--group_by_modality_length True
--pretrained_model_path /home/omnisky/userfile_2/wangfj/TinyLLaVA_Factory-main/checkpoints/llava_factory/tiny-llava-${LLM_VARIANT}-${VT_VARIANT}-${VERSION}-pretrain-0929
--output_dir /home/omnisky/userfile_2/wangfj/TinyLLaVA_Factory-main/checkpoints/llava_factory/tiny-llava-${LLM_VARIANT}-${VT_VARIANT}-${VERSION}-finetune-0929
--num_train_epochs 1
--per_device_train_batch_size 4
--per_device_eval_batch_size 4
--gradient_accumulation_steps 4
--evaluation_strategy "no"
--save_strategy "steps"
--save_steps 50000
--save_total_limit 1
--learning_rate 2e-5
--weight_decay 0.
--warmup_ratio 0.03
--lr_scheduler_type "cosine"
--logging_steps 1
--tf32 False
--model_max_length $MODEL_MAX_LENGTH
--gradient_checkpointing True
--dataloader_num_workers 8
--lazy_preprocess True
--report_to tensorboard
--tokenizer_use_fast False
--run_name /home/omnisky/userfile_2/wangfj/TinyLLaVA_Factory-main/checkpoints/llava_factory/tiny-llava-${LLM_VARIANT}-${VT_VARIANT}-${VERSION}-finetune-0929

Hi. After pretraining, the initial loss in finetune stage should starts from about 2.5. It seems the problem came from the pretraining stage. Please provide your params in pretrain.sh. Please  also check that if the final loss in your pretrain stage could decreased to about 2.5.

Hi. After pretraining, the initial loss in finetune stage should starts from about 2.5. It seems the problem came from the pretraining stage. Please provide your params in pretrain.sh. Please also check if the final loss in your pretrain stage decreased to about 2.5.

Hi. After pretraining, the initial loss in finetune stage should starts from about 2.5. It seems the problem came from the pretraining stage. Please provide your params in pretrain.sh. Please also check if the final loss in your pretrain stage decreased to about 2.5.

Thank you for your reply. The pre-training parameter settings are as follows. The pre-training loss is also around 5, which has not decreased.
deepspeed --include localhost:0,1,2,3  --master_port 29502 tinyllava/train/train.py
--deepspeed ./scripts/zero2.json
--data_path  $DATA_PATH
--image_folder $IMAGE_PATH
--is_multimodal True
--conv_version pretrain
--model_name_or_path $LLM_VERSION
--vision_tower $VT_VERSION
--vision_tower2 $VT_VERSION2
--connector_type $CN_VERSION
--mm_vision_select_layer -2
--image_aspect_ratio square
--attn_implementation flash_attention_2
--fp16 True
--training_recipe $TRAIN_RECIPE
--tune_type_llm frozen
--tune_type_vision_tower frozen
--tune_vision_tower_from_layer 0
--tune_type_connector full
--output_dir /home/omnisky/userfile_2/wangfj/TinyLLaVA_Factory-main/checkpoints/llava_factory/tiny-llava-${LLM_VARIANT}-${VT_VARIANT}-${VERSION}-pretrain-0929
--num_train_epochs 1
--per_device_train_batch_size 32
--per_device_eval_batch_size 4
--gradient_accumulation_steps 2
--evaluation_strategy "no"
--save_strategy "steps"
--save_steps 24000
--save_total_limit 1
--learning_rate 1e-1
--weight_decay 0.
--warmup_ratio 0.03
--lr_scheduler_type "cosine"
--logging_steps 1
--tf32 False
--model_max_length $MODEL_MAX_LENGTH
--gradient_checkpointing True
--dataloader_num_workers 8
--lazy_preprocess True
--report_to tensorboard
--tokenizer_use_fast False
--run_name /home/omnisky/userfile_2/wangfj/TinyLLaVA_Factory-main/checkpoints/llava_factory/tiny-llava-${LLM_VARIANT}-${VT_VARIANT}-${VERSION}-pretrain-0929

Hi, your learning rate in the pretrain stage is too large...please set learning_rate to 1e-3.
And are you sure per_device_train_batch_size can be set to 32? I run your scripts also with a machine of 4 3090GPUs. I need to decrease per_device_train_batch_size to 16 and increase gradient_accumulation_steps to 4, so that I can avoid OOM.

Thank you very much for your reply, per_device_train_batch_size  be set  4 when running with a machine of 4 3090GPUs，Otherwise it will oom. I'll try again with a different learning rate. thankyou！


Is there support to change speed of audio?

Not 'pitch', since it modifies both the pitch and speed. I was actually digging through Blender to try to hack in such feature, but it seems that Blender uses audaspace (am I correct?). I don't see anything that can change speed without affecting pitch here after a quick search through functions. Is such feature supported? Will it be supported?

What you are looking for is described in this article: https://en.wikipedia.org/wiki/Audio_time-scale/pitch_modification
Basically when you change the playback speed of a sound you automatically change the pitch as well, that's what blender/audaspace is capable to do. It is described under resampling in the wikipedia article. Changing only one of them requires more advanced techniques described in the article under frequency/time domain, but these are currently not implemented.

Yes, I know that. I am EE Major and I know some signal processing. Could you point to the source where I may try to add this feature to? I was guessing SoftwareDevices, and add some classes in fx?

Yes, you need to add an effect (fx) class to add the functionality.
The question then is how you want to be able to use it? From Blender (sequencer, speaker objects, or game engine?) or from python? Depending on that you have to add it to the sequencing classes, the C and/or Python API, usually not in the SoftwareDevice thought.

I did find that it may be hard to put it in Blender when I was trying to understand its architecture. I will try to add this feature in Blender. But isn't actual mixdown algorithm implemented in this library?

All audio code is implemented in this library. If you tell me how you want to use it from Blender, I can give you more details. Do you want to have it as a parameter of a sequencer strip, or so?

I mainly want to use it in Sequencer. For now, on the right side panel, there are "Volume", "Pitch", and "Pan". My main goal is to add a "Speed" option for that. I assume that I need to hack in the RNA, DNA, operators, and add the option in UI

Yeah, in this case the hirarcy is like this:
fx -> sequence classes -> C API -> sound.c (blenkernel) -> RNA -> DNA

OK. Is it from high level to low level? Which part should I touch inside Audaspace?

I am going with Phase Vocoder for now. It will take quite some time for me to prototype out the algorithm before I can put into audaspace, though. To fit in the architecture, I think I will need a custom reader() in my PhaseVocoderReader class, right?

What I wrote is not exactly low to high level, but approximately the order in which the functions are called?! Implementation wise you should start on the left until you get to sound.c and then on the right also until sound.c which is the last one probably.
First you need to implement the effect class, which indeed means that you need to implement the read() function of your PhaseVocoderReader. Where are you prototyping? Matlab (that's what I used in my DSP courses at university)?
I can of course help you with any issues along the pipeline.

I see. I have already created a small pair of fx class, and currently I am prototyping the algorithm in Haskell (OK, I am a big functional programming fan). My prototype will be a filter program which reads from stdin to stdout. Once I get that work I may try to fit the algorithm inside the architecture. (It would be nice if I can just call the filter program, though)


SendTags with callback?

Description:

thankyou for this nice lib, im using android and i need SendTags with callback (onSuccess,failure)
searching the archives i see that it put in consideration. any updates?
Environment

Using RN 59.9 with onesignal 3.2.14 (npm)
Android api lv 19

Thanks for your request. We will consider this for an upcoming release though we have not added a timeline to it.


Update wasmer-js for 3.0 release

[ ] Update any changes the new APIs might bring
[ ] Update dependencies/dependabot alerts
[ ] Make sure all examples and documentation work
[ ] Make a new release

New version is published. Closing the issue


Test compatibility for kubernetes version > 1.25

I see that the page https://awslabs.github.io/kubeflow-manifests/docs/about/eks-compatibility/ explicitly states that EKS versions >=1.25 are compatible with kubeflow 1.7, but this EKS version will soon be obsolete (standard support on 1 May 2024). Is there any reason why it won't work with newer versions?

I see the following error whenever I try installing Kubeflow on EKS version > 1.25 , as mentioned EKS 1.25 is reaching end of support.
Error:
_validatingwebhookconfiguration.admissionregistration.k8s.io/validation.webhook.serving.knative.dev configured
error: resource mapping not found for name: "webhook" namespace: "knative-serving" from "STDIN": no matches for kind "HorizontalPodAutoscaler" in version "autoscaling/v2beta2"
ensure CRDs are installed first
Retrying to apply resources_

This is because :
The autoscaling/v2beta2 API version of HorizontalPodAutoscaler is no longer served as of v1.26.

Migrate manifests and API clients to use the autoscaling/v2 API version, available since v1.23.
All existing persisted objects are accessible via the new API
v1.25

Here is an open issue on stack-overflow:

My PR should solve that problem, but I don't know if this is enough to make it work on 1.26.


Incorrect case-sensitive schema name handling when dropping the view

The following script with uppercase schema [SCH2] fails to re-create the [SCH2].v2 view after the drop:
create database test1
go
use test1
go

create schema sch1
go
create view sch1.v1 as select 42
go
drop view sch1.v1
go
create view sch1.v1 as select 42
go

create schema [SCH2]
go
create view [SCH2].v2 as select 42
go
drop view [SCH2].v2
go
create view [SCH2].v2 as select 42
go

Msg 2627, Level 14, State 1, Line 21
duplicate key value violates unique constraint "babelfish_view_def_pkey"

The same script works correctly when [sch2] schema is created in lower-case:
create database test1
go
use test1
go

create schema sch1
go
create view sch1.v1 as select 42
go
drop view sch1.v1
go
create view sch1.v1 as select 42
go

create schema [sch2]
go
create view [SCH2].v2 as select 42
go
drop view [SCH2].v2
go
create view [SCH2].v2 as select 42
go

Hi Alex,
My scenario is different,
Working Scenario:

Login into SSMS via OS user
Execute the database schema
Try test the drop view and recreate, works fine without issue

Not Working Scenario:

Login into SSMS via OS user
Execute the database schema
Connect via application
Common script file which I mentioned will be executed as part of application code (still application is running under OS user only)
Now error occurs (i.e drop view not removed from sys.babelfish_view_def)
then anytime I connect SSMS, the error remains

We need to see, why the issues occurs when run via application

@psrinivasa2
Does the problem occur if you create the problematic schema in lower-case in DDL script?

Yes Alex, I tried create in lower case and still the same scenario when running in application

@psrinivasa2
When the problem happens, please check the schema name case in sys.babelfish_namespace_ext table (orig_name column) and in sys.babelfish_view_def (shema_name column) table. The name must be lower-case there in both cases. If the schema name is already lower-case everywhere in DB - then your problem indeed can be different from the one listed in this issue (I've created that minimal example by simplifying your original script from email).
The problem is tricky to reproduce, because it is tied to cache initialization - note that sch1 schema (that is not linked to SCH2 in any way) code block in example above is mandatory - problem won't happen without sch1 block run before SCH2 one. I assume the problem happens in app, but not in SSMS for you because of the previous statements executed in the same DB session.

Hi Alex,
I have several schema's and I tried by lower casing only the one schema which was problematic. Let me give a try on lower casing all the schema name and check

Hi Alex, @staticlibs ,
You are correct , after making all schema's too lower case, it works fine. So casing is the issue

Helpful if you add the fix on this to maintain the meaningful casing for schema name's

@psrinivasa2
The root of the problem appeared to be not in cache, but in incorrect collation used in babelfish_view_def queries, so the index search was basically returning randomly incorrect result. I will include the fix into the upcoming release, the workaround with lower-case schema (still effective) won't be necessary with this fix. Assuming no major problems discovered in the following days - going to prepare the updated release (with all pending changes) during the next week.

The fix is included in update 12.16.1.

This can be closed


Don’t check in test db.sqlite3

Instead, just before the first DB-using test runs, if the database has no wordforms, build the test DB from XML.
This takes about 30s which will add to CI run time, but at least then we’ll know that building the test DB works.

Am thinking that the python test failure is from a cache that needs to be reset after populating wordforms.


Develop

Added navycut.setup() system.
Added some more commands for manage.py

merging the pull request from the develop branch.


Add Sonatype credentials to .travis.yml

SONA_USER
SONA_PASS

Had to be closed by https://github.com/snowplow/scala-forex/commit/c5d77fe7029a2da8371a30daaeb381f3b510ec5a.

Sorry, typo in the commit I guess...


Add in Mixtral (or is is Mistral?)

find an api, first check if replicate has a popular ran model, if not, find different api that isn't huge costs.

more details?

I can try doing this one ! discord username - krishkalaria12

@tanmaik join discord and feel free to ask question here. on a high level we need to add Mistral LLM module to the project. you can start by looking at models/ folder and convex/constants.ts
feel free to check PR #62 where person added Claude LLM

Added in https://github.com/webdevcody/survive-the-night-sim/commit/9b8f819ea1ef0f72af0ace80d438fc4a9ace90f6


Add !code command

This feature enables twitch chatters to copy and paste code directly into chat.
The code overwrites a scrap.rs file and then fmt is called to format it correctly.
rustfmt is required to run sudo apt-get install rustfmt
edition = "2018" also needs to be added to the cargo.toml file

You should see changes in second commit to the pull request.

You should see changes in second commit to the pull request.

merged directly into main semi-accidentally

merged directly into main semi-accidentally