LCFS - Fuel code 'Add row' button not working as intended

Describe the Bug
In the Fuel Code Input Table, clicking the "Add Row" button while entering information into the first available row results in the following issues:

A new row is not added to the table.
All information entered in the first row is cleared, even if the data was fully or partially entered.

The "Add Row" functionality should allow users to add a new row at any point without affecting the data already entered in the existing rows.
Expected Behaviour

Users should be able to click "Add Row" at any point while entering information into a fuel code line without losing data in the existing rows.
A new row should be added to the table when the "Add Row" button is clicked.

Actual Behaviour

Clicking "Add Row" while entering data in the first row does not add a new row.
The first row's information is cleared, causing users to lose all previously entered data.

Implications
Users cannot effectively add new rows while entering data, leading to frustration and potential loss of information.
Steps To Reproduce
Steps to reproduce the behaviour:
User/Role: IDIR

Navigate to the Fuel Code Input Table.
Enter information into the first available row of the table.
Click the "Add Row" button while the information is partially or fully entered in the first row.
Observe that no new row is added, and all entered information in the first row is cleared.

I tested this issue on the dev environment, and it worked as expected without any problems.


Reapply "Fix memory leak in decode_webp (#8712)" (#8723)

This reverts commit 7d077f131217dc03813d97d7524ea3aeba7dd7e1. which itself reverted https://github.com/pytorch/vision/issues/8710.  So we're putting #8710 back

Status as of 21ce0e7

Build Windows Wheels / pytorch/vision / wheel-py3_9-xpu (pull_request) is failing with the same issue as on main
Tests / unittests-windows (3.9, windows.g5.4xlarge.nvidia.gpu, cuda, 11.8) / windows-job - same
Build Windows Wheels / pytorch/vision / wheel-py3_9-cuda11_8 (pull_request) and Build Windows Wheels / pytorch/vision / wheel-py3_9-cuda12_4 (pull_request) have been queued for days (same on main)
rocm wheel jobs are failing during compilation with:

/__w/vision/vision/pytorch/vision/torchvision/csrc/io/image/cpu/decode_webp.cpp:50:42: error: ‘WebPFree’ was not declared in this scope
   50 |   auto deleter = [decoded_data](void*) { WebPFree(decoded_data); };
      |                                          ^~~~~~~~

Looking at the changelog of libwebp, WebPFree has been available at least before version 0.2 released in 2012 https://github.com/webmproject/libwebp/blob/4238bc0adbacf6d5021a6578e66332786ae6a5b6/ChangeLog#L512
So, for whatever reason, the libwebp that gets installed on rocm isn't recent enough, or just wrong. Either way, I can't block landing this for a single platform, so we'll just not build with webp support on rocm. :man_shrugging:

Wheel jobs are green. Relevant unit-tests are passing. Existing failures are already visible on main. Landing.


Cleanup execution hook

Addresses #684 (Removes deprecated hook APIs)
and #857  (Changes all hook methods to use HystrixInvokableInfo)
This is a breaking change for all concrete implementations of HystrixCommandExecutionHook

NetflixOSS » Hystrix » Hystrix-pull-requests #438 FAILURE
Looks like there's a problem with this pull request

NetflixOSS » Hystrix » Hystrix-pull-requests #439 SUCCESS
This pull request looks good


[BACKPORT][V1.4.0] Make replica's sync server HTTP client timeout configurable

Longhorn/longhorn#5110
Signed-off-by: Derek Su<EMAIL_ADDRESS>

@derekbit PR check failed.

@derekbit PR check failed.

Updated. Thank you.


php artisan mapping:run

Hello,
When I run this command php artisan mapping:run, error arises:
"[Symfony\Component\Console\Exception\CommandNotFoundException]
There are no commands defined in the "mapping" namespace."
How can I run mapping. Should I install some packages?

Everything is ok, problem solved

Everything is ok, problem solved. I forgot to run php artisan make:mapping "App\Store"


Signing a user into a specific tenant

For the "Signing a user into a specific tenant" section, in addition to showing the URL that references the tenant ID, also show an example of a URL that does so symbolically instead of using the ID, e.g.
https://login.microsoftonline.com/contoso.onmicrosoft.com

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

ID: 401c04b2-ff26-fda8-de7e-8ccc4b3a4d33
Version Independent ID: d2af39ff-0862-16e6-4845-6e793ecf20eb
Content: Configure identity providers (MSAL iOS/macOS) - Microsoft Entra
Content Source: articles/active-directory/develop/config-authority.md
Service: active-directory
Sub-service: develop
GitHub Login: @cilwerner
Microsoft Alias: cwerner

@stuartwil
Thanks for your feedback! We will investigate and update as appropriate.

@stuartwil

@AjayBathini-MSFT
Thank you for replying, I did learn (through experimentation) that the approach you described works.  My comment was that this example should be added to the section of the documentation that I referenced.  The current example only shows using the tenant ID in the URL for a specific tenant.  It may save others time if the Contoso example was also included in the  documentation.

@stuartwil
You're welcome! I'm glad to hear that you were able to get it working. That's a great suggestion to add the Contoso example to the documentation.
I will reach to content author regarding the issue and will update the document as required.
We are going to close this thread as resolved but if there are any further questions regarding the documentation, please tag me in your reply and we will be happy to continue the conversation.


PWZGUI Interface Build

Here is the PWZGUI interface code.

The commit is good and we can hold the pull request until the next commit when the main function is able to take in and change the needed variables.

You have to be very careful about the folders/files you git add to your commits. You have your .vscode directory in your commit which needs to be removed.

Also it looks like the commit was not actually reverted because the code is still changed in PWZ.java

Okay. I will keep that in mind, the next time I make commit changes. Just to add in the changes in the file I'm working on, rather than the main file. Thank You!


502 Bad Gateway

I believe many people have the same problem,and i see that in some other place.

infomation:
AxiosError: Request failed with status code 502
at settle (/atomicals-js/node_modules/axios/dist/node/axios.cjs:1913:12)
at IncomingMessage.handleStreamEnd (/atomicals-js/node_modules/axios/dist/node/axios.cjs:2995:11)
at IncomingMessage.emit (node:events:526:35)
at endReadableNT (node:internal/streams/readable:1376:12)
at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
code: 'ERR_BAD_RESPONSE',
config: {
transitional: {
silentJSONParsing: true,
forcedJSONParsing: true,
clarifyTimeoutError: false
},
adapter: [ 'xhr', 'http' ],
transformRequest: [ [Function: transformRequest] ],
transformResponse: [ [Function: transformResponse] ],
timeout: 0,
xsrfCookieName: 'XSRF-TOKEN',
xsrfHeaderName: 'X-XSRF-TOKEN',
maxContentLength: -1,
maxBodyLength: -1,
env: { FormData: [Function], Blob: [class Blob] },
validateStatus: [Function: validateStatus],
headers: Object [AxiosHeaders] {
Accept: 'application/json, text/plain, /',
'Content-Type': 'application/json',
'User-Agent': 'axios/1.5.1',
'Content-Length': '79',
'Accept-Encoding': 'gzip, compress, deflate, br'
},
method: 'post',
url: 'https://ep.atomicals.xyz/proxy/blockchain.scripthash.listunspent',
data: '{"params":["b30bfb64d7c6ab95293a987bf85f66966ff6b04b1dc1c210cb5a114fc4c5e5b8"]}'
},

a private node is recommend

a private node is recommend

all right, i can get private node,but how to replace?

how to set private node?

a private node is recommend


labels: Under x axis I have 30 dates data, but I want to show every 7th date.

At labels I have data with 30 dates, but I want to show every 7th date only on label. How to achieve that?

The best way to do this would be to override the scale tick callback to only return a string for every 7th label. You'd probably want to make sure that auto skipping of labels is turned off as well. https://www.chartjs.org/docs/latest/axes/labelling.html#creating-custom-tick-formats


heatmap of historical data

I've seen a few trends in the spawns of rare pokemon, but it'd be super cool if the system could summarize the history and tell me "Jynx spawns at the opera".

I'm abandoning my efforts in this project


Zend\Filter\File\RenameUpload behaves differently when folder exists and not

code example:
$filter = new \Zend\Filter\File\RenameUpload([
    'target' => './public/img/logotypes/logo',
    'use_upload_extension' => true,
    'randomize' => true,
]);
$file = $filter->filter($file_data);
echo $file['tmp_name'];

when logo folder exists returned value would be:
./public/img/logotypes/logo/phpj7GsVi_55f03311ed828.jpg

when logo folder doesn't exists returned value would be:
./public/img/logotypes/logo_55f034e642bf3.jpg

I can't beleave this is desired behavior because this can lead to bugs.
Guess I used this incorrectly because I wanted logo prefix this worked for me until someone created logo folder then everything gone bad :(

@svycka I've checked it and I believe it is desired behaviour. As target we can provide the directory or the file name and in script we can't recognise what you have on mind. So:

if provided string is a directory (so must exist) then the file will be moved into that directory,
otherwise, path does not exist, so script assumes that it should be a file

@webimpress I do not agree with you

if provided string is a directory (so must exist) then the file will be moved into that directory,

sounds ok.

otherwise, path does not exist, so script assumes that it should be a file

this is not documented so I am not sure how you decided this is the desired behavior. Don't understand how having two hidden behaviors from one option is good. maybe new file_prefix or something would be better.

@svycka Ok, reopening. Feel free to submit PR - either: documentation update of propose a fix.

fixing would mean BC break? if this is the desired behavior

@svycka If you propose fix which will be BC Break we will plan it for v3.
I've described what is the current behaviour, and, yes, I can see it can be a bit tricky, but I think it is logical. There is not anything like 'file prefix' right now, the provided target is either directory "where file should be moved" or the new file name. As you are using randomize=true there is randomized string added to the name.

This repository has been closed and moved to laminas/laminas-filter; a new issue has been opened at https://github.com/laminas/laminas-filter/issues/13.


Added new slogan: import from another VCS

This headline text may seem insane, but... with git-svn, git-cvs and git-remote-hg interfaces, other VCSes are almostly convertible to Git. I think this is important to be seen to show that git is universal - can be converted to/from another VCS, so may serve as replacement/back end/front end to another VCS, making people more accustomed to Git and finally converting them to it. Also, I suggesting adding more slogans.

LGTM, any thoughts on the subject @peff @sxlijin @jnavila ?

I don't really care about the slogans, as long as they reflect a specificity of git. I don't think that git is special in its hability to import data from other VCS. The others are also well tooled for importing data.

Yeah, I kind of agree that the suggestion isn't very Git-specific. I dunno. I've always thought those slogans were all kind of cheesy in the first place, but I've generally avoided touching the non-factual bits of the site.


Build error code: 137  signal: null on Digital Ocean droplet

This is a very elegant script and I am excited to get it installed thank you Syuilo. I am working through the install procedure on Digital Ocean $5 droplet. I used one click install Ubuntu 16.04 LEMP stack. The build is completing, but then the process gets killed with error 137, signal null.  The console shows:
root@MissKey01-on-trllion:/home/misskey/misskey# npm run build

><EMAIL_ADDRESS>build /home/misskey/misskey
> webpack && gulp build

(node:24334) DeprecationWarning: Tapable.plugin is deprecated. Use new API on `.hooks` instead
  yes we can [====================] 98% (98/100) 52.0s
Build completed in 52.122s

Killed
npm ERR! code ELIFECYCLE
npm ERR! errno 137
npm ERR<EMAIL_ADDRESS>build: `webpack && gulp build`
npm ERR! Exit status 137
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>build script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     /root/.npm/_logs/2018-08-03T23_06_27_562Z-debug.log
`

The contents of the log file are as follows:
 File: /root/.npm/_logs/2018-08-03T23_06_27_562Z-debug.log

0 info it worked if it ends with ok
1 verbose cli [ '/usr/bin/node', '/usr/bin/npm', 'run', 'build' ]
2 info using<EMAIL_ADDRESS>3 info using<EMAIL_ADDRESS>4 verbose run-script [ 'prebuild', 'build', 'postbuild' ]
5 info lifecycle<EMAIL_ADDRESS><EMAIL_ADDRESS>6 info lifecycle<EMAIL_ADDRESS><EMAIL_ADDRESS>7 verbose lifecycle<EMAIL_ADDRESS>unsafe-perm in lifecycle true
8 verbose lifecycle<EMAIL_ADDRESS>PATH: /usr/lib/node_modules/npm/node_modules/npm-lifecycle/node-gyp-bin:/home/misskey/misskey/node_modules/.bin:/usr/local/sb$
9 verbose lifecycle<EMAIL_ADDRESS>CWD: /home/misskey/misskey
10 silly lifecycle<EMAIL_ADDRESS>Args: [ '-c', 'webpack && gulp build' ]
11 silly lifecycle<EMAIL_ADDRESS>Returned: code: 137  signal: null
12 info lifecycle<EMAIL_ADDRESS>Failed to exec build script
13 verbose stack Error<EMAIL_ADDRESS>build: `webpack && gulp build`
13 verbose stack Exit status 137
13 verbose stack     at EventEmitter.<anonymous> (/usr/lib/node_modules/npm/node_modules/npm-lifecycle/index.js:285:16)
13 verbose stack     at emitTwo (events.js:126:13)
13 verbose stack     at EventEmitter.emit (events.js:214:7)
13 verbose stack     at ChildProcess.<anonymous> (/usr/lib/node_modules/npm/node_modules/npm-lifecycle/lib/spawn.js:55:14)
13 verbose stack     at emitTwo (events.js:126:13)
13 verbose stack     at ChildProcess.emit (events.js:214:7)
13 verbose stack     at maybeClose (internal/child_process.js:925:16)
13 verbose stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:209:5)
14 verbose pkgid<EMAIL_ADDRESS>15 verbose cwd /home/misskey/misskey
16 verbose Linux 4.4.0-109-generic
17 verbose argv "/usr/bin/node" "/usr/bin/npm" "run" "build"
18 verbose node v8.11.3
19 verbose npm  v5.6.0
20 error code ELIFECYCLE
21 error errno 137
22 error<EMAIL_ADDRESS>build: `webpack && gulp build`
22 error Exit status 137
23 error Failed at the<EMAIL_ADDRESS>build script.
23 error This is probably not a problem with npm. There is likely additional logging output above.
24 verbose exit [ 137, true ]

Additional info:
I am building Misskey under user root because I do get many key not found and file not found errors when building under user 'misskey', such as:
misskey@MissKey01-on-trllion:~/misskey$ npm run build

><EMAIL_ADDRESS>build /home/misskey/misskey
> webpack && gulp build

(node:24422) DeprecationWarning: Tapable.plugin is deprecated. Use new API on `.hooks` instead
  yes we can [====================] 98% (98/100) 60.3s
Build completed in 60.489s

path 'desktop/views/pages/deck/deck.widgets-column.vue' not found
key 'matching.cancel' not found in 'common/views/components/games/reversi/reversi.vue'
path 'desktop/views/components/input-dialog.vue' not found
path 'desktop/views/components/input-dialog.vue' not found
key 'max' not found in 'null'
key 'in-use' not found in 'null'
path 'desktop/views/components/timeline.core.vue' not found
path 'desktop/views/components/users-list.item.vue' not found
key 'less' not found in 'desktop/views/pages/deck/deck.note.vue'
key 'more' not found in 'desktop/views/pages/deck/deck.note.vue'
key 'location' not found in 'desktop/views/pages/deck/deck.note.vue'
path 'desktop/views/pages/deck/deck.notes.vue' not found
path 'desktop/views/pages/deck/deck.notes.vue' not found
path 'desktop/views/pages/deck/deck.notes.vue' not found
path 'desktop/views/pages/deck/deck.notifications.vue' not found
path 'desktop/views/pages/deck/deck.notifications.vue' not found
key 'not-found' not found in 'null'
key 'not-found' not found in 'null'
key 'no-posts-found' not found in 'null'
key 'no-posts-found' not found in 'null'
key 'no-one' not found in 'desktop/views/pages/user-list.users.vue'
key 'last-used-at' not found in 'desktop/views/pages/user/user.vue'
key 'notifications' not found in 'mobile/views/pages/favorites.vue'
key 'followers-of' not found in 'mobile/views/pages/following.vue'
key 'title' not found in 'mobile/views/pages/selectdrive.vue'
key 'matching.cancel' not found in 'common/views/components/games/reversi/reversi.vue'
key 'delete' not found in 'mobile/views/components/drive.file-detail.vue'
key 'load-more' not found in 'mobile/views/components/notes.vue'
key 'more' not found in 'mobile/views/pages/favorites.vue'
key 'no-users' not found in 'mobile/views/pages/followers.vue'
key 'no-users' not found in 'mobile/views/pages/following.vue'
path 'mobile/views/pages/home.timeline.vue' not found
key 'no-posts-found' not found in 'null'
key 'no-posts-found' not found in 'null'
path 'mobile/views/widgets/activity.vue' not found
key 'matching.cancel' not found in 'common/views/components/games/reversi/reversi.vue'
key 'matching.cancel' not found in 'common/views/components/games/reversi/reversi.vue'
Hash: a47ea97a2750e8fccd4d
Version: webpack 4.16.3
Time: 60503ms
Built at: 2018-08-03 23:35:28
                Asset      Size   Chunks             Chunk Names
   auth.1.0.7828.-.js  4.21 MiB     auth  [emitted]  auth
desktop.1.0.7828.-.js  7.76 MiB  desktop  [emitted]  desktop
    dev.1.0.7828.-.js  5.13 MiB      dev  [emitted]  dev
 mobile.1.0.7828.-.js  6.96 MiB   mobile  [emitted]  mobile
     sw.1.0.7828.-.js  10.8 KiB       sw  [emitted]  sw
Entrypoint desktop = desktop.1.0.7828.-.js
Entrypoint mobile = mobile.1.0.7828.-.js
Entrypoint dev = dev.1.0.7828.-.js
Entrypoint auth = auth.1.0.7828.-.js
Entrypoint sw = sw.1.0.7828.-.js
[./src/client/app/auth/script.ts] 611 bytes {auth} [built]
[./src/client/app/common/views/pages/follow.vue] 1.19 KiB {desktop} {mobile} [built]
[./src/client/app/desktop/api/choose-drive-file.ts] 970 bytes {desktop} [built]
[./src/client/app/desktop/api/choose-drive-folder.ts] 580 bytes {desktop} [built]
[./src/client/app/desktop/api/dialog.ts] 541 bytes {desktop} [built]
[./src/client/app/desktop/api/input.ts] 620 bytes {desktop} [built]
[./src/client/app/desktop/api/notify.ts] 319 bytes {desktop} [built]
[./src/client/app/desktop/api/post.ts] 643 bytes {desktop} [built]
[./src/client/app/desktop/api/update-avatar.ts] 4.07 KiB {desktop} [built]
[./src/client/app/desktop/script.ts] 5.81 KiB {desktop} [built]
[./src/client/app/dev/script.ts] 1.19 KiB {dev} [built]
[./src/client/app/init.ts] 5.51 KiB {desktop} {mobile} {dev} {auth} [built]
[./src/client/app/mobile/script.ts] 4.64 KiB {mobile} [built]
[./src/client/app/mobile/views/pages/messaging-room.vue] 1.11 KiB {mobile} [built]
[./src/client/app/sw.js] 1.34 KiB {sw} [built]
    + 2648 hidden modules

I am quite new to Linux and I am probably doing something wrong with user or permissions. Any recommendation is much appreciated. I can provide additional info if needed. Thank you again in advance for your help.
Edit: I checked droplet resource usage. Memory usage goes near 60% during build, the other metric are well below that, so I do not think this is a resource issue.

Thank you for your reporting.
I do not know how to solve 137 errors.
'key not found' error is not a problem!

Thank you Syuilo. Based on your info, I changed back to user misskey. The build is completing but there was an error about missing file/folder:
Error: ENOENT: no such file or directory, scandir '/home/misskey/misskey/node_modules/node-sass/vendor'
Yes, the error was correct, I had no vendor folder. After searching, I found this thread. Apparently there is an incompatibility with node-sass and Ubuntu:
https://github.com/sass/node-sass/issues/1579
I re-installed node-sass with:
npm install node-sass
npm rebuild node-sass

I am making progress. Now the build completes and I am getting an error: out of memory.
FATAL ERROR: NewSpace::Rebalance Allocation failed - process out of memory
Next I will try  to increase droplet memory. Will post again later. Thank you.

We apologize for inconvenience. Good luck! 👍

OK and thanks! I did not need to increase the droplet size. For any other users benefit, I needed to:

update, install, rebuild node-sass as user misskey.
install a missing Node module disk-usage.
Mongo service was not running. I started it.
I had to set NODE_ENV to 'production'. ($ export NODE_ENV=production)

Now I can start misskey service, but still have error that MongoDB is not found. Here is console output where I verify that Mongo is running (V3.2.20), then start Misskey, and I still get error Mongo not found.:
root@MissKey01-on-trllion:/home/misskey/misskey# mongod --version
db version v3.2.20
git version: a7a144f40b70bfe290906eb33ff2714933544af8
OpenSSL version: OpenSSL 1.0.2g  1 Mar 2016
allocator: tcmalloc
modules: none
build environment:
    distmod: ubuntu1604
    distarch: x86_64
    target_arch: x86_64
root@MissKey01-on-trllion:/home/misskey/misskey# npm start

><EMAIL_ADDRESS>start /home/misskey/misskey
> node ./built

[03:17:54 INFO] Welcome to Misskey!
[03:17:54 INFO] [Deps] Node.js v8.11.3
[03:17:54 INFO] [Machine] Hostname: MissKey01-on-trllion
[03:17:54 INFO] [Machine] Platform: linux
[03:17:54 INFO] [Machine] Architecture: x64
[03:17:54 INFO] [Machine] CPU: 1 core
[03:17:54 INFO] [Machine] MEM: 1.0GB (available: 0.2GB)
[03:17:54 INFO] [Env] NODE_ENV: production
[03:17:54 INFO] [Env] You have root privileges
[03:17:54 WARN] [Deps] MongoDB not found
[03:17:54 WARN] [Deps] Regexp used for version check of MongoDB is probably messed up
[03:17:54 INFO] [Deps] Redis 4.0.10 found
[03:17:54 INFO] [Config] Loaded
[03:17:54 ERROR] Port 80 is already in use
[03:17:54 INFO] The process is going to exit with code 1

Thanks so much for any help you can provide.

Cool! What is the version of your MongoDB?

Misskey requires MongoDB 3.6 or later :)

Thanks, fantastic! Let me work on this and I will report the result a little later thanks again.

👍👍👍

Yes correct, misskey now finds MongoDB 3.6.6. Only one more error to go:
ERROR] Port 80 is already in use
I see this excellent info about Nginx config here:
https://github.com/syuilo/misskey/issues/1934
I will work on this now, and please let me know of any other ideas about this last error, thank you again.

Sorry to inform, still no success :(. I am confused about which user to start misskey. If I start misskey under user misskey, I get Linux error that using ports below 1,000 requires root privileges. So, I tried to start misskey under user root. Then I get a message that port 80 is already in use.
netstat -tupln
root@MissKey01-on-trllion:/home/misskey/misskey# netstat -tupln
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program name
tcp        0      0 <IP_ADDRESS>:443             <IP_ADDRESS>:*               LISTEN      29775/nginx -g daem
tcp        0      0 <IP_ADDRESS>:27017         <IP_ADDRESS>:*               LISTEN      9189/mongod
tcp        0      0 <IP_ADDRESS>:3306          <IP_ADDRESS>:*               LISTEN      23976/mysqld
tcp        0      0 <IP_ADDRESS>:6379          <IP_ADDRESS>:*               LISTEN      20790/redis-server
tcp        0      0 <IP_ADDRESS>:80              <IP_ADDRESS>:*               LISTEN      29775/nginx -g daem
tcp        0      0 <IP_ADDRESS>:22              <IP_ADDRESS>:*               LISTEN      24141/sshd
tcp6       0      0 :::22                   :::*                    LISTEN      24141/sshd

Yes of course, port 80 is in use. Nginx is listening to port 80 for http traffic. The only way to get rid of that error is to change nginx config to listen to port 81 or some other port for http traffic.
May I ask what I am doing wrong? What user should I use to start misskey? And how to fix port 80 already used error? Is it necessary to do some port forwarding to get this to work? Thanks for your assistance always.

Misskey needs to be started as root. When using with Nginx, it is necessary to perform port forwarding.

OK awesome, thanks for the info. I'm back to work and will update you later thanks again.

Please try remove this line: proxy_set_header Proxy "";

Thank you for recommendation. I removed that line, and restarted Nginx, same problem "Bad Gateway", Same error message:
2018/08/05 11:01:24 [error] 25551#25551: *2 connect() failed (111: Connection refused) while connecting to upstream, client: <IP_ADDRESS>, server: trillion.city, request: "GET / HTTP/1.1", upstream: "http://<IP_ADDRESS>:9584/", host: "trillion.city"

Hi Guys, I tried everything and nothing seems to work.
There are three major systems here: Nginx config, UFW firewall, and Misskey itselff. All three must be correct for this to work. This is a very complex system to troubleshoot. Can we come up with a simplified system to verify each system independent of the others?
I noticed that the error message I am getting changes from "Bad Gateway" to "Internal Server Error" when I disable the firewall. Occasionally when I am testing settings I get error "Too many open files".
Can I use curl to access Misskey directly over localhost (bypass Nginx and firewall for testing) and verify that it is working correctly? How can I do that?
Next, I would want to use Nginx without SSL and a simple flow through and get that working. Then enable proxy and get that working. Then enable SSL and get that working. Finally, turn on the firewall and get that working.
Can anyone help me with step 1? Anyone with a working setup could easily answer these questions. How to access Misskey with curl over localhost and what is the expected result? As always, thanks in advance for your assistance.

@zwebmedia
To check working correctly without web server
Please try curl -X POST -w '\n' -v 'http://localhost:9584/api/meta'
$ curl -X POST -w '\n' -v 'http://localhost:9584/api/meta'
*   Trying <IP_ADDRESS>...
* Connected to localhost (<IP_ADDRESS>) port 9584 (#0)
> POST /api/meta HTTP/1.1
> Host: localhost:9584
> User-Agent: curl/7.47.0
> Accept: */*
>
< HTTP/1.1 200 OK
< Vary: Accept-Encoding, Origin
< strict-transport-security: max-age=15552000; preload
< Content-Type: application/json; charset=utf-8
< Content-Length: 246
< Date: Mon, 06 Aug 2018 10:19:38 GMT
< Connection: keep-alive
<
* Connection #0 to host localhost left intact
{"maintainer":{"name":"maintainer","url":"http://example.com/"},"version":"4.16.1","clientVersion":"1.0.6952",
"secure":false,"machine":"xxx","os":"linux","node":"v10.8.0","cpu":{"model":"Intel(R) Xeon(R) CPU E5-2673 v4 @ 2.30GHz","cores":1}}

@mei23 thank you so much this is excellent info. There is definitely something wrong with my Misskey build, perhaps out of memory, I will increase droplet memory and try again.  thanks again, very helpful info.


Nested modals: second modal's backdrop under first modal

When I open a second modal that is smaller than the first one, it's backdrop is apearing under the first modal.
I think it should appear over it, there are some examples:
http://jsfiddle.net/CxdUQ/
http://miles-by-motorcycle.com/static/bootstrap-modal/index.html
I get these examples from http://stackoverflow.com/questions/19305821/multiple-modals-overlay

Hmm... sounds like we need to be a little smarter with the CSS on stacked modals. Pull requests welcome here.

@dougludlow will you fix this, or you wait for help? The app we made, opens modals not in correct z-index order. If a modal was sooner added to DOM, that will be behind of the newer modal.

Any plans to fix this?

I have the same problem, but using  inside the modal. I think it would be great to have the chance to set the modal's z-index manually. Doing some tests, setting the z-index:2 for the modal and z-index:1 for the overlay makes the md-select be shown properly over the modal

Any update on this? @dougludlow

For those still struggling with this, the fix in the StackOverflow post above works perfectly well.
https://stackoverflow.com/questions/19305821/multiple-modals-overlay

This should be solved in v0.11.


fix generate release notes content is empty

What type of PR is this?
/kind enhancement
What this PR does / why we need it:
After running releaseCI, the contents of changlogs are empty.
Which issue(s) this PR fixes:

Fixes #908
Special notes for your reviewer:
Validate the results:
https://github.com/ErikJiang/kubean/actions/runs/5757641369
https://github.com/ErikJiang/kubean/releases/tag/v0.0.9

/lgtm

/lgtm


Add stencil integration for Angular and Vue

https://stenciljs.com/docs/angular
https://stenciljs.com/docs/vue

[ ] Vue integration
[ ] Angular integration

Issues:

The angular integration doesn't work properly. Angular seems to be able to identify the component but its contents aren't rendered at all.

PR is merged to main - but should still be tested that everything works after publish on npm


Implement revert logic using the TransactionalState for every transaction

#901 introduces this type only for the Invoke and DeployAccount transactions, we should use it in any other transaction that supports revert logic, and add the corresponding checks (max_fee, #902 and any other necessary)

Only Invoke txs are revertible.


Added IgnoreHeuristics message

IgnoreHeuristics message can be used to define different
keys on which to ignore tracing of certain calls. For now
the message contains only a url regex. Over time we can
add support for method and host also.

heuristic is a little generic.  how about ignoreRequests?

heuristic is a little generic.  how about ignoreRequests?

and host also

If the regex is evaluated against the full URL then the host should be covered by this pattern.
Maybe I don't remember correctly but @jcchavezs had a use case to ignore tracing when a specific header was present. - e.g. this is another example of ignoring.

and host also

If the regex is evaluated against the full URL then the host should be covered by this pattern.
Maybe I don't remember correctly but @jcchavezs had a use case to ignore tracing when a specific header was present. - e.g. this is another example of ignoring.

how about ignoreRequests?

I am not sure if I like this either. E.g. what if we will be ignoring DB or messaging spans.
Maybe IgnoreMatchers?

how about ignoreRequests?

I am not sure if I like this either. E.g. what if we will be ignoring DB or messaging spans.
Maybe IgnoreMatchers?

I think it isn't easy to structure this objects. Usual use case is to disable tracing for requests so I would do something like
message UnsampleSpan {
   Request request
}

message Request {
   string url_pattern // url regex
   string header_key_pattern // header key regex
   string header_value_pattern
}

That way we can have different treatment for different objects, e.g. for messages we could have
message SQLStatement {
   string query_pattern
}

I prefer sample/unsample instead of ignore as the functionatility collides with sampling. E.g. if ignoring, do you still propagate sampling decision?

I think it isn't easy to structure this objects. Usual use case is to disable tracing for requests so I would do something like
message UnsampleSpan {
   Request request
}

message Request {
   string url_pattern // url regex
   string header_key_pattern // header key regex
   string header_value_pattern
}

That way we can have different treatment for different objects, e.g. for messages we could have
message SQLStatement {
   string query_pattern
}

I prefer sample/unsample instead of ignore as the functionatility collides with sampling. E.g. if ignoring, do you still propagate sampling decision?

Shall we close this @mohit-a21 ?


Supress Ruby warnings with -W0 option.

When running tests from the command line I supress Ruby warnings with:  RUBYOPT=W0 rake test test/file_test.rb or ruby -W0 test/file_test.rb. How can I pass the Ruby W0 option to vim-test? My current setup is:
let test#ruby#options = '-W0'
let test#ruby#minitest#options =  '--fail-fast'

Solved by adding t.warning = false to Rakefile:
Rake::TestTask.new do |t|
  t.libs << 'lib' << 'test'
  t.test_files = FileList['test/**/*_test.rb']
  t.warning = false
end


Export to ELF unsupported

When trying to export to an ELF for using with psp-gdb for adding debugging symbols, Ghidra states that the PSP Executable is an unsupported format.

I'm not sure why you would need this. I don't think it will be supported unless someone is willing to contribute this.

I'm trying to get debug symbols over to psp-gdb so the breakpoints are functional with it. The alternative (in my limited understanding) is that I'd export DWARF files but that is also unsupported I'm lead to believe.

To export as ELF you need to use option to export Original File with also has option to export user modifications:


How to output logstash.logback.marker.Markers to console

I'm using the appendEntries() function in Markers._ to add custom fields to the json output. This works, but I'd also like this data outputted to the console with Logback's ConsoleAppender.  Is this possible? The closest I've gotten is added a %marker tag to the ConsoleAppender's encoder pattern, but that just outputs LS_MAP_FIELDS.
Thanks,
Mike

I have a similar issue using the LoggingEventCompositeJsonEncoder. I specified a custom pattern as in the documentation:
 <appender name="balihoo" class="ch.qos.logback.core.rolling.RollingFileAppender">
    ...
   <encoder class="net.logstash.logback.encoder.LoggingEventCompositeJsonEncoder">
      <providers>
        <mdc/>
        <pattern>
          <pattern>
            {
              "timestamp": "%date{\"yyyy-MM-dd'T'HH:mm:ss,SSSXXX\", UTC}",
              "level": "%level",
              "logger": "%logger",
              "message": "%message",
              "logstashMarkers": "%marker"
            }
          </pattern>
        </pattern>
        <stackTrace>
          <throwableConverter class="net.logstash.logback.stacktrace.ShortenedThrowableConverter">
            <maxDepthPerThrowable>30</maxDepthPerThrowable>
            <maxLength>2048</maxLength>
            <shortenedClassNameLength>20</shortenedClassNameLength>
            <rootCauseFirst>true</rootCauseFirst>
          </throwableConverter>
        </stackTrace>
      </providers>
    </encoder>
</appender>

which results in logmessages like this:
{"timestamp":"2015-04-07T22:42:05,213Z","level":"INFO","logger":"coordinator","message":"started task processing","logstashMarkers":"LS_OBJECT_FIELDS"}

Interestingly, log messages that do not include extra fields show an empty string, so it is trying to deal with it:
{"timestamp":"2015-04-07T22:42:05,213Z","level":"INFO","logger":"coordinator","message":"end task processing","logstashMarkers":""}

How do I change my config to get my custom fields to show up?

@mhamrah, Unfortunately, there is no conversion word that can be used with logback's PatternLayout to output the logstash markers.  The logstash markers can only be used with the encoders/layouts provided by logstash-logback-encoder, such as LoggingEventCompositeJsonEncoder or LogstashEncoder.  So, you would need to use one of these encoders/layouts with the console appender to get these markers to output on the console.
@balihoo-gens, to output the logstash markers with the LoggingEventCompositeJsonEncoder, instead of declaring a field in a pattern with a conversion word, you need to use the logstashMarkers provider like this:
   <encoder class="net.logstash.logback.encoder.LoggingEventCompositeJsonEncoder">
      <providers>
        <mdc/>
        <pattern>
          <pattern>
            {
              "timestamp": "%date{\"yyyy-MM-dd'T'HH:mm:ss,SSSXXX\", UTC}",
              "level": "%level",
              "logger": "%logger",
              "message": "%message"
            }
          </pattern>
        </pattern>
        <logstashMarkers/>
        <stackTrace>
          <throwableConverter class="net.logstash.logback.stacktrace.ShortenedThrowableConverter">
            <maxDepthPerThrowable>30</maxDepthPerThrowable>
            <maxLength>2048</maxLength>
            <shortenedClassNameLength>20</shortenedClassNameLength>
            <rootCauseFirst>true</rootCauseFirst>
          </throwableConverter>
        </stackTrace>
      </providers>
    </encoder>

@philsttr Thanks for your quick response. Unfortunately the fields do not show up, even with the provider added (I had tried that first, but did not include that in my description above, apologies).
Is it possible I am not using a compatible appender? I am using the ch.qos.logback.core.rolling.RollingFileAppender
I extracted my usage into a simple test project with the full xml file.
The resulting log file has the exceptions, but the additional fields do not show.
When I take all the providers out except for the <logstashMarkers/> one, I get empty log entries: {}

@philsttr I got extra fields to show up by using append("test", "one") rather than appendFields(Json.obj("test" -> "one")). I can work with this for now, but would prefer to be able to use appendFields

What type of object does Json.obj("test" -> "one") return?

it is a Scala Play framework play.api.libs.json.JsObject, which should translate to a Jackson node (via Jerkson), but maybe that is not as straightforward as I thought.
appendEntries(Json.obj("test" -> "one").as[Map[String,String]]) also works.
Looks like this functionality works fine, I just need to look into the type conversion further. Would there be any debug messages anywhere that complain about the conversion?

Probably no debug messages.
The code that handles appendFields is here, if you need to a place to start investigating.

Closing this issue.
Not planning on adding non-JSON output for the logstash markers.
Also, this issue was not originally focused on the Scala Play JsObject.  If you would like support for this, please submit a pull request or another issue.

This should be taken into consideration again, it's annoying to use the JSON output in development environments, specially when you have stacktraces in the log it's really hard to read, but many as me don't have another option because the logs are sent to an ingestion pipeline where JSON is a more suitable format (and it's cool to have this output in these cases, but not for development).

%markers outputs the entire list (as JSON).
We need a way to access the individual fields.

@axonbrent This issue is closed since long. Please open another with a description of your issue and link to this one if needed. Thx.


Feature 10 gif creating function

this closes #10

Can we fix the range of color with this implementation ?

The colors used in the draw function are dependent of the color selector. All we have to do is to modify the keyword argument hue when defining the color selector.
For example, color_selector=colorutil.color_selector(values=tmp_df.rand2, n=max(tmp_df.rand2), hue=100) gives


Adding information by at the test level

Currently all metadata is searchable at the model level. It would be very valuable to be able to toggle to see metadata at the test level as well. Some questions this would help me answer include:

Which tests failed in the latest run?
Which tests fail most often? Least often?
Can I see a list of models with out any tests applied?

Thanks Luis for the comments! Considering the UX/UI of Raycast, do you have an idea already of how you would see users navigating the different pages to arrive to those details?
e.g for case 1, would it be:

select an environment from a list
select a job from a list
select a previous run from a list of x previous runs
see details of all the tests for that run

Benoit,
I think we are imagining the navigation pretty similar. Here is how I see it.

User selects the environment
User selects either Tests or Models (if selecting Models follow same flow as today)
User selects a job from the list of active jobs
User selects between "Most Recent Run Results" "Previous Run Results"
If User selects Most Recent Run show a list of failing tests from most recent run and a list of models without tests from the most recent run (could show failing and passing test separately here but the failing tests seem like the more valuable information)
Is User selects Previous Run show a chart by run of # of failing tests per run for last 10 runs, show a chart by test showing the # of failures of the test over the last 10 runs

Let me know what you think!


[Snyk] Upgrade dotenv from 16.4.3 to 16.4.4

This PR was automatically created by Snyk using the credentials of a real user.Snyk has created this PR to upgrade dotenv from 16.4.3 to 16.4.4.
:information_source: Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.

The recommended version is 1 version ahead of your current version.
The recommended version was released 23 days ago, on 2024-02-13.

Release notes

Package name: dotenv

16.4.4 - 2024-02-1316.4.4

16.4.3 - 2024-02-1216.4.3

    from dotenv GitHub release notes

Commit messages

Package name: dotenv

d03e397 16.4.4
3275a0a changelog 🪵
f40a8c3 Merge pull request #812 from motdotla/patch-12
1dc22d3 replace 14 chaining operator
9f1999c add 12 showing issue
06fd9bb update README
91bb2d8 Merge pull request #809 from motdotla/additional-tests
5057a81 add test showing .env.vault decryption stil works with multi-files to options.path

Compare

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.
For more information:
🧐 View latest project report
🛠 Adjust upgrade PR settings
🔕 Ignore this dependency or unsubscribe from future upgrade PRs

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

Project coverage is 75.15%.  Consider uploading reports for the commit 0f3ab80 to get more accurate results

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #2177   +/-   ##
=======================================
  Coverage   75.15%   75.15%
=======================================
  Files          13       13
  Lines         644      644
  Branches      118      118
=======================================
  Hits          484      484
  Misses        115      115
  Partials       45       45

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


Add test for tailable cursor with non-capped collection

What should be done?
Tailable cursors do not work with non-capped collections. Let's add an integration test for that.
The test should pass for MongoDB and all current FerretDB backends/handlers.
Where?
https://github.com/FerretDB/FerretDB/blob/main/integration/query_test.go
Definition of Done

all handlers updated;
integration/compatibility tests added/updated;
spot refactorings done.

Hello is this issue still open? I would like to work on it

@michiboo yep, thank you!

@michiboo any news? Anything we could help you with?

Hello I am having troubles of setting up ferretdb, will share the log later on slack or here


"Segmentation fault (core dumped)" when running  bloch sphere sample code in a Qiskit 0.30 env

Hi,
I have a Qiskit 0.30 env and want to utilize kaleidoscope to get a good presentation.
the installation of kaleidoscope is successful though it downgrades the numpy library from 1.21.2 to 1.20.3.
But when i attempting to run the sample test code, i immediately get the "core dumped" error, see below.
What could be wrong with this setup?
Below are some of the package version
(qiskit0.30) [root@rhel84 tutorials]#
(qiskit0.30) [root@rhel84 tutorials]# conda list | grep qiskit
packages in environment at /opt/anaconda/envs/qiskit0.30:
qiskit                    0.30.0                   pypi_0    pypi
qiskit-aer                0.9.0                    pypi_0    pypi
qiskit-aqua               0.9.5                    pypi_0    pypi
qiskit-experiments        0.1.0                    pypi_0    pypi
qiskit-finance            0.2.1                    pypi_0    pypi
qiskit-ibmq-provider      0.16.0                   pypi_0    pypi
qiskit-ignis              0.6.0                    pypi_0    pypi
qiskit-machine-learning   0.2.1                    pypi_0    pypi
qiskit-nature             0.2.1                    pypi_0    pypi
qiskit-optimization       0.2.3                    pypi_0    pypi
qiskit-terra              0.18.2                   pypi_0    pypi
qiskit-textbook           0.1.0                    pypi_0    pypi
(qiskit0.30) [root@rhel84 tutorials]#
(qiskit0.30) [root@rhel84 ~]# conda list | grep plotly
plotly                    5.3.1                    pypi_0    pypi
(qiskit0.30) [root@rhel84 ~]# conda list | grep kaleidoscope
kaleidoscope              0.0.13                   pypi_0    pypi
(qiskit0.30) [root@rhel84 ~]# conda list | grep dash
dash                      2.0.0                    pypi_0    pypi
dash-core-components      2.0.0                    pypi_0    pypi
dash-html-components      2.0.0                    pypi_0    pypi
dash-table                5.0.0                    pypi_0    pypi
(qiskit0.30) [root@rhel84 ~]#
(qiskit0.30) [root@rhel84 ~]# conda list | grep notebook
notebook                  6.4.4                    pypi_0    pypi
(qiskit0.30) [root@rhel84 ~]# conda list | grep ipywidgets
ipywidgets                7.6.5                    pypi_0    pypi
(qiskit0.30) [root@rhel84 ~]#
(qiskit0.30) [root@rhel84 tutorials]# python
Python 3.8.11 (default, Aug  6 2021, 10:33:43)
[GCC 7.5.0] :: Anaconda, Inc. on linux
Type "help", "copyright", "credits" or "license" for more information.

import numpy as np
from qiskit import QuantumCircuit
from qiskit.quantum_info import DensityMatrix
import kaleidoscope.qiskit
Segmentation fault (core dumped)
(qiskit0.30) [root@rhel84 tutorials]#

Try again with fault handler
(qiskit0.30) [root@rhel84 tutorials]# python3 -q -X faulthandler

import numpy as np
from qiskit import QuantumCircuit
from qiskit.quantum_info import DensityMatrix
import kaleidoscope.qiskit
Fatal Python error: Segmentation fault

Current thread 0x000003ff9fbf8240 (most recent call first):
File "/opt/anaconda/envs/qiskit0.30/lib/python3.8/ctypes/init.py", line 373 in init
File "/opt/anaconda/envs/qiskit0.30/lib/python3.8/site-packages/llvmlite/binding/ffi.py", line 185 in
File "", line 219 in _call_with_frames_removed
File "", line 843 in exec_module
File "", line 671 in _load_unlocked
File "", line 975 in _find_and_load_unlocked
File "", line 991 in _find_and_load
File "", line 219 in _call_with_frames_removed
File "", line 1042 in _handle_fromlist
File "/opt/anaconda/envs/qiskit0.30/lib/python3.8/site-packages/llvmlite/binding/dylib.py", line 3 in
File "", line 219 in _call_with_frames_removed
File "", line 843 in exec_module
File "", line 671 in _load_unlocked
File "", line 975 in _find_and_load_unlocked
File "", line 991 in _find_and_load
File "/opt/anaconda/envs/qiskit0.30/lib/python3.8/site-packages/llvmlite/binding/init.py", line 4 in
File "", line 219 in _call_with_frames_removed
File "", line 843 in exec_module
File "", line 671 in _load_unlocked
File "", line 975 in _find_and_load_unlocked
File "", line 991 in _find_and_load
File "/opt/anaconda/envs/qiskit0.30/lib/python3.8/site-packages/numba/core/config.py", line 16 in
File "", line 219 in _call_with_frames_removed
File "", line 843 in exec_module
File "", line 671 in _load_unlocked
File "", line 975 in _find_and_load_unlocked
File "", line 991 in _find_and_load
File "", line 219 in _call_with_frames_removed
File "", line 1042 in _handle_fromlist
File "/opt/anaconda/envs/qiskit0.30/lib/python3.8/site-packages/numba/init.py", line 19 in
File "", line 219 in _call_with_frames_removed
File "", line 843 in exec_module
File "", line 671 in _load_unlocked
File "", line 975 in _find_and_load_unlocked
File "", line 991 in _find_and_load
File "/opt/anaconda/envs/qiskit0.30/lib/python3.8/site-packages/kaleidoscope/interactive/bloch/utils.py", line 19 in
File "", line 219 in _call_with_frames_removed
File "", line 843 in exec_module
File "", line 671 in _load_unlocked
File "", line 975 in _find_and_load_unlocked
File "", line 991 in _find_and_load
File "/opt/anaconda/envs/qiskit0.30/lib/python3.8/site-packages/kaleidoscope/interactive/bloch/bloch2d.py", line 26 in
File "", line 219 in _call_with_frames_removed
File "", line 843 in exec_module
File "", line 671 in _load_unlocked
File "", line 975 in _find_and_load_unlocked
File "", line 991 in _find_and_load
File "/opt/anaconda/envs/qiskit0.30/lib/python3.8/site-packages/kaleidoscope/interactive/bloch/init.py", line 15 in
File "", line 219 in _call_with_frames_removed
File "", line 843 in exec_module
File "", line 671 in _load_unlocked
File "", line 975 in _find_and_load_unlocked
File "", line 991 in _find_and_load
File "", line 219 in _call_with_frames_removed
File "", line 961 in _find_and_load_unlocked
File "", line 991 in _find_and_load
File "/opt/anaconda/envs/qiskit0.30/lib/python3.8/site-packages/kaleidoscope/interactive/init.py", line 51 in
File "", line 219 in _call_with_frames_removed
File "", line 843 in exec_module
File "", line 671 in _load_unlocked
File "", line 975 in _find_and_load_unlocked
File "", line 991 in _find_and_load
File "/opt/anaconda/envs/qiskit0.30/lib/python3.8/site-packages/kaleidoscope/init.py", line 26 in
File "", line 219 in _call_with_frames_removed
File "", line 843 in exec_module
File "", line 671 in _load_unlocked
File "", line 975 in _find_and_load_unlocked
File "", line 991 in _find_and_load
File "", line 219 in _call_with_frames_removed
File "", line 961 in _find_and_load_unlocked
File "", line 991 in _find_and_load
File "", line 1 in
Segmentation fault (core dumped)
(qiskit0.30) [root@rhel84 tutorials]#

It looks like it is failing on the llvmlite package needed by numba.  You should probably check what version you are using for that.

Yeah, so you need to report the issue to the llvmlite maintainers as the bug is somewhere in that package.

Yes, I believe so. Although I am not sure if they directly support the platform you are using.


Fix building VHACD with GCC 13.

Fixes the following error:
thirdparty/vhacd/inc/vhacdICHull.h:46:31: error: 'uint32_t' does not name a type
   46 |     ICHullError Process(const uint32_t nPointsCH, const double minVolume = 0.0);
      |                               ^~~~~~~~

Note the upstream version of the third party library is not affected.

Thanks!

Thanks @akien-mga !

Can you please cherry-pick that for 3.5 branch?

Cherry-picked for 3.6.

Thanks.

Cherry-picked for 3.5.1.


WIP: apis/scheduling: future extensions of Locations, LocationDomains, Placement

Continuation of https://github.com/kcp-dev/kcp/pull/829.

As discussed on Slack, closing for now, but it'll still be in the repo so we can come back and look at it again for ideas if needed.


Duplicate request parameters should cause verification errors.

example:
            HttpRequest expectedGetBalanceRequest = request()
                .withMethod("GET")
                .withHeader(TEST_HEADER_ACCEPT_XML)
                .withPath(TEST_PATH)
                .withQueryStringParameters(
                    param("request", "getbalance"),
                    param("request", "getbalance"),
...

This is a good idea but it will be covered in #180, please add any additional comments to that ticket


libwebsocket 1.6+ compatibility for WebSocket POSIX plugin

Add compatibility with libwebsocket 1.6+ (seems working with 3.0.0). API was modified between 1.5 and 1.6, some libwebsocket_ calls were renamed to lws_.
1.6 also introduced LWS_LIBRARY_VERSION_NUMBER so it is sufficient to check if it is defined to know if we are using 1.6.
Any modern distribution should be on 2.0 or newer.

Hello!
Thanks for your contribution, it looks good to me.
One question: I have not looked into the details but I see that you have made changes to templates which are in "compilers/c/src/main/resources/ctemplates/network_lib/". In general, we are trying to not have any template there and rather have them in "compilers/official-network-plugins/src/main/resources/templates" like some of the others which you have modified. Are you sure that the templates which are in "compilers/c/src/main/resources/ctemplates/network_lib/" are actually used? If they are not we should delete them. If they are we should move them to the "official-network-plugins" project. (I can do it after merging the pool request).
Also, as you probably have noticed, we are a bit short in ThingML samples and especially when it comes to the network plugins. If you have some simple examples that you can share using the websocket plugin, it is very welcome. We can put it together with other samples or if you make a repo yourself we can link to it.

About compilers/c/src/main/resources/ctemplates/network_lib it seems it is not used (still referenced in compilers/c/src/main/java/org/thingml/compilers/c/CCompilerContext.java though). I found those files doing a grep -r libwebsocket so I edited them as well. I updated the PR to delete those.
About the ThingML examples I don't have any, I was just trying to play with websockets. The one in org.thingml.samples/src/main/thingml/network/_posix/ws/WSPingPongSrv.thingml seems working at least.

Merged, Thanks!


Add github actions workflow to trigger azure

Summary
Since the recent adoption of the github merge queue feature CI is not running correctly on enqueued PRs. This is because github emits a different type of event, merge_group, for PRs in the merge queue. Unfortunately azure pipelines doesn't appear to have native support to trigger jobs based on this even yet. In the meantime this tries to workaround this limitation by triggering azure CI pipeline runs via github actions. So gha will trigger when we run CI on PRs and in the merge queue instead of azure natively.
Details and comments

I don't believe this approach is viable, because we can't trigger on PRs from forks because the token I set as a gha secret is not accessible to the PR job from a fork. So the job fails to run because it doesn't have a token set. See: https://github.com/Qiskit/qiskit-terra/actions/runs/4440951025/jobs/7795598218?pr=9808

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
8 unchanged lines in 1 file lost coverage.
Overall coverage increased (+0.0008%) to 85.377%

Files with Coverage Reduction
New Missed Lines
%

crates/accelerate/src/vf2_layout.rs
8
86.44%

Totals

Change from base Build<PHONE_NUMBER>:
0.0008%

Covered Lines:
68110

Relevant Lines:
79776

💛  - Coveralls


Dynamic hostnames in self signup

Description:
It is required to have a dynamic hostname depending on whether the devportal is being accessed by an external or internal device.
i.e,
Hostname if public: apim.external
Hostname if internal: apim.internal
To mention further, we are facing this issue only with the self signup portal. Login/Logout portals dynamically resolve the hostnames.
So we believe that the ideal solution will be to resolve hostnames in the self signup page in a similar manner to that of the login page
Steps to reproduce:
Affected Product Version:
WSO2AM-3.2.0
Environment details (with versions):

OS:
Client:
Env (Docker/K8s):

Optional Fields
Related Issues:

Suggested Labels:

Suggested Assignees:

No current requirement like above. Hence closing the issue

Reopen the issue since this can be a practical scenario


[BUG] Error after upgrading to Flowise v2.0.5 with Milvus failing

Description
I recently upgraded Flowise to version 2.0.5. After the upgrade, Milvus started to fail using the same credentials that worked in the previous Flowise version 1.8.4. I am now getting the following error message:
Error: Error searching data: {"status":{"extra_info":{},"error_code":"UnexpectedError","reason":"fail to search on QueryNode 63: queryHook execution failed: service unavailable: search params in wrong format
character 'o' looking for beginning of value","code":2,"retriable"
,"detail":"failed to search: failed to search/query delegator 63 for channel in01-0fb909e951340bb-rootcoord-dml_7_447376391097125769v0: fail to search on QueryNode 63: queryHook execution failed: service unavailable: search params in wrong format
character 'o' looking for beginning of value"},"results":[]}

Sample flow that I am testing:

I got the same issue with flowise 2.0.7. Here is the debug info from console.
'''
10:chain:RetrievalChainWithNoHistory > 12:retriever:VectorStoreRetriever] [1.41s] Retriever run errored with error: "Error searching data: {"status":{"extra_info":{},"error_code":"UnexpectedError","reason":"fail to search on QueryNode 2: worker(2) query failed: [json.exception.parse_error.101] parse error at line 1, column 2: syntax error while parsing value - invalid literal; last read: [o","code":65535,"retriable":false,"detail":"failed to search: failed to search/query delegator 2 for channel by-dev-rootcoord-dml_5_452377787821047827v0: fail to search on QueryNode 2: worker(2) query failed: [json.exception.parse_error.101] parse error at line 1, column 2: syntax error while parsing value - invalid literal; last read: [o"},"results":[]}
Error: Error searching data: {"status":{"extra_info":{},"error_code":"UnexpectedError","reason":"fail to search on QueryNode 2: worker(2) query failed: [json.exception.parse_error.101] parse error at line 1, column 2: syntax error while parsing value - invalid literal; last read: [o","code":65535,"retriable":false,"detail":"failed to search: failed to search/query delegator 2 for channel by-dev-rootcoord-dml_5_452377787821047827v0: fail to search on QueryNode 2: worker(2) query failed: [json.exception.parse_error.101] parse error at line 1, column 2: syntax error while parsing value - invalid literal; last read: [o"},"results":[]}
at similaritySearchVectorWithScore (/usr/local/lib/node_modules/flowise/node_modules/flowise-components/dist/nodes/vectorstores/Milvus/Milvus.js:247:15)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async vectorStore.similaritySearchVectorWithScore (/usr/local/lib/node_modules/flowise/node_modules/flowise-components/dist/nodes/vectorstores/Milvus/Milvus.js:186:20)
at async Milvus.similaritySearch (/usr/local/lib/node_modules/flowise/node_modules/@langchain/community/node_modules/@langchain/core/dist/vectorstores.cjs:108:25)
at async VectorStoreRetriever.getRelevantDocuments (/usr/local/lib/node_modules/flowise/node_modules/@langchain/community/node_modules/@langchain/core/dist/retrievers/index.cjs:72:29)
at async VectorStoreRetriever._streamIterator (/usr/local/lib/node_modules/flowise/node_modules/@langchain/community/node_modules/@langchain/core/dist/runnables/base.cjs:165:9)
at async VectorStoreRetriever.transform (/usr/local/lib/node_modules/flowise/node_modules/@langchain/community/node_modules/@langchain/core/dist/runnables/base.cjs:402:9)
at async RunnableSequence._streamIterator (/usr/local/lib/node_modules/flowise/node_modules/@langchain/core/dist/runnables/base.cjs:1208:30)"
'''

+1
It looks like the search_params which passing to Milvus is not correct json format.
[search_params="[{\"key\":\"anns_field\",\"value\":\"langchain_vector\"},{\"key\":\"topk\",\"value\":\"4\"},{\"key\":\"metric_type\",\"value\":\"L2\"},{\"key\":\"params\",\"value\":\"[object Object]\"}]"]

It contains a \"value\":\"[object Object]\" in it, which caused the error**
parse error at line 1, column 2: syntax error while parsing value - invalid literal; last read: '[o'"]

Milvus said in console:
[2024/09/26 08:14:48.156 +00:00] [WARN] [proxy/impl.go:3015] ["Search failed to WaitToFinish"] [traceID=151bc25f777de00a3e9538a26ad8167d] [role=proxy] [db=default] [collection=fo] [partitions="[]"] [dsl=] [len(PlaceholderGroup)=8204] [OutputFields="[loc,langchain_text]"] [search_params="[{\"key\":\"anns_field\",\"value\":\"langchain_vector\"},{\"key\":\"topk\",\"value\":\"4\"},{\"key\":\"metric_type\",\"value\":\"L2\"},{\"key\":\"params\",\"value\":\"[object Object]\"}]"] [ConsistencyLevel=Bounded] [useDefaultConsistency=false] [nq=1] [error="failed to search: failed to search/query delegator 7 for channel by-dev-rootcoord-dml_0_452808391727775224v0: fail to search on QueryNode 7: worker(7) query failed: [json.exception.parse_error.101] parse error at line 1, column 2: syntax error while parsing value - invalid literal; last read: '[o'"] [errorVerbose="failed to search: failed to search/query delegator 7 for channel by-dev-rootcoord-dml_0_452808391727775224v0: fail to search on QueryNode 7: worker(7) query failed: [json.exception.parse_error.101] parse error at line 1, column 2: syntax error while parsing value - invalid literal; last read: '[o'\n(1) attached stack trace\n  -- stack trace:\n  | github.com/milvus-io/milvus/internal/proxy.(*searchTask).Execute\n  | \t/workspace/source/internal/proxy/task_search.go:552\n  | github.com/milvus-io/milvus/internal/proxy.(*taskScheduler).processTask\n  | \t/workspace/source/internal/proxy/task_scheduler.go:474\n  | github.com/milvus-io/milvus/internal/proxy.(*taskScheduler).queryLoop.func1\n  | \t/workspace/source/internal/proxy/task_scheduler.go:553\n  | github.com/milvus-io/milvus/pkg/util/conc.(*Pool[...]).Submit.func1\n  | \t/workspace/source/pkg/util/conc/pool.go:81\n  | github.com/panjf2000/ants/v2.(*goWorker).run.func1\n  | \t/root/go/pkg/mod/github.com/panjf2000/ants/v2@v2.7.2/worker.go:67\nWraps: (2) failed to search\nWraps: (3) attached stack trace\n  -- stack trace:\n  | github.com/milvus-io/milvus/internal/proxy.(*LBPolicyImpl).ExecuteWithRetry.func1\n  | \t/workspace/source/internal/proxy/lb_policy.go:186\n  | [...repeated from below...]\nWraps: (4) failed to search/query delegator 7 for channel by-dev-rootcoord-dml_0_452808391727775224v0\nWraps: (5) attached stack trace\n  -- stack trace:\n  | github.com/milvus-io/milvus/internal/proxy.(*searchTask).searchShard\n  | \t/workspace/source/internal/proxy/task_search.go:739\n  | github.com/milvus-io/milvus/internal/proxy.(*LBPolicyImpl).ExecuteWithRetry.func1\n  | \t/workspace/source/internal/proxy/lb_policy.go:178\n  | github.com/milvus-io/milvus/pkg/util/retry.Do\n  | \t/workspace/source/pkg/util/retry/retry.go:44\n  | github.com/milvus-io/milvus/internal/proxy.(*LBPolicyImpl).ExecuteWithRetry\n  | \t/workspace/source/internal/proxy/lb_policy.go:147\n  | github.com/milvus-io/milvus/internal/proxy.(*LBPolicyImpl).Execute.func2\n  | \t/workspace/source/internal/proxy/lb_policy.go:215\n  | golang.org/x/sync/errgroup.(*Group).Go.func1\n  | \t/root/go/pkg/mod/golang.org/x/sync@v0.5.0/errgroup/errgroup.go:75\n  | runtime.goexit\n  | \t/usr/local/go/src/runtime/asm_amd64.s:1650\nWraps: (6) fail to search on QueryNode 7\nWraps: (7) worker(7) query failed: [json.exception.parse_error.101] parse error at line 1, column 2: syntax error while parsing value - invalid literal; last read: '[o'\nError types: (1) *withstack.withStack (2) *errutil.withPrefix (3) *withstack.withStack (4) *errutil.withPrefix (5) *withstack.withStack (6) *errutil.withPrefix (7) merr.milvusError"]

Flowise 2.1.1 crashes completely for me, when trying to upsert a vector store:
2024-10-07 16:52:16 flowise-1  | Error: 4 DEADLINE_EXCEEDED: Deadline exceeded after 15.000s,name resolution: 0.004s,metadata filters: 0.001s,Waiting for LB pick
2024-10-07 16:52:16 flowise-1  |     at callErrorFromStatus (/usr/local/lib/node_modules/flowise/node_modules/@grpc/grpc-js/build/src/call.js:31:19)
2024-10-07 16:52:16 flowise-1  |     at Object.onReceiveStatus (/usr/local/lib/node_modules/flowise/node_modules/@grpc/grpc-js/build/src/client.js:193:76)
2024-10-07 16:52:16 flowise-1  |     at /usr/local/lib/node_modules/flowise/node_modules/@grpc/grpc-js/build/src/call-interface.js:78:35
2024-10-07 16:52:16 flowise-1  |     at Object.onReceiveStatus (/usr/local/lib/node_modules/flowise/node_modules/@zilliz/milvus2-sdk-node/dist/milvus/utils/Grpc.js:146:25)
2024-10-07 16:52:16 flowise-1  |     at InterceptingListenerImpl.onReceiveStatus (/usr/local/lib/node_modules/flowise/node_modules/@grpc/grpc-js/build/src/call-interface.js:73:23)
2024-10-07 16:52:16 flowise-1  |     at Object.onReceiveStatus (/usr/local/lib/node_modules/flowise/node_modules/@grpc/grpc-js/build/src/client-interceptors.js:360:141)
2024-10-07 16:52:16 flowise-1  |     at Object.onReceiveStatus (/usr/local/lib/node_modules/flowise/node_modules/@grpc/grpc-js/build/src/client-interceptors.js:323:181)
2024-10-07 16:52:16 flowise-1  |     at /usr/local/lib/node_modules/flowise/node_modules/@grpc/grpc-js/build/src/resolving-call.js:129:78
2024-10-07 16:52:16 flowise-1  |     at process.processTicksAndRejections (node:internal/process/task_queues:77:11)
2024-10-07 16:52:16 flowise-1  | for call at
2024-10-07 16:52:16 flowise-1  |     at ServiceClientImpl.makeUnaryRequest (/usr/local/lib/node_modules/flowise/node_modules/@grpc/grpc-js/build/src/client.js:161:32)
2024-10-07 16:52:16 flowise-1  |     at ServiceClientImpl.<anonymous> (/usr/local/lib/node_modules/flowise/node_modules/@grpc/grpc-js/build/src/make-client.js:105:19)
2024-10-07 16:52:16 flowise-1  |     at /usr/local/lib/node_modules/flowise/node_modules/@zilliz/milvus2-sdk-node/dist/milvus/utils/Function.js:32:31
2024-10-07 16:52:16 flowise-1  |     at new Promise (<anonymous>)
2024-10-07 16:52:16 flowise-1  |     at /usr/local/lib/node_modules/flowise/node_modules/@zilliz/milvus2-sdk-node/dist/milvus/utils/Function.js:29:16
2024-10-07 16:52:16 flowise-1  |     at Generator.next (<anonymous>)
2024-10-07 16:52:16 flowise-1  |     at fulfilled (/usr/local/lib/node_modules/flowise/node_modules/@zilliz/milvus2-sdk-node/dist/milvus/utils/Function.js:5:58)

Same here is there any workaround ?

I have submitted a PR that fix the symptoms maybe not the cause of the problem but it works #3336

I am still getting a similar issue with Milvus on Flowise 2.1.5

For me this(#3623) change solved the issue


[Time-series Table] Multiple cosmetic issues in Time-series Table

Screenshots

Tooltip

Half cut bottom axis value

Missing bottom axis

Description

Tooltip can be in a position, where the value is not visible.
The bottom half of bottom axis value is hidden.
In some cases, the bottom axis and value is missing.

Checked in v1.0.1 and master.
Design input

thanks for reporting, confirm 1 & 2. should be an easy fix. can't repro 3....

@junlincc I used 'cleaned_sales_data' table in examples db with below config to reproduce all 3 issues. You can try at your end.

Found 2 more related issues:

The column header for time-series column type Sparkline gets cluttered with the data. This happens only in dashboard view.

In some cases, the Y-axis value is partially hidden due to insufficient margin on the right side.

Confirmed on v1.1.0 and master.

Issue 1,2,3,4 are still reproducible on version 1.5.0

I'm not sure if these are still issues in current versions of Superset (3.x). If it is, we can re-open this, but it might be better to open new issues for each problem with updated context and a reproducible case using example data. We're no longer supporting Superset 2.x or prior, and it's been a while since this thread saw any activity, so I'm closing this as stale.


Problem in downloading dataset

In "download_open_images.sh" many links are invalid. Please tell the exact link to download dataset.

Download the dataset from here: https://storage.googleapis.com/openimages/web/download.html


WIP: Build from source

Checklist

[x] Used a fork of the feedstock to propose changes
[x] Bumped the build number (if the version is unchanged)
[ ] Reset the build number to 0 (if the version changed)
[ ] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[x] Ensured the license file is being packaged.

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.

[4508/5515] Generating itkReinitializeLevelSetImageFilterPython.cpp, ../../../lib/itkReinitializeLevelSetImageFilterPython.py
##[error]The operation was canceled.

:-(
We could try splitting into separate packages...

Pinging here to ask what is the state of this effort :)
Thanks!


[HUDI 1308] Harden RFC-15 Implementation based on production testing

Tips

Thank you very much for contributing to Apache Hudi.
Please review https://hudi.apache.org/contributing.html before opening a pull request.

What is the purpose of the pull request

Listing of metadata table timeline and files, happens just once during HoodieTableMetadata initialization, and either held in the driver or serialized to executors. So none of the metadata table listing happens from executors. and not more than once during a commit.
When timeline server is enabled (default), there is a single HoodieTableMetadata object that is held in the driver, each call will open/close the file slice. Results are cached in-memory like before, further improving performance
When timeline server is not enabled, then each task (indexing, writing..) will open/close the metadata table once per task. This trades off more RPC calls for network cost of moving large lists from driver to executors.

Brief change log
(for example:)

Modify AnnotationLocation checkstyle rule in checkstyle.xml

Verify this pull request
(Please pick either of the following options)
This pull request is a trivial rework / code cleanup without any test coverage.
(or)
This pull request is already covered by existing tests, such as (please describe tests).
(or)
This change added tests and can be verified as follows:
(example:)

Added integration tests for end-to-end.
Added HoodieClientWriteTest to verify the change.
Manually verified the change by running a job locally.

Committer checklist

[ ] Has a corresponding JIRA in PR title & commit

[ ] Commit message is descriptive of the change

[ ] CI is green

[ ] Necessary doc changes done or have another open PR

[ ] For large changes, please consider breaking it into sub-tasks under an umbrella JIRA.

Codecov Report

Merging #2441 (d985a60) into master (e3d3677) will decrease coverage by 41.04%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##             master   #2441       +/-   ##
============================================
- Coverage     50.73%   9.68%   -41.05%
+ Complexity     3064      48     -3016
============================================
  Files           419      53      -366
  Lines         18797    1930    -16867
  Branches       1922     230     -1692
============================================
- Hits           9536     187     -9349
+ Misses         8487    1730     -6757
+ Partials        774      13      -761

Flag
Coverage Δ
Complexity Δ

hudicli
?
?

hudiclient
?
?

hudicommon
?
?

hudiflink
?
?

hudihadoopmr
?
?

hudisparkdatasource
?
?

hudisync
?
?

huditimelineservice
?
?

hudiutilities
9.68% <ø> (-59.80%)
0.00 <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

The diff coverage is n/a.

@@             Coverage Diff              @@
##             master   #2441       +/-   ##
============================================
- Coverage     50.73%   9.68%   -41.05%
+ Complexity     3064      48     -3016
============================================
  Files           419      53      -366
  Lines         18797    1930    -16867
  Branches       1922     230     -1692
============================================
- Hits           9536     187     -9349
+ Misses         8487    1730     -6757
+ Partials        774      13      -761

Flag
Coverage Δ
Complexity Δ

hudicli
?
?

hudiclient
?
?

hudicommon
?
?

hudiflink
?
?

hudihadoopmr
?
?

hudisparkdatasource
?
?

hudisync
?
?

huditimelineservice
?
?

hudiutilities
9.68% <ø> (-59.80%)
0.00 <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ
Complexity Δ

...va/org/apache/hudi/utilities/IdentitySplitter.java
0.00% <0.00%> (-100.00%)
0.00% <0.00%> (-2.00%)

...va/org/apache/hudi/utilities/schema/SchemaSet.java
0.00% <0.00%> (-100.00%)
0.00% <0.00%> (-3.00%)

...a/org/apache/hudi/utilities/sources/RowSource.java
0.00% <0.00%> (-100.00%)
0.00% <0.00%> (-4.00%)

.../org/apache/hudi/utilities/sources/AvroSource.java
0.00% <0.00%> (-100.00%)
0.00% <0.00%> (-1.00%)

.../org/apache/hudi/utilities/sources/JsonSource.java
0.00% <0.00%> (-100.00%)
0.00% <0.00%> (-1.00%)

...rg/apache/hudi/utilities/sources/CsvDFSSource.java
0.00% <0.00%> (-100.00%)
0.00% <0.00%> (-10.00%)

...g/apache/hudi/utilities/sources/JsonDFSSource.java
0.00% <0.00%> (-100.00%)
0.00% <0.00%> (-4.00%)

...apache/hudi/utilities/sources/JsonKafkaSource.java
0.00% <0.00%> (-100.00%)
0.00% <0.00%> (-6.00%)

...pache/hudi/utilities/sources/ParquetDFSSource.java
0.00% <0.00%> (-100.00%)
0.00% <0.00%> (-5.00%)

...lities/schema/SchemaProviderWithPostProcessor.java
0.00% <0.00%> (-100.00%)
0.00% <0.00%> (-4.00%)

... and 384 more

But getting complicated now and difficult to trace where it is opened and closed.
@prashantwason  IMO we should have always opened and close with each fetch call - that way even if the object is gc-ed afterwards, the resources are properly closed. if we need to amortize open/close/merge cost, then we can just add a batch API e.g listPartitions()

But getting complicated now and difficult to trace where it is opened and closed.
@prashantwason  IMO we should have always opened and close with each fetch call - that way even if the object is gc-ed afterwards, the resources are properly closed. if we need to amortize open/close/merge cost, then we can just add a batch API e.g listPartitions()

On a 250K file table, with 1000 partitions
Parallelized listing from Spark takes 18 seconds

Metadata table is ~2x faster!! (timeline server=on)

Metadata table is fast, even with parallel access from executors !! (timeline server=off)

On a 250K file table, with 1000 partitions
Parallelized listing from Spark takes 18 seconds

Metadata table is ~2x faster!! (timeline server=on)

Metadata table is fast, even with parallel access from executors !! (timeline server=off)

cc @bvaradar @n3nash @umehrot2 @yanghua @leesf @nsivabalan @bhasudha @prashantwason @satishkotha
FYI  for all of you :)

cc @bvaradar @n3nash @umehrot2 @yanghua @leesf @nsivabalan @bhasudha @prashantwason @satishkotha
FYI  for all of you :)

cc @bvaradar @n3nash @umehrot2 @yanghua @leesf @nsivabalan @bhasudha @prashantwason @satishkotha
FYI for all of you :)

awesome, thanks for your effort!

cc @bvaradar @n3nash @umehrot2 @yanghua @leesf @nsivabalan @bhasudha @prashantwason @satishkotha
FYI for all of you :)

awesome, thanks for your effort!

Folks, I have tested this again with 250K files. Spark datasource does not yield as much gains, need to investigate separately. But resolved all exceptions, leaks and degradations as we saw in the last 1 week of testing

Folks, I have tested this again with 250K files. Spark datasource does not yield as much gains, need to investigate separately. But resolved all exceptions, leaks and degradations as we saw in the last 1 week of testing

Also ran 20+ rounds of upserts back to back. seems stable with metadata turned on.

Also ran 20+ rounds of upserts back to back. seems stable with metadata turned on.

@prashantwason @umehrot2 if you could review quickly, that would be great.
may be even repeat the Hive test once.
otherwise, if CI passes, i ll land and cut the RC branch

@prashantwason @umehrot2 if you could review quickly, that would be great.
may be even repeat the Hive test once.
otherwise, if CI passes, i ll land and cut the RC branch

@nsivabalan can we kick off some tests on this PR branch?

@nsivabalan can we kick off some tests on this PR branch?

the failing tests succeeds 20 times for me, running locally back-to-back.

the failing tests succeeds 20 times for me, running locally back-to-back.

https://travis-ci.com/github/apache/hudi/jobs/473273386 passed finally

https://travis-ci.com/github/apache/hudi/jobs/473273386 passed finally


Add typograf & grammalecte

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.7 out of 8 committers have signed the CLA.:white_check_mark: hellonadya:white_check_mark: KhromovNikita:white_check_mark: catbasilio:white_check_mark: danilapog:white_check_mark: trofim24:white_check_mark: AlexeyMatveev686:white_check_mark: K0R0L:x: MashaNemtYou have signed the CLA already but the status is still pending? Let us recheck it.


Can't use the search function

I started using the latest version of TQVaultAE, <IP_ADDRESS>, a couple of days ago (I haven't used any previous versions) and whenever I try to search for something I get the following error message.

Could you please add an archive with your vault files and save games here? This would help us reproduce the bug.


Cannot assign requested address for ip from lo0

Describe the bug
Trying to migrate to orbstack on mac. I have several projects in docker working at the same time and I need to expose same ports. For each project I add an alias ip in <IP_ADDRESS> subnet to lo0 interface and add unique domain to /etc/hosts pointing to that IP. After that I map ports like this:
ports:
    - "<IP_ADDRESS>:15672:15672"

This works as expected in docker desktop, but using orbstack I always get this error:
Error response from daemon: driver failed programming external connectivity on endpoint xyz_rabbitmq (02438dfbe8bdfe46ba782fc72eddc1976e230ad4c7b67877e61de1fb883ed7f7): failed to bind port <IP_ADDRESS>:15672/tcp: Error starting userland proxy: listen tcp4 <IP_ADDRESS>:15672: bind: cannot assign requested address

ifconfig output:
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
	options=1203<RXCSUM,TXCSUM,TXSTATUS,SW_TIMESTAMP>
	inet <IP_ADDRESS> netmask 0xff000000
	inet6 ::1 prefixlen 128
	inet6 fe80::1%lo0 prefixlen 64 scopeid 0x1
	inet <IP_ADDRESS> netmask 0xffffff00
	inet <IP_ADDRESS> netmask 0xffffff00
	inet <IP_ADDRESS> netmask 0xffffff00
	nd6 options=201<PERFORMNUD,DAD>

ping output:
PING <IP_ADDRESS> (<IP_ADDRESS>): 56 data bytes
64 bytes from <IP_ADDRESS>: icmp_seq=0 ttl=64 time=6.697 ms

To Reproduce

Add alias to lo0 interface: ifconfig lo0 alias <IP_ADDRESS>
Try to run anything binding some port to that ip: docker run -p <IP_ADDRESS>:8025:8025 axllent/mailpi

Result:
user@host ~ % docker context use orbstack
orbstack
Current context is now "orbstack"
user@host ~ % docker run -p <IP_ADDRESS>:8025:8025 axllent/mailpit
docker: Error response from daemon: driver failed programming external connectivity on endpoint pedantic_colden (2c56c48f030997fb83fbcb1a4e1ee1d53e7b92889ae75e7c6c5403433371850c): failed to bind port <IP_ADDRESS>:8025/tcp: Error starting userland proxy: listen tcp4 <IP_ADDRESS>:8025: bind: cannot assign requested address.

Expected behavior
user@host ~ % docker context use desktop-linux
desktop-linux
Current context is now "desktop-linux"
user@host ~ % docker run -p <IP_ADDRESS>:8025:8025 axllent/mailpit
time="2024/10/28 08:50:19" level=info msg="[smtpd] starting on [::]:1025 (no encryption)"
...

Diagnostic report (REQUIRED)
OrbStack info:
Version: 1.7.5
Commit: 82ec89be256fec62e3236f71eea94263bfcffe17 (v1.7.5)
System info:
macOS: 14.6.1 (23G93)
CPU: arm64, 8 cores
CPU model: Apple M1 Pro
Model: MacBookPro18,3
Memory: 32 GiB
Full report: https://orbstack.dev/_admin/diag/orbstack-diagreport_2024-10-28T08-59-01.661921Z.zip
Screenshots and additional context (optional)
No response

Duplicate of #291
I'd recommend using OrbStack domains instead, which should also be nicer and easier to use: https://docs.orbstack.dev/docker/domains


feat: Breaking change detection bot

The bot will create in each PR comment with a diff of public API report for @spartacus/assets and @spartacus/storefront (@spartacus/core can't be analyzed with api-extractor for now).
This should help the author and reviewer to notice breaking changes in public API and take that into account (maybe solve the issue in a way that would be breaking).
The bot works using Github actions. It also shouldn't be a mandatory check, just a helpful tool.

Updated to new github actions format.
It is not working for now, because github needs to switch github actions for organization. Old format will be dropped 30 september.
Landing it in develop might help to speed up switch to new github actions.


Click here for cat photos. replacing value of href! does not work

Challenge Make Dead Links using the Hash Symbol has an issue.
User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/53.0.2785.143 Safari/537.36.
Please describe how to reproduce this issue, and include links to screenshots if possible.
 Also, the link you included gives different code then the code posted in the comment.

@stelobrim the code in this issue is correct. The one in the link is not. If you get stuck or have questions with a challenge in the future, please first ask questions to the Help Room. Closing as coding help should be assisted within the help rooms and not on GitHub issues. Happy coding!

I am experiencing the same issue


Remove curly brackets from regular strings

Motivation
I've previously used the react/jsx-curly-brace-presence rule, and I was wondering if something similar was available or could be made for this plugin.
I went through and manually removed curly brackets from one of my own projects, and got a new svelte a11y error, because it wasn't reading the curly bracket attributes correctly.
<main role={"main"}> -> No error
<main role="main"> -> A11y: Redundant role 'main' svelte(a11y-no-redundant-roles)
Description
The rule should scan for attributes wrapped in curly braces which are strings defined with ' or ", and offer to remove them. It might also be worth adding a setting to force add curly braces (e.g. "always"), but since this allows your code to ignore a11y errors I'm not sure it would be recommended.
Examples
<!-- ✓ GOOD -->
<Foo foo="bar" />
<Foo foo='bar' />

<!-- ✗ BAD -->
<Foo foo={"bar"} />
<Foo foo={'bar'} />

Additional comments
No response

Thank you for posting the issue.
However, I think that rule already exists.
https://ota-meshi.github.io/eslint-plugin-svelte/rules/no-useless-mustaches/

Whoops, I was only looking in the stylistic issues section. Thanks for the super quick reply!


The slack url is break

Sorry, but i don't know where the question belong to which part..
Introduction
The slack url is break,always appear "502 Bad Gateway".

@judi0713 is this the one on the Readme?

It seems to be up for me: http://slack.qutheory.io/
We moved hosting recently to make it more stable, let me know if you're still experiencing problems.

@timominous Year,the image is break,but I just try ,now it's OK!Thank you! @LoganWright @timominous  I will closed this issue!Thank both of you very much!!

Maybe you can fix the image appear.I live in China, but whatever ways I visit the site,the slack image is broken.I use vpn in Japanese it can't appear either.

@judi0713 fixed the badge, thanks for pointing it out 👍


Get/Set fields outside of schema

Is it possible to get and/or set fields that don't exist in the schema?
Thanks for the amazing library!

The mapper will ignore fields not declared in the schema at the top level of a document, but you can use the Any, Collection, or Hash types for properties that contain arbitrary data.


feat(searchBox): Add wrapInput option

BREAKING CHANGE: The input used by the search-box widget is now
wrapped in a <div class="ais-search-box"> by default. This can be
turned off with wrapInput: false.
This PR is a bit long, I had to do some minor refactoring to keep the
new code understandable. I simply split the large init method into
calls to smaller methods.
There is some vanilla JS DOM manipulation involved to handle all the
possible cases: targeting an input or a div, adding or not the
poweredBy, adding or not the wrapping div.
Note that there is no targetNode.insertAfter(newNode) method, so
I had to resort to the old trick of parentNode.insertBefore(newNode, targetNode.nextSibling).

I've just rebased, with the change you suggested @vvo. Care to have a second look?

LGTM


use First when result is assumed to exist

in these scenarios First is more correct than FirstOrDefault since the result is assumed not to be null

One test was off, but otherwise good. I pulled this in via the CLI with a rebase


Non-Deterministic Ordering of Parent/Child Element for Attachable/AttachableAware

Sorry to be a bother.
The ordering of the invocation of 'connectedCallback' on a parent and child element in Lit/WebComponents doesn't appear to be deterministic in all cases. In my arrangement, I am seeing random/race-condition behavior between the creation of the event handlers in the AttachableAware and Attachable implementations.
Here is an issues (albeit older) that seems to indicate the life-cycle ordering is not necessarily guaranteed:
https://github.com/lit/lit-element/issues/254
However, this code assumes that the parent/ancestor element will always have been created and connectedCallback executed to have created the 'attach' event handler:
            this.dispatchEvent(new CustomEvent('attach', { detail, bubbles: true, composed: true }));
            if (detailPropName in detail) {

Implementing some sort of re-try in __attachToMap seems to resolve the issue for me. I realize the approach below is a bit hackish, but it demonstrates the timing related nature of the issue.
diff --git<EMAIL_ADDRESS><EMAIL_ADDRESS>index bec7b14..87a4fdd 100644
---<EMAIL_ADDRESS>+++<EMAIL_ADDRESS>@@ -53,6 +53,7 @@ const AttachableMixin = function (Base, detailPropName) {
             }
             else {
                 console.warn(`Failed to attach to the parent ${detailPropName}. Either it's not ready yet or not a parent of this element.`);
+                setTimeout(this.__attachToMap.bind(this), 10);
             }
         }
     }

