Archive stats data on disc

Fixes #1413
This is only dealing with storing the stats, daily, on the disc. It doesn't
deal with archiving the current old stats data, nor with presenting those saved
files to the user.

r+wc

I modified the code according to your comments, what do you think?

The eq/assert change doesn't neccessary belong in this PR but I'm okay with that.
r+ :beers:


feat: re-enable TrustyAI in downstream but set to removed (T.P)

Revert "Remove Trustyai installation in downstream"
set version to 2.11.0
set default trustyai to removed
This reverts commit<PHONE_NUMBER>ffaa80429f17aa19c3b6e5c5774efc.

How about https://github.com/red-hat-data-services/rhods-operator/blob/main/controllers/datasciencecluster/datasciencecluster_controller.go#L352 ?


add cert manager

Subscribe to operator providing certmanager.k8s.io api (jetstack/cert-manager v0.10)

I am closing this as #432 has been cancelled.


Combine Redis libraries

Currently, Janus has two different libs to work with Redis. That's not an ideal scenario, we'd like to use one of these libs:github.com/go-redis/redis and github.com/garyburd/redigo/redis.

@italolelis I'd like to work on this.
It seems redigo gets more usage in the project, go-redis is only used in this file
Do you want to change this file to use redigo instead and remove go-redis from the project?


fix running an existing VM

Need a length check to avoid an out-of-bounds error.

@germag PTAL
I hit the error during the last SST enablement session.


Cards Updated on the Achievements Page

@smaranjitghose

That's really impressive!

Thank you @smaranjitghose :)


Buffer server should use a separate thread to spool blocks to disk - for review

can you please squash and resubmit?

obsoleted by #29.


[BUG] K3D setup restarting on its own

I am running k3d on ubuntu 20.04.5 WSL2 setup. I am seeing strange behavior that docker is restarting and hence all pods are complaining that sandbox change pod must be recreated and restarted.    2 hours ago   Up About a minute   <IP_ADDRESS>:4001-4002->4001-4002/tcp, :::4001-4002->4001-4002/tcp, <IP_ADDRESS>:4200-4201->4200-4201/tcp, :::4200-4201->4200-4201/tcp, <IP_ADDRESS>:4300->4300/tcp, :::4300->4300/tcp, <IP_ADDRESS>:8080->8080/tcp, :::8080->8080/tcp, <IP_ADDRESS>:8443->8443/tcp, :::8443->8443/tcp, <IP_ADDRESS>:9080->9080/tcp, :::9080->9080/tcp, 80/tcp, <IP_ADDRESS>:9443->9443/tcp, :::9443->9443/tcp, <IP_ADDRESS>:44379->6443/tcp   k3d-synosys-serverlb
2939bf30e094   rancher/k3s:v1.24.4-k3s1         "/bin/k3s agent"         2 hours ago   Up About a minute                                                                                k3d-synosys-agent-1
18b696851166   rancher/k3s:v1.24.4-k3s1         "/bin/k3s agent"         2 hours ago   Up About a minute                                                                                k3d-synosys-agent-0
92ebd722c741   rancher/k3s:v1.24.4-k3s1         "/bin/k3s server --d…"   2 hours ago   Up About a minute                                                                                k3d-synosys-server-0

As it is visible, k3d-synosys-serverlb and all containers are restarting and thus all pods are also restarting telling sandbox changed, pod must be recreated and restarted.


Default Profile with Settings

Type: Bug
All Profile not applied settings
VS Code version: Code 1.81.1 (6c3e3dba23e8fadc360aed75ce363ba185c49794, 2023-08-09T22:22:42.175Z)
OS version: Windows_NT x64 10.0.22621
Modes: Restricted

System Info

Item
Value

CPUs
12th Gen Intel(R) Core(TM) i5-1235U (12 x 2496)

GPU Status
2d_canvas: enabledcanvas_oop_rasterization: disabled_offdirect_rendering_display_compositor: disabled_off_okgpu_compositing: enabledmultiple_raster_threads: enabled_onopengl: enabled_onrasterization: enabledraw_draw: disabled_off_okvideo_decode: enabledvideo_encode: enabledvulkan: disabled_offwebgl: enabledwebgl2: enabledwebgpu: enabled

Load (avg)
undefined

Memory (System)
7.73GB (3.40GB free)

Process Argv

Screen Reader
no

VM
0%

Extensions (3)

Extension
Author (truncated)
Version

prettier-vscode
esb
10.1.0

vs-keybindings
ms-
0.2.1

material-icon-theme
PKi
4.29.0

(1 theme extensions excluded)

A/B Experiments
vsliv368:30146709
vsreu685:30147344
python383:30185418
vspor879:30202332
vspor708:30202333
vspor363:30204092
vswsl492cf:30256860
vslsvsres303:30308271
vserr242cf:30382550
pythontb:30283811
vsjup518:30340749
pythonptprofiler:30281270
vshan820:30294714
vstes263cf:30335440
vscod805cf:30301675
binariesv615:30325510
bridge0708:30335490
bridge0723:30353136
vsaa593:30376534
pythonvs932:30410667
vscaac:30438847
vsclangdf:30486550
c4g48928:30535728
dsvsc012:30540252
pynewext54:30695312
azure-dev_surveyone:30548225
vscccc:30803845
282f8724:30602487
f6dab269:30613381
showlangstatbar:30737416
03d35959:30757346
7ij38806:30736111
pythonfmttext:30731395
pythoncmv:30756943
fixshowwlkth:30771522
showindicator:30805244
pythongtdpath:30769146
i26e3531:30792625
gsofa:30804715
pythonnosmt12:30797651
pythonidxpt:30805730
pythonnoceb:30805159
asynctok:30810527
dsvsc013:30795093
dsvsc014:30804076

Not disabling all profile trust center

"security.workspace.trust.untrustedFiles": "open",
"security.workspace.trust.startupPrompt": "never",
"security.workspace.trust.enabled": false
Not applied default profile selected for another profile(s)

Can you try to reproduce with our nightly insider builds? You can give our preview releases a try from: https://code.visualstudio.com/insiders/

Can you try to reproduce with our nightly insider builds? You can give our preview releases a try from: https://code.visualstudio.com/insiders/

I will let you know after I try it

Please diagnose the root cause of the issue by running the command F1 > Help: Troubleshoot Issue and following the instructions. Once you have done that, please update the issue with the results.
Happy Coding!

This issue has been closed automatically because it needs more information and has not had recent activity. See also our issue reporting guidelines.
Happy Coding!


remove imports of afterNextRender (unused)

utils.js doesn't export or even implement that function any more, trying to import it just causes errors

this PR just removes importing function which never gets used, reviewing it should take 1min


[Navi21][HIP] test_pooling2d and other unit tests are failing

The following tests are failing consistently on gfx1030, please take a look:
http://micimaster.amd.com/blue/rest/organizations/jenkins/pipelines/MLLibs/pipelines/MIOpen/branches/ci_gfx1030_ocl_to_hip/runs/7/nodes/10/steps/40/log/?start=0

[2021-09-02T00:03:15.364Z]  3/82 Test #37: test_pooling2d .............................***Failed    6.92 sec
[2021-09-02T00:03:15.364Z] Memory access fault by GPU node-2 (Agent handle: 0x69c8b0) on address 0x7fc8ad3f7000. Reason: Page not present or supervisor privilege.
[2021-09-02T00:03:15.364Z] CMake Error at test_test_pooling2d.cmake:7 (message):
[2021-09-02T00:03:15.364Z]   Test failed

Hence if running HIP check on gfx1030, several more unit tests failed, for example:

[2021-09-02T00:18:40.264Z] /var/jenkins/workspace/ibs_MIOpen_ci_gfx1030_ocl_to_hip/build/bin/test_conv2d --float --cmode conv --pmode default --group-count 1 --input 64 160 73 73 --weights 64 160 1 1 --batch_size 64 --input_channels 160 --output_channels 64 --spatial_dim_elements 73 73 --filter_dims 3 3 --pads_strides_dilations 0 0 1 1 1 1 --trans_output_pads 0 0 --in_layout NCHW --fil_layout NCHW --out_layout NCHW
[2021-09-02T00:18:40.264Z] FAILED: 0.000689474

Let's talk about priorities of these failure checks separately, but this issue is to track the problems we would be facing soon.

@junliume I tested both rocm-4.1/4.3, both HIP/OCL backend, but seems can't reproduce this navi crash of test_pooling2d? Does it related to CI hardware? I tested on ixt-sjc2-63

@junliume I tested both rocm-4.1/4.3, both HIP/OCL backend, but seems can't reproduce this navi crash of test_pooling2d? Does it related to CI hardware? I tested on ixt-sjc2-63

@carlushuang it is still pretty persistent: (the following pipeline is just now)
http://micimaster.amd.com/blue/organizations/jenkins/MLLibs%2FMIOpen/detail/ci_gfx1030_ocl_to_hip/8/pipeline

@junliume Hi, I tested on ixt-sjc2-63, with latest MIOpen, and rebuild docker, miopen and do test (all the command is the same as that Jenkins stage), but still everything can pass. Below is the command, here is the log
log.txt
cd /dockerx/repo/MIOpen/
mkdir build && cd build
CXX=/opt/rocm/llvm/bin/clang++ CXXFLAGS=-Werror cmake -DMIOPEN_TEST_FLAGS= --disable-verification-cache  -DCMAKE_BUILD_TYPE=release -DBUILD_DEV=Off -DCMAKE_INSTALL_PREFIX=../install -DMIOPEN_GPU_SYNC=Off -DMIOPEN_TEST_ALL=On ..
CTEST_PARALLEL_LEVEL=4 MIOPEN_CONV_PRECISE_ROCBLAS_TIMING=0 MIOPEN_DEBUG_CONV_IMPLICIT_GEMM_HIP_FWD_V4R1=0 dumb-init make -j192 install check 2>&1 | tee log.txt

@junliume Hi, I tested on ixt-sjc2-63, with latest MIOpen, and rebuild docker, miopen and do test (all the command is the same as that Jenkins stage), but still everything can pass. Below is the command, here is the log
log.txt
cd /dockerx/repo/MIOpen/
mkdir build && cd build
CXX=/opt/rocm/llvm/bin/clang++ CXXFLAGS=-Werror cmake -DMIOPEN_TEST_FLAGS= --disable-verification-cache  -DCMAKE_BUILD_TYPE=release -DBUILD_DEV=Off -DCMAKE_INSTALL_PREFIX=../install -DMIOPEN_GPU_SYNC=Off -DMIOPEN_TEST_ALL=On ..
CTEST_PARALLEL_LEVEL=4 MIOPEN_CONV_PRECISE_ROCBLAS_TIMING=0 MIOPEN_DEBUG_CONV_IMPLICIT_GEMM_HIP_FWD_V4R1=0 dumb-init make -j192 install check 2>&1 | tee log.txt

Indeed interesting and tricky one, you can check pipelines here:
http://micimaster.amd.com/blue/organizations/jenkins/MLLibs%2FMIOpen/detail/ci_gfx1030_ocl_to_hip/11/pipeline/
All of the pipelines failed pretty consistently at similar locations.
I will look more into them tomorrow :)

Hi @junliume  yes, I checked this pipeline, and it seems even the clinfo of this and  ixt-sjc2-63 is the same. very strange

@atamazov and @carlushuang
A trial with CTEST_PARALLEL_LEVEL=1 seems to have stabilized CI tests for gfx1030, include HIP backend which used to never pass.
I will monitor
http://micimaster.amd.com/blue/organizations/jenkins/MLLibs%2FMIOpen/detail/fix_WA1053/11/pipeline/689/
and
http://micimaster.amd.com/blue/organizations/jenkins/MLLibs%2FMIOpen/detail/fix_%231167/1/pipeline/
It tried to see if CTEST_PARALLEL_LEVEL=2 would stabilize the CI too, because running them in serial is really slow.

