Trying to load mscorlib.dll from some unexpected path

If you believe you have an issue that affects the security of the platform please do NOT create an issue and instead email your issue details to<EMAIL_ADDRESS>Your report may be eligible for our bug bounty but ONLY if it is reported through email.
Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:

Using this version of ASP.NET Core: 3.0.100-preview6-012264
Clone the repository: https://github.com/dotnet/try/tree/541fa72354cfa8e8db91892e97c2118441157b04
cd MLS.Agent
dotnet run --port 4242 hosted
When I am trying to load a blazor project, I am seeing paths to the CI server in the console log and it says that "mscorlib.dll" could not be found
Navigate to the url - https://localhost:4242/LocalCodeRunner/blazor-nodatime.api

Strange errors in console. Looking for mscorelib.dll in some random path.
Expected behavior
All the dlls should load
Screenshots

The error is here in blazor-webassembly.js

Additional context
Add any other context about the problem here.
Include the output of dotnet --info
.NET Core SDK (reflecting any global.json):
Version:   3.0.100-preview6-012264
Commit:    be3f0c1a03
Runtime Environment:
OS Name:     Windows
OS Version:  10.0.18362
OS Platform: Windows
RID:         win10-x64
Base Path:   C:\Program Files\dotnet\sdk\3.0.100-preview6-012264\
Host (useful for support):
Version: 3.0.0-preview7-27902-19
Commit:  fbe9466ddd
.NET Core SDKs installed:
2.1.503 [C:\Program Files\dotnet\sdk]
3.0.100-preview6-012264 [C:\Program Files\dotnet\sdk]
3.0.100-preview7-012802 [C:\Program Files\dotnet\sdk]
.NET Core runtimes installed:
Microsoft.AspNetCore.All 2.1.7 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.All]
Microsoft.AspNetCore.All 2.1.12 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.All]
Microsoft.AspNetCore.App 2.1.7 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 2.1.12 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 3.0.0-preview6.19307.2 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 3.0.0-preview7.19353.9 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.NETCore.App 2.1.7 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 2.1.12 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 3.0.0-preview6-27804-01 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 3.0.0-preview7-27902-19 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.WindowsDesktop.App 3.0.0-preview6-27804-01 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
Microsoft.WindowsDesktop.App 3.0.0-preview7-27902-19 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
To install additional .NET Core runtimes or SDKs:
https://aka.ms/dotnet-download

We discussed this in person this week. It looks like what's happening here is that trying to call into some Mono api that's unsupported on wasm might result in attempting to load mscorlib.
I'm not sure that there's anything we can do about this, and if persists mono/mono is the right place to report it.


add support for nvidia speech

We want to add support for Nvidia, which makes a speech product called Riva.  Nvidia supports both STT and TTS.  It is typically deployed on-prem; ie the customer will generally build and run it on their own server rather than use an Nvidia-hosted cloud service (as far as I can tell, there is no such thing).  It appears there is no authentication required to access the APIs, other than the URI (ip:port) at which the Nvidia server is listening for requests over grcp.
The list of languages supported for STT is here, and the list of voices/languages supported for TTS is here.
Again, the only "credential" is the uri (ip or dns name colon port).
PR should be opened here, as well as for jambonz-api-server.  (I am already working on the changes to feature-server)

Thanks @davehorton , start contributing to this.

completed and merged in 0.8.1


handle skip_macro_invocations from config file

fixes #5816
We need to keep the FromStr impl for MacroSelector (e.g. to support command line config args), so seems reasonable to just have the serde deserializer use that impl too.
I'm not sure whether there's a better/simpler approach to achieve that (e.g. an item-level serde attribute), but adding our own Deserialize impl seems trivial enough

Might be tricky to write a system test for this since skip_macro_invocations is unstable, and stable rustfmt won't actually set the value it finds in the rustfmt.toml.
Mismatch at tests/source\skip_macro_invocations\config_file.rs:1:
 // rustfmt-config: issue-5816.toml

 fn main() {
-    println!(             "Hello, world!");
+    println!("Hello, world!");
     let x = 7;
 }

Nuts. Will circle back to this later when I can


Hangs out while executing the given testcase

Describe the bug
While executing the given wasm file, wasmi hangs out and does not end.
Versions and Environment
Tools version: wasmi_cli 0.30.0
Operating system: Ubuntu 22.04.1
Architecture: x86_64
Current behavior
$ wasmi_cli mutated.wasm
executing File("mutated.wasm")::_start() ...

It will hang out and does not end.
Expected
I used some other WebAssembly Runtimes, e.g. wasmer and wasmtime, to execute the same testcase. They will terminate the execution of the wasm file in approximately 8-10 seconds, and do not output anything. I am not sure if their behaviour is correct, but it seems that "hang out" is not a good choice. So, in this sense, maybe their behaviour is expected.
Additional context
Actually, the given testcase was simply mutated a wasm file, which was obtained by compiling the C program generated with Csmith using the Emscripten compiler(Emcc). You can convert wasm file to wat format with wabt and find the mutation operation in line 2326(replace i32.sub with i32.div_s). Releated files are in the zip file.

Thanks for the testcase! Indeed sounds weird if both Wasmtime and Wasmer hold after roughly 10 seconds and wasmi seemingly runs forever. How long have you tried running the wasmi process before declaring that it won't stop? Generally wasmi being an interpreted runtime is orders of magnitude (usually between x20-x30) times slower than JIT based Wasm runtimes such as Wasmtime or Wasmer.
Also does this problem persist with the newest wasmi version v0.31.0, too? How did you install wasmi? I ask because if wasmi was installed incorrectly some optimizations may be missing which are greatly needed for performance of wasmi.

Based on the phenomenon in #751, the problem has been resolved.
It will take about 2 m 48 s to execute the given wasm file and then terminate the execution process without output anything. Thanks a lot!

It will take about 2 m 48 s to execute the given wasm file and then terminate the execution process without output anything. Thanks a lot!

Glad to hear!
Timing are also within the expected slowdown of x20-30 compared to JIT based runtimes. :)


blas[core]:x64-windows Build Failure

Building package blas[core]:x64-windows...
-- Found external ninja('1.10.2').
-- Configuring x64-windows
CMake Error at scripts/cmake/vcpkg_execute_required_process.cmake:105 (message):
Command failed: ninja -v
Working Directory: E:/Users/Lawrence/Documents/Visual Studio 2019/vcpkg/buildtrees/blas/x64-windows-rel/vcpkg-parallel-configure
Error code: 1
See logs for more information:
E:\Users\Lawrence\Documents\Visual Studio 2019\vcpkg\buildtrees\blas\config-x64-windows-out.log
Call Stack (most recent call first):
scripts/cmake/vcpkg_configure_cmake.cmake:324 (vcpkg_execute_required_process)
ports/blas/portfile.cmake:4 (vcpkg_configure_cmake)
scripts/ports.cmake:142 (include)
Error: Building package blas:x64-windows failed with: BUILD_FAILED
Please ensure you're using the latest portfiles with .\vcpkg update, then
submit an issue at https://github.com/Microsoft/vcpkg/issues including:
Package: blas:x64-windows
Vcpkg version: 2021-01-13-d67989bce1043b98092ac45996a8230a059a2d7e
config-x64-windows-out.log

use the subst command to reduce your build path and remove the blank space in it

