Improvement to hook response.

Hello,
It would be nice if the response hook was called even if there is an error during the send() process flow.
Example, if a timeout occurs, the cb is not used and a requests constructed url and query data that can normally be saved via the cb is not available - that is, URL that caused a timeout.
Thanks for your consideration.

@JackDandy If you pass stream=True, then the callback should fire once the response has been received, so that resolves the problem where timeouts are encountered downloading the response data.
If the timeout is encountered while actually downloading the response, we can't call the response hook because we don't have a response to call it with. If you need to intercept that data the best place to do it is likely to be in the HTTPAdapter itself (by overriding the send method, which gets a PreparedRequest object), or by using the prepared request flow which will give you access to those things, also on a PreparedRequest object.
Do either of those work for you?

If there is no response to provide to the hook, I'm uncertain what we would call the hook with. I do not think we could safely construct a fake response object just so we can call the response hook (which wouldn't confuse existing response hooks).
You can introspect what requests constructs for the url, query data, etc. by using the prepared request flow.

The hook is a very nice and cheap way to get the constructed URL for logs that is used in the request. To change existing code and add this prepared request flow is too much for the purpose. It's ok, I can make do without instead, it was just a suggestion.

Sounds like PreparedRequest is what you want — it was built for exactly this purpose, if I understand you correctly.


Added the Japanese translation for i8n

Contains
Partial fix to #2309  by adding in the Japanese Translation
How to test
Outstanding before merging

[ ] Will need translation work

Translated and entered japanese version of english language.

Can one of the admins please verify this patch?

Neat, thanks @roshikouhai !
@GooeyHub: ok to test

Hooray Jenkins reported success with all tests good!

Thanks, @roshikouhai - this is definitely better than the current state. I think we need font bitmaps for Japanese glyphs.
Some glyphs seem to be Katagana while some are Kanji. Can you confirm this?
Is it enough to cover the CJK Unified Ideographs (Part 1)?

Even part 1 alone contains 5375 glyphs (4E00–62FF), so this is hardly an option. Does is make sense to include Katagana only (30A0-30FF)?

@roshikouhai - ping! Still out there? :-)

Sorry, had school tests for a while. So do you want me to convert all of the translation into katakana?

That would make it easier for us, yes. Does that make sense? Is that readable/understandable for everyone?

It would still get the point across at the downside of being unconventional. I will get working on a katakana verison then.

What would be the "usual" approach then? Kanji? It seems to comprise roughly 5400 glyphs without extensions.

How about a mixture of hiragana and katakana? That would be easier to read.

Sounds great! I will prepare the fonts for that while you adjust the translation.

I'm fairly new to the Github workflow. Should I submit a new pull request or commit this branch?

Both works in general. I would add the commit to this branch so it will be part of the Pull Request and discussion.
You can merge the commits later into one if you want or even re-edit the existing commit, but there's no need to do that.

What do you think of that rendering?

This is Hiragana and Katagana characters only, but complete.

really nice! Almost down with hiragana and katakana translation.

Changed so that the japanese translation is only hiragana and katakana.

Hooray Jenkins reported success with all tests good!

Thank you, @roshikouhai!

Much appreciated @roshikouhai ! Looks great
Will add you to the credits shortly, waiting for a related PR that overhauls the credits list itself :-)
If you have a forum account or make one let me know and we'll get you a Contributor badge there. Feel free to introduce yourself at http://forum.terasology.org/forum/contributor-introductions.7 if you're interested in contributing more stuff, anything is appreciated!


Release 3.3.0 with SEN44 Support

Check the following:

[-] Breaking changes marked in commit message
[x] Changelog updated
[x] Code style cleaned (ran make style-fix)
[x] Tested on actual hardware

I'm not that happy, that we add SEN44 to the SPS repository, since it is quite confusing. Also as we go along with the generating drivers from description we'll probably see a embedded-sps30 and an embedded-sen44 repository in the future.

Looks good! One error I found is that we copy the test-config from embedded-uart-common into the releases. We also did this before, so it's not a problem with this changes. We could fix it now or do it when we update to the shared embedded-common.

Looks good! One error I found is that we copy the test-config from embedded-uart-common into the releases. We also did this before, so it's not a problem with this changes. We could fix it now or do it when we update to the shared embedded-common.

https://github.com/Sensirion/embedded-uart-sps/pull/80


Add Tailwind CSS to the templates

[x] Add tailwind
[ ] Test all the templates

Worth noting that Tailwind v4 is planning to release with a Vite plugin that should obsolete all/most of this setup. Might be worth waiting for that, but not sure when they plan to ship it

Also, by doing this we lose the benefit that npx tailwindcss init provides.
Setting up Tailwind will always take up to a few minutes, compared to months or years of building the project. How often are we starting new projects that those minutes became so unbearable?
Even though I love Tailwind, I feel like this would be a step backwards, and a maintenance burden.

Worth noting that Tailwind v4 is planning to release with a Vite plugin that should obsolete all/most of this setup. Might be worth waiting for that, but not sure when they plan to ship it

Haha yeah, I thought about that. If it's a matter of weeks I'm happy to wait, but I have no idea how long it'll be (or if anyone knows)

Also, by doing this we lose the benefit that npx tailwindcss init provides.
Setting up Tailwind will always take up to a few minutes, compared to months or years of building the project. How often are we starting new projects that those minutes became so unbearable?
Even though I love Tailwind, I feel like this would be a step backwards, and a maintenance burden for you.

I appreciate the thoughts. it's hard balance. The majority of times people run something like npx create-remix@latest is because they want to

try Remix for the first time
teach Remix
Experiment with something they'll throw away

It's a pretty small amount of the time people run a create-* CLI to actually start a project they'll be working on for months or years. So I kind of few it the opposite, how many minutes are added for projects that are going to last months or years to either delete tailwind or modify the way they want to (even using npx tailwindcss init).
I definitely get why it can be seen as a step backwards, since it somewhat degrades the "purity" of the Remix template. I'm not sure I understand why you think it'll be a maintenance burden? Especially once tailwind 4 with the Vite plugin comes out

The other piece I should mention is that we want to make the templates a little nicer and more styled, so either we'll have to use something like tailwind, or ship a bunch of custom css or css modules that the user will delete. So either way in an attempt to make the templates more inviting, we're going to be including some degree of "you have to delete this stuff". I'm not sure the best way to strike that balance

Yes, when I create an example on StackBlitz or Codesandbox, it's always a hassle if you want to use something like flex without resorting to inline styles or external CSS. Having Tailwind as part of the default template would definitely help.

Ok, I'm convinced. I would rather provide that than the way Vite starts. Forget what I said about maintainenance burden, I was mostly refering to the purity, as you recognized.

Thanks for your thoughts! We're gonna be updating these templates a bit over the next week or two I imagine, so please reach out if you feel like anything is funky
Thanks @kiliman for the thoughts as well

Why not
import stylesheet from '~/tailwind.css?url'

export const links: LinksFunction = () => {
  return [
    { rel: 'stylesheet', href: stylesheet },
  ]
}

instead of import "./tailwind.css"; since Vite v5.1 has shipped.

You can use either method. Since Remix/RR is going all in with Vite, it's probably better to go with the Vite way (side-effect import).


Windows 11 Pro 10.0.22621.3447 Stopped, Not listening

Last line in rdpwrap.ini must be blank!

One termsrv.dll version = ONE opened issue for ONE architecture.

Duplicate of https://github.com/stascorp/rdpwrap/issues/2549


Add boxes around sections

@yousrabk what do you think of this? My choice of colors is not very good though ...

I like the boxes, but yes, the color isn't good.

Excellent, I'll let you guys merge and iterate over the colors :)