Let's agree that the root reason of this issue is #1148. In this case we can keep this issue closed.


Figure out a more natural way to work and identify flows

Background
Flows are starting to show their values as information over different runs are required. But they are hard to work with and identify.
Questions To Answer

What would be an easy way how to identify flows
And therefore make it easy to work with them.

Desired Outcome
An easy and "user" friendly way, how to identify a flow and request its data. (By user is not meant an end-user, but a user of Atum -either the Atum Agent or Atum Service API).

An idea emerged
Flows are created only when a partitioning is created too. Therefor that partitioning is kind of identifying for the flow. Adding that connection and field of partitioning into flows.flows (the actual json not the foreign key) makes the flow much more identifiable, compared to Flow 1234.
Will create a PR.


chore(main): release 0.2.1

:robot: I have created a release beep boop
0.2.1 (2022-12-06)
Bug Fixes

replace gaps in nucleotide-seq with "N" characters to ensure valid translation when --keep-gaps flag is given. (forces ambigious AA call) (bf4ed5f)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/RIVM-bioinformatics/AminoExtract/releases/tag/v0.2.1 :sunflower:


Output work titles with  instead of ?

At the moment titles are output in Pandoc with <em> around them. Could this be changed to <cite> instead? It has the same visual effect of italicizing by default, but is more semantically correct (and doesn't make screenreaders sound strange 😁)

Pandoc-citeproc generates a list of Pandoc inlines.
Pandoc has no way of knowing which Emph sections in
this are titles, so this can't easily be done.
George Pollard<EMAIL_ADDRESS>writes:

At the moment titles are output in Pandoc with <em> around them. Could this be changed to <cite> instead? It has the same visual effect of italicizing by default, but is more semantically correct (and doesn't make screenreaders sound strange 😁)
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/jgm/pandoc-citeproc/issues/370

I think the real source is that the CSL file only has e.g. font-style="italic", so there's no semantic information there? It might be better to just generate <i> instead of <em>.

Can you say something about why screenreaders sound strange with <em> instead of <cite>?


Add timezone support for Oban cron monitoring

Sentry supports monitoring scheduled Oban jobs.  I wanted to use this feature in my application to monitor Oban cron jobs, but Sentry always threw A missed check-in was detected errors. I looked into the problem and noticed in the web interface that the configured timezone for all cron monitors was set to UTC while I configured the Oban cron jobs to use the Europe/Berlin timezone. Therefore, I needed to change the timezone of the created cron monitors to Europe/Berlin manually to be in sync with my jobs.
I figured out that you can set the timezone with a Manual Setup, but I'd like to have a timezone setting for my config that allows me to set the timezone for the oban cron integrations. I would rather not do a manual setup only to set the timezone value.
This is my setup:
# config/config.exs
config :sentry,
  ...,
  integrations: [
    oban: [
      cron: [enabled: true],
      capture_errors: true
    ]
  ]

# config/config.exs
config :my_app, Oban,
  repo: MyApp.Repo,
  queues: [default: 10],
  plugins: [
    {Oban.Plugins.Pruner, max_age: :timer.hours(24) * 90},
    {Oban.Plugins.Lifeline, rescue_after: :timer.minutes(5)},
    {Oban.Plugins.Cron,
     crontab: [
       {"0 8 * * 1", MyApp.Workers.ExampleWorker}
     ],
     timezone: "Europe/Berlin"}
  ]

@savhappy @solnic I think it's time we consider a per-job configuration when necessary.
One option is to do it via a behaviour that jobs (not just Oban jobs) can implement. The behaviour can be Sentry.CheckIn too.
defmodule Sentry.CheckIn do
  @callback sentry_check_in_configuration() :: (options_to_merge :: keyword())

  # ...
end

Then, an Oban worker could implement it like this:
defmodule MyApp.Worker do
  use Oban.Worker

  @behaviour Sentry.CheckIn

  @impl Oban.Worker
  def process(...)

  @impl Sentry.CheckIn
  def sentry_check_in_configuration do
    [timezone: "Europe/Berlin"]
  end
end

Then, integrations like the Oban one can essentially do:
config =
  if function_exported?(job.module, :sentry_check_in_configuration, 0) do
    Keyword.merge(config, job.module.sentry_check_in_configuration())
  else
    config
  end

This is a basic approach, but I think it works and it's going to scale out pretty well. The callback could also take an argument that is decided by the integration itself, like
@callbac sentry_check_in_configuration(info :: term()) :: keyword()

In Oban's case, it would be the Oban.Job.
Thoughts?

@savhappy @solnic I think it's time we consider a per-job configuration when necessary.

I can see this being useful (in general, not just for setting TZ for cron check-ins) but I'm wondering if this means you don't think that a top-level default for TZ that we could set via config would be a good idea? We could just have this:
config :sentry,
  # ...,
  integrations: [
    oban: [
      cron: [enabled: true, time_zone: "Europe/Berlin"],
      capture_errors: true
    ]
  ]

...and that could be overridden by a job's custom check-in config, what do you think? From what I see in the code, it seems doable, since we have Sentry.Integrations.Oban.Cron.job_to_check_in_opts that receives an Oban job, config (which is cron[:oban][:cron]) and then it also has access to Sentry.Config.integrations()[:monitor_config_defaults].

It's doable but I would prioritize it lower than a per-job config (see also #829 which would be solved by the per-job config).

This seems like a good use for a behaviour like @whatyouhide mentioned so we don't have to make additional considerations later.  I can change the in-progress #829  to handle the new implementation. Or should we separate it?

@savhappy I'd make a new PR with this change and then refactor #829 as needed.


limit streams per tunnel connection

Envoy implementation is limited by the fact that internal listeners handle streams on the same worker as the tunnel listener. Therefore, we cannot handle a very large number of streams on a single tunnel.
We should ensure that we set a low max number of streams (~100 as a first estimate).

/not stale

Not stale

not stale

So in https://github.com/istio/ztunnel/pull/931
we added a pooling impl that considers streamcount-per-conn as criteria for starting a new connection, and exposes a ztunnel env var POOL_MAX_STREAMS_PER_CONNECTION to control that (which currently defaults to 100).
Our waypoint config is still hardcoded at 100 streams-per-conn though, which makes customizing POOL_MAX_STREAMS_PER_CONNECTION on the ztunnel side to a number higher than 100 a bad idea if you are using waypoints: https://github.com/istio/istio/blob/master/pilot/pkg/networking/core/listener_waypoint.go#L112
I think this will be mooted by sandwiching, however.

What is left to do here? We already set to 100

Likely nothing beyond documenting/remembering that setting POOL_MAX_STREAMS_PER_CONNECTION in ztunnel to > 100 is a bad idea and will break things.


Implement an interface for HttpCalloutMock

An obvious use of Amoss is to more easily create an HttpCalloutMock.
In order to do so simply, it's probably a good idea to implement an API that makes it simple and guided.

Potentially something like:
new Amoss_Instance()
    .isCalloutMock()
    .expects()
        .method( 'GET' )
        .endpoint( 'http://api.example.com/accounts )
        .header( 'Authorization' ).setTo( authorizationHeader )
        .respondsWith()
            .statusCode( 200 )
            .status( 'Complete' )
            .body( '[{"Name":"sForceTest1"}]' )
    .then().expects()
        .method( 'GET' )
        .endpoint( 'http://api.example.com/contact )
        .header( 'Authorization' ).setTo( authorizationHeader )
        .respondsWith()
            .statusCode( 404 )
            .status( 'NotFound' )
.setAsMock();

The idea is that isCalloutMock would switch to a different grammar, and then everything below that is effectively a shortcut (kind of syntactic sugar) for defining a standard Amoss Mock that mocks HttpCalloutMock, and defines the shape of an expected HttpRequest (that would need some HttpRequest specific ValueVerifiers - potentially using the standard ones injected so that you could do setTo and so on, easily.  respondsWith would just create a response object, with the other methods forwarding those methods on to it.

Potentially something like:
new Amoss_Instance()
    .isCalloutMock()
    .expects()
        .method( 'GET' )
        .endpoint( 'http://api.example.com/accounts )
        .header( 'Authorization' ).setTo( authorizationHeader )
        .respondsWith()
            .statusCode( 200 )
            .status( 'Complete' )
            .body( '[{"Name":"sForceTest1"}]' )
    .then().expects()
        .method( 'GET' )
        .endpoint( 'http://api.example.com/contact )
        .header( 'Authorization' ).setTo( authorizationHeader )
        .respondsWith()
            .statusCode( 404 )
            .status( 'NotFound' )
.setAsMock();

The idea is that isCalloutMock would switch to a different grammar, and then everything below that is effectively a shortcut (kind of syntactic sugar) for defining a standard Amoss Mock that mocks HttpCalloutMock, and defines the shape of an expected HttpRequest (that would need some HttpRequest specific ValueVerifiers - potentially using the standard ones injected so that you could do setTo and so on, easily.  respondsWith would just create a response object, with the other methods forwarding those methods on to it.

Feels like it requires #84 to be implemented first, otherwise the multiple checks against the inbound request would do it in a unique way and there would be a missed opportunity


repository 'https://github.com/petit-miner/u-boot.git/' not found

repository 'https://github.com/petit-miner/u-boot.git/' not found

The V3s SOC is generally supported by Mainline Uboot by now i dont have a Board to test it but support can be tested relatively easily.

You can use Mainline Uboot for the BlueberryPi with the LicheePi_Zero_defconfig and the sunxi defconfig for mainline Linux Kernel with the sun8i-v3s-licheepi-zero.dtb Devicetree according to http://linux-sunxi.org/Blueberry_PI


requireSpacesInsideObjectBrackets using inconsistent terminology

The terminology of requireSpacesInsideObjectBrackets is inconsistent. The rule refers to "brackets" but the description (and other rules) refer to this character as curly braces.
Consider renaming the rule or description to make this more consistent.

---
Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/3314156-requirespacesinsideobjectbrackets-using-inconsistent-terminology?utm_campaign=plugin&utm_content=tracker%2F281640&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F281640&utm_medium=issues&utm_source=github).

Moving to #1834.


jetbrains-mono: build from source

Build JetBrains Mono from source according to README. This allows patching font sources for example.
Currently broken on darwin, hence drafted.
Things done

Built on platform(s)

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

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

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

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

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

[ ] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

not sure if you've  already investigated but noting here in case not / for others:
build log on aarch64-darwin:
NIXPKGS_ALLOW_BROKEN=1 nix build 'github:thecaralice/nixpkgs/jbmono-src#jetbrains-mono' --impure
error: builder for '/nix/store/cfx2drcj9b4bbrz8v867nl9n3imn22qh-python3.12-jaraco-path-3.7.1.drv' failed with exit code 1;
       last 25 log lines:
       > running install
       > running install_lib
       > creating build/bdist.macosx-11.0-arm64
       > creating build/bdist.macosx-11.0-arm64/wheel
       > creating build/bdist.macosx-11.0-arm64/wheel/jaraco
       > copying build/lib/jaraco/path.py -> build/bdist.macosx-11.0-arm64/wheel/jaraco
       > running install_egg_info
       > Copying jaraco.path.egg-info to build/bdist.macosx-11.0-arm64/wheel/jaraco.path-3.7.1-py3.12.egg-info
       > running install_scripts
       > creating build/bdist.macosx-11.0-arm64/wheel/jaraco.path-3.7.1.dist-info/WHEEL
       > creating '/private/tmp/nix-build-python3.12-jaraco-path-3.7.1.drv-0/source/dist/.tmp-mv6havsw/jaraco.path-3.7.1-py3-none-any.whl' and adding 'build/bdist.macosx-11.0-arm64/wheel' to it
       > adding 'jaraco/path.py'
       > adding 'jaraco.path-3.7.1.dist-info/LICENSE'
       > adding 'jaraco.path-3.7.1.dist-info/METADATA'
       > adding 'jaraco.path-3.7.1.dist-info/WHEEL'
       > adding 'jaraco.path-3.7.1.dist-info/top_level.txt'
       > adding 'jaraco.path-3.7.1.dist-info/RECORD'
       > removing build/bdist.macosx-11.0-arm64/wheel
       > Successfully built jaraco.path-3.7.1-py3-none-any.whl
       > Finished creating a wheel...
       > Finished executing pypaBuildPhase
       > Running phase: pythonRuntimeDepsCheckHook
       > Executing pythonRuntimeDepsCheck
       > Checking runtime dependencies for jaraco.path-3.7.1-py3-none-any.whl
       >   - pyobjc not installed
       For full logs, run 'nix log /nix/store/cfx2drcj9b4bbrz8v867nl9n3imn22qh-python3.12-jaraco-path-3.7.1.drv'.
error: 1 dependencies of derivation '/nix/store/55bhrrahbp582xn6nrpx4iygss70frna-python3.12-distutils-72.1.0.drv' failed to build
error: 1 dependencies of derivation '/nix/store/vmgx9z1kp5d2k4rw5j5r834aqigw7wzl-python3.12-cffsubr-0.3.0.drv' failed to build
error: 1 dependencies of derivation '/nix/store/pfj03nm4rb5x5fc87dlmcy9lazz1v8vr-python3.12-ttfautohint-py-0.5.1.drv' failed to build
error: 1 dependencies of derivation '/nix/store/i3jsparrpfanpwb7i3l3ipy88n4mj5fc-python3.12-gftools-0.9.71.drv' failed to build
error: 1 dependencies of derivation '/nix/store/y8mz86gdkwvi2a0sh9l07gfmy76541xy-jetbrains-mono-2.304.drv' failed to build

root issue seems to be that jaraco-path is broken on darwin due to the missing pyobjc dependency, with an open issue here: https://github.com/NixOS/nixpkgs/issues/346003 and open pr for pyobjc here: https://github.com/NixOS/nixpkgs/pull/336801
once pyobjc is in, distutils should work on darwin, and then maybe it works?

LOL didn't notice you were the one that made the comment on the jaraco-path issue. well anyways documented here in case anyone else comes along :slightly_smiling_face:


Replace from typing import Tuple with PEP 585 syntax

PEP 585 introduced a new syntax for type hinting generic types, including tuples.
This syntax provides more concise and expressive type annotations compared to the traditional from typing import Tuple approach.
Advantages of PEP 585:

Improved readability: The syntax is more intuitive and easier to understand.
Consistency: Aligns with the typing syntax for other generic types.
Potential performance benefits: Some reports suggest potential performance improvements (most likely will be negligible in most cases, but still I need 3 good reasons :-) ).

Disadvantages of from typing import Tuple:

Verbosity: Requires additional import statements.
Less intuitive: Can be less readable compared to the PEP 585 syntax.

From PEP585: Implementation:

Importing those from typing is deprecated. Due to PEP 563 and the intention to minimize the runtime impact of typing, this deprecation will not generate DeprecationWarnings. Instead, type checkers may warn about such deprecated usage when the target version of the checked program is signalled to be Python 3.9 or newer. It’s recommended to allow for those warnings to be silenced on a project-wide basis.

The deprecated functionality may eventually be removed from the typing module. Removal will occur no sooner than Python 3.9’s end of life, scheduled for October 2025.

I saw that you are using both Tuple and tuple for some places in the code, but since PEP585 introduced in Python3.9 and there is a requirements for Python3.10 and above, so I'm wondering is there a specific reason for not adopting the PEP 585 syntax for tuple type hinting in this codebase?
See PEP585

We need to be able to support users that wants to use the old format, which isn't deprecated... Your thoughts?

@StrohMatanya ?

Sorry for the delayed response.
While I'm in favor of using  tuple, you are right here,  it's crucial to consider the needs of our users. Given the number of users relying on the old method, maintaining compatibility seems essential.
What are your thought's about adding a msg saying that it will be deprecated in the future?

I'd like to support it as long as python itself supports it. Doesnt seems that hard currently.


help me please with compilation !?!?!))

I can not put together a project in Visual Studio 2019 community... Error : reference to an unresolved external DriverEntry character in the FxDriverEntryWorker Tsugumi_shell function C: \ VBoxHardenedLoader-master \ VBoxHardenedLoader-master \ Source \ Tsugumi_shell \ Tsugumi_shell \ WdfDriverEntry.lij 1 (st)
Thank you

I've no idea about your community version and wtf this file is doing there, it isn't in source WdfDriverEntry.lij Download source code, open solution and compile. Nothing else I can help you here.


mobilenet V2

I used mobilenet V2 with CasCade R-CNN network training, but compared to Resnet101, the accuracy rate is reduced by 20%, but the paper of mobilenet V2 will not decrease so much, which is about 2%. The number of times is okay. What causes this?

I see in the original version of Mobilenet V2 that there is a compression factor, but I did not find this coefficient in the code. My accuracy rate has dropped too much, will it be related to this coefficient?


Update componentLibraries.js

What I did

Added Bay.js to the list.

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

Put in wrong list


Add vim-dadbod, vim-dadbod-ui, vim-dadbod-completion

Description
Add vim-dadbod
Issue
#2389

LGTM, please change the commits to have (in this order):

maintainers: add BoneyPatel
plugins/xxxx: init
plugins/yyyy: init
...

Updated!

I think that we should add the vim-dadbod-completion auto-enable behaviour for nvim-cmp

I think that we should add the vim-dadbod-completion auto-enable behaviour for nvim-cmp

Good call, would this entail adding vim-dadbod-completion as a completion source for nvim-comp?

Yeah, I don't remember exactly the way to do that, but it has something to do with cmpSourcePlugins, I see that otter & codium-nvim uses it.

Yeah, I don't remember exactly the way to do that, but it has something to do with cmpSourcePlugins, I see that otter & codium-nvim uses it.

Added a change for this, however, not entirely sure this is correct.

Any additional thoughts on this @traxys ?

Thanks, may need some assistance with @mergify queue

Thanks, may need some assistance with mergify queue

Of course.
I'll probably hold off and merge tomorrow, to give other maintainers a chance to look.
Also, it's 1am here so I'd rather avoid merging anything with tired eyes :sleeping:

@mergify queue


URL encode doesn't encode all characters

I'm trying to encode "this & that" and it's produces this%20&%20that instead of this%20%26%20that

DevToys shows the output of encodeURI() rather than encodeURIComponent().
Ideally it could display both outputs, but that's a feature suggestion rather than a bug.
encodeURI: this%20&%20that
encodeURIComponent: this%20%26%20that

See: https://jsfiddle.net/hxsept7j/

Wild that you responded eight hours ago after months and I just coincidentally ran into the problem again today. The universe is weird!

My code in the go.dev link also works on this example. I submit a PR later :)

My code in the go.dev link also works on this example. I will submit a PR later :)

Have you completed the pull request for this feature?

I haven't. I have other priorities right now.


Snapdragon: make RC calibration easier

20 Hz of RC_CHANNELS makes the RC calibration in QGC a more pleasant
thing.

Rebased, and applied


Overhaul resource duplication

Fixes #74918.
TL;DR
This unifies the different paths in Godot for resource duplication so they all have the same base behavior and only differ in what is predictable. Also, an extremely comprehensive set of tests is added.
Long description
Each commit takes a self-contained step towards the overall goal. Quoting their messages for the details:
Overhaul Resource::duplicate_for_local_scene()

Serves as a first step for future refactors.
Code is simpler.
Algorithm is more efficient: instead of two passes (dumb copy + resolve copies), it's single-pass.
Now obeys PROPERTY_USAGE_NEVER_DUPLICATE.
Now handles deep self-references (the resource to be duplicated being referenced somewhere deep).

Overhaul Resource::duplicate()

Thanks to a refactor, Resource::duplicate_for_local_scene() and Resource::duplicate() are now both users of the same, parametrized, implementation.
Resource::duplicate() now honors with/without subresources modes in a more consistent and predictable fashion. Among other changes, packed arrays, arrays and dictionaries are copied if, and only if, subresource duplication is requested. Given the lack of separate control for both, that gives a more predictable outcome. Separate control would be not possible anyway because duplicating deep resources may need to duplicate the arrays or dictionaries where it's involved regardless user will. The behavior afte this change is as follows:

With subresources:

Previously, only resources found as direct property values of the one to copy would be, recursively, duplicated.
Now, in addition, arrays and dictionaries are walked so the copy is truly deep.
Previously, subresources would be duplicated as many times as being referenced throughout the main resource.
Now, each subresource is only duplicated once and from that point, a referenced to that single copy is used. That's the enhanced behavior that duplicate_for_local_scene() already featured.
The behavior with respect to packed arrays, arrays and dictionaries stays: recursive duplication.

Without subresources:

Previously, the first level of resources found as direct property values would be duplicated unconditionally. Packed arrays, arrays and dictionaries were non-recursively duplicated.
Now, no subresource found at any level in any form, will be duplicated, but the original reference kept instead. Packed arrays, arrays and dictionaries are referenced, not duplicated at all.

Overhaul Variant::duplicate() for resources
This in the scope of a duplication triggered via any type in the Variant realm. that is, the following: Variant itself, Array and Dictionary. That includes invoking duplicate() from scripts.
Previously, any object found at any nesting level was not copied, only referenced again.
Now, the Variant (and friends) duplication, upon finding an Object that happens to be a Resource, triggers the enhanced resource duplication machinery. The behavior for other kinds of objects is still copying the reference.
Remarks:

The results of copying via those Variant types are exactly the same as if the copy were initiated from the Resource type at C++.

In order to keep some separation between Variant and the higher-level animal which is Resource, Variant still contains the original code for that, so it's self-sufficient unless there's a Resource involved. Once the deep copy finds a Resource, the algorithm invokes the Resource duplication machinery. When the stack is unwind back to a nesting level Variant can handle, Variant duplication logic keeps functioning.
While that is good from a responsibility separation standpoint, that would have a caveat: Variant would not be aware of the mapping between original and duplicate subresources and so wouldn't be able to keep preventing multiple duplicates.
To avoid that, this commit also introduces a wormwhole, a sharing mechanism by which Variant and Resource can collaborate in managing the lifetime of the original-to-duplicates map. The user-visible benefit is that the overduplicate prevention works as broadly as the whole Variant entity being copied, including all nesting levels, regardless how disconnected the data members containing resources may be across al the nesting levels. In other words, despite the aforementioned division of duties between Variant and Resource duplication logic, the duplicates map is shared among them. It's created when first finding a Resource and, however how deep the copy was working at that point, the map kept alive unitl the stack is unwind to the root user call, until the first step of the recursion.

Caveats
It may be the case that user projects are relying on the former behaviors. On the one hand, most of the time that means they were taking unreasonable or buggy behaviors as good, so I'd say it's not a big problem to take the all workings away. On the other hand, there's at least one former behavior that may be still reasonable to keep: Variant::duplicate() ignoring resources. It may be true that the intent was to have resources duplicated. However, the resource-ignoring behavior has been here for so long and changing it makes such a big difference that some may still need the old one. If that's the case, I can just add a version of the method accepting flags so the new behavior is opt-in.
I've tested this locally and also the test suite is pretty comprehensive. Nonetheless, some extra testing is more than welcome.

I tested both resource_local_to_scene and resource.duplicate(true) with sub-resources, arrays and dictionaries, using this MRP. I didn't notice any unexpected regressions compared to before the PR.


Add batch file processing for pretrained Interface?

Hello,
I was trying to use pretrained ASR models. and I would like to know if it is interested if I make a PR of the code for batch processing files in the pretrained interfaces?
Sincerely,
S

Hey @sharockys what do you mean by batch processing? Allowing for batch inference is the pretrained inferface? I think this could be interesting, but one core concept would be to not enforce it. Basically, the code should work as it is AND allow for batch decoding. (No refactoring on the existing models). @Gastron what do you think?

Hey @sharockys what do you mean by batch processing? Allowing for batch inference is the pretrained inferface? I think this could be interesting, but one core concept would be to not enforce it. Basically, the code should work as it is AND allow for batch decoding. (No refactoring on the existing models). @Gastron what do you think?

Hello. Thank you for the prompt response.
What I mean is just to allow process multiple audio files with precomputed length, as the below code snippet does.
    def transcribe_batch_files(self, paths, audio_lens):
        """Transcribes the given audiofiles into a list of sequence of words.

        Arguments
        ----------
        paths : list
            List of paths to audio files which to transcribe.

        audio_lens: list
            List of length of audios.

        Returns
        -------
        list
            The list of transcriptions for audiofiles produced by this ASR system.
        """
        waveforms = [self.load_audio(path).unsqueeze(0) for path in paths]
        batch = batch_pad_right(waveforms)
        max_len = max(audio_lens)
        rel_length = torch.tensor([l / max_len for l in audio_lens])
        predicted_words, predicted_tokens = self.transcribe_batch(
            batch, rel_length
        )
        return predicted_words[0]

Maybe compute the lengths of audios on-the-fly is interested, too.
What do you think?

I think we should have a clear usecase in mind. Are you already using this for something, @sharockys ?

I think we should have a clear usecase in mind. Are you already using this for something, @sharockys ?

For example, if we want to transcribe a long audio, we could use VAD to cut the audio into smaller pieces, and then feed the pieces into the transcriber. I did this personally.

Sounds to me that in that case, ideally, the cuts could remain in memory, no saving to disk needed. I feel that it is a good point that this can be done, particularly with getting the lengths on the fly. However I feel that this could be best left to be implemented on a case-by-case basis for now, depending on the users' particular needs.

Sounds to me that in that case, ideally, the cuts could remain in memory, no saving to disk needed. I feel that it is a good point that this can be done, particularly with getting the lengths on the fly. However I feel that this could be best left to be implemented on a case-by-case basis for now, depending on the users' particular needs.

I am agreed with the on-the-fly part.
For the use case, I am less sure.
It seems contradictory to me that we have api for batch wavs processing https://github.com/speechbrain/speechbrain/blob/97e027ce5234e49e3f4969b218f0e12ee104f2cc/speechbrain/pretrained/interfaces.py#L434 and the transcription of file is only for a single file, and we made it up to fake that they are wavs batch.
At the same time, the case-by-case implementation is reasonable. I will make a gist code snippet instead of PR.
Thank you very much.

Thank you, a gist would be perfect in my opinion!


Channel Switching Taking Time

Is there any way to resolve the time taken while switching channels ?
Currently taking too much loan time when we switch channel & its not a network issue

Use fast broadband

Use fast broadband

Its not a network issue

@NirajIngole @ASDRMS
Channels are now switching and loading faster ( ≈ 3 seconds time).
Solution on this link https://github.com/krreet/plugin.video.jiotv/issues/96#issuecomment-1663430735


I can see the article but cannot download it via newspaper3k

 Issue by monajalal
Thu Jul 23 18:47:06 2020
Originally opened as https://github.com/codelucas/newspaper/issues/829

I can see the  http://www.chicagotribune.com/ct-florida-school-shooter-nikolas-cruz-20180217-story.html
when browsing in Firefox. However, newspaper3k gives me this error:
Article download() failed with HTTPSConnectionPool(host='www.chicagotribune.com', port=443): Read timed out. (read timeout=7) on URL http://www.chicagotribune.com/ct-florida-school-shooter-nikolas-cruz-20180217-story.html
My code is:
from newspaper import Article
from newspaper import Config

user_agent = 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:78.0) Gecko/20100101 Firefox/78.0'
config = Config()

config.browser_user_agent = user_agent

url = "https://www.chicagotribune.com/nation-world/ct-florida-school-shooter-nikolas-cruz-20180217-story.html"

page = Article(url, config=config)

page.download()
page.parse()
print(page.text)

Website works in v0.9.2
Timeout can be specified:
``
config = Config()
config.browser_user_agent = user_agent
config.timeout = 30
page = Article(url, config=config)
``
or simpler:
``
page = newspaper.article(url, timeout=30)
``


[Bug]: Warn user if he doens't have enought funds to do a proper ochain transaction

Describe the bug
User have onchain balance that doesn't cover basic onchain fee, for example 50 000 sats.
He tries to send onchain using address on slashpay.
Bitkit can't create a proper tx and sents fees to default 0.08 cents.
We must warn user about this situation.
Reproduce

Send tx fee with low balance
BItkit sends, but it should show a warining

Screenshots / Recording

Operating system
iOS, Android
Bitkit version
v87
Log output
No response

Done


Debugger clog icon does not exist

VSCode Version: Code 1.9.1 (f9d0c687ff2ea7aabd85fb9a43129117c0ecf519, 2017-02-09T00:26:45.394Z)
OS Version: Windows_NT ia32 6.1.7601
Extensions:

Extension
Author
Version

php-debug
felixfbecker
1.10.0

Steps to Reproduce:
I am attempting to setup PHP debugging but the cog icon is missing.
The following websites
https://code.visualstudio.com/Docs/editor/debugging
and
https://blogs.msdn.microsoft.com/nicktrog/2016/02/11/configuring-visual-studio-code-for-php-development/
have a clog icon which creates a launch.json file for configuring the debugging extension. This icon does not exist on the debugging screen.
I have attached a screenshot demonstrating that the extension is installed and the cog icon is missing from the debugging screen. Please advise what I need to to rectify this.

You need to open a folder in order to have full debug suport.
Namely file > open folder >
Currently you are in a no folder workspace which means you only have a single file debug support - which is not what you are looking for

@isidorn the documentation at https://code.visualstudio.com/Docs/editor/debugging doesn't mention 'debugging without a workspace folder'. I've created https://github.com/Microsoft/vscode-docs/issues/855 to track this.

@weinand agree, thanks.


Wrong font weight on table headers

Describe the bug
<th> does not have a defined font-weight in htwoo-core. Compare Pattern Lab (700, in Edge's user agent style) with Fluent React (600).
Desktop (please complete the following information):

OS: Windows
Browser: Edge
Version: 122

My workaround:
.hoo-table.compact tfoot th, .hoo-table.compact tbody th, .hoo-table.compact thead th {
    font-weight: 600;
}

Thank for finding this issue.

Fixed in in 2.4. 0


Improve caching configuration and move it to be cross architecture

Is your enhancement proposal related to a problem? Please describe.
right now it is done per architecture (arc, x86) in inconsistent ways, we should look into moving the caching kconfig up and make them work for all architectures in a consistent way because we do now have an architecture interface for this that is public API.
Describe the solution you'd like
Move caching to the arch/ level and sanitize.

afaik, this was done already.


Error in analyze_sentiment

When running the Quick Start response = client.analyze_sentiment(documents=documents)[0] in version 3.0
I get the following error:
TypeError: analyze_sentiment() missing 1 required positional argument: 'inputs'
So then I changed 'documents =' to 'inputs = ', but then received the following error:

AttributeError                            Traceback (most recent call last)
~\Anaconda3\lib\site-packages\msrest\serialization.py in _deserialize(self, target_obj, data)
1417                 for key_extractor in self.key_extractors:
-> 1418                     found_value = key_extractor(attr, attr_desc, data)
1419                     if found_value is not None:
~\Anaconda3\lib\site-packages\msrest\serialization.py in rest_key_extractor(attr, attr_desc, data)
1161
-> 1162     return working_data.get(key)
1163
AttributeError: 'str' object has no attribute 'get'
During handling of the above exception, another exception occurred:
DeserializationError: Unable to deserialize to object: type, AttributeError: 'str' object has no attribute 'get'

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

ID: 8f57e416-a37f-e719-4a3e-58a4e6390818
Version Independent ID: dbb3821b-5793-b41b-9601-559b00e4096a
Content: Quickstart: Text mining using the Text Analytics client library - Azure Cognitive Services
Content Source: articles/cognitive-services/text-analytics/quickstarts/text-analytics-sdk.md
Service: cognitive-services
Sub-service: text-analytics
GitHub Login: @aahill
Microsoft Alias: aahi

@Paulien23 I have tried to use the code from the quickstart and it worked without issues. I think the error you are facing is because the correct version of the library is not installed. Please try to install version azure-ai-textanalytics-5.0.0 by running
pip install --upgrade azure-ai-textanalytics
pip install --upgrade azure-core
The quickstart code should run as is by using the complete code file from github for reference.

Ah thank you so much, I upgraded azure-ai-textanalytics but didn't try to upgrade azure-core. That solved the issue.


How to save issues?

Could you please explain how to save issues after I created issue following your code? Thank you.

this is the function that POST Issues (i.e. save): https://github.com/Autodesk-Forge/forge-bim360-issues/blob/master/bim360issues/Controllers/BIM360Controller.cs#L102


Updated to V0.14.2 React

What does this PR do? (please provide any background)
Updates the version or ReactJS to V0.14.2 to support future iterations using newly released dependencies.
An interesting "gotcha" I came across with was a few of my tests: https://github.com/facebook/react/issues/4692
What tests does this PR have?
The usual unit tests.
How can this be tested?
npm run test
Screenshots / Screencast
N/A
What gif best describes how you feel about this work?

Developer Definition of Done/Quality Checklist (for PR author to complete BEFORE code review):

[x] I have checked the contributing document and I'm happy for this to be reviewed.

Software Engineer or Developer review:

[ ] I’ve witnessed the work behaving as expected (this could be on the authors machine or screencast).
[ ] I’ve checked for coding anti-patterns.
[ ] I’ve checked for appropriate test coverage.
[ ] I’ve checked all the tests are passing.

Software Engineer or project guru review:

[ ] I’ve witnessed the work behaving as expected (this could be on the authors machine or screencast).
[ ] I’ve checked for coding anti-patterns.
[ ] I’ve checked for appropriate test coverage.
[ ] I’ve checked all the tests are passing.

Taking a review - we need to update everything else to react V0.14.2 asap imo ok lol omg

@hxpaul well... it wasn't actually that difficult gasps!

 This DOM node was rendered by exports.

surely the docs should be updated as well? For instance the examples still use React.render instead of ReactDOM.render

Fair point @hxpaul, should be an easy grep to change that in the tests.

@lukehansell I wasn't even aware of that... docs here right? https://facebook.github.io/react/docs/top-level-api.html#react.dom

https://facebook.github.io/react/blog/2015/10/07/react-v0.14.html gives a good overview of things to consider when upgrading. For instance as I mentioned above react (building components) and react-dom (interacting with existing DOM) are now two packages. There's a few other things (such as warnings now being errors) which may trip us up where they hadn't before...

@lukehansell @hxpaul looks like I've covered off all the issues if you wouldn't mind another look & adding some thumbs up please? :)

:+1:

:+1:


How to configure custom http fronted and backend

I need such configuration, how to handle it with current manifest ?
frontend html
bind _:8200 ssl crt _your_cert_stack* ciphers your_cipher_list
default_backend vaultsrvs

backend vaultsrvs
mode http
option httpchk GET /v1/sys/health HTTP/1.1
balance roundrobin
http-check expect status 200
server vaultmaster check ssl verify
server vaultslave check ssl verify

hi Alexvianet,
there is no need to create another frontend for this. HAProxy can forward to multiple backends from a single frontend via ACL rules and use different SSL certs through SNI.
Define your backend with ha_proxy.routed_backend_servers (@checkout https://github.com/cloudfoundry-incubator/haproxy-boshrelease/blob/master/jobs/haproxy/templates/haproxy.config.erb#L255-L259). Use ha_proxy.crt_list to use SNI. You can even configure custom ciphers.
best,
D

For now we use raw config and it's helpd


How to solve the following problem with xtuner on Slurm？

Traceback (most recent call last):
  File "/public/home/xxx/miniconda3/envs/mobilevlm/lib/python3.10/site-packages/filelock/_unix.py", line 43, in _acquire
    fcntl.flock(fd, fcntl.LOCK_EX | fcntl.LOCK_NB)
OSError: [Errno 38] Function not implemented

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/public/home/xxx/miniconda3/envs/mobilevlm/lib/python3.10/site-packages/xtuner/tools/train.py", line 342, in <module>
    main()
  File "/public/home/xxx/miniconda3/envs/mobilevlm/lib/python3.10/site-packages/xtuner/tools/train.py", line 338, in main
    runner.train()
  File "/public/home/xxx/miniconda3/envs/mobilevlm/lib/python3.10/site-packages/mmengine/runner/runner.py", line 1728, in train
    self._train_loop = self.build_train_loop(
  File "/public/home/xxx/miniconda3/envs/mobilevlm/lib/python3.10/site-packages/mmengine/runner/runner.py", line 1520, in build_train_loop
    loop = LOOPS.build(
  File "/public/home/xxx/miniconda3/envs/mobilevlm/lib/python3.10/site-packages/mmengine/registry/registry.py", line 570, in build
    return self.build_func(cfg, *args, **kwargs, registry=self)
  File "/public/home/xxx/miniconda3/envs/mobilevlm/lib/python3.10/site-packages/mmengine/registry/build_functions.py", line 121, in build_from_cfg
    obj = obj_cls(**args)  # type: ignore
  File "/public/home/xxx/miniconda3/envs/mobilevlm/lib/python3.10/site-packages/xtuner/engine/runner/loops.py", line 32, in __init__
    dataloader = runner.build_dataloader(
  File "/public/home/xxx/miniconda3/envs/mobilevlm/lib/python3.10/site-packages/mmengine/runner/runner.py", line 1370, in build_dataloader
    dataset = DATASETS.build(dataset_cfg)
  File "/public/home/xxx/miniconda3/envs/mobilevlm/lib/python3.10/site-packages/mmengine/registry/registry.py", line 570, in build
    return self.build_func(cfg, *args, **kwargs, registry=self)
  File "/public/home/xxx/miniconda3/envs/mobilevlm/lib/python3.10/site-packages/mmengine/registry/build_functions.py", line 121, in build_from_cfg
    obj = obj_cls(**args)  # type: ignore
  File "/public/home/xxx/miniconda3/envs/mobilevlm/lib/python3.10/site-packages/xtuner/dataset/huggingface.py", line 298, in process_hf_dataset
    return process(**kwargs)
  File "/public/home/xxx/miniconda3/envs/mobilevlm/lib/python3.10/site-packages/xtuner/dataset/huggingface.py", line 167, in process
    dataset = build_origin_dataset(dataset, split)
  File "/public/home/xxx/miniconda3/envs/mobilevlm/lib/python3.10/site-packages/xtuner/dataset/huggingface.py", line 30, in build_origin_dataset
    dataset = BUILDER.build(dataset)
  File "/public/home/xxx/miniconda3/envs/mobilevlm/lib/python3.10/site-packages/mmengine/registry/registry.py", line 570, in build
    return self.build_func(cfg, *args, **kwargs, registry=self)
  File "/public/home/xxx/miniconda3/envs/mobilevlm/lib/python3.10/site-packages/mmengine/registry/build_functions.py", line 121, in build_from_cfg
    obj = obj_cls(**args)  # type: ignore
  File "/public/home/xxx/miniconda3/envs/mobilevlm/lib/python3.10/site-packages/datasets/load.py", line 2556, in load_dataset
    builder_instance = load_dataset_builder(
  File "/public/home/xxx/miniconda3/envs/mobilevlm/lib/python3.10/site-packages/datasets/load.py", line 2265, in load_dataset_builder
    builder_instance: DatasetBuilder = builder_cls(
  File "/public/home/xxx/miniconda3/envs/mobilevlm/lib/python3.10/site-packages/datasets/builder.py", line 418, in __init__
    with FileLock(lock_path):
  File "/public/home/xxx/miniconda3/envs/mobilevlm/lib/python3.10/site-packages/filelock/_api.py", line 297, in __enter__
    self.acquire()
  File "/public/home/xxx/miniconda3/envs/mobilevlm/lib/python3.10/site-packages/filelock/_api.py", line 255, in acquire
    self._acquire()
  File "/public/home/xxx/miniconda3/envs/mobilevlm/lib/python3.10/site-packages/filelock/_unix.py", line 48, in _acquire
    raise NotImplementedError(msg) from exception
NotImplementedError: FileSystem does not appear to support flock; user SoftFileLock instead
Exception ignored in atexit callback: <function matmul_ext_update_autotune_table at 0x7f4f48910790>
Traceback (most recent call last):
  File "/public/home/xxx/miniconda3/envs/mobilevlm/lib/python3.10/site-packages/deepspeed/ops/transformer/inference/triton/matmul_ext.py", line 444, in matmul_ext_update_autotune_table
    fp16_matmul._update_autotune_table()
  File "/public/home/xxx/miniconda3/envs/mobilevlm/lib/python3.10/site-packages/deepspeed/ops/transformer/inference/triton/matmul_ext.py", line 421, in _update_autotune_table
    TritonMatmul._update_autotune_table(__class__.__name__ + "_2d_kernel", __class__._2d_kernel)
  File "/public/home/xxx/miniconda3/envs/mobilevlm/lib/python3.10/site-packages/deepspeed/ops/transformer/inference/triton/matmul_ext.py", line 150, in _update_autotune_table
    cache_manager.put(autotune_table)
  File "/public/home/xxx/miniconda3/envs/mobilevlm/lib/python3.10/site-packages/deepspeed/ops/transformer/inference/triton/matmul_ext.py", line 66, in put
    with FileLock(self.lock_path):
  File "/public/home/xxx/miniconda3/envs/mobilevlm/lib/python3.10/site-packages/filelock/_api.py", line 297, in __enter__
    self.acquire()
  File "/public/home/xxx/miniconda3/envs/mobilevlm/lib/python3.10/site-packages/filelock/_api.py", line 255, in acquire
    self._acquire()
  File "/public/home/xxx/miniconda3/envs/mobilevlm/lib/python3.10/site-packages/filelock/_unix.py", line 48, in _acquire
    raise NotImplementedError(msg) from exception
NotImplementedError: FileSystem does not appear to support flock; user SoftFileLock instead
Exception ignored in atexit callback: <function matmul_ext_update_autotune_table at 0x7f43efc79750>
Traceback (most recent call last):
  File "/public/home/xxx/miniconda3/envs/mobilevlm/lib/python3.10/site-packages/deepspeed/ops/transformer/inference/triton/matmul_ext.py", line 444, in matmul_ext_update_autotune_table
    fp16_matmul._update_autotune_table()
  File "/public/home/xxx/miniconda3/envs/mobilevlm/lib/python3.10/site-packages/deepspeed/ops/transformer/inference/triton/matmul_ext.py", line 421, in _update_autotune_table
    TritonMatmul._update_autotune_table(__class__.__name__ + "_2d_kernel", __class__._2d_kernel)
  File "/public/home/xxx/miniconda3/envs/mobilevlm/lib/python3.10/site-packages/deepspeed/ops/transformer/inference/triton/matmul_ext.py", line 150, in _update_autotune_table
    cache_manager.put(autotune_table)
  File "/public/home/xxx/miniconda3/envs/mobilevlm/lib/python3.10/site-packages/deepspeed/ops/transformer/inference/triton/matmul_ext.py", line 66, in put
    with FileLock(self.lock_path):
  File "/public/home/xxx/miniconda3/envs/mobilevlm/lib/python3.10/site-packages/filelock/_api.py", line 297, in __enter__
    self.acquire()
  File "/public/home/xxx/miniconda3/envs/mobilevlm/lib/python3.10/site-packages/filelock/_api.py", line 255, in acquire
    self._acquire()
  File "/public/home/xxx/miniconda3/envs/mobilevlm/lib/python3.10/site-packages/filelock/_unix.py", line 48, in _acquire
    raise NotImplementedError(msg) from exception
NotImplementedError: FileSystem does not appear to support flock; user SoftFileLock instead.

"看起来您遇到的问题是 fcntl.flock 不被您的文件系统支持。" This explanation comes from GPT4.

@har77774  Hi!
It is a known problem of datasets, and here are some related issues https://github.com/huggingface/datasets/issues/6505, https://github.com/huggingface/datasets/issues/2618.
It seems that the method on this comment, https://github.com/huggingface/datasets/issues/6505#issuecomment-2039358637, can solve this issue.


frequent error 500 when writing comment on code line in PR

Gitea version (or commit ref): 1.13.1
Git version: 2.29.2
Operating system: NixOS 20.09.2483.c5c6009fb43. Gitea run via systemd.
Database (use [x]):

[ ] PostgreSQL
[ ] MySQL
[ ] MSSQL
[X] SQLite

Can you reproduce the bug at https://try.gitea.io:

[ ] Yes (provide example URL)
[X] No, worked fine when I tried: https://try.gitea.io/jpraet-org/otherteam-repo/pulls/1/files#issuecomment-75119

Log gist:
Couldn't find anything pertinent in the log so far.

Description
Writing a comment on a source code line in a pull request often causes a weird "Error 500" screen (with multiple top bars, exactly as the screenshot shows). The comment is still posted.
Screenshots

Could you provide an excerpt from your gitea log file, when this happened?

Could you provide an excerpt from your gitea log file, when this happened?

@jpraet could this be a regression from #14002?

@jpraet could this be a regression from #14002?

@jpraet could this be a regression from #14002?

I doubt that, as that PR just restored the previous behavior. But difficult to say without the logs.

@jpraet could this be a regression from #14002?

I doubt that, as that PR just restored the previous behavior. But difficult to say without the logs.

Every 500 is accompanied by a log.Error - without providing logs we will not be able to debug this at all.
Not providing logs is frankly rude and is tantamount to spamming maintainers.
I've written multiple times about how to adjust logging configuration to help improve this, and it's in the header, but for completeness here is the link: https://docs.gitea.io/en-us/logging-configuration/#debugging-problems
You must give us logs. It is not fair to expect us to guess the cause of your problems.

Every 500 is accompanied by a log.Error - without providing logs we will not be able to debug this at all.
Not providing logs is frankly rude and is tantamount to spamming maintainers.
I've written multiple times about how to adjust logging configuration to help improve this, and it's in the header, but for completeness here is the link: https://docs.gitea.io/en-us/logging-configuration/#debugging-problems
You must give us logs. It is not fair to expect us to guess the cause of your problems.

You must give us logs. It is not fair to expect us to guess the cause of your problems.

I was not expecting someone to guess; but since logs via journalctl turned out to be somewhat tricky (probably not a gitea issue but on NixOS it doesn't use the systemd logging levels for instance) and the symptom (screenshot) is quite peculiar, I posted it just in case it was a known problem.
Anyway, sorry for posting a low quality bug report; I got logs now and this seems to be similar to #13581 (but happening more often) and not related to the "weirdness" of the screenshot:
Jan 07 13:07:05 nixbld gitea[2612]: 2021/01/07 13:07:05 ...m.io/xorm/core/db.go:286:afterProcess() [I] [SQL] SELECT `id`, `user_id`, `repo_id`, `status`, `source`, `issue_id`, `commit_id`, `comment_id`, `updated_by`, `created_unix`, `upd>
Jan 07 13:07:05 nixbld gitea[2612]: 2021/01/07 13:07:05 ...m.io/xorm/core/db.go:286:afterProcess() [I] [SQL] SELECT count(*) FROM `notification` WHERE (user_id = ?) AND (status = ?) [1 1] - 68.797µs
Jan 07 13:07:05 nixbld gitea[2612]: 2021/01/07 13:07:05 ...user/notification.go:38:func1() [E] GetNotificationCount: database table is locked: notification
Jan 07 13:07:05 nixbld gitea[2612]: 2021/01/07 13:07:05 ...s/context/context.go:139:HTML() [D] Template: status/500
Jan 07 13:07:05 nixbld gitea[2612]: 2021/01/07 13:07:05 ...m.io/xorm/core/db.go:286:afterProcess() [I] [SQL] UPDATE `notification` SET `updated_unix` = ? WHERE `id`=? [1609996025 2091] - 19.885µs
Jan 07 13:07:05 nixbld gitea[2612]: 2021/01/07 13:07:05 ...m.io/xorm/core/db.go:286:afterProcess() [I] [SQL] SELECT `id`, `lower_name`, `name`, `full_name`, `email`, `keep_email_private`, `email_notifications_preference`, `passwd`, `pass>
Jan 07 13:07:05 nixbld gitea[2612]: 2021/01/07 13:07:05 ...m.io/xorm/core/db.go:286:afterProcess() [I] [SQL] SELECT count(*) FROM `notification` WHERE (user_id = ?) AND (status = ?) [1 1] - 20.3µs
Jan 07 13:07:05 nixbld gitea[2612]: 2021/01/07 13:07:05 ...user/notification.go:38:func1() [E] GetNotificationCount: database table is locked: notification
Jan 07 13:07:05 nixbld gitea[2612]: 2021/01/07 13:07:05 ...s/context/context.go:139:HTML() [D] Template: status/500

...

Jan 07 13:07:05 nixbld gitea[2612]: 2021/01/07 13:07:05 ...m.io/xorm/core/db.go:286:afterProcess() [I] [SQL] SELECT count(*) FROM `notification` WHERE (user_id = ?) AND (status = ?) [1 1] - 76.472µs
Jan 07 13:07:05 nixbld gitea[2612]: 2021/01/07 13:07:05 ...user/notification.go:38:func1() [E] GetNotificationCount: database table is locked: notification
Jan 07 13:07:05 nixbld gitea[2612]: 2021/01/07 13:07:05 ...s/context/context.go:139:HTML() [D] Template: status/500
...

Jan 07 13:07:05 nixbld gitea[2612]: [Macaron] 2021-01-07 13:07:05: Completed GET /M-Labs/thermostat/pulls/43/files 500 Internal Server Error in 46.118127ms

So, migrate to PostgreSQL?

You must give us logs. It is not fair to expect us to guess the cause of your problems.

I was not expecting someone to guess; but since logs via journalctl turned out to be somewhat tricky (probably not a gitea issue but on NixOS it doesn't use the systemd logging levels for instance) and the symptom (screenshot) is quite peculiar, I posted it just in case it was a known problem.
Anyway, sorry for posting a low quality bug report; I got logs now and this seems to be similar to #13581 (but happening more often) and not related to the "weirdness" of the screenshot:
Jan 07 13:07:05 nixbld gitea[2612]: 2021/01/07 13:07:05 ...m.io/xorm/core/db.go:286:afterProcess() [I] [SQL] SELECT `id`, `user_id`, `repo_id`, `status`, `source`, `issue_id`, `commit_id`, `comment_id`, `updated_by`, `created_unix`, `upd>
Jan 07 13:07:05 nixbld gitea[2612]: 2021/01/07 13:07:05 ...m.io/xorm/core/db.go:286:afterProcess() [I] [SQL] SELECT count(*) FROM `notification` WHERE (user_id = ?) AND (status = ?) [1 1] - 68.797µs
Jan 07 13:07:05 nixbld gitea[2612]: 2021/01/07 13:07:05 ...user/notification.go:38:func1() [E] GetNotificationCount: database table is locked: notification
Jan 07 13:07:05 nixbld gitea[2612]: 2021/01/07 13:07:05 ...s/context/context.go:139:HTML() [D] Template: status/500
Jan 07 13:07:05 nixbld gitea[2612]: 2021/01/07 13:07:05 ...m.io/xorm/core/db.go:286:afterProcess() [I] [SQL] UPDATE `notification` SET `updated_unix` = ? WHERE `id`=? [1609996025 2091] - 19.885µs
Jan 07 13:07:05 nixbld gitea[2612]: 2021/01/07 13:07:05 ...m.io/xorm/core/db.go:286:afterProcess() [I] [SQL] SELECT `id`, `lower_name`, `name`, `full_name`, `email`, `keep_email_private`, `email_notifications_preference`, `passwd`, `pass>
Jan 07 13:07:05 nixbld gitea[2612]: 2021/01/07 13:07:05 ...m.io/xorm/core/db.go:286:afterProcess() [I] [SQL] SELECT count(*) FROM `notification` WHERE (user_id = ?) AND (status = ?) [1 1] - 20.3µs
Jan 07 13:07:05 nixbld gitea[2612]: 2021/01/07 13:07:05 ...user/notification.go:38:func1() [E] GetNotificationCount: database table is locked: notification
Jan 07 13:07:05 nixbld gitea[2612]: 2021/01/07 13:07:05 ...s/context/context.go:139:HTML() [D] Template: status/500

...

Jan 07 13:07:05 nixbld gitea[2612]: 2021/01/07 13:07:05 ...m.io/xorm/core/db.go:286:afterProcess() [I] [SQL] SELECT count(*) FROM `notification` WHERE (user_id = ?) AND (status = ?) [1 1] - 76.472µs
Jan 07 13:07:05 nixbld gitea[2612]: 2021/01/07 13:07:05 ...user/notification.go:38:func1() [E] GetNotificationCount: database table is locked: notification
Jan 07 13:07:05 nixbld gitea[2612]: 2021/01/07 13:07:05 ...s/context/context.go:139:HTML() [D] Template: status/500
...

Jan 07 13:07:05 nixbld gitea[2612]: [Macaron] 2021-01-07 13:07:05: Completed GET /M-Labs/thermostat/pulls/43/files 500 Internal Server Error in 46.118127ms

So, migrate to PostgreSQL?

But it is weird - because if we have a genuine deadlock we should be seeing your process just get locked up completely - which it isn't.
Do you have a cluster of multiple gitea processes running at the same time? If so you have to use a real db not sqlite.
Are you building gitea yourself? What tags are you building gitea with?

But it is weird - because if we have a genuine deadlock we should be seeing your process just get locked up completely - which it isn't.
Do you have a cluster of multiple gitea processes running at the same time? If so you have to use a real db not sqlite.
Are you building gitea yourself? What tags are you building gitea with?

If it's a real deadlock we'll need more logs - we would need to get all of the logs from just before it was working to just as it stops. That is include at least a few SQL queries that definitely succeed and don't trim anything except confidential data out.
Deadlocks are a nightmare we literally need to know exactly what was the causative request for the failure.
The notification queries you've shown us will not be the cause - the issue will be earlier.

If it's a real deadlock we'll need more logs - we would need to get all of the logs from just before it was working to just as it stops. That is include at least a few SQL queries that definitely succeed and don't trim anything except confidential data out.
Deadlocks are a nightmare we literally need to know exactly what was the causative request for the failure.
The notification queries you've shown us will not be the cause - the issue will be earlier.

But it is weird - because if we have a genuine deadlock we should be seeing your process just get locked up completely - edit: it probably is.

Wouldn't there be an error entry in the log about it? I don't see any [E] messages that would indicate this.

Do you have a cluster of multiple gitea processes running at the same time?

No, only one.

Are you building gitea yourself? What tags are you building gitea with?

No, I am using the Nix package. It is built with the pam sqlite tags.
https://github.com/NixOS/nixpkgs/blob/release-20.09/pkgs/applications/version-management/gitea/default.nix
https://github.com/NixOS/nixpkgs/blob/release-20.09/nixos/modules/services/misc/gitea.nix

If it's a real deadlock we'll need more logs - we would need to get all of the logs from just before it was working to just as it stops

There doesn't seem to be any stopping. The same process has been running for days, and comments still get posted and the rest of the site still operates, the only symptom seems to be the "error 500" screen.

But it is weird - because if we have a genuine deadlock we should be seeing your process just get locked up completely - edit: it probably is.

Wouldn't there be an error entry in the log about it? I don't see any [E] messages that would indicate this.

Do you have a cluster of multiple gitea processes running at the same time?

No, only one.

Are you building gitea yourself? What tags are you building gitea with?

No, I am using the Nix package. It is built with the pam sqlite tags.
https://github.com/NixOS/nixpkgs/blob/release-20.09/pkgs/applications/version-management/gitea/default.nix
https://github.com/NixOS/nixpkgs/blob/release-20.09/nixos/modules/services/misc/gitea.nix

If it's a real deadlock we'll need more logs - we would need to get all of the logs from just before it was working to just as it stops

There doesn't seem to be any stopping. The same process has been running for days, and comments still get posted and the rest of the site still operates, the only symptom seems to be the "error 500" screen.

Ah. That's the problem!
You need the sqlite_unlock_notify tag in addition to pam and  sqlite

Ah. That's the problem!
You need the sqlite_unlock_notify tag in addition to pam and  sqlite

Thanks, will try :)

Thanks, will try :)

Seems to do the trick :) Thanks again.

Seems to do the trick :) Thanks again.


Image watermarks

whether there is an extension for wagtail which adds a image watermarks feature?
Help me please, with idea how to do this in wagtail ?

Hi @sky-code - please use the Wagtail tag on Stack Overflow for support queries.


Make some files optional (eg: scripts/phenomic.*.js and some others)

Phenomic should use some from the base theme if files does not exists.

Going to be fixed with #925

Already a think in v1. A simple "App.js" is required in addition to a package.json


Add Position-Independent-Code (PIC) Library

Add the PIC Library, which can be used to link with other libraries and produce the final shared library.
To avoid confusion with static linked library, I name it "libtuv.o". Any suggestion? Thanks!
libtuv-DCO-1.0-Signed-off-by: zhenwei<EMAIL_ADDRESS>

@chenwei-tw I close this PR since you have not reacted for a long time. You can reopen it at any time.


[SPARK-42390][CONNECT][BUILD] Upgrade buf from 1.13.1 to 1.14.0

What changes were proposed in this pull request?
The pr aims to upgrade buf from 1.13.1 to 1.14.0.
Why are the changes needed?

Release Notes: https://github.com/bufbuild/buf/releases
https://github.com/bufbuild/buf/compare/v1.13.1...v1.14.0
Does this PR introduce any user-facing change?
No.
How was this patch tested?
Pass GA.

Merged to master and branch-3.4.


compatible with tf-1.14.0

fix issue #1074, this patch is given by @npapernot
feel free to verify this PR by following Dockerfile:
From tensorflow/tensorflow:1.13.1-gpu-py3

RUN apt update && \
    apt install -y rsync git vim wget

RUN pip install git+https://github.com/CNOCycle/cleverhans.git@b1427b275d0151686c4d11a99faf488a63498ffe#egg=cleverhans

RUN wget https://raw.githubusercontent.com/tensorflow/cleverhans/master/cleverhans_tutorials/mnist_tutorial_keras.py

CMD python mnist_tutorial_keras.py

From tensorflow/tensorflow:1.14.0-gpu-py3

RUN apt update && \
    apt install -y rsync git vim wget

RUN pip install git+https://github.com/CNOCycle/cleverhans.git@b1427b275d0151686c4d11a99faf488a63498ffe#egg=cleverhans

RUN wget https://raw.githubusercontent.com/tensorflow/cleverhans/master/cleverhans_tutorials/mnist_tutorial_keras.py

CMD python mnist_tutorial_keras.py

However, I am not sure that the tf.keras's behavior if version is 2.0 or above

Can you sign the CLA?

I signed it!

these codes are not working now .. getting an error on "placeholder"


set this repo's website to be the documentation

Instead of only linking at the end of the README :-)

done. now at diana-hep.github.io/yadage


Review FileExtensionContentTypeProvider and document the criteria for being included

FileExtensionContentTypeProvider contains the file extension to content-type mappings used by the StaticFilesMiddleware. Only extensions listed will be served by default. The original list was copied from IIS but we've made some additions.

[ ] Review the APIs and make sure it's easy enough for people to add and remove entries.
[ ] Document the criteria for including an entry in the default list.
[ ] Review the current entries to make sure they meet the criteria.

@DamianEdwards

As part of the first item, I'd like to see what it would like to have an app set up to read a config file that specifies the file extension to content-type mappings, as an example.

Moving to post RTM for now. Ping me if you think this has to be done this week.

I've just tried to add a new file extension + content type to use with the file server.
There is definitely room for improvement:
var fileExtensionContentTypeProvider = new FileExtensionContentTypeProvider();
fileExtensionContentTypeProvider.Mappings[".vtt"] = "text/vtt";
var options = new FileServerOptions();
options.StaticFileOptions.ContentTypeProvider = fileExtensionContentTypeProvider;

app.UseFileServer(options);

Policy considerations:

Include file types included in other server's default sets
Do not include file types likely to contain server-side code or configuration (e.g. cs, cshtml, json, etc..)
Prefer mime types with well documented standards (e.g. RFCs)

This policy should be placed in the wiki and/or in a doc comment on FileExtensionContentTypeProvider

Adding/Removing file types has discoverability issues, but we haven't found a fix without breaking changes. Consider removing the IContentTypeProvider abstraction, it's rarely replaced.

@muratg recommend moving this to the 2.0 milestone for API breaking changes

@DamianEdwards @glennc Do we want to do this in 2.0.0? (We may need to as it could be a breaking change.)  If so, priority?

@Tratcher Backlogging this for now.

This issue was moved to aspnet/Home#2454


Improve swagger descriptions.

Some swagger clients show summaries or descriptions rather than the endpoint as the primary menu item.  As such, make sure these are populated.
We should always populate the operation_summary if we specify an operation_description in swagger_auto_schema.
If we add model doc strings, when we auto-generate views to generate swagger API, the first line become the summary and the rest of the docstring becomes the description.

Before:

After:

This makes a bigger difference on other swagger UIs:
Before:

After:


Can we color the graph area of a line chart ?

I've walked the API and didn't found any way to custom color the area of a graph in a line chart, just the line itself. is it even supported ?

Use color option in data object:
$scope.data = [{
    values: [...],
    key: 'Area',
    color: '#2ca02c',
    area: true
}]

Thanks for responding so fast, but no, what I meant is to have both he line color and the area colors different. by default the directive colors the area in a lighter hue than that of the line. what I'm trying to achieve is to have a dark bluish line color and a light gray area.

You can change styles in css directly for a specific series:
.nvd3 .nv-group.nv-series-0 {
  fill: lightgray!important; /* color for area */
}

nv-series-i corresponds to series with i-index in data object.
For line color is used color data property as above, but it also can be change with css.

Thanks, it works :+1:  , maybe we should have something like this in the API ?!


a potential bug in the diff-gaussian-rasterization

Thank you for the interesting work. I notice that NUM_CHANNELS is modified to 12. But the bg_color is still [0,0,0] of 3 channels.  Therefore, this line can lead to array index out of bounds for bg_color.

Thank you for pointing that out! I'll fix it.

It may depend on the type of scene.
For bounded and simple scenes, such as synthetic scenes with a dark background, setting the background to all zeros might be helpful since the decoder doesn’t need to fit a complex distribution.
For unbounded and large scenes, such as urban environments where the background has specific meaning, having a learnable background for both features and uncertainty might be more effective in fitting the decoder’s distribution.
It is just my intuition, if there is any mistake or problem, please point it out and discuss it more.

Thank you for your reply. For generalization ability, I think it is more reasonable to employ a learnable background for both features and uncertainty. But It needs more experiments for validation.


this.data is empty in OnReloadReady()

When reloading a component that has data-component-data the data is not readable after the component has reloaded.

To be fixed in 2.0.3


ERC20 standard support in wallet

We should support ERC20 or a modified set of that plus the ERC for contract method inspection.
This should work within the UI eventually.

There has been no feedback about native support for ERC20 type tokens running on semux, so considering this a non-issue.
closing.

@orogvany actually, it matters. But I think this has nothing to do with the core functionality or the very next release. We can find the best solution later.
I'd like to see the core gui and cli wallets as software for validators and dapp developers only. I'm totally against of Infura-like solutions, but we all agree that final consumers should have other light and easy to use clients.


Would be nice to account for non-linear behavior introduced by elevator cord wrapping around the winch

The number of encoder ticks required to lift the elevator by one inch changes depending how much elevator cord is wrapped around the winch.  We had assumed this would be a negligible amount, but it turns out the cord is about 1/8" diameter and the winch is only 1" diameter, so it can make a difference of a few percent.

That's fine, but I'm going to icebox it until we know if we'll have an elevator.


Missing sgdk_asm_macros.h

In commit #163 ASM function definitions were changed to what looks like a macro. It looks like those macros should have been defined here:
#include "sgdk_asm_macros.h"
However, it looks like this file is not present in the repository. This is breaking library builds on Linux (via drojaazu/sgdk_nix).

Oops. I see it was renamed in a later commit. Apologies.


TestMailbox syntax error

Script to test migration endpoint configuration has a typo.
Test-MigrationServerAvailability -EndPoint "Migration endpoint for cross-tenant mailbox moves" - TestMailbox "Primary SMTP of MailUser object in target tenant"
Extra space before "TestMailbox"

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

ID: c61c960c-f5c3-76f7-ac18-dfeaf30230e4
Version Independent ID: 3dc607b2-869e-976f-80da-d73cfb1210e5
Content: Cross-tenant mailbox migration - Microsoft 365 Enterprise
Content Source: microsoft-365/enterprise/cross-tenant-mailbox-migration.md
Service: microsoft-365-enterprise
GitHub Login: @kelleyvice-msft
Microsoft Alias: kvice

@patrickdeline Thank you for your feedback. We have made changes to the document via PR#https://github.com/MicrosoftDocs/microsoft-365-docs/pull/9739
Once the author approves, the changes will be live.
Thanks
Sri

@msbemba Thank you very much for the contribution and updating the documentation with PR. @patrickdeline Hope this update is helpful for you. Thanks for taking out some time to open the issue. Appreciate and encourage you to do the same in future also.


Feature Request: UX improvements for file list panel in github pull requests

Hi,
I love the pull request panel feature and has been the main way I review code, but feel like there is some features that would help me speed up my review process:

Ability to filter out already reviewed files from file list/tree
I often have to review PRs with a large number of files and having items "disappear" help me easily identify if I missed a file somewhere. Right now I have to go to the web interface to double-check that all files are marked as reviewed.
Ability to find specific files in PR, by filtering the file list/tree (similar matter as search in the "source control" panel but only for filenames).
I have cases where I know a PR changed/removed a specific-file, and quickly get the non-existing file to see its content, but as the file is deleted the standard "cmd + P" doesn't cut it as there is nothing to match against.

I think the checkmarks make it very easy to quickly see what files have yet to be reviewed:

Filtering by filename exists with "ctrl + f" in the view:


@olifes

          @

Originally posted by @olifes599 in https://github.com/microsoft/vscode/issues/181778#issuecomment-1567273213

@olifes599


Add nl (dutch) localization

Hello,
First of all thank you for creating and maintaining this project.
This pull request contains the dutch localisation for this package.
If you have any questions or issues, let me know.

@gdevlugt i thank you for this valuable contribution.


undefined: signal.Ignore

Signal Handling Linux
I am recieving an error that seems to be OS specific. I haven't done very much reading, but I hope you can help.
Screen Shots
Error
Error I get when I get/install the packages.

Operating system information

Thank you for the work that you are doing. This is going to be very helpful to my clustering project!
S

Need to upgrade the go version.
On Tuesday, March 15, 2016, Sam Wenke<EMAIL_ADDRESS>wrote:

Signal Handling Linux
I am recieving an error that seems to be OS specific. I haven't done very
much reading, but I hope you can help.
Screen Shots Error
Error I get when I get/install the packages.
[image: screen shot 2016-03-15 at 6 49 22 pm]
https://cloud.githubusercontent.com/assets/7623062/13796739/c66a451a-eade-11e5-82e3-535c9944a54a.png
Operating system information
[image: screen shot 2016-03-15 at 6 51 07 pm]
https://cloud.githubusercontent.com/assets/7623062/13796760/ea572592-eade-11e5-99c8-326512fe0a6d.png
Thank you for the work that you are doing. This is going to be very
helpful to my clustering project!
S
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub
https://github.com/chrislusf/glow/issues/37

Closing this. Please let me know how it works for you, which will be very encouraging for me. Thanks!


Update/NumberToWords

Updated NumberToWords algorithm
Added test cases
Removed method and extension for  String type numbers to focus the feature on safe  integer values, removed related examples and test cases
Added doc for methods and updated README.md

@EhsanAramide Why we have broken codecov task here?

@EhsanAramide Why we have broken codecov task here?

do you think does it have any relation with a deletion on lib/src/internal_methods.dart?

do you think does it have any relation with a deletion on lib/src/internal_methods.dart?

I have no idea! The internal_method.dart file doesn't change in this PR.

We decided to close the pull request for some errors which occur in calculating delta test coverage, because of conflicts in compared heads' SHA.
Open another pull request again and for next time don't force-push the commit history.
Thanks for your contributions :octocat:.


This action is unauthorized

Version information

Laravel: v5.5.*
Voyager: v^1.0
PHP: 7.4.0
Database: MySQL 5.7.28

Description

Symfony \ Component \ HttpKernel \ Exception \ AccessDeniedHttpException
This action is unauthorized.
Previous exceptions
This action is unauthorized. (0)
THIS ERROR IS IN ALL TABLES WHEN I TRY TO EDIT THE BREADS..
I got this error after running composer update, everything was fine before, the voyager version I installed was dated 3years ago, it's normal to have this issue after updating composer, i hard created user_roles table inside mysql but it didin't solve the problem.. any idea please!

There is not much we can tell you.
We don't know from which version you upgraded, what steps you already did and so on.
Please check the upgrade guides for those versions.
Also, all of your mentioned versions above are already deprecated.

Closing due to inactivity.


[docs] Link a VSCode extension for working with Material-UI

I think VSCode users out there will really love this extension I just made!
It has commands for wrapping a component in the text editor in withStyles, and another for automatically creating/updating up the declaration of Box for work with @material-ui/system.
https://marketplace.visualstudio.com/items?itemName=vscodeshift.material-ui-codemorphs

[x] I have followed (at least) the PR section of the contributing guide.

@oliviertassinari had a thought while working on a mui-fab-extended snippet...
So the example in the docs is
<Fab variant="extended">
  <NavigationIcon className={classes.extendedIcon} />
  Navigate
</Fab>

I don't want my snippets to assume there will be a classes.extendedIcon.  I have enough JSCodeshift fu to make it magically put in everything necessary but...that's not a great road to go down I think.
I'm thinking of using Box in the snippet, what do you think?  I think it would be better if we add a component to clone a child with margins though, because tweaking icon margins is such a common and tedious exercise.  Wrapping the icon in a span feels too invasive.
<Fab variant="extended">
  <Box component="span" marginRight={1}>
    <$1Icon />
  </Box>
  $0
</Fab>

Btw I'm not sure "providing codemods" is a very clear term for the links.  I assume people think of "codemod" as something you run on your whole project to manage breaking API changes, not something lightweight you use to modify code in a text editor.  "Refactoring" is probably a better term for it even though adding stuff is not a true refactor.  For instance this extension uses the term "refactoring": https://github.com/wix/vscode-glean

Sounds great, for v5, I would like to look into how we can remove the intermediary Box.

@jedwards1211 I hope these plugins will get adoption, keep up the good work :)

Thanks!
I want to help out with more codemods, if I made a codemod to migrate from withStyles to useStyles would you accept a PR for it?

We want to use and document styled-components by default in v5. A codemod that could help with this would also be great.

Oh no  😱
I'm not a fan of styled-components...being a user of JSS before I came to MUI, I was so happy that MUI uses it.

@jedwards1211 Ideally, styled-components will be optional but come by default.

Huh, what's motivating this?  I don't get why any React devs would be into it.  We don't like putting our HTML in template strings, so why would we want to put our CSS in template strings?

JS Objects
Template Strings

HTML
React ✨
Angular

CSS
JSS
styled-components

That said I could try to make a codemod for it.  I would want to make a codemod for the reverse direction back to JSS too though.  Though it would be harder because I would have to parse the CSS in the template strings -- which is an example of how template strings are less powerful to work with than JS objects.

@jedwards1211 We track it here: https://github.com/mui-org/material-ui/issues/6115


First two lines jumps when writing in gestureMode: DocumentGestureMode.iOS or DocumentGestureMode.android

I’m getting this jumps in the firsts lines of texts when using gestureMode: DocumentGestureMode.iOS, or gestureMode: DocumentGestureMode.android, is not happening for `DocumentGestureMode.mouse.
https://user-images.githubusercontent.com/70621340/182787320-61e1d2e9-30bf-4816-9ae3-a5a0bc27e76b.mov
super_editor: 0.2.2
Flutter doctor:
[✓] Flutter (Channel stable, 3.0.4, on macOS 12.4 21F79 darwin-arm, locale en-ES)
[✓] Android toolchain - develop for Android devices (Android SDK version 32.1.0-rc1)
[✓] Xcode - develop for iOS and macOS (Xcode 13.4.1)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2021.1)
[✓] IntelliJ IDEA Community Edition (version 2021.3.3)
[✓] VS Code (version 1.69.2)
[✓] Connected device (2 available)
[✓] HTTP Host Availability

I'm experiencing the same issue. @matthew-carroll any idea? thank you.

@LuisMaGit which version of super_editor are you using?

@matthew-carroll super_editor: 0.2.2


Remove atomic timeout (for real)

Motivation

Solution

PR Checklist

[ ] Added Tests
[ ] Added Documentation
[ ] Updated the changelog

Codecov Report

Merging #155 (256184e) into main (e8b06ae) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main     #155   +/-   ##
=======================================
  Coverage   42.72%   42.72%
=======================================
  Files          14       14
  Lines        4899     4899
=======================================
  Hits         2093     2093
  Misses       2806     2806

Flag
Coverage Δ

test
42.72% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out 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 e8b06ae...256184e. Read the comment docs.


Test: Entities tests

Initial Feature level test for Entities Modal Page.
E2E test for Introduction to Entities tutorial test.

Merged in via #699


GBMDiscretizer fails when estimator is XGBClassifier

I get the following error with xgboost==1.6.2 and scikit-gbm==0.2.1:
    109 def xgboost_trees_to_dataframe(obj):
--> 110     trees_df = obj.get_booster().trees_to_dataframe()
    112     # Rename columns
    113     trees_df = \
    114         trees_df.rename(columns={
    115             'Tree'     : 'tree_index',
   (...)
    124             'Category' : 'category'
    125         })

AttributeError: '_XgboostWrapper' object has no attribute 'get_booster'

Reproducible example:
from sklearn.datasets import load_iris
from sklearn.model_selection import train_test_split
import numpy as np

iris = load_iris()
data = pd.DataFrame(
    data= np.c_[iris['data'], iris['target']],
    columns= iris['feature_names'] + ['target']
)
data.columns = data.columns.str[:-5]
data.columns = data.columns.str.replace(' ', '_')

X, y = data.iloc[:, :4], data.iloc[:, 4:]
X_train, X_test, y_train, y_test = \
    train_test_split(X, y, test_size=0.3, random_state=0)
X_cols = X.columns.tolist()

gbm_discretizer = GBMDiscretizer(XGBClassifier(verbose=-1), X_cols, one_hot=False)
gbm_discretizer.fit_transform(X_train, y_train)

I am facing the same issue as @kyle-clara. Also, if I try to use GradientBoostingRegressor\Classifier instead of XGBoost I get a different error:

I believe this library was written for an earlier version of XGBoost and sklearn as I found multiple posts on StackOverflow mentioning same errors with get_booster attr missing which were resolved by downgrading xgboost.
@krzjoa Could you please specify versions of sklearn and xgboost libraries this package was written for and (preferably) update the code to work with the latest versions? Thank you


Extract User Message Using SystemCommand Class

Required Information

?
!

Operating system
linux

PHP Telegram Bot version
final

PHP version
7.2.12

MySQL version
5.7.24

Update Method
Webhook

Self-signed certificate
yes

Summary
Hello
One doubt, I'm using inlineKeyboard and getting the information via callbackquery.
I wonder if it is possible to receive the data entered by the user or for his work as two performances, user and system command.

Hi @gabrielmarcato!
I don't fully understand what you mean.
Could you please elaborate and explain what it is you're trying to achieve?
(also, final is not a version, please enter the correct version number so we know what you're using, thanks 😃)


Watson Supercomputer Jupyter Notebook

This project, I hypothesize, may be run on a Jupyter Notebook inside IBMs Supercomputer -- Watson. There is a limited time of computing time, but as with Google's Colab, work can be saved.
Article Explaining Availability to General Public: https://www.eteknix.com/access-ibms-watson-supercomputer-free/
Specs of Watson

Watson IBM instances can be accessed through the CLI. I am not sure yet if a Watson IBM Instance is the same as what I/you spun up (maybe it's just a notebook). But the SSH tunnel may be able to be created with the script I mentioned in my last comments in #3, I haven't looked into the details yet.

Watson severely limits the use of their supercomptuer to users per mont, making this not an ideal platform for Distributed Computing at this time.


Documentation for the gumath package.

The contents from the experimental doc/experimental/dispatch.rst have been styled to imitate the xnd and dtypes documentation (this subfolder and file could be deleted now). There is also a new entry for the sin function which includes an example.

Thanks for putting this together. Looks good to me!

Thanks, I think this has been superseded by the documentation that has been added in the meantime.


Update CSP directive.

For some reason, Safari 10 complains about not being able to load the font files from the CDN, even though it shouldn't even try to download them in first place.
This should fix those errors.

Is the CI error due to #832 ? If so, we should disable html validation until it's resolved.

Actually, it is sort of related to #823. It's because html-validator is using the online version of the validator which gets updated from the master branch and thus changes come faster.
I've opened an issue, see https://github.com/validator/validator/issues/433


Fully typed custom store example?

I have some red squiggles atm:

and am having a hard time figuring out what types these things are.
I'm doing an alternative structure where sagas, reducers, etc, are all grouped by domain concept, rather than by what kind of thing they are.
so, for example: I have a redux-store/todos/add.ts which contains the reducers, action creators, and sagas for that behavior (this is just why I'm creating a custom store, so I can use this layout).
As an added bonus, an example of extending the Redux service without using .extend would be good, too. :-D

@NullVoxPopuli so if the typing information you are looking for is related to reducers and enhancers ...
import ReduxService from 'ember-redux/services/redux';
import reducers from '../reducers/index';
import enhancers from '../enhancers/index';
import middlewares from '../middleware/index';

export default ReduxService.extend({ reducers, enhancers, middlewares });

We just pull from the file system so enhancers could be derived by looking at what redux returns from compose (the default implementation we ship is below)
import { compose } from 'redux';

var devtools = window.__REDUX_DEVTOOLS_EXTENSION__ ? window.__REDUX_DEVTOOLS_EXTENSION__() : f => f;
export default compose(devtools);

In a similar way, reducers return combineReducers from redux
import { combineReducers } from 'redux';

const number = ((state, action) => {
  // reducer implementation here
});

export default combineReducers({
    number
});

A quick look at the typescript def files for redux and it does appear they have something listed for both. You might dive into that project as I'm not a typescript user at this point sadly :(
https://github.com/reduxjs/redux/blob/master/index.d.ts#L88


Silly teal gloves for realsies this time :3

About the PR

Added teal gloves to the ClothesMate
(had an earlier pr thats now closed for this that trough unexperienced whoopsies doopsies got utterly comically messed up and i dont wanna keep bothering people so much to try and fix it, given how small the addition is overall. Sorry if its a bad practice, wont happen again <3)
Why / Balance

it felt weird that we are missing them
Technical details

Media

Requirements

[X] I have read and I am following the Pull Request Guidelines. I understand that not doing so may get my pr closed at maintainer’s discretion
[X] I have added screenshots/videos to this PR showcasing its changes ingame, or this PR does not require an ingame showcase

Breaking changes

Changelog

:cl:

add: Teal gloves can now be found at the ClothesMate!

i really want to ask how in gods name TEAL GLOVES have the MAINTAINER DISCUSSION tag

i really want to ask how in gods name TEAL GLOVES have the MAINTAINER DISCUSSION tag

Yeah, I can think of reasons why this would be denied, like clothesmate having too much stuff in it already or something. But I'm not sure why that discussion would have to happen in secret instead of on github.

i really want to ask how in gods name TEAL GLOVES have the MAINTAINER DISCUSSION tag

Anything that is not a bugfix or refactor needs discussion thread for 3 days according to policy in case someone wants to complain.
Not really much in there for this case and we need to adjust the policy a little so small stuff like this can be merged faster.
Let me leak some secret internal debating :)

But I'm not sure why that discussion would have to happen in secret instead of on github.

I make sure to read everything commented here on GitHub and include it as feedback. I heard there were open maintainer discussions at some point before I joined, but it did not work out that well. We don't want anyone to get hatemail over things like combat balance.

Thank you for your contribution!


Extract methods for binding test setup

Noticed during #954; tests are harder to read because of repeated sections of code, this PR removes a couple of them.

Looks great. LGTM pending CI