This issue body was partially generated by patch-package.

Thank you for the report. Timing issues are always annoying. I would like to avoid an arbitrary timeout fix.
I noticed that I have an unpublished update to newer version of lit. I would publish that and I am curious to see if it changes anything

Huh, looking at the marker issue I found that I must have already come across the timing issue with attaching 🙈
https://github.com/zazuko/openlayers-elements/blob/master/elements/openlayers-core/mixins/Attachable.ts#L41
Does it help your case if you make a the timeout here a positive number?
This should totally become promise-based.

This line is in the version I have been using. The set timeout in connectedCallback just calls _attachToMap asynchronously. If it weren't for that, it would fail all the time.
If I increase the callback delay from 0, it does resolve the issue. There again, I think that just illustrates that the two elements are racing to be connected. I think  for it to be reliable, the child element will probably have to poll.
Could the event handlers in the parent be created earlier, perhaps at construction? Or could the event dispatch in the child happen in a later lifecycle hook?


Allow to manage Erlang Cookie without config_cluster

When deploying RabbitMQ in cluster with Pacemaker, we don't want to let
RabbitMQ to manage the cluster so we configure it without cluster
options.
Though we need to configure the Erlang Cookie in all RabbitMQ nodes.
This patch aims to:

allow to configure the cookie without config_cluster boolean at True
keeps backward compatibility, it will try to install the cookie if the
config_cluster is at True only (so it won't wail for deployment with
defaults values).
we try to create the cookie only if it's not set to 'undef'.
update README about new usage
add rspec tests to test all possible cases.