Agreed on both fronts, +1 for merge
Also +1 to allow whomever has been setting the colors (@yousrabk or @agramfort?) to set the colors however they want at least until the final review stages -- that would help us avoid [bike shedding] (http://phk.freebsd.dk/sagas/bikeshed.html) for a while

Agreed on both fronts +1 for merge
Also +1 on letting whoever has been changing the colors so far (@agramfort or @yousrabk) be the only person doing it, at least until final review stages. That will help us avoid [bike shedding] (http://phk.freebsd.dk/sagas/bikeshed.html) for a while :)

Sorry for the comment dup, I'll delete the second one (GitHub was being flakey)

okay merged. Thanks for the quick look :)

Thx
Let's focus all on content


Allow chart to show income by other timeframes

(Not for MVP) Right now the result chart/graph's ticks are annual income amounts. Considering clients will probably be putting in weekly amounts, presumably because they're more familiar with them, it might be more useful to the client if we initially show the tick mark values as weekly amounts. We can probably find a way to allow the user to switch to monthly or yearly amounts too.

Will be part of design recommendations, but as you noted, not for MVP.


Create new cronjob run check

Cronjobs can sometimes get stuck and miss 100 runs.  When they do this, Kubernetes will stop scheduling them entirely.  We should be alerted when cronjobs have stopped.

catch when a cron job has skipped some number of runs

either by looking at last run time, or
by looking for an event that says 100 events have been missed

allow an optional whitelist environment variable that restricts which cronjobs in a namespace are analyzed

PR has been submitted for this. #677


Issue with  displaing names in Cyrillic

Windows 10 x64, With default russian laguage - issue with names

Possible to fix?

When you're running C:\Program Files\FlexASIO\x64\PortAudioDevices.exe, do the devices show up correctly or also scrambled? The GUI basically just picks up the strings the way portaudio offers them up.

Hello,
Yes, if I run this command from cmd.exe devices show correct names in russian, here is part of output:
Device index: 15
Device name: "Speakers 2 (Realtek HD Audio output with SST)"
Default sample rate: 44100
Input: max channel count 0, default latency 0.01s (low) 0.04s (high)
Output: max channel count 8, default latency 0.01s (low) 0.04s (high)
Host API name: Windows WDM-KS
Host API type: 11 [WDMKS]

Device index: 16
Device name: "Динамик ПК (Realtek HD Audio output with SST)"
Default sample rate: 48000
Input: max channel count 2, default latency 0.01s (low) 0.04s (high)
Output: max channel count 0, default latency 0.01s (low) 0.04s (high)
Host API name: Windows WDM-KS
Host API type: 11 [WDMKS]

Device index: 17
Device name: "Микрофон 1 (Realtek HD Audio Mic input with SST)"
Default sample rate: 48000
Input: max channel count 2, default latency 0.01s (low) 0.04s (high)
Output: max channel count 0, default latency 0.01s (low) 0.04s (high)
Host API name: Windows WDM-KS
Host API type: 11 [WDMKS]
DEFAULT INPUT DEVICE for this host API

Device index: 18
Device name: "Микрофон 2 (Realtek HD Audio Mic input with SST)"
Default sample rate: 16000
Input: max channel count 4, default latency 0.01s (low) 0.04s (high)
Output: max channel count 0, default latency 0.01s (low) 0.04s (high)
Host API name: Windows WDM-KS
Host API type: 11 [WDMKS]

Device index: 19
Device name: "Микрофон 3 (Realtek HD Audio Mic input with SST)"
Default sample rate: 16000
Input: max channel count 4, default latency 0.01s (low) 0.04s (high)
Output: max channel count 0, default latency 0.01s (low) 0.04s (high)
Host API name: Windows WDM-KS
Host API type: 11 [WDMKS]
[PortAudio] WASAPI: getting Windows version with RtlGetVersion(): major=10, minor=0, build=19041
[PortAudio] WASAPI: Windows version = 5
[PortAudio] WASAPI: device idx: 00
[PortAudio] WASAPI: ---------------
[PortAudio] WASAPI:0| name[Динамики (Realtek(R) Audio)]
[PortAudio] WASAPI:0| form-factor[1]
[PortAudio] WASAPI: IAudioClient version = 3
[PortAudio] WASAPI:0| def.SR[44100] max.CH[2] latency{hi[0.010159] lo[0.003000]}
[PortAudio] WASAPI: device idx: 01
[PortAudio] WASAPI: ---------------
[PortAudio] WASAPI:1| name[Микрофон (Realtek(R) Audio)]
[PortAudio] WASAPI:1| form-factor[4]
[PortAudio] WASAPI:1| def.SR[48000] max.CH[2] latency{hi[0.010000] lo[0.001333]}
[PortAudio] WASAPI: device idx: 02
[PortAudio] WASAPI: ---------------
[PortAudio] WASAPI:2| name[Стерео микшер (Realtek(R) Audio)]
[PortAudio] WASAPI:2| form-factor[10]
[PortAudio] WASAPI:2| def.SR[48000] max.CH[2] latency{hi[0.010000] lo[0.001333]}
[PortAudio] WASAPI: device list ok - found 3 devices
[PortAudio] WASAPI: initialized ok
[PortAudio] after paHostApiInitializers[2].
[PortAudio] before paHostApiInitializers[3].
[PortAudio] Setup called

Hmm. I just installed a virtual device and renamed it to Динамик ПК and it seems to work ok here:

Strange.

I think it may have to do with the conversion from UTF to Win1252 for the TreeList. Not sure why that fails in your case.

Yes here is my settinngs in Win 10 (default settings for russian release)
PS C:\Users\admin> [System.Text.Encoding]::Default
IsSingleByte      : True
BodyName          : koi8-r
EncodingName      : Кириллица (Windows)
HeaderName        : windows-1251
WebName           : windows-1251
WindowsCodePage   : 1251
IsBrowserDisplay  : True
IsBrowserSave     : True
IsMailNewsDisplay : True
IsMailNewsSave    : True
EncoderFallback   : System.Text.InternalEncoderBestFitFallback
DecoderFallback   : System.Text.InternalDecoderBestFitFallback
IsReadOnly        : True
CodePage          : 1251


Add feature/scenarios for deposits

closes #252

fyi: non-blocking: these tests all assume that the asset you are depositing is ERC20 (which require approvals) in the future there may be some assets that don't require an approval


RLS 0.25.3

@TomAugspurger

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.

lgtm

Is drone.io a new CI service we are testing out? It wasn't fully clear to me what was causing the failure.
I found this related SO article:
https://stackoverflow.com/questions/11821378/what-does-bashno-job-control-in-this-shell-mean
So then was looking at the YAML file we have defined for that, but it wasn't clear to me what type of Pipeline we are using (Docker?)
https://docker-runner.docs.drone.io/configuration/

Hitting https://github.com/conda-forge/conda-smithy/pull/1185 maybe?
We could ignore it for now probably... I think drone is building arm64 packages.


Docker install the gitea,no "custom" folder?

Hello,I use the official image to install gitea,but no custom folder.I use 'echo $GITEA_CUSTOM' command to search the eve in gitea container ,it is show "/data/gitea",but in '/data/gitea' has no custom folder.

For the Docker image, /data/gitea acts as the custom folder.


ErrorHandler onException event

I'd like to log errors and exceptions to errbit.
Yii 1 had onError and onException events. Yii 2 does not. I have to extend both \yii\web\ErrorHandler and \yii\console\ErrorHandler, and override the logException method to send the exception to errbit. It'd be more convenient if I could just attach a behavior to handle an event to both error handlers.

Relates #7305

Logger::log() allows message not only as string but also "more complex data structure". So we may consider allowing entire Exception object logging.

That would be handy and isn't breaking BC.

looks like it is as simple as this https://github.com/yiisoft/yii2/pull/8436, not finally sure about BC though...

Because of this change I got spammed with
[Wed May 20 15:43:23 2015] PHP Warning:  var_export does not handle circular references in /var/vendor/yiisoft/yii2/helpers/BaseVarDumper.php on line 187
[Wed May 20 15:43:23 2015] PHP Stack trace:
[Wed May 20 15:43:23 2015] PHP   1. yii\log\Logger->flush() /var/vendor/yiisoft/yii2/log/Logger.php:0
[Wed May 20 15:43:23 2015] PHP   2. yii\log\Dispatcher->dispatch() /var/vendor/yiisoft/yii2/log/Logger.php:173
[Wed May 20 15:43:23 2015] PHP   3. yii\log\Target->collect() /var/vendor/yiisoft/yii2/log/Dispatcher.php:183
[Wed May 20 15:43:23 2015] PHP   4. yii\log\DbTarget->export() /var/vendor/yiisoft/yii2/log/Target.php:112
[Wed May 20 15:43:23 2015] PHP   5. yii\helpers\BaseVarDumper::export() /var/vendor/yiisoft/yii2/log/DbTarget.php:70
[Wed May 20 15:43:23 2015] PHP   6. yii\helpers\BaseVarDumper::exportInternal() /var/vendor/yiisoft/yii2/helpers/BaseVarDumper.php:147
[Wed May 20 15:43:23 2015] PHP   7. var_export() /var/vendor/yiisoft/yii2/helpers/BaseVarDumper.php:187

Reproduction:
$ composer global require "fxp/composer-asset-plugin:~1.0.0"
$ composer create-project --prefer-dist --stability=dev yiisoft/yii2-app-basic basic

change logger target to db
// config/web.php
'log' => [
    'traceLevel' => YII_DEBUG ? 3 : 0,
    'targets' => [
        [
            'class' => 'yii\log\DbTarget',
            'levels' => ['error', 'warning'],
        ],
    ],
],

throw UnauthorizedHttpException
// controllers/SiteController.php
public function actionIndex()
{
    throw new \yii\web\UnauthorizedHttpException();
}

run server
$ cd basic/web
$ php -S localhost:8080

see logs
$ curl http://localhost:8080/index.php

Relates #8723

fixed, thanks for reporting!

vendor/yiisoft/yii2/helpers/BaseVarDumper.php on line 187

Hey, i just found this thread, hope anyone can help me with this.
I am currently working on a yii1.1 project and integrated Sentry to it. The thing is that as mentioned earlier the log() methods receives a message as a string even if an exception, hence, i cannot use the $sentry->captureException...
I did the following in the base controller:


fix: 間違えてコミットしてしまった部分の削除

Codecov Report

Merging #109 (b18ed89) into master (c6dc163) will increase coverage by 0.01%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master     #109      +/-   ##
==========================================
+ Coverage   80.93%   80.95%   +0.01%
==========================================
  Files          12       12
  Lines         278      273       -5
==========================================
- Hits          225      221       -4
+ Misses         53       52       -1

Impacted Files
Coverage Δ

lib/hatenablog_publisher/client.rb
30.30% <ø> (-2.05%)
:arrow_down:

lib/hatenablog_publisher/entry.rb
100.00% <ø> (+2.77%)
:arrow_up:

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


seaweedfs不支持prometheus 作为volume  挂载

A lockfile from a previous execution already existed. It was replaced" file=/prometheus/lock
文件被锁住了导致prometheus 启动失败，nfs 也是不支持，seaweed 有什么办法么

Please use docker compose to reproduce this locally.


add prism walls view counter for separate walls

Finally, add this in the next update, views counter for all walls and setups.

Finally, add this in the next update, views counter for all walls and setups.


Not able to post through ccla_whitelist_requests endpoint as the developer/employee(github user) username is not available in dynamodb

Summary
Not able to request for whitelist to a company as the username of the developer/employee(github user) is not available in dynamodb
Background
Provide context to the issue - provide steps to reproduce the behavior, such as:
Pre-requsite data
-Github organization automationframeworkui with a apiFramework should exist
-Github org should be installed for the project "CloudFoundry.org Foundation, Inc."
-CLA group "APIFramework" should be exist for both ccla and icla. Templates should be generated and "apiFramework"  repository of github oreganization "automationframeworkui" should be added to APIFramework cla group
-User with CLA Manager role should exist
-An Employee/developer(github user) to get whitelisted for contribution should exist
Steps To Follow

Launch https://github.com/automationframeworkui/apiFramework
Login as employee/developer
Edit some files perform Pull Request
All checks fail and requests for CLA Sign
Click on CLA Sign
Github user will be redirected to Contributor console and github user details will be added to dynamodb.
Observed that except github username other guthub user details were added dynamodb
Now try to request for ccla whitelisting through api using ccla_whitelist_requests end point
/v3/company/{{companyid}}/ccla_whitelist_requests/{{projectid}}
Observed below reponse and was not able to post whitelist request
{
"Code": "ValidationException",
"Message": "ValidationException: One or more parameter values were invalid: An AttributeValue may not contain an empty string\n\tstatus code: 400, request id: 8TB6EPON7TCTKS9MSEQ5HO4ULBVV4KQNSO5AEMVJF66Q9ASUAAJG"
}

Expected behavior
When user is redirected to contributor console from github while trying to sign the CLA, all required github user details should be stored in dynamodb and we should be able to request for whitelisting from api end point ccla_whitelist_requests
Screenshots
If applicable, add screenshots to help explain your problem.
Environment
Please complete the following information:

Environment: DEV
OS: [e.g. iOS]
Browser [e.g. chrome, safari]
Version [e.g. 22]

Additional Context
Add any other context about the problem here.
Acceptance Criteria
The "done" criteria when this feature or problem is resolved. Such as:

Unit Tests added and running in CI
Functional Tests updated to cover feature, if applicable
Demonstrate the set of capabilities to the product team while the code is running in the STAGING environment.

References
(Optional) Provide any code or specification references that would be helpful for the developer implementing this feature.

@wanyaland is this related to your task #589 ? Please review and confirm.

@automationframework508 . I just wanted to verify at which point the referred api endpoint was being called. Because that error got could be an issue with the payload being invalid/empty. Payload format {'userId': <user_id>' } could have had an issue.

Verified that able to request whitelisting of developer(github user) through API and able to see the details in UI


Upgrade carbon charts

Summary

Update carbon charts to pick up performance fix: https://github.com/carbon-design-system/carbon-charts/issues/886
Updated mocks to properly mock our currently used charts with a div

Acceptance Test (how to verify the PR)

Test suite passes
Regression chart stories to ensure tooltips still render correctly, zoombar still functions correctly
Hover over points on this story and see that the tooltip disappears quickly when cursor leaves the data point http://<IP_ADDRESS>:3000/?path=/story/watson-iot-timeseriescard--lots-of-dots

:tada: This PR is included in version 2.141.0-next.30 :tada:
The release is available on:

npm package (@next dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

:tada: This PR is included in version 2.141.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Type error when installing as global plugin

I am not able to register the Observer globally because of below type error. I am using mobx-vue-lite 0.4.1 and vue 3.4.15.
Following code
// main.js
import { createApp } from 'vue'
import Observer from 'mobx-vue-lite'

const app = createApp(App)
app.use(Observer)

throws a type error:
Argument of type
DefineComponent<{}, {}, { key: number; dispose: () => void; }, {}, { forceUpdate(): void; }, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & ... 1 more ... & ComponentCustomProps, Readonly<...>, {}, {}>

is not assignable to parameter of type Plugin<[]>
Type
DefineComponent<{}, {}, { key: number; dispose: () => void; }, {}, { forceUpdate(): void; }, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & ... 1 more ... & ComponentCustomProps, Readonly<...>, {}, {}>

is not assignable to type FunctionPlugin<[]>
Any idea what the problem is?

Still investigating but on my end, the default export works and the named export type fails:
// works
import Observer from 'mobx-vue-lite'

// fail
import { Observer } from 'mobx-vue-lite'

Thanks for the quick answer. Webstorm was auto importing as following
import { Observer } from 'mobx-vue-lite'
which throws this error. Using Observer as default import works.


Update cloud-on-aws-faq.md

Proposed changes

Unreleased project version (optional)

Related issues (optional)

Thanks, @scjane!


lua-resty-iputils v0.2.1 error with ip-restriction plugin

Summary
I was setting up my ip-restriction plugins for a new product and ran into an issue when I created and enabled an ip-restriction plugin on an API with a whitelist of ["<IP_ADDRESS>/0"].
Related issue: https://github.com/hamishforbes/lua-resty-iputils/issues/11
Rockspec line: https://github.com/Mashape/kong/blob/master/kong-0.11.0-0.rockspec#L26
An update to lua-resty-iputils => 0.3.0 has fixed this issue for me.
NOTE: I realize that adding a plugin with a whitelist of <IP_ADDRESS>/0 is the same as no plugin at all.
*10094715 lua entry thread aborted: runtime error: /usr/local/share/lua/5.1/resty/iputils.lua:199: attempt to compare number with nil
stack traceback:
coroutine 0:
    /usr/local/share/lua/5.1/resty/iputils.lua: in function 'binip_in_cidrs'
    ...al/share/lua/5.1/kong/plugins/ip-restriction/handler.lua:78: in function 'access'
    /usr/local/share/lua/5.1/kong.lua:350: in function 'access'
    access_by_lua(nginx-kong.conf:89):2: in function <access_by_lua(nginx-kong.conf:89):1>

Steps To Reproduce

Create 'ip-restriction' plugin.
Set config.whitelist=["<IP_ADDRESS>/0"]
Access API, see error.
Check logs.

Additional Details & Logs

Kong version (0.11.0)

Thank you for the report. This has been fixed in #2918 and will be in our upcoming 0.11.1 release.


Unit test output is not homoiconic

Would be cool to have it be homoiconic so you could just copy/paste a bunch of the output and it would run it.
Unit Test: { [ T{ inet4 } ] [ f 0 <inet4> ] }
Unit Test: { [ T{ inet6 { port 1 } } ] [ f 1 <inet6> ] }
Unit Test: {
    [ T{ inet { host "google.com" } } ]
    [ "google.com" f <inet> ]
}
Unit Test: {
    [ T{ inet { host "google.com" } { port 0 } } ]
    [ "google.com" 0 <inet> ]
}
Unit Test: {
    [ T{ inet { host "google.com" } { port 80 } } ]
    [ "google.com" 0 <inet> 80 with-port ]
}
Unit Test: { [ T{ inet4 { host "<IP_ADDRESS>" } } ] [ "<IP_ADDRESS>" 0 <inet4> ] }
Unit Test: {
    [ T{ inet4 { host "<IP_ADDRESS>" } { port 53 } } ]
    [ "<IP_ADDRESS>" 0 <inet4> 53 with-port ]
}
Unit Test: {
    [ T{ inet6 { host "5:5:5:5:6:6:6:6" } { port 12 } } ]
    [ "5:5:5:5:6:6:6:6" 0 <inet6> 12 with-port ]
}
Unit Test: {
    [ T{ inet6 { host "fe80::1" } { scope-id 1 } { port 80 } } ]
    [ T{ ipv6 { host "fe80::1" } { scope-id 1 } } 80 with-port ]
}
Unit Test: {
    [ ]
    [ T{ inet4 { host "<IP_ADDRESS>" } { port 53 } } test-sockaddr ]
}
Unit Test: {
    [ ]
    [
        T{ inet6 { host "5:5:5:5:6:6:6:6" } { port 12 } }
        test-sockaddr
    ]
}
Unit Test: {
    [ ]
    [
        T{ inet6
            { host "fe80:0:0:0:0:0:0:1" }
            { scope-id 1 }
            { port 80 }
        } test-sockaddr
    ]
}
Unit Test: {
    [ T{ inet { host "google.com" } { port 80 } } ]
    [ "google.com" 80 with-port ]
}
Must Fail: { [ "google.com" f <inet4> ] }
Must Fail: { [ "a.b.c.d" f <inet4> ] }
Must Fail: { [ "google.com" f <inet6> ] }
Must Fail: { [ "a.b.c.d" f <inet6> ] }
Unit Test: { [ "<IP_ADDRESS>:12" ] [ "<IP_ADDRESS>" 12 <inet4> present ] }
Unit Test: { [ "::1:12" ] [ "::1" 12 <inet6> present ] }
Unit Test: { [ "fe80::1%1:12" ] [ "fe80::1" 1 12 inet6 boa present ] }
Unit Test: { [ B{ 1 2 3 4 } ] [ "<IP_ADDRESS>" T{ inet4 } inet-pton ] }
Unit Test: { [ "<IP_ADDRESS>" ] [ B{ 1 2 3 4 } T{ inet4 } inet-ntop ] }
Unit Test: {
    [ "<IP_ADDRESS>" ]
    [ B{ 255 255 255 255 } T{ inet4 } inet-ntop ]
}
Unit Test: {
    [ B{ 255 255 255 255 } ]
    [ "<IP_ADDRESS>" T{ inet4 } inet-pton ]
}
Unit Test: {
    [ B{ 0 1 0 2 0 3 0 4 0 5 0 6 0 7 0 8 } ]
    [ "1:2:3:4:5:6:7:8" T{ inet6 } inet-pton ]
}
Unit Test: {
    [ "1:2:3:4:5:6:7:8" ]
    [
        B{ 0 1 0 2 0 3 0 4 0 5 0 6 0 7 0 8 } T{ inet6 }
        inet-ntop
    ]
}
Unit Test: {
    [ B{ 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 } ]
    [ "::" T{ inet6 } inet-pton ]
}
Unit Test: {
    [ "0:0:0:0:0:0:0:0" ]
    [
        B{ 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 } T{ inet6 }
        inet-ntop
    ]
}
Unit Test: {
    [ B{ 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 } ]
    [ "1::" T{ inet6 } inet-pton ]
}
Unit Test: {
    [ B{ 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 } ]
    [ "::1" T{ inet6 } inet-pton ]
}
Unit Test: {
    [ B{ 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 } ]
    [ "::100" T{ inet6 } inet-pton ]
}
Unit Test: {
    [ B{ 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 2 } ]
    [ "1::2" T{ inet6 } inet-pton ]
}
Unit Test: {
    [ B{ 0 1 0 0 0 0 0 0 0 0 0 0 0 2 0 3 } ]
    [ "1::2:3" T{ inet6 } inet-pton ]
}
Unit Test: {
    [ B{ 0 1 0 2 0 0 0 0 0 0 0 0 0 3 0 4 } ]
    [ "1:2::3:4" T{ inet6 } inet-pton ]
}
Unit Test: {
    [ "1:2:0:0:0:0:3:4" ]
    [
        B{ 0 1 0 2 0 0 0 0 0 0 0 0 0 3 0 4 } T{ inet6 }
        inet-ntop
    ]
}
Unit Test: {
    [ B{ 0 0 0 0 0 0 0 0 0 127 0 0 0 0 0 1 } ]
    [ "::<IP_ADDRESS>" T{ inet6 } inet-pton ]
}
Unit Test: {
    [ B{ 0 2 0 0 0 0 0 9 0 127 0 0 0 0 0 1 } ]
    [ "2::9:<IP_ADDRESS>" T{ inet6 } inet-pton ]
}
Unit Test: {
    [ "2001:6f8:37a:5:0:0:0:1" ]
    [
        "2001:6f8:37a:5::1"
        T{ inet6 } [ inet-pton ] [ inet-ntop ] bi
    ]
}
Unit Test: {
    [ t t ]
    [
        "localhost" 80 <inet> resolve-host
        [ length 1 >= ] [ [ [ inet4? ] [ inet6? ] bi or ] all? ]
        bi
    ]
}
Unit Test: {
    [ t t ]
    [
        "localhost" resolve-host
        [ length 1 >= ] [ [ [ ipv4? ] [ ipv6? ] bi or ] all? ]
        bi
    ]
}
Unit Test: {
    [ t t ]
    [
        f resolve-host
        [ length 1 >= ] [ [ [ ipv4? ] [ ipv6? ] bi or ] all? ]
        bi
    ]
}
Unit Test: {
    [ t t ]
    [
        f 0 <inet> resolve-host
        [ length 1 >= ] [ [ [ ipv4? ] [ ipv6? ] bi or ] all? ]
        bi
    ]
}
Unit Test: { [ ] [ "<IP_ADDRESS>" 0 <inet4> <datagram> "datagram1" set ] }
Unit Test: { [ ] [ "datagram1" get addr>> "addr1" set ] }
Unit Test: { [ f ] [ "addr1" get port>> 0 = ] }
Unit Test: { [ ] [ "<IP_ADDRESS>" 0 <inet4> <datagram> "datagram2" set ] }
Unit Test: { [ ] [ "datagram2" get addr>> "addr2" set ] }
Unit Test: { [ f ] [ "addr2" get port>> 0 = ] }
Unit Test: { [ ] [ B{ 1 2 3 4 } "addr2" get "datagram1" get send ] }
Unit Test: { [ B{ 1 2 3 4 } ] [ "datagram2" get receive "from" set ] }
Unit Test: { [ ] [ B{ 4 3 2 1 } "from" get "datagram2" get send ] }
Unit Test: { [ B{ 4 3 2 1 } t ] [ "datagram1" get receive "addr2" get = ] }
Unit Test: { [ ] [ "datagram1" get dispose ] }
Unit Test: { [ ] [ "datagram2" get dispose ] }
Unit Test: { [ ] [ "<IP_ADDRESS>" 0 <inet4> <datagram> "datagram3" set ] }
Unit Test: { [ ] [ 1 seconds "datagram3" get set-timeout ] }
Must Fail: { [ "datagram3" get receive ] }
Unit Test: { [ ] [ <promise> "port" set ] }
Unit Test: { [ ] [ "datagram3" get dispose ] }
Unit Test: {
    [ ]
    [
        [
            "<IP_ADDRESS>" 0 <inet4> utf8 <server>
            dup addr>> "port" get fulfill [
                accept drop dup stream-readln drop
                "hello" <string-reader> swap stream-copy
            ] with-disposal
        ] "Socket close test" spawn drop
    ]
}
Unit Test: {
    [ "hello" f ]
    [
        "port" get ?promise utf8 [
            1 seconds input-stream get set-timeout
            1 seconds output-stream get set-timeout "hi\n" write
            flush readln readln
        ] with-client
    ]
}
Unit Test: { [ ] [ f 0 <inet4> <datagram> dispose ] }
Unit Test: { [ ] [ f 0 <inet6> <datagram> dispose ] }
Unit Test: { [ 80 ] [ "http" protocol-port ] }
Unit Test: { [ f ] [ f protocol-port ] }
Must Fail With: { [ "you-cant-resolve-me!" resolve-host ] [ addrinfo-error? ] }

The problem with making these homoiconic is we have a verbose-tests? property that does short..  We set that to f in images.testing, presumably so we don't print gigantic byte-arrays.  That means when verbose-tests? is set to f, we don't get homoiconicity:
diff --git a/basis/tools/test/test.factor b/basis/tools/test/test.factor
index 5ae7848..132da11 100644
--- a/basis/tools/test/test.factor
+++ b/basis/tools/test/test.factor
@@ -76,17 +76,20 @@ M: did-not-fail summary drop "Did not fail" ;
     [ { } quot with-datastack drop did-not-fail-literal t ] [ drop f f ] recover ;

 : experiment-title ( word -- string )
-    "(" ?head drop ")" ?tail drop
-    H{ { CHAR: - CHAR: \s } } substitute >title ;
+    "(" ?head drop ")" ?tail drop ;

 MACRO: <experiment> ( word -- quot )
-    [ stack-effect in>> length dup ]
-    [ name>> experiment-title ] bi
-    '[ _ ndup _ narray _ prefix ] ;
+    [ stack-effect in>> length dup ] keep
+    '[ _ ndup _ narray _ suffix ] ;

 : experiment. ( seq -- )
-    [ first write ": " write ]
-    [ rest verbose-tests? get [ . ] [ short. ] if flush ] bi ;
+    unclip-last
+    [
+        [ bl ]
+        [ verbose-tests? get [ pprint ] [ pprint-short ] if ]
+        interleave
+    ]
+    [ name>> experiment-title bl print flush ] bi* ;

 :: experiment ( word: ( -- error ? ) line# -- )
     word <experiment> :> e


Can we merge OperatorEntity and FunctionEntity?

From https://en.wikipedia.org/wiki/Operation_(mathematics),

In mathematics, an operation is a function which takes zero or more input values (called operands) to a well-defined output value.[1] The number of operands is the arity of the operation. The most commonly studied operations are binary operations (i.e., operations of arity 2), such as addition and multiplication, and unary operations (i.e., operations of arity 1), such as additive inverse and multiplicative inverse.

All operators are functions. Why do we have two kinds of entities?

I guess due to the difference of their syntax. I think we can merge them, but not now

Factorial is implemented with a FunctionEntity and does not seem to affect the syntax at all.

Seems like it's not an issue anymore (although I might want to inherit former operators from Function)


[documentation, enhancement] Ryabov equation notebook?

Hi!
In the comments found in stev.m it is mentioned that a Mathematica notebook was used to generate the $F_{k, q}$ coefficients from Ryabov's (1999) formula for the explicit expressions of the crystal field operators.
https://github.com/StollLab/EasySpin/blob/3a79b9a864e8a18dd55b9ce4efaa45b3351b0195/easyspin/stev.m#L75-L78
Could this Mathematica notebook be shared for completeness in the documentation?
In my experience, Ryabov's expression (Eqns. [8, 10] from this 1999 paper) seems straightforward to write but non-trivial to implement without introducing errors while considering the edge cases of recursion.
The community would benefit greatly from having a formulaic approach to generating the "conventional" Stevens operators, see for example the following comment from the from Sunny.jl source code:
https://github.com/SunnySuite/Sunny.jl/blob/8a98cfd00f2eee5b66a814b2c5b3d2c184425039/src/Operators/Stevens.jl#L61-L63
Many thanks!
Abraham

Unfortunately, I don't have that Mathematica notebook anymore.
If you are interested in explicit equations for the operators, there are two places in EasySpin:

In the documentation: EPR reference > High-order operators; see https://github.com/StollLab/EasySpin/blob/main/docsrc/stevensoperators.html
In the test tests\stev_explicit.m here: https://github.com/StollLab/EasySpin/blob/main/tests/stev_explicit.m

The reason we chose to implement the operators using Ryabov's approach is that it is extensible to higher orders. Explicit expression get really unwieldy for orders beyond 6. The other reason is that it is really easy to have typos in these long expressions.
The stev function is well tested against explicit expressions up to order 6, but not for orders beyond that. You mention that the Ryabov approach could introduce errors for edge cases. Can you clarify? Which edge cases are these? We can add tests to make sure EasySpin provides correct values for these edge cases.


HitBox - generate name automatically if not provided

Currently HitBox() requires String name. Most of the time we do not care what the name is, so it can automatically generated if not passed in.

Hey, I would like to try and solve this issue.
My current idea is to overload the constructor. This constructor would only take in a BoundingShape object.
If we do not care what the name is than I would simply use the type of the BoundingShape as the name
if that's fine.
Example:
    public HitBox(BoundingShape shape) {
        this(String.valueOf(shape.type), shape);
    }

A good starting point, but what if we have 2 or more auto generated names, we probably want them to be of the form type-1, type-2, etc, or something along those lines?

How about using shape.hashCode() and convert that to string? This gives us the uniqueness

Ah, you are right. I did not think about the names having to be unique. I like the hashCode proposal. I'll do that. 👍

Awesome! Looking forward to the pull request, make sure it's done against the development branch, i.e. 0.4.0

Thanks, merged.


AstralRiskAcceptance isn't working with ReModCE

I'm using the latast version of AstralRiskAcceptance and ReModCE but the first one isn't working

It seems world names and tags are not being deleted when you load into a world.


EFM server won't install

It's the only one that won't work.
It simply creates empty directory for efm.
Arch Linux
Neovim 0.5.1
Debug log:
     49 [DEBUG Mon 04 Oct 2021 02:30:48 PM BST] ...-installer/lua/nvim-lsp-installer/ui/status-win/init.lua:348: Installing server {¬
     48 │ _default_options = {¬
     47 │ │ cmd = { "/home/kuba/.local/share/nvim/lsp_servers/efm/efm-langserver" }¬
     46 │ },¬
     45 │ _installer = <function 1>,¬
     44 │ _root_dir = "/home/kuba/.local/share/nvim/lsp_servers/efm",¬
     43 │ name = "efm",¬
     42 │ root_dir = "/home/kuba/.local/share/nvim/lsp_servers/efm",¬
     41 │ <metatable> = <1>{¬
     40 │ │ __index = <table 1>,¬
     39 │ │ create_root_dir = <function 2>,¬
     38 │ │ get_default_options = <function 3>,¬
     37 │ │ install = <function 4>,¬
     36 │ │ install_attached = <function 5>,¬
     35 │ │ is_installed = <function 6>,¬
     34 │ │ new = <function 7>,¬
     33 │ │ setup = <function 8>,¬
     32 │ │ uninstall = <function 9>¬
     31 │ }¬
     30 } nil¬
     29 [DEBUG Mon 04 Oct 2021 02:30:48 PM BST] ...nvim-lsp-installer/lua/nvim-lsp-installer/ui/display.lua:208: Buffer or window is no longer valid 1002 3¬
     28 [INFO  Mon 04 Oct 2021 02:30:48 PM BST] ...-installer/lua/nvim-lsp-installer/ui/status-win/init.lua:286: Starting install server_name="efm", requested_version="N/A"¬
     27 [DEBUG Mon 04 Oct 2021 02:30:48 PM BST] ...nvim-lsp-installer/lua/nvim-lsp-installer/ui/display.lua:261: Opening window¬
     26 [DEBUG Mon 04 Oct 2021 02:30:48 PM BST] ...rt/nvim-lsp-installer/lua/nvim-lsp-installer/process.lua:51: Spawning go {¬
     25 │ args = { "get", "-v", "github.com/mattn/efm-langserver" },¬
     24 │ cwd = "/home/kuba/.local/share/nvim/lsp_servers/efm",¬
     23 │ env = { "FZF_CTRL_T_COMMAND=fd --type file --hidden --exclude .git --color always --follow", "HOMEBREW_PREFIX=/home/linuxbrew/.linuxbrew", "VISUAL=nvim", "_ZPLUG_CONFIG_SUBSHELL=:", "XDG_SESSION_CLASS=user", "_ZPLUG_PREZTO=sorin-ionescu/prezto", "INFOPATH=/home/linuxbrew/.linuxbrew/share/info:", "KITTY_LISTEN_ON=/tmp/mykitty", "LS>
     22 │ stdio_sink = {¬
     21 │ │ stderr = <function 1>,¬
     20 │ │ stdout = <function 2>,¬
     19 │ │ <metatable> = {¬
     18 │ │ │ __tostring = <function 3>¬
     17 │ │ }¬
     16 │ }¬
     15 }¬
     14 [DEBUG Mon 04 Oct 2021 02:30:48 PM BST] ...rt/nvim-lsp-installer/lua/nvim-lsp-installer/process.lua:91: Spawned with pid 88791¬
     13 [DEBUG Mon 04 Oct 2021 02:30:49 PM BST] ...rt/nvim-lsp-installer/lua/nvim-lsp-installer/process.lua:51: Spawning go {¬
     12 │ args = { "clean", "-modcache" },¬
     11 │ cwd = "/home/kuba/.local/share/nvim/lsp_servers/efm",¬
     10 │ env = {"FZF_CTRL_T_COMMAND=fd --type file --hidden --exclude .git --color always --follow", "HOMEBREW_PREFIX=/home/linuxbrew/.linuxbrew", "VISUAL=nvim", "_ZPLUG_CONFIG_SUBSHELL=:", "XDG_SESSION_CLASS=user", "_ZPLUG_PREZTO=sorin-ionescu/prezto", "INFOPATH=/home/linuxbrew/.linuxbrew/share/info:", "KITTY_LISTEN_ON=/tmp/mykitty", "LS>
      9 │ stdio_sink = {¬
      8 │ │ stderr = <function 1>,¬
      7 │ │ stdout = <function 2>,¬
      6 │ │ <metatable> = {¬
      5 │ │ │ __tostring = <function 3>¬
      4 │ │ }¬
      3 │ }¬
      2 }¬
      1 [DEBUG Mon 04 Oct 2021 02:30:49 PM BST] ...rt/nvim-lsp-installer/lua/nvim-lsp-installer/process.lua:91: Spawned with pid 88867¬
      0 [INFO  Mon 04 Oct 2021 02:30:49 PM BST] ...-installer/lua/nvim-lsp-installer/ui/status-win/init.lua:305: Installation completed server_name="efm", success=true¬

Hey! It seems like the logs have been cut off, are you copying the terminal contents directly? Could you download the latest version of the plugin and then re-run the installation for efm (with DEBUG log level set)?

I'm on the latest version. Thank you for looking into that and I apologize for late reply.
 The intended behavior is for lsp-installer's GOBIN to have precedence, but it seems like that might not be happening here. I think that might be causing the executable to be installed elsewhere

@kuba-gaj What happens if you do the following?
$ cd `mktemp -d`
$ GO111MODULE=on GOBIN="$PWD" GOPATH="$PWD" go get -v golang.org/x/tools/gopls
$ ls -l

Thanks again for looking into this:
.rwxr-xr-x 23M kuba 15 Oct 17:53 gopls
drwxr-xr-x   - kuba 15 Oct 17:53 pkg

Alright so that looks like it should. What about (assuming you're using bash):
$ unset GOBIN
$ nvim +LspInstall\ gopls
# wait for installtion to complete
$ ls -l ~/.local/share/nvim/lsp_servers/go

Thanks! May I ask what your
$ uname -a
$ nvim --version

Also could you please verify that #155 (branch fix-env-precedence) fixes this :pray:?

@kuba-gaj Thanks! Just out of curiosity - are you able to remove that directory through rm -rf pkg?


No new tvtv.us EPG again

Has the grabber ran today ?

Yes. https://github.com/iptv-org/epg/actions/runs/2214088635
At the moment it's loading fine:

Well I'm still downloading yesterdays file, and EPG is still present because it doesnt run out until midnight tonight UK time.

Ok fresh EPG has downloaded again this morning so whatever the issue was its been resolved so this matter can now be closed. There was deffo no new EPG yesterday though for whatever reason.


The image with large size how to reduce it?

💬 Questions and Help
I have Images usually over 5MB and if there is some images it will not scroll smoothly.
but the image to be 100 * 100 pixel is ok.
will the FFImageLoading auto reduce the size of it when I set the source with Image over 5MB?

If you want to be certain you can do something along the lines of:
 await ImageService.Instance.LoadStream(token => photo.OpenReadAsync())                             .DownSample(500, 500)

You can use .DownSample(100) to reduce the size

@aliusman  thankyou and how to use it in xaml?

@mcguu  In XML you need to se the width and height for your ImageView` for example
<ImageView
    android:layout_width="100dp"
    android:layout_height="100dp"
    ...
/>

Please remember that, this does not mean the image size will be reduced in memory/heap, FFImageLoading will load full image as is (5MB for example) and ImageView will scale the image size.
If you really want to reduce the size of an image, you should always use .DownSample()


meta: use external Linux headers with the new mlibc option

Thanks for the PR, I need to fix the build process and also get the CI working again but I am pretty busy so probably won't get the chance for a while


feat: Ability to get user part of email

Id like to have ability to

either add option to enforce username to user part of email (all before @). For example if user have email<EMAIL_ADDRESS>enforce his username to name.surname
or have a separate attribute with user part of email so I can request it. I suppose it is simplest variant because it won't affect other users of Casdoor.

We use such format everywhere in organization but I have hard times to get this format out of casdoor. For example, with GitLab we enforce this format of usernames (name.surname in our case) for all existing users and like to implement SSO with casdoor now.
If this feature be implemented I can configure GitLab like uid_field = "userPartOfEmail" to achieve desired behavior https://casdoor.org/docs/integration/ruby/gitlab/

Researching sources of GitLab I found solution for my particular usecase, but it is hack on GitLab side. Consider this request anyway, maybe you'll find this feature useful for everyone
      args = {
        name = "openid_connect"
        gitlab_username_claim = "email"

Closed for resolved


Add/fix wrong/missing "solr.home" to zkcli scripts

https://issues.apache.org/jira/browse/SOLR-16900
Description
"solr.home" is missing in zkcli.bat and wrong in zkcli.sh (solrHome instead of solr.home)
Solution
Add/replace the correct name.
Tests
Local tests for both scripts (.sh and .bat)
Checklist
Please review the following and check all that apply:

[x] I have reviewed the guidelines for How to Contribute and my code conforms to the standards described there to the best of my ability.
[x] I have created a Jira issue and added the issue ID to my pull request title.
[x] I have given Solr maintainers access to contribute to my PR branch. (optional but recommended)
[x] I have developed this patch against the main branch.
[x] I have run ./gradlew check.
[ ] I have added tests for my changes.
[ ] I have added documentation for the Reference Guide

Thanks for looking at this..   one thought, would you want to add some BATS test to confirm these fixes?   They have been great for verifying a lot of the SolrCLI things...    Down the road, I hope to eliminate the need for the zkcli.sh completely, in favour of using bin/solr commands...    Having some BATS tests would help that migration ;-).

Thanks for looking at this.. one thought, would you want to add some BATS test to confirm these fixes? They have been great for verifying a lot of the SolrCLI things... Down the road, I hope to eliminate the need for the zkcli.sh completely, in favour of using bin/solr commands... Having some BATS tests would help that migration ;-).

Hi @epugh
Thanks for the great suggestion. Didn't know about BATS.
I have added a couple of BATS tests to test both 'solr,home" and "solrhome" options.
Wondering if it's worth it keeping "solr.home" option, it's redundant and confusing

i had no idea that behind the zkcli scripts was a Java class!   I think we should only have one variable name, whichever we have been using the most.
One more thought...   I've been slowly moving various scripts under the "bin/solr" SolrCLI as tools.   Once this get's merged, would you be interested in migrating this over to "bin/solr"?   I wonder how much of what is in the "bin/solr zk" command is duplicated htere in zkcli?

Might be worth a grep thorugh the ref guide re "solrHome" versus "solr.home" too!

One more thought... I've been slowly moving various scripts under the "bin/solr" SolrCLI as tools. Once this get's merged, would you be interested in migrating this over to "bin/solr"? I wonder how much of what is in the "bin/solr zk" command is duplicated htere in zkcli?

Yes sure, will be more than happy to help on this.

Might be worth a grep thorugh the ref guide re "solrHome" versus "solr.home" too!

The only place where "solr.home" is used is here

Hi @epugh
I'd really appreciate if you could finish the review and, if approved, merge it.
I have other PRs waiting for this one before I could push them upstream. Thank you.

Hi @epugh I'd really appreciate if you could finish the review and, if approved, merge it. I have other PRs waiting for this one before I could push them upstream. Thank you.

are you going to change the -t to a -v for verbose and use that int he bats test?   That way we don't have custom code that is ONLY used in a test..  it's a more generic feature...   I'd love to see that...

Hi @epugh I'd really appreciate if you could finish the review and, if approved, merge it. I have other PRs waiting for this one before I could push them upstream. Thank you.

are you going to change the -t to a -v for verbose and use that int he bats test? That way we don't have custom code that is ONLY used in a test.. it's a more generic feature... I'd love to see that...

Done.
That's a good suggestion. I can add another PR verbosing more logs. For now it's just logging solrhome as it's the subject of this PR.

Great.   Will merge when in front of laptop.
On Fri, Aug 18, 2023 at 1:29 PM Lamine @.***> wrote:

Hi @epugh https://github.com/epugh I'd really appreciate if you could
finish the review and, if approved, merge it. I have other PRs waiting for
this one before I could push them upstream. Thank you.
are you going to change the -t to a -v for verbose and use that int he
bats test? That way we don't have custom code that is ONLY used in a test..
it's a more generic feature... I'd love to see that...
Done.
That's a good suggestion. I can add another PR verbosing more logs. For
now it's just logging solrhome as it's the subject of this PR.
—
Reply to this email directly, view it on GitHub
https://github.com/apache/solr/pull/1798#issuecomment-1684221697, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AAAFO63HFGXDW34T6TXMVLLXV6Q7TANCNFSM6AAAAAA2QJKJYA
.
You are receiving this because you were mentioned.Message ID:
@.***>


Remove redundant explicit deps on @rxjs

This change ought to break the build - there is a direct dependency on rxjs from 'todos/todos.component.ts`
Can you investigate why the strict_deps plugin isn't catching that? It has an exception when files come from node_modules - I guess that's the case here since we use rxjs from npm

hmm even commenting out that exception for the strict_deps plugin doesn't reproduce the expected behavior.
Same thing @jelbourn reported this morning - could you debug into the strict deps plugin a bit?

Ping! Not high priority, but we should figure out why this PR is green when it should be red

Strict deps issue for ng_module: https://github.com/angular/angular/issues/23094


PANDARIA: Support istio 1.8.5

Issue: https://github.com/cnrancher/pandaria/issues/1273https://github.com/cnrancher/pandaria/issues/1273

LGTM


issue in react js dependence added time Module not found: Can't resolve 'react-data-export'  using

hello there,
facing an issue when adding dependencies...
I tried using this npm install react-data-export --save
error:-Module not found: Can't resolve 'react-data-export'
the same dependencies added using...
yarn add react-data-export
Module not found: Can't resolve 'xlsx' in 'D:\OFFICE\workspace\georeact\node_modules\tempa-xlsx'
please tell me out how to solve and add this component

Hi ,
I am faced same but I resolved using (npm install xlsx)

This didn't work for me. This is not a stable thing.

Removing the following function from ods.js in tempa-xlsx worked for me. Its not required anyway.
var get_utils = function() {
if(typeof XLSX !== 'undefined') return XLSX.utils;
if(typeof module !== "undefined" && typeof require !== 'undefined') try {
return require('../' + 'xlsx').utils;
} catch(e) {
try { return require('./' + 'xlsx').utils; }
catch(ee) { return require('xl' + 'sx').utils; }
}
throw new Error("Cannot find XLSX utils");
};

Removing the following function from ods.js in tempa-xlsx worked for me. Its not required anyway.
var get_utils = function() {
if(typeof XLSX !== 'undefined') return XLSX.utils;
if(typeof module !== "undefined" && typeof require !== 'undefined') try {
return require('../' + 'xlsx').utils;
} catch(e) {
try { return require('./' + 'xlsx').utils; }
catch(ee) { return require('xl' + 'sx').utils; }
}
throw new Error("Cannot find XLSX utils");
};

Also removing one dot in this line
> return require('./' + 'xlsx').utils;
will make it work

could not find tempa-xlsx in node_module

https://github.com/securedeveloper/react-data-export/issues/85#issuecomment-483662347


Refactor Resolver._get_install_requirements()

A tech-debt cleanup for updated Resolver._get_install_requirements() in #1509. Addresses https://github.com/jazzband/pip-tools/pull/1509#issuecomment-1186602358.
Contributor checklist

[ ] Provided the tests for the changes.
[x] Assure PR title is short, clear, and good to be included in the user-oriented changelog

Maintainer checklist

[x] Assure one of these labels is present: backwards incompatible, feature, enhancement, deprecation, bug, dependency, docs or skip-changelog as they determine changelog listing.
[ ] Assign the PR to an existing or new milestone for the target version (following Semantic Versioning).

Thanks @ssbarnea!


TypeScript React: incorrect children props

#192 fixes TS errors since DefinitelyTyped updated react types to v18.

@ChromeQ is there a way we can use your fork as a temporary solution?
I've tried adding it to my packages with yarn add ChromeQ/redux-dynamic-modules but it looks like it can't find it.

Based on this PR: https://github.com/microsoft/redux-dynamic-modules/pull/192
You can extend 'IDynamicModuleLoaderProps' interface in your *.d.ts (like in global.d.ts). Just add:
declare module 'redux-dynamic-modules-react' {
  export interface IDynamicModuleLoaderProps {
    /** Explicitly name children as a prop to work with @types/react@18 */
    children: React.ReactNode;
  }
}

Thanks @mrluscus ! I just want to add in our case without importing redux-dynamic-modules-react other error appeared. It was complaining that DynamicModuleLoader is not exported.
Our solution was:

Create file redux-dynamic-modules-react.d.ts (optional, you may add lines below to global.d.ts)
Add the following content

import * as reduxDynamicModulesReact from 'redux-dynamic-modules-react';

declare module 'redux-dynamic-modules-react' {
  export interface IDynamicModuleLoaderProps {
    children: React.ReactNode;
  }
}


Fixing fingerprint ordering

Fix to prevent new ordering issues.
Using the dictionary and saving, we can order by key then use the value.

        if (!computedFingerprint.Equals(fingerprintText))

I think we should remove this to prevent issues. What do you think?

Refers to: Src/Sarif.PatternMatcher/Fingerprint.cs:71 in d7d8192. [](commit_id = d7d81922cea23272c0d4c8ee328c93738472fdeb, deletion_comment = False)


Create DoesNotContainConstraint.cs

There is a common scenario when you would like to exclude some paths from the route. E.g. in a SPA app you generally want to map all the /api routes to controllers, and all other non static files to Home\Index so that client will handle the urls in the browser (e.g. angular). It can be done like that: "template: {*url}". Now the drawback is that e.g. lib/someCode.js will also fall for this route if the static file does not exist. So in case you have a problem you won't see a 404, but rather it will return your main view which is a bit weird. To avoid that situation we can exclude the routes that contain "." e.g. It is possible to do with regex, but that's not so efficient and regex is rather nontrivial to achieve it. So it will be good to have the exclusion constraint (maybe inclusion as well) that can do it simply. Perhaps the name is not the best (DoesNotContainConstraint), but it can be renamed to anything better.

Hi @ilya-git, I'm your friendly neighborhood .NET Foundation Pull Request Bot (You can call me DNFBOT). Thanks for your contribution!

In order for us to evaluate and accept your PR, we ask that you sign a contribution license agreement. It's all electronic and will take just minutes. I promise there's no faxing. https://cla2.dotnetfoundation.org.

TTYL, DNFBOT;


Fix wrong size calculation for snapshots

When the size is calculated, only the last SNAPSHOT size is taken instead of being aggregated with all SNAPSHOTS of the same version.

Fixed


Is building Windows UWP apps supported using Ionic 5?

Bug Report
Ionic version:
[x] 4.x
[x] 5.x
Current behavior:
Building Windows UWP apps seems to be broken in Ionic 4 & 5.
Expected behavior:
Is Building Windows UWP apps supported in Ionic 5?
Steps to reproduce:

Create a new Ionic 5 app targeting Windows 10 UWP
Add a Camera Plugin.
Try to use the Camera Plugin.
You get an error saying JavaScript runtime error: Function expected

Related code:
https://github.com/srinidhirao/windows-10-sample
-->
Exception thrown while trying to use the plugin
Exception was thrown at line 3, column 19746 in ms-appx-web://io.ionic.starter/www/build/polyfills.js
0x800a139e - JavaScript runtime error: Uncaught (in promise): TypeError: Function expected
TypeError: Function expected
   at UnviredCordovaSDK.prototype.logError (ms-appx-web://io.ionic.starter/www/build/vendor.js:81543:86)
   at Anonymous function (ms-appx-web://io.ionic.starter/www/build/main.js:247:25)
   at step (ms-appx-web://io.ionic.starter/www/build/main.js:195:13)
   at Anonymous function (ms-appx-web://io.ionic.starter/www/build/main.js:176:46)
   at Anonymous function (ms-appx-web://io.ionic.starter/www/build/main.js:170:9)
   at t (ms-appx-web://io.ionic.starter/www/build/polyfills.js:3:21503)
   at Anonymous function (ms-appx-web://io.ionic.starter/www/build/main.js:166:5)
   at HomePage.prototype.OnSecondaryButtonClick (ms-appx-web://io.ionic.starter/www/build/main.js:229:9)
   at Anonymous function (Function code:43:15)
   at handleEvent (ms-appx-web://io.ionic.starter/www/build/vendor.js:14225:87)

Other information:
I had raised a similar issue for ionic 4, but the issue got closed since I couldn't get a sample project on time
https://github.com/ionic-team/ionic/issues/20325#event-3082052102
One of the replies indicated that its possible to build an app with Windows 10 UWP with Ionic & Cordova.
A issue was also raised in ionic-native regarding the same, but couldn't get any reply
https://github.com/ionic-team/ionic-native/issues/3275
I then added an issue in Apache Cordova site, but couldn't get an reply even there:
https://github.com/apache/cordova-plugin-camera/issues/542
We help developers build apps using our SDK, (https://ionicframework.com/docs/native/unvired-cordova-sdk). It is supported on all other platforms, ios, android & browser. We have issues integrating the plugin in Windows platform. A lot of our clients have been using Windows 10 machines and there is an urgent need to make the SDK compatible with Windows 10. Please help.
Ionic info:
$ ionic info

Ionic:

   Ionic CLI          : 5.4.16 (C:\Users\srinidhi\AppData\Roaming\npm\node_modules\ionic)
   Ionic Framework    : ionic-angular 3.9.9
   @ionic/app-scripts : 3.2.4

Cordova:

   Cordova CLI       : 9.0.0<EMAIL_ADDRESS>   Cordova Platforms : windows 7.0.1
   Cordova Plugins   : cordova-plugin-ionic-keyboard 2.2.0, cordova-plugin-ionic-webview 4.1.3, (and 6 other plugins)

Utility:

   cordova-res : not installed
   native-run  : not installed

System:

   NodeJS : v8.17.0 (C:\Program Files\nodejs\node.exe)
   npm    : 6.13.4
   OS     : Windows 10

Thanks for the issue. Ionic Framework is a collection of UI components that run on any of our supported platforms (see: https://ionicframework.com/docs/intro/browser-support).
Ionic Framework v4 applications should work in UWP applications. With Ionic Framework v5, we dropped support for IE11 and older versions of Microsoft Edge.
These older versions of Microsoft Edge were powered by an engine called EdgeHTML. Unfortunately, the webview for UWP apps is also powered by EdgeHTML. As a result, Ionic Framework v5 apps likely will not work in UWP applications. The newer versions of Edge are powered by Chromium, the same rendering engine that powers Google Chrome.
According to Microsoft, there are plans for the UWP webview to be upgraded to use Chromium instead of EdgeHTML, but that process has not taken place yet: https://blogs.windows.com/msedgedev/2019/06/18/building-hybrid-applications-with-the-webview2-developer-preview/
Hope this clears things up. Thanks!

Hello @liamdebeasi, the issue is that we were able to get the UI components working even with Ionic 5 on a Windows 10 UWP app.
We are having issues integrating native plugins to Ionic 4 and 5 UWP apps. UI is not an issue. If you actually run the sample project, you can interact with the UI, but when you try to access the plugin functionality, it breaks. Can you please throw some light on this?

Ionic Framework does not manage the native plugins, so unfortunately I am not really sure what is going on there. If you are using something like https://github.com/apache/cordova-plugin-camera you could try reaching out to the developers.
If you are using Ionic Native, those are just wrappers around the cordova plugins to make using them easier and typically do not impact functionality of the plugins.

Hi @liamdebeasi Looks like the ionic native wrapper is impacting the functionality in this case. I updated my project to use the camera plugin without ionic native and it works without any issues.
I have captured a short video of the same which you can find here:
https://repo.unvired.io/unvired/ionic-native-camera-plugin-example.mp4
Please find the relevant code here:
declare var navigator: any;
// This works.
onCameraButtonWithoutIonicNativeClick() {
    console.log('Camera Button Clicked');
    navigator.camera.getPicture(function onSuccess(success) {
      console.log("Successfully clicked the picture:" + success);
    }, function onError(error) {
      console.log("Error Capturing the picture: " + error);
    }, {})
  }

// This doesn't.
  onCameraButtonWithIonicNativeClick() {
    const options: CameraOptions = {
      quality: 100,
      destinationType: this.camera.DestinationType.FILE_URI,
      encodingType: this.camera.EncodingType.JPEG,
      mediaType: this.camera.MediaType.PICTURE
    }

    this.camera.getPicture(options).then((imageData) => {
      // imageData is either a base64 encoded string or a file URI
      // If it's base64 (DATA_URL):
      let base64Image = 'data:image/jpeg;base64,' + imageData;
      console.log("Base 64: " + base64Image);
    }, (err) => {
      // Handle error
      console.log("Error: " + err)
    });
  }

Can you please take a look at this once again?
I'm reposting the link to the repository.
https://github.com/srinidhirao/windows-10-sample

If the Ionic Native wrapper is impacting functionality, I recommend opening an issue on the Ionic Native repo. Ionic Framework does not manage Ionic Native plugins.


        Parameters
        ----------
        props : dict
        """
        ret = []
        with cbook._setattr_cm(self, eventson=False):
            for k, v in props.items():
                if k != k.lower():
                    cbook.warn_deprecated(
                        "3.3", message="Case-insensitive properties were "
                        "deprecated in %(since)s and support will be removed "
                        "%(removal)s")
                    k = k.lower()
                # White list attributes we want to be able to update through
                # art.update, art.set, setp.
                if k == "axes":
                    ret.append(setattr(self, k, v))
                else:
                    func = getattr(self, f"set_{k}", None)
                    if not callable(func):
>                       raise AttributeError(f"{type(self).__name__!r} object "
                                             f"has no property {k!r}")
E                       AttributeError: 'FancyArrowPatch' object has no property 'arrow_transmuter'

Looks like the following line needs to be updated:
https://github.com/astropy/pyregion/blob/fc3b97941a70440eb3f371348c79010cf05d83ab/pyregion/mpl_helper.py#L346

In the same call it seems also necessary to remove the 'connector' parameter, which has also disappeared from FancyArrowPatch.
https://github.com/astropy/pyregion/blob/fc3b97941a70440eb3f371348c79010cf05d83ab/pyregion/mpl_helper.py#L350

In the same call it seems also necessary to remove the 'connector' parameter, which has also disappeared from FancyArrowPatch.
https://github.com/astropy/pyregion/blob/fc3b97941a70440eb3f371348c79010cf05d83ab/pyregion/mpl_helper.py#L350

This should be fixed with v2.1.1. Please reopen if this is not the case.


review/refactor Qiskit 1.0 tutorial

This tutorial was made by Matt Treinish for the IBM Quantum Summit. It would be great to refactor this into a tutorial that showcases some of the key highlights of Qiskit 1.0 and Primitives v2 and re-release as an open tutorial

[ ] move source file for this tutorial into this repo
[ ] refactor into patterns format
[ ] emphasise primitives v2
[ ] reupload to cms and update access controls to "open"

update: pedro is working on a notebook for the emea practitioners forum that is adapting matts original notebook, maybe that event notebook would be good starting point for this issue


Panic while running inner join with predicate only on single relation

Describe the bug
The following error would occur when join condition is only filtered on single realtion:
thread 'tokio-runtime-worker' panicked at 'index out of bounds: the len is 0 but the index is 0', /Users/momo/.cargo/registry/src/github.com-1ecc6299db9ec823/datafusion-7.0.0/src/physical_plan/repartition.rs:354:39
To Reproduce
fn main() {
    let id_array = Int32Array::from(vec![1, 2, 3, 4, 5]);
    let str_array = StringArray::from(vec!["1", "2", "3", "4", "5"]);
    let schema = Schema::new(vec![
        Field::new("id", DataType::Int32, false),
        Field::new("str", DataType::Utf8, false),
    ]);
    let batch = RecordBatch::try_new(
        Arc::new(schema),
        vec![
            Arc::new(id_array),
            Arc::new(str_array),
        ],
    )
    .unwrap();

    let mut ctx = ExecutionContext::new();
    let sql = "select * from tmp t1 inner join tmp t2 on t1.str = '1' and t2.str = '2'";
    let db1 = MemTable::try_new(batch.schema(), vec![vec![batch]]).unwrap();
    ctx.register_table("tmp", Arc::new(db1)).unwrap();

    let rt = Arc::new(tokio::runtime::Runtime::new().expect("Failed to create runtime"));
    let df = rt.block_on(ctx.sql(sql)).unwrap();
    rt.block_on(df.limit(5).unwrap().show()).unwrap();
    let num_rows = rt
        .block_on(df.collect())
        .unwrap()
        .into_iter()
        .map(|rb| rb.num_rows())
        .sum::<usize>();
    println!("Final # rows: {}", num_rows);
}

Expected behavior
The following queries should have same result:
q1: select * from tmp t1 inner join tmp t2 on t1.str = '1' and t2.str = '2'
q2: select * from tmp t1 cross join tmp t2 where t1.str = '1' and t2.str = '2'
q3: select * from tmp t1, tmp t2 where t1.str = '1' and t2.str = '2'
q2 and q3 works fine in datafusion.
Additional context
Add any other context about the problem here.

Reproducing:
❯ create table y as select 1 c;
+---+
| c |
+---+
| 1 |
+---+
1 row in set. Query took 0.005 seconds.
❯ select * from y t1 join y t2 on t1.c = 1 and  t2.c = 1;
thread 'tokio-runtime-worker' panicked at 'index out of bounds: the len is 0 but the index is 0', /home/danielheres/Code/gdd/arrow-datafusion/datafusion/core/src/physical_plan/repartition.rs:349:39
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
ArrowError(ExternalError(ArrowError(ExternalError(Execution("Join Error: panic")))))
❯ explain select * from y t1 join y t2 on t1.c = 1 and  t2.c = 1;
+---------------+-----------------------------------------------------------------+
| plan_type     | plan                                                            |
+---------------+-----------------------------------------------------------------+
| logical_plan  | Projection: #t1.c, #t2.c                                        |
|               |   Inner Join:                                                   |
|               |     Filter: #t1.c = Int64(1)                                    |
|               |       TableScan: t1 projection=Some([0])                        |
|               |     Filter: #t2.c = Int64(1)                                    |
|               |       TableScan: t2 projection=Some([0])                        |
| physical_plan | ProjectionExec: expr=[c@0 as c, c@1 as c]                       |
|               |   CoalesceBatchesExec: target_batch_size=4096                   |
|               |     HashJoinExec: mode=Partitioned, join_type=Inner, on=[]      |
|               |       CoalesceBatchesExec: target_batch_size=4096               |
|               |         RepartitionExec: partitioning=Hash([], 16)              |
|               |           CoalesceBatchesExec: target_batch_size=4096           |
|               |             FilterExec: c@0 = 1                                 |
|               |               RepartitionExec: partitioning=RoundRobinBatch(16) |
|               |                 MemoryExec: partitions=1, partition_sizes=[1]   |
|               |       CoalesceBatchesExec: target_batch_size=4096               |
|               |         RepartitionExec: partitioning=Hash([], 16)              |
|               |           CoalesceBatchesExec: target_batch_size=4096           |
|               |             FilterExec: c@0 = 1                                 |
|               |               RepartitionExec: partitioning=RoundRobinBatch(16) |
|               |                 MemoryExec: partitions=1, partition_sizes=[1]   |
|               |                                                                 |
+---------------+-----------------------------------------------------------------+
2 rows in set. Query took 0.007 seconds.

I think the reason is we are creating a hash join based on a empty list of keys.


Cannot keep 'hit enter prompt' open for another command if colon was remapped

Steps to reproduce
vim -u NONE +'noremap ; :' +'noremap : ;' +ls

Now it doesn't matter if you hit : or ;, the prompt is dismissed.
Expected behaviour
; would keep the prompt open, just as : does if no remap was made.
Version of Vim
8.2.2434
Environment
Debian
Xterm (also in Gvim)
xterm-256color
Bash
Logs and stack traces
No response

Sorry, duplicate of #9938.


Pam module causing sporadic unlocks with authentication clients that spawn child processes

Howdy version (sudo howdy version): aa75c7666c040c6a7c83cd92b9b81a6fea4ce97c
The howdy pam module uses wait in order to wait for the python compare script to finish.
But wait blocks until ANY child process finishes. If the authentication client uses child processes as well, one of them could exit with 0 at the right time and it would unlock.
Just using waitpid instead would fix this issue.
wait to waitpid patch
diff --git a/howdy/src/pam/main.cc b/howdy/src/pam/main.cc
index d1b8e34..8498655 100644
--- a/howdy/src/pam/main.cc
+++ b/howdy/src/pam/main.cc
@@ -290,7 +290,7 @@ auto identify(pam_handle_t *pamh, int flags, int argc, const char **argv,
   // zombie process)
   optional_task<int> child_task([&] {
     int status;
-    wait(&status);
+    waitpid(child_pid, &status, 0);
     {
       std::unique_lock<std::mutex> lock(mutx);
       if (confirmation_type == ConfirmationType::Unset) {

Discovered here: https://github.com/hyprwm/hyprlock/issues/535

I'm just here to chime in that a fix for that would be very nice :)

This is definitely a big problem. Prevents me from using Howdy whatsoever with hyprlock. Big security risk.


Update release-checklist.md

Changed Bicep.Types to Bicep.Types.Az in the first step

Might need to run a dotnet refresh to update the packages.lock.json files

I was wondering if this is dotnet restore instead?


Support free plan creation

Currently, this API does not support free plan creation due to UnitAmount having omitempty set on every currency and UnitAmount.MarshalXML method explicitly checking values to be greater than 0.
In order to create a free plan one (or all) currency values have to be set to 0. Unfortunately, solving this problem isn't as simple as just unsetting omitempty on every currency in UnitAmount struct and not checking for values being greater than 0 because this will mean that by default all plans will cost 0 in currencies where the value isn't set which might have unintended consequences. Besides, removing omitempty on every currency will also cause issues with sites where multi-currency support is not enabled. UnitAmount is also used to define adjustments, coupons, and subscriptions.
We're not entirely sure what is the best approach to solving this is, but hopefully, maintainers of this project have some suggestions! 🙏
Reference code.
// UnitAmount can read or write amounts in various currencies.
type UnitAmount struct {
	USD int `xml:"USD,omitempty"`
	EUR int `xml:"EUR,omitempty"`
	GBP int `xml:"GBP,omitempty"`
	CAD int `xml:"CAD,omitempty"`
	AUD int `xml:"AUD,omitempty"`
}

// MarshalXML ensures UnitAmount is not marshaled unless one or more currencies
// has a value greater than zero.
func (u UnitAmount) MarshalXML(e *xml.Encoder, start xml.StartElement) error {
	if u.USD > 0 || u.EUR > 0 || u.CAD > 0 || u.GBP > 0 || u.AUD > 0 {
		type uaAlias UnitAmount
		e.EncodeElement(uaAlias(u), start)
	}
	return nil
}

Hi @ksenish, I can't think of a way to accomplish this with the library as-is while still addressing the ability to omit a unit amount all together.
I did peak at the v3 api briefly, and one possibility is to make a breaking change that is also v3 friendly with how library users use this version and would use the v3 upgrade with minor changes. This isn't quite it, but throwing a possible starter out there:

// Currency holds a known currency type (e.g. USD/EUR).
type Currency string

// Currency constants.
const (
	USD Currency = "USD"
	EUR          = "EUR"
	GBP          = "GBP"
	CAD          = "CAD"
	AUD          = "AUD"
)

type UnitAmount struct {
	Currency   Currency  `xml:"currency"`
	UnitAmount int `xml:"unit_amount"`
}

Then the plan struct would have something like this as a field:
type Plan struct {
   // ...
   UnitAmountInCents []UnitAmount `xml:"unit_amount_in_cents,omitempty"`
   // ...
}

And a marshaler/unmarshaler that can write/read XML if the array is not nil/empty (the presence of a currency would mean the library user is requesting marshaling, which is why I went with int instead of NullInt).
I put this together quickly, but curious to hear your thoughts. Recurly's V3 API will require breaking changes, but would be nice to set this up in a way where we get the structs setup right so the user code won't need a lot of updating when they upgrade to v3.
I won't be able to make this change—it's likely that I wouldn't address until I (or someone) updates the library to the v3 API. But I'm happy to discuss and review any PRs!
For reference, UnitAmount is currently used in

AccountBalance (read only)
AddOn
Coupon (as *UnitAmount)
Plan

@cristiangraz Thank you very much for your response!
It is unfortunate there is no easy way to solve this issue. Let's hope that upgrade to v3 API will help with this 🤞
Currently, I don't have any capacity to do the upgrade to v3, but I might be able to help slowly chip away at it incrementally in a branch!


add tests for CLI

add tests for the current CLI commands.
these should mock stdout and args to test for a functioning handling of the commands.

since we already have over 80% coverage this issue can be closed!


Make blaze dependency weak

This PR makes blaze a weak dependency of this package, meaning that if you don't use blaze in your app, it won't pollute your bundle.
I'm struggling with the html template, meteor tells me this:
   While building package dburles:google-maps:
   error: No plugin known to handle file 'google-maps.html'. If you want this file to be a static
   asset, use addAssets instead of addFiles; eg, api.addAssets('google-maps.html', 'client').

How can I handle this?

Hey @Floriferous thanks for the PR. I wonder whether you could simply place the same condition check for the templating package when adding the google-maps.html.

It works well! However I'm having a hard time testing this with a blaze project (I never built anything with blaze, and never ever use global variables with Meteor).
A simple meteor repo throws saying Uncaught ReferenceError: Template is not defined, even though I added the templating package to the app.

I'd hazard a guess that it just needs to be imported in the file that you're referencing it from.
import { Template } from 'meteor/templating';

Admittedly I moved off Blaze before Meteor implemented modules and I found that import in the default app scaffold 😄

Well of course I could just import it, but I was hoping that I just don't understand oldschool meteor magical global variable syntax :)
You'd have to import Templating just where you need it, but then you have to use require, and now Meteor complains about require is not defined, why is this so hard? 🙄
I'll just fork and completely remove blaze I guess, much faster!

Can you share the test app? the changes you made seem like it'd be no problem

It's simply meteor create test-app, and then I cloned my branch into the packages/ folder.
Anyways, I republished an updated version of this package here: https://github.com/e-Potek/meteor-google-maps

Closes #157


Add the remote_src=true to conform to copy module

Since 2.0 of Ansible, the copy module requires the remote_src=true when moving/copying local files on nodes.

Thanks! this is great feedback. I'm going to be merging this over to https://github.com/CRS-support/modsecurity-ansible-role. If you'd like to have access to commit over there it'd be more than welcome.


[BUG] 0.5GA fails on Dataproc 2.0 using 2.0-debian10 image.

Describe the bug
A clear and concise description of what the bug is.
0.5GA fails on Dataproc 2.0 using 2.0-debian10 image.
Steps/Code to reproduce bug
Please provide a list of steps or a code sample to reproduce the issue.
Avoid posting private or sensitive data.
export CLUSTER_NAME=testdebian
export GCS_BUCKET=<BUCKET>
export REGION=europe-west4
export ZONE=europe-west4-b
export NUM_GPUS=1
export NUM_WORKERS=2

gcloud dataproc clusters create $CLUSTER_NAME  \
    --region $REGION \
    --zone $ZONE \
    --image-version=2.0-debian10 \
    --master-machine-type n1-standard-4 \
    --master-boot-disk-size 200 \
    --num-workers $NUM_WORKERS \
    --worker-accelerator type=nvidia-tesla-t4,count=$NUM_GPUS \
    --worker-machine-type n1-standard-16 \
    --num-worker-local-ssds 1 \
    --initialization-actions gs://${GCS_BUCKET}/install_gpu_driver.sh,gs://${GCS_BUCKET}/rapids.sh \
    --optional-components=JUPYTER,ZEPPELIN \
    --metadata gpu-driver-provider="NVIDIA",rapids-runtime="SPARK" \
    --bucket $GCS_BUCKET \
    --subnet=default \
    --enable-component-gateway

Note: the  gpu/install_gpu_driver.sh and rapids/rapids.sh you can get from the latest master branch of
https://github.com/GoogleCloudDataproc/initialization-actions
Then just logon spark-shell on master node, and it will error out:
gcloud compute ssh $CLUSTER_NAME-m --project=rapids-spark --zone=$ZONE
spark-shell

We can get the error from the yarn log:
yarn logs -applicationId application_xxxx

Sample stacktrace from yarn log is:
Caused by: java.util.concurrent.ExecutionException: java.lang.UnsatisfiedLinkError: /mnt/1/hadoop/yarn/nm-local-dir/usercache/xxx/appcache/application_1111111111_0001/container_e01_11111111111_0001_01_000001/tmp/nvcomp2309604893014216427.so: libcudart.so.11.0: cannot open shared object file: No such file or directory
	at java.util.concurrent.FutureTask.report(FutureTask.java:122)
	at java.util.concurrent.FutureTask.get(FutureTask.java:192)
	at ai.rapids.cudf.NativeDepsLoader.loadNativeDeps(NativeDepsLoader.java:167)
	... 34 more
Caused by: java.lang.UnsatisfiedLinkError: /mnt/1/hadoop/yarn/nm-local-dir/usercache/xxx/appcache/application_1111111111_0001/container_e01_1111111111_0001_01_000001/tmp/nvcomp2309604893014216427.so: libcudart.so.11.0: cannot open shared object file: No such file or directory
	at java.lang.ClassLoader$NativeLibrary.load(Native Method)
	at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1934)
	at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1817)
	at java.lang.Runtime.load0(Runtime.java:810)
	at java.lang.System.load(System.java:1088)
	at ai.rapids.cudf.NativeDepsLoader.loadDep(NativeDepsLoader.java:184)
	at ai.rapids.cudf.NativeDepsLoader.loadDep(NativeDepsLoader.java:198)
	at ai.rapids.cudf.NativeDepsLoader.lambda$loadNativeDeps$1(NativeDepsLoader.java:161)
	... 5 more

Expected behavior
A clear and concise description of what you expected to happen.
It should work fine even though debian10 is not in our supported OS list in the download page.
I tested 0.4.1GA on the exactly the same debian10 image, and it works fine.
Environment details (please complete the following information)

Environment location: [Standalone, YARN, Kubernetes, Cloud(specify cloud provider)]
Spark configuration settings related to the issue

Dataproc 2.0 with debian 10 image.
Additional context
Add any other context about the problem here.

To troubleshoot, i can find this .so on the env:
# find . -name libcudart.so.11.0
./cuda-11.0/targets/x86_64-linux/lib/libcudart.so.11.0

Couple of questions:

Are both 0.4.1 and 0.5 using a cudf built for CUDA 11?
Does 0.5 work if you use a cudf 0.19 built for 10.2?

The docs at https://github.com/GoogleCloudDataproc/initialization-actions/tree/master/gpu imply that a metadata parameter needs to be specified if you want any CUDA version other than 10.1 or 10.2, but I don't see that being specified via something like --metadata cuda-version=11.0.
It seems like the ld-config cache wasn't updated in the image after the CUDA 11 install so the runtime library could be found.  I don't know offhand why cudf 0.18.1 for CUDA 11 could find the CUDA runtime library but cudf 0.19 for CUDA 11 cannot on the same system.

@jlowe I just did another around of test to prove the theory/doubt.
Firstly I used the 0.5GA init scripts to start a dataproc 2.0 debian env, and it fails with above errors.
Then I only changed the jars back to 0.4.1 on the SAME cluster, then it works fine.
The only thing I did is to:
sudo su - root
cd /usr/lib/spark/jars
mv cudf-0.19.2-cuda11.jar /tmp/cudf-0.19.2-cuda11.jar.bak
mv rapids-4-spark_2.12-0.5.0.jar /tmp/rapids-4-spark_2.12-0.5.0.jar.bak
wget https://repo1.maven.org/maven2/com/nvidia/rapids-4-spark_2.12/0.4.1/rapids-4-spark_2.12-0.4.1.jar
wget https://repo1.maven.org/maven2/ai/rapids/cudf/0.18.1/cudf-0.18.1-cuda11.jar

So basically I think it is triggered by the jar.

@jlowe  to answer your questions:

Couple of questions:
* Are both 0.4.1 and 0.5 using a cudf built for CUDA 11?

Answer: Correct. By default, it will install CUDA 11.0 on both tests. I even swapped jars on the same cluster to prove the only difference is the 2 jars.

* Does 0.5 work if you use a cudf 0.19 built for 10.2?

I have not tried, but if you want, i can try to modify the init script to use 10.2 to have a try.

Thanks a lot @jlowe for the explanation.
We finally found the issue and root cause.
Basically in the init script of GCP, there is no ldconfig after GPU driver installation.
It caused that:
/tmp/cudf19/amd64/Linux# ldd * |grep -i cudart
	libcudart.so.11.0 => /usr/local/cuda/lib64/libcudart.so.11.0 (0x00007f5d482d1000)
	libcudart.so.11.0 => /usr/local/cuda/targets/x86_64-linux/lib/libcudart.so.11.0 (0x00007f0e5c586000)
	libcudart.so.11.0 => not found

The same thing happened for 0.18 cudf jar, but since 0.18 cudf jar has many more .so files so the issue could be hidden there.
The fix is to add ldconfig after GPU driver installation and it works fine for me after the fix.
So https://github.com/GoogleCloudDataproc/initialization-actions/pull/909 is the fix.

Let me close this bug since the fix is found.


KubeVirt: VMIs with Service

Related Issue(s)

Description
Introduce a new example for KubeVirt VMs in order to create a Service in order to expose an SSH service, whenever a VMI is getting created.
Checklist

[x] I have read the policy contribution guidelines.
[x] I have added test manifests and resources covering both positive and negative tests that prove this policy works as intended.

@chipzoller mind reviewing this one as well?
(It passes locally)

Thanks for the review.

Any other KubeVirt policy ideas you have, they'd be great to have.

There are some more user use-cases which I think we can solve with Kyverno.

Thanks again!


where is the "Character Embedding Layer" in code

hi
I am a new coder. I am very interested in  BiDAF. but when I had read ./squad/prepro.py ,not found  "Character Embedding Layer" code . Just see "Word Embedding Layer". Could you tell me:which  $name.py includes  the  "Character Embedding Layer".

It is here, and conv.

@wenwei202  Thank you!


python -m unittest discover mathml_to_image_service - Unit Test Not Passed

After Building the Flask server & svgtex .. I got the below error . Kindly help me to proceed further to get an proper output
(Flask) PS C:\mathml-to-image-service> python -m unittest discover mathml_to_image_service
F.....[2017-03-21 14:37:37,093] ERROR in app: Exception on / [POST]
Traceback (most recent call last):
File "C:\mathml-to-image-service\mathml_to_image_service\Flask\lib\site-packages\flask\app.py", line 1982, in wsgi_app
response = self.full_dispatch_request()
File "C:\mathml-to-image-service\mathml_to_image_service\Flask\lib\site-packages\flask\app.py", line 1614, in full_dis
patch_request
rv = self.handle_user_exception(e)
File "C:\mathml-to-image-service\mathml_to_image_service\Flask\lib\site-packages\flask\app.py", line 1517, in handle_u
ser_exception
reraise(exc_type, exc_value, tb)
File "C:\mathml-to-image-service\mathml_to_image_service\Flask\lib\site-packages\flask_compat.py", line 33, in rerais
e
raise value
File "C:\mathml-to-image-service\mathml_to_image_service\Flask\lib\site-packages\flask\app.py", line 1612, in full_dis
patch_request
rv = self.dispatch_request()
File "C:\mathml-to-image-service\mathml_to_image_service\Flask\lib\site-packages\flask\app.py", line 1598, in dispatch
_request
return self.view_functionsrule.endpoint
File "C:\mathml-to-image-service\mathml_to_image_service\service.py", line 30, in convert
file_name = to_image(svg_string, format, int(max_size), int(quality))
File "C:\mathml-to-image-service\mathml_to_image_service\svg_to_image.py", line 127, in to_image
stderr=subprocess.DEVNULL)
File "c:\program files\python36\Lib\subprocess.py", line 286, in check_call
retcode = call(*popenargs, **kwargs)
File "c:\program files\python36\Lib\subprocess.py", line 267, in call
with Popen(*popenargs, **kwargs) as p:
File "c:\program files\python36\Lib\subprocess.py", line 707, in init
restore_signals, start_new_session)
File "c:\program files\python36\Lib\subprocess.py", line 990, in _execute_child
startupinfo)
FileNotFoundError: [WinError 2] The system cannot find the file specified
E.EEEEEE
ERROR: test_root_path_post_redirect_to_image (tests.test_service.FlaskrTestCase)
Traceback (most recent call last):
File "C:\mathml-to-image-service\mathml_to_image_service\tests\test_service.py", line 50, in test_root_path_post_redir
ect_to_image
data = json.loads(response.data.decode('utf-8'))
File "c:\program files\python36\Lib\json_init_.py", line 354, in loads
return _default_decoder.decode(s)
File "c:\program files\python36\Lib\json\decoder.py", line 339, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "c:\program files\python36\Lib\json\decoder.py", line 357, in raw_decode
raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
======================================================================
ERROR: test_create_image (tests.test_svg_to_image.SVGToImageTestCase)
Traceback (most recent call last):
File "C:\mathml-to-image-service\mathml_to_image_service\tests\test_svg_to_image.py", line 14, in test_create_image
filename = to_image(svg, 'gif', 200)
File "C:\mathml-to-image-service\mathml_to_image_service\svg_to_image.py", line 127, in to_image
stderr=subprocess.DEVNULL)
File "c:\program files\python36\Lib\subprocess.py", line 286, in check_call
retcode = call(*popenargs, **kwargs)
File "c:\program files\python36\Lib\subprocess.py", line 267, in call
with Popen(*popenargs, **kwargs) as p:
File "c:\program files\python36\Lib\subprocess.py", line 707, in init
restore_signals, start_new_session)
File "c:\program files\python36\Lib\subprocess.py", line 990, in _execute_child
startupinfo)
FileNotFoundError: [WinError 2] The system cannot find the file specified
======================================================================
ERROR: test_create_image_bad_svg (tests.test_svg_to_image.SVGToImageTestCase)
Traceback (most recent call last):
File "C:\mathml-to-image-service\mathml_to_image_service\tests\test_svg_to_image.py", line 23, in test_create_image_ba
d_svg
filename = to_image(svg, 'png', 200)
File "C:\mathml-to-image-service\mathml_to_image_service\svg_to_image.py", line 127, in to_image
stderr=subprocess.DEVNULL)
File "c:\program files\python36\Lib\subprocess.py", line 286, in check_call
retcode = call(*popenargs, **kwargs)
File "c:\program files\python36\Lib\subprocess.py", line 267, in call
with Popen(*popenargs, **kwargs) as p:
File "c:\program files\python36\Lib\subprocess.py", line 707, in init
restore_signals, start_new_session)
File "c:\program files\python36\Lib\subprocess.py", line 990, in _execute_child
startupinfo)
FileNotFoundError: [WinError 2] The system cannot find the file specified
======================================================================
ERROR: test_create_quality_1_gif (tests.test_svg_to_image.SVGToImageTestCase)
Traceback (most recent call last):
File "C:\mathml-to-image-service\mathml_to_image_service\tests\test_svg_to_image.py", line 66, in test_create_quality_
1_gif
filename = to_image(svg, 'gif', 200, 1)
File "C:\mathml-to-image-service\mathml_to_image_service\svg_to_image.py", line 127, in to_image
stderr=subprocess.DEVNULL)
File "c:\program files\python36\Lib\subprocess.py", line 286, in check_call
retcode = call(*popenargs, **kwargs)
File "c:\program files\python36\Lib\subprocess.py", line 267, in call
with Popen(*popenargs, **kwargs) as p:
File "c:\program files\python36\Lib\subprocess.py", line 707, in init
restore_signals, start_new_session)
File "c:\program files\python36\Lib\subprocess.py", line 990, in _execute_child
startupinfo)
FileNotFoundError: [WinError 2] The system cannot find the file specified
======================================================================
ERROR: test_create_quality_1_png (tests.test_svg_to_image.SVGToImageTestCase)
Traceback (most recent call last):
File "C:\mathml-to-image-service\mathml_to_image_service\tests\test_svg_to_image.py", line 50, in test_create_quality_
1_png
filename = to_image(svg, 'png', 200, 1)
File "C:\mathml-to-image-service\mathml_to_image_service\svg_to_image.py", line 127, in to_image
stderr=subprocess.DEVNULL)
File "c:\program files\python36\Lib\subprocess.py", line 286, in check_call
retcode = call(*popenargs, **kwargs)
File "c:\program files\python36\Lib\subprocess.py", line 267, in call
with Popen(*popenargs, **kwargs) as p:
File "c:\program files\python36\Lib\subprocess.py", line 707, in init
restore_signals, start_new_session)
File "c:\program files\python36\Lib\subprocess.py", line 990, in _execute_child
startupinfo)
FileNotFoundError: [WinError 2] The system cannot find the file specified
======================================================================
ERROR: test_create_quality_2_gif (tests.test_svg_to_image.SVGToImageTestCase)
Traceback (most recent call last):
File "C:\mathml-to-image-service\mathml_to_image_service\tests\test_svg_to_image.py", line 58, in test_create_quality_
2_gif
filename = to_image(svg, 'gif', 200, 2)
File "C:\mathml-to-image-service\mathml_to_image_service\svg_to_image.py", line 127, in to_image
stderr=subprocess.DEVNULL)
File "c:\program files\python36\Lib\subprocess.py", line 286, in check_call
retcode = call(*popenargs, **kwargs)
File "c:\program files\python36\Lib\subprocess.py", line 267, in call
with Popen(*popenargs, **kwargs) as p:
File "c:\program files\python36\Lib\subprocess.py", line 707, in init
restore_signals, start_new_session)
File "c:\program files\python36\Lib\subprocess.py", line 990, in _execute_child
startupinfo)
FileNotFoundError: [WinError 2] The system cannot find the file specified
======================================================================
ERROR: test_create_quality_2_png (tests.test_svg_to_image.SVGToImageTestCase)
Traceback (most recent call last):
File "C:\mathml-to-image-service\mathml_to_image_service\tests\test_svg_to_image.py", line 42, in test_create_quality_
2_png
filename = to_image(svg, 'png', 200, 2)
File "C:\mathml-to-image-service\mathml_to_image_service\svg_to_image.py", line 127, in to_image
stderr=subprocess.DEVNULL)
File "c:\program files\python36\Lib\subprocess.py", line 286, in check_call
retcode = call(*popenargs, **kwargs)
File "c:\program files\python36\Lib\subprocess.py", line 267, in call
with Popen(*popenargs, **kwargs) as p:
File "c:\program files\python36\Lib\subprocess.py", line 707, in init
restore_signals, start_new_session)
File "c:\program files\python36\Lib\subprocess.py", line 990, in _execute_child
startupinfo)
FileNotFoundError: [WinError 2] The system cannot find the file specified
======================================================================
FAIL: test_basic_encode (tests.test_mathoid_client.MathoidTestCase)
Traceback (most recent call last):
File "C:\mathml-to-image-service\mathml_to_image_service\tests\test_mathoid_client.py", line 16, in test_basic_encode
self.assertEqual(get_svg(self.mml), self.svg)
AssertionError: '<svg[39 chars]ink" width="28.74ex" height="6.009ex" viewBox=[10979 chars]svg>' != '<svg[39 chars]ink" s
tyle="width: 28.125ex; height: 5.375ex; [11091 chars]svg>'
Diff is 22261 characters long. Set self.maxDiff to None to see it.
Ran 14 tests in 4.051s
FAILED (failures=1, errors=7)

@priya4075 This service delegates a fair amount of the work out to other services, specifically the rsvg-convert, convert, and pngcrush. The tests are complaining that it cannot find those executables.
I am not sure if those tools are available in Windows, or what is involved in getting python to be able to see them (possibly adding them to the PATH).
Unfortunately I only have experience with, and this software is only tested with linux systems, so there are no guarantees that it will work on Windows, but we welcome pull requests if there are things that need to be changed to make it work on different platforms, as long as it doesn't break functionality on linux systems.

This error only i am getting.
I am passing this mathml.
limn→∞ ln(12n+2−9+4n)=ln3
I am trying in Windows 7 OS.
Flask server is getting initiated. Just Help me to get an output properly.

@priya4075 This seems to be an error returned directly from svgtex.
That means that everything is probably set up and running well on the mathml-to-image-service side.
To confirm, you can try accessing svgtex directly (by default localhost:16000), type your mathml in there, and see the result that you get.
If you get the same result, then it's an issue with svgtex not understanding the mathml that you've sent it. If not, then it's possibly an issue with the way that mathml-to-image-service is sending the mathml to svgtex, and we can look into that.


Allow fuzzy search

Search vectors? I don't know what's supported with Sqlite

sqlite needs an extension for vectors.
https://alexgarcia.xyz/sqlite-vss/python.html
sqlite-vec is supposed to replace sqlite-vss, but it's in-development: https://github.com/asg017/sqlite-vec


could not establish connection. receiving end does not exist

hi , i have problem with lastest version  , please check it and fix it ... thank for it sir
"could not establish connection. receiving end does not exist"

When you are getting this error . Is it when you leave you system for long
time ?
On Wed, 17 May 2023 at 8:43 AM, new-vitamin @.***>
wrote:

hi , i have problem with lastest version , please check it and fix it ...
thank for it sir
"could not establish connection. receiving end does not exist"
[image: z4351827850857_64955cac811937abd44fc5136b169230]
https://user-images.githubusercontent.com/40860346/238821351-930b9257-25d3-45a9-b1b4-0a5f8310bcaa.jpg
—
Reply to this email directly, view it on GitHub
https://github.com/Dhruv-Techapps/auto-click-auto-fill/issues/306, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AARPEGWCSJ33BCVSX7FMXL3XGQ67HANCNFSM6AAAAAAYEO5L2A
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

--
Regards,
Dharmesh Hemaram

When you are getting this error . Is it when you leave you system for long time ?
On Wed, 17 May 2023 at 8:43 AM, new-vitamin @.> wrote: hi , i have problem with lastest version , please check it and fix it ... thank for it sir "could not establish connection. receiving end does not exist" [image: z4351827850857_64955cac811937abd44fc5136b169230] https://user-images.githubusercontent.com/40860346/238821351-930b9257-25d3-45a9-b1b4-0a5f8310bcaa.jpg — Reply to this email directly, view it on GitHub <#306>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AARPEGWCSJ33BCVSX7FMXL3XGQ67HANCNFSM6AAAAAAYEO5L2A . You are receiving this because you are subscribed to this thread.Message ID: @.>
-- Regards, Dharmesh Hemaram

Yes, maybe that, but sometimes I will have such a case right from the beginning of the website
In the old version, I don't have any problems like that ^^ can fix it sir?

Are you still getting similar issues