Thank you – that fixed it.
Larry Robinson
From: Stefano Sinigardi @.***
Sent: Thursday, April 15, 2021 2:51 PM
To: microsoft/vcpkg @.>
Cc: lwrobinson12356 @.>; Author @.***>
Subject: Re: [microsoft/vcpkg] blas[core]:x64-windows Build Failure (#17307)
use the subst command to reduce your build path and remove the blank space in it
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/microsoft/vcpkg/issues/17307#issuecomment-820722130 , or unsubscribe https://github.com/notifications/unsubscribe-auth/AMRK6OOK22NHOK3GYJV4E2DTI5GTLANCNFSM427RJHXQ .  https://github.com/notifications/beacon/AMRK6OOVG5TABEDHNYI6BQTTI5GTLA5CNFSM427RJHX2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOGDVTTUQ.gif


affected/package: fmt

What version of Go are you using (go version)?

$ go version
go1.19.3

Does this issue reproduce with the latest release?
I have checked with only official go1.19.3
What operating system and processor architecture are you using (go env)?
go env Output
$ go env
O111MODULE=""
GOARCH="amd64"
GOBIN="/home/bpadmin/go/bin"
GOCACHE="/home/bpadmin/.cache/go-build"
GOENV="/home/bpadmin/.config/go/env"
GOEXE=""
GOEXPERIMENT=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="linux"
GOINSECURE=""
GOMODCACHE="/home/bpadmin/go/pkg/mod"
GONOPROXY=""
GONOSUMDB=""
GOOS="linux"
GOPATH="/home/bpadmin/go"
GOPRIVATE=""
GOPROXY="https://proxy.golang.org,direct"
GOROOT="/usr/local/go"
GOSUMDB="sum.golang.org"
GOTMPDIR=""
GOTOOLDIR="/usr/local/go/pkg/tool/linux_amd64"
GOVCS=""
GOVERSION="go1.19.3"
GCCGO="gccgo"
GOAMD64="v1"
AR="ar"
CC="gcc"
CXX="g++"
CGO_ENABLED="1"
GOMOD="/home/bpadmin/repos/sankalra/chetak.git/src/go.mod"
GOWORK=""
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -m64 -pthread -Wl,--no-gc-sections -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build419792306=/tmp/go-build -gno-record-gcc-switches"

What did you do?

included multiple build tags in code so that build compilation can happen for multiple platforms
I build code for more than 1 OS - say linux and darwin. I have code that is sometimes debug only, and they can be different based on tag set "production, linux" , "production,darwin", "production", "linux", etc
in go code, I have
// +build tag1, tag2
also tried
// +build tag1, tag2
and
// +build tag1
// +build tag2
the build works. But when automating, I run "go fmt" and "golint" etc, and found that "go fmt" removes tag2 and onwards.
What did you expect to see?
go fmt must work with multiple tags
What did you see instead?
go fmt is breaking my automation build

This isn't reproducible.

sorry, it is sorted out. Not a bug!


Escape the newline in the example code

Escape newlines in the man pages so they render ok.

Closing as I did not realize these changes were made in a development branch. Sorry for the noise.


Does a onSearch methode exist ? (like onFilter or onSort but for search)

Question
I'm creating a single web app page witch use your lib to show a missions list. In the table, I have a button to zoom on a particular mission in a particular row. So the table component is erased each time I zoom on a mission. But, when I come back on the list (and the table), i would like to keep my previous searching parameters save.
For filter and sort, i used onFilter and onSort with the defaultData to save them in my main component state, but I can't find it for the SearchBar.
Doest a onSearch method exist that will be trigger each time the value in the input is updated ?
If not, do you think it will be implemented in a upcoming feature ?
Screenshots
A little screen shot to explain it :

I would like to update my state each time a input is done in the search area (the blue one)
codesandbox
This is how look my table today. My goal is to display in the log the input value each time it change  onSearch : (data) => console.log("Data : ", data)
(sorry for the french string inside ^^)
<ToolkitProvider
                      keyField='id'
                      data={ this.state.missions }
                      columns={ this.state.tableColumn }
                      defaultSortDirection="asc"
                      sort={ {
                        dataField: this.state.filter.field,
                        order: this.state.filter.order
                      }}
                      search={{
                        defaultSearch: this.state.search.global,
                        searchFormatted: true ,
                        onSearch : (data) => console.log("Data : ", data)
                      }}
                    >
                      {
                        props => (

                            <MySearch onChange={this.searchUpdate.bind(this)} { ...props.searchProps } />
                            <ClearSearchButton { ...props.searchProps } />

                            <BootstrapTable
                              { ...props.baseProps }
                              pagination={ paginationFactory(this.state.paginationOption) }
                              noDataIndication={this.state.missions.length <= 0 ? "Veuillez rafraichir le tableau avec le bouton au dessus" : "Aucun élément correspond à votre recherche"}
                              filter={ filterFactory() }
                            />

                        )
                      }
                    </ToolkitProvider>

Thanks again for the lib and your time !

Doest a onSearch method exist that will be trigger each time the value in the input is updated ? If not, do you think it will be implemented in a upcoming feature ?

So far we don't have onSearch, but have afterSearch. Because I'm busy recently so I can promise when I can implement this feature, so PR is welcome, thanks


allow set server id for keep server id when restart

When using aedes-persistence-redis and server restart, new server id generated, will topic has retain with old server id will send to client by https://github.com/mcollina/aedes/blob/master/aedes.js#L94

Coverage remained the same at 97.416% when pulling 23134b245e76687c537c91d0723fb119ee0466b0 on nguyenthenguyen:master into 3f8d6a7438545527a0efa39103a9ccb23521d376 on mcollina:master.

Coverage remained the same at 97.416% when pulling 23134b245e76687c537c91d0723fb119ee0466b0 on nguyenthenguyen:master into 3f8d6a7438545527a0efa39103a9ccb23521d376 on mcollina:master.

I'm a bit lost on why this will fix a will topic problem. Maybe we need to fix the will topic problem differently.
Anyhow, would you mind to add a unit test?

Maybe while streaming the wills we can replace the brokerId with the current broker Id ?

@GavinDmello yes! that's better, and it fixes the problem for every persistence.

@nguyenthenguyen You can include that in your PR then

I'm just try aedes, I don't know how to fix this better. @GavinDmello Could you?


SP5: Create Plot.Add.Annotation() for placing text on the figure (not bound to coordinates)

Mimic the design from ScottPlot 4 https://scottplot.net/cookbook/4.1/category/plottable-annotation/
The Benchmark plot type is close to having the functionality needed, just that the label can't be set

For added context, this is what I want it for
https://scottplotstatsstorage.z20.web.core.windows.net/

I wouldn't mind taking a stab at this.
Here's my understanding of the implementation, please correct me:

Annotation will be an implementation of IPlottable
Text, its properties, and element rendering will be handled as a Label.
Annotation should have an Alignment property that would control where the annotation is placed relative to axes.
Each Alignment enum value has to have an associated margin/offset value
Default formatting should resemble the SP4 annotation.
What would be the best way to implement a margin? We could either go for MarginX and MarginY properties like in SP4 or opt for the PixelSize  based implementation?

Here's what I have so far, with margins at 0, and padding of 0 on the Labels:

I'd appreciate some guidance re. default offset values and margins on each axis.

@dlampa, thanks for your interest on this one! All your bullets seem reasonable, and I'm pretty flexible as to what the API should be. Whatever "feels right" is a great start, and we can refine as needed!
If you open a pull request with what you have, I'd be happy to look over the code and give a little more feedback! Adding this plot type is on my shortlist of upcoming goals, so the fact that you made this progress already is fantastic and I'm looking forward to learning more! 🚀

What would be the best way to implement a margin?

It sounds like you already have something like:
public Alignment Alignment; // determines where the annotation is placed

So maybe something like:
public float PaddingX = 5; // pixels from the horizontal edge
public float PaddingY = 5; // pixels from the vertical edge

Or:
public PixelPadding Padding = new (5, 5, 5, 5);

Either way, if you open up a pull request with what you've got so far, I'm happy to take a look (probably tonight) and can try out some different strategies and see what feels most consistent with the other ScottPlot 5 plot types.
Thanks again for working on this!

It's a pleasure to be able to contribute to this awesome project! I'll make a couple of updates based on your input - what I have in the meantime is in the PR.

resolved by #3510


Windows: Populate path upon activation

Should we populate %PATH% during activation?
SET "PATH=%JDK_HOME%\jre\bin\server;%JDK_HOME%\bin\server;%JDK_HOME%\bin;%PATH%"

I just ran into this when trying to use pyimagej on Windows:
(pyimagej) PS>(base) PS>conda activate pyimagej
(pyimagej) PS>python -c 'import imagej; ij = imagej.init(); print(ij.getVersion())'
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "C:\tools\miniconda3\envs\pyimagej\lib\site-packages\imagej\imagej.py", line 104, in init
    import imglyb
  File "C:\tools\miniconda3\envs\pyimagej\lib\site-packages\imglyb\__init__.py", line 38, in <module>
    config, _ = _init_jvm_options()
  File "C:\tools\miniconda3\envs\pyimagej\lib\site-packages\imglyb\__init__.py", line 33, in _init_jvm_options
    import scyjava
  File "C:\tools\miniconda3\envs\pyimagej\lib\site-packages\scyjava\__init__.py", line 122, in <module>
    jnius = _init_jvm()
  File "C:\tools\miniconda3\envs\pyimagej\lib\site-packages\scyjava\__init__.py", line 113, in _init_jvm
    import jnius
  File "C:\tools\miniconda3\envs\pyimagej\lib\site-packages\jnius\__init__.py", line 12, in <module>
    from .jnius import *  # noqa
ImportError: DLL load failed: The specified module could not be found.

Adding the openjdk package's jre\bin\server directory to the PATH fixes it:
$env:Path += ";$Env:CONDA_PREFIX\Library\jre\bin\server"

It would be nice if the environment activation script included the addition of jre\bin\server to the path. Nonetheless, for pyimagej, it still wouldn't enable use cases like dynamic installation from inside a Jupyter notebook, which never explicitly activates the Conda environment.

inside a Jupyter notebook, which never explicitly activates the Conda environment

Can you explain? It is up to the user to install Jupyter in their envs and activate them before running it.

@mingwandroid Sorry for being vague!
Sometimes it is useful for a Jupyter Python notebook to install additional Python packages into its current environment, from within the notebook itself. For Python packages available via Conda, one succinct way to achieve this is to include a first cell like the following:
import sys
!conda install --yes --prefix {sys.prefix} -c conda-forge pyimagej openjdk=8

This is undoubtably a bit hacky, since it modifies the currently running Python environment. But it is useful when running Jupyter notebooks on Binder, because it avoids needing to add the dependencies to that repository's environment.yml.
For example, the SimpleITK-Notebooks repository contains 25 example notebooks illustrating use of the Insight Toolkit, only one of which demonstrates integration with ImageJ via pyimagej. It would bloat the repository's dependencies to add pyimagej as a global dependency to requirements.yml, but if the notebook itself can install the package dynamically, this is very nice. This approach also lets each notebook have more fine-grained control over its environment.
While this sort of hack is outside the scope of Conda's primary intended use, it is still helpful that it works, and consequently, good to minimize our reliance on activation & deactivation scripts, so that these sorts of use cases remain viable.

I think everyone agrees that the need for special purpose activation is to be avoided where-ever and whenever possible.
Thanks for the details. If conda were able to formalise the changes needed for activation (which @kalefranz and @scallesterain have done some work on) then it would be possible for the conda module to inject at least some of those environmental (mostly!) changes into the current python process (and remove them again on deactivation).
This is a bit race-conditioned, but IMHO it's better than recieving and investigating bug reports because people think this kind of thing should work in general because they've seen examples of it working on the internet via Google searches.


Copy conftest to top-level directory

This fixes the issue where the installed package versions were not shown during tox tests (but where show running pytest locally).
This PR also uses numpy 1.25 print formatting to workaround the NumPy 2.0 repr changes that causes doctest to fail.

@bsipocz Did you ever figure out the conftest.py issue?  The mere presence of conftest.py (even if it's empty) in the top-level directory causes this failure.  I can reproduce this locally, and the Cython extensions are being built in the installed package in the ./tox directory.   Somehow pytest resolves the path to the source checkout instead of the installed version when conftest.py is in the top-level directory of the source.  I've tried many things and I can't figure this out!
This is now a problem because I need to add np.set_printoptions(legacy='1.25') in the top-level conftest.py for the doctests in docs.

This same issue affects photutils.

Another data point:  if I change the tox command to:
python -c 'import sys; from regions import test; sys.exit(test())'
(instead of using pytest --pyargs regions)
it works.  But that doesn't test the docs.

Nope, this was a constant annoyance, but I didn't get to the bottom of it. And since we started to use pip freeze in CI, it's kind of not that important for me anymore to get tox work well with the header (basically I never use tox locally).
The only caveat and annoyance when a dev version package doesn't provide proper version info for pip, and it only shows up as e.g. 2.0.0.dev0.
As for the printoptions, for astroquery I only added it to astroquery/conftest.py, but not to the very top level one, maybe that would be enough here, too?

@astrofrog Have you seen anything like this?
Astropy has extensions and has  a conftest.py in the top-level directory -- and it works fine.

As for the printoptions, for astroquery I only added it to astroquery/conftest.py, but not to the very top level one, maybe that would be enough here, too?

I tried that, but without the legacy printoptions in the top-level confest, running pytest docs (or pytest . locally fails.

I tried that, but without the legacy printoptions in the top-level conftest, running pytest docs (or pytest .) locally fails.

Dang, you're right, it doesn't work for us either. Sometimes I added to my routine to specify package/conftest.py when running a single rst file (I can't remember why I started, something else didn't work), and it masked over this same issue.
Thanks for investigating!

I'm not sure it's possible to have a top-level conftest.py file in a package with extensions.  Apparently pytest adds any directory with conftest.py to the python sys.path, which here means the source package without built extensions.


Add custom IDL for WebSocketStream

This would help update data for Chrome 124:
https://github.com/mdn/browser-compat-data/pull/22681

Thanks Philip!
We require all commits to be signed for this repository.  Could you sign your commit and re-push?

@queengooborg I've pushed a signed commit and done git config to do it in this repo going forward.


Document harbor nginx configuration of  extra http layer

@hainingzhang please review my new updates, thanks.

LGTM


Show Parameters & Export Query Performance results

On the database tab under Query Performance it would be useful to export the table of queries.  Also if possible, also showing the parameters used within the query would be handy.

Exporting parameters will not be possible under query performance, because query performance aggregates the number of times a query was run.  For example, if the "count" field is 5, that means it was run 5 times during the sampling period.  Query parameters are not tracked after the query is dead and gone, and in a case where count=5, there would be 5 sets of query parameters, not just one.
I'll make it possible to download CSV for query performance, and then also see if we can enable CSV download for the task tracker, where it may be possible to get query parameters.

We can do CSV download for the task tracker, and it will include parameters for individual queries -- but only while they're in-flight / executing.  The DB doesn't appear to track parameters after a query is completed / rolled back.

Closed/fixed by release of v0.10.0


CircleAvatar Not Work if local assets Image

i try circleAvatar for local image in assets not work . but i using Image() is work
circleAvatar only Work for url Image
code
from flet import *

class Stories(UserControl):
	def __init__(self):
		super(Stories, self).__init__()
		self.man_picture = CircleAvatar(
			foreground_image_url="assets/man.jpg"
			)

	def build(self):
		return Column([
			Text("dqwd"),
			self.man_picture
			])

def main(page:Page):
	page.window_width = 300

	page.add(Stories())

app(main,view=AppView.WEB_BROWSER,port=5050,assets_dir="assets")

i try circleAvatar for local image in assets not work . but i using Image() is work
circleAvatar only Work for url Image
code
from flet import *

class Stories(UserControl):
	def __init__(self):
		super(Stories, self).__init__()
		self.man_picture = CircleAvatar(
			foreground_image_url="assets/man.jpg"
			)

	def build(self):
		return Column([
			Text("dqwd"),
			self.man_picture
			])

def main(page:Page):
	page.window_width = 300

	page.add(Stories())

app(main,view=AppView.WEB_BROWSER,port=5050,assets_dir="assets")

can pleas try by replacing "assets/man.jpg" with "./man.jpg"

I still have the same error:
`import flet as ft
import os
def main(page: ft.Page):
page.add(
ft.CircleAvatar(
foreground_image_src="profile/xs.png",
on_image_error= lambda e: print(e)
))
ft.app(target=main)`
output: ControlEvent(name='imageError', data='foreground')
flet version: 0.26.0.dev3912
python version: Python 3.12.6


Possible Unhandled Promise Rejection when trying to render the Feed

Hi,
I'm getting the following error when opening the Feed Screen:
Possible Unhandled Promise Rejection (id: 0):
TypeError: undefined is not an object (evaluating 'snapshot.query.EP.path')
The Feed also won't render because of that.
The code line which produces the error is in the action index.js the const ui:
export function fetchUsersFollowingPosts(uid) {
    return ((dispatch, getState) => {
        firebase.firestore()
            .collection("posts")
            .doc(uid)
            .collection("userPosts")
            .orderBy("creation", "asc")
            .get()
            .then((snapshot) => {
                const uid = snapshot.query.EP.path.segments[1];
                const user = getState().usersState.users.find(el => el.uid === uid);
                let posts = snapshot.docs.map(doc => {
                    const data = doc.data();
                    const id = doc.id;
                    return { id, ...data, user }
                })

                for(let i = 0; i< posts.length; i++){
                    dispatch(fetchUsersFollowingLikes(uid, posts[i].id))
                }
                dispatch({ type: USERS_POSTS_STATE_CHANGE, posts, uid })

            })
    })
}

Can anybody support?

Hi @coding-st !
Thank you for your participation.
I'll be reviewing that bug and I'll try to push out a fix for it asap :)

Hi @coding-st !
Thank you for your participation.
I'll be reviewing that bug and I'll try to push out a fix for it asap :)

@SimCoderYoutube thanks for your fast reaction. Your tutorials are awesome! Looking forward to hear from you.

@SimCoderYoutube thanks for your fast reaction. Your tutorials are awesome! Looking forward to hear from you.

Has any found a fix to this?

A potential solution is to use this:
const uid = snapshot.docs[0].ref.path.split('/')[1];
and put that line^ and the rest of the code in that function in a try catch block.  The line above will throw an error if there is no documents (posts), so for users where this throws an error, just catch, and do nothing since its pointless to get the posts of a user with no posts.

I think you should console.log(snapshot) for yourself and try to find the segments data based on the console.log, the snapshot data might be different because firebase might update their way to display the snapshot. For my part i was able to retrieve the data from snapshot..query.C.path.segments[1];

I encountered this error while following the video. What does the EP mean? I had google around for documentation, and could not find any reference to this


Blank SA_PASSWORD does not cause an error but leaves the container unusable

This seems to have come up indirectly in a few other issues (e.g. #322, #315, #351) but I think it's worth an issue in its own right.
If I start a container using an invalid password, the container exits with an error:
$ docker run -e 'SA_PASSWORD=invalid' -e 'ACCEPT_EULA=Y' --name=sql-server-badpwd mcr.microsoft.com/mssql/server:latest
...snip...
2019-06-20 10:49:58.60 spid24s     ERROR: Unable to set system administrator password: Password validation failed. The password does not meet SQL Server password policy requirements because it is too short. The password must be at least 8 characters..
2019-06-20 10:49:58.61 spid24s     An error occurred during server setup. See previous errors for more information.
2019-06-20 10:49:58.61 spid24s     SQL Trace was stopped due to server shutdown. Trace ID = '1'. This is an informational message only; no user action is required.

However, if I start a container using a blank password, or equivalently fail to set the SA_PASSWORD environment variable at all, the container runs but I am unable to login as sa:
$  docker run -e 'ACCEPT_EULA=Y' --name=sql-server-nopwd mcr.microsoft.com/mssql/server:latest
...snip...
2019-06-20 10:52:44.27 spid19s     SQL Server is now ready for client connections. This is an informational message; no user action is required.
...etc - container doesn't exit but trying to login with a blank sa password fails

The second case should cause the same (or similar) error to the first as the sa password doesn't meet the password requirements (it is blank after all).
Incidentally, it was at around this point that I found that trying to use /opt/mssql/bin/mssql-conf set-sa-password to set the sa password after the fact (with docker exec) doesn't work as /opt/mssql/lib/mssql-conf/inviokesqlserver.sh tries to sudo to an mssql user despite sudo not being installed in the container and no mssql user existing (sqlservr is running as root, naturally enough for a container).

Isn't SA_PASSWORD only needed for initial setup? I.e. a container should indeed startup with no SA_PASSWORD set. So in a swarm you do only need the SA_PASSWORD_FILE secret for initial setup, after that it can be deleted.


Update client ID and secret

Copied from https://gitlab.com/tobiaswkjeldsen/dartnissanconnect/-/commit/e0301993e872a63c059c3afaa258b413d435fe0e

Oh, did they change it again? I haven't noticed. Thank you, I will verify at my end and then merge.

Confirmed. Authentication using the old client id and secret does not work. The new configuration has been tested successfully. Thank you!


Need to restart webpack-dev-server to update ts check status after making change to my types in d.ts files?

Current behavior
When I make changes to my types. Sometimes the plugin will only show/resolve TS errors/warnings after I stop and restart webpack-dev-server.
Expected behavior
The plugin would update the TS errors/warning immediately after type changes.
Steps to reproduce the issue
Don't know exactly how to reproduce, but would like to know if this is normal behavior.
Issue reproduction repository
For example
The plugin is complaining about a IS_MOBILE property that is missing from my LAYOUT type.

This is because I was experimenting a new shape for this object.
But you can see that I already removed that property from my LAYOUT interface, so that error should not be showing anymore.

Now I'm going to restart webpack:

You can see from the image above that the error is now gone.
QUESTION
Is this the normal behavior for the ForkTsCheckerWebpackPlugin? Do I need to restart my webpack-dev-server when I make those kind of changes? Or is it maybe cause because I'm using react-hot-loader or some other config I should be using. Has anyone seen this before?
NOTE: The normal VSCode ts check throughout my opened files is working fine. They always immediately reflect the changes I make to the types I'm using.
PS: Those types are declared in d.ts files using declare namespace {...}
Environment
"fork-ts-checker-webpack-plugin": "^5.0.14",
"webpack": "^4.44.0",

Duplicate: #36 . It's an old issue, I hope I will be able to solve it soon.

Thanks a lot for your reply. Sorry about the duplicate. This package helps me a lot!


Why is BJSONParameters.UseExtension hard coded to false?

My understanding is that this excludes using interface types for properties.
Is there a specific reason you hardcode it, or could it be made configurable?

There is no specific reason, just to keep simple. Using extension fastBinaryJson create _types properties that use a lot of space after serialize. Do you have some example how you want use interface?
BTW, in next version I´m removing fastBinaryJson lib and using BSON serializer + BSON mapper (my own code). If you want, take a look on dev branch and wiki (not finish yet).

My use case is just ordinary OO modelling, e.g.  I want to store a List of Shapes which contains a circle and a square.
Without support for interfaces i'd have to add an own additional mapping between my type hierarchy and e.g. a single concrete union type.
If it would be configurable (and maybe turned off by default), you don't incur any overhead, but if needed, it could be actived.
But, it's good to know that there is no other technical reason, now I can just change it myself and don't need to study the code to see, if I break something.
Thank you for this awesome lib! It looks like it is just what I need for my little project.
I will take a look at your dev branch, too. But, first I need to have something working now :).


New version of TimeseriesGenerator()

changed the meaning of the length parameter: now it's really the length of the output sub-sequences
consolidated the init method by adding a host of assertions
now it should also work with text and multinomial time-series
added prediction gap parameter
shuffle is now a real shuffle (i.e. without replacement)
added target_seq option for seq2seq models
added dtype parameter to force output dtype
added stateful option to help parameters tuning in stateful mode
added several regression tests

Thanks for the PR.
@srjoglekar246 please take a look and let us know what you think.
Note that any changes we might make should be backwards-compatible. We don't make breaking changes to public APIs.

Hi,
I made a similar PR on keras_contrib instead of directly in keras:
https://github.com/keras-team/keras-contrib/pull/247
To ensure backward-compatibility I kept the previous length parameter for  and added a hlength parameter. I also paid attention to keep the parameter's order.
Regards,
Tanguy
Tanguy Urvoy
ORANGE/IMT/OLS/DIESE/DIA
+33296072642

De : François Chollet<EMAIL_ADDRESS>Envoyé : mercredi 18 avril 2018 02:16
À : keras-team/keras
Cc : URVOY Tanguy IMT/OLS; Author
Objet : Re: [keras-team/keras] New version of TimeseriesGenerator() (#9918)
Thanks for the PR.
@srjoglekar246https://github.com/srjoglekar246 please take a look and let us know what you think.
Note that any changes we might make should be backwards-compatible. We don't make breaking changes to public APIs.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/keras-team/keras/pull/9918#issuecomment-382199852, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AMidN-dnJ6O-Zg5cQZg-rHODj7qEASCvks5tpoXNgaJpZM4TRbKF.

Ce message et ses pieces jointes peuvent contenir des informations confidentielles ou privilegiees et ne doivent donc
pas etre diffuses, exploites ou copies sans autorisation. Si vous avez recu ce message par erreur, veuillez le signaler
a l'expediteur et le detruire ainsi que les pieces jointes. Les messages electroniques etant susceptibles d'alteration,
Orange decline toute responsabilite si ce message a ete altere, deforme ou falsifie. Merci.
This message and its attachments may contain confidential or privileged information that may be protected by law;
they should not be distributed, used or copied without authorisation.
If you have received this email in error, please notify the sender and delete this message and its attachments.
As emails may be altered, Orange is not liable for messages that have been modified, changed or falsified.
Thank you.

See new PR #9971
Tanguy

Thanks, moving review to new PR.


Can't get date to parse

My csv records look like this:
EFE43362N14JDUC9,10/21/2015 0:00
I can't seem to get this date to parse.  struct below:
type DetailRecord struct {
	ID          string
	Date        time.Time `csvDate:"10/21/2015 0:00"`
}

any help would be appreciated.

Hi, did you solve the issue? actually the csvDate is wrong, because you should put the format of the default date specified in the go documentation

That was exactly the problem!
Best Regards,
Dan

On Dec 21, 2015, at 2:10 AM, Alessio Cavaleri<EMAIL_ADDRESS>wrote:
Hi, did you solve the issue? actually the csvDate is wrong, because you should put the format of the default date specified in the go documentation
—
Reply to this email directly or view it on GitHub.


Timestamp: Handle Safari + better parsing

Issue

The previous regex in #5156 uses lookback (I think ES2018?) which Safari has yet to implement.
There were a few bugs in the previous regex too, like missing out multiple timestamps in a line, or parsing "62:02" as "2:02" (although YT does this as well).
The previous method searched too deep (matchAll) on each 'locate' call, which was wasteful.

Known issue(s)

List works, but Bullet does not.  The same thing happens for "@channel" parsing.  The notInList flag doesn't seem to work, or something is blocking it.

Remark
I'm still trying to get BrowserStack to work on localhost instances to test on Safari.  Since a simpler regex is now used, plus I don't think there's any other browser-dependent code on this PR, it should work in Safari.  Can you help to double check?

Works great in Safari!


Unable to extract uploader id

[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['https://youtu.be/BqeSF-rydvM', '--verbose']
[debug] Encodings: locale cp1251, fs utf-8, out cp1251, pref cp1251
[debug] youtube-dl version 2021.12.17
[debug] Python version 3.10.10 (CPython) - Windows-10-10.0.19044-SP0
[debug] exe versions: ffmpeg 5.1.2, ffprobe 5.1.2, rtmpdump 2.4
[debug] Proxy map: {}
[youtube] BqeSF-rydvM: Downloading webpage
[youtube] BqeSF-rydvM: Downloading MPD manifest
ERROR: Unable to extract uploader id; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see  https://yt-dl.org/update  on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
Traceback (most recent call last):
  File "D:/msys32/mingw32/lib/python3.10/site-packages/youtube_dl/YoutubeDL.py", line 815, in wrapper
    return func(self, *args, **kwargs)
  File "D:/msys32/mingw32/lib/python3.10/site-packages/youtube_dl/YoutubeDL.py", line 836, in __extract_info
    ie_result = ie.extract(url)
  File "D:/msys32/mingw32/lib/python3.10/site-packages/youtube_dl/extractor/common.py", line 534, in extract
    ie_result = self._real_extract(url)
  File "D:/msys32/mingw32/lib/python3.10/site-packages/youtube_dl/extractor/youtube.py", line 1794, in _real_extract
    'uploader_id': self._search_regex(r'/(?:channel|user)/([^/?&#]+)', owner_profile_url, 'uploader id') if owner_profile_url else None,
  File "D:/msys32/mingw32/lib/python3.10/site-packages/youtube_dl/extractor/common.py", line 1012, in _search_regex
    raise RegexNotFoundError('Unable to extract %s' % _name)
youtube_dl.utils.RegexNotFoundError: Unable to extract uploader id; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see  https://yt-dl.org/update  on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.

same here

same

same here

same here.

same here

I tried adding "fatal=False" to the regex _search_regex call and it seems to be working.

Same problem with different video on MacOS

#30839.


problem with stand along version after building in anaconda

We have tried to build the imaris environment using anaconda on windows. The build goes without issues and the extension window will pop up. However, when we try to select the drop down menu, the following error comes up.
QWindowsWindow::setMouseGrabEnabled: Not setting mouse grab for invisible window QWidgetWindow/'QMenuClassWindow'

Hello @speranzaee,
I tried reproducing this issue on a windows machine, assuming that is what you used, and wasn't able to replicate.
Please try the following (going around anaconda, as I am guessing that is the problem):

Open miniconda/anaconda base environment terminal/prompt.
Remove the existing imaris anaconda environment:

conda remove -n imaris --all

Create a new "empty" environment and activate it:

conda create -n imaris python=3.7.0
conda activate imaris

Update pip and install all packages from PyPi (assumes you changed directory to where the requirements.txt file is located, the imaris extensions directory):

 python -m pip install --upgrade pip
 python -m pip install -r requirements.txt

Try running the extensions.


Fix imports and isort to remove from Makefile deprecated options

on the tail of #1890

Linting is passing, but looks like it is complaining about trio annotations. :man_facepalming:

I added back in the missing #  type: ignore hint after the from trio import ... line was split in compat.py, hope that fixes it.

Yep, travis is passing now.


porter hash doesn't take enough into account

When we stamp the bundle.json with a hash of the porter.yaml, that isn't enough to tell that we should rebuild the bundle because it is out out date.

One example is when the porter binary itself has since been updated, usually with bug fixes. In that case, the hash should be considered stale and the bundle rebuilt automatically. We should incorporate the porter version and the list of mixins used in the bundle, along with their version in the stamp.
Another case would be when a mixin that is used by the bundle is updated.
Another is when files in the current directory (or below) are changed, excluding those from .dockerignore

p.s. I was pressured into making the stamp under sh.porter and have always regretted it. Now would be a good time to fix that before it's too late! 😀

@carolynvs I would like to pick this issue


[Distributed] Only parse distributed when experimental mode enabled

We didn't completely implement the guarding of distributed in parsing, so it might have continued anyway, and fail when module types were needed.
This now fails at compilation right away when distributed keyword is encountered but the experimental mode is not enabled.
Resolves rdar://81909966

@swift-ci please smoke test

@swift-ci please smoke test and merge


Fix openstack images and add documentation

What this PR does / why we need it:
This adds a script to automatically download & update the images on OpenStack
Also this adds some documentation on how to use the script
NONE

/lgtm
/approve

@alvaroaleman i missed one image: https://github.com/kubermatic/machine-controller/pull/483/commits/80b349a8c99aa0deb9a73eabd8cbc67084f46f47

/retest

/lgtm

/retest

/retest


n() doesn't work correctly for @slice() inside of grouped data frames

n() refers to the number of rows in the whole data frame instead of to the number of rows in each group of the data frame.

Resolved in a76103b.


If the fedora login expecter is stuck, retry

What this PR does / why we need it:
The login prompt is sometimes ripped into parts by asynchronous daemon
status updates.
Instead of waiting three minutes for the login prompt to appear, restart
the login procedure after two minutes and wait for one minute. This has
the advantage that we re-send newlines, which helps working around
potentially broken login prompts after boot.
This fixes our current most flaky test (https://storage.googleapis.com/kubevirt-prow/reports/flakefinder/kubevirt/kubevirt/flakefinder-2020-12-02-168h.html#row1):
Configurations Check KVM CPUID advertisement [test_id:5271]test cpuid hidden

The login promt is sometimes corrupted due to asynchronous cloud-init updates.
An example from this log https://storage.googleapis.com/kubevirt-prow/pr-logs/pull/kubevirt_kubevirt/4599/pull-kubevirt-e2e-k8s-1.19/1333815095989374977/build-log.txt shows the corruption:
testvmi-sq4t7nk6fnrpCloud-init v. 19.4 running 'modules:final' at Tue, 01 Dec 2020 17:34:19 +0000. Up 74.29 seconds. login:

We are instead looking for this:
testvmi-sq4t7nk6fnrp login:

Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Fixes #4326
Fixes #4510
Special notes for your reviewer:
Release note:
NONE

/cc @qinqon
/cc @EdDev
/cc @davidvossel
not proud of this workaround, maybe someone has a nicer implementation idea, but it does the trick. Ran the test 6x in parallel for many times and could reproduce the issue. After the change I could not reproduce it anymore.

/retest

/retest

/approve


Persistence

It's not at all pretty - more meant as a temporary solution until Gestalt-Serialization is a thing.
I've added support for some common data types, more will have to be added as needed.
Test with my module: groovyw module get notepad -remote NicholasBatesNZ
https://github.com/NicholasBatesNZ/notepad
Breaks on Android but I think that's from a problem on the base gestaltCleanup branch

Hooray Jenkins reported success with all tests good!

I've tested this, and everything checks out, other than the known issue with module prefabs


17 bzlformat_lint_tests fail on windows with 'buildifier command not found'

bazel --windows_enable_symlinks test //tools:bzlformat_lint_test --enable_runfiles
Executing tests from //tools:bzlformat_lint_test
-----------------------------------------------------------------------------
D:\udu\b\azrngxdp\execroot\_main\bazel-out\x64_windows-fastbuild\bin\tools\bzlformat_lint_test.bat.runfiles\cgrindel_bazel_starlib~\bzlformat\tools\buildifier: line 99: : command not found
tools/bzlformat_lint_test_BUILD.bazel.sh failed with 127.
1 lint tests failed.

The fix is to add a direct dependency to buildifier_prebuilt to MODULE.bazel. It is not clear to me why this is required; the same dependency is declared in cgrindel_bazel_starlib.
# not a direct dependency, but required here for bazel starlib's difftest macros to work
bazel_dep(
    name = "buildifier_prebuilt",
    version = "6.1.2",
)

This does seem strange.


remove/comment retry_interval=5 from archetype

retry_interval=100 ms is default retry interval now in carina.
let's remove/comment it's declaration in archetype and carina-demo project

done, no more retry_interval declaration on archetype and carina-demo project


Clean up warnings

Closes #174

Remove warnings filter from main notebook.
Remove plt.tight_layout from plotting function. It is throwing a warning, and the figures look good to me without it.
Add comment that it's ok to ignore the lightkurve "error".
Remove print statements from HCV_get_lightcurves.

I see no more warnings.


Cross compile on arm64

As terrifying as it sounds, it seems we need to find a way to cross compile here.

@conda-forge-admin, please rerender.

Hey @isuruf, hope I don't break your run now. I don't understand why the -dynamiclib flag is not being picked up…

I don't understand why the -dynamiclib flag is not being picked up…

It's not?

No, it's missing in the arm64 build from the ld call.

Can you show me the exact line in the log you are looking at?

Wow, you fixed it :)

So, I'll remove some of the verbosity and then this is good to go?


add bento tools

hi @ckmah ,
we are populating the ecosystem package listing for scverse. Your package is compliant with all the requirements and we'd be thrilled to have it listed in the scverse website as part of the ecosystem.
We'd like to kindly ask you to quickly revise the metadata and check if everything is correct. If that's the case, we'll then proceed with merging it and listing on the website.
Thank you!
Giovanni on behalf of the scverse core team

Merging this.
@ckmah, if you don't want this to be listed on scverse.org, let us know and we remove it.


Cannot find module '../../../../@angular/core'

Versions.
node 6.9
npm 3.10.9
Repro steps.
After I update angular from 2.4 to 4.0,i compiler with @ngtools\webpack get below error:
The log given by the failure.
ERROR in<EMAIL_ADDRESS>(1,1): Cannot find module '../../../../@angular/core'.
<EMAIL_ADDRESS>(1,1): Property 'parent' does not exist on type 'ApplicationModuleInjector'.

Mention any other details that might be useful.
package.json
"devDependencies": {
    "@angular/compiler-cli": "^4.0.1",
    "@angular/platform-server": "^4.0.1",
    "@ngtools/webpack": "^1.3.0",
    "@types/echarts": "0.0.5",
    "@types/file-saver": "0.0.0",
    "@types/serialport": "^4.0.8",
<EMAIL_ADDRESS>"^1.4.29",
    "angular2-template-loader": "^0.6.0",
    "awesome-typescript-loader": "^3.0.3",
    "babel-core": "^6.11.4",
    "babel-loader": "^6.2.4",
    "babel-polyfill": "^6.13.0",
    "babel-preset-latest": "^6.16.0",
    "compression-webpack-plugin": "^0.3.1",
    "copy-webpack-plugin": "^3.0.1",
    "css-loader": "^0.23.1",
    "del": "^2.2.1",
    "electron": "^1.4.15",
    "electron-packager": "8.5.1",
    "electron-rebuild": "^1.5.7",
    "extract-text-webpack-plugin": "^2.0.0-beta.4",
    "file-loader": "^0.8.5",
    "gulp": "^3.9.1",
    "gulp-babel": "^6.1.2",
    "gulp-clean": "^0.3.2",
    "gulp-rollup": "^2.10.0",
    "gulp-sequence": "^0.4.6",
    "gulp-uglify": "^2.0.0",
    "gulp-util": "^3.0.7",
    "html-loader": "^0.4.3",
    "html-webpack-plugin": "^2.16.1",
    "json-loader": "^0.5.4",
    "lodash": "^4.13.1",
    "ncp": "^2.0.0",
    "nw-builder": "^3.2.0",
    "nw-gyp": "^3.4.0",
    "raw-loader": "^0.5.1",
    "rimraf": "^2.5.2",
    "source-map-loader": "^0.1.5",
    "style-loader": "^0.13.1",
    "through2": "^2.0.3",
    "ts-loader": "^0.7.2",
    "typescript": "^2.2.2",
    "typings": "^1.1.0",
    "uglify-js": "^2.8.16",
    "uglifyjs-webpack-plugin": "^0.3.1",
    "vinyl-fs": "^2.4.3",
    "webpack": "^2.3.3",
    "webpack-dev-server": "^2.2.0",
    "webpack-merge": "^0.14.0"
  },
  "dependencies": {
    "@angular/common": "^4.0.1",
    "@angular/compiler": "^4.0.1",
    "@angular/core": "^4.0.1",
    "@angular/forms": "^4.0.1",
    "@angular/http": "^4.0.1",
    "@angular/platform-browser": "^4.0.1",
    "@angular/platform-browser-dynamic": "^4.0.1",
    "@angular/router": "^4.0.1",
    "@types/clipboard": "^1.5.31",
    "@types/qrcode-generator": "0.0.15",
    "bootstrap": "^3.3.7",
    "chart.js": "^2.4.0",
    "clipboard": "^1.6.1",
    "core-js": "^2.4.1",
    "crypto-js": "^3.1.7",
    "dragula": "^3.7.2",
    "echarts": "^3.4.0",
    "file-saver": "^1.3.3",
    "get-pixels": "^3.3.0",
    "html2canvas": "^0.5.0-beta4",
    "iconv-lite": "^0.4.15",
    "localforage": "^1.4.3",
    "moment": "^2.15.1",
    "node-rsa": "^0.4.2",
    "pinyin": "^2.8.0",
    "printer": "^0.2.2",
    "qrcode-generator": "^1.0.7",
    "rxjs": "5.0.1",
    "sequelize": "^3.27.0",
    "serialport": "^5.0.0-beta3",
    "socket.io-client": "^1.7.2",
    "sqlite3": "^3.1.8",
    "uuid": "^3.0.1",
    "xml2js": "^0.4.17",
    "zone.js": "^0.7.4"
  }

import {} from '@angular/core';

Elaborated reproduce steps are missing, so this issue can't be reproduced accurately to get the error.
@keyiis please update the issue so that it could be reproduced.
Thanks :)
#goodnessSquad

Thanks for reporting this issue. However, you didn't provide sufficient information for us to understand and reproduce the problem. Please check out our submission guidelines to understand why we can't act on issues that are lacking important information.
If the problem persists, please file a new issue and ensure you provide all of the required information when filling out the issue template.


Unable to pickle List[T], e.g. List[String] when running staticOnly

I'm trying to pickle a more complex case class, (nested over 4 levels with Map's, List's and Case Objects based types). When using dynamic pickling the compilation fails with an out of memory error after several minutes, even with 8GB of memory. I used the static pickler to figure out where it fails, the problem are List types in the case classes. Therefore I tried to pickle a simple List[String], even there i get the following exception:
cannot generate fully static pickler because: 'scala.collection.immutable.$colon$colon' allows unknown subclasses (it is not sealed or final isCaseClass=false isEffectivelyFinal=false isSealed=false directSubclasses=List())
[error]   val pickler = Pickler.generate[List[String]]

It's scala 2.11.6 with latest pickling.
Is this a known issue and if so, does a work around exist? I'm right now trying to write my own list pickler for the specific types to see if that helps.

@elm- I may have just ran into that.  My current (massive) PR to teh 0.11.x branch includes a ListPickler.
You can (and should) do this in the meantime: https://github.com/scala/pickling/blob/wip/new-macro-implementation/core/src/main/scala/scala/pickling/pickler/Iterable.scala#L14-L15

+1

Still an issue: https://github.com/scala/pickling/blob/0.11.x/core/src/main/scala/scala/pickling/pickler/Iterable.scala

For the record, that references to 0.11.x which hasn't been released. If you've stumbled upon this issue, you'll need to release a new version locally with publishLocal and change the scala version you want to use in project/Util.scala.

We could also cut a release – @jsuereth WDYT? Happy to do it so long as it doesn't mess up any of your plans.

I switched to "org.scala-lang.modules" %% "scala-pickling" % "0.11.0-M2" because my code was crashing when trying to unpickle a List.   Now I am getting hundreds of warnings:
Warning:(53, 55) method lookupPicklee in package internal is deprecated: Use currentRuntime.refRegistry.pickle.registerPicklee instead
val elkKMUnpickled = eiKafkaMessage.bytes.unpickle[ControlTopicMessage]
Warning:(53, 55) class Ref in package refs is deprecated: Sharing is not guaranteed to be safe w/ all possible picklers.
val elkKMUnpickled = eiKafkaMessage.bytes.unpickle[ControlTopicMessage]
Warning:(53, 55) value refPicklerUnpickler in trait RefPicklers is deprecated: Sharing is not guaranteed to be safe w/ all possible picklers.
val elkKMUnpickled = eiKafkaMessage.bytes.unpickle[ControlTopicMessage]
......


AI example whisper not work

Example URL(s)
curl https://api.cloudflare.com/client/v4/accounts/{ACCOUNT_ID}/ai/run/@cf/openai/whisper
-X POST
-H "Authorization: Bearer {API_TOKEN}"
--data-binary @talking-llama.mp3
Actual Behavior
"errors":[{"code":7009,"message":"Upstream service unavailable"}]
Expected Behavior
text in response
Additional information
No response

same response

Howdy @cheluskin, not sure this was the cause... but we did recently update our models docs with new examples.
Though maybe it sounds like this was related to availability issues in the CF service itself, which I'll pass along internally.
Going to close out the issue though, as this is a docs repo and we can't do much about the availability of a service (other than what I mentioned above).


Choose an open source license

An open source license is required for this repository
https://choosealicense.com/

Resolved by


Disable insecure hash algorithms by default

We add a new option on the configuratio which toggles the use of hash
algorithms that are deemed insecure. We default to disallowing insecure
hash algorithms, MD2 (which we don't support at all), MD5 and SHA-1.
When parsing signature algorithms we check whether it's being passed an
insecure hash algorithm, and whether we are configured to allow it or
not. If we don't allow it, we omit adding it, to ensure we never
advertise this capability.

Not sure if this is the best approach to solving this, but it's one and it seems to have the intended effect.

@at-wat Addressed your comments, added an extra test too.


Fix typo on webpacker_lite.yml

Just fixed one line of generators/react_on_rails/templates/base/base/config/webpacker_lite.yml.

This change is

Thanks!


hOCR output?

Is there a way to use the REST API to request hOCR output from Tesseract via open-ocr?
Using standalone tesseract a command to do with could be:
tesseract -l eng inputfile.png output hocr tess.cfg

Found the answer:
curl -X POST -H "Content-Type: application/json" -d \
'{"img_url":"http://bit.ly/ocrimage","engine":"tesseract","engine_args":{"config_vars":{"tessedit_create_hocr":"1"}}}' \
http://$IPADDR:$PORT/ocr```

Thanks for posting the solution!


How to access to Mapillary vector tiles to show all levels (0-16)?

I need to access to the Mapillary vector tiles using Leaflet as they are shown in the Mapillary web site, for example
https://www.mapillary.com/app/?lat=44.90785153249567&lng=7.673778533935547&z=16

I've tried to use the Mapillary vector tiles API as documented here
http://blog.mapillary.com/update/2015/05/27/vectortiles.html

so using this request
https://d2munx5tg0hw47.cloudfront.net/tiles/{z}/{x}/{y}.mapbox

but I can see the vector tiles only for levels 0 - 14 not more, then I receive a 403 (Forbidden) error.
I've found in the Mapillary Forum (ref. https://github.com/mapbox/osm-navigation-map/issues/48), that they are changing the url to access to the vector tiles.
The new url is the follow:
https://d25uarhxywzl1j.cloudfront.net/v0.1/{z}/{x}/{y}.mvt

with these specifications

Endpoint: http://d25uarhxywzl1j.cloudfront.net/v0.1/{z}/{x}/{y}.mvt
Extent: 4096
mapillary-sequences Layer (Type Line)
mapillary-images Layer (Type Circle)

So I've tried to load this new vector tile layer in a simply Leaflet 0.7 map using this code

        <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />

    <title>Test Leaflet</title>
    <meta name="viewport" content="width=device-width, initial-scale=1">

    <link rel="stylesheet" href="http://cdn.leafletjs.com/leaflet-0.7.3/leaflet.css" />

You can view the map at this link
http://www.cesaregerbino.com/Mapillary/VectorTilesTest/testLeaflet.html
In the map there are both the "old" mapillary vector tiles (purple lines), and the "new" mapillary vector tiles.
It's working fine but unfortunately if you try to zoom in at more details nothing is mapped.
Searching on the web I've found this link
http://mapbox.github.io/osm-navigation-map/#6.09/44.391/8.984
that seems working fine as I'd like, so I've tried to replicate it and I've done it, here you are the code

    <meta charset='utf-8' />
    <title>Test MapBox</title>
    <meta name='viewport' content='initial-scale=1,maximum-scale=1,user-scalable=no' />

    <link href='https://api.tiles.mapbox.com/mapbox-gl-js/v0.22.1/mapbox-gl.css' rel='stylesheet' />

You can view the map at this link
http://www.cesaregerbino.com/Mapillary/VectorTilesTest/testMapBox.html#8.71/44.5084/8.5412
In this map there is only the "new" mapillary vector tiles layer.
It's working fine too but unfortunately if you try to zoom out at less details nothing is mapped.
So it seems that the new mapillary vector tiles behaviour it's different if I use it in a Leaflet map or in a MapBox map.
I'd like to use it in a Leaflet (0.7) map but I need to see on the map the layer also when I'm in detailed map (zoom in ...).
Any link / suggestion / example?! Thank you a lot in advance!!
Cesare
P.S
I've opened a question here (with a little bounty ...), http://gis.stackexchange.com/questions/207105/how-to-access-to-mapillary-vector-tiles-to-show-all-levels-0-16 if you're interested ... :-)

Hi Cesare,
did you try using  maxNativeZoom: 17 to set the maximum zoom that mapillary vectors handles and maxZoom: 19 to tell leaflet to scale on the latest native layer available?
var mapillary = L.tileLayer('https://d6a1v2w10ny40.cloudfront.net/v0.1/{z}/{x}/{y}.png', {subdomains:'abc',  maxNativeZoom: 17,maxZoom: 19,    id: 'mapillary.sequences', noWrap:true, attribution:'Openstreetmap | OpenStreetMap' });
For me it worked like a charm!!!


Swift client library refactor

Change Log
Provided implementation with version 0.2.0:
Payment creation functionality by API-s of

createPayment (async syntax and completion handler syntax)
createPaymentSync (completion handler syntax)

Tokenization of card data and apple pay token by API-s of

tokenize (async syntax and completion handler syntax)
tokenizeSync (completion handler syntax)

Complete mapping of expected server response JSON objects

tokenization DTOs
payment creation DTOs
error case DTSs

Error handling with

predefined error cases
throwing errors to the user software to handle them with care

Test cases for

both functionalities (with mock and live server)
some DTO initialization (where there is a case for any failure)
PaylikeClient id generation


Added flag 'finetuning'

Added flag finetuning for fine-tunable models only. Overall, only 6 models are fine-tunable:

The ones from Azure are not fine-tunable? Also cohere models I think that now are fine-tunable. Please check :)

The ones from Azure are not fine-tunable?
Only gpt-3.5 models, but we have deprecated all of them but one (gpt-35-turbo-16k-azure).
The other model that we still offer is not fine-tunable (gpt-4-32k-azure).

Regarding Cohere, I'll take a look at it


Remove moot sudo usage from documentation

What is the purpose of this change? What does it change?
That usage of sudo only applies to the echo command itself. It has no
effect on the permissions of the stdout redirect.
Was the change discussed in an issue or in the forum before?
No
Checklist

[x] I have read the Contribution Guidelines
[ ] I have added tests for all changes in this PR
[ ] I have added documentation for the changes (in the manual)
[ ] There's a new file in changelog/unreleased/ that describes the changes for our users (template here)
[ ] I have run gofmt on the code in all commits
[x] All commit messages are formatted in the same style as the other commits in the repo
[x] I'm done, this Pull Request is ready for review

Codecov Report

Merging #2111 into master will decrease coverage by 4.62%.
The diff coverage is n/a.

@@            Coverage Diff            @@
##           master   #2111      +/-   ##
=========================================
- Coverage   50.82%   46.2%   -4.63%
=========================================
  Files         176     172       -4
  Lines       14169   14136      -33
=========================================
- Hits         7202    6531     -671
- Misses       5916    6625     +709
+ Partials     1051     980      -71

Impacted Files
Coverage Δ

internal/backend/b2/b2.go
0% <0%> (-80.69%)
:arrow_down:

internal/backend/swift/swift.go
0% <0%> (-78.45%)
:arrow_down:

internal/backend/gs/gs.go
0% <0%> (-74%)
:arrow_down:

internal/backend/azure/azure.go
0% <0%> (-69.46%)
:arrow_down:

internal/backend/swift/config.go
36.95% <0%> (-54.35%)
:arrow_down:

cmd/restic/cmd_mount.go
12.98% <0%> (-44.16%)
:arrow_down:

internal/archiver/file_saver.go
81.57% <0%> (-4.39%)
:arrow_down:

internal/checker/checker.go
64.54% <0%> (-3.87%)
:arrow_down:

internal/archiver/archiver.go
68.11% <0%> (-0.52%)
:arrow_down:

internal/restic/progress_unix_with_siginfo.go

... and 3 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 98526b8...7a6bfcd. Read the comment docs.


Fixing tree issues for develop

Added some important improvements concerning the tree handling

User provided trees will be ladderized to give a better overview. That ladderized tree will determine the genome order of the output set. Therefore, the tree should always be printed if provided by the user. The AliTV message due to genome orders not fitting to the tree should therefore be avoided.

Moreover, the results of the tree balancing is now checked against the origin tree, if the external program qdist is available.
Fixes #88
Fixes #38
Fixes #19

Approved

Coverage decreased (-0.1%) to 99.275% when pulling 0ac5eac0e710f4e03821166e38f9dd663b81b625 on hotfix/tree-issues into eeb7ba63791b95b2b4ef7ea80d26b783422333a3 on develop.

Coverage decreased (-0.1%) to 99.282% when pulling 0ac5eac0e710f4e03821166e38f9dd663b81b625 on hotfix/tree-issues into eeb7ba63791b95b2b4ef7ea80d26b783422333a3 on develop.


Allow setting extra docker repositories

Would it be possible to use Ansible to do it (http://docs.ansible.com/ansible/docker_module.html) ?

That sounds like an interesting idea. Unfortunately in this case I don't think it's possible: when deploying on atomic hosts it would require to install ansible package on infra node before pulling heat-agent docker image from custom docker repository. And we can't easily install additional RPMs to atomic hosts.

Thanks for the explanation. LGTM


(Re-)expose attributes to Python

As of https://github.com/syoyo/tinyobjloader/commit/5eef2b0914316786ce820964495663d809c6bf88, vertex attributes appear to be inaccessible to Python; while attribobj is constructed to hold this data, this appears to be dead code, as no reference to attribobj is included in the return from LoadObj.
This patch simply adds the attribobj dictionary alongside shapes and materials in the returned object, with the name attribs.

Cool! Merged.


[5.5] Add animals to $uncountable list

I did not checked all of them but this pr includes too many changes and some (if not the most) are wrong


Add techcrunch extension

Description

Screencast

Checklist

[x] I read the extension guidelines
[x] I read the documentation about publishing
[x] I ran npm run build and tested this distribution build in Raycast
[x] I checked that files in the assets folder are used by the extension itself
[x] I checked that assets used by the README are placed outside of the metadata folder

Could you remove the two wrongly added package-lock.json files 🙂

I apologise, added the file by mistake, already deleted it


Responsive mobile dashboard.

Right now, none of the websites besides the landing page is really designed for mobile. This needs to be updated now that mobile wallets have become such a prominent thing.

This has been canceled until we can deliver an app that improves this experience, as we will be able to provide wallets and run everything through a GSN, which would be a far more considerable justification and benefit of having a mobile implementation.
At this stage, suggesting someone use an EOA for management would be dangerous.


First ellipse

@stephanecollot I removed the now outdated code as discussed yesterday, merging the rest into unstable now


Map schema types in type service

Currently only the class is used to resolve the fields of a type. It should be possible to add a schema type with the same class as another but display them differently.
For example, if you stored a date object as a Long in a database, you would still want to display that as a date.

This issue addresses a problem that no longer exists


add regen/repair properties to swagger

passively regenerated life per tick
repaired life and cost per tick with the repair command

also add repair type of command

Repair is already supported. What needs to be done regarding regen?

the properties were missing from the ship classes

So can we close the bug now?

no: it is still missing

ShipClass object should contain this info
@tivvit promised to take over this one


'esc' key for selectTool

a minor, nice to have.
another user pattern you see alot in CAD/BIM software is to use the 'esc' key to change to, or escape back to the selection tool (selectTool).

https://github.com/459below/draw/commit/fb8310c732b55c55ff124f5293baf6903b907afe
If you replace the "3" with "escape" or something like that, it should work.


Measuring visibility  time (in seconds)

Hi there!
Is there any way to measure and report the amount of time a DIV with a specific id/class was visible for in the viewport in total, cumulatively? ( so the div may scroll in and out of view during the entirety of the interaction) It's sort of like how long in seconds was an ad viewed for in total ..

Hey Vilav,
That's a great question - trackomatic can't do this, but I've heard good things about Rob Flaherty's  Screentime plugin. The main hitch is that jQuery is required, but that's not a problem for most people.


Is there an initialisation bug in synthesizer/chunking/context_generator.py for class ContextGenerator method generate_contexts() ?

I could be doing something wrong, but I've come across what appears to be a bug in the initialisation of generate_contexts method.
Each time this is called, contexts (and others) are being initialised to [].  I believe that at this point self.total_chunks should be reset back to zero, because otherwise at the end of this routine "self.total_chunks += num_chunks" is executed which ends up adding num_chunks so the reported total chunk count appears to grow when I'm simply resampling the existing document content.
Here is my code:
from deepeval.synthesizer import Synthesizer
from deepeval.synthesizer.config import FiltrationConfig, ContextConstructionConfig

# Generate the default set of goldens (ie randomly from the full set of evolution types)
filtration_config = FiltrationConfig(critic_model="gpt-4o-mini")
synthesizer = Synthesizer(model="gpt-4o-mini",filtration_config=filtration_config)
context_construction_config = ContextConstructionConfig(critic_model="gpt-4o-mini")
synthesizer.generate_goldens_from_docs(
    document_paths=['./data/datafile.txt'],
    context_construction_config=context_construction_config # params to customise quality of contexts constructed from documents
)

[FYI this reported "Utilizing 3 out of 17 chunks."]
# Now add another 10 REASONING questions randomly generated from the available contexts
# Force creation of a REASONING question type
from deepeval.synthesizer.config import EvolutionConfig
from deepeval.synthesizer.types import Evolution

evolution_config = EvolutionConfig(evolutions={Evolution.REASONING: 1})
synthesizer.evolution_config=evolution_config
# Also change to 10 contexts per document
context_construction_config.max_contexts_per_document=10  # This will create 10 new questions given max_goldens_per_context will be also set to 1

# NB: *** Repeat this contexts extraction step if wanting a different randomly selected context from source doc,
#         otherwise don't repeat and it will generate new question against SAME set of context(s).                ***
# Generate the required contexts from already loaded "context_generator" content
from itertools import chain
synthesizer.context_generator.total_chunks=0 # Reset context_generator.total_chunks (bug when generate_contexts called more than once for same doc)
contexts, source_files, context_scores = (
    synthesizer.context_generator.generate_contexts(num_context_per_document=context_construction_config.max_contexts_per_document)
)
print(f"Utilizing {len(set(chain.from_iterable(contexts)))} out of {synthesizer.context_generator.total_chunks} chunks.")

Note my code "synthesizer.context_generator.total_chunks=0"
[FYI this reported "Utilizing 10 out of 17 chunks." but only because I'd reset synthesizer.context_generator.total_chunks to 0
If I hadn't reset it, it would have reported "Utilizing 10 out of 34 chunks."]
# Make actual call for REASONING questions
# Now call the generation process and this automatically adds to existing set of synthesizer.synthetic_goldens
synthesizer.generate_goldens_from_contexts(
    max_goldens_per_context=1,        # default is 2
    contexts=contexts,
    source_files=source_files         # Optional (undocumented): This is just for returned data purposes in new goldens (ie gets included when saved)
)

and then if I had wanted to generate say 4 new random chunks so I could generate 8 new CONCRETIZING questions
(2 qns per new chunk) it would have reported "Utilizing 4 out of 51 chunks." instead of "Utilizing 4 out of 17 chunks." by including the 0 reset line in the new code - see below:
evolution_config = EvolutionConfig(evolutions={Evolution.CONCRETIZING: 1})
synthesizer.evolution_config=evolution_config
context_construction_config.max_contexts_per_document=4
synthesizer.context_generator.total_chunks=0 # Reset context_generator.total_chunks (bug when generate_contexts called more than once for same doc)
contexts, source_files, context_scores = (
    synthesizer.context_generator.generate_contexts(num_context_per_document=context_construction_config.max_contexts_per_document)
)
print(f"Utilizing {len(set(chain.from_iterable(contexts)))} out of {synthesizer.context_generator.total_chunks} chunks.")
# Make actual call for CONCRETIZING questions
# Now call the generation process and this automatically adds to existing set of synthesizer.synthetic_goldens
synthesizer.generate_goldens_from_contexts(
    max_goldens_per_context=2,        # default is 2
    contexts=contexts,
    source_files=source_files         # Optional (undocumented): This is just for returned data purposes in new goldens (ie gets included when saved)
)

You're right. self.total_chunks should be set to 0 before context generation. Fixed in PR: https://github.com/confident-ai/deepeval/pull/1177.

Thanks @kritinv for confirming and fixing.  I'm leaving the issue open for now as the change hasn't made it into latest version of DeepEval (1.5.9).

Confirming initialisation of self.total_chucks is fixed now for both generate_contexts and a_generate_contexts in DeepEval 1.6.2+
I've tested with my example using DeepEval (1.6.2) and confirming the initialisation issue has been resolved.
Closing this issue now.  Thanks again @kritinv.


Preview layout XML code in syntax highlight view.

Take a look at https://github.com/kbiakov/CodeView-android or similar project.

For interim solution, using github to preview code. See #16


Implement SoCo 0.26 changes

In SoCo 0.26 we have been able to officially re-introduced the music service support.
Some minor changes should be apply to the authentication function to make it works.

https://github.com/smartgic/mycroft-sonos-controller-skill/commit/ff2c7b2ddcfa9fd0024eea564cb3ec17160cfc6e


jogamp missing

Hi,
I downloaded the latest jar following the instructions in the README but trying to run it I am getting:
(Fiji Is Just) ImageJ 2.14.0/1.54f; Java 1.8.0_322 [64-bit]; Mac OS X 10.16; 213MB of 10987MB (1%)

java.lang.NoClassDefFoundError: com/jogamp/opencl/CLException
	at java.lang.Class.getDeclaredConstructors0(Native Method)
	at java.lang.Class.privateGetDeclaredConstructors(Class.java:2671)
	at java.lang.Class.getConstructor0(Class.java:3075)
	at java.lang.Class.newInstance(Class.java:412)

Using Apple M2...

Hi @tischi ! Sorry for the inconvenience.
Please let me know the following to help solve the issue:

Did you download SReD from the Github page or did you use the "ImageJ Update Site"?
Do you also have the eSRRF plugin in ImageJ?

I followed the instructions for installing from github releases, i.e. I downloaded the jar and placed it in Fiji.

Can you please install eSRRF in ImageJ, restart ImageJ and then run SReD again?
You can do it in "Update..." > "Manage Update Sites" and add the eSRRF website (https://sites.imagej.net/NanoJ-LiveSRRF/).

Hi @ammendes,
We should change the section of the readme @tischi mentions to reflect that there are needed dependencies, or remove that first section about installing by copying the jar and just ask users to use the repos.
Thank you @tischi for highlighting this.

Running it when installing both update sites is working. Maybe indeed just remove the other option.

Thanks @tischi ! We'll remove the other option for now, until we sort it out.

Maybe this isn't fixed. I followed the installation instructions (i.e. installing via update site) then when I try SReD > Relevance Mask > Calculate Relevance Mask (2D), I get

in the console: Couln't load native CL/JNI glue library
in the Exception window:

(Fiji Is Just) ImageJ 2.14.0/1.54f; Java 1.8.0_172 [64-bit]; Linux 5.4.0-182-generic; 1216MB of 20876MB (5%)

com.jogamp.common.JogampRuntimeException: JOCL is not available
	at com.jogamp.opencl.CLPlatform.initialize(CLPlatform.java:171)
	at com.jogamp.opencl.CLPlatform.initialize(CLPlatform.java:147)
	at com.jogamp.opencl.CLPlatform.listCLPlatforms(CLPlatform.java:220)
	at com.jogamp.opencl.CLPlatform.listCLPlatforms(CLPlatform.java:211)
	at OptimiseRelevanceMask_.run(OptimiseRelevanceMask_.java:136)
	at ij.IJ.runUserPlugIn(IJ.java:244)
	at ij.IJ.runPlugIn(IJ.java:210)
	at ij.Executer.runCommand(Executer.java:152)
	at ij.Executer.run(Executer.java:70)
	at java.lang.Thread.run(Thread.java:748)

@jkh1 did you also install eSRRF?

Yes I followed the instructions here

Sorry about that. I reopened the issue.
@jkh1 you have a different error message, which is related to a problem with Linux compatibility, but I believe the solution we're working on will solve both issues.
As a temporary workaround, you can try using a Windows or MacOS machine if you have one available, it should work.
If you try that, please let me know how it went.

Hi @tischi and @jkh1.
We updated the ImageJ update site. The issue should now be resolved.
Please try the following:

Either start from a clean Fiji install, or simply uncheck the SReD and eSRRF update sites to uninstall the plugins, then restart Fiji.
Go to the update sites again and check the SReD site to install the new version. No need to check eSRRF from now on.
Restart Fiji and then try the plugin.

please let me know how that went.

@ammendes  I can confirm that it's now fixed for me on Linux.


redox: Add remaining grp.h functions

@bors r+

:pushpin: Commit a685037a420d3a5fbc61390c1cee7e4842f17e34 has been approved by JohnTitor
It is now in the queue for this repository.

:sunny: Test successful - checks-actions, checks-cirrus-freebsd-12, checks-cirrus-freebsd-13, checks-cirrus-freebsd-14
Approved by: JohnTitor
Pushing 68f46d39a11261f842eb1ca2df30e7700f644baf to main...


Removed large warnings from compilation output

Not sure if these warnings are intentional but they're cluttering up the compilation output. I found them a bit annoying

@termoose Sorry about not seeing this until today. The changes look great. Thanks for taking care of this.


Show the sessions in a table

😱
Sacrilege! ;)

Coverage remained the same at 52.482% when pulling bfbafa18071d1ec97ea3b43ee501c7bfaa32a55d on table_sessions into 3d985cb4c9b414f9245b3f7fb15385db5f83b940 on master.

Part of the rationale for the current two-column layout is that older sessions show up at the top of the second column, which prevents the last-added sessions from sucking up all of the attention. I wonder if there's a way to preserve that?

@pcantrell This is only on the admin page, so finding information is more important than an even distribution.

Oh, duh! Maybe I should try actually paying attention when reviewing PRs.


Circular Linked List

Description
I want to add the following codes to the Linked List folder:

Creating a Circular Linked List
Displaying a Circular Linked List
Inserting and deleting operations in a Circular Linked List

I would like to contribute to this under GSSOC'22.
Domain
Data Structure
Type of Contribution
Addition
Code of Conduct

[X] I follow Contributing Guidelines & Code of conduct of LearnCPP.

@Lakhankumawat can u please assign me to this issue

/assign


Publish filters with Flow type annotations

The Draft.js filters now come with Flow annotations. For projects that do not use Flow this has no impact. For Flow users, please make sure you correctly type your code so Flow doesn't raise issues because of conflicts with this package's type definitions.
TODO:

[x] Documentation for end users
[x] Documentation for future maintenance
~[ ] Danger checks~
[x] Post-build Flow type check

:tada: This pull request is included in v2.0.0, available on npm<EMAIL_ADDRESS>
Generated by :package::rocket: semantic-release


Non-spock tests failing with IllegalArgumentException

My project has a large mix of Spock and Junit tests, the spock tests use a mix of Mockito and Spock mocks, the JUnit tests just use Mockito, since adding this library all of my non spock tests fail with the following error:
Stacktrace
java.lang.IllegalArgumentException: MockAttachingTestExecutionListener can be applied only for spock specifications
	at com.pchudzik.springmock.spock.spring.MockAttachingTestExecutionListener.beforeTestMethod(MockAttachingTestExecutionListener.java:48)
	at org.springframework.test.context.TestContextManager.beforeTestMethod(TestContextManager.java:269)
	at org.springframework.test.context.junit4.statements.RunBeforeTestMethodCallbacks.evaluate(RunBeforeTestMethodCallbacks.java:74)
	at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)

Is there anyway to globally turn the listener off, and only add it to the tests where I'm making use of the library? (until such time as I can actually convert the whole code base)

You can check if latest snapshot version will work for you (it probably will not, it might fix the error but you'll probably hit more complicated issues later).
I've refactored the check that was raising the exception. It doesn't make any sense and I didn't considered that someone might use spock and junit at the same time, although I did it myself :)
The problem might a bit more complicated that it looks. Right now mockito and spock infrastructure are completely different and separated things. Each one setups some stuff, and as a results one will overwrite beans registered by another. For example double factory might get overwritten and as a result you can end up with spock mocks in junit test case.
if that's the case then you'll need to do some coding to get this running
Annotate your test class with @BootstrapWith and provide TestContextBootstraper which will call org.springframework.test.context.support.AbstractTestContextBootstrapper#getContextCustomizerFactories and then remove all springmock customizers and then add one customizer for each testing framework. Something like this:
class JunitSpringMockContextCustomizer extends DefaultTestContextBootstrapper {
  @Override
  protected List<ContextCustomizerFactory> getContextCustomizerFactories() {
    return Stream.concat(
            super.getContextCustomizerFactories().stream().filter(this::isNotSpringMockCustomizer),
            Stream.of(new com.pchudzik.springmock.mockito.spring.MockitoContextCustomizerFactory())
        ).collect(toList());
    }
}

and very similar one for spock but use com.pchudzik.springmock.spock.spring.SpockContextCustomizerFactory instead of MockitoContextCustomizerFactory. You can try and figure out the single class which will do it more dynamically but I'm sure you get the idea.
Now about long term solution. How should it look? I see few options here but I'm not sure which one will the best.

leave it as is if it is be working. I don't expect it to work...
allow to manually select mocking library and disable/enable it for single test classes (sounds like a lot of effort for the user to select runner for each test class individually...) Something like the workaround I've proposed above, maybe looking a bit better on the outside but still pretty ugly...
automagically detect what is being executed and (spock specification/junit test case) and register infrastructure appropriately - might be tricky to maintain in longer perspective. Something like the workaround above but bundled in the library.
something else?

The 1.1.0-SNAPSHOT actually works for us, all our tests pass once I use that version :) Any chance of it becoming a release version?
Thanks

I've just released version 1.1.0 to maven central.
testCompile('com.pchudzik.springmock:springmock-mockito:1.1.0')
Since it's working for you then I'm closing this one. In case of any further issues do not hesitate to reopen.


Download only subtitle and video separately.

I cannot select the language to none to download only the videos and subs separately in beta 2.0.0-2

This should be fixed in 2.0.0-beta.6.
Take a look at the examples for how to do this: https://github.com/simplymemes/crunchyroll-dl/tree/soft#examples

it working great, thank


Add --color=[always;auto;never] flag

Summary of changes
Changes introduced in this pull request:

Add flag to determine ANSI colored output
auto will resort to always if stdout is available, or never if not (such as forest being detached)

Reference issue to close (if applicable)

Closes #1512
Other information and links

Alright, cleaned it up with an enum and some trait impls. Looks much cleaner, thanks @LesnyRumcajs for the tip


OpenRV: added integration

Changelog Description
This PR is adding OpenRV - open source version of RV - image and sequence viewer for VFX and animation artists - to the list of applications.
This allows to set path to OpenpRV binaries in Applications addon and add it to Anatomy > Attributes for particular project to show up in Ayon Launcher.
Additional info
Code for addon itself is https://github.com/ynput/ayon-openrv . Doesn't contain OpenRV binaries because of licensing!
Currently implemented and working workfile workflow. There was annotation auto creator but workflow was unfinished. Unsure how the workflow should look like and what should have produced to be able to finish it. Open for comments.
Documentation for this PR here https://github.com/ynput/ayon-documentation/pull/130
Testing notes:

build new Applications addon via server_addon/create_ayon_addons.py
deploy it to Ayon server and restart
use new Applications addon in bundle
set path to OpenRV in ayon+settings://applications/applications/openrv/variants/0

set OpenRV to ayon+anatomy://ayon_test/attributes

@kalisp probably no point merging this into OP now. Let's turn it into ayon-rv right away.

I'd say there's no point merging this now with the existence of ayon-openrv

You mean ayon-core, it is still required to have it there even if the code itself is in separate repo. We still need to expose OpenRV in a list of applications.

yeah let's say I fully realised that  :D

@kalisp let's add it to ayon-core pls


[GSOC] Add entry to GSOC interest

This commit adds a new entry
to GSOC interest.
Signed-off-by: Animesh Kumar<EMAIL_ADDRESS>

Hello mentors, I am interested in the project GSoC Idea: Implement the Social Currency Metrics System in GrimoireLabs #288. Please add my entry to GSoC interest.
Thank you :)

Thanks @animeshk08


Add more details

closes https://github.com/MicrosoftDocs/OfficeDocs-SharePoint/issues/3493

@get-itips


[AutoMlforecast] AutoMlforecast evaluate the performance of a model with cross_validation

Description
I have a problem: I want to evaluate the performance of models using cross-validation, but I'm encountering errors.
If there's another way of evaluating, how can I implement it?
# Model dictionary
models ={
        'xgb':AutoXGBoost(),
        #'naive': Naive(),
        'lgbm': AutoLightGBM(),
        'lin_reg': AutoLinearRegression(),
        'ridge': AutoRidge(),
        'rf': AutoRandomForest()
    }

from mlforecast.target_transforms import Differences, LocalStandardScaler
auto_mlf = AutoMLForecast(
    models = models,
    freq='MS',
    season_length=12,
    num_threads=2

)

crossvalidationh24_df = auto_mlf.cross_validation(
    df=data_train,
    h=24,
    step_size=24,
    n_windows=2
)

---------------------------------------------------------------------------
AttributeError                            Traceback (most recent call last)
Cell In[22], [line 1](vscode-notebook-cell:?execution_count=22&line=1)
----> [1](vscode-notebook-cell:?execution_count=22&line=1) crossvalidationh24_df = auto_mlf.cross_validation(
      [2](vscode-notebook-cell:?execution_count=22&line=2)     df=data_train,
      [3](vscode-notebook-cell:?execution_count=22&line=3)     h=2[4](vscode-notebook-cell:?execution_count=22&line=4),
      4     step_size=24,
      [5](vscode-notebook-cell:?execution_count=22&line=5)     n_windows=2
      [6](vscode-notebook-cell:?execution_count=22&line=6) )

AttributeError: 'AutoMLForecast' object has no attribute 'cross_validation'

----------------------------------------------------------------------------

Link
No response

Hey @Poterix13, thanks for using mlforecast. The AutoMLForecast.fit method performs cross validation to score the trials and choose the best model. You can then inspect the results, where each trial's score is the average error in the cross validation folds.

Hello @jmoralez thank you for your help. I've finally seen how to proceed, but I have a problem: when I run auto_mlf.results_['lgbm'].best_trial.user_attrs['config'] i get this result:
{'model_params': {'bagging_freq': 1,
'learning_rate': 0.05,
'verbosity': -1,
'n_estimators': 255,
'lambda_l1': 1.9038135910385762e-06,
'lambda_l2': 0.00015732471573476155,
'num_leaves': 10,
'feature_fraction': 0.5794847918227599,
'bagging_fraction': 0.5551875705821525,
'objective': 'l1'},
'mlf_init_params': {'lags': [12],
'target_transforms': [<mlforecast.target_transforms.GlobalSklearnTransformer at 0x29fd853c6b0>,
<mlforecast.target_transforms.Differences at 0x29fd85f7d10>,
<mlforecast.target_transforms.LocalStandardScaler at 0x29fd85f7a70>],
'lag_transforms': {1: [ExponentiallyWeightedMean(alpha=0.9)],
12: [RollingMean(min_samples=1, window_size=12)],
24: [RollingMean(min_samples=1, window_size=12)]},
'date_features': None,
'num_threads': 2},
'mlf_fit_params': {}}
I don't understand 0x29fd853c6b0 or 0x29fd85f7a70 value ???

That's the memory address of the objects. They don't have a nice repr (way to tell python how to print them) but they're just some transformations that are applied to the target before training the models, in this case (a log, then difference and then scaling).

I thought it was the transformation function argument

Thanks @jmoralez

Hello @jmoralez , I have a concern
before optimisation
mlf = MLForecast(
models = models,
freq='MS',
target_transforms=[Differences([1, 2]), LocalStandardScaler()],
lags=[1],
lag_transforms={
1: [ExpandingMean()],
12: [RollingMean(window_size=12)],
},
date_features=['month','year']

)
After optimisation on obtained the following parameters for one model
{'model_params': {'bagging_freq': 1,
'learning_rate': 0.05,
'verbosity': -1,
'n_estimators': 307,
'lambda_l1': 5.14861122776246,
'lambda_l2': 8.904450147868902,
'num_leaves': 54,
'feature_fraction': 0.5354348890921041,
'bagging_fraction': 0.6463970157202594,
'objective': 'l2'},
'mlf_init_params': {'lags': range(12, 25, 12),
'target_transforms': [<mlforecast.target_transforms.GlobalSklearnTransformer at 0x1f65d3c0f20>,
<mlforecast.target_transforms.Differences at 0x1f65d256f30>,
<mlforecast.target_transforms.LocalStandardScaler at 0x1f65d3c24e0>],
'lag_transforms': {1: [ExponentiallyWeightedMean(alpha=0.9)]},
'date_features': ['month', 'year'],
'num_threads': 5},
'mlf_fit_params': {}}
I want to adapt my code according to these new parameters and then do a cross-validation to evaluate performance on the training set, but I can't figure out how to arrange the parameters and the values they take.
I want to do this because after optimisation I have no information about the performance of the model on the training set.
need your assistance

config = auto_mlf.results_['lgbm'].best_trial.user_attrs['config']
fcst = MLForecast(models=[LGBMRegressor(**config['model_params']), **config['mlf_init_params])
cv_res = fcst.cross_validation(your_data, fitted=True, **config['mlf_fit_params'])
cv_fitted = fcst.cross_validation_fitted_values()

Thanks @jmoralez


Build a community around Runestone

Uowhh uhh just did, join at:
https://discord.gg/caHM8zjYD9
https://t.me/+RY3zPi9c7B9jODdk

Due to the nature of both services having rather exploitable designs, I would be very wary of joining a server/GC that didn't have the explicit support and validation by people I trust within the community.

You're free to create whatever discord and telegram groups you want. However, they are not associated with this project and shouldn't be advertised here.


Add a latest tag

Useful to point to latest nix version here:
https://nixos.wiki/wiki/Flakes#Installing_nix_flakes

I'd rather not deal with mutable tags, they are annoying to handle in Git.


Made NotifyConsumed and NotifyFaulted of the ConsumeContext internal.

The methods NotifyConsumed and NotifyFaulted of the ConsumeContext interface are made internal.
Like the note in the code doc suggests. As C# supports declaring methods in interfaces as internal we should use this feature and not rely on the developer reading docs and acting like they are told. 😉

They are not internal for a reason, they are used in middleware filters and for other reasons.


self.handle_request(req, conn): OSError: [Errno 9] Bad file descriptor

After upgrading from a pretty old version the exporter started to die repeatedly with
2024-10-25_15:03:38.94501 [2024-10-25 17:03:38 +0200] [1773730] [ERROR] Socket error processing request.
2024-10-25_15:03:38.94506 Traceback (most recent call last):
2024-10-25_15:03:38.94507   File "/home/prox/.local/pipx/venvs/prometheus-pve-exporter/lib/python3.11/site-packages/gunicorn/workers/gthread.py", line 285, in handle
2024-10-25_15:03:38.94508     keepalive = self.handle_request(req, conn)
2024-10-25_15:03:38.94508                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2024-10-25_15:03:38.94509   File "/home/prox/.local/pipx/venvs/prometheus-pve-exporter/lib/python3.11/site-packages/gunicorn/workers/gthread.py", line 357, in handle_request
2024-10-25_15:03:38.94510     util.reraise(*sys.exc_info())
2024-10-25_15:03:38.94511   File "/home/prox/.local/pipx/venvs/prometheus-pve-exporter/lib/python3.11/site-packages/gunicorn/util.py", line 641, in reraise
2024-10-25_15:03:38.94512     raise value
2024-10-25_15:03:38.94513   File "/home/prox/.local/pipx/venvs/prometheus-pve-exporter/lib/python3.11/site-packages/gunicorn/workers/gthread.py", line 343, in handle_request
2024-10-25_15:03:38.94513     resp.write(item)
2024-10-25_15:03:38.94514   File "/home/prox/.local/pipx/venvs/prometheus-pve-exporter/lib/python3.11/site-packages/gunicorn/http/wsgi.py", line 326, in write
2024-10-25_15:03:38.94515     self.send_headers()
2024-10-25_15:03:38.94516   File "/home/prox/.local/pipx/venvs/prometheus-pve-exporter/lib/python3.11/site-packages/gunicorn/http/wsgi.py", line 322, in send_headers
2024-10-25_15:03:38.94521     util.write(self.sock, util.to_bytestring(header_str, "latin-1"))
2024-10-25_15:03:38.94521   File "/home/prox/.local/pipx/venvs/prometheus-pve-exporter/lib/python3.11/site-packages/gunicorn/util.py", line 299, in write
2024-10-25_15:03:38.94522     sock.sendall(data)
2024-10-25_15:03:38.94523 OSError: [Errno 9] Bad file descriptor

Seems it's related to gunicorn and its worker configuration, but I am not familiar with its internals. Nor am I aware how it could be configured from outside, so I started to patch cli.py until it worked (based on various discussions like https://github.com/benoitc/gunicorn/issues/1877):
    gunicorn_options = {
        'bind': f'{params.web_listen_address}',
        'threads': 2,
        'keyfile': params.server_keyfile,
        'certfile': params.server_certfile,
        'loop': 'asyncio',
        # sync, gthread, (eventlet)gevent, tornado
        'worker_class': 'gevent',
    }

(Obviously this requires gevent as a dependency.) This works for me but I am not sure this is a proper solution of the problem.
It's been started under runit here (aka. daemontools next gen), but otherwise it's a pipx install with no additional modifications.

Thanks for the report. I haven't found any of those in my logs yet.
That said, I'm not too happy on how the application hard codes gunicorn internals. On the other hand, I hesitate to expose all of that as configuration, since it shouldn't be necessary to tweak this stuff in order to reliably run this service.
Maybe there is a way to refactor the code such that pve exporter can be run as a wsgi app. That would make it easier to swap out the wsgi server when needed (or adapt its configuration).

It is running under apparmor and cgroup and various other evil magic, so it is very well possible that the error will not manifest for you. Googling that revealed that it is known but usually rare, and related to gunicorn behaving.

Ok, good to know.


Feat: Support upload EKS cluster certificates

What would you like to be added?
Support uploading EKS cluster certificates.
Why is this needed?
Users uploading EKS certificates on the cluster management page will fail because EKS certificates will obtain tokens through the aws cli tool, which we currently do not support.
Related issue: #520

@CirillaQL completes this issue. Nice.