Inserting / appending in visual mode doesn't work

Description
When selecting multiple lines using the vim's visual mode the inserting (with I / shift-i) or appending (with  A / shift-a) doesn't work. The inserting happens only on the current line, but not the entire selected block. The appending at the end of each line doesn't even work for the current line (it simply does the "normal" a append at the cursor possition).

Reproduce

Using some multi-line dummy text:
Lorem ipsum dolor sit amet, consetetur sadipscing elitr,
sed diam nonumy eirmod tempor invidunt ut labore et dolore
magna aliquyam erat, sed diam voluptua. At vero eos et accusam
et justo duo dolores et ea rebum. Stet clita kasd gubergren,
no sea takimata sanctus est Lorem ipsum dolor sit amet.

Navigate to any line and select multiple lines with V / shift-v and the desired movement (e.g. with j or G / shift-g )

Now, press I / shift-i to insert at the beginning of the visual block, type anything and hit <escape>.

What you get is this:

Expected behavior
...instead of this:

Context

Python package version:

jupyterlab: 3.5.0
jupyterlab-vim: 0.14.5

Extension version:

jupyter labextension list
Config option `kernel_spec_manager_class` not recognized by `ListLabExtensionsApp`.
[W 2023-05-20 11:52:41.462 LabApp] Config option `kernel_spec_manager_class` not recognized by `LabApp`.
JupyterLab v3.5.0
/Users/matus/miniconda3/share/jupyter/labextensions
        jupyterlab-vimrc v0.5.2 enabled OK
        jupyterlab_pygments v0.2.2 enabled OK (python, jupyterlab_pygments)
        @axlair/jupyterlab_vim v0.14.5 enabled OK (python, jupyterlab_vim)
        @jupyter-widgets/jupyterlab-manager v5.0.7 enabled OK (python, jupyterlab_widgets)

Other labextensions (built into JupyterLab)
   app dir: /Users/matus/miniconda3/share/jupyter/lab

Operating System and its version:
macOS 12.6.2. (Apple M1 Max Chip)

Browser and its version:
Version 113.0.5672.92 (Official Build) (arm64)

Command Line Output

Paste the output from your command line running `jupyter lab` here, use `--debug` if possible.

Web Browser Output

No browser console output

Navigate to any line and select multiple lines with V / shift-v and the desired movement (e.g. with j or G / shift-g )

Now, press I / shift-i to insert at the beginning of the visual block, type anything and hit <escape>.

This is not how column insert works in vim (neither in a terminal nor in jupyter). Instead:

Navigate to any line and select multiple lines with ctrl-v and the desired movement (e.g. with j or G / shift-g and l or h)
Now, press I / shift-i to insert at the beginning of the visual block or press A / shift-a to insert after the visual block, type anything and hit <escape>.

