MINOR: Remove spurious sleep in ConsumerCoordinatorTest

Follow up from here https://github.com/apache/kafka/pull/12349#discussion_r925138410
Committer Checklist (excluded from commit message)

[ ] Verify design and implementation
[ ] Verify test coverage and CI build status
[ ] Verify documentation (including upgrade notes)

Triggering another jenkins build to make sure it passes the tests.
https://ci-builds.apache.org/job/Kafka/job/kafka-pr/view/change-requests/job/PR-12500/2/

Ah, sorry for the delay. I think time.sleep() here is needed here to make the pollTimer timeout. If we removed this, will hang in the coordinator.onJoinPrepare

Ah, sorry for the delay. I think time.sleep() here is needed here to make the pollTimer timeout. If we removed this, will hang in the coordinator.onJoinPrepare

@aiquestion , thanks for the explanation. In that case, don't you think we should make the timer timeout to 0? That is:
Timer pollTimer = time.timer(0L);
// no need to make the timeout expired here
// time.sleep(150);
boolean res = coordinator.onJoinPrepare(pollTimer, generationId, memberId);
assertFalse(res);

If you think this is a good suggestion, could you open another PR to improve it? Thanks.

Weird! Looks like the test still stuck. I'll take a look after my vacation.


[feature]: MintAsset RPC supports user provided chain anchor PSBT

Currently, when minting assets, the genesis anchor transaction is generated using a PSBT that is not provided by the user. Specifically, the method ChainPlanter.fundGenesisPsbt generates the PSBT internally.
Proposed Feature
Introduce the ability for users to batch mint assets using a user-provided anchor PSBT. This enhancement involves the following changes:

User-Provided PSBT: Modify the MintAsset RPC endpoint to accept a PSBT provided by the user as an argument.
Anchor Output Index: Add an argument to specify which output in the anchor transaction should be used for anchoring the assets.
Validation: Implement validation to ensure the provided PSBT has a sufficient number of outputs necessary for asset anchoring.

Motivation
Allowing users to supply their own PSBTs when minting assets provides greater flexibility and control over the transaction process. Additionally, this is some of the work necessary to allow users to sign the minting transaction using cold storage keys, enhancing security by keeping private keys offline during the signing process.

Maybe we close this in favour of https://github.com/lightninglabs/taproot-assets/issues/721#issuecomment-1978636746 ?


Initialization import false positives

According to the reference,

To import a package solely for its side-effects (initialization), use the blank identifier as explicit package name:
import _ "lib/math"

However, if I run gas against the following piece of code
package main

import (
	_ "crypto/md5"
	"fmt"
)

func main() {
	fmt.Println("MD5 is not used here")
}

I will get the following output

iambrosie@xxx:~/Documents/GoCode/src/github.com/iambrosie/weakcrypto$ gas main.go
0
Results:
[main.go:4] - Use of weak cryptographic primitive (Confidence: HIGH, Severity: HIGH)
> _ "crypto/md5"
Summary:
Files: 1
Lines: 10
Nosec: 0
Issues: 1

Thanks. We are looking at using the typechecker to resolve this class of bug.


Fix for an error reporting bug, plus removal of some cruft

the REST service and the run.py script weren't consistent about the name of the field in the response for the error message
a bunch of the old workspace upload test code somehow got resurrected in the new repo
ditto for the old prodgraph directory, which had been renamed to workspace_builder
fixed a build error with jinja2 by adding it to pyproject.toml

This has fixes for https://github.com/runwhen-contrib/runwhen-local/issues/216


Enqueue final print jobs for a UserContest & its dependents when its frozen bit changes

Depends on #46.
Full print worker UI will be implemented later.
This also invalidates final print jobs for a UserContest (but not its dependents!).
The merged PDFs are available under media. This is already available in dev env with docker as per https://github.com/ioi-2022/translation/blob/master/nginx/conf.d/ioi.conf#L15.
Some TODOs still remain:

Should we create fresh PDF like we do for draft print jobs to ensure we don't change PDFs attached to (existing) final print jobs?
What to do with dependent UserContests when one gets thawed? Should be trivial if we decide to generate fresh PDFs for (1)
Should we invalidate finished jobs?

Should we create fresh PDF like we do for draft print jobs to ensure we don't change PDFs attached to (existing) final print jobs?

Maybe no need to do this. This way merged PDFs for a country will be always the same for all countries which require them.

What to do with dependent UserContests when one gets thawed? Should be trivial if we decide to generate fresh PDFs for (1)

By not generating fresh PDFs, dependent UserContests will automatically get the latest (most recently updated) merged PDFs.

Should we invalidate finished jobs?

Don't we have DONE job state for this?

Should we create fresh PDF like we do for draft print jobs to ensure we don't change PDFs attached to (existing) final print jobs?

Maybe no need to do this. This way merged PDFs for a country will be always the same for all countries which require them.

What to do with dependent UserContests when one gets thawed? Should be trivial if we decide to generate fresh PDFs for (1)

By not generating fresh PDFs, dependent UserContests will automatically get the latest (most recently updated) merged PDFs.

Is there any concern with printed documents not matching the document linked in the worker page (due to updated translation)?

Should we invalidate finished jobs?

Don't we have DONE job state for this?

Right, I think we decided to leave finished jobs behind. I suppose my question is whether we should invalidate those that haven't been printed. If we don't generate fresh names for merged PDF and keep updating the file, the pending jobs will automatically use the updated translation later.

@raisfathin Updating a translation after it's been finalized should be a very very rare case which can be handled manually on case-by-case basis. I think the current solution should suffice for our purposes.


QSPI: Unable to build the project when introduced DMA into external flash interfacing   #DMA #QSPI #STM32H743

@Shrini-007 Please rework your issue description. Having an image makes this quite hard to read (and potentially impossible for people with strong visual impairment)