:+1:


Replace log4j2.properties file in product IS

Problem

Currently, we maintain a different log4j2 file in the product-is. We need to take the log4j2.properties file from the kernel and then replace only the relevant values in the file.

Suggested Labels

Kernel-4.5.0m4
5.9.0-M4

This issue is being closed due to extended inactivity. Please feel free to reopen it if further attention is needed. Thank you for helping us keep the issue list relevant and focused!


DocsArchive-<IP_ADDRESS>Auto archive content

Please don't merge this PR until target archive repo PR https://github.com/OPS-E2E-PPE/docs-yml-archive-non-versioning-archive/pull/90 is merged into live branch.
Auto archive content to https://github.com/VSC-Service-Account/docs-yml-archive-non-versioning-archive.git

Docs Build status updates of commit 74edd67:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

.openpublishing.redirection.json
:white_check_mark:Succeeded

docs/TOC.yml
:white_check_mark:Succeeded
View

docs/to-be-archive/level1/article3-1-1.md
:white_check_mark:Succeeded
View

docs/to-be-archive/level1/article3-1-2.md
:white_check_mark:Succeeded
View

docs/to-be-archive/level1/article3-1-3.yml
:white_check_mark:Succeeded
View

docs/to-be-archive/level2/article3-2-1.md
:white_check_mark:Succeeded
View