Thanks @lukashergt  for your reply. I guess you are right. I just realized that it works for me in VSCode with the vim extension, but that has probably to do with the multi-line insert functionality of the editor. I tried the same in vanilla VIM editor and indeed I need to use the column visual selection (ctrl-v) to  make it work.
Another related question: is it in any way possible to use vim-commentary (https://github.com/tpope/vim-commentary) in the jupyterlab-vim extension?

Closing as this is a non-issue.


Peer to peer review 2

We suggest you to please align your project as close to figma template as much possible.

done


Added context node support

Fixes #2

@elazar can you move the target to the develop branch?  Technically it is a BC change unless @weierophinney wants to bless this one :+1:

Sure, I'll move it over.

Moved to #4.


oidc-client.d.ts missing Promise definition

Hi:
I'm trying to import the oidc-client.d.ts file into my web app.  I'm using Typescript 2.1, but I'm not using AngularJS.  Where is the Promise definition?
Thanks
marc

I'm experiencing this as well.  I'm using WebPack to bundle my TypeScript, and I have a service that imports the oidc-client module.  Compilation is throwing the following error in several places:
(58,24): error TS2304: Cannot find name 'Promise'.

Where is the Promise definition?

Isn't this from ES6 itself? I don't use TS, so I'm unsure of the issue. Maybe @shaunluttin would know/help?

Installing the package @types/es6-shim seems to solve the problem for me.
npm i -S @types/es6-shim

Thanks, @shaunluttin. That looks like a better solution. I'll look into it.


feat: Consolidate and normalize plugin types

Fixes #1454. Needs #1451
Still some cleanup that could be done around DashboardPlugin. I think instead of static metadata on the component (displayName is ok since it's part of React) those items should probably be part of the config object.

I'd like to pull out DashboardPlugin too, but the dependency there on PanelManager is tricky w/ redux and that change feels like it would warrant its own PR


postgresql support - only one test failed

I adapted database.py for postgresql, and only one test failed:
$python2 tests.py
...F......................
======================================================================
FAIL: test_gcm_unregister (__main__.PushjetTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "tests.py", line 251, in test_gcm_unregister
    self._failing_loader(rv)
  File "tests.py", line 48, in _failing_loader
    raise AssertionError("Got an unexpected error, [{}] {}".format(err['id'], err['message']))
AssertionError: Got an unexpected error, [7] Missing argument uuid

----------------------------------------------------------------------
Ran 26 tests in 8.315s

FAILED (failures=1)

I don't know sqlalchemy at all, so can't make automagic choosing in application.py - so I have to add the line in application.py - but if there's a way to check if db.engine is mysql or pgsql - it should be done.

I fixed gcm - now it works with fcm. It could be done better, but I don't know if you want replace GCM or add FCM support.

Let me have a look at the test


fix: fix a bug that the expression editor closing abnormally

Previously the expressions editor in the popover widget would automatically blur, making it impossible to edit. This was due to the fact that popover blur hides the content when it is closed.
Add the class PREVENT_POPOVER_WIDGET_CLOSE_CLASS to the expression modal to organise it to be closed when editing

How does PREVENT_POPOVER_WIDGET_CLOSE_CLASS  work? Is it a chakra-ui class?

How does PREVENT_POPOVER_WIDGET_CLOSE_CLASS  work? Is it a chakra-ui class?

It is a field customised by the sunmao popover widget to determine if the current popover class name contains this field, and thus whether the popover is closed.
There is another bug  660 that I suspect is also related to this

Conflict

Conflict

Resolved
I have also made a fix for #660 under this pr. The cause of this bug was that the container was not getting the dom node. I have added a useEffect to ensure that the dom nodes are correctly fetched
PTAL


Pac applicable

This PR is supposed to solve #236.
Please note that due to missing references this is a draft and should not be merged.
@brandmaier Do you think this is worth its own section?

Thanks! Citations will get fixed tomorrow.


Cannot get expected intellisense when storing class in object

TypeScript Version:  2.5.3
Code
//e.ts
class C{
    constructor(s:string){}
    test(){}
}
const c={C:C}
export {c,C}

//test.ts
import {c,C} from './e'
const c1:C=null;c1.test()
const c2:typeof c.C=null;c2.prototype.test() //problem
//expected: c2.test()  as c1.test()
// or:      const c2:c.C=null;c2.test()
// or:      const c2:(typeof c).C=null;c2.test()

Expected behavior:
Intellisense is showing prototype to get access to test method for c2. I expect it to show as with c1.
Actual behavior:
Need to export/import the class to get typing without prototype which is unnecessary.
I don't want to export class C, only object c. Is there another way to achieve this ?
Thank you in advance for your help.

You declared const c2: typeof c.C.
c is on object {C:C}. So typeof c.C is just typeof C (the class).
The only object that's typeof C is C itself. So the only thing you could assign to c2 (besides null if --strictNullChecks is not enabled) is C -- not an instance of C but the class itself.

I'm agree with you: typeof c.C is just typeof C, but I need it to be C not typeof C
So(typeof c).C is expected to get the correct intellisense behaviour I think.

Not sure what you're trying to do here, but you could do:
export namespace c {
    class C { ... }
}

That way c.C will have both a value and type meaning, so you could type a variable as const c2: c.C.

The problem is that I loose const c={C:C}. namespace is for typing and I want to add other properties to the object. Your workaround can't apply in my case because I will have to export two pieces of code instead of one as I was expecting.I don't understand why (typeof c).C is forbidden.

Because in const c = { C: C }, c is a value. A property of a value is always a value.
You can add other properties to a namespace too, just add more exports inside the body.


how to use godaddypy with proxy

Describe the bug
Failed to establish a new connection: [WinError 10051] 向一个无法连接的网络尝试了一个套接字操作。'))
In the Chinese network, I must use a proxy to access godaddy . how can i use godaddypy with proxy

because the requests package is used for HTTP requests, you should be able to set the https_proxy / http_proxy environment variables before running your application


ToastImage lacks hint-crop

Probably this is expected as toast will ignore that property anyway. Non-issue here I think.
However, I really hope that the toast messages will respect this attribute soon as hint-crop="circle" is possible in tiles.

Yeah, right now toasts only support hint-crop on the AppLogo (which the NotificationsApi supports). Inline images don't support it as you said.
Once that support is added to inline images, I'll update the API to allow it. I'm imagining toasts will someday be like adaptive tiles, and support the full range of adaptive syntax, which at that point a lot of things will have to change about the toast API.


Add more end-to-end tests

These end-to-end tests test two services:

Clerk, it tests the log-in state. Are the buttons visible when logged in? For this, I created a test user and organization. The tests will open the Create Community and Manage Members modal (components from Clerk) and check if they are open. I have not added tests for creating communities and adding members. But I do edit the existing test community.

Planet scale: There are tests to create, update and delete lists. I remove test data before all relevant tests. I do this before and not after the tests because this is in Cypress's best practice guide: https://docs.cypress.io/guides/references/best-practices#Using-after-Or-afterEach-Hooks

Tests updates
I have run the tests many times; some tests sometimes fail. After filtering, the tests don't always wait for the updated list; I have added some checks so they will wait for the URL update.
Sometimes, (1 out of 5 tests?) the test fails with the console error: "Minified React error #418; visit https://reactjs.org/docs/error-decoder.html?invariant=418 for the full message or use the non-minified dev environment for full errors and additional helpful warnings."
This happens randomly on different pages. I never get this error locally, and the app will still work when this happens. Since this does not impact the user, I ignored this error.
out of scope
I do not add enrichments; after discussing with Sjors, we decided that we could start adding tests for this, but I will do this separately.

After the merge with main, there are new problems with Cypress config importing from packages that still need to be converted to ESM. I created a pull request that fixes this problem.


Inherit locale for new instances created through linked_table

When a new instance is created through linked_table the new instance uses the default locale. If the parent instance uses a non-default locale, the child instance should inherit the locale used in the parent form.
This could be implemented by passing _locale to the new instance (if one isn't provided in newInstanceKeyToValueMap) at the line linked below
https://github.com/odk-x/app-designer/blob/7abf14b16d940850cedfa66e2f9c2afd79553b3e/app/system/survey/js/prompts.js#L1035-L1038

Hi @kdsanskar07!
For general getting started information, see https://forum.odk-x.org/t/welcome-gsoc-applicants/1195. If you have a specific question let me know.

@kdsanskar07 Could you give us an update on this issue? Let us know if you have any questions.

@starboi02 can you give us an update on this issue? Do you have any questions?

@wbrunette I am unable to resolve what newInstanceKeyToValueMap is. Can you please give some insight on it.

@starboi02 It's a typo, I meant to write newInstanceElementKeyToValueMap. This variable contains the evaluated value for newRowInitialElementKeyToValueMap. See https://docs.odk-x.org/xlsx-converter-reference/?highlight=newrowinitialelementkeytovaluemap#queries for more on newRowInitialElementKeyToValueMap

@wbrunette @elmps2018 @linl33  can you please assign this issue. I have a PR for this issue along side this too.
Am just waiting for soomeone to assign then I push PRs


When a container is referenced by a service, it can not be deleted

In GitLab by @wknet123 on Dec 28, 2017, 20:32

In GitLab by @luotian-github on Nov 8, 2019, 07:44
Could you help to provide more details and screenshot for this bug?

In GitLab by @cuiaq123 on Nov 8, 2019, 07:44
For example, a service has chosen a  image creation, if delete this image, this service is no longer available. Should be prompted to the user, this image has been used, or can not be deleted.

In GitLab by @sokril on Nov 8, 2019, 08:17
assigned to @luotian-github

In GitLab by @luotian-github on Mar 4, 2020, 12:14
assigned to @sokril and unassigned @luotian-github

In GitLab by @luotian-github on Mar 4, 2020, 12:14
will fix in 3.0


Upstart hangs when trying to stop Supervisor

I have an Upstart script which runs my app wrapped in Supervisor. I'm enjoying its ability to both restart a crashed server and restart on file change. My upstart script right now is fashioned thusly:
script
    exec supervisor \
       --save-pid $PIDFILE \
       --watch $WATCH_PATH \
       --ignore $IGNORE \
       $APPLICATION_PATH \
      >> $LOG
end script

Running start mynodeservice results in expected behaviour. However, running stop mynodeservice causes the system to hang (i.e. it can still be terminated by Ctrl+C, but then upstart gets its brains mixed up, thinking the process is still running, until I reboot the whole system).
Is there a reason this is happening? With forever, stopping the service can be done in this way:
pre-stop script
    exec forever stop $APPLICATION_PATH
end script

However, supervisor does not have a stop command. How can I get it to stop hanging?

Does adding a stop command help?

Sorry, I'm still new to Upstart and Linux in general. How would I create a stop command for Supervisor?

Agh, accidentally closed. See above about noobishness.

"kill $(cat ${PIDFILE})" should do the trick

It worked! Thank you!!!!! Closing issue!


Create main.yml

Adding github action to run the snapshot build when a push to dev branch occurs.  Pushes to dev branch should only happen when a PR completes or during release process.

@shoatman When a PR completes and merges into dev, then the PR could contain multiple commits within it. Will the build run for each commit so after merge there are N builds executed simultaneously? Or will there just be one build for the merge commit?

@shahzaibj - From what I understand from the documentation a pull request merge will result in a push to dev.  I think i need to test to be sure though.

I'll update this once I see it in action, so this isn't something that we're committing to forever.  Just need to merge in order to be able to test.


[update] README_zh-CN.md add Online-Demo Section

[update] README_zh-CN.md add Online-Demo section

Hi @fly2tomato,
We'd like to express our appreciation for your valuable contributions to the Multimodal-GPT. Your efforts have significantly aided in enhancing the project's quality.
It is our pleasure to invite you to join our community thorugh Discord_Special Interest Group (SIG) channel. This is a great place to share your experiences, discuss ideas, and connect with other like-minded people. To become a part of the SIG channel, send a message to the moderator, OpenMMLab, briefly introduce yourself and mention your open-source contributions in the #introductions channel. Our team will gladly facilitate your entry. We eagerly await your presence. Please follow this link to join us: https://discord.gg/UjgXkPWNqA.
If you're on WeChat, we'd also love for you to join our community there. Just add our assistant using the WeChat ID: openmmlabwx. When sending the friend request, remember to include the remark "mmsig + Github ID".
Thanks again for your awesome contribution, and we're excited to have you as part of our community!


arena size impossible to get now?

since they removed minimap viewport #64, it is not possible to determine the arena size anymore.
Should diepAPI transition from canvas based to memory based api?

I noticed that

It totally should switch to memory interaction. going off of canvas/rendering is probably the most ineffective and unstable way to do things. (specially on low-end pc's).
Looking forward to it :)

I would be willing to help with development. I have been experimenting on this game lately.
Discord contact is in my bio.

I have an idea: for game modes you can manually (in script) set the size of the arena and for the sandbox detect the number of players and what size it corresponds to

detecting the number of players is also challenging.
But I agree, that we could hardcode de arenasizes for the other game modes

i try something

I had to redo the camera because it was not the right coordinate and the arena I just changed the size
class Camera {
            #position;
            constructor() {
                game.on('frame_end', () => {
                    const playerPos = player.position;
                    const topLeft = Vector.subtract(playerPos, new Vector(window.innerWidth / 2, window.innerHeight / 2));
                    const bottomRight = Vector.add(playerPos, new Vector(window.innerWidth / 2, window.innerHeight / 2));
                    this.#position = new Vector(topLeft.x, bottomRight.y);
                });
            }
            get position() {
                return this.#position;
            }
        }

  class Arena {
            #size = 1;
            constructor() {
                setInterval(() => {
                    // const ratio = Vector.divide(minimap.minimapDim, minimap.viewportDim);
                    // const arenaDim = Vector.multiply(ratio, scaling.screenToCanvas(new Vector(_window.innerWidth, _window.innerHeight)));
                    // const arenaSize = scaling.toArenaUnits(arenaDim);
                    this.#size = 20000;
                }, 16);
            }
            /**
             * @returns {number} The Arena size in arena units
             */
            get size() {
                return this.#size;
            }
            /**
             *
             * @param {Vector} vector The vector in [0, 1] coordinates
             * @returns {Vector} The scaled vector in [-Arena.size/2, Arena.size/2] coordinates
             */
            scale(vector) {
                const scale = (value) => Math.round(this.#size * (value - 0.5));
                return new Vector(scale(vector.x), scale(vector.y));
            }
            /**
             *
             * @param {Vector} vector - The scaled vector in [-Arena.size/2, Arena.size/2] coordinates
             * @returns {Vector} The unscaled vector in [0, 1] coordinates
             */
            unscale(vector) {
                const unscale = (value) => value / this.#size + 0.5;
                return new Vector(unscale(vector.x), unscale(vector.y));
            }
        }

for sandbox: on the other hand the problem is that the players will have to be alive to display the number of players

unless we detect the "teleportation" of the player's arrow on the minimap when a new player connects


Problems with make PythonAPI

Hi, i have problems trying to do the make PythonAPI comand in my x64 Native Tools Command Prompt for VS2019
I'm using:

Windows 11
Carla 0.9.13
Visual Studio 16 2019
Python 3.7.0
Pip & Pip3 24.0
GNU Make 3.81
Cmake 3.29.0

And I also have changed install_xercesc.bat changing the xerces version from 3.2.3 to 3.2.5, and also the same with install_zlib.bat changing to zlib version 1.3.1
I get the following error:

`-[BuildOSM2ODR]: [Batch params]: --build --all
Cloning into 'C:\TFG\carla\Build\om2odr-source'...
remote: Enumerating objects: 1438389, done.
remote: Counting objects: 100% (13086/13086), done.
remote: Compressing objects: 100% (1773/1773), done.
Receiving objects: 100% (1438389/1438389), 993.69 MiB | 7.85 MiB/s, done.sed 1425303Receiving objects: 100% (1438389/1438389), 991.69 MiB | 9.68 MiB/s

Resolving deltas: 100% (1224119/1224119), done.
Updating files: 100% (108359/108359), done.
Updating files: 100% (103225/103225), done.
Note: switching to 'ee0c2b9241fef5365a6bc044ac82e6580b8ce936'.
You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by switching back to a branch.
If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -c with the switch command. Example:
git switch -c
Or undo this operation with:
git switch -
Turn off this advice by setting config variable advice.detachedHead to false
HEAD is now at ee0c2b9241f Removed debug warnings
-- Setting build type to 'Release' as none was specified.
CMake Warning (dev) at CMakeLists.txt:23 (project):
cmake_minimum_required() should be called prior to this top-level project()
call.  Please see the cmake-commands(7) manual for usage documentation of
both commands.
This warning is for project developers.  Use -Wno-dev to suppress it.
-- Selecting Windows SDK version 10.0.22000.0 to target Windows 10.0.22631.
-- The C compiler identification is MSVC 19.29.30154.0
-- The CXX compiler identification is MSVC 19.29.30154.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.29.30133/bin/Hostx64/x64/cl.exe - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.29.30133/bin/Hostx64/x64/cl.exe - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
CMake Deprecation Warning at CMakeLists.txt:25 (cmake_minimum_required):
Compatibility with CMake < 3.5 will be removed from a future version of
CMake.
Update the VERSION argument  value or use a ... suffix to tell
CMake that the project does not need compatibility with older versions.
-- CMAKE_BINARY_DIR: C:/TFG/carla/Build/osm2odr-visualstudio
-- CMAKE_SOURCE_DIR: C:/TFG/carla/Build/om2odr-source
-- Platform:
--     Host: Windows-10.0.22631 AMD64
--     Target: Windows-10.0.22631 AMD64
--     CMake: 3.29.0
--     CMake generator: Visual Studio 16 2019
--     CMake build tool: C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/MSBuild/Current/Bin/MSBuild.exe
--     Compiler: MSVC 19.29.30154.0
CMake Error at C:/Program Files/CMake/share/cmake-3.29/Modules/FindPackageHandleStandardArgs.cmake:230 (message):
Failed to find XercesC (missing: XercesC_VERSION)
Call Stack (most recent call first):
C:/Program Files/CMake/share/cmake-3.29/Modules/FindPackageHandleStandardArgs.cmake:600 (_FPHSA_FAILURE_MESSAGE)
C:/Program Files/CMake/share/cmake-3.29/Modules/FindXercesC.cmake:112 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
CMakeLists.txt:71 (find_package)
-- Configuring incomplete, errors occurred!
Microsoft (R) Build Engine versión 16.11.2+f32259642 para .NET Framework
Copyright (C) Microsoft Corporation. Todos los derechos reservados.
MSBUILD : error MSB1009: El archivo de proyecto no existe.
Modificador: install.vcxproj
-[BuildOSM2ODR]: OSM2ODR has been successfully installed in "C:\TFG\carla\PythonAPI\carla\dependencies"
-[BuildPythonAPI]: [Batch params]: --py3
Building Python API for Python 3.
compiling:

source/libcarla/libcarla.cpp
C:\Program Files\Python37\lib\distutils\dist.py:274: UserWarning: Unknown distribution option: 'long_description_content_type'
warnings.warn(msg)
running bdist_egg
running egg_info
writing source\carla.egg-info\PKG-INFO
writing dependency_links to source\carla.egg-info\dependency_links.txt
writing top-level names to source\carla.egg-info\top_level.txt
reading manifest file 'source\carla.egg-info\SOURCES.txt'
writing manifest file 'source\carla.egg-info\SOURCES.txt'
installing library code to build\bdist.win-amd64\egg
running install_lib
running build_py
running build_ext
building 'carla.libcarla' extension
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\bin\HostX86\x64\cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MT -Idependencies/include "-IC:\Program Files\Python37\include" "-IC:\Program Files\Python37\include" "-IC:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\ATLMFC\include" "-IC:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\include" "-IC:\Program Files (x86)\Windows Kits\NETFXSDK\4.8\include\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.22000.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.22000.0\shared" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.22000.0\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.22000.0\winrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.22000.0\cppwinrt" "-IC:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\ATLMFC\include" "-IC:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\include" "-IC:\Program Files (x86)\Windows Kits\NETFXSDK\4.8\include\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.22000.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.22000.0\shared" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.22000.0\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.22000.0\winrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.22000.0\cppwinrt" /EHsc /Tpsource/libcarla/libcarla.cpp /Fobuild\temp.win-amd64-3.7\Release\source/libcarla/libcarla.obj /experimental:external /external:W0 /external:I dependencies/include/system /DBOOST_ALL_NO_LIB /DBOOST_PYTHON_STATIC_LIB /DBOOST_ERROR_CODE_HEADER_ONLY /D_WIN32_WINNT=0x0600 /DHAVE_SNPRINTF /DLIBCARLA_WITH_PYTHON_SUPPORT -DLIBCARLA_IMAGE_WITH_PNG_SUPPORT=true /MD
cl : Línea de comandos warning D9025 : invalidando '/MT' con '/MD'
libcarla.cpp
C:\TFG\carla\PythonAPI\carla\source\libcarla\OSM2ODR.cpp(7): fatal error C1083: No se puede abrir el archivo incluir: 'OSM2ODR.h': No such file or directory
error: command 'C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\bin\HostX86\x64\cl.exe' failed with exit status 2

-[BuildPythonAPI]: Carla lib for python has been successfully installed in "C:\TFG\carla\PythonAPI\carla\dist"!`

This is a carla build issue. See here for possible solutions: https://github.com/carla-simulator/carla/issues/3320

I've  upgraded from carla 0.9.13 to 0.9.15 and python 3.7.0 to Python 3.12.2 and i fixed it. But now i have the following error:
Once i have launched carla with make launch, i try to generete traffic but i have this problem:

C:\TFG\carla\PythonAPI\examples>pip3 install -r requirements.txt
Defaulting to user installation because normal site-packages is not writeable
Ignoring numpy: markers 'python_version < "3.0"' don't match your environment
Collecting future (from -r requirements.txt (line 1))
Using cached future-1.0.0-py3-none-any.whl.metadata (4.0 kB)
Collecting numpy==1.18.4 (from -r requirements.txt (line 3))
Using cached numpy-1.18.4.zip (5.4 MB)
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing metadata (pyproject.toml) ... error
error: subprocess-exited-with-error

× Preparing metadata (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [92 lines of output]
Running from numpy source directory.
:461: UserWarning: Unrecognized setuptools command, proceeding with generating Cython sources and expanding templates
C:\Users\Admin\AppData\Local\Temp\pip-install-njerfvbr\numpy_6baaa279996548228e9198dfbab85a14\tools\cythonize.py:75: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead.
required_version = LooseVersion('0.29.14')
C:\Users\Admin\AppData\Local\Temp\pip-install-njerfvbr\numpy_6baaa279996548228e9198dfbab85a14\tools\cythonize.py:77: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead.
if LooseVersion(cython_version) < required_version:
performance hint: _common.pyx:261:19: Exception check after calling 'random_func' will always require the GIL to be acquired. Declare 'random_func' as 'noexcept' if you control the definition and you're sure you don't want the function to raise exceptions.
performance hint: _common.pyx:285:19: Exception check after calling 'random_func' will always require the GIL to be acquired. Declare 'random_func' as 'noexcept' if you control the definition and you're sure you don't want the function to raise exceptions.
performance hint: _common.pyx:308:50: Exception check after calling 'random_func' will always require the GIL to be acquired. Declare 'random_func' as 'noexcept' if you control the definition and you're sure you don't want the function to raise exceptions.
performance hint: _common.pyx:411:31: Exception check after calling 'f' will always require the GIL to be acquired. Declare 'f' as 'noexcept' if you control the definition and you're sure you don't want the function to raise exceptions.
performance hint: _common.pyx:448:31: Exception check after calling 'f' will always require the GIL to be acquired. Declare 'f' as 'noexcept' if you control the definition and you're sure you don't want the function to raise exceptions.
performance hint: _common.pyx:490:31: Exception check after calling 'f' will always require the GIL to be acquired. Declare 'f' as 'noexcept' if you control the definition and you're sure you don't want the function to raise exceptions.
performance hint: _common.pyx:573:36: Exception check after calling 'f0' will always require the GIL to be acquired. Declare 'f0' as 'noexcept' if you control the definition and you're sure you don't want the function to raise exceptions.
performance hint: _common.pyx:577:36: Exception check after calling 'f1' will always require the GIL to be acquired. Declare 'f1' as 'noexcept' if you control the definition and you're sure you don't want the function to raise exceptions.
performance hint: _common.pyx:581:36: Exception check after calling 'f2' will always require the GIL to be acquired. Declare 'f2' as 'noexcept' if you control the definition and you're sure you don't want the function to raise exceptions.
performance hint: _common.pyx:585:36: Exception check after calling 'f3' will always require the GIL to be acquired. Declare 'f3' as 'noexcept' if you control the definition and you're sure you don't want the function to raise exceptions.
performance hint: _common.pyx:617:31: Exception check after calling 'f' will always require the GIL to be acquired. Declare 'f' as 'noexcept' if you control the definition and you're sure you don't want the function to raise exceptions.
performance hint: _common.pyx:652:31: Exception check after calling 'f' will always require the GIL to be acquired. Declare 'f' as 'noexcept' if you control the definition and you're sure you don't want the function to raise exceptions.
performance hint: _common.pyx:687:63: Exception check after calling 'f' will always require the GIL to be acquired. Declare 'f' as 'noexcept' if you control the definition and you're sure you don't want the function to raise exceptions.
performance hint: _common.pyx:727:31: Exception check after calling 'f' will always require the GIL to be acquired. Declare 'f' as 'noexcept' if you control the definition and you're sure you don't want the function to raise exceptions.
performance hint: _common.pyx:756:31: Exception check after calling 'f' will always require the GIL to be acquired. Declare 'f' as 'noexcept' if you control the definition and you're sure you don't want the function to raise exceptions.
performance hint: _common.pyx:874:40: Exception check after calling 'f0' will always require the GIL to be acquired. Declare 'f0' as 'noexcept' if you control the definition and you're sure you don't want the function to raise exceptions.
performance hint: _common.pyx:878:40: Exception check after calling 'fd' will always require the GIL to be acquired. Declare 'fd' as 'noexcept' if you control the definition and you're sure you don't want the function to raise exceptions.
performance hint: _common.pyx:882:41: Exception check after calling 'fdd' will always require the GIL to be acquired. Declare 'fdd' as 'noexcept' if you control the definition and you're sure you don't want the function to raise exceptions.
performance hint: _common.pyx:887:40: Exception check after calling 'fi' will always require the GIL to be acquired. Declare 'fi' as 'noexcept' if you control the definition and you're sure you don't want the function to raise exceptions.
performance hint: _common.pyx:891:41: Exception check after calling 'fdi' will always require the GIL to be acquired. Declare 'fdi' as 'noexcept' if you control the definition and you're sure you don't want the function to raise exceptions.
performance hint: _common.pyx:895:38: Exception check after calling 'fiii' will always require the GIL to be acquired. Declare 'fiii' as 'noexcept' if you control the definition and you're sure you don't want the function to raise exceptions.
performance hint: _common.pyx:930:31: Exception check after calling 'f' will always require the GIL to be acquired. Declare 'f' as 'noexcept' if you control the definition and you're sure you don't want the function to raise exceptions.
performance hint: _common.pyx:972:32: Exception check after calling 'f1' will always require the GIL to be acquired. Declare 'f1' as 'noexcept' if you control the definition and you're sure you don't want the function to raise exceptions.
performance hint: _generator.pyx:811:41: Exception check after calling '_shuffle_int' will always require the GIL to be acquired.
Possible solutions:
1. Declare '_shuffle_int' as 'noexcept' if you control the definition and you're sure you don't want the function to raise exceptions.
2. Use an 'int' return type on '_shuffle_int' to allow an error code to be returned.
performance hint: _generator.pyx:840:45: Exception check after calling '_shuffle_int' will always require the GIL to be acquired.
Possible solutions:
1. Declare '_shuffle_int' as 'noexcept' if you control the definition and you're sure you don't want the function to raise exceptions.
2. Use an 'int' return type on '_shuffle_int' to allow an error code to be returned.
  Error compiling Cython file:
  ------------------------------------------------------------
  ...
          for i in range(1, RK_STATE_LEN):
              self.rng_state.key[i] = val[i]
          self.rng_state.pos = i

          self._bitgen.state = &self.rng_state
          self._bitgen.next_uint64 = &mt19937_uint64
                                     ^
  ------------------------------------------------------------

  _mt19937.pyx:138:35: Cannot assign type 'uint64_t (*)(void *) except? -1 nogil' to 'uint64_t (*)(void *) noexcept nogil'. Exception values are incompatible. Suggest adding 'noexcept' to the type of the value being assigned.
  Processing numpy/random\_bounded_integers.pxd.in
  Processing numpy/random\mtrand.pyx
  Processing numpy/random\_bit_generator.pyx
  Processing numpy/random\_bounded_integers.pyx.in
  Processing numpy/random\_common.pyx
  Processing numpy/random\_generator.pyx
  Processing numpy/random\_mt19937.pyx
  Traceback (most recent call last):
    File "C:\Users\Admin\AppData\Local\Temp\pip-install-njerfvbr\numpy_6baaa279996548228e9198dfbab85a14\tools\cythonize.py", line 238, in <module>
      main()
    File "C:\Users\Admin\AppData\Local\Temp\pip-install-njerfvbr\numpy_6baaa279996548228e9198dfbab85a14\tools\cythonize.py", line 234, in main
      find_process_files(root_dir)
    File "C:\Users\Admin\AppData\Local\Temp\pip-install-njerfvbr\numpy_6baaa279996548228e9198dfbab85a14\tools\cythonize.py", line 225, in find_process_files
      process(root_dir, fromfile, tofile, function, hash_db)
    File "C:\Users\Admin\AppData\Local\Temp\pip-install-njerfvbr\numpy_6baaa279996548228e9198dfbab85a14\tools\cythonize.py", line 191, in process
      processor_function(fromfile, tofile)
    File "C:\Users\Admin\AppData\Local\Temp\pip-install-njerfvbr\numpy_6baaa279996548228e9198dfbab85a14\tools\cythonize.py", line 80, in process_pyx
      subprocess.check_call(
    File "C:\Program Files\Python312\Lib\subprocess.py", line 413, in check_call
      raise CalledProcessError(retcode, cmd)
  subprocess.CalledProcessError: Command '['C:\\Program Files\\Python312\\python.exe', '-m', 'cython', '-3', '--fast-fail', '-o', '_mt19937.c', '_mt19937.pyx']' returned non-zero exit status 1.
  Cythonizing sources
  Traceback (most recent call last):
    File "C:\Program Files\Python312\Lib\site-packages\pip\_vendor\pyproject_hooks\_in_process\_in_process.py", line 353, in <module>
      main()
    File "C:\Program Files\Python312\Lib\site-packages\pip\_vendor\pyproject_hooks\_in_process\_in_process.py", line 335, in main
      json_out['return_val'] = hook(**hook_input['kwargs'])
                               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    File "C:\Program Files\Python312\Lib\site-packages\pip\_vendor\pyproject_hooks\_in_process\_in_process.py", line 149, in prepare_metadata_for_build_wheel
      return hook(metadata_directory, config_settings)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    File "C:\Users\Admin\AppData\Local\Temp\pip-build-env-7zqc9j08\overlay\Lib\site-packages\setuptools\build_meta.py", line 366, in prepare_metadata_for_build_wheel
      self.run_setup()
    File "C:\Users\Admin\AppData\Local\Temp\pip-build-env-7zqc9j08\overlay\Lib\site-packages\setuptools\build_meta.py", line 487, in run_setup
      super().run_setup(setup_script=setup_script)
    File "C:\Users\Admin\AppData\Local\Temp\pip-build-env-7zqc9j08\overlay\Lib\site-packages\setuptools\build_meta.py", line 311, in run_setup
      exec(code, locals())
    File "<string>", line 488, in <module>
    File "<string>", line 469, in setup_package
    File "<string>", line 275, in generate_cython
  RuntimeError: Running cythonize failed!
  [end of output]

note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed
× Encountered error while generating package metadata.
╰─> See above for output.
note: This is an issue with the package mentioned above, not pip.
hint: See above for details.


ModuleNotFoundError: No module named 'esm.esmfold' after running esmfold_inference.py

NOTE: if this is not a bug report, please use the GitHub Discussions for support questions (How do I do X?), feature requests, ideas, showcasing new applications, etc.
Bug description
Calling on the script esmfold_inference.py results in an error message stating the module esm.esmfold is not available.
Reproduction steps
Command I ran:
python3 scripts/esmfold_inference.py \ -i ../avast4_portal.fasta \ -o ./

Expected behavior
A structure prediction of provided fasta sequences is provided as output in the directory specified
Logs
Please paste the command line output:
23/03/27 18:13:57 | INFO | root | Reading sequences from ../avast4_portal.fasta
23/03/27 18:13:57 | INFO | root | Loaded 2 sequences from ../avast4_portal.fasta
23/03/27 18:13:57 | INFO | root | Loading model
Traceback (most recent call last):
  File "scripts/esmfold_inference.py", line 136, in <module>
    model = esm.pretrained.esmfold_v1()
  File "/scratch/jgeissler/miniconda3/envs/esmfold/lib/python3.7/site-packages/fair_esm-2.0.1-py3.7.egg/esm/pretrained.py", line 419, in esmfold_v1
ModuleNotFoundError: No module named 'esm.esmfold'

Additional context
The installation procedure I used was as follows;

Cloned the repository
Used the .yml file to create environment
Activated environment
Ran setup.py
Loaded a software module on compute cluster to get nvcc available (nvcc version 11.6)
Installed openfold

Any help would be greatly appreciated!

Hi @JasperGeissler I believe the issue is in the way you installed the package. Please use pip install fair-esm[esmfold] instead as per guidance https://github.com/facebookresearch/esm#getting-started-with-this-repo-


API data update

Store our API key before sending to proxy

store DWP unique key on return
test generation and storage of both
script data migration on adding office_id field

[finishes #92022094]

There were the following issues with your Pull Request

Commit: 94f0017d7187b002d16e4be4b35aba10830d86c0
Your subject line is longer than 50 characters

Guidelines are available at https://github.com/ministryofjustice/fr-staffapp

This message was auto-generated by https://gitcop.com

Looks fine


Adapt csv files for release version 1.2.0

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 58.75%.
Additional details and impacted files
@@             Coverage Diff              @@
##           release-1.2    #3353   +/-   ##
============================================
  Coverage        58.75%   58.75%
============================================
  Files              326      326
  Lines            18175    18175
============================================
  Hits             10679    10679
  Misses            6298     6298
  Partials          1198     1198

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


React Native v0.72.7 Issue

New Version
0.72.7
Old Version
0.65.1
Build Target(s)
iOS Simulator
Output of react-native info
System:
OS: macOS 13.5
CPU: (8) arm64 Apple M1
Memory: 50.22 MB / 8.00 GB
Shell:
version: "5.9"
path: /bin/zsh
Binaries:
Node:
version: 18.16.0
path: ~/.nvm/versions/node/v18.16.0/bin/node
Yarn:
version: 1.22.19
path: /opt/homebrew/bin/yarn
npm:
version: 9.5.1
path: ~/.nvm/versions/node/v18.16.0/bin/npm
Watchman:
version: 2<IP_ADDRESS>
path: /opt/homebrew/bin/watchman
Managers:
CocoaPods:
version: 1.14.3
path: /opt/homebrew/bin/pod
SDKs:
iOS SDK:
Platforms:
- DriverKit 22.4
- iOS 16.4
- macOS 13.3
- tvOS 16.4
- watchOS 9.4
Android SDK:
Android NDK: 22.1.7171670
IDEs:
Android Studio: 2022.3 AI-223.8836.35.2231.10406996
Xcode:
version: 14.3.1/14E300c
path: /usr/bin/xcodebuild
Languages:
Java:
version: 11.0.20
path: /usr/bin/javac
Ruby:
version: 2.6.10
path: /usr/bin/ruby
npmPackages:
"@react-native-community/cli": Not Found
react:
installed: 18.2.0
wanted: 18.2.0
react-native:
installed: 0.72.7
wanted: 0.72.7
react-native-macos: Not Found
npmGlobalPackages:
"react-native": Not Found
Android:
hermesEnabled: Not found
newArchEnabled: Not found
iOS:
hermesEnabled: Not found
newArchEnabled: Not found
Issue and Reproduction Steps
after upgrading react native version and then clean and build the app in xcode the error shows like
Undefined symbols for architecture arm64:
"_YGNodeStyleGetGap", referenced from:
-[RCTShadowView rowGap] in libReact-Core.a(RCTShadowView.o)
-[RCTShadowView columnGap] in libReact-Core.a(RCTShadowView.o)
-[RCTShadowView gap] in libReact-Core.a(RCTShadowView.o)
"_YGNodeStyleSetGap", referenced from:
-[RCTShadowView setRowGap:] in libReact-Core.a(RCTShadowView.o)
-[RCTShadowView setColumnGap:] in libReact-Core.a(RCTShadowView.o)
-[RCTShadowView setGap:] in libReact-Core.a(RCTShadowView.o)
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

@cortinico can you help me?

@sonjaie not without a reproducer as the bot asked you here https://github.com/facebook/react-native/issues/41740#issuecomment-1835894185

@sonjaie, i am having the same error, did you managed to find a solution?

@sonjaie, i am having the same error, did you managed to find a solution?

yup what i did is to update all core needed for that react native version you want to upgrade

@sonjaie, i am having the same error, did you managed to find a solution?

yup what i did is to update all core needed for that react native version you want to upgrade

can you elaborate a bit on this? what is it that i need to update and where? Thanks


Unable to use sealed classes with oneOf in application using ktor: "Class discriminator was missing"

Hi there! We have a Ktor project where we using an openapi specification and fabrikt. I've introduced a new operation that accepts a object which uses oneOf (since it looks like fabrikt is the first tool that actually seem to support it? 🎉 ), but it looks like the generated code is missing something to allow deserialization to work properly. I thought it was an issue with our code but I've been able to reproduce the issue using the example spec.
TL;DR: I've created a repo to test the issue here
I've updated the specification provided here to include a GET and a POST operation. The get returns a SomeObj and the post accepts a SomeObj and returns one as well:
paths:
    /some:
        post:
            operationId: sendSomeObject
            requestBody:
                content:
                    application/json:
                        schema:
                            $ref: "#/components/schemas/State"
            responses:
                200:
                    content:
                        application/json:
                            schema:
                                $ref: "#/components/schemas/SomeObj"
        get:
            operationId: getSomeObject
            responses:
                200:
                    description: Success response
                    content:
                        application/json:
                            schema:
                                $ref: "#/components/schemas/SomeObj"

And I've registered it here:
fun Application.configureRouting() {
    routing {
        someRoutes(object: SomeController {
            override suspend fun getSomeObject(call: TypedApplicationCall<SomeObj>) {
                call.respondTyped(SomeObj(state = StateA()))
            }

            override suspend fun sendSomeObject(state: State, call: TypedApplicationCall<SomeObj>) {
                call.respondTyped(SomeObj(state = state))
            }
        })
    }
}

Finally, Ktor's content negociation plugin (with json) is configured like this:
    install(ContentNegotiation) {
        json()
    }

After starting the application, sending a GET request to /some works as expected, with both StateA and StateB, but the deserialization fails in the POST request and returns a 400. Here is what you can read in the logs:
io.ktor.server.plugins.BadRequestException: Failed to convert request body to class com.example.generated.models.State
...giant stack from ktor...
Caused by: io.ktor.serialization.JsonConvertException: Illegal input: Class discriminator was missing and no default serializers were registered in the polymorphic scope of 'State'.
JSON input: {"state":{"type":"a","status":"a"}}
	at io.ktor.serialization.kotlinx.KotlinxSerializationConverter.deserialize(KotlinxSerializationConverter.kt:77)
	at io.ktor.server.plugins.contentnegotiation.RequestConverterKt.convertBody(RequestConverter.kt:67)
	... 100 common frames omitted
Caused by: kotlinx.serialization.json.internal.JsonDecodingException: Class discriminator was missing and no default serializers were registered in the polymorphic scope of 'State'.
JSON input: {"state":{"type":"a","status":"a"}}

I started brushing up on kotlinx.serialization and the section on polymorphism covers a lot of use cases, but it's not clear to me if the generator needs to be tweaked to include a JsonClassDiscriminator or something? Happy to provide more details and help with a fix if I can, but I'm just curious if I'm missing something first!
Thanks!

Going to close this for now because I don't think it's an issue with the generated code.

Thanks @Palleas. We'd have to wait for an answer from the contributors who added the ktor and kotlinx.serialization anyway, I am not familiar with either.

I've dug a little bit further and I realized that I needed 2 things to make my use case work:

Add a JSONClassDiscriminator annotation (which also requires an OptIn into the Serialization whatever from Kotlin)
Add a Serializable on my enum class.
I'll re-open with a clearer example once I'm fluent in kotlinx.serialization !

Hi @Palleas,
I've recently become aware of this limitation in the generation of the polymorphic models myself and have been working on a fix over here.
It is still not yet completely done (there are some things to be discussed), but you are on to the right cause: JSONClassDiscriminator is needed when the discriminator name is not type.
So for now Kotlin serialization with polymorphic models is broken, unless the discriminator property is left out entirely from the child schemas (this is probably not even valid OpenAPI 3), which is the case in the end2end test of Phone.

Oh, that's good news, I'll keep an eye on it then, thanks! Not sure if that's already handled your PR, but I noticed that the generated discriminator itself was missing the @Serializable annotation as well.

@Palleas With the release of v19.1.0, this issue should be resolved. Please take it for a spin and let us know how it goes!


Susannah's solution day 1

Susannah Parsons calory counting elves solution in CPP

This might be the most concise one so far, I'm not calling the python 1 liners concise :)
Did you see the part 2 for day 1 pop up?

Only belatedly saw the part 2 for day 1. Anyway, I've done it now. And a nice Object-Orientated approach to the rock-paper-scissors game :)


Fee Release: Pre-Deployment Activities

Title of ticket:
Description
Listing out the Pre-Deployment Activities.
Dependencies
Are there any dependencies?
DOD

[x] Prepare the deployment document
[x] Review Prod environment for forms-flow-ai and update ENV variables
[x] HA setup for forms-flow-ai
[x] Upload Email templates to S3 prod bucket
[x] New route for Fee API
[x]  Update ENVs of forms-flow-ai with new route for Fee API
[ ] Update ENVs of forms-flow-ai with new Vanity url
[ ] Upload all the forms (3 forms) to forms-flow-ai-web and make it as public
[x] Keycloack setup for forms-flow-ai-web
[x] Keycloack setup for forms-flow-bpm
[x] Backup and restore of dev DB (This is to test if the backup and restore works fine for the rollback plan)

Attached is the latest(V 1.1) deployment document for the Fee release.
https://app.zenhub.com/files/358004325/76902343-0413-4f71-8a5f-b3a9d05c31a1/download
Attached is the V 1.0 deployment document for the Fee release.
https://app.zenhub.com/files/358004325/2ffafc14-efbc-4517-b151-848ead55466b/download

Vanity URL and related SSL updates is moving to another ticket, since its not ready as of Release date(15/12) . Plan is to go with default OCP route host address/url for this release. @divyav-aot  , @sumathi-thirumani-aot , @lmullane


Safari type number display issue (and password)

There's a display issue for input type number in Safari (10.1.2 Sierra) where the base of the numbers is masked.

Also, password dots are rather low vertically.
Nice job, I'll try it in my next project.

Thanks for reporting this!


macOS Mojave issue

Prerequisites
-macOS Mojave 10.14 Beta
-Macbook 12 inch, Mid 2015 model.
Description
I am fully aware that SpotMenu is not compatible with Mojave YET. However, I just wanted to post this out just in case developers would want to know of an on-going issues. The issue is that once a playlist is over, the SpotMenu icon renders useless. Also when you switch playlist the same thing occurs.
Steps to Reproduce

Open the Spotify first.
Open SpotMenu
Pick the last song of the playlist.
From the SpotMenu, press the skip button.

Expected behavior: [What you expect to happen]
The music should restart to the very beginning or start off on the "Recommended" list.
Actual behavior: [What actually happens]
-The Menu should no longer be functioning properly and the Spotify app will not work.
Reproduces how often: [What percentage of the time does it reproduce?]
100% occurs every time.
Versions
SpotMenu version: [Version of SpotMenu]
SpotMenu 1.8
MacOS version: [Version of MacOS]
10.14

Auto play was on during the time I was using SpotMenu. As for repeat, it was off. Hopefully you can get it fixed. Good luck!


Create simple cli based proxy tester application

problem statement
Create simple cli based proxy tester application

[ ] accept proxy and test on some websites
[ ] Export result to csv file

I've submitted a PR with my attempt at this challenge. (see #80 )

ok @IngoKl


Add support for running git-crypt in a path other than GITHUB_WORKSPACE

Setting a RUN_DIR env var allows executing this from a directory other than GITHUB_WORKSPACE. This may be necessary if you have a build that pulls down multiple repos.

@adevine Thanks for your contribution but I think this might be unecessary: what about using the working-directory: instruction in workflows? It's a shame it's not well explained in GitHub Actions docs.
- name: Install dependencies
        working-directory: docs
        run: |
          npm install

working-directory does not work, just tried it:

BTW. Shouldn't we be using something like this?
with:
  path: docs

just like for example you'd pass path to actions/checkout@v2 .

If this can be merged, it might solve the issue when the action runs on custom runners and the /home/gha-actions-runner/_work/myrepo/myrepo/.git/git-crypt/keys/default is being owned by root:rootresulting in
'/home/gha-actions-runner/_work/myrepo/myrepo/.git/git-crypt/keys/default': Permission denied during checkout and cleanup steps.
@ArnaudRinquin you think it can be merged?

@ArnaudRinquin can this be merged? this would also help us quite a bit - thanks!

There is no activity on this repo for 2 years. I am giving up :(

+1


Render helm subtemplate in addition to parent

Output of helm version:
Client: &version.Version{SemVer:"v2.14.1", GitCommit:"5270352a09c7e8b6e8c9593002a73535276507c0", GitTreeState:"clean"}
Server: &version.Version{SemVer:"v2.11.0", GitCommit:"2e55dbe1fdb5fdb96b75ff144a339489417b146b", GitTreeState:"clean"}

Output of kubectl version:
Client Version: version.Info{Major:"1", Minor:"18", GitVersion:"v1.18.0", GitCommit:"9e991415386e4cf155a24b1da15becaa390438d8", GitTreeState:"clean", BuildDate:"2020-03-26T06:17:09Z", GoVersion:"go1.14", Compiler:"gc", Platform:"darwin/amd64"}
Server Version: version.Info{Major:"1", Minor:"15", GitVersion:"v1.15.7", GitCommit:"6c143d35bb11d74970e7bc0b6c45b6bfdffc0bd4", GitTreeState:"clean", BuildDate:"2019-12-11T12:34:17Z", GoVersion:"go1.12.12", Compiler:"gc", Platform:"linux/amd64"}

I have the following format in one of my charts -
template1.yaml -
kind: ConfigMap
apiVersion: v1
metadata:
  name: alertmanager
  namespace: logging
data:
  config.yaml: |-
  {{- include "alertmanager.configs" . | indent 4 }}

and template2.yaml -
{{ define "alertmanager.configs" }}
  someConfigs:
{{ end }}

When I run helm template everything works correctly and outputs a new template1.yaml in the output dir. How do I get helm template to also render the sub-template template2.yaml in the same dir? Is there a way to output it to a different dir?
Thanks!

Hi @VihanAgarwal97. I'm not quite sure I understand the issue.

Can you please try with a more recent version of Helm 2? v2.16.5 is the most recent version. Please check and confirm this behaviour still exists there first.
Please provide a set of instructions to reproduce the problem you are experiencing. I'm not sure what you mean by "When I run helm template everything works correctly and outputs a new template1.yaml in the output dir". Without a set of steps to reproduce your issue, I cannot tell if you are referring to helm template --output-dir or some other setup.

Thanks.

Here is my config.yaml -
{{ define "alertmanager.configs" }}
global:
  resolve_timeout: 5m
{{ end }}

Here is my configmap.yaml -
kind: ConfigMap
apiVersion: v1
metadata:
  name: alertmanager
  namespace: logging
data:
  config.yml: |-
  {{- include "alertmanager.configs" . | indent 4 }}

When I run the following command
helm template deploy/helm -n test-chart -f deploy/vars/alertmanager.config.values.yaml --output-dir "$workDir"

I check $workDir and I can see that configmap.yaml has been rendered there. However, I don't see config.yaml in the directory. It seems as though helm is rendering config.yaml into configmap.yaml but it doesn't save config.yaml
I hope this clarifies things...

config.yaml has no rendered content. Evaluating that template produces an empty string. Hence nothing will be written to a file. You may want to read up on define and include in the Helm docs.

Sorry I left things out for simplicity but there is templating in the actual file. You can add a random value and see that this behavior persists.
Example:
{{ define "alertmanager.configs" }}
global:
  resolve_timeout: 5m
  foo: {{ .Values.somevalue }}
{{ end }}

On the line above the define, add "hello world" and re-run it. You will see the file, because at that point it will have output. But a define does not produce output unless it is called with a template, and therefore it will not produce a file.

Hi, @VihanAgarwal97 - I have submitted a docs update to capture the clarification above (https://github.com/helm/helm-www/pull/784). At this time we think we have answered the questions posed in this issue, so we will resolve it.
If further questions come up, please open a new issue; however, please note that Helm v2 support is ending, so please ensure you are using Helm v3: https://helm.sh/blog/helm-v2-deprecation-timeline/


Fix some bugs in README.md

These patch takes these changes in README.md below:

Remove one blank line
Update test\config_mock.json to test\configs\config_mock.json
Add authentication field in sample config file
Fix a bug for chapter number

Hi @duglin , could you take a look at this patch? Thanks!

LGTM
ping @mattmcneeney


Update about page with CAuDri-Challenge details and history

Please review the changes to the text (included below) and scan for any wrong facts or inappropriate comments.
The CAuDri-Challenge
The CAuDri-Challenge aims to provide a community driven platform for students to develop their own autonomous model vehicles and compete in a series of driving challenges.
Each team designs and builds a 1:10 scale autonomous vehicle that is challenged to navigate complex rural and suburban scenarios, adhering to traffic rules, recognizing road signs, obeying speed limits, and maneuvering around obstacles.
Community is our core principle as we seek to connect inspired individuals and let them compete. This challenge is for the students by the students!
Who is it for?
Everybody is welcome, however typically teams are from european countries and organized at educational institutions e.g. universities or technical colleges. We do not have an age limit and currently do not require any certificate of enrolment, but please refer to the regulations for the official requirements.
Some History
Many of the teams now competing in the CAuDri-Challenge previously took part in the Carolo-Cup which was a similar student competition hosted annually by the Fakultät für Elektrotechnik, Informationstechnik, Physik at the Technische Universität Braunschweig for many years. Unfortunately, like so many social events, the covid-19 pandemic made it impossible to host a in person competition. After the last in person Carolo-Cup in 2020, the cup took place as an exclusively online event until was discontinued in 2023.
The event was the motivation for students to spend their little free time on their vehicles, without it we had no reason to continue. At a get together at Ulm University in 2023, experiencing cooperation and competition with like minded students once again - the idea to hold our own competition formed as we decided to take matters in our own hands.
We were allowed to build on the mature regulations of the Carolo-Cup (thank you <3!) which we modified to fit our needs.
The CAuDri e.V.
The CAuDri e.V. ("e. V." meaning registered association in German) is the organizer of the CAuDri-Challenge and its the associations purpose to organize the annual challenge. This includes cooperating with teams, institutions and cooperations to host the event, like providing regulated tracks for testing and competing, team ares, prices, moderation and more. Furthermore we want to help new teams on getting started by providing software and hardware resources to lower the beerier of entry.

I fixed some typos and rephresed a few sentences. Feel free to revert any changes.
This sentence hast that LLM vibe again:
"Community is our core principle as we seek to connect inspired individuals and let them compete. This challenge is for the students by the students!"
The CAuDri-Challenge
The CAuDri-Challenge aims to provide a community driven platform for students to develop their own autonomous model vehicles and compete in a series of driving challenges.
Each team designs and builds a 1:10 scale autonomous vehicle that is challenged to navigate complex rural and suburban scenarios, adhering to traffic rules, recognizing road signs, obeying speed limits, and maneuvering around obstacles.
Community is our core principle as we seek to connect inspired individuals and let them compete. This challenge is for the students by the students!
Who is it for?
Everybody is welcome to participate, however most teams are organized at educational institutions e.g. universities or technical colleges in Europe.
We do not have an age limit and currently do not require any certificate of enrollment. Feel free to a look at our regulations for the official requirements.
Some History
Many of the teams now competing at the CAuDri-Challenge previously participated in the Carolo-Cup, a similar student competition hosted by the Fakultät für Elektrotechnik, Informationstechnik, Physik at the Technische Universität Braunschweig for many years.
Unfortunately, the Covid-19 pandemic made it impossible to host an in-person competition. After the last in-person Carolo-Cup took place in 2020, the event was held entirely online until it was discontinued in 2023.
The Carolo-Cup was the motivation for many students to spend their little free time working on their vehicles. Without it, there was no real reason to continue.
At a get-together at Ulm University in 2023, experiencing cooperation and competition with like-minded students once again - the idea to host our own competition formed, as we decided to take matters into our own hands.
CAuDri e.V.
We are CAuDri e.V., a registerd non-profit organization based in Germany. The organization was founded in 2024 with the goal to host the annual CAuDri-Challenge.
In cooperation with our teams, partners and institutions, we can provide our participants with regulated tracks for testing, team areas, prices and a platform to compete against each other.
We also want to help new teams getting started by offering software and hardware resources to lower the entry barrier.


Code run order and image issues

Hello, could you kindly advise me on the best order to run your code? I found the README.md file a bit difficult to follow. Also, I am not very familiar with Docker and was wondering if I need to download the image Nemesis1303/gfedntm before running the code. Thank you in advance for your help!

Hi,
Thank you for reaching out and for your interest in our code. I appreciate your feedback on the README file and have made some updates to make it more user-friendly.
Regarding your question about Docker, it is not necessary to use it to run the code, but it can simplify the process by automating the environment setup and synchronization of the clients and server. If you choose to use Docker, you can build the image using the Dockerfile provided in the repository.
If you prefer not to use Docker, you can create a Python environment and install the necessary dependencies as outlined in the README. However, please note that you will need to make some minor changes to the main file to configure the address for the client and server communication, and in the "federated_avitm.py" / "federated_ctm.py" to update the path to save the models.
Additionally, please keep in mind that our code is still under active development, and we may make changes or updates in the near future.
Please let me know if you have any further questions or concerns.

Thank you very much for your prompt response!(^▽^)  I have been trying to run the code for the last few days, but I kept encountering errors due to my lack of knowledge regarding the order of execution. I will carefully peruse the updated README.md file and give it another shot with the improved code. Once again, thank you very much for your help! : )


oauth issue with ngrok

Hi
I am facing this issue 400 Oauth error invalid_request: The redirect_uri is not whitelisted with ngrok but its work fine over my https staging server. I have checked ngrok urls in Shopify app and credentials in .env file
Using Laravel 5.8.7
ohmybrew/laravel-shopify v6.0.0
URL https://xyzdomain.myshopify.com/admin/oauth/authorize?client_id=361b26bfe15086cae6a0f705031a821d&scope=read_script_tags&redirect_uri=https%3A%2F%2Fcb3169ec.ngrok.io%2Fauthenticate
Error

Ngrok has odd issues with HTTPS even for webhooks and such. There's nothing I can do on my end to help with this.

okay, I am closing this issue.


Update CI

Build, test & package NuPkg into GitHub Package.

Create a new repo that downloads LLVM, builds it the way we want and releases binaries, that we can use here.


Consider deprecating 1d CubicSpline interpolation for Akima1D

Akima1D is another Scipy interpolating routine that provides exact point fitting while also reducing the chances of a the twice differentiable cubic splines from overshooting the fit. This is more useful with thin spectra line or otherwise sharp interpolation.

Currently, the cubic spline has been replaced with general splines, powered by scipy.interpolate.PchipInterpolator
This is because Akima1D does not seem to implement extrapolation yet.

Fix requires Scipy v 1.14.

Fixed as the Scipy build was pushed.


Improved: code to apply the filter on all the category pages (#561)

Related Issues
#561
Closes #561
Short Description and Why It's Useful
The changes will remove the page number from the route which is causing the page change instead of product update.
Screenshots of Visual Changes before/after (If There Are Any)

IMPORTANT NOTICE - Remember to update CHANGELOG.md with description of your change
Contribution and Currently Important Rules Acceptance

[x] I read and followed contribution rules

Maintained the changelog for this PR here: https://github.com/vuestorefront/vsf-capybara/pull/573

Maintained the changelog for this PR here: https://github.com/vuestorefront/vsf-capybara/pull/573

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.3 out of 4 committers have signed the CLA.:white_check_mark: ymaheshwari1:white_check_mark: AishwaryShrivastav:white_check_mark: Fifciu:x: FifciuuFifciuu seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.3 out of 4 committers have signed the CLA.:white_check_mark: ymaheshwari1:white_check_mark: AishwaryShrivastav:white_check_mark: Fifciu:x: FifciuuFifciuu seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.

Closing this PR as the code improvements for the issue has been handled in the vue storefront PR.


Feature - Enhance Button active state

Is your feature request related to a problem? Please describe
When user hover a button , it will nicely make a effect kind of pop out of screen but on clicked state it will do nothing .
Before:
https://github.com/CircuitVerse/CircuitVerse/assets/77102885/aaf1c28d-9333-47dc-bc20-f288d246261e
Describe the solution you'd like
So if on hover , it looks like poping out of screen . So on click, it will go inside the screen.
PLUS:
it looks like button go inside the screen with box-shadow effect.
After:
https://github.com/CircuitVerse/CircuitVerse/assets/77102885/a27b7d18-2466-4f17-a4ec-717071d668c6
Describe alternatives you've considered
No response
Additional context
No response
Are you working on this?
Yes

Hi @shauryag2002 I think this behavior of the button is normal for all primary buttons of the website and the hover animation. Just changing it in one place will not be worth much ig.
@vedant-jain03 @VaibhavUpreti what do you think on this ?

@tanmoysrt we can change primary button active state and it will work for every button.
https://github.com/CircuitVerse/CircuitVerse/assets/77102885/7a7c1bd7-723e-4d86-92f1-77c72d713f17


Make runnable again

Initialize them when they are needed, not on startup. This is THREAD-SAFE since C++11.
Chatterino2 now runs on Linux again

it compiled for windows and I didn't check after I refactored everything on my linux vm ¯_(ツ)_/¯


fix: nginx fails to forward requests to new pods

Signed-off-by: ajaumet<EMAIL_ADDRESS>
What this PR does:
This PR fixes NGINX not being able to reach newly created pods after deployment if NGINX is not reloaded in the process.
Which issue(s) this PR fixes:
Fixes #
Checklist

[ x] CHANGELOG.md updated - the order of entries should be [CHANGE], [FEATURE], [ENHANCEMENT], [BUGFIX]

Doesn't nginx re-resolve dns names, now? I believe we added this in #366. What you are doing is an "hack" so that nginx always re-resolves the dns name since the information is stored in variable, right?

After some checks on our side, this seems to be resolved. I'm closing this PR.


Add @adelbertc as co-maintainer

What do you say @adelbertc? Are you interested? You probably have as much idea as anyone how this project should go.

Sounds good :-)

Done. Thanks!


EXDEV: cross-device link not permitted

hello, I've been trying to record a vid on my pc and I am gettingt the following error:
Error:
tape gif --local=./ --format=md
📱 Device: [android] herolte (samsung, SM-G930F, heroltexx, universal8890) - SDK 26 (ad0617020ca188820a)
Recording started in /tmp/LocativeDupGranulateInhalation-raw.mp4.

File saved and ready to upload!
📼 Processing your tape... done
🚴🏽♀ Making your gif...... ✔
›   Error: EXDEV: cross-device link not permitted, rename
›   '/tmp/LocativeDupGranulateInhalation.gif' ->
›   'LocativeDupGranulateInhalation.gif'

from what I've seen this error happens when trying to rename across partitions.
in my case /tmp and my project dir are on two different disks (hope it helps)

os: linux / DISTRIB_DESCRIPTION="Ubuntu 18.04.5 LTS"
arch: x64

thanks! dan

Thanks for raising this @danielzzz - we'll look into it :). Could I ask how important it is to have the file locally for you (and why?)? You could always late tape upload (without --local) and download if necessary
To be clear, we will look to fix this, just trying to understand your motivation :)

no special case, it's just if I'd need to further process it withouth having to upload it and then download it back to my pc.
thanks!

Hey @danielzzz, just published a potential fix for this.
You can try it if you wish, by installing the pre-release version
npm install -g tape-cli@next

Please let me know if it works for you, and I'll let you close the issue 👍

yep! it seems to be working! thank you very much!
I don't want to stretch it, but it would be great to be able to set the file name, not just a directory ;)
thanks!

Awesome :) - happy to be help! Please do help us get the word out by sharing with your friends/colleagues.
I'll create an issue for local flag enhancements, thank you for the great bug report!


Jesse: Watch maximanutrition.com

Jesse requests the watch of the watch_keyword maximanutrition\.com. See the MS search here and the Stack Exchange search in text, in URLs, and in code.

maximanutrition\.com has been seen in 1 true positive, 0 false positives, and 0 NAAs.

Approved by cigien in Charcoal HQ


rewrite cmyk to rgb conversion

We got a request to not use the cmyk to rgb conversion code from poppler. This code rewrites that code and removes it.

@pdfjsbot test

@pdfjsbot test

@pdfjsbot test

@pdfjsbot test

:) trying again
@pdfjsbot test

@pdfjsbot test

@pdfjsbot makeref


Audio does not restart after a pause

This happens a large percentage of the time, may 50%?  But not 100%.
If I am streaming audio, and I initiate a pause from my code, the audio stops as expected.  And the pause command makes it to my phone successfully.  But when I try to resume, I get no audio.  The play command does reach my phone successfully, but no audio.  If I then attempt to pause again, nothing happens, and the pause command does not reach my phone.  Gut feel is i2s ring buffer, but no evidence for that.
[ 22946][I][BigRed2.ino:1008] run(): Got msg_pause during play, Pausing
[ 22947][I][BigRed2.ino:964] run(): State: PAUSE
[ 23059][I][BluetoothA2DPSink.cpp:372] app_task_handler(): [BT_API] app_task_handler, APP_SIG_WORK_DISPATCH sig: 1
[ 23060][I][BluetoothA2DPSink.cpp:869] av_hdl_avrc_evt(): [BT_AV] AVRC passthrough rsp: key_code 0x46, key_state 0
[ 23081][I][BluetoothA2DPSink.cpp:372] app_task_handler(): [BT_API] app_task_handler, APP_SIG_WORK_DISPATCH sig: 1
[ 23081][I][BluetoothA2DPSink.cpp:869] av_hdl_avrc_evt(): [BT_AV] AVRC passthrough rsp: key_code 0x46, key_state 1
[ 26194][I][BluetoothA2DPSink.cpp:372] app_task_handler(): [BT_API] app_task_handler, APP_SIG_WORK_DISPATCH sig: 1
[ 26194][I][BluetoothA2DPSink.cpp:645] handle_audio_state(): [BT_AV] A2DP audio state: Suspended
[ 26202][I][BigRed2.ino:480] audio_state_change(): ESP32 state changed to: 0
[ 26208][I][BigRed2.ino:489] audio_state_change(): ESP32:  Audio Paused
[ 26215][W][BluetoothA2DPSink.cpp:663] handle_audio_state(): [BT_AV] i2s_stop
[ 26222][I][BluetoothA2DPSink.cpp:1323] bt_i2s_task_shut_down(): [BT_AV] BtI2STask shutdown
[ 26194][I][BigRed2.ino:649] run(): LCD PLAY -> PAUSE
[ 29379][I][BluetoothA2DPSink.cpp:512] app_gap_callback(): [BT_AV] event: 13
[ 30104][I][BigRed2.ino:978] run(): State PAUSE: Got msg_play, moving to PLAY
[ 30104][I][BigRed2.ino:991] run(): PLAYING!!
[ 30142][I][BluetoothA2DPSink.cpp:372] app_task_handler(): [BT_API] app_task_handler, APP_SIG_WORK_DISPATCH sig: 1
[ 30143][I][BluetoothA2DPSink.cpp:869] av_hdl_avrc_evt(): [BT_AV] AVRC passthrough rsp: key_code 0x44, key_state 0
[ 30194][I][BluetoothA2DPSink.cpp:372] app_task_handler(): [BT_API] app_task_handler, APP_SIG_WORK_DISPATCH sig: 1
[ 30194][I][BluetoothA2DPSink.cpp:645] handle_audio_state(): [BT_AV] A2DP audio state: Started
[ 30201][I][BigRed2.ino:480] audio_state_change(): ESP32 state changed to: 2
[ 30208][I][BigRed2.ino:483] audio_state_change(): ESP32:  Audio Started
[ 30214][I][BluetoothA2DPSink.cpp:512] app_gap_callback(): [BT_AV] event: 13
[ 30215][I][BluetoothA2DPSink.cpp:1307] bt_i2s_task_start_up(): [BT_AV] BtI2STask Started
[ 30221][I][BluetoothA2DPSink.cpp:512] app_gap_callback(): [BT_AV] event: 13
[ 30229][I][BluetoothA2DPSink.cpp:657] handle_audio_state(): [BT_AV] i2s_start
[ 30243][I][BigRed2.ino:636] run(): LCD PAUSE -> PLAY
[ 30253][I][BluetoothA2DPSink.cpp:372] app_task_handler(): [BT_API] app_task_handler, APP_SIG_WORK_DISPATCH sig: 1
[ 30258][I][BluetoothA2DPSink.cpp:869] av_hdl_avrc_evt(): [BT_AV] AVRC passthrough rsp: key_code 0x44, key_state 1

I think the cases where it works are cases where I restart before  bt_i2s_task_shut_down(): [BT_AV] BtI2STask shutdown happens.

Tracked this down.  Introduced in (Redesign Reconnect

As far as I can tell, the logs look identical when it works vs when it fails.  Log level set to INFO.

I can reproduce the issue

Please change log statement on line 1239 to LOGD

I agree: LOGI is too high. The change has been comitted

This should be corrected in the latest version: See https://github.com/pschatzmann/ESP32-A2DP/pull/259


Warn about using pipx installation then there's venv in cwd

Hi @droserasprout , can I work on this please?

Hi, Can I work on this?

@droserasprout I  am familiar with this issue can i work on this?


*: rename repo from pingcap/ticdc to pingcap/tiflow

What problem does this PR solve?
Finish step-6 in https://github.com/pingcap/tiflow/issues/3749 for release-5.1
What is changed and how it works?

Run the following script

sed -i "s/github.com\/pingcap\/ticdc/github.com\/pingcap\/tiflow/g" $(find . -type f|grep -vE "bin/|.git")
sed -i "s/pingcap\/ticdc/pingcap\/tiflow/g" $(find . -type f|grep -vE "bin/|.git")
make fmt

Change project name from ticdc to tiflow in Makefile

Check List
Tests

Unit test
Integration test

Release note
None

/run-all-tests

/merge

/run-integration-test


about person tracking algorithm for AVA dataset

Hi, I want to track the person in adjacent frame，and I have detected the person bbox in each keyframe, could you tell me how to track them？I haven't found it in your paper, please help, thank you!

In part 4.3.of the paper(Instance Representations), You have mentioned that you adopted the algorithm described in [AVA: A video dataset of spatio-temporally localized atomic visual actions] to track person. I want to know more details about it, did you train a person reid network and get person embeddings first, and then match them with the Hungarian algorithm? Is it convenient for you to provide the relevant code or finetuned model? Please help, thank you.

Hi @Chuckie-He , Thanks for your question!
I followed https://arxiv.org/pdf/1705.08421v3.pdf and used [37] of the paper for tracking (i.e. https://arxiv.org/pdf/1611.08563.pdf). Thus no additional feature/embedding is required. It only uses IOU + scores.
(Please note that what I just shared is "v3" of the paper, and I just realized that in the latest version they used something else. Sorry for the confusion. )

@chaoyuaw thank you for your reply, but in the paperhttps://arxiv.org/pdf/1611.08563.pdf，it used the class specific scores for tracking and generated action tubes for each class. do you use detection scores instead?

@Chuckie-He, sorry for the late reply. Yes, I used just detection scores.

@chaoyuaw sorry, I don't understand it. so your way is to select the box which has the highest detection score and IOU is greater than a threshold when matching, but how can you ensure that they are the same instance?

@Chuckie-He, This indeed is a very trivial tracker and it doesn't consider visual similarity between boxes. However, in cases of "movies", this turns out to work okay because for movies, typically the camera is stationary or at least doesn't move fast, so tracking is quite easy --- just matching the box location based on IOU already gives good results. If your videos have more motion, I do think you might want to use a better tracker.


Make damageable mobs burn to ashes on too much heat damage

About the PR

1500 heat damage and mob will turn in ash
Why / Balance

Technical details

Media

[ ] 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:

tweak: Mobs will burns to ashes if they reach 1500 heat damage.

no more 5.6k heat damage CE
Assuming this applies to players yes?

i think it would be cooler if it turned you into a charred corpse rather than just ash

What about humans, will they turn to husks?

This didn't work when I tried to test it

Working on a burn body behavior to support this


Carousel switch to default visible

When Carousel is not visible the movement stops (done) and active slide changes to default or first.

:tada: This issue has been resolved in version 0.12.12 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Fix form autosave docs

Documentation
Description
Found out that the autosave form example will only work with data-reflex-dataset="combined", thanks @RolandStuder
Checklist

[X] My code follows the style guidelines of this project
[X] Checks (StandardRB & Prettier-Standard) are passing

Nice catch!
I'm pretty sure that the changelog is regenerated automatically, changing it directly seems like it won't stick?
QQ: does data: {reflex_dataset: "combined"} actually output data-reflex-dataset? If so, I had no idea. 😸

Oops, I have no idea how that changelog change slipped in 🤯
I copied this straight from my source, so I guess yes?!


Fixed animation with wierd animation due bad times

Signed-off-by: ahcorde<EMAIL_ADDRESS>🦟 Bug fix
Fixes #
Summary
Sometimes the assimp rotation value returns a invalid mTime. This lines should check this
wrong behaviour

Fixed

Checklist

[ ] Signed all commits for DCO
[ ] Added tests
[ ] Updated documentation (as needed)
[ ] Updated migration guide (as needed)
[ ] Consider updating Python bindings (if the library has them)
[ ] codecheck passed (See contributing)
[ ] All tests passed (See test coverage)
[ ] While waiting for a review on your PR, please help review another open pull request to support the maintainers

Note to maintainers: Remember to use Squash-Merge and edit the commit message to match the pull request summary while retaining Signed-off-by messages.

replaced by this other PR https://github.com/gazebosim/gz-common/pull/479


When scanning a real passport, it has a hard time to scan the MRZ

Not sure why. I have both a Canadian and US passport. The Canadian did scan on the first try. I got one shot at the US but subsequent attempts failed. I just get this warning in the console:
Scan quality insufficient : 0.0
2020-12-21 12:03:57.630215-0500 PassportScanner[1519:784903] [Unknown process name] CGImageCreate: invalid image alphaInfo: kCGImageAlphaNone. It should be kCGImageAlphaNoneSkipLast
- Start recognize
Scan result : bylaw 1w xf I  L

I have ideal light, the code appears clearly on the iPhone 11 that I'm using.

As you can see the Scan result shows some gibberish.
For the scan I am using the tesseract library
I have seen before that certain passports have bad scan results.
I added some filters, but probably the standard does not work well with US passports
You could try playing around with the parameters that are trying to improve the scan result
You can find these in the lines below line 144 in
https://github.com/evermeer/PassportScanner/blob/master/Pod/PassportScannerController.swift
If you are able to set better parameters, then I would really like to hear what those are.

As you can see the Scan result shows some gibberish.
For the scan I am using the tesseract library
I have seen before that certain passports have bad scan results.
I added some filters, but probably the standard does not work well with US passports
You could try playing around with the parameters that are trying to improve the scan result
You can find these in the lines below line 144 in
https://github.com/evermeer/PassportScanner/blob/master/Pod/PassportScannerController.swift
If you are able to set better parameters, then I would really like to hear what those are.


Makes API version selector respect dark-mode

Makes API version selector drop-down respect dark-mode by setting background-color: $off-black;.
Fixes #114.

@imjuangarcia if you're good with this, I am.


Allow per-player world borders

This was discussed previously on IRC.
Currently, the World Border API follows Vanilla, in that only one border exists per world.
Allowing a different world border to set for each player, similar to setting a different scoreboard per player in Bukkit, would afford tremendous flexibility to plugins.
Potential use cases

At the beginning of a match, players are given the same world border as their teammates, preventing interaction with the opposing team for some amount of time.
Limiting individual players to specific regions, without resorting to teleporting them back when they attempt to leave.

@mbaxter and I agreed that this was technically possible (nothing in the protocol would prevent this).
However, @Kobata was against this, arguing that it would be difficult to implement.
Other ideas:

Allow per-entity world borders. Without this, the problem arises of non-player entities being affected by different world borders.

(I apologize if I got any information wrong regarding the discussion in IRC)

I think it's time to revisit this issue.
Mixins have changed significantly since I first brought this up. With injection support, it's much more feasible to accomplish this in the Forge implementation.

This feature is related to the following issue: http://issues.spongepowered.org/youtrack/issue/SPONGE-54

@Kobata: Any thoughts on this?

Insert rant about overuse of injections
(We should be being as non-invasive as possible for update reasons)

I'll update the Mixins you worry about good api.

That's true, but the official implementation is only one of several. As much as possible, we shouldn't let the specific challenges for one particular implementation influence API design (assuming the idea is technically feasible protocol or client wise).

@Kobata
There is a strong difference between injections and overwrites. Were we just overwriting everything I'd understand your rant.

@Zidane From the perspective of just updating MC, I'd put the order of 'ease of updating' source patch [forge/cauldron] -> overwrite -> injection. The first two are very easy to see exactly what changed on both sides, and not amazingly hard to update, if rather much grunt work. Injections on the other hand, while nice for other reasons, are very likely to break in strange ways and require more detailed knowledge on the part of the person updating them.

@Kobata
Injections are necessary to not break other mods. Your perspective is noted but we've come to terms a while back of the checks and balances of overwriting everything.

After looking at the World Border code, I understand why Kobata is against this. I feel this would be extremely difficult to implement and cause a decrease in performance due to the checks that will be constantly performed.

Would it be possible to just send the effect to the client, and leave plugins to re-implement the actual cancelling of move events / damage events?
This would additionally give them more control.

Should the world border be for different permission groups or scoreboard teams, so that even entities can have their own world border? The border may be stored in the permission or the scoreboard.

so that even entities can have their own world border

There's a point at which you must stop thinking whether you can and think about whether you should.
Seriously, this issue is summed up with Players having the ability to have their own rendered WorldBorder, since it's perfectly able to control from the server as to what the world border is per player, just no one has written an API for it, nor an implementation.

How about the API be something like this (note that this hypothetical API would allow both per-player AND per-world borders):

Player/Entity and maybe World/Extent inheriting from a supposed Borderable interface which contains some methods like getBorder() returning an Optional<WorldBorder> and setBorder(WorldBorder), or a single method called border() returning some sort of BorderData, both cases would allow both getting and setting the border.
If not the above, maybe a getWorldBorder() in Player/Entity which returns either a WorldBorder or an Optional<WorldBorder> (there is already a getWorldBorder() method in World which could be moved to Extent, if possible).
ChangeBorderEvent to allow plugins to track the change of the world border. It would contain a getPreviousBorder() for the border that is in use (and is being replaced) and getNewBorder() for the border that is going to be used. It could have Player/Entity and World/Extent sub-events, which are fired depending on which border was changed.


Renaming corrupt data files fails

Summary:
When the db engine detects a corrupt tsm data file upon db startup procedure the renaming of that file fails due to a file lock on the data file created by the db engine itself.
Environment:
OS: Windows 7 x86
InfluxDb: 1.7.3
Expected behaviour:
The renaming of the corrupt data file succeeds. No file access violation error occurs.
Actual behaviour:
At startup the db engine reads every data file and checks its integrity. When the engine detects a corrupt file it tries to rename that file while the file stream for reading that file is still open. This results in a file access violation (The process cannot access the file because it is being used by another process) error.
Steps to reproduce:

Stop a running influx db
Manually corrupt a data (tsm) file on disk by modifying its content (e.g. delete the content and add a random string)
Start influx db again and monitor startup log entries

Suggested fix:
The file stream for reading the data file needs to be closed prior to attempting to rename it.
Related log entries:
influxdb.log

This may already be addressed by InfluxDB 1.7.7.

@it-vit please update to the latest influxdb and reopen if it is still an issue.

The issue still exists after updating to influxdb 1.7.7 by compiling the source code from scratch with latest Version 1.12.7 of golang on win x86 architecture.
Related log lines: (For full log output see attached file)
[2019-08-19 21:25:45,273] [2019-08-19 23:25:45.273] INFO  Influx (7) - {"lvl":"info","ts":"2019-08-19T21:25:45.263715Z","msg":"InfluxDB starting","log_id":"0HMxBhgl000","version":"1.7.7","branch":"HEAD","commit":"f8fdf652f"}
[2019-08-19 21:25:45,274] [2019-08-19 23:25:45.274] INFO  Influx (7) - {"lvl":"info","ts":"2019-08-19T21:25:45.263715Z","msg":"Go runtime","log_id":"0HMxBhgl000","version":"go1.12.7","maxprocs":3}
…..
[2019-08-19 21:25:45,445] [2019-08-19 23:25:45.445] ERROR Influx (7) - {"lvl":"error","ts":"2019-08-19T21:25:45.441733Z","msg":"Cannot read corrupt tsm file, renaming","log_id":"0HMxBhgl000","engine":"tsm1","service":"filestore","path":"c:\RuntimeDataDir\PCU\db\influxdb\data\DataHistory\short\0\000000008-000000002.tsm","id":0,"error":"indirectIndex: not enough data for max time"}
[2019-08-19 21:25:45,446] [2019-08-19 23:25:45.446] ERROR Influx (7) - {"lvl":"error","ts":"2019-08-19T21:25:45.441733Z","msg":"Cannot rename corrupt tsm file
influxdb.log
","log_id":"0HMxBhgl000","engine":"tsm1","service":"filestore","path":"c:\RuntimeDataDir\PCU\db\influxdb\data\DataHistory\short\0\000000008-000000002.tsm","id":0,"error":"rename c:\RuntimeDataDir\PCU\db\influxdb\data\DataHistory\short\0\000000008-000000002.tsm c:\RuntimeDataDir\PCU\db\influxdb\data\DataHistory\short\0\000000008-000000002.tsm.bad: The process cannot access the file because it is being used by another process."}
[2019-08-19 21:25:45,447] [2019-08-19 23:25:45.447] INFO  Influx (7) - {"lvl":"info","ts":"2019-08-19T21:25:45.442733Z","msg":"Failed to open shard","log_id":"0HMxBhgl000","service":"store","trace_id":"0HMxBi80000","op_name":"tsdb_open","db_shard_id":0,"error":"[shard 0] cannot rename corrupt file c:\RuntimeDataDir\PCU\db\influxdb\data\DataHistory\short\0\000000008-000000002.tsm: rename c:\RuntimeDataDir\PCU\db\influxdb\data\DataHistory\short\0\000000008-000000002.tsm c:\RuntimeDataDir\PCU\db\influxdb\data\DataHistory\short\0\000000008-000000002.tsm.bad: The process cannot access the file because it is being used by another process."}
…...
[2019-08-19 21:25:45,460] [2019-08-19 23:25:45.460] INFO  Influx (7) - {"lvl":"info","ts":"2019-08-19T21:25:45.443733Z","msg":"Listening for signals","log_id":"0HMxBhgl000"}
Thanks for Looking into this!

Please reopen that issue

Please reopen that issue, patch as follows
+++ b/tsdb/engine/tsm1/file_store.go
@@ -542,6 +542,8 @@ func (f *FileStore) Open() error {
                        // the file, and continue loading the shard without it.
                        if err != nil {
                                f.logger.Error("Cannot read corrupt tsm file, renaming", zap.String("path", file.Name()), zap.Int("id", idx), zap.Error(err))
+                               file.Close()
+
                                if e := os.Rename(file.Name(), file.Name()+"."+BadTSMFileExtension); e != nil {
                                        f.logger.Error("Cannot rename corrupt tsm file", zap.String("path", file.Name()), zap.Int("id", idx), zap.Error(e))
                                        readerC <- &res{r: df, err: fmt.Errorf("cannot rename corrupt file %s: %v", file.Name(), e)}

@runner-mei: Thanks for the fix!
@russorat: Please reopen. Thanks

closed on https://github.com/influxdata/influxdb/pull/15608

Thanks!

Can fix #15527?


[UI - Alerts] Create check - when adding a threshold with a negative value, leading minus '-' sign is ignored

Steps to reproduce:
List the minimal actions needed to reproduce the behavior.
In the alerts section

Click  Create > threshold alert
Click Configure Check
Click add "Crit" threshold
Choose the type "is inside range"
In the lower input type "-123"

Expected behavior:
Describe what you expected to happen.
Expected the value to be "-123"
Actual behavior:
Describe What actually happened.
The leading "-" sign is discarded and the value is "123"
work around
Enter the positive value then use arrow key to move cursor to head of input and add "-".  Or use control's increment, decrement arrows.  (However, not a testable or recommended permanent solution.)
Environment info:

System info: Run uname -srm and copy the output here

Linux 4.15.0-96-generic x86_64

InfluxDB version: Run influxd version and copy the output here
Detected in nightly builds

version=nightly commit=9495ec1c4e build_date=2020-04-17T08:20:51Z

Other relevant environment details: Container runtime, disk info, etc
Browser: Chrome 80

Config:
Copy any non-default config values here or attach the full config as a gist or file.
Started with e2e testing enabled.
--e2e-testing=true

Nightly Tests
Wanted to add the negative value use case to nightly tests.

Can't reproduce this. Gonna close this out


Add JSON Decoder for HTML events

Hi Ossi,
It is useful to have these nicely defined key types available for Html
events as well as subscriptions. This commit adds a simple Json
decoder function that takes a keyUp/keyDown event and returns a
Keyboard.Key.
I have also added an example file that demonstrates its usage.
Hope that it's all ok.
ps. Thanks for this awesome package!

Thank you, @rohanorton!


Fix Issue 8472 - Replace walkLength() with an improved count()

I am not sure how the deprecation cycle works, but I deprecated the first walkLength overload which is obsolete. I don't know if the walkLength overload which walks up to a given number of elements should be deprecated too. I think that the best way is to deprecated one overload of walkLength and keep the other.

@RazvanN7 See https://issues.dlang.org/show_bug.cgi?id=11429

I suggest keeping the remaining walkLength and deprecating the one that count can take care off

I'm guessing the jenkins failure is due to the fact that the use of deprecated functions is forbidden in phobos?

I'm guessing the jenkins failure is due to the fact that the use of deprecated functions is forbidden in phobos?

No it's simply broken atm (or has a lot of transient failures), however CircleCi isn't:
std/range/primitives.d(1656:6)[warn]: Public declaration 'walkLength' is undocumented.

due to the fact that the use of deprecated functions is forbidden in phobos?

Wishful thinking -> https://github.com/dlang/phobos/pull/5546

@wilzbach seems kind of awkward to document deprecated functions.

Please do not deprecate walkLength. If count can do what what walkLength does, then fine. But walkLength has been around since the beginning of ranges in Phobos, and it will break a lot of code if folks are forced to change their code, because walkLength has been deprecated. This seems like a reasonable optimization to count, but I don't think that anything should be done to walkLength because of it.

@wilzbach seems kind of awkward to document deprecated functions.

-> https://github.com/dlang-community/D-Scanner/issues/492

@RazvanN7 I suggest to split this PR and submit the optimization for count in another as that one isn't controversial and can be merged quickly.

Also, if walkLength isn't being deprecated, it would be better for count to simply call walkLength in the new overload rather than reimplementing it, because there's less code duplication that way.

@RazvanN7 deprecation of anything is a tall order and should be confined to its own pull request (as opposed to mixed with other work). I'll close this and comment in the other.


Is it possible to source/include multiple URL files from the urls configuration?

I see you can split up the configuration, but is this possible with the URLs? Essentially I would like to share my URLs publicly but there's a few I would like to hide.

That's been on the to-consider list for a while: #118 It's clear that people want this feature, but I haven't gotten around to think how to best integrate it into the urls file, especially in light of #83
I'm closing this in favour of #118.