Sorry, for inconvenience....So here it goes
I am working on the external flash on QSPI interface.
I am able to read/write the external flash successfully by using interrupt method.
Now I am trying the same with DMA, but as soon as I build my project after enabling the DMA in .dts file I am getting this error.
Error Message start:
[221/287] Building C object zephyr/drivers/flash/CMakeFiles/drivers__flash.dir/flash_stm32_qspi.c.obj
FAILED: zephyr/drivers/flash/CMakeFiles/drivers__flash.dir/flash_stm32_qspi.c.obj
ccache /home/shri/zephyr-sdk/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc -DBUILD_VERSION=zephyr-v2.7.2 -DCORE_CM7 -DHSE_VALUE=25000000 -DKERNEL -DPB_MAX_REQUIRED_FIELDS=64 -DSTM32H743xx -DUSE_FULL_LL_DRIVER -DUSE_HAL_DRIVER -D_FORTIFY_SOURCE=2 -D__PROGRAM_START -D__ZEPHYR_SUPERVISOR__ -D__ZEPHYR__=1 -I/home/shri/rcg2/zephyr/include -I/home/shri/rcg2/build/zephyr/include/generated -I/home/shri/rcg2/zephyr/soc/arm/st_stm32/stm32h7 -I/home/shri/rcg2/zephyr/lib/util/fnmatch/. -I/home/shri/rcg2/zephyr/drivers -I/home/shri/rcg2/zephyr/soc/arm/st_stm32/common -I/home/shri/rcg2/zephyr/subsys/settings/include -I/home/shri/rcg2/modules/hal/cmsis/CMSIS/Core/Include -I/home/shri/rcg2/modules/hal/stm32/stm32cube/stm32h7xx/soc -I/home/shri/rcg2/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include -I/home/shri/rcg2/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/Legacy -I/home/shri/rcg2/modules/hal/stm32/stm32cube/common_ll/include -I/home/shri/rcg2/modules/lib/nanopb -I/home/shri/rcg2/modules/crypto/tinycrypt/lib/include -I/home/shri/rcg2/macaroon/coconut/zboss/include -I/home/shri/rcg2/macaroon/coconut/zboss/include/zcl -I/home/shri/rcg2/macaroon/coconut/zboss/include/ha -I/home/shri/rcg2/macaroon/coconut/zboss/include/se -I/home/shri/rcg2/macaroon/coconut/zboss_platform/osif/include -I/home/shri/rcg2/macaroon/coconut/. -I/home/shri/rcg2/macaroon/canary/. -I/home/shri/rcg2/macaroon/subsys/scene_module/include -I/home/shri/rcg2/macaroon/subsys/demand_response_module_client/include -I/home/shri/rcg2/macaroon/subsys/demand_response_module_server/include -I/home/shri/rcg2/macaroon/light_engine/include -I/home/shri/rcg2/macaroon/include -I/home/shri/rcg2/macaroon/. -I/home/shri/rcg2/rcg2/include -I/home/shri/rcg2/rcg2/drivers/can/can_mcp25xxfd/canfdspi -I/home/shri/rcg2/rcg2/drivers/can/can_mcp25xxfd/. -I/home/shri/rcg2/zephyr/drivers/can -isystem /home/shri/rcg2/zephyr/lib/libc/minimal/include -isystem /home/shri/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/10.3.0/include -isystem /home/shri/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/10.3.0/include-fixed -mno-unaligned-access -Os -imacros /home/shri/rcg2/build/zephyr/include/generated/autoconf.h -ffreestanding -fno-common -g -gdwarf-4 -fdiagnostics-color=always -mcpu=cortex-m7 -mthumb -mabi=aapcs -mfp16-format=ieee -imacros /home/shri/rcg2/zephyr/include/toolchain/zephyr_stdint.h -Wall -Wformat -Wformat-security -Wno-format-zero-length -Wno-main -Wno-pointer-sign -Wpointer-arith -Wexpansion-to-defined -Wno-address-of-packed-member -Wno-unused-but-set-variable -Werror=implicit-int -fno-asynchronous-unwind-tables -fno-pie -fno-pic -fno-strict-overflow -fno-reorder-functions -fno-defer-pop -fmacro-prefix-map=/home/shri/rcg2/rcg2/app/area_hub=CMAKE_SOURCE_DIR -fmacro-prefix-map=/home/shri/rcg2/zephyr=ZEPHYR_BASE -fmacro-prefix-map=/home/shri/rcg2=WEST_TOPDIR -ffunction-sections -fdata-sections -std=c99 -nostdinc -MD -MT zephyr/drivers/flash/CMakeFiles/drivers__flash.dir/flash_stm32_qspi.c.obj -MF zephyr/drivers/flash/CMakeFiles/drivers__flash.dir/flash_stm32_qspi.c.obj.d -o zephyr/drivers/flash/CMakeFiles/drivers__flash.dir/flash_stm32_qspi.c.obj -c /home/shri/rcg2/zephyr/drivers/flash/flash_stm32_qspi.c
/home/shri/rcg2/zephyr/drivers/flash/flash_stm32_qspi.c: In function 'flash_stm32_qspi_init':
/home/shri/rcg2/zephyr/drivers/flash/flash_stm32_qspi.c:863:18: warning: implicit declaration of function '__LL_DMA_GET_CHANNEL_INSTANCE'; did you mean 'IS_BDMA_CHANNEL_INSTANCE'? [-Wimplicit-function-declaration]
863 |  hdma.Instance = __LL_DMA_GET_CHANNEL_INSTANCE(dev_data->dma.reg,
|                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|                  IS_BDMA_CHANNEL_INSTANCE
/home/shri/rcg2/zephyr/drivers/flash/flash_stm32_qspi.c:863:16: warning: assignment to 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
863 |  hdma.Instance = __LL_DMA_GET_CHANNEL_INSTANCE(dev_data->dma.reg,
|                ^
In file included from /home/shri/rcg2/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_rcc.h:29,
from /home/shri/rcg2/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_conf.h:246,
from /home/shri/rcg2/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal.h:30,
from /home/shri/rcg2/modules/hal/stm32/stm32cube/stm32h7xx/soc/stm32h7xx.h:223,
from /home/shri/rcg2/zephyr/soc/arm/st_stm32/stm32h7/soc.h:12,
from /home/shri/rcg2/zephyr/include/arch/arm/aarch32/cortex_m/cmsis.h:17,
from /home/shri/rcg2/zephyr/include/arch/arm/aarch32/mpu/arm_mpu_v7m.h:11,
from /home/shri/rcg2/zephyr/include/arch/arm/aarch32/mpu/arm_mpu.h:14,
from /home/shri/rcg2/zephyr/include/arch/arm/aarch32/arch.h:187,
from /home/shri/rcg2/zephyr/include/arch/cpu.h:19,
from /home/shri/rcg2/zephyr/include/kernel_includes.h:33,
from /home/shri/rcg2/zephyr/include/kernel.h:17,
from /home/shri/rcg2/zephyr/drivers/flash/flash_stm32_qspi.c:11:
/home/shri/rcg2/zephyr/drivers/flash/flash_stm32_qspi.c:869:34: error: 'QSPI_HandleTypeDef' has no member named 'hdma'; did you mean 'hmdma'?
869 |  __HAL_LINKDMA(&dev_data->hqspi, hdma, hdma);
|                                  ^~~~
/home/shri/rcg2/modules/hal/stm32/stm32cube/stm32h7xx/drivers/include/stm32h7xx_hal_def.h:66:45: note: in definition of macro '__HAL_LINKDMA'
66 |                               (HANDLE)->PPP_DMA_FIELD = &(DMA_HANDLE);
|                                             ^~~~~~~~~~~~~~~~~
Error Message end.
Here are my .dts configurations for external flash. I have done this in proj.conf file CONFIG_DMA=y.
I have attached the Kconfig.stm32_qspi file also for zephyr version 2.7.2

I am not able understand what does this error mean….& what I am missing.
NOTE: I am using STM32H743 board for interfacing it with external flash & zephyr version is 2.7.2

@Shrini-007 I'm converting this to discussion, since for now that's rather a question than a real bug.


persistent mode hangs on first startup

What version are you using?
stellar/quickstart:soroban-dev

What did you do?
docker run --rm -it -p 8000:8000 -e --name stellar -v "/workspace/qs:/opt/stellar" stellar/quickstart:soroban-dev --futurenet --enable-soroban-rpc --logs

What did you expect to see?
quickstart container finishes startup and is ready
What did you see instead?
quickstart hangs in startup
docker run --rm -it -p 8000:8000 -e --name stellar -v "/workspace/qs:/opt/stellar" stellar/quickstart:soroban-dev --futurenet --enable-soroban-rpc --logs
quickstart   | Starting Stellar Quickstart
quickstart   | mode: persistent
quickstart   | network: futurenet (Test SDF Future Network ; October 2022)
quickstart   | postgres user: stellar
... no more logs printed ...

start is getting stuck on the read prompt for pg password on init during persistent mode, a likely soultion would be to remove that prompt and add docs on README to recommend when using volume mount/persistent mode, to pass POSTGRES_PASSWORD env variable to docker instead via. --env-file

The issue is the interaction with the --logs, which is redirecting outputs and inputs. Probably the input is not being redirected correct.

yes, confirmed, If I remove --logs the prompt shows up on console, the interactive prompt also requires docker run -it  the README describes some of this first time aspect when persistent mode, but it sounds fairly complex for someone to navigate correctly, whereas if we simplify and reduce this config path to be just the env variable mechanism, then it works consistently for any mode, i.e. background -d as well.

+1 Simplifying it.

For those folks that deploy via ansible, this is problematic even without --logs, since the ansbile docker module can't handle input either.

Please do not close this issue.

Do not close this issue.

Likely really only needs documentation; setting POSGRES_PASSWORD fixed the issue for us.

I think we can do two things to improve this:

Display an error message when persistent mode is in use, but no password is supplied. #488
Delay capturing logs when using --logs, so that the password prompt is still displayed to the user correctly. #489


build: Also include XCB header path

[ 91%] Building CXX object icd/CMakeFiles/VkICD_mock_icd.dir/generated/mock_icd.cpp.o
In file included from /home/brad/tmp/Vulkan-Tools/icd/generated/mock_icd.cpp:22:
In file included from /home/brad/tmp/Vulkan-Tools/icd/generated/mock_icd.h:29:
In file included from /usr/local/include/vulkan/vk_icd.h:26:
/usr/local/include/vulkan/vulkan.h:53:10: fatal error: 'xcb/xcb.h' file not found
#include <xcb/xcb.h>
         ^~~~~~~~~~~
1 error generated.

Author brad0 not on autobuild list. Waiting for curator authorization before starting CI build.

CI Vulkan-Tools build # 787 running.

CI Vulkan-Tools build # 787 passed.


As a waiter I can update wrong orders

... so that I can conveniently assist to customers demands without keying in wrong/changed orders.

This feature will no longer be implemented as its usage will be low and we do not want to bombard the user with too many commands. The update function can be easily done using deleteFromOrder and addToOrder.


New redis logger:

move logger to core.base
drop older records if it reachs a configurable max length

closing this PR because:

it messed up vendor dir, not only logger packages but also other packages.
recreate it from scratch is easier

@muhamadazmy see new-redis-logger branch. it still need to be updated once you merge https://github.com/g8os/core.base/pull/3


swiperRef.current.slideTo is not a function

SlideTo function is not found.
official example=>
https://codesandbox.io/s/bxcmt?file=/src/App.js:1166-1173

Follow examples from React docs https://swiperjs.com/react

This problem also exists in document.
TypeError swiperRef.current.slideTo is not a function
https://codesandbox.io/s/bxcmt?file=/src/App.js:1166-1173
After click any button

Follow examples from React docs https://swiperjs.com/react

This problem also exists in document.
TypeError swiperRef.current.slideTo is not a function
https://codesandbox.io/s/bxcmt?file=/src/App.js:1166-1173
After click any button

@puxiao
I used onSwiper listener and save listener props in state.
onSwiper(swiper)
And use like this
swiperState.slideTo

I don't quite understand what you mean. I'd appreciate it if you could show a simple example code in your spare time.

@puxiao
     const [swiper, setSwiper] = useState()

     const handleChangeSlide=( index )=>{
         swiper.slideTo(index)
     }

      return (
          <Swiper
               onSwiper={(swiper) => {
                    setSwiper(swiper)
               }}/>
       )

swiper.slideTo(0) // OK
swiper.removeSlide(0) //Uncaught TypeError: swiper.removeSlide is not a function

It seems that the problem has not been solved because I need removeSlide()

@puxiao
Are you try to remove item from your array data?

No, I gave up.

I am struggling with the same issue. My goal is to provide a removeCurrentSlide functionality.
I am doing swiper.removeSlide(swiper.activeIndex); but getting swiper.removeSlide is not a function


GCP motion file(s) selection dialog should allow for both .mot and .sto files

Reported during walk through,  to be consistent with the xml property comments which includes .mot or .sto
Steps to reproduce
Expected result
Actual result
(include screen grabs where appropriate)
Environment and GUI version

fixed in PR #23 closing


[Bug]-[1200]:Unable to select previously selected option from dropdown if value outside the options is set - unless other option is selected at-least once

Is there an existing issue for this?

[X] I have searched the existing issues

Description
https://user-images.githubusercontent.com/91450662/161390275-d6d4bed2-a643-4fdd-820f-d124a9668642.mov
Steps To Reproduce

Drag drop a select widget - set some options for the dropdown
Map the Default value of the select to take values outside of existing options, example used - Table.selectedRow.step
Now select step#1 from table - observe Select also reflects the value
Now select step#3 from table -  observe Select also reflects the value (not one of the available select option)
Now from select, try to change dropdown & select # 1 - one of the option value present
Observe User is unable to select # 1 unless # 2 selected
Expected - All of Select option values should be available for selection anytime

Public Sample App
https://release.app.appsmith.com/applications/62486d45ab307a026918639e/pages/62486d45ab307a02691863a7
Version
Prod/Release v1.6.17

Stats

Stat
Values

Reach
300

Effort (months)
0.5

@dilippitchika to fix this we would need to fix this strict check of defaultValue and loose check when serverside filtering is Enabled

@Tooluloope i don't understand what exactly is happening here. I get the part around strict and loose check, but the part i need help grasping is - Why is the change not working? Default value should always be discarded once a user interacts with this widget and selects a value right? What is preventing that here?

@Tooluloope This issue still exists. Reopening this issue
https://www.loom.com/share/22aa0c311a2644bfaed092929301ac56

@somangshu why is this moved to needs prd, it's a bug right? Is there something which we need a prd for here?

The issue got reopened, I believe its going against some initial requirement hence wanted you to confirm once.
We removed it from the sprint for the same reason, @Tooluloope was not sure how to proceed here

Ok, i will work on it

Ok i am not sure, what this goes against in our scenario since if server side filtering is disabled we won't be showing default values which are not part of table. Will wait for @Tooluloope to come back.

This issue is resolved and we are unable to reproduce. please reopen if you see this again.


🌋 E|F ➾ Have the generation of files to the /artifacts mirror the folder structure of /contract

Product Board Link
No response
🚥 Status

[x] 🔮 Product/Feature Design
[ ] ✍🏻 Architecture/Implementation Planning
[ ] 🏗 Under Construction
[ ] ⛳ Feature Complete
[ ] ⛵ GTM / Release

✅ To Do
No response
📐 Feature Description
Have the generation of files to the /artifacts mirror the folder structure of /contract. E.g.
If we compile contracts/main/main.mligo, we want to generate main.tz and put it in /artifacts/main/ instead of /artifacts. When we want to deploy main.tz, the command can look something like this: taq deploy main/main.tz.
🚩 Problem or Use Case
Allow better organization of contracts.
No response
⚖ Acceptance Criteria
✨ Features:

[ ] ...

📚 Docs:

[ ] ...

🔭 Scope
🏎 In Scope:

...

🙅♂ Out of Scope:

...

🔗  Related Issues and Subtasks
No response
🦄 Sizing
No response
Code of Conduct

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

@michaelkernaghan, please add your use case for this to the ticket

Returning this to triage for Icebox, probably

Create a survey that includes this as a discussion item


change to a standard, explicit user creation

used the long commands for readability. fixes: https://github.com/hayd/deno-docker/issues/126. im not sure if there are other edge cases where a non standard uid/gid would get in the way but it makes it better for vscode tooling.
if you dont mind being this explicit ill leave it as is, otherwise if we assume the addgroup and adduser defaults we can go this route but who knows if the defaults will ever change on alpines end:
addgroup deno
adduser --disabled-password deno --ingroup deno

What is the benefit of being explicit? (I am okay with it, since this is what node dockerfile does but it would be nice to know why)

What is the benefit of being explicit? (I am okay with it, since this is what node dockerfile does but it would be nice to know why)

explicit for a couple reasons. the defaults changing from under us, which shouldnt happen, and i guess documentation in syntax :man_shrugging: those seem like pretty flimsy arguments, though. i mean should we then be explicit with all of the adduser defaults? here are those from the alpine/busybox documentation:
https://wiki.alpinelinux.org/wiki/Setting_up_a_new_user#Creating_a_new_user

prompt to set a password for the new user.
create a home directory in /home/
set the shell to the one used by the root account (ash by default)
assign user ID and group ID at 1000+
set the GECOS (full name) field to "Linux User,,,".

so doing:
addgroup deno
adduser --disabled-password deno --ingroup deno

is assuming all defaults but the long form flags for readability. we are inheriting the default shell from root as /bin/ash but we could change it to /bin/sh too :thinking:
whatever you want to do is fine im only adamant about long form flags. if we should be explicit on the defaults, should we be explicit on all defaults?

I kinda want it to still be 1993. 😆
But overall this is reasonable. Let's discuss ash vs sh in another issue/PR.

I kinda want it to still be 1993. laughing
ya i get it, but its not really user facing so nobody sees it anyways, like the exposed port.

But overall this is reasonable. Let's discuss ash vs sh in another issue/PR.

ok so just leave the group and user changes the way they are?

Thanks! Included in 1.10.1.


Allow users to interrupt model selection searches and save data

It'd provide some ease-of-use to allow KeyboardInterrupt to stop instances of IncrementalSearchCV and still have the desired parameters. i.e, something like this:
def perform_search(model, X, y):
    try:
        for iteration in range(...):
            best_model = find_best(best_params, k)
            # ...
    except KeyboardInterrupt:
        pass
    finally:
        return best_score, best_params, best_model

The motivation for filing this issue: I have a model selection search running. It's taking longer than I thought it would take because I mis-specified parameters. I don't want to stop the search without at least recording some information to inform my next search.

I think the model_selection._incremental.py will need to use distributed.Event to support this interface.


Add support for linting .ts and .tsx files

Connects to #3
change-type: minor

@thgreasi Thanks for the feedback. I've tightened up the code and I think it will be much better suited to adding more languages in the future


version of Kubernetes required

the lowest version of Kubernetes  required ?

find in https://community.mellanox.com/docs/DOC-3153

find in https://community.mellanox.com/docs/DOC-3153

It seems the link has expired, Could you tell me the kubernetes version required?


Allow empty ttl

Actually namshi/jose does not prevent an empty ttl. Can be useful in some cases instead of setting a really long one.

Hi,
Indeed the ttl claim is optional https://self-issued.info/docs/draft-ietf-oauth-json-web-token.html#expDef
Thanks !


bZx iTokens added

bZx is a financial primitive for shorting, leverage, borrowing, and lending that empowers decentralized, efficient, and rent-free blockchain applications.
Website:
https://bzx.network
Protocol stats on defipulse:
https://defipulse.com/bzx
Twitter:
https://twitter.com/b0xNet
Smart contracts:
https://github.com/bZxNetwork/bZx-monorepo/tree/development/packages/contracts
Etherscan:
https://etherscan.io/accounts/label/bzx
https://etherscan.io/tokens/label/defi

@estebanmino can you please take a look at this PR? Thanks!

cc: @kumavis

@whymarrh  can you review this, please ?🙏


[ERROR] wrong number of arguments (given 1, expected 0)

I have an issue using this gem.
Steps to reproduce:

Terminal: rails new trialapp
Terminal: cd trialapp
Terminal: rails g model User
In db/migrate/xxxxx_create_users.rb add the following:

...
t.string :username
t.string :country_code
...

Terminal: rake db:migrate
Terminal: rails g controller users
In config/routes.rb add the following:

...
resources :users
root 'users#new'
...

In Gemfile add the following:

...
gem 'country_select'
...

Terminal: bundle install
In app/views/users create a new file new.html.erb
In app/views/users/new.html.erb add the following:

<%= form_for User.new, url: root_url do |f| %>
  <%= f.country_select :country_code %>
<% end %>

Terminal: rails s
Open browser and enter localhost:3000 in the address bar.

Expected Output:
A form with a simple select dropdown containing countries.
Actual Output:
ActionView::Template::Error (wrong number of arguments (given 1, expected 0)):
    1: <%= form_for User.new, url: root_url do |f| %>
    2:   <%= f.country_select :country_code %>
    3: <% end %>

Test Environment:
Laptop: MacBook Pro (Retina, 13-inch, Mid 2014)
OS: macOS High Sierra
OS Version: Version 10.13.4 (17E199)
Ruby Version: ruby 2.3.5p376 (2017-09-14 revision 59905) [x86_64-darwin17]
Rails Version:  Rails 5.2.1
Browser: Google Chrome
Browser Version: Version 68.0.3440.106 (Official Build) (64-bit)

I just installed the gem in a new rails 5.2 app, and got the same error.

Okay, I managed to make it work.
In Step 13 it will throw an error stated above.
Solution:
Adding these steps solved the problem in my case.

Terminal: bundle update
Restart the rails server

Question:
This isn't supposed to be the proper way to handle this right?

UPDATE:
It seems like putting gem 'country_select' in the Gemfile and running bundle install will install versioncountry_select (2.5.2).
This version is the version that throws an error stated above.
Then running the Steps 14 and 15 will solve the problem as this updates the gem to version country_select (3.1.1).

This is definitely strange. I did some searching, and it looks like bundler doesn't guarantee it will grab the latest version of a gem if you leave the version unspecified. That was not my understanding or expectation of how bundler works. I think I'll update the README in the short term.
Thanks for looking into this.


[Issue #471.2] Added grouping to the operator bar, new library included to show dropdown icon for the dropdown menu

Please review the grouping to see if each operator is in the correct group

Latest version after F2F review with @henrychen0220

This is really really really nice!!


Snake

Game can't be started on the computer

I know, controls are unclear, but press p to pause/play game, and then you control snake using ArrowUp / ArrowDown / ArrowLeft / ArrowRight or simply with w / s / a / d


[ERR] Resource background invalid (out of memory)

I have two monitors and i was able to use just one wallpaper, but now anyone. I tried resizing and renaming with .png. Nothing works. My wallpapers are 400kb and 900kb. Any other solution?

"out of memory" is a blanket error for failing to load an image. Try a different image

I got the same error with config ```
image {
monitor =
path = ~/.face
size = 100
border_color = $accent
position = 0, 75
halign = center
valign = center

}
I tried webp, png and jpeg. I'm going to crop image. I'll write if that works.

Resized and formatted to 800x800 PNG has worked. Previous image was 3000x4000 JPEG. Also don't use ~ as home directory, write full name of the file, like /home/user/.face. I don't know why but it can't find it. If the problem is solved, close the issue. If not feel free to write down.

That was not the solution i was looking for. I write a script that changes to the 5 and 10 workspace and then hyprlock. With that I have the wallpaper I want and they fit as I want .
#!/bin/bash
hyprctl dispatch workspace 5
hyprctl dispatch workspace 10
hyprlock
those workspaces are always empty.

That was not the solution i was looking for. I write a script that changes to the 5 and 10 workspace and then hyprlock. With that I have the wallpaper I want and they fit as I want .
#!/bin/bash hyprctl dispatch workspace 5 hyprctl dispatch workspace 10 hyprlock
those workspaces are always empty.

Thanks, exactly what I was looking for since none of the images are working (they're all random resolutions, I assume that's it). I have the option where triggering the same workspace that you're on goes back to the previous one, so I use hyprctl dispatch workspace 10 && hyprlock &&  hyprctl dispatch workspace 10 which works nicely

@Aligehri I think you closed this bug too early. While I'm glad you found a workaround, there's no good reason that hyprlock should fail to show an image that can be readily viewed on a modern monitor -- especially since hyprland's specialty is supposed to be eye candy.

"out of memory" is a blanket error for failing to load an image. Try a different image

@vaxerski  Judging from this SO post, it comes from Cairo getting confused, for example, by trying to read a JPG as a PNG: https://stackoverflow.com/questions/77384048/cairo-image-surface-create-from-png-returns-out-of-memory-but-i-have-enough
I'm not saying that's exactly what's happening here' I'm sure it's more complicated than that. However, I did notice that when I converted my background from JPG to PNG, hyprlock behaved itself and showed the background image.
My best guess is that something is going wrong in how JPEG::createSurfaceFromJPEG() is being handled, but I don't really know.

@Aligehri Just as a matter of principle, you shouldn't close a bug just because you found a workaround.
FWIW, I found this bug report because I encountered the same error message, though in my case it was because I was using a version of hyprlock that only had PNG support. (At the time that I write this, the Arch Linux package for the latest release of hyprlock is still in the Extra-Testing repo. Hopefully, this latest release will fix the problem.)


ZETA supply cap on ZetaChain

at mint side, the supply cap should be checked.
In the first few years, the supply cap should be 2.1B. Then it should adjust for inflation.

Closing as it looks no longer relevant. We don't use mint module


Create podspec to enable easy integration via CocoaPods

http://guides.cocoapods.org/making/making-a-cocoapod.html

Great idea. No news about it? That shouldn't be too hard


Uneeded dependency on iptables modules

Required information

Distribution: Ubuntu
Distribution version: Bionic 18.04.3 64 bits
The output of "lxc info":

config:
  core.https_address: '[::]:8443'
  images.auto_update_interval: "0"
api_extensions:
- storage_zfs_remove_snapshots
- container_host_shutdown_timeout
- container_stop_priority
- container_syscall_filtering
- auth_pki
- container_last_used_at
- etag
- patch
- usb_devices
- https_allowed_credentials
- image_compression_algorithm
- directory_manipulation
- container_cpu_time
- storage_zfs_use_refquota
- storage_lvm_mount_options
- network
- profile_usedby
- container_push
- container_exec_recording
- certificate_update
- container_exec_signal_handling
- gpu_devices
- container_image_properties
- migration_progress
- id_map
- network_firewall_filtering
- network_routes
- storage
- file_delete
- file_append
- network_dhcp_expiry
- storage_lvm_vg_rename
- storage_lvm_thinpool_rename
- network_vlan
- image_create_aliases
- container_stateless_copy
- container_only_migration
- storage_zfs_clone_copy
- unix_device_rename
- storage_lvm_use_thinpool
- storage_rsync_bwlimit
- network_vxlan_interface
- storage_btrfs_mount_options
- entity_description
- image_force_refresh
- storage_lvm_lv_resizing
- id_map_base
- file_symlinks
- container_push_target
- network_vlan_physical
- storage_images_delete
- container_edit_metadata
- container_snapshot_stateful_migration
- storage_driver_ceph
- storage_ceph_user_name
- resource_limits
- storage_volatile_initial_source
- storage_ceph_force_osd_reuse
- storage_block_filesystem_btrfs
- resources
- kernel_limits
- storage_api_volume_rename
- macaroon_authentication
- network_sriov
- console
- restrict_devlxd
- migration_pre_copy
- infiniband
- maas_network
- devlxd_events
- proxy
- network_dhcp_gateway
- file_get_symlink
- network_leases
- unix_device_hotplug
- storage_api_local_volume_handling
- operation_description
- clustering
- event_lifecycle
- storage_api_remote_volume_handling
- nvidia_runtime
- container_mount_propagation
- container_backup
- devlxd_images
- container_local_cross_pool_handling
- proxy_unix
- proxy_udp
- clustering_join
- proxy_tcp_udp_multi_port_handling
- network_state
- proxy_unix_dac_properties
- container_protection_delete
- unix_priv_drop
- pprof_http
- proxy_haproxy_protocol
- network_hwaddr
- proxy_nat
- network_nat_order
- container_full
- candid_authentication
- backup_compression
- candid_config
- nvidia_runtime_config
- storage_api_volume_snapshots
- storage_unmapped
- projects
- candid_config_key
- network_vxlan_ttl
- container_incremental_copy
- usb_optional_vendorid
- snapshot_scheduling
- container_copy_project
- clustering_server_address
- clustering_image_replication
- container_protection_shift
- snapshot_expiry
- container_backup_override_pool
- snapshot_expiry_creation
- network_leases_location
- resources_cpu_socket
- resources_gpu
- resources_numa
- kernel_features
- id_map_current
- event_location
- storage_api_remote_volume_snapshots
- network_nat_address
- container_nic_routes
- rbac
- cluster_internal_copy
- seccomp_notify
- lxc_features
- container_nic_ipvlan
- network_vlan_sriov
- storage_cephfs
- container_nic_ipfilter
- resources_v2
- container_exec_user_group_cwd
- container_syscall_intercept
- container_disk_shift
- storage_shifted
- resources_infiniband
- daemon_storage
api_status: stable
api_version: "1.0"
auth: trusted
public: false
auth_methods:
- tls
environment:
  addresses:
  - <IP_ADDRESS>:8443
  - '[2001:a:b:c:d]:8443'
  architectures:
  - x86_64
  - i686
  certificate: |
    -----BEGIN CERTIFICATE-----
   ...
    -----END CERTIFICATE-----
  certificate_fingerprint: 5ebbcc7ec0a696b93ab076793225169c7b701cb048c1c3d6c6fb3b7f1877a44b
  driver: lxc
  driver_version: 3.2.1
  kernel: Linux
  kernel_architecture: x86_64
  kernel_features:
    netnsid_getifaddrs: "true"
    seccomp_listener: "true"
    shiftfs: "false"
    uevent_injection: "true"
    unpriv_fscaps: "true"
  kernel_version: 5.0.0-30-generic
  lxc_features:
    mount_injection_file: "true"
    network_gateway_device_route: "true"
    network_ipvlan: "true"
    network_l2proxy: "true"
    network_phys_macvlan_mtu: "true"
    seccomp_notify: "true"
  project: default
  server: lxd
  server_clustered: false
  server_name: c2d.mgmt.sdeziel.info
  server_pid: 1395
  server_version: "3.17"
  storage: zfs
  storage_version: 0.7.12-1ubuntu5

Issue description
lxd insists on having iptables related modules loaded when editing/creating networks even when ipv{4,6}.firewall: "false". Here are the steps to reproduce the issue with iptable_mangle and ip6table_nat.
Steps to reproduce

Remove modules
modprobe -r iptable_mangle ip6table_nat
Prevent automatic module loading
sysctl kernel.modprobe=/bin/false
Try to create a network

lxc network create foo ipv4.address=none ipv4.firewall=false ipv6.address=none ipv6.firewall=false

This will fail with the error:
Error: Failed to list ipv4 rules for LXD network foo (table mangle)

Manually load iptable_mangle
/sbin/modprobe iptable_mangle
Try to create a network

lxc network create foo ipv4.address=none ipv4.firewall=false ipv6.address=none ipv6.firewall=false

This will fail with the error:
Error: Failed to list ipv6 rules for LXD network foo (table nat)

Additional information
I have no use for iptable_mangle nor ip6table_nat modules so they are not part of the short list of modules that are loaded on boot prior to disabling module loading with sysctl kernel.modules_disabled=1. This is how I noticed that lxd insisted on having them loaded.
I believe that lxd should try to list existing firewall rules but fail gracefully if it cannot and no firewall integration was requested for the network being edited/created.

Right now we can't tell whether a network is getting created for the first time or updated so ignoring cleanup errors can be a problem if you were trying to turn off firewalling rather than creating a new network with it disabled.
It shouldn't be particularly hard to pass that extra data through at which point we can start being a bit smarter with this and other similar cases.


Remove Microsoft ads or msn ads

Can you remove Microsoft and msn ads because it cause i can't login to Minecraft Windows 10 edition and Android

Hi @ModiFlasher thank you for this request.
This is a technical matter.  We need specific details about your environment, and what it expects, to do anything here.
Seeing none of that, I'm closing this now, because your request isn't actionable.


Update the README

Description
Update the README.md to see all available tutorials and have links to go directly to the corresponding tutorials.
Do you want to be assigned to work on this?
(mark [x])

[ ] YES
[x] NO

Optional: Any additional info you want to add
...

Yes I can work on this

You're assigned now @franklinshera :)


Add php 5.4.0 to composer.json requirements

With PHP version in the requirements composer can handle warnings on platforms below this version. Further the 'requires' section on packagist.org gives a quick information about this.

Thanks!

You're welcome. Thanks for this useful tool!


/pass not updating pass

This may be related to restrict only, so this may be the wrong place to put this..
Anyways my buddy tried changing his pass with /pass and it didn't change it.

Is this fixed?

This has gotta be restrict only.

isssue was moved to restrict repo


Update examples application to take any json payload and schema to send messages to a topic using avro serializer.

Merged into master.


Possible to handle recording in real-time?

Currently, the AudioSource is only available after the recorder StopAsync. It doesn't work for the case if I want to handle the recording data in real-time.
I'm wonder if it's possible to add the similar API as the following to the AudioRecorder to support task like sending the recording to backend in real-time.
await audioRecorder.StartAsync();
audioRecorder.OnDataBytes((bytes, count) => {
    // handler.Handle(bytes, count)
})

If we use Linear PCM (LPCM), which doesn't include headers and allows any segment of the audio to be played independently, we can send the audio chunks to the backend. With a method for silence detection, we could split the real-time audio into chunks and send these to OpenAI's Whisper for transcription. This approach could enable near real-time transcription display on the frontend, store the transcription, and perform summarization or other AI tasks.
I'm interested in finding out how to send the minimum amount of bytes with sufficient quality to a cloud-based Whisper deployment for transcription. This transcription could be saved as metadata for the audio recording, and the audio itself backed up to a cloud location. Additionally, generating .srt files with timestamps would allow users to jump to specific audio segments corresponding to the subtitles.

This supposedly has those features and still works although I haven't tried it yet.
https://github.com/NateRickard/Plugin.AudioRecorder
I am not sure if Plugin.Maui.Audio is even being maintained at this point?

It is being maintained but life gets in the way of getting around to dealing with things.


fixed comboFromEnum assuming enum int value is consecutive

This PR enhances zgui.comboFromEnum to work with sparse enums such as:
const SparseEnum = enum(i32) {
    first = 10,
    second = 100,
    third = 1000,
};

Nice!


fix: added check-format to disable auto formatting

Description
Update husky config to check-format and break if formatting issues to include formatting in the same commit.
Screen shots or recordings for UI changes
N/A

Maybe unrelated to this PR. But I've noticed that most PRs now contain formatting changes that look automatic. Do you know why all those formatting changes haven't been applied already? Could it be different local linters people have?
But if it's just that formatting hasn't yet been applied to all files, can you do that as part of this PR?

Yes, I agree that it automatically applies formatting even if not require

Maybe unrelated to this PR. But I've noticed that most PRs now contain formatting changes that look automatic. Do you know why all those formatting changes haven't been applied already? Could it be different local linters people have?
But if it's just that formatting hasn't yet been applied to all files, can you do that as part of this PR?

Yes, I agree that it automatically applies formatting even if not require

Actually, I formatted the code for all the files one week back and this pr was just merged recently now few we have new updated files which aren't formatted in the main branch so if you notice all new PRs have almost same formatting changes. Our linter will bypaas there local formatting.
This Pr also include those changes which are in other PRs as well.


[CS2103T-T11-4] DukePro(f)

DukePro(f) helps professors in a university plan their engagements. Amid long days of lectures and tutorials, it is hard to properly fit in consultations with students and keep track of them at the same time. With DukePro(f), profs can easily query their available time slots and save their engagements, making lesson planning a breeze.

Codecov Report

Merging #63 (2023b32) into master (ba53b8c) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master      #63   +/-   ##
=========================================
  Coverage     72.15%   72.15%
  Complexity      399      399
=========================================
  Files            70       70
  Lines          1232     1232
  Branches        125      125
=========================================
  Hits            889      889
  Misses          311      311
  Partials         32       32

Continue to review full report at Codecov.

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


Make rate-limit of features configurable

Fixes #5446
Make rate-limit for features to be configurable, including traceflow,
networkPolicy logging and reject, FQDN DNS interception, IGMP and
no endpoint Service reject.

/test-all

In commit message:

Make rate-limit for features to be configurable, including traceflow,

to be configurable -> configurable
traceflow -> Traceflow

networkPolicy logging and reject, FQDN DNS interception, IGMP and

NetworkPolicy

/test-all


Install darc rather than building it via arcade-services

This effort might be able to get rid of some of the prebuilts in #1287

Build is progressing as expected. Seems like its ready for review.

To follow up a bit more, it seems like this is a functional change caused because we are now downloading the darc built against .NET Core 2.1 instead of compiling one using .NET Core 3.0. darc (actually libgit2sharp) took advantage of new features in .NET Core 3.0 which meant that this LD_LIBRARY_PATH change was not needed.

Can darc be built against .NET Core 3?

Can darc be built against .NET Core 3?

Not at the time I tried the install. There could be ways to force it? But I think we may need appreciable arcade updates?


Add MySQL, Sqlite support.

I tried to add support for MySQL and SQLite. If I have any suggestions on code quality, I will fix it as soon as possible.

ha, looks like connector-x requires a nightly compiler, so we will need to hide the database source code under feature flags :(

Encountered a little problem. I will add support for posgres soon.

looks good to me, I think the sqlite test needs to be put under the feature flag as well.
the if_cfg macro could be avoided if we go with the impl pattern like https://github.com/delta-io/delta-rs/blob/8c5ed46ca7f7230c6ca0e4d5f41d608794c5c1ca/rust/src/storage/file/rename.rs#L4, but we can leave it to follow up PRs.

could you also update the build and release github action step so we can test and release roapi with the database feature enabled wherever nightly toolchain is being used?

is this crate still being used?

Yes. I'm trying to add Postgres supports. But I got this error haven't solution for now.
thread 'postgresql_load' panicked at 'Cannot start a runtime from within a runtime. This happens because a function (like `block_on`) attempted to block the current thread while the thread is being used to drive asynchronous tasks.', C:\Users\11989\.cargo\registry\src\github.com-1ecc6299db9ec823\tokio-1.17.0\src\runtime\enter.rs:39:9

This is test code.
use connectorx::{prelude::*, sources::postgres::{rewrite_tls_args, BinaryProtocol}};
use dotenv::dotenv;
use std::env;
use postgres::NoTls;
use postgres_openssl::MakeTlsConnector;
use url::Url;

type PgTlsSource = PostgresSource<BinaryProtocol, MakeTlsConnector>;
type PgTlsTransport = PostgresArrowTransport<BinaryProtocol, MakeTlsConnector>;
type PgNoTlsSource = PostgresSource<BinaryProtocol, NoTls>;
type PgNoTlsTransport = PostgresArrowTransport<BinaryProtocol, NoTls>;

#[tokio::test]
async fn postgresql_load() {
    dotenv().ok();
    let name = env::var("TABLE_NAME").unwrap();
    let uri = env::var("POSTGRESQL_URL").unwrap();
    let queries = &[format!("SELECT * FROM {}", name)];

    let mut destination = ArrowDestination::new();
    let uri = Url::parse(&uri).unwrap();
    let (config, tls) = rewrite_tls_args(&uri).unwrap();
    match tls {
        Some(tls_conn) => {
            let source = PgTlsSource::new(config, tls_conn, 2).unwrap();
            let dispatcher = Dispatcher::<
                _,
                _,
                PgTlsTransport
            >::new(source, &mut destination, queries, None);
            dispatcher.run().unwrap();
        }
        None => {
            let source = PgNoTlsSource::new(config, NoTls, 2).unwrap();
            let dispatcher = Dispatcher::<
                _,
                _,
                PgNoTlsTransport
            >::new(source, &mut destination, queries, None);
            dispatcher.run().unwrap();
        }
    }

    println!("{:?}", destination.arrow());
}

could you also update the build and release github action step so we can test and release roapi with the database feature enabled wherever nightly toolchain is being used?

I'll try for this.

The 'Cannot start a runtime from within a runtime error is a very common problem people run into with the following call stacks:
async function call (async fn postgresql_load, in our case)
    -> invokes sync function
        -> calls runtime.block_on to invoke another async function

To get rid of it, we need to avoid calling runtime.block_on (or similar function) within an async call stack. So there are two common solutions:

Avoid the inner sync function call so we only have async function call -> async function call. If the block_on is invoked from external crates like connector-x, see if they have a async version of the API.
Avoid the outer async call so we only have sync function call -> runtime.block_on.  In this case make postgresql_load a sync function and annotate it with #[test] instead of tokio test.

I don't know if I did something wrong😣
I'm sorry for the burden on this project.

Did I need modify cargo build --bin roapi-http --target aarch64-apple-darwin to cargo build --bin roapi-http --features database --target aarch64-apple-darwin? I tried to add --features database then got this error in mac_cross_build.
  Could not find directory of OpenSSL installation, and this `-sys` crate cannot
  proceed without this knowledge. If OpenSSL is installed and this crate had
  trouble finding it,  you can set the `OPENSSL_DIR` environment variable for the
  compilation process.

Details
I can't reproduce the simd_test error on my computer.

I'm sorry for the burden on this project.

No worries at all @zemelLeong , if anything, you are reducing the burdens by contributing this major feature!

Did I need modify cargo build --bin roapi-http --target aarch64-apple-darwin to cargo build --bin roapi-http --features database --target aarch64-apple-darwin? I tried to add --features database then got this error in mac_cross_build.

I think simply adding  --features database should do the job. Looking at the Cargo.lock changes, the open-ssl build error is likely due to connector-x pulling in the openssl crate, which added openssl system dependency in the mac build. In the current main branch, we avoided the openssl dependency by not setting the native-tls flag for the mac build.
But looks like the mac build is passing now in this PR?

I can't reproduce the simd_test error on my computer.

This is likely due to the build cache being polluted with corrupted intermediate artifacts. Could you try change the cache key to a different value in the cache section to see if it helps?
https://github.com/roapi/roapi/blob/49aeaf1d71ee614ebaec0be45c9aa12fe67e37ca/.github/workflows/build.yml#L63
This should force github action to run the job with an empty cache.
If that didn't work, it might be a bug in the nightly compiler and we could try bumping the nightly version to see if it helps.

ok, so looks it's the postgres dependency that's pulling in openssl dep :( I think it's better to leave out postgres support in a follow up PR then :+1:

The rest looks good to me, left two minor comments. Thanks a lot for this feature @zemelLeong !

Delete #[must_use] execute cargo clippy in database_test step will got this error. The #[must_use] add to struct TableOptionCsv not work.
error: missing `#[must_use]` attribute on a method returning `Self`
   --> columnq\src\table\mod.rs:112:5
    |
112 | /     pub fn with_delimiter(mut self, d: u8) -> Self {
113 | |         self.delimiter = d;
114 | |         self
115 | |     }
    | |_____^
    |
note: the lint level is defined here
   --> columnq\src/lib.rs:1:9
    |
1   | #![deny(warnings)]
    |         ^^^^^^^^
    = note: `#[deny(clippy::return_self_not_must_use)]` implied by `#[deny(warnings)]`
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#return_self_not_must_use

This is one big milestone @zemelLeong :tada: I will cut a new release this weekend.


I used XsReader to get seeds by catch npc(10M gay) blinks before get Piplup，but always failure

I used XsReader to get  seeds catch heroine blinks on win11,and it works.
Then I restart the game to get gift Piplup(by the lake)，I can't let heroine standstill by using important item(like fishing rod),so I try to catch npc(10M  gay) blinks. He will standstill after doctor leave the lake becasuse of the conversation.
But I tried at least 10 times to get seeds, it always failure.
XsReader can't get seeds by catch npc(10M  gay or other npcs) blinks?

ok，ty for the reply
---Original---
From: @.>
Date: Thu, Aug 17, 2023 23:35 PM
To: @.>;
Cc<EMAIL_ADDRESS>Subject: Re: [niart120/Project_eXcelSior] I used XsReader to get seeds bycatch npc(10M gay) blinks before get Piplup，but
(using DeepL)
Thank you for your report.
Unfortunately, the tool does not currently implement the ability to acquire Seeds in an environment with NPCs .
I am planning to support this feature in the future, but the timing is not yet determined.
Sorry for the inconvenience.
(Original text)
報告ありがとうございます。
残念ながら、現在このツールではNPCが存在する環境でのSeed取得の機能を実装していません。
今後対応予定ではありますが、時期は未定です。
お力添えできず申し訳ございません。
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: @.***>

邮件已收到


Proposal for uart.js example

Signed-off-by: Eugene Bolshakov<EMAIL_ADDRESS>

Thanks alot! Merged with 094e5ff20c9aa75dee056caf153251be453918c5


Decompiling LuaJit Scripts from Farming Simulator 2015

Hello.
If tried to decompile bytecode files from FS15. But just getting any KeyError. Do you have any suggestion?
Hopefully Blue
Text from Commandpromptscreen:
Traceback (most recent call last):
File "main.py", line 123, in
retval = main()
File "main.py", line 85, in main
ast = ljd.ast.builder.build(prototype)
File "D:\Users\Bluetiger\Downloads\dataS\scripts\ljd-master\ljd\ast\builder.py
", line 28, in build
return _build_function_definition(prototype)
File "D:\Users\Bluetiger\Downloads\dataS\scripts\ljd-master\ljd\ast\builder.py
", line 49, in _build_function_definition
node.statements.contents = _build_function_blocks(state, instructions)
File "D:\Users\Bluetiger\Downloads\dataS\scripts\ljd-master\ljd\ast\builder.py
", line 71, in _build_function_blocks
_establish_warps(state, instructions)
File "D:\Users\Bluetiger\Downloads\dataS\scripts\ljd-master\ljd\ast\builder.py
", line 175, in _establish_warps
block.warp, shift = _build_warp(state, block.last_address, warp)
File "D:\Users\Bluetiger\Downloads\dataS\scripts\ljd-master\ljd\ast\builder.py
", line 198, in _build_warp
return _build_numeric_loop_warp(state, last_addr, last)
File "D:\Users\Bluetiger\Downloads\dataS\scripts\ljd-master\ljd\ast\builder.py
", line 318, in _build_numeric_loop_warp
warp.body = state._warp_in_block(destination)
File "D:\Users\Bluetiger\Downloads\dataS\scripts\ljd-master\ljd\ast\builder.py
", line 22, in _warp_in_block
block = self.block_starts[addr]
KeyError: -31379

Odd, I haven't encountered any bugs in the builder itself! Are you decompiling stripped bytecode?
It could be a good idea to share the .luac file itself.

IIRC FS15 uses luajit 3.0 which may have different bytecode, though I haven't found any specifications for it...

I don't think it is stripped. link to one file: http://www.team-sub7.com/download/ls15/main.luc
That is a usefull information, that luajit 3.0 is used. I'll try to find some specification.
I think hundrets of modders would be very glad for the readable scripts.
спаси́бо

okay i found something about giants/fs15.
Low-overhead profiling
GIANTS Software GmbH has sponsored the development of a low-overhead profiling functionality for LuaJIT 2.1 in June 2013. GIANTS Software develops a variety of simulation games for desktop, mobile and consoles. These games make extensive use of Lua for scripting and modding. Switching to LuaJIT was instrumental in reducing the CPU load and sustaining the required frame rates on all platforms.

So some closed-source version of luajit was used, right?

main.luc file header provided by @Bluetiger indicates that it's luajit 2.1

looks like we have a few new opcodes:
diff --git a/src/lj_bc.h b/src/lj_bc.h
index 7436fab..64c1bcd 100644
--- a/src/lj_bc.h
+++ b/src/lj_bc.h
@@ -89,6 +89,8 @@
   _(ISFC,      dst,    ___,    var,    ___) \
   _(IST,       ___,    ___,    var,    ___) \
   _(ISF,       ___,    ___,    var,    ___) \
+  _(ISTYPE,    var,    ___,    lit,    ___) \
+  _(ISNUM,     var,    ___,    lit,    ___) \
   \
   /* Unary ops.  T = tail call. */ \
   _(CALLM,     base,   lit,    lit,    call) \

So far I could figure out, is that luajit 3.0 is not ready. there is an article in the wiki from luajit project, which they write about the garbage collector from luajit 3.0 that is everthing so far.
back to fs15. is there a possibility get it to work? I 'm not familiar with Python , and certainly not with this kind of programming . I 'm more with databases and program extensions, programming in C#, C++, Delphi, Cobol and so on.
I can upload the whole bytecode scripts if you wish.

Adding new instructions to the ljd parser is not complicated. The hard thing is rechecking header format and adding those instructions for use in ast builder and unwarper. In addition to that the decompiler seems to have severe bugs not related to luajit version >= 2.1.

If only these opcodes are added then unwarper shouldn't be the problem. Builder is rather straightforward. But things other than that may have changed (like goto/continue added) - that might be a problem, really.
I've got a number of requests via mail recently with something simulator using luajit 3.0 alpha (these guys are crazy). It seems I've mistaken. Sorry for the confusion.
Well, I'll try to look into adding the new opcodes in a few days. Hopefully it will just work after that, but probably it will not.

How are you planning to add new opcodes without description? The only way I see is to compile a bunch of code, seek for those opcodes in bytecode dump and try to guess what do these opcodes do.
Another option is to add these opcodes to the parser alone. This way we can parse it correctly but won't be able to decompile. Anyway if you don't have time I could try to make a patch for this.

By looking into the source. And the source tells me that these instructions are not implemented. At least, they are not parsed. So the only problem is that opcode numbers were changed.
But we can't just add them into the parser - it will break all 2.0 scripts. We need to add some special luajit-2.1-only tag and skip such instructions if a bytecode version is 2.9.

I have added those 4 instructions into instructions.py. Still getting an error in builder (a different error, not the one mentioned by @Bluetiger ).
This is odd because the new instructions aren't used (at least in the file provided by @Bluetiger ), so the only thing that has changed is the instruction numbers.

Is it like it Sounds? A light on horizon?

@Bluetiger , well, I ran it on your main.luc and got something that looked like lua source. You may try
it yourself on other files (branch "ljv2.1" on my fork, though it doesn't include tiny yet important imho fixes yet I've made on the branch "bugfix").
There is much work to be done on the slotworks and unwarper itself!

I've tested it on all my luc's. Excellent work so far. Just 22 files won't decompile from over 500. The source code in the other files is looks like what i've expected.
Most of the 22 files seems to have a problem with unwarper, except three files. Could you have a look at it?
http://www.team-sub7.com/download/ls15/CreditsScreen.luc
http://www.team-sub7.com/download/ls15/InputBinding.luc
http://www.team-sub7.com/download/ls15/Utils.luc
(file with unwarper errors)
http://www.team-sub7.com/download/ls15/Vehicle.luc

Beware! Although you're getting readable lua source, it could be incorrect!
As for the new files, I think they aren't stripped, so I have no Idea what could be wrong.

I know. But for the most things it is okay, to know what is the script doing, how the mehtods are used, which methods are there and which variables have to set and so on.
It would be great to get some of this files to readable lua source, because in them is very usefull and needed code to know (files like Utils.luc, Vehicle.luc...).
But sofar, i look forward with my work in scripting for Simulator. I am very glad for your help.

I wrote about the NightNord decompiler to version 2.1, but unfortunately without asking for documentation:
"It should work fine for 2.0.3 format, but not for 2.1.0 - it's bytecode is not supported. Probably just because the version has changed (they've added a bunch of new features like GOTO. Probably some new instructions too). But I haven't yet looked into that and I'm unable to find any particular info about the new bytecode instructions.
If you have a link that would be greatly appreciated."
Unfortunately, nowhere to be found these records, I found the link, but it does transfer to the main page:
http://wiki.luajit.org/Home (section LuaJIT Development)
Can any of you provide your decompiler, as well a few months I am looking for how to decompile the script of this game?

HI,i'm a Italian guy
I have started a project of a remastered of the game "Fs15" u can found my project in my

Decrypting or decompiling? Anyway, the decompiler is not working atm and probably abandoned at least temporarily.

Hi! Is there any news about decompiling the luajit luc files from FS15 or 17?


[DSS-385] Icons: Update icon font (v.18, 1 new)

Description
Updates the Sage fonts and adds 1 new icon to the system:

pause

Rename prev pause icon

pause-circle

Screenshots

Name

pause

pause-circle

Testing in sage-lib
Docs Site:

Navigate to icons
Verify new icon is added to the system
Verify all icons are rendering as expected
Verify Sage font is served from the /v18 directory from CDN (Network panel in dev tools)

Storybook:

Navigate to icons
Verify new icon is added to the system
Verify all icons are rendering as expected

Testing in kajabi-products

(LOW) Updated icon font w/ 1 new icon (v18). No KP impact is expected.

Related
https://kajabi.atlassian.net/browse/DSS-385

👍 LGTM! Since the automated process is still a ways down the road, does design have any other icons they might want to add in?

I had Chris ping the design team and we confirmed there were no others needed.


Add security automation

Same as https://github.com/lunatic-solutions/lunatic/pull/173 and https://github.com/lunatic-solutions/lunatic-rs/pull/96

Love it! Thanks for setting this up @pinkforest


PHOENIX-6442 Phoenix should depend on the appropriate tephra-hbase-co…

…mpat-x.y module

:broken_heart: -1 overall

Vote
Subsystem
Runtime
Comment

+0 :ok:
reexec
0m 35s
Docker mode activated.

_ Prechecks _

+1 :green_heart:
dupname
0m  0s
No case conflicting files found.

+1 :green_heart:
@author
0m  0s
The patch does not contain any @author tags.

-1 :x:
test4tests
0m  0s
The patch doesn't appear to include any new or modified tests. Please justify why no new tests are needed for this patch. Also please list what manual steps were performed to verify this patch.

_ 4.x Compile Tests _

+0 :ok:
mvndep
5m 20s
Maven dependency ordering for branch

+1 :green_heart:
mvninstall
9m 27s
4.x passed

+1 :green_heart:
compile
1m 29s
4.x passed

+1 :green_heart:
javadoc
2m  5s
4.x passed

_ Patch Compile Tests _

+0 :ok:
mvndep
0m 20s
Maven dependency ordering for patch

+1 :green_heart:
mvninstall
5m 46s
the patch passed

+1 :green_heart:
compile
1m 31s
the patch passed

+1 :green_heart:
javac
1m 31s
the patch passed

+1 :green_heart:
whitespace
0m  0s
The patch has no whitespace issues.

+1 :green_heart:
xml
0m  2s
The patch has no ill-formed XML file.

+1 :green_heart:
javadoc
1m 59s
the patch passed

_ Other Tests _

-1 :x:
unit
148m 24s
root in the patch failed.

+1 :green_heart:
asflicense
0m 20s
The patch does not generate ASF License warnings.

178m  7s

Subsystem
Report/Notes

Docker
ClientAPI=1.41 ServerAPI=1.41 base: https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-1209/1/artifact/yetus-general-check/output/Dockerfile

GITHUB PR
https://github.com/apache/phoenix/pull/1209

Optional Tests
dupname asflicense javac javadoc unit xml compile

uname
Linux 5308f5d29bfa 4.15.0-60-generic #67-Ubuntu SMP Thu Aug 22 16:55:30 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev/phoenix-personality.sh

git revision
4.x / c3f166e

Default Java
Private Build-1.8.0_242-8u242-b08-0ubuntu3~16.04-b08

unit
https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-1209/1/artifact/yetus-general-check/output/patch-unit-root.txt

Test Results
https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-1209/1/testReport/

Max. process+thread count
5790 (vs. ulimit of 30000)

modules
C: phoenix-core . U: .

Console output
https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-1209/1/console

versions
git=2.7.4 maven=3.3.9

Powered by
Apache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

:broken_heart: -1 overall

Vote
Subsystem
Runtime
Comment

+0 :ok:
reexec
4m 18s
Docker mode activated.

_ Prechecks _

+1 :green_heart:
dupname
0m  0s
No case conflicting files found.

+1 :green_heart:
@author
0m  0s
The patch does not contain any @author tags.

-1 :x:
test4tests
0m  0s
The patch doesn't appear to include any new or modified tests. Please justify why no new tests are needed for this patch. Also please list what manual steps were performed to verify this patch.

_ 4.x Compile Tests _

+0 :ok:
mvndep
5m 12s
Maven dependency ordering for branch

+1 :green_heart:
mvninstall
9m 18s
4.x passed

+1 :green_heart:
compile
1m 32s
4.x passed

+1 :green_heart:
javadoc
1m 55s
4.x passed

_ Patch Compile Tests _

+0 :ok:
mvndep
0m 20s
Maven dependency ordering for patch

+1 :green_heart:
mvninstall
5m 43s
the patch passed

+1 :green_heart:
compile
1m 31s
the patch passed

+1 :green_heart:
javac
1m 31s
the patch passed

+1 :green_heart:
whitespace
0m  0s
The patch has no whitespace issues.

+1 :green_heart:
xml
0m  3s
The patch has no ill-formed XML file.

+1 :green_heart:
javadoc
1m 58s
the patch passed

_ Other Tests _

-1 :x:
unit
137m 24s
root in the patch failed.

+1 :green_heart:
asflicense
1m 43s
The patch does not generate ASF License warnings.

173m 38s

Reason
Tests

Failed junit tests
phoenix.end2end.UpsertSelectIT

Subsystem
Report/Notes

Docker
ClientAPI=1.41 ServerAPI=1.41 base: https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-1209/2/artifact/yetus-general-check/output/Dockerfile

GITHUB PR
https://github.com/apache/phoenix/pull/1209

Optional Tests
dupname asflicense javac javadoc unit xml compile

uname
Linux d75a378a7340 4.15.0-60-generic #67-Ubuntu SMP Thu Aug 22 16:55:30 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev/phoenix-personality.sh

git revision
4.x / 67f1f1c

Default Java
Private Build-1.8.0_242-8u242-b08-0ubuntu3~16.04-b08

unit
https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-1209/2/artifact/yetus-general-check/output/patch-unit-root.txt

Test Results
https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-1209/2/testReport/

Max. process+thread count
5923 (vs. ulimit of 30000)

modules
C: phoenix-core . U: .

Console output
https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-1209/2/console

versions
git=2.7.4 maven=3.3.9

Powered by
Apache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.


The combination of a constrained type and a Generic Model raise keyerror

Initial Checks

[X] I have searched GitHub for a duplicate issue and I'm sure this is something new
[X] I have searched Google & StackOverflow for a solution and couldn't find anything
[X] I have read and followed the docs and still think this is a bug
[X] I am confident that the issue is with pydantic (not my code, or another library in the ecosystem like FastAPI or mypy)

Description
As shown in the example below Pydantic raises a Keyerror, when I try to retrieve the schema for this code (combination of constr and GenericModel)
Traceback (most recent call last):
  File "repro.py", line 22, in <module>
    TheModel.schema()
  File "pydantic/main.py", line 664, in pydantic.main.BaseModel.schema
  File "pydantic/schema.py", line 186, in pydantic.schema.model_schema
  File "pydantic/schema.py", line 580, in pydantic.schema.model_process_schema
  File "pydantic/schema.py", line 621, in pydantic.schema.model_type_schema
  File "pydantic/schema.py", line 254, in pydantic.schema.field_schema
  File "pydantic/schema.py", line 526, in pydantic.schema.field_type_schema
  File "pydantic/schema.py", line 922, in pydantic.schema.field_singleton_schema
KeyError: <class '__main__.Wrapper[ConstrainedStrValue]'>

Example Code
from typing import Generic, TypeVar

from pydantic import BaseModel, constr
from pydantic.generics import GenericModel

GenericValue = TypeVar("GenericValue")

_PhoneString = constr(min_length=1)
_BicString = constr(min_length=2)

class Wrapper(GenericModel, Generic[GenericValue]):
    value: GenericValue

class TheModel(BaseModel):
    bic_swift2: Wrapper[_PhoneString]  # type: ignore
    bic_swift: Wrapper[_BicString]  # type: ignore

TheModel.schema()

Python, Pydantic & OS Version
pydantic version: 1.10.2
            pydantic compiled: True
                 install path: /Users/name/Desktop/repro/.venv/lib/python3.8/site-packages/pydantic
               python version: 3.8.13 (default, Aug  3 2022, 12:05:10)  [Clang 13.1.6 (clang-13<IP_ADDRESS>.5)]
                     platform: macOS-12.6-arm64-arm-64bit
     optional deps. installed: ['typing-extensions']

Affected Components

[ ] Compatibility between releases
[ ] Data validation/parsing
[ ] Data serialization - .dict() and .json()
[ ] JSON Schema
[ ] Dataclasses
[ ] Model Config
[X] Field Types - adding or changing a particular data type
[ ] Function validation decorator
[X] Generic Models
[ ] Other Model behaviour - construct(), pickling, private attributes, ORM mode
[ ] Plugins and integration with other tools - mypy, FastAPI, python-devtools, Hypothesis, VS Code, PyCharm, etc.

We'll see if we can support this in V2, no guarantees though.

Marking as resolved, looks like this is supported in v2!


Add .gitignore

Copied from github's standard Node gitignore

@andyklimczak if you rebase this branch on master the build errors should clear up and we can get this merged.

rebased and updated


feat: Added API for keyboard simulation using String Input

Created 'String Input API' for Keyboard simulation and added it in Stimulus[Poly] under the Keyboard section.

Characters that can be accessible from string input API
A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
a b c d e f g h i j k l m n o p q r s t u v w x y z
0 1 2 3 4 5 6 7 8 9
`  ~  !  @   #  $  %  ^  &  *  (  )  -  _  =  +
[  {  ]  }  \  |  ;  :  '  "  ,  <  .  >  /  ?
Spacebar
Drona Test Results:

The key array was obtained without using a variant lookup.
Test Report for updated changes:


White Background on dark syntax

Even when you select dark theme, background for empty editor, active bar, and active scrollbar is white.

I had a similar issue (https://github.com/atom/one-dark-ui/issues/78), where certain themes are expecting to see a styles/syntax-variables.less file to color things, like the tabs.

My temp fix was to add the file manually to add the file, and then throw the following inside:
@syntax-background-color: #111;

So that for my needs, the One Dark UI theme would properly color the tab background.

Apologies, I somehow missed the notification for the original issue. As you pointed out in the other issue, a styles/syntax-variables-{light/dark}.less file is being used instead, depending on which variant the user selects. It did not occur to me that the variables that go inside the styles/syntax-variables.less file would not be read properly by other packages if the exact file name is not used.
It should be possible to merge the two files and use a variable inside styles/syntax-variables.less to control the colors instead of having two separate files. I'll try to fix this soonish, but I may not have time until late next week.

No worries my friend, thanks for the quick response!

I wonder if it's due to this same issue, but also the cursor color seems to be off (too dark to see) when using the dark variant.

@flannelhead which dark theme are you using? The background color is defined by base00 and the cursor color is defined by base05. I (quickly) went over all the different themes and the contrast between base00 and base05 appears to be high in all cases. I mainly use the Eighties theme, for me it looks like this:

Oops, sorry. I forgot to mention I'm using vim-mode. In the normal mode, the cursor is a block instead of a vertical line. It looks like this:

Perhaps there's some other CSS attribute to set for the cursor besides border-color? (I've not investigated this.) So this is likely another issue. Sorry for the noise. Should I open a new ticket for this?
FWIW, I'm using the Flat dark theme. The UI theme is One Dark.

Should I open a new ticket for this?

Yes please, it'll be easier if we can keep the issues separate. I'll take a look at it there, I'm not yet familiar with how vim-mode colors the cursor.


Issue #118

[ ] Fast Fourier Transformation
[ ] Sum of squares of first N natural numbers
[ ] Checking for integer overflow on multiplication
[x] Convert Radian to Degree
[ ] K-th Primes

This is my first Github pull request. I have added the code for Radian to Degree conversion and a README.
These are a couple of tests:
Input : radian = 20
Output : degree = 1145.4545454545455
Explanation: degree = 20 * (180/pi)
Input : radian = 5
Output : degree =<PHONE_NUMBER>636364
Explanation : degree = 20 * (180/pi)
As you have asked us to issue a pull request for each algorithm, I am doing the same. I will soon issue more requests.

This one is really basic, its just a conversion.
Hence I think it wont much value to the code base, I hope you understand

similarly square if n numbers

Ok, I will add more algos. Is the process of pull request correct ?

its good @abhisheknalla

I am working on the Fast Fourier Transformation Code.

I added README's for the codes.


Implement latency on echo request/echo reply

moved from python-openflow repository. kytos/python-openflow #189
From spec:
EchoReq in this version has a header and optionally a variable length field, data, containing arbitrary information, such as latency (timestamp), bandwidth, liveness, etc. EchoRes shares the same structure with EchoReq. The EchoRes data is an exact copy of the data present from the corresponding EchoReq.

Thanks @erickvermot .


[sparkoperator]Support configure batchSchedulerName

What this PR does / why we need it:
To support configure batchSchedulerName in spark operator, this patch depends on main change
Which issue this PR fixes
(optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close that issue when PR gets merged)

fixes #

Special notes for your reviewer:
Depends on: https://github.com/GoogleCloudPlatform/spark-on-k8s-operator/pull/567
Checklist
[Place an '[x]' (no spaces) in all applicable fields. Please remove unrelated fields.]

[x] DCO signed
[x] Chart Version bumped
[x] Variables are documented in the README.md
[x] Title of the PR starts with chart name (e.g. [stable/chart])

@liyinan926  please take a look

/ok-to-test

@liyinan926  please take a look

/retest

/lgtm


Code Coverage

Improve code coverage overall.
Add unit tests for all missing layers.

App
Infra
View
Store Actions

#12 covers it.


outdated docker machine image fails to load runners

I am unable to start runners using docker machine v0.14.0 but am successfully processing runners using v0.16.2.

fixed in PR #18


We could follow an approach similar to what we have done in the Vault contracts here, making them "pausable". It uses a modifier and defines the guard variable as "pause" (opposite to "enabled")

And we could extend this "pause" barrier to other functions: placeBid, closeAuction, restartAuction

We could follow an approach similar to what we have done in the Vault contracts here, making them "pausable". It uses a modifier and defines the guard variable as "pause" (opposite to "enabled")

And we could extend this "pause" barrier to other functions: placeBid, closeAuction, restartAuction

I thought about this and decided that it isn't necessary to "pause" those functions.
If an auction is currently in progress we should let it finish which means bid and close still need to work if auctions are paused. Once auctions are paused placeBid and closeAuction will no longer work because there will not be any auctions. restartAuction won't work because it calls startAuction.
If we want to stop in progress auctions we need to add extra logic to send the locked funds back and end the auction

We could follow an approach similar to what we have done in the Vault contracts here, making them "pausable". It uses a modifier and defines the guard variable as "pause" (opposite to "enabled")

And we could extend this "pause" barrier to other functions: placeBid, closeAuction, restartAuction

I thought about this and decided that it isn't necessary to "pause" those functions.
If an auction is currently in progress we should let it finish which means bid and close still need to work if auctions are paused. Once auctions are paused placeBid and closeAuction will no longer work because there will not be any auctions. restartAuction won't work because it calls startAuction.
If we want to pause in progress auctions, I think we need to add extra logic to send the locked funds back and end the auction because it isn't right for us to lock those funds until the auctions are unpaused again.

Auctions will be paused and unpaused via VIP so participants will have time to react before pausing.


Add WCF container tests to this repo

Tests were added as part of migrating the WCF docker images into the dotnet-framework-docker repo - https://github.com/microsoft/dotnet-framework-docker/pull/318


Open another Application from main Application in JavaFX VsCode

## Question
I coded three applications with their own primary stage.
but now I want to open two of the applications from one application (which is going to be my main application)
I am initializing two buttons in my main application and with the button click I want to open the other two application respectively.
Details:
Main App;
I created this app to establish a port connection with my device to communicate with it.
App 1 & 2:
These app are created to generate a single page pdf file for different purpose.
in these apps I am taking input from user but now I have to fill some fields by a button click that will take information from my device. For that matter I want to establish a connection with my device.
This is the reason I want to connect these three apps.
else I have to make a new project from scratch which I don't want to do now if there is any solution of my problem.
Main App Code:
public class ConnectionTestApp extends Application {
public void start(Stage primaryStage) throws IOException {
//code that set the stage
}
public void setupEventHandlers() throws IOException {
   **// this button open App 1**

btnOpenCertificate.setOnAction(event -> {
try {
ProcessBuilder CertificateAppBuilder = new ProcessBuilder("java","-cp",".","project.pdfcreation.CertificateAppFinal");
Process CertificateAppprocess = CertificateAppBuilder.start();
            InputStream CertificateAppinputStream = CertificateAppprocess.getInputStream();
            InputStream CertificateApperrorStream = CertificateAppprocess.getErrorStream();

            readStream("App Output: ", CertificateAppinputStream);
            readStream("App Error: ", CertificateApperrorStream);
        }
        catch (IOException e)
        {
            AlertMessages.showErrorDialogue("Error", "Unable to open app: "+ e.getMessage());
        }

    });

// this button open App 2
    btnOpenInsDoc.setOnAction(event -> {
        try {
            ProcessBuilder InspectionAppBuilder = new ProcessBuilder("java","-cp",".","project.pdfcreation.InspectionAppFinal");
            Process InspectionAppprocess = InspectionAppBuilder.start();

            InputStream InspectionAppinputStream = InspectionAppprocess.getInputStream();
            InputStream InspectionApperrorStream = InspectionAppprocess.getErrorStream();

            readStream("App2 Output: ", InspectionAppinputStream);
            readStream("App2 Error: ",  InspectionApperrorStream);
        }
        catch (IOException e)
        {
            AlertMessages.showErrorDialogue("Error", "Unable to open app: "+ e.getMessage());
        }

    });

}
public static void main(String[] args) {
ConnectionTestApp.launch(args);
}
}
Error/Exception:
(I am getting this error. I tried all the options I can find on internet. I don't know what to do now. PLEASE HELP)
App Output: Start
App Error: Start
App Error: :Error: Could not find or load main class project.pdfcreation.CertificateAppFinal
App Output: End
App Error: End
App2 Output: Start
App2 Error: Start
App2 Error: :Error: Could not find or load main class project.pdfcreation.InspectionAppFinal
App2 Output: End
App2 Error: End
## Context
I am using JavaFX in VSCODE.
Java version:
openjdk version "21.0.1" 2023-10-17 LTS
OpenJDK Runtime Environment Temurin-21.0.1+12 (build 21.0.1+12-LTS)
OpenJDK 64-Bit Server VM Temurin-21.0.1+12 (build 21.0.1+12-LTS, mixed mode, sharing)
Your operating system and platform:
Windows 11
Version	10.0.22621 Build 22621 x64-based PC

@itoobaykhan This is a Java coding question and should be asked over in StackOverflow :-).  This tracker is for bugs with the Temurin build of OpenJDK.

Oh okay. Thank you


Allow registering SNAPSHOT versions into the registry

Today when we register a LTS released version and a SNAPSHOT, we only see the SNAPSHOT version in code-quarkus-app.
@gastaldi has already pushed https://github.com/quarkusio/registry.quarkus.io/pull/264
But it does not seem sufficient according to this zulip comment.
We are very interested in the possibility of registering SNAPSHOT versions in relation to our release cycle:
we a version of the Quarkus platform gets released (e.g. 3.16), we move our extensions to 3.16, and keep them in SNAPSHOT on the main branch.
we let people test and integrate this new version. We push fixes to our extensions during that period. At the end of this period, we bump to the latest version of Quarkus, for instance 3.16.3, and we create a release of our extensions. For instance 3.6.0 (pointing to Quarkus 3.16.3).
Without support for SNAPSHOT we have to release an ALPHA version, and applications created on this version would stay on that released version, and they would not get the fixes that come naturally from the SNAPSHOT version.
So what we would like when we move our extensions to 3.16, is registering immediately our 3.6.0-SNAPSHOT into the registry. and when we released 3.6.0 , then we replace the SNAPSHOT version into the registry by the release.
That way we do not have to release an ALPHA version just to please the registry.

the rule for SNAPSHOT seems to be: "to no longer show in the registry is when a final release related to that SNAPSHOT is available"


chore: add .gitignore

Added a python-centered .gitignore file.

Thanks @Karanjot786, looks good to me. Please go ahead and merge. In the future, please remember to use semantic commit messages for your PR titles, as described in our contributor guide :pray:

hey @Karanjot786, remember, to request reviews on your PRs, it's the quickest way to ensure I and @uniqueg see your PRs in time so we don't slow down your progress.

Hi, @uniqueg and @SalihuDickson Noted! I'll make sure to use semantic commit messages and request reviews on my PRs to ensure timely progress. Thank you for the feedback.


registry: Remove CentOS 8.4 and Ubuntu 18.04

/hold
/cc @0xFelix
/cc @codingben
I'm not sure if this is the approach we want to take instead of codifying some kind of deprecation?
Holding but marking as ready for review so CI runs.
What this PR does / why we need it:
Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Fixes #
Special notes for your reviewer:
Release note:

NONE

IMO it is fine to drop the build of these artifacts. The latest artifacts will remain on quay, until they are deleted manually.

I think we have now conflicts because https://github.com/kubevirt/containerdisks/pull/93 was merged earlier.

/hold cancel


Android fastfile template: clean before build

This ensures that newcomers don't encounter this issue: https://github.com/fastlane/fastlane/issues/4675

I signed it!

@slorber PR looks good.
Just to make sure this is actually the correct solution: Why is #4675 actually happening? Is supply just getting whatever is in the build folder? Or why is the clean necessary?

@janpio as far as I understand I built my app with Android Studio which generated a debug apk and the default Fastlane android template did try assemble release (so there are now debug + release apk) and upload debug + release.
In my case it failed because the versionCode of the debug apk was already existing, because it was not incremented.
I think it's decent to cleanup build folder before assembling new release.
Other solution could be to make sure the release build is uploaded.
Don't really know if it makes sense to upload a debug apk to google play store, I'm a newbie Android developer (React Native actually)

Ok, this might point to a deeper problem with supply (now called upload_to_play_store) in the way it picks up APKs. Will look into this (or at least try to understand what it does).
(I am not qualified to decide if a clean before each build is useful. Hope someone else will look into this.)

Oh, hai, @fastlane/android, any chance you folks could take a peek at this? 🤖

@casz thanks I've updated the pr

Hi @slorber, sorry that you had to wait so long for a reaction.
Unfortunately CI is failing with a failing test, maybe something caused by the additional clean? Also there is a merge conflict now that has to be taken care of. Could you please rebase onto master? (This will also retrigger a CI run with current CI setup which might give more information.)

@janpio I've created a new PR https://github.com/fastlane/fastlane/pull/11873 because the code has been refactored since last PR.


Insert custom data using dropzone collection

Suggesting some changes to the Readme as mentioned in #23.
In addition to including the information on inserting into custom tables from the DROPZONE_UPLOAD collection, I also refactored the v2.0 Upgrade Notes from a long paragraph into bulleted list (and added new note for this issue).

@melniker thanks for your help!


Drawing a line

Hopefully this is a simple question. I'd like a function draw_line(a, b) that draws a line to the screen from a to b where a and b are points in the form [x, y].
The docs for Line do not contain examples and searches for this topic only turn up a pixel by pixel example. Any help or pointers would be appreciated.

Thank you very much! This works! Could you please tell me a bit about how you figured this out? I looked here: http://docs.piston.rs/mush/graphics/line/index.html and assumed that if you could call line() as a function it would show up under the list of functions just as rectangle() does. I'm very new to rust so I appreciate any tips on navigating/searching code in useful ways.

Ok I think I've found my point of confusion there exist (at least) two paths in the docs for line.
First result on google when you search for 'rust piston line' is:
http://docs.piston.rs/mush/graphics/line/index.html
Note the 'mush' part of the URL. These docs do NOT have a line function.
However there also exist this:
http://docs.piston.rs/graphics/graphics/line/index.html
These docs DO have a line function of the signature your example uses.
I'm not sure how to interpret this. Does 'mush' have a dependency on an alternate version of graphics?

I am trying to create a grid using graphics 2D library in piston. In order to draw a grid, function is defined as pub fn draw(&self, line: &Line, draw_state: &DrawState, transform: Matrix2d, g: &mut G) where G: Graphics. I don't know what values to pass here. Any idea?

I'm having the same problem as @saraswathidatar , having trouble figuring out the proper type I must declare for the graphics type, i've tried many different things, I just want to make this function
fn draw_line_segment(color:[f32; 4], width:f64, interpolation:f64, p1:&Point2<f64>, p2:&Point2<f64>,
                     segment_width:f64, translation:Matrix2d, gfx: &mut Graphics) {

But I'm having trouble figuring out what the heck is the proper type for the Graphics that is coming from the draw_2d enclosure .. maybe you should add some examples to make it easier to create functions for beginners.

@inDigiNeous Try &mut impl Graphics. I added this to the FAQ: https://github.com/PistonDevelopers/piston/wiki/Frequently-Asked-Questions-(FAQ)#what-is-the-idiomatic-way-of-drawing-2d-for-generic-backends

Thank you @bvssvni, that works!

Closing issue.

So how can I draw a simple line ? Your answers are not beginner friendly as you might consider !


Makefile: fix compilation on linux for Swift 6.

as specified in https://github.com/swiftlang/swift-package-manager/pull/2787/commits/d1fdbbfef0aec0bf6c5a0bff5e9c2c9bf23c6bb5 passing multiple archs is intended to allow compiling universal binaries in macOS.
When compiling for Swift 6, passing these arguments in linux fails due to the lack of xcode. For some reason this didn't prevent building prior to Swift 6.

Tested sudo make install on linux and macOS

@stevelandeyasana Could you please take a look?

@stevelandeyasana


Any instructions for applying to custom datasets?

Nice work btw, looking forward to digging through the paper a bit more.

Thanks for this, Sterling.
Please take a look at the updated README.md and template_generic*py files.
Sorry for taking long to close the issue - I am not the owner of this group's GitHub page, and don't get notifications when issues are raised. Feel free to drop a line to<EMAIL_ADDRESS>if you have any queries in the future.
Best
Andrij


Chore: add code of conduct file

Type of feature
📦 Chore
Current behavior
This repo does not have a code of conduct file
Suggested solution
Create a new file named CODE_OF_CONDUCT.md and use the content of https://www.contributor-covenant.org/version/2/1/code_of_conduct/
Additional context
No response
Contributing Docs

[ ] I agree to follow this project's Contribution Docs

Assign this to me. I can do this


c_macos_dbg_native.bins/dbg/invalid_call_argument_test is failing

https://grpc-testing.appspot.com/job/gRPC_pull_requests_macos/3034/#showFailuresLink
This is from PR #9888, which is based on v1.1.x

Not seen in >2months.


Logic Error in Qcodes Session Creator?

I believe I've found a logic error in the ZISession class which is used to create toolkit sessions for the Qcodes instrument instances.
The error is in the following code block:
        if not new_session:
            for instance in Session.instances():
                if instance.server_host == server_host and (
                    instance.is_hf2_server == hf2
                    or server_port is None
                    or instance.server_port == server_port
                ):
                    return instance

If I attempt to instantiate two MFLIs on different ziDataServer ports, and I do not use the new_session keyword argument, the instance.is_hf2_server == hf2 flag causes the 2nd MFLI to end up on the same session and port as the first instance, even though I explicitly set different ports.
If I do use the new_session keyword, then I cannot have more than one MFLI on the second ziDataServer port on the same session.

Thank you, @samantha-ho, for reporting this issue. We are on it and we'll provide the fix as soon as our tests confirm it.
To better understand your use case, I assume you have multiple MFLIs and you'd like to synchronize them in multiple MDS clusters where each group of MFLIs are synchronized independently from the other groups.

That's correct. I have 4-6 MFLIs, and I'd like to sync them in pairs. I received some guidance from a ZI engineer on how to accomplish this, and in implementing their suggestion, ran into this issue.

Also, here is a minimal code fragment that reproduces the problem
from zhinst.qcodes import MFLI

mfli1 = MFLI(serial="DEV6890", host="localhost", interface="1GbE", port=8004)
mfli2 = MFLI(serial="DEV6504", host="localhost", interface="1GBE", port=8008)

assert mfli1.session.server_port == 8004
assert mfli2.session.server_port == 8008

We released a new version (https://pypi.org/project/zhinst-qcodes/0.5.5/) which fixes this issue.
If you are still having this or other issues, please don't hesitate to let us know.


Fix MatchData#[] with Range argument and nil values in the matches

Another URI yak.

Sneak preview: the next yak is in MatchData#[] as well. I feel like these URI specs are better specs for MatchData than the actual MatchData specs ;)
I'm going to save the new specs until the URI gem passes its specs, so I can push them all upstream in 1 go.


RemoteTransform2D set to update position and rotation only, is slightly affecting scale.

Tested versions

Discovered in v4.1.3.stable.official [f06b6836a]
Reproducible in v4.2.1.stable.official [b09f793f5] and v4.3.dev1.official [9d1cbab1c]
Could not reproduce in v3.5.3.stable.official [6c814135b]

System information
Godot v4.1.3.stable - Ubuntu 22.04.3 LTS 22.04 - X11 - Vulkan (Forward+) - dedicated NVIDIA GeForce GT 730 (nvidia; 470.223.02) - AMD FX(tm)-4100 Quad-Core Processor (4 Threads)
Issue description
I'm using a RemoteTransform2D node to set the position and rotation of a Sprite2D. The scale of the Sprite2D should not be affected.
The parent of the RemoteTransform2D has a scale that is not {1,1}, and the RemoteTransform2D node is set to use global co-ordinates.
The scale of the target Sprite2D is changing slightly each time the position and rotation are updated. This change is only around 0.0000001 each frame, but it is accumulating over a long-playing animation, to the point of becoming noticeable after an hour or so.
I suspect that there is a floating-point error introduced when calculating the new transform matrix.
Steps to reproduce
MRP attached, open the main scene and view the output generated by the tool script. This will show that the icon scale is not exactly {1,1} as expected, but is approximately so.
Run the animation in the player for a few minutes to see the scale drift over time.
Minimal reproduction project (MRP)
RemoteTransformScaleBug.zip

Can't reproduce in v4.0.2.stable.official [7a0977ce2].
Can reproduce in v4.0.3.stable.official [5222a99f5].
Which means we probably introduced this regression in #75487 @Rindbee (it was cherry-picked to 4.0.3). Seems that setting the scale separately is needed then? :thinking:

In fact, scale/position will be re-set to avoid setting rotation.
https://github.com/godotengine/godot/blob/c8c483cf57a768110fce57e509f9b855e69d34b7/scene/2d/remote_transform_2d.cpp#L83-L85
It seems to be a problem of calculation accuracy or floating point error.
After a period of time, setting (1, 1), the result of outputting trans.get_scale() is not (1, 1).

If we don't synchronize a component, maybe cache it and then continually set the component using the initially cached value instead of using the intermediate value. This may prevent the gradual deviation of this component value.


Cannot run interop for cpp in 1.32.0

Looks like the docker build for cxx is broken so not able to find bins/opt/interop_client in the docker image.
$ tools/interop_matrix/run_interop_matrix_tests.py -l cxx --release v1.32.0
PASSED: pull_image_gcr.io/grpc-testing/grpc_interop_cxx:v1.32.0 [time=18.5sec, retries=0:0]
bash: bins/opt/interop_client: No such file or directory
FAILED: cxx__cxx_v1.32.0:cxx:grpc-test:large_unary [ret=127, pid=245082, time=0.8sec]
@markdroth

Nico, any idea what might be wrong here?

@srini100  do you want to finish the C++ 1.32.0 interop matrix or should I do it?

@jtattermusch, can you please take care of this in case any other issue pops up?


[FEATURE] Get UML name from fragment instead of default from config

This feature request is simple, to make more use out of this plugin we need to have access to the uml name inside the overridable methods for example the generator - currently this is not possible because the uml code passed is also without @startuml and @enduml. The name is defined as follows according to the PlantUML spec:
@startuml {NAME}
A -> B
@enduml

It would be amazing to have this name available so it can be used for example to save the image with a proper name

I saw you mentioned this is "officially supported by PlantUML itself". Could you expand what you mean by that? Is this feature reflected in PlantUml documentation?