docs/to-be-archive/level2/article3-2-2.md
:white_check_mark:Succeeded
View

docs/to-be-archive/level2/article3-2-3.yml
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching in the Docs contributor and Admin GuideSee the frequently asked questionsPost your question in the Docs support channel

Docs Build status updates of commit 74edd67:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

.openpublishing.redirection.json
:white_check_mark:Succeeded

docs/TOC.yml
:white_check_mark:Succeeded
View

docs/to-be-archive/level1/article3-1-1.md
:white_check_mark:Succeeded
View

docs/to-be-archive/level1/article3-1-2.md
:white_check_mark:Succeeded
View

docs/to-be-archive/level1/article3-1-3.yml
:white_check_mark:Succeeded
View

docs/to-be-archive/level2/article3-2-1.md
:white_check_mark:Succeeded
View

docs/to-be-archive/level2/article3-2-2.md
:white_check_mark:Succeeded
View

docs/to-be-archive/level2/article3-2-3.yml
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching in the Docs contributor and Admin GuideSee the frequently asked questionsPost your question in the Docs support channel


COBOL: "IDENTIFICATION" formed from merged tokens

Lately I have this error all  COBOL programs I edit:
"IDENTIFICATION" formed from merged tokens
Note that I'm using Zowe Explorer Extension for FTP.
I have the same problem when open local COBOL programs.
No harm but is annoying.
VS Code:
Version: 1.88.1 (user setup)
Commit: e170252f762678dec6ca2cc69aba1570769a5d39
Date: 2024-04-10T17:41:02.734Z
Electron: 28.2.8
ElectronBuildId: 27744544
Chromium: 120.0.6099.291
Node.js: 18.18.2
V8: 12.0.267.19-electron.0
OS: Windows_NT x64 10.0.22631
Plugins:
IBM Z Open Editor v4.1.0
Zowe Explorer Extension for FTP v2.15.4
Java:
openjdk version "17.0.9" 2023-10-17
OpenJDK Runtime Environment Temurin-17.0.9+9 (build 17.0.9+9)
OpenJDK 64-Bit Server VM Temurin-17.0.9+9 (build 17.0.9+9, mixed mode, sharing)

@ssamayoa could you provide a simple COBOL program here that allows us to reproduce the error?

@ssamayoa could you provide a simple COBOL program here that allows us to reproduce the error?

Here it is:
TEST1.cbl.txt

This is an unusual error message as it indicates that the parse originally failed and then was able to resolve by merging 2 tokens together specifically "IDENTIFICATION".  I'm not sure what would cause this token to be parsed as 2 separate tokens off the top of my head and am unable to replicate the issue using your example file.  Can you also provide your zap file and settings file?  I'm suspecting that something is adjusting your columns, creating multiple tokens in the parse where there should only be 1.

Can you also provide your zapp file and settings file?

zapp.yaml has nothing special but here it is, renamed because yaml extension is not allowed.
I edited settings.json removing saved settings like URLs, usernames and so - hope is not a problem in you investigation.
zapp.yaml.txt
settings.json
Worth mentioning that associated .SQB to COBOL and no problem for those.
And yes, I already tried removing the association and re-launching VS Code but the problem persist on CBL files.

I believe I see the problem.
In your settings file, under:
zopeneditor.cobol.includeFileExtensions
you have listed ".cbl" so the parser is trying to parse your main COBOL file as a copybook.  Can you remove the ".cbl" entry and verify that resolves the issue?

@Russell-May

I believe I see the problem.

You are right my friend!
That fixed!
I forgot that I added it because a customer's project had a lot of copy books with such extension.


begin.

@Ddungyov i see there are 8 conflicts do you want to jump on a quick call together to resolve them before we meet with @qtvdobrin

@Ddungyov i see there are 8 conflicts do you want to jump on a quick call together to resolve them before we meet with @qtvdobrin

I've checked them and those won't be really a conflict

@Ddungyov i see there are 8 conflicts do you want to jump on a quick call together to resolve them before we meet with @qtvdobrin

I've checked them and those won't be really a conflict

You cannot do anything with this branch until they are resolved...

should start with an underscore, not with a dash

I notice inconsistencies with typographies

should start with an underscore, not with a dash

Those are on purpose, otherwise, the plugin doesn't link the right tokens since they find them identical due to the category name

we have to find a way to work around this ... maybe we can add something like -image_size-xl etc. ...

great suggestion actually, commited.


sokol_app.h: add custom win32 hook to handle windows events

I am using gainput (https://github.com/jkuhlmann/gainput) for input management and on windows I have to pass in all windows message manually for gainput to correctly register mouse and keyboard events
		// Update Gainput
		manager.Update();

		MSG msg;
		while (PeekMessage(&msg, hWnd,  0, 0, PM_REMOVE))
		{
			TranslateMessage(&msg);
			DispatchMessage(&msg);

			// Forward any input messages to Gainput
			manager.HandleMessage(msg);
		}

unfortunately sokol_app "swallows" all win32 event messages and I have no way to stop sokol from stealing my events.
I found a workaround that makes me handle win32 events before sokol does. I have to paste the following code before the #define SOKOL_IMPL

#if defined(_WIN32)
#  ifdef WIN32_LEAN_AND_MEAN
#    undef WIN32_LEAN_AND_MEAN
#  endif
#  include <Windows.h>
   // "hook" TranslateMessage call from sokol
   extern "C" void hook_TranslateMessage(const MSG *lpMsg);

#  define TranslateMessage(MSG) \
    hook_TranslateMessage(MSG); \
    TranslateMessage(MSG);
#endif

#define SOKOL_IMPL
#define SOKOL_GLCORE33
#include <sokol/sokol_app.h>

then in  my main app I just have to implement
#ifdef _WIN32
extern "C" void hook_TranslateMessage(const MSG *msg) {
  manager.HandleMessage(*msg);
}
#endif

this works fine, but I am wondering if it is possible to add "native" event callbacks to sapp_desc to handle such cases.
Greetings!
~ Rico (Ex Bigpoint Member)

Hi Rico :)
Hmm yeah that's a good point. I need to think of a good way to expose this type of stuff though because I can't have any Win32-types in the "public API". So basically a callback which takes a void* which would need to be cast to a MSG* in the user-provided callback.
The callback should be passed in via sapp_desc, e.g.
void my_win32_msg_callback(const void* msg) {
    const MSG* win32_msg = (const MSG*) msg;
    ...
}

sapp_desc sokol_main(int argc, char* argv[]) {
    return (sapp_desc) {
        .win32_msg_intercept_cb = my_win32_msg_callback
        ....
    };
}

There should also be a second sapp_desc callback type with a user_data pointer (same as with the init/frame/event/cleanup callbacks).
I probably won't get around implementing this for a little while because I'm still focused on the WebGPU backend, but you could provide a pull request in the meantime if you want :)

Here is a workaround that works for my use case:
It is possible to replace the WNDPROC callback that handles events for a specific window.
I do so with the following call in init_cb().
SetWindowLongPtr((HWND)sapp_win32_get_hwnd(), GWLP_WNDPROC, (LONG_PTR)hook_sapp_win32_wndproc);

I define the function alongside the sokol_app implementation to get access to the original callback _sapp_win32_wndproc():
_SOKOL_PRIVATE LRESULT CALLBACK hook_sapp_win32_wndproc(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam) {
    switch (uMsg) {
        case ...:
            ...
        default:
            break;
    }
    return _sapp_win32_wndproc(hWnd, uMsg, wParam, lParam);
}

Now about Gainput specifically. They are using MSG structures but they seem to only use the message, wParam, and lParam members. I think you can forward the messages from a custom WNDPROC.