Removing current quickfix list from stack

Describe the solution you'd like
It would be great if nvim-bqf would support a function to remove the currently opened quickfix list from the stack. If there are no other quickfix lists remaining in the stack, it would be best to close quickfix alltogether, if there are other quickfix lists available in the stack, it would be most practical to move to the most nearby list.
This allows for a more efficient use of quickfix lists as old ones do not keep lingering around making it more difficult to find your way through quickfix lists if you have quite a few.
Describe alternatives you've considered
I currently use a filetype plugin for filetype qf to set a keymap that clears all quickfix lists. This is more of a nuclear action as it clears all quickfix lists in the stack all together. I'm not sure if it's possible to just clear the current quickfix list from the stack, so if this can be done Neovim native that will be fine too.
vim.api.nvim_set_keymap('n', 'C', '<CMD>call setqflist([], "f")<CR><CMD>cclose<CR><CMD>echon \'\'<CR>', { noremap = true, silent = true })
Additional context
Cheers on the plugin, great work !

No, we can't free specify qflist from the stack. But maybe have a workaround for you.
How can you produce qflist? If not call setqflist({list} [, {action}[, {'nr': '$'}]]), I think you can run colder before closing qf.
Suppose current nr = 5, previous nr = 4

run colder and close
cw will open the qflist which nr = 4
If the new qflist is created without nr = '$', the nr = 5 will be overridden.

Thanks for the useful feedback. I've tried a few things and took your suggestions into account. In the end i've decided to map buffer-local keys ([0-9]) to each individual quickfix in the stack. This allows me to efficiently move in between lists and is actually more practical IMHO.
Additionally I created an additional keymap to clear the current list in the stack, aside of having the nuclear option of freeing all lists in the stack. See below:
vim.api.nvim_buf_set_keymap(0, 'n', '-', '<CMD>lua _G.self_function_global_quickfix_set_title()<CR>', { noremap = true, silent = true })
vim.api.nvim_buf_set_keymap(0, 'n', '1', '<CMD>1chistory<CR><CMD>echon \'\'<CR>', { noremap = true, silent = true })
vim.api.nvim_buf_set_keymap(0, 'n', '2', '<CMD>2chistory<CR><CMD>echon \'\'<CR>', { noremap = true, silent = true })
vim.api.nvim_buf_set_keymap(0, 'n', '3', '<CMD>3chistory<CR><CMD>echon \'\'<CR>', { noremap = true, silent = true })
vim.api.nvim_buf_set_keymap(0, 'n', '4', '<CMD>4chistory<CR><CMD>echon \'\'<CR>', { noremap = true, silent = true })
vim.api.nvim_buf_set_keymap(0, 'n', '5', '<CMD>5chistory<CR><CMD>echon \'\'<CR>', { noremap = true, silent = true })
vim.api.nvim_buf_set_keymap(0, 'n', '6', '<CMD>6chistory<CR><CMD>echon \'\'<CR>', { noremap = true, silent = true })
vim.api.nvim_buf_set_keymap(0, 'n', '7', '<CMD>7chistory<CR><CMD>echon \'\'<CR>', { noremap = true, silent = true })
vim.api.nvim_buf_set_keymap(0, 'n', '8', '<CMD>8chistory<CR><CMD>echon \'\'<CR>', { noremap = true, silent = true })
vim.api.nvim_buf_set_keymap(0, 'n', '9', '<CMD>9chistory<CR><CMD>echon \'\'<CR>', { noremap = true, silent = true })
vim.api.nvim_buf_set_keymap(0, 'n', 'C', '<CMD>call setqflist([], "r", {"id" : getqflist({"id" : 0}).id, "items" : []})<CR>', { noremap = true, silent = true })
vim.api.nvim_buf_set_keymap(0, 'n', 'N', '<CMD>call setqflist([], "f")<CR><CMD>cclose<CR><CMD>echon \'\'<CR>', { noremap = true, silent = true })
vim.api.nvim_buf_set_keymap(0, 'n', 'q', '<CMD>cclose<CR>', { noremap = true, silent = true })

Cheers


feature: implement _acall method for GPT4All(LLM)

Description: Implement the _acall method of the class langchain.llms.gpt4all.GPT4All
Issue: GPT4All chat error with async calls #5210
Dependencies: no dependency
Tag maintainer: @hwchase17
Twitter handle: None

Okey, I tested locally.
I ran "make format". No issue.
I ran "make lint". I found this issue How to fix error "cannot import name 'ModelMetaclass' from 'pydantic.main'". I followed the answer pip install lightning==2.0.1 and the command ran without problem. I believe this is not related to the PR but I had to clarify this.
I ran "make test". No issue.
This is more of a fix for the existing default implementation of the _acall method inherited by the GPT4All class.
This is my first contribution ever in the open source world, so let me know if there is anything wrong.

Let me know if there is a need for adding unit tests and integration tests for LLMs or chains or callbacks. I read the existing tests and found out that they cover them in a generic manner.

I have a working example that showcases how to effectively use an asynchronous callback handler with the GPT4All and RetrievalQA. I did not find the directory docs/extra, should I put it in cookbooks?

@hwchase17 the logic of gpt4all was changed to langchain-community, right?

@hwchase17 could you please review again?

I can see this warning
LangChainDeprecationWarning: The function `acall` was deprecated in LangChain 0.1.0 and will be removed in 0.2.0. Use ainvoke instead.
  warn_deprecated(

I am implementing acall. should I change the implementation to use ainvoke?

user @charlord confirmed that the current ainvoke works. So this issue can be closed https://github.com/langchain-ai/langchain/issues/5210

user @charlod confirmed that the current ainvoke works. So this issue can be closed #5210

closing per ^


Tracking: support delete-range to clean stale state for some grouped-key

Background
We need to make hummock could delete data for some group key. For example, if users create a MV by time window, those data in a long time ago would never be queried and we need to delete them to recycle storage space.
Tasks

[x] support recycle deleted data in compaction. We need to filter keys located in delete-ranges. https://github.com/risingwavelabs/risingwave/pull/5998
[x] hummock supply an interface to delete-range of data for some table-id. https://github.com/risingwavelabs/risingwave/pull/6198
[x] support filter deleted data  in query (iter and get). https://github.com/risingwavelabs/risingwave/pull/6279

@Little-Wallace Is this done?

This task has been finished

see random test in https://github.com/risingwavelabs/risingwave/pull/6688. We would run it daily once.


Enable gather vectorization in LLVMGPU backend

Request description
linalg operations with tensor.extract can now be vectorized, this means we can vectorize gather operations.
The following gather operation is common in Bert/gpt kind of model:
func.func @foo(%arg1: tensor<50257x768xf32>, %12: tensor<1x5x1xi32>) -> tensor<1x5x768xf32> {
  %13 = "mhlo.gather"(%arg1, %12)
  {dimension_numbers = #mhlo.gather<offset_dims = [2],
  collapsed_slice_dims = [0],
  start_index_map = [0],
  index_vector_dim = 2>,
  indices_are_sorted = false,
  slice_sizes = dense<[1, 768]> : tensor<2xi64>} :
  (tensor<50257x768xf32>, tensor<1x5x1xi32>) -> tensor<1x5x768xf32>
  return %13 : tensor<1x5x768xf32>
}

It can be compiled with the following command line:
../iree-build/tools/iree-compile --iree-hal-target-backends=cuda gather.mlir -o gather.vmfb  -iree-input-type=mhlo
IREE currently doesn't vectorize it because we are not enabling vectorization of linalg op with extract. This is something we can turn on.
We most likely need to refactor the way we call vectorization here:
https://github.com/openxla/iree/blob/d9b052d57713122b8c74a89aa4f383b3063105d4/compiler/src/iree/compiler/Codegen/Common/GPUVectorization.cpp#L59
It could be as simple as propagating the option to vectorize ND extract.
We want this option to be turned on:
https://github.com/llvm/llvm-project/blob/c39dd7c1db97fa367cb6282067b74cd8e55ef09a/mlir/include/mlir/Dialect/Linalg/Transforms/Transforms.h#L567
What component(s) does this issue relate to?
Compiler
Additional context
No response

Also cc @MaheshRavishankar if Mahesh has insights.

The pipeline currently executes -- WorkgroupSpecialization --> GPUTileTensor --> GPUVectorization transforms in order of execution. GPUTileTensor is introducing dynamic dimensions which prevent further vectorization of linalg.generic op. Here is a gist of the IR. https://gist.github.com/pavanimajety/7e608924a2613dadaae7b1f7a38705a3
However, if I flip the order of execution, I am able to vectorize the linalg.generic op but tiling is not working. https://gist.github.com/pavanimajety/1a1b9c72a7b17a03f775fb49bf8912b0
@ThomasRaoux What is expected in this case? Do we have a preference of which transform needs to run before the other transform or do we have any option to disable tiling when vectorization is more preferred transform of the two?

sorry for the late response. The examples is probably not ideal as the size is smaller than 64 elements which is what we use by default as number of threads per block. Using a larger size should should the problem. It sounds like you were able to try it on different examples?

Closed via #13358


Admin views tests cleanups.

Two cleanups in the admin_view tests.
The first one moves a test method from a case to a more appropriate one. The test_custom_model_admin_templates test made no sense in the AdminViewPermissionsTest case.
The second commit converts AdminViewPermissionsTest to use setUpTestData and use client.login and logout where the test isn't explicitly testing the login view behavior. I also moved the test_delete_view method definition to be with the other test_(add|change|history)_view ones.

This cleanup is inspired by a discussion with Tim while working on #3542.

@timgraham, replaced all the all().count() occurrence in the AdminViewPermissionsTest case.

looks good


Add New Emojis + AN IMPORTANT NOTE

Hi Guys
I add a new emoji and add AN IMPORTANT NOTE to add a new emoji
fixes #8

@atapas

@atapas, Please Review

@Programming-School-Pro-Coding Will you take care of the comments?

@Programming-School-Pro-Coding Will you take care of the comments?

@Programming-School-Pro-Coding Any update?

@Programming-School-Pro-Coding Will you take care of the comments?

@Programming-School-Pro-Coding Any update?

@Programming-School-Pro-Coding Hi Are you working on this one any more?

@Programming-School-Pro-Coding Will you take care of the comments?

@Programming-School-Pro-Coding Any update?

@Programming-School-Pro-Coding Hi Are you working on this one any more?

Yes


Fix: Update field names in /index/_recovery API response to snake_case for consistency

Description
This PR updates field names in the SnapshotRecoverySource response to follow snake_case, ensuring consistency across OpenSearch API responses. Specifically, it modifies the following fields:

isSearchableSnapshot -> is_searchable_snapshot
remoteStoreIndexShallowCopy -> remote_store_index_shallow_copy
sourceRemoteStoreRepository -> source_remote_store_repository
sourceRemoteTranslogRepository -> source_remote_translog_repository

This update aligns the naming conventions within the API, addressing an inconsistency in the /{index}/_recovery API response format.
Related Issues
Resolves #16334

Check List

[ ] Functionality includes testing.
[ ] API changes companion pull request created, if applicable.
[ ] Public documentation issue/PR created, if applicable.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

@dbwiddis we might need BWC tests for this change?

@dbwiddis we might need BWC tests for this change?

It is by definition not backwards compatible. This is a 3.x-only change.  It needs to be documented.

Please add a CHANGELOG entry for this, in the "unreleased 3.0" section since it will not be backported.

Note that you'll need to add the entry in https://github.com/opensearch-project/OpenSearch/blob/main/CHANGELOG-3.0.md.
(We split the 2.x and 3.0 changelogs a few months ago.)

Thanks @Aradhya2708!

This path doesn't seem to be covered by tests, it should, even if trivial.
Is there a way to add something to CI that prevents this problem in the future? Maybe tests that retrieve data inherit from a class that always checks for this type of thing?


invalid event type: panstart & pandend

I'm getting a warning in chrome console when I use panstart and panend events.

<div
  v-hammer:panstart="slideStart"
  v-hammer:pan.horizontal="slideMove"
  v-hammer:panend="slideEnd"
></div>

After reading closed issues, it is my understanding that these are not supported? Why not? I would expect a 1 to 1 copy of HammerJS?

You're right. You can listen to the start and end event inside the pan organizer.


Phantom JS

[x ] I have read the contribution documentation for this project.
[x ] I agree to follow the code of conduct that this project follows, as appropriate.
[ x] I have searched the issue tracker for an issue that matches the one I want to file, without success.

Please describe your issue:
hi all
i have a program that use Html-pdf (which use Phantom JS"2.1.4") to generate a PDF report . my program work fine when i use
electron . . but when after i package it with electron-packager it wont work giving an error that the  buffer is undefined  ( i use the buffer of PDF file to transfer it to a base64 encoded file)
[UPDATE] : after checking if i remove --asar=true then everything is running as usual
any idea why ?
here is my packge.json:
  {
    "name": "cpfid",
    "productName": "CPF-ID",
    "version": "1.0.0",
    "description": "cpf id",
    "main": "main.js",
    "scripts": {
      "start": "electron .",
      "build": "electron-packager . --overwrite --asar=true"
    },
    "author": "",
    "license": "ISC",
    "devDependencies": {
      "devtron": "^1.4.0",
      "electron-packager": "^8.5.0",
      "electron-winstaller": "^2.5.1",
      "jshint": "^2.9.4"
    },
    "dependencies": {
      "async": "^2.1.4",
      "base64-img": "^1.0.3",
      "base64-stream": "^0.1.3",
      "blob-to-buffer": "^1.2.6",
      "buildmail": "^4.0.0",
      "chart.js": "^2.4.0",
      "electron": "1.4.1",
      "excel4node": "^1.2.1",
      "file-saver": "^1.3.3",
      "html-docx-js": "^0.3.1",
      "html-pdf": "^2.1.0",
      "html2xlsx": "^0.2.0",
      "jszip": "^2.6.1",
      "mailparser": "^0.6.1",
      "mssql": "^3.3.0",
      "path": "^0.12.7",
      "pdfkit": "^0.8.0"
  }
 }

@spyshow phantomjs works by spawning an executable, putting your files in an ASAR breaks this spawning technique.  You need to add it to asar.unpacked or disable ASAR entirely as you found out :


[Bug Report]: DNS poisoning in China

In regions such as China, socks5 doesn't cut it due to DNS poisoning. Please add support for socks5h

This wasn't actually much of an issue a few weeks back but it gets the wrong IP resolution ever since I upgraded to Ubuntu 23.04. Could be an issue there

Could you please provide more details on how you run the tool and what you mean by "wrong DNS resolution"? Do you use --setup auto? SOCKS4a and SOCKS5h are already supported through the virtual DNS feature, which is enabled automatically. However, this requires that your /etc/resolv.conf is configured correctly. The --setup auto feature should do that. In general, you should see the DNS requests in the tun2proxy output. As an example, curl https://example.org should produce the following output:
[2023-05-25T17:00:39Z INFO  tun2proxy::virtdns] DNS query: example.org
[2023-05-25T17:00:39Z INFO  tun2proxy::tun2proxy] CONNECT <IP_ADDRESS>:59678 -> example.org:80
[2023-05-25T17:00:40Z INFO  tun2proxy::tun2proxy] CLOSE <IP_ADDRESS>:59678 -> example.org:80

In that case, socks5h is used.
If you only see plain IP addresses in the tun2proxy output, then it is likely that your /etc/resolv.conf is not correctly configured. Using any nameserver address that is routed through the tunnel interface should do. If you have a DNS server in your LAN, a more specific route than the default route might cause your DNS requests to not be routed through the tunnel.

 $ cat /etc/resolv.conf
nameserver <IP_ADDRESS>
nameserver <IP_ADDRESS>

[2023-05-26T00:28:46Z INFO  tun2proxy::virtdns] DNS query: chat.openai.com
[2023-05-26T00:28:46Z INFO  tun2proxy::tun2proxy] CONNECT <IP_ADDRESS>:41000 -> chat.openai.com:443
[2023-05-26T00:28:47Z ERROR tun2proxy::tun2proxy] Read from proxy: Connection reset by peer (os error 104)
[2023-05-26T00:28:47Z INFO  tun2proxy::tun2proxy] CLOSE <IP_ADDRESS>:41000 -> chat.openai.com:443

"Connection reset by peer " happens to all websites blocked by Chinese DNS poisoning.

Do you use --setup auto

Yes

When using curl with socks5h variable set, no such issues occur. I'm therefore assuming there is nothing wrong with DNS on the proxy server.

I have looked into this using Wireshark, but I don't really have a good explanation why you would experience issues with banned sites only. Tun2proxy behaves almost exactly like curl, except that curl supports one additional authentication protocol, which causes the difference in the first TCP data packet from the client. tun2proxy with plain curl is on the left, curl with socks5h and without tun2proxy on the right:

If this only affects sites that are blocked by the GFW, might it be the case that the GFW has some simple matching rule for deep packet inspection (DPI) that for some reason does not cover connections with different authentication mechanisms? This seems unlikely, but I cannot currently think of a better explanation.
If you have access to an SSH server outside the GFW, could you run ssh -D 1080 user@server and tun2proxy --proxy socks5://<IP_ADDRESS>:1080 --setup auto --setup-ip <public ip of your ssh server>? This should open a SOCKS5 proxy on <IP_ADDRESS>:1080 which is tunneled through SSH, so the GFW should not be able to perform DPI. If this works, then maybe it is really caused by DPI.

I do have ssh servers outside GFW, however, I only use this tool when GFW mysteriously blocks all connections to outside the country every few hours with the exception of academic institutions (which I only have socks5 access to).

If this only affects sites that are blocked by the GFW, might it be the case that the GFW has some simple matching rule for deep packet inspection (DPI) that for some reason does not cover connections with different authentication mechanisms? This seems unlikely, but I cannot currently think of a better explanation.

Possibly. Considering I only recently met this problem and was able to use tun2proxy perfectly in the past suggests that it's a relatively new breakthrough on their end

As long as I do not have an environment in which I can reproduce this, I can only make guesses. If you want to, you can try out the gfw branch, which aims to exactly imitate curl behavior. It assumes that GSSAPI is not supported by the server and it will break if GSSAPI is really negotiated though. If you are interested in testing the DPI hypothesis, providing a local SOCKS5 server through SSH and comparing the behavior to plaintext SOCKS5 connections would still help.

If you want to, you can try out the gfw branch,

It worked!

Could you explain a bit on how it works?

It doesn't do much. 23baf5d6a8e4d1f7a2197b9d0d32398b7ae8e9d5 just adds an extra byte. The SOCKS client now advertises that it supports the GSS-API authentication mechanism, although it does not, hoping that the server does not support it either. (It might be more clever to not use the GSS-API identifier but an unassigned/private use identifier as per https://en.wikipedia.org/wiki/SOCKS#SOCKS5, so you do not ever run into a server that supports the authentication mechanism, but since you found out that curl works, I first wanted to exactly reproduce its behavior.)
This byte is the number of supported authentication mechanisms by the client:
https://github.com/blechschmidt/tun2proxy/blob/23baf5d6a8e4d1f7a2197b9d0d32398b7ae8e9d5/src/socks.rs#L169
This byte is the code for the GSS-API mechanism:
https://github.com/blechschmidt/tun2proxy/blob/23baf5d6a8e4d1f7a2197b9d0d32398b7ae8e9d5/src/socks.rs#L171
Given your observations and the fact that you no longer have issues with 23baf5d6a8e4d1f7a2197b9d0d32398b7ae8e9d5, I would assume that the GFW has a matching rule that looks for a SOCKS5 connection handshake by performing a byte-by-byte comparison of the request. Most software (curl being one of the exceptions) only supports SOCKS5 without authentication and SOCKS5 with username/password authentication, so they likely have a few rules for these, for example matching 0x05 0x01 0x02, which would be the begin of a SOCKS5 session with username/password authentication. (The first byte is the SOCKS version, the second byte is the number of supported authentication mechanisms by the client, and the third byte is the identifier of username/password authentication.) I am a bit surprised myself that adding an extra byte seems to bypass the GFW, but maybe it's a software/hardware limitation, or it might be supposed to prevent overblocking.

Thanks!

Worked!

Thanks a lot! Merged it into master.


Reduce the default DELAYED_JOB_MAX_RUNTIME from 20 minutes to 2 minutes.

@dsander

Maybe we should also change it in .env.example?

Good call.  Just added that.

Great! :+1:


Remove skipping for an older event

To deal with the unlikely scenario of an agent sending multiple events of the same type at the same time, a skip event condition was introduced.
This wasn't working properly since it did not consider that an agent can send different types of events almost in parallel and it was just causing side effects when loading fixtures with photofinish.
Closes: #742

Thanks! I will apply this change in my local env to see if it totally remove the issues during my new tests

@arbulu89 l will hold the merge till confirmation


[Proposal] Implement Tests and Travis CI Integration

Implementing tests and integrating with Travis CI
http://www.phptherightway.com/#testing
https://travis-ci.org/
Will make the app more robust and mature :+1:

Absolutely, was toying with the idea for the same reason. But got stuck at the part where wireshell meets the ProcessWire API. Not yet sure how to fake that in a test context.

The test suit could be a pre filled processwire install (site profile?). That haves all the data needed for doing what wireshell needs to do :pig_nose: . So for testing first you need a test ready PW site. :smile:

Sure, but that test install itself needs a database initiated on every test run, basically a virtual machine. I'm not that experienced in testing to instantaneously how to approach that. :)

I think first you have to execute a command like
wireshell test:preprare
that creates a PW install with a test site profile
then
wireshell test:begin
to execute all tests with a single PW install, not needing a new install on every test.

By test run I meant e.g. a Travis run. You're referring to the same I guess?
Aside from how often such a scenario would be created or destroyed I'm not sure how to create it in the first place (Vagrant box?) for e.g. Travis to catch the tests, setting all dependencies (PW in this case) up, run the tests, and report back.

I will read some more about Travis and look a way to integrate it with PW. :+1:

So far I have been reading about PHPUnit.
But BDD (Behaviour Driven Development) is a very cool way of testing.
http://www.slideshare.net/marcello.duarte/full-stack-bdd-for-symfony2
http://everzet.com/post/31581124270/fullstack-bdd-2012-wrapup

Absolutely fascinating topic. I learned a bunch about testing and BDD/TDD from @jeffreyway and laracasts.com and finished just today my first Laravel customer project, with full tests, of course. :)

May be we can do like PW and create a checklist for things to test and expected outcome. that way we could test :).
also I found this https://styleci.io/ that enables to check the php code on merge :+1:

Good ideas, both issues. Maybe it just comes down to mock the wire(); function?


Explicit error bars

Hey Pierre,
Firstly, I want to congratulate and thank you for your excellent package. The results are fantastic, and the documentation is extremely useful.
However, there is a feature that I am either unable to find or does not exist yet: explicitly declare error bars. I frequently deal with data that has already been binned into a single set of X and Y columns, with each data point having its associated error in a third column. Is there a way of passing this error to gramm so that I can use the 'line with shading' as seen in the stat_summary examples? Intuitively, I feel it should be possible to have something like:
g = gramm('X', energy_transfer, 'Y', intensity, 'E', error) ;
Many thanks again!

Paul

Hi Paul,
Glad you are enjoying using gramm !
You can do exactly what you want using geom_interval(), and providing 'ymin' and 'ymax' in the initial gramm() call (you will have to subtract and add your error variable to y) . There should be an example of use in examples.m

Whilst you were typing, I realised that this was exactly the solution I was looking for. Glad that we agree.
Thanks again!


Implement help text for TextField, TextArea, SearchField, and Picker

Implement the HelpText component and add it to TextField, TextArea, SearchField, and Picker.
To add neutral help text below a component, add the description prop. To add error help text below a component, add the errorMessage prop, then it'll render when validationState is "invalid".

✅ Pull Request Checklist:

[x] Included link to corresponding React Spectrum GitHub Issue.
[x] Added/updated unit tests and storybook for this change (for new code or code which already has tests).
[x] Filled out test instructions.
[ ] Updated documentation (if it already exists for this component).
[x] Looked at the Accessibility Practices for this feature - Aria Practices

📝 Test Instructions:

View the new Help Text stories, with special attention to labelPosition: side and labelAlign: end variations
View the new "with description" and "with error message" stories in TextField, TextArea, SearchField, and Picker
View the updated Form stories, some components now have help text: description when valid, error message when invalid

🧢 Your Project:
RSP, Quarry

Chromatic builds: https://www.chromatic.com/build?appId=5f0dd5ad2b5fc10022a2e320&number=113, https://www.chromatic.com/build?appId=5f0dd5ad2b5fc10022a2e320&number=115


BinanceAccountService assumes futures account when not using sandbox

BinanceAccountService:97
      if(exchange.usingSandbox()){
        ...
      } else {
        BinanceFutureAccountInformation futureAccountInformation = futuresAccount();
        ...
      }

This was fixed here:
https://github.com/knowm/XChange/commit/021e4fb7894ff442f3d479938fe3ec1542510439
And is in develop branch.


Select case at left margin

The select case statement jumps to the left margin (zero indentation) regardless of context.

Hello there! Thank you for the report .. I'll look into it, this seems simple.
The problem happens when typing the word case of select case, meaning that the rule can't differentiate the case statement indentation rule from the select case one.

Ok ... Found it, that was a missing parenthesis.
Fixed in #138

Good stuff! :)


Make a build for Travis checking

Having a Travis build for this project would accomplish a few things.

Allow easier integration of new code without breaking things.
Force the core repository to include all the scattered steps out there to set up a computer for Bookworm; in essence, the Travis machine would be a template for anyone's AWS server.
Incentivize creation and use of the sparse unit tests already defined.

OK, Travis integration is complete as of the latest commit.
The travis yaml is a little funky; notably, I had to pip install bookworm both as sudo and as the base user for things to work properly. But it should make it possible to expand out unit tests on the sort of things that are likely to break.
Currently the tests focus on the API working with a test build of included files.


tvm_vendor: 0.7.1-1 in 'dashing/distribution.yaml' [bloom]

Increasing version of package(s) in repository tvm_vendor to 0.7.1-1:

upstream repository: https://github.com/autowarefoundation/tvm_vendor.git
release repository: https://github.com/autowarefoundation/tvm_vendor-release.git
distro file: dashing/distribution.yaml
bloom version: 0.10.0
previous version for package: 0.7.0-1

tvm_vendor
* Updating LLVM dependency.
* Moving catkin_package() back to after add_library().
* Contributors: Joshua Whitley

Holding for the upcoming Dashing sync.

@nuclearsandwich This package is currently failing to build on the build farm and I believe this will fix it. Does that mean that this simply won't get sync'd until the next package sync? I'm OK with that if it is the case - the melodic one is the one I really care about short-term.

@nuclearsandwich This package is currently failing to build on the build farm and I believe this will fix it. Does that mean that this simply won't get sync'd until the next package sync?

I generally consider packages that have never built low priority to fix during a pre-sync hold. In general if you'd like something to be released during the hold I'd appreciate a post in the sync discussion thread on Discourse in addition to comments on the rosdistro PR since not everyone is following the ros/rosdistro repo and so won't know to comment if they'll be affected by a late release.
I'd normally merge this one since there's not much possible harm in potentially fixing a broken package but since the farm is backed up with the recent Eloquent and Foxy builds I do not want to risk delaying the sync waiting for this to come in behind them, so yes, this will come in the next Dashing sync after this week's.

Thanks for the explanation! Not a problem at all.


IntelliSense not works for submodules

Applies To

[X] Notebooks (.ipynb files)
[ ] Interactive Window and/or Cell Scripts (.py files with #%% markers)

What happened?
In JupyterLab, I simply import the module, it can show me the parameters of the class which inside submodule.

In VSCode, not work.

VS Code Version
1.69.1
Jupyter Extension Version
v2022.6.1201981810
Jupyter logs
No response
Coding Language and Runtime Version
Python 3.9.13 by MiniConda
Language Extension Version (if applicable)
v2022.10.1
Anaconda Version (if applicable)
MiniConda 4.13.0
Running Jupyter locally or remotely?
Local

try
from tianshou.utils.net import common

common.Recurrent()

.net is missing from the public types listed in utils_init_.py

Closing old issue. If this is still a problem, please reopen with the information requested. thanks


Improve joystick visualisation in gamepad example again

Sorry for the spam, you were too fast! I wanted to force-push this into my previous PR, but you beat me to it.
As prior commit, but complete fix for XBox controller and trigger
buttons too.

The joystick range is a float from -1 through +1. Casting this to int
yields only three possible values: -1, 0, and 1. This gives a
misleading joystick placement in the demo.
By casting to int after the multiplication to get pixel values, the
demo reveals the analog feel of the joystick.

@kristianlm hahaha... no worries! Merged! Thanks again!


Android build failed: MainActivity.java:19: error: cannot find symbol

Followed all the steps exactly and the build fails because of the code you instruct users to add into MainActivity.java:
:app:compileDebugJavaWithJavac - is not incremental (e.g. outputs have changed, no previous execution, etc.).
/www/apps/Slick/android/app/src/main/java/com/itsahappymedium/slick/MainActivity.java:19: error: cannot find symbol
        NotificationManager nMgr = (NotificationManager) getSystemService(Context.NOTIFICATION_SERVICE);
        ^
  symbol:   class NotificationManager
  location: class MainActivity
/www/apps/Slick/android/app/src/main/java/com/itsahappymedium/slick/MainActivity.java:19: error: cannot find symbol
        NotificationManager nMgr = (NotificationManager) getSystemService(Context.NOTIFICATION_SERVICE);
                                    ^
  symbol:   class NotificationManager
  location: class MainActivity
/www/apps/Slick/android/app/src/main/java/com/itsahappymedium/slick/MainActivity.java:19: error: cannot find symbol
        NotificationManager nMgr = (NotificationManager) getSystemService(Context.NOTIFICATION_SERVICE);
                                                                          ^
  symbol:   variable Context
  location: class MainActivity
3 errors
:app:compileDebugJavaWithJavac FAILED

Probably you just forgot to add an import for the manager: 'import android.app.NotificationManager;' Does that fix it?

That gets rids of some of the errors but now I get this:
/www/apps/Slick/android/app/src/main/java/com/itsahappymedium/slick/MainActivity.java:21: error: cannot find symbol
        NotificationManager nMgr = (NotificationManager) getSystemService(Context.NOTIFICATION_SERVICE);
                                                                          ^
  symbol:   variable Context
  location: class MainActivity
1 error
:app:compileDebugJavaWithJavac FAILED

Seems I also needed import android.content.Context;
I'd recommend changing that part of the instructions in the readme to this:
import android.app.NotificationManager;
import android.content.Context;
...
public class MainActivity extends ReactActivity {
    ...
    @Override
    public void onResume() {
        super.onResume();
        NotificationManager nMgr = (NotificationManager) getSystemService(Context.NOTIFICATION_SERVICE);
        nMgr.cancelAll();
    }
}

Got the app to build however can't get any notifications to display.

Ended up using react-native-push-notification for local notifications instead, thank you anyways though!

error: cannot find symbol
NotificationManager notificationManager =(NotificationManager) getSystemService(


Enhancement PR

Note to @jdbrowndev
I like the changes you've done and i'm pulling them to the base repo. Live install seems better and usage of volume is simply the way it should be. Seemless management of maps and mutators is also a better option, rather than always building them within the image.
Thanks for the changes, i'll make you a contributer as well in case you would like to make changes directly on the repo and not on a fork :)

Hey @Vel-San, glad you like the changes. I found the use of docker volumes to be more in line with how other game servers (like Killing Floor 2) have been implemented.
And thank you for the collaborator invite. I'm definitely happy to contribute PR's and issues as I have time. I ran a few servers back in Killing Floor's heyday, so I was excited to see the beginnings of a Docker solution.

@jdbrowndev Thanks for the contribution once again.
Yeah, we still play KF almost daily and contribute whenever we can, it's too good to leave it die!
Feel free to push any changes like you said, whenver you have time; i already updated the image in DockerHub.
Have a great evening 🎉 !


Standardize on DataStax vs Datastax since that appears to be more common

prior to this change:
akhaku@host:~/datastax-java-driver>(4.x) git grep Datastax | wc -l
      27
akhaku@host:~/datastax-java-driver>(4.x) git grep DataStax | wc -l
    1999

Looks like #1605 is similar

Thanks @akhaku.  An increase in consistency is always welcome!


feat(CloudVolume): GCloudVolume updated to CloudVolume

GCloudVolume now uses Storage, supports multithreaded upload/download,
negative indexing, striding, cartesian and bounded access, getitem,
setitem, multiple convenient accessors for data properties at any mip
level, info file writing, fill_missing / error on missing.

Depends on #63

LGTM! thanks!

Omitting support for negative python indexing. We will reserve that for a future "array mode" feature. This allows us to potentially support actual negative indexes.


Functions sometimes matched as properties

Hi ! I'm trying tree-sitter parser with Zed, and I'm wondering why some functions are not matched as functions.
And because a picture is worth thousand words, here's an illustration.

Here, compute_index is correctly seen as a function, but cache.cache_search_results and dict.insert are seen as properties, while semantically, they are functions.
Is there any way to change the parser to match those cases as functions?

If I recall correctly, this is an ambiguity that can only be resolved with a more powerful parser.  The reason being that foo.bar could be accessing the field bar on record foo or it could be referencing function bar on module foo.  The only way to disambiguate is to track what the local variables are, and if foo is one, then we can reasonably assume that foo.bar is property access, and otherwise assume that foo.bar is a remote function invocation.
In fact, we do do this (disambiguation example), but it's reliant on tree-sitter's tagging mechanism which isn't widely supported (e.g. likely not by Zed, but you can look into it).

OK, got it. But I was wondering, isn't the fact that it has parentheses indicating a function call enough to classify it as a function?

Record fields can also be functions. There's no way to tell if something is a record or a module without performing type analysis.

Yup, I understand this, my question was more about the fact that in the expression dict.insert() (explicitly with the parens) insert could be considered as a function and not a property, no? Visually, it would make sense for the syntax highlighting to display it in the same colour as functions. 🙂 I totally get that in an expression like key |> dict.get, get can't really be highlighted as function though.
Anyway, it's more about curiosity than anything else, the code is already readable ha ha, thanks for taking time to answer

The property/function distinction doesn't make much sense as properties can be functions. They're not mutually exclusive groups as one is a type and one is a structural matter.

Hmm, I see what you mean. Thanks a lot for the explanation. Let’s wait for semantic highlighting then 😁


Cannot Access https://social.microsoft.com/Forums when logged in

Describe the bug
Everytime I go to  https://social.microsoft.com/Forums when logged in, I get a "Runtime Error", with this error: Server Error in '/Forums' Application.
I can only access theses webpages as an anonymous visitor. I don't know what's wrong.
Thank you for your help.
To Reproduce
Steps to reproduce the behavior:

Go to https://social.microsoft.com/Forums
Log in successfully with my creds
See error below

Screenshots
Browser error:

Desktop (please complete the following information):

OS: Windows
Browser: Edge & Chrome
Version: up to date

@benua74 It has closed at https://docs.microsoft.com/en-us/teamblog/msdn-technet-english-forums-closure


Make hisat2ORF options flexible for multi-mapping etc.

Check how we specify hisat2 options in nextflow. Specifying hisat2 alignment and multimap options in the nextflow call gives flexibility in addressing #241.

We discussed this at the 27th Jan 2021 meeting.
@lianafaye pointed out that -k 2 hisat2 option (reporting up to 2 highest-score alignments) causes a problem in yeast because some highly expressed genes are in 2 near-identical copies, so will be double-counted. Notably TEF1/TEF2 and some ribosomal protein genes. We are not sure which other organisms/genes this will be a problem for. We could avoid this by changing to -k 1, but it is unclear if this is "uniformly at random" assignment or not from the hisat2 manual.
We should check if other aligners deal with this randomness better (e.g. STAR); or can try a better method like RSEM.
For now, we will fix by allowing the user to choose their options.

In prepriboviz.nf process hisat2ORF, -k 2 is currently hard-coded. We need to make this a parameter in the config.yaml, that users can choose.
We need to add some documentation on the option about why users would choose one rather than another.
We should contact hisat2 team to ask if multi-mapping reads are aligned deterministically or not.

We discussed this at the 27th Jan 2021 meeting.
@lianafaye pointed out that -k 2 hisat2 option (reporting up to 2 highest-score alignments) causes a problem in yeast because some highly expressed genes are in 2 near-identical copies, so will be double-counted. Notably TEF1/TEF2 and some ribosomal protein genes. We are not sure which other organisms/genes this will be a problem for. We could avoid this by changing to -k 1, but it is unclear if this is "uniformly at random" assignment or not from the hisat2 manual.
We should check if other aligners deal with this randomness better (e.g. STAR); or can try a better method like RSEM.
For now, we will fix by allowing the user to choose their options.

In prepriboviz.nf process hisat2ORF, -k 2 is currently hard-coded. We need to make this a parameter in the config.yaml, that users can choose.
We need to add some documentation on the option about why users would choose one rather than another.
We should contact hisat2 team to ask if multi-mapping reads are aligned deterministically or not.

I submitted issue hisat2#279 to request clarification.
Closer inspection of the --non-deterministic option documentation:

Normally, HISAT2 re-initializes its pseudo-random generator for each read. [...]

This suggests that the combination of -k 1 and default hisat2 settings will indeed produce a different pseudo-random assignment for each read in a fastq file. But it isn't quite explicitly stated anywhere.

I submitted issue hisat2#279 to request clarification.
Closer inspection of the --non-deterministic option documentation:

Normally, HISAT2 re-initializes its pseudo-random generator for each read. [...]

This suggests that the combination of -k 1 and default hisat2 settings will indeed produce a different pseudo-random assignment for each read in a fastq file. But it isn't quite explicitly stated anywhere.

We discussed this on 23rd June and I would like to prioritize putting hisat2 options in the config file.
@lianafaye, @shahpr and I think thatk = 1 is a better default, but are sceptical that we don't know how hisat2 does random assignment.
We could test that with a simulated dataset with some duplicate ORFs.

@kavousan a note, can we put this on the agenda for next meeting?

I am thinking that the options could be passed in as a string, that has default value "-k 2" as used in commit bf06a94 (or "-k 2 -un unaligned.fq" if we were simultaneously addressing #377).  I do not know what is best practice for specifying multiple command line options for nextflow in a yaml file. It would be "easy" to do as a single string but might give the user more opportunity to break the code, add duplicate options erroneously, etc.
Steps to address this could be:

[ ] add hisat2ORF command line options to config.yaml
[ ] ensure that those command line options are passed to hisat2ORF only (not hisat2rRNA?)
[ ] check that vignette tests pass with same value "-k 2"
[ ] document the differences in a full-size yeast dataset if "-k 2 --non-deterministic", "-k 1 --non-deterministic", "-k 1" are used.

Might @canuse be willing to address this issue? Should be a quick-ish fix. But it may not fit with the goals of his project.

Invocation from prep_riboviz.nf, process hisat2ORF:
hisat2 -p ${params.num_processes} -k 2 --no-spliced-alignment \
  --rna-strandness F --no-unal \
  --un unaligned.fq -x ${params.orf_index_prefix} \
  -S orf_map.sam -U ${sample_fq}

Argument descriptions for HISAT 2.1.0, from hisat2 -h:

Argument
Description
Default value

-p ${params.num_processes}
Number of alignment threads to launch
1

-k 2
Report up to  alns per read
5

--no-spliced-alignment
Disable spliced alignment

--rna-strandness F
Specify strand-specific information
unstranded

--no-unal
Suppress SAM records for reads that failed to align

--un unaligned.fq
Write unpaired reads that didn't align to
-

-x ${params.orf_index_prefix}
Index filename prefix (mandatory)
-

-S orf_map.sam
File for SAM output
stdout

-U ${sample_fq}
File with unpaired reads (input)
-

--no-unal isn't in the -h text but is documented in the HISAT2 Manual.

Commit f4c9327 of branch hisat2-options-267 adds a new hisat2_orf_params configuration parameter...
Added:
hisat2_orf_params: -k 2 --no-spliced-alignment --rna-strandness F --no-unal

to:
riboviz/default_config.yaml
vignette/remote_vignette_config.yaml
vignette/riboviz_env.yaml
vignette/simdata_multiplex_config.yaml
vignette/simdata_umi_config.yaml
vignette/vignette_config.yaml
riboviz/test/config/config_current.yaml

Added HISAT2_ORF_PARAMS = "hisat2_orf_params" to riboviz/params.py.
Updated prep_riboviz.nf:

Added description of hisat2_orf_params and default value to helpMessage().
Added definition of parameter and default value:

params.hisat2_orf_params = "-k 2 --no-spliced-alignment --rna-strandness F --no-unal"

Updated process hisat2ORF to use parameter:

        hisat2 -p ${params.num_processes} ${params.hisat2_orf_params} \
            --un unaligned.fq -x ${params.orf_index_prefix} \
            -S orf_map.sam -U ${sample_fq}

Updated docs/user/prep-riboviz-config.md with parameter description, references to hisat2 -h and hisat2 manual for available parameters, and the caveat that files cannot be specified in this parameter.

Arguments that take file names need (e.g. --un unaligned.fq, the subject of '-un flag in hisat2 may affect the performance' #377) need the Nextflow hisat2ORF process itself to be changed, since the process needs to declare its input and output files.

@ewallace commented that

It would be "easy" to do as a single string ...

This is the approach I have implemented. The alternative is trying to anticipate what parameters users might want to set and then having to incrementally add these. As there are over 50 hisat2 configuration parameters, this isn't scalable.

but might give the user more opportunity to break the code, add duplicate options erroneously, etc.

The worst case is that a user provides a configuration that hisat2 doesn't accept and that workflow step will fail (as expected). That risk is no more or less than the risk any user takes when executing hisat2 from the command-line. If users don't know what the configuration does and experiments with it anyway then they are accepting the risk that things will fail.

If the default, "-k 2 --no-spliced-alignment --rna-strandness F --no-unal" needs changed then the definition of parameter and its default value in the following files needs to be updated:
riboviz/default_config.yaml
vignette/remote_vignette_config.yaml
vignette/riboviz_env.yaml
vignette/simdata_multiplex_config.yaml
vignette/simdata_umi_config.yaml
vignette/vignette_config.yaml
riboviz/test/config/config_current.yaml
docs/user/prep-riboviz-config.md
prep_riboviz.nf

I ran the vignette with four values of --hisat2_orf_params:
"-k 1 --no-spliced-alignment --rna-strandness F --no-unal"
"-k 1 --non-deterministic --no-spliced-alignment --rna-strandness F --no-unal"
"-k 2 --no-spliced-alignment --rna-strandness F --no-unal"
"-k 2 --non-deterministic --no-spliced-alignment --rna-strandness F --no-unal"

$ rm -rf vignette/index vignette/tmp vignette/output
$ nextflow run prep_riboviz.nf -ansi-log false -params-file vignette/vignette_config.yaml --hisat2_orf_params=<VALUE>
$ cp -r vignette vignette-k1|k1-nondet|k2|k2-nondet

Use the integration test to compare outputs:

Compare -k 1 to -k 1 --non-deterministic:

$ rm -rf vignette
$ cp -r vignette-k1 vignette
$ pytest -vs riboviz/test/integration/testegration.py --expected=vignette-k1-nondet --skip-workflow --check-index-tmp

Compare -k 1 to -k 2:

$ pytest -vs riboviz/test/integration/testegration.py --expected=vignette-k2 --skip-workflow --check-index-tmp

Compare -k 2 to -k 2 --non-deterministic:

$ rm -rf vignette
$ cp -r vignette-k2 vignette
$ pytest -vs riboviz/test/integration/testegration.py --expected=vignette-k2-nondet --skip-workflow --check-index-tmp

In each case, the first tests to fail are the comparisons of the orf_map.sam files output by hisat2ORF:
FAILED riboviz/test/integration/test_integration.py::test_hisat2_sam[vignette/tmp-WTnone-orf_map.sam]
FAILED riboviz/test/integration/test_integration.py::test_hisat2_sam[vignette/tmp-WT3AT-orf_map.sam]

The unaligned.fq files output remain unchanged.

Document the differences in a full-size yeast dataset if "-k 2 --non-deterministic", "-k 1 --non-deterministic", "-k 1" are used.

This needs to be done by someone who knows what differences to look for.

Merged @447.


persistent connections working again

Persistent connections are available again by not overriding PDO statement class
fixes this error:
Warning: PDO::setAttribute(): SQLSTATE[HY000]: General error: PDO::ATTR_STATEMENT_CLASS cannot be used with persistent PDO instances

ref: propelorm/Propel2#1225

We should rather completely drop Propel\Runtime\Adapter\Pdo\PdoStatement instead of using it only for HHVM.

alternatively we should drop HHVM support. not sure this runtime is relevant for somebody.

or both :P

With this PR I wanted only to make persistent connections available again and didn't want to alter HHVM in any way cause I don't use it and don't have it and didn't want to make any backward-incompatible changes. Droping HHVM support could be a separate PR though

so ... any other thoughts about merging this one and restoring persistent connections in propel?

What do you mean by dropping hhvm support? This drops basically the overwritten class support, for whatever that was used. Let us just fix it the right way and remove Propel\Runtime\Adapter\Pdo\PdoStatement completely, instead of using it only for hhvm.

@marcj I removed Propel\Runtime\Adapter\Pdo\PdoStatement class as You suggested

Nice, good work, thanks!

great news, thanks you too :)

Backported to data-mapper branch.

Hi guys.
This pull request broke something that used to work: #1413
In composer.json, I've currently had to make sure propel use the commit prior to this:
"propel/propel": "dev-master#38f1044e9b57cb7f68b59224f1830bde7009673f"

Does anyone have a workaround so I don't have to be stuck on this commit?


Signature observations page rows displayed

Please change the default table display size on this page to 50 (that is, all rows).  One should be able to see all the evidence at a glance.

verified, closing issue.


Autoware does not check for collision on the vehicle actual trajectory

Checklist

[X] I've read the contribution guidelines.
[X] I've searched other issues and no duplicate issues were found.
[X] I'm convinced that this is not my fault but a bug.

Description
Today, I observed autoware does not want to stop for an obstacle right in front of the ego vehicle if everything happens outside the path.
I guess a screenshot is worth a thousand words (situation reproduced with the planning simulator):

R.I.P

Expected behavior
Autoware should not hit obstacles on its trajectory
Actual behavior
Better not be a human in a simulation.
Steps to reproduce
See the screenshot
Versions
No response
Possible causes
No response
Additional context
No response

You can enable obstacle_collision_checker to check collision on predicted_trajectory. It should solve your problem.

Wow! That's life saving!
I'll try it.

If I understand correctly, the node should create a diagnostic error if there is something on the predicted trajectory? Then with the right configuration, autoware should trigger emergency when this happens, correct?
I have backported the latest control.launch.py to my tree to add the obstacle_collision_checker. When I start autoware, I can see the module is running and is generating diagnostics.
I have reproduced my first screenshot scenario with a golf cart and traffic cones. However, in that situation, the diagnostic is always "OK". Even when the cone is right in front of the car (and detected as obstacle) the collision checker still generates "OK" diagnostics.

Hmm I see, I tried too but module created "ERROR" diagnostic if there is an object in braking distance. But after vehicle stops, you will see "OK" because object is not in braking distance of vehicle (because velocity of vehicle is 0).
https://user-images.githubusercontent.com/45468306/201379224-7a4f2a7b-325e-4587-8135-231810bdb6a5.mp4
Btw, it will not trigger the emergency, to do this, we should add it in diagnostic_aggregator and system_error_monitor.param.yaml to be taken into account by emergency_handler. Because it is optional, we did not add it.

If the speed is taken into account, isn't there a risk the module will say "OK" when the vehicle is stopped right in front of the obstacle? then even with the emergency handling, autoware would restart, then stop, then restart, etc?

To avoid this, you can enable emergency_holding. If there is a problem, emergency will be true until you clear the emergency.
But you are right, obstacle_collision_checker is just for emergency situations. Planning should also check the predicted_trajectory for obstacle stop. I am going to work on this if it is okey for you as well.

@brkay54 @VRichardJP There's another similar discussion, so could you check this, and continue the discussion in there if necessary?

Yes, this issue is being tracked in https://github.com/autowarefoundation/autoware/discussions/2859
Please continue there.


New version: Bibliography v0.1.2

Registering package: Bibliography
Repository: https://github.com/Azzaare/Bibliography.jl
Created by: @Azzaare
Version: v0.1.2
Commit: af8f1401d6b8891b5e0114e80e6a3c5d741fb973
Git reference: master

Sorry, versions mistake (following the mess of yesterday in GitHub #17893 ). I will switch to v.0.2.0 for auto merging. Please ignore this PR


golangci-lint errors

What happened?

Im working on a PR to add support for additional resources
However I'm getting a number of lint errors when running make reviewable test this is happening on master branch
Are you able to provide any guidance on how I should proceed with the PR?
How can we reproduce it?

run make reviewable test
get the following output:
14:22:57 [ .. ] generating provider schema for confluentinc/confluent 1.55.0
14:22:58 [ OK ] generating provider schema for confluentinc/confluent 1.55.0
14:22:58 [ .. ] verify go modules dependencies have expected content
all modules verified
14:22:59 [ OK ] go modules dependencies verified
14:22:59 [ .. ] go generate linux_arm64

Generated 9 resources!
14:23:09 [ OK ] go generate linux_arm64
14:23:09 [ .. ] go mod tidy
14:23:09 [ OK ] go mod tidy
14:23:11 [ .. ] verify go modules dependencies have expected content
all modules verified
14:23:12 [ OK ] go modules dependencies verified
14:23:13 [ .. ] golangci-lint
apis/confluent/v1alpha1/zz_generated.managed.go:12:19: mg.Status.GetCondition undefined (type APIKeyStatus has no field or method GetCondition) (typecheck)
        return mg.Status.GetCondition(ct)
                         ^
apis/confluent/v1alpha1/zz_generated.managed.go:17:17: mg.Spec.DeletionPolicy undefined (type APIKeySpec has no field or method DeletionPolicy) (typecheck)
        return mg.Spec.DeletionPolicy
                       ^
apis/confluent/v1alpha1/zz_generated.managed.go:22:17: mg.Spec.ManagementPolicies undefined (type APIKeySpec has no field or method ManagementPolicies) (typecheck)
        return mg.Spec.ManagementPolicies
                       ^
apis/confluent/v1alpha1/zz_generated.managed.go:27:17: mg.Spec.ProviderConfigReference undefined (type APIKeySpec has no field or method ProviderConfigReference) (typecheck)
        return mg.Spec.ProviderConfigReference
                       ^
apis/confluent/v1alpha1/zz_generated.managed.go:32:17: mg.Spec.PublishConnectionDetailsTo undefined (type APIKeySpec has no field or method PublishConnectionDetailsTo) (typecheck)
        return mg.Spec.PublishConnectionDetailsTo
                       ^
apis/confluent/v1alpha1/zz_generated.managed.go:37:17: mg.Spec.WriteConnectionSecretToReference undefined (type APIKeySpec has no field or method WriteConnectionSecretToReference) (typecheck)
        return mg.Spec.WriteConnectionSecretToReference
                       ^
apis/confluent/v1alpha1/zz_generated.managed.go:42:12: mg.Status.SetConditions undefined (type APIKeyStatus has no field or method SetConditions) (typecheck)
        mg.Status.SetConditions(c...)
                  ^
apis/confluent/v1alpha1/zz_generated.managed.go:47:10: mg.Spec.DeletionPolicy undefined (type APIKeySpec has no field or method DeletionPolicy) (typecheck)
        mg.Spec.DeletionPolicy = r
                ^
apis/confluent/v1alpha1/zz_generated.managed.go:52:10: mg.Spec.ManagementPolicies undefined (type APIKeySpec has no field or method ManagementPolicies) (typecheck)
        mg.Spec.ManagementPolicies = r
                ^
apis/confluent/v1alpha1/zz_generated.managed.go:57:10: mg.Spec.ProviderConfigReference undefined (type APIKeySpec has no field or method ProviderConfigReference) (typecheck)
        mg.Spec.ProviderConfigReference = r
                ^
apis/confluent/v1alpha1/zz_generated.managed.go:62:10: mg.Spec.PublishConnectionDetailsTo undefined (type APIKeySpec has no field or method PublishConnectionDetailsTo) (typecheck)
        mg.Spec.PublishConnectionDetailsTo = r
                ^
apis/confluent/v1alpha1/zz_generated.managed.go:67:10: mg.Spec.WriteConnectionSecretToReference undefined (type APIKeySpec has no field or method WriteConnectionSecretToReference) (typecheck)
        mg.Spec.WriteConnectionSecretToReference = r
                ^
apis/confluent/v1alpha1/zz_generated.managed.go:72:19: mg.Status.GetCondition undefined (type ClusterStatus has no field or method GetCondition) (typecheck)
        return mg.Status.GetCondition(ct)
                         ^
apis/confluent/v1alpha1/zz_generated.managed.go:77:17: mg.Spec.DeletionPolicy undefined (type ClusterSpec has no field or method DeletionPolicy) (typecheck)
        return mg.Spec.DeletionPolicy
                       ^
apis/confluent/v1alpha1/zz_generated.managed.go:82:17: mg.Spec.ManagementPolicies undefined (type ClusterSpec has no field or method ManagementPolicies) (typecheck)
        return mg.Spec.ManagementPolicies
                       ^
apis/confluent/v1alpha1/zz_generated.managed.go:87:17: mg.Spec.ProviderConfigReference undefined (type ClusterSpec has no field or method ProviderConfigReference) (typecheck)
        return mg.Spec.ProviderConfigReference
                       ^
apis/confluent/v1alpha1/zz_generated.managed.go:92:17: mg.Spec.PublishConnectionDetailsTo undefined (type ClusterSpec has no field or method PublishConnectionDetailsTo) (typecheck)
        return mg.Spec.PublishConnectionDetailsTo
                       ^
apis/confluent/v1alpha1/zz_generated.managed.go:97:17: mg.Spec.WriteConnectionSecretToReference undefined (type ClusterSpec has no field or method WriteConnectionSecretToReference) (typecheck)
        return mg.Spec.WriteConnectionSecretToReference
                       ^
apis/confluent/v1alpha1/zz_generated.managed.go:102:12: mg.Status.SetConditions undefined (type ClusterStatus has no field or method SetConditions) (typecheck)
        mg.Status.SetConditions(c...)
                  ^
apis/confluent/v1alpha1/zz_generated.managed.go:107:10: mg.Spec.DeletionPolicy undefined (type ClusterSpec has no field or method DeletionPolicy) (typecheck)
        mg.Spec.DeletionPolicy = r
                ^
apis/confluent/v1alpha1/zz_generated.managed.go:112:10: mg.Spec.ManagementPolicies undefined (type ClusterSpec has no field or method ManagementPolicies) (typecheck)
        mg.Spec.ManagementPolicies = r
                ^
apis/confluent/v1alpha1/zz_generated.managed.go:117:10: mg.Spec.ProviderConfigReference undefined (type ClusterSpec has no field or method ProviderConfigReference) (typecheck)
        mg.Spec.ProviderConfigReference = r
                ^
apis/confluent/v1alpha1/zz_generated.managed.go:122:10: mg.Spec.PublishConnectionDetailsTo undefined (type ClusterSpec has no field or method PublishConnectionDetailsTo) (typecheck)
        mg.Spec.PublishConnectionDetailsTo = r
                ^
apis/confluent/v1alpha1/zz_generated.managed.go:127:10: mg.Spec.WriteConnectionSecretToReference undefined (type ClusterSpec has no field or method WriteConnectionSecretToReference) (typecheck)
        mg.Spec.WriteConnectionSecretToReference = r
                ^
apis/confluent/v1alpha1/zz_generated.managed.go:132:19: mg.Status.GetCondition undefined (type ClusterConfigStatus has no field or method GetCondition) (typecheck)
        return mg.Status.GetCondition(ct)
                         ^
apis/confluent/v1alpha1/zz_generated.managed.go:137:17: mg.Spec.DeletionPolicy undefined (type ClusterConfigSpec has no field or method DeletionPolicy) (typecheck)
        return mg.Spec.DeletionPolicy
                       ^
apis/confluent/v1alpha1/zz_generated.managed.go:142:17: mg.Spec.ManagementPolicies undefined (type ClusterConfigSpec has no field or method ManagementPolicies) (typecheck)
        return mg.Spec.ManagementPolicies
                       ^
apis/confluent/v1alpha1/zz_generated.managed.go:147:17: mg.Spec.ProviderConfigReference undefined (type ClusterConfigSpec has no field or method ProviderConfigReference) (typecheck)
        return mg.Spec.ProviderConfigReference
                       ^
apis/confluent/v1alpha1/zz_generated.managed.go:152:17: mg.Spec.PublishConnectionDetailsTo undefined (type ClusterConfigSpec has no field or method PublishConnectionDetailsTo) (typecheck)
        return mg.Spec.PublishConnectionDetailsTo
                       ^
apis/confluent/v1alpha1/zz_generated.managed.go:157:17: mg.Spec.WriteConnectionSecretToReference undefined (type ClusterConfigSpec has no field or method WriteConnectionSecretToReference) (typecheck)
        return mg.Spec.WriteConnectionSecretToReference
                       ^
apis/confluent/v1alpha1/zz_generated.managed.go:162:12: mg.Status.SetConditions undefined (type ClusterConfigStatus has no field or method SetConditions) (typecheck)
        mg.Status.SetConditions(c...)
                  ^
apis/confluent/v1alpha1/zz_generated.managed.go:167:10: mg.Spec.DeletionPolicy undefined (type ClusterConfigSpec has no field or method DeletionPolicy) (typecheck)
        mg.Spec.DeletionPolicy = r
                ^
apis/confluent/v1alpha1/zz_generated.managed.go:172:10: mg.Spec.ManagementPolicies undefined (type ClusterConfigSpec has no field or method ManagementPolicies) (typecheck)
        mg.Spec.ManagementPolicies = r
                ^
apis/confluent/v1alpha1/zz_generated.managed.go:177:10: mg.Spec.ProviderConfigReference undefined (type ClusterConfigSpec has no field or method ProviderConfigReference) (typecheck)
        mg.Spec.ProviderConfigReference = r
                ^
apis/confluent/v1alpha1/zz_generated.managed.go:182:10: mg.Spec.PublishConnectionDetailsTo undefined (type ClusterConfigSpec has no field or method PublishConnectionDetailsTo) (typecheck)
        mg.Spec.PublishConnectionDetailsTo = r
                ^
apis/confluent/v1alpha1/zz_generated.managed.go:187:10: mg.Spec.WriteConnectionSecretToReference undefined (type ClusterConfigSpec has no field or method WriteConnectionSecretToReference) (typecheck)
        mg.Spec.WriteConnectionSecretToReference = r
                ^
apis/confluent/v1alpha1/zz_generated.managed.go:192:19: mg.Status.GetCondition undefined (type EnvironmentStatus has no field or method GetCondition) (typecheck)
        return mg.Status.GetCondition(ct)
                         ^
apis/confluent/v1alpha1/zz_generated.managed.go:197:17: mg.Spec.DeletionPolicy undefined (type EnvironmentSpec has no field or method DeletionPolicy) (typecheck)
        return mg.Spec.DeletionPolicy
                       ^
apis/confluent/v1alpha1/zz_generated.managed.go:202:17: mg.Spec.ManagementPolicies undefined (type EnvironmentSpec has no field or method ManagementPolicies) (typecheck)
        return mg.Spec.ManagementPolicies
                       ^
apis/confluent/v1alpha1/zz_generated.managed.go:207:17: mg.Spec.ProviderConfigReference undefined (type EnvironmentSpec has no field or method ProviderConfigReference) (typecheck)
        return mg.Spec.ProviderConfigReference
                       ^
apis/confluent/v1alpha1/zz_generated.managed.go:212:17: mg.Spec.PublishConnectionDetailsTo undefined (type EnvironmentSpec has no field or method PublishConnectionDetailsTo) (typecheck)
        return mg.Spec.PublishConnectionDetailsTo
                       ^
apis/confluent/v1alpha1/zz_generated.managed.go:217:17: mg.Spec.WriteConnectionSecretToReference undefined (type EnvironmentSpec has no field or method WriteConnectionSecretToReference) (typecheck)
        return mg.Spec.WriteConnectionSecretToReference
                       ^
apis/confluent/v1alpha1/zz_generated.managed.go:222:12: mg.Status.SetConditions undefined (type EnvironmentStatus has no field or method SetConditions) (typecheck)
        mg.Status.SetConditions(c...)
                  ^
apis/confluent/v1alpha1/zz_generated.managed.go:227:10: mg.Spec.DeletionPolicy undefined (type EnvironmentSpec has no field or method DeletionPolicy) (typecheck)
        mg.Spec.DeletionPolicy = r
                ^
apis/confluent/v1alpha1/zz_generated.managed.go:232:10: mg.Spec.ManagementPolicies undefined (type EnvironmentSpec has no field or method ManagementPolicies) (typecheck)
        mg.Spec.ManagementPolicies = r
                ^
apis/confluent/v1alpha1/zz_generated.managed.go:237:10: mg.Spec.ProviderConfigReference undefined (type EnvironmentSpec has no field or method ProviderConfigReference) (typecheck)
        mg.Spec.ProviderConfigReference = r
                ^
apis/confluent/v1alpha1/zz_generated.managed.go:242:10: mg.Spec.PublishConnectionDetailsTo undefined (type EnvironmentSpec has no field or method PublishConnectionDetailsTo) (typecheck)
        mg.Spec.PublishConnectionDetailsTo = r
                ^
apis/confluent/v1alpha1/zz_generated.managed.go:247:10: mg.Spec.WriteConnectionSecretToReference undefined (type EnvironmentSpec has no field or method WriteConnectionSecretToReference) (typecheck)
        mg.Spec.WriteConnectionSecretToReference = r
                ^
apis/confluent/v1alpha1/zz_generated.managed.go:252:19: mg.Status.GetCondition undefined (type KafkaACLStatus has no field or method GetCondition) (typecheck)
        return mg.Status.GetCondition(ct)
                         ^
apis/confluent/v1alpha1/zz_generated.managed.go:257:17: mg.Spec.DeletionPolicy undefined (type KafkaACLSpec has no field or method DeletionPolicy) (typecheck)
        return mg.Spec.DeletionPolicy
                       ^
14:23:19 [FAIL]
make[2]: *** [go.lint] Error 1
make[1]: *** [lint] Error 2
make: *** [reviewable] Error 2

What environment did it happen in?
This error is produced from running locally:

Kernel 23.6.0 Darwin Kernel Version

I think you get this error if you run the linter before make generate.


Update rollback docs

Changes:

delete reference about rollbacks being applicable to integration
only
add a section about re-enabling image updates

@jonathanglassman if you could have a look, I made the changes you recommended. Thanks!


Adds 'tokenMethodIncreaseAllowance'

Explanation
Creates the tokenMethodIncreaseAllowance transaction type, and adds the FiatTokenV2 token to be able to parse transactions with the increaseAllowance method, since it's not part of the ERC20 standard.
References

Related to #2224

Changelog

@metamask/transaction-controller

ADDED: Adds support for increaseAllowance token method and corresponding transaction type.

Checklist

[x] I've updated the test suite for new or updated code as appropriate
[x] I've updated documentation (JSDoc, Markdown, etc.) for new or updated code as appropriate
[x] I've highlighted breaking changes using the "BREAKING" category above as appropriate

@SocketSecurity ignore npm/<EMAIL_ADDRESS>


ARROW-14620: [Python] Missing bindings for existing_data_behavior makes it impossible to maintain old behavior

Use https://github.com/apache/arrow/pull/11632


include semantic versions in the built C++ library names

currently they include the python info but not the version info:  _opentime.cpython-38-darwin.so

Notes here on "doing it right." https://github.com/pvanhoof/dir-examples

Notes here on "doing it right." https://github.com/pvanhoof/dir-examples


BUG: Line height 2em breaking design

Hi @MaxArt2501 !
I have a new train coding chalenge for you haha.
There is a little gap in the bottom of each buttons. (easier to see on hover)
The problem come from the line-height property set to 2em on .share-this-popover>ul>li.
It should be reset to 1 without unit.
That's it 😄

I'm not able to reproduce the issue. In the example page it works as intended.
Can you provide a minmal example?

Closing as unable to reproduce the case.

I've try to understand it but I didn't... I'll come back with more information asap.
Thanks


Create Windows Build

          > I will also putz around with a windows config for this as well

Scratch that. Adding the old GNU regex library to Conda Forge is not a yak I want to shave for this. I wonder how realistic it is for MapServer to upgrade away from that given it hasn't been released in 10+ years and is GPL and likely pollutes any Windows builds with GPL restrictions.
Originally posted by @hobu in https://github.com/conda-forge/mapserver-feedstock/issues/46#issuecomment-2155365349

Thanks for investigating this @hobu, created this issue for others to stumble into if they are curious :)

cf https://github.com/MapServer/MapServer/pull/7073 for experimental support of PCRE2


WIP:MULTIARCH-4309: Add test for ITMS

Add test for ITMS

adding builder for imagetagmirrorset CR creation
moving func MCP verification to pkg/testing

/retest

/test e2e-gcp-multi-operator-olm

/test e2e-gcp-multi-operator

/test e2e-gcp-multi-operator-olm

/retest

/retest

/retest

/retest

Hey Lin, is it possible for you to make more commits?

Implementation of the test
Implementation of the logs reporting (with go.mod and go.sumchanges)
Vendoring separated from go.mod/go.sum

Separate the code to three commits, please help to review the pr https://github.com/openshift/multiarch-tuning-operator/pull/239, thanks

can you also apply this patch in a separate commit of this PR?
diff --git a/hack/ci-test.sh b/hack/ci-test.sh
index ffbc957f..23ce7692 100755
--- a/hack/ci-test.sh
+++ b/hack/ci-test.sh
@@ -37,7 +37,7 @@ if [ $HOME == "/" ]; then
 fi

 if [ "$OPENSHIFT_CI" == "true" ] && [ -n "$ARTIFACT_DIR" ] && [ -d "$ARTIFACT_DIR" ]; then # detect ci environment there
-  GINKGO_ARGS="${GINKGO_ARGS} --junit-report=junit_multiarch_tuning_operator.xml --output-dir=${ARTIFACT_DIR}"
+  GINKGO_ARGS="${GINKGO_ARGS} --junit-report=junit_multiarch_tuning_operator${JUNIT_SUFFIX:-}.xml --output-dir=${ARTIFACT_DIR}"
 fi

 if [ "$SKIP_COVERAGE" != "true" ] && [ -n "$ARTIFACT_DIR" ] && [ -d "$ARTIFACT_DIR" ]; then
diff --git a/hack/deploy-and-e2e.sh b/hack/deploy-and-e2e.sh
index 11ab6bfb..c3ce1943 100755
--- a/hack/deploy-and-e2e.sh
+++ b/hack/deploy-and-e2e.sh
@@ -37,6 +37,7 @@ if [ "${USE_OLM:-}" == "true" ]; then
   oc registry login || echo "[WARN] Unable to login the registry, this could be expected in non-Prow envs"

   export KUBECONFIG="${OLD_KUBECONFIG}"
+  export JUNIT_SUFFIX="-olm"
   operator-sdk run bundle "${OO_BUNDLE}" -n "${NAMESPACE}" --security-context-config restricted
 else
   make deploy IMG="${OPERATOR_IMAGE}"
@@ -50,3 +51,13 @@ oc wait pods -n ${NAMESPACE} \
   --for=condition=Ready=True

 make e2e
+
+if [ "${CLEANUP:-false}" == "false" ]; then
+  exit 0
+fi
+
+set +e
+operator-sdk cleanup multiarch-tuning-operator -n ${NAMESPACE}
+make undeploy
+oc delete --ignore-not-found --force namespace ${NAMESPACE}
+exit 0

@lwan-wanglin I can merge this but this suite now seems requiring around 10 minutes more. Is there anything we can do to further optimize the time required to test it?

@lwan-wanglin I can merge this but this suite now seems requiring around 10 minutes more. Is there anything we can do to further optimize the time required to test it?

I have an idea in my mind, we can move this to beforeEach in the context, and create it if the ITMS don't exist, otherwise skip creation, then we can add slow-15 label on the spec belong to that context, we can skip the test by label, i can fix it in this pr.

/test e2e-gcp-multi-operator

/test e2e-gcp-multi-operator

/retitle MULTIARCH-4309: Add test for ITMS

/approve

/lgtm

/override "Red Hat Konflux / multiarch-tuning-operator-enterprise-contract / multiarch-tuning-operator"

/retest


DPL-875 As PSD we would like to upgrade Samples Extraction to Ruby 3 and Rails 7 so that we keep up to date with our dependencies.

Describe the Housekeeping
As PSD we would like to upgrade Samples Extraction to Ruby 3 and Rails 7 so that we keep up to date with our dependencies.
Blocking issues
Additional context

[ ] Review and update any other dependencies that require updating as part of this process.
[ ] Ensure any existing unit and integration tests pass

I've put this as large, since Eduardo's having a fair amount of trouble currently upgrading SS to Ruby 3. Hopefully we'll get some learnings from that though!

Adjusting this to small since samples extraction is already on ruby 3 at the time this has been picked up and the rails 7 was straight forward.

Maybe not so straightforward 😅
The rails 7 upgrade failed in production and I have created the following story to address the problems. https://github.com/sanger/samples_extraction/issues/378. The relase was yanked so develop and master are back in a 'stable' state but the rails 7 upgrade needs to be re-attempted at some point.


[Suggestion] Integration with mods that can change the cloud height

Rain particles no longer spawn above cloud height with this mod, but some mods, namely Better Clouds, allow for changing the cloud's spawn height. It'd be great to see integration with this mod or an option to toggle this feature. Another solution could be a setting to change the rain's maximum spawn height.

these options already exist

mb


Support Vertex AI's PaLM models

It would be great if jtokkit went beyond just OpenAI models and also supported other models.
In particular, I'm interested in the support of the PaLM model from Google.
Would you consider expanding to other models?

There are currently no plans to support other encodings


Connection error embedded FTP servers

Hi
I have a problem downloading files from embedded systems having FTP servers.
My code
`
                    FluentFTP.FtpClient conn = new FluentFTP.FtpClient());
                    conn.Host = "dyn.dns.com";
                    conn.ConnectTimeout = 60000;
                    conn.DataConnectionConnectTimeout = 60000;
                   conn.DataConnectionType = FluentFTP.FtpDataConnectionType.PASV;
                    conn.Encoding = System.Text.Encoding.ASCII;
                    conn.Credentials = new System.Net.NetworkCredential("xxxx", "xxxxx");
                    conn.Connect();      >>>>>>WORKS OK
                    var ssz = conn.GetFileSize(remotePath);  //>>>>> WORKS OK returns correct size
                    conn.DownloadFile(localPath, remotePath); // >>>>> FAILS, with timeout error
                    using (Stream istream = conn.OpenRead(remotePath)) //>>>> ALSO Fails with timeout error
`

The embedded system uses dyndns lookup and router is using port forwarding.
Any clues as to why?

Send the logs. See FAQ on "tracing". Which embedded device/OS are you using?

Will re-open when you provide more info. Else it cannot be fixed on our end.

My Aplogies for late response
I changed the mode from PASS to ACT
And it works now
From: Robin Rodricks<EMAIL_ADDRESS>Sent: Saturday, 7 October 2017 2:01 AM
To: robinrodricks/FluentFTP<EMAIL_ADDRESS>Cc: ajaywazir<EMAIL_ADDRESS>Author<EMAIL_ADDRESS>Subject: Re: [robinrodricks/FluentFTP] Connection error embedded FTP servers (#217)
Closed #217https://github.com/robinrodricks/FluentFTP/issues/217.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/robinrodricks/FluentFTP/issues/217#event-1282235053, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AQ87kE1qQkEBf-ua3owOoHdB_kypJX8Pks5spmrVgaJpZM4PoUIU.


refactor: Update copy

#291
Nav

[x] Update "Frameworks" in Nav to be "Kits by Tool"

[x] Update route to "kits-by-tool"
[x] Update page so routing doesn't break

[x] "Update "GitHub Kits Library" in Nav to just be the Octocat Icon

Homepage

[x] Change "Tech Stacks" heading to "Available Kits"
[x] Change "See Kit Details" on cards to "View KIt"
[x] "Build faster. Together" -> "Build faster together"
[x] Change copy in bottom CTA to be:

starter.dev is built with the community in mind. If you have ideas for improvement or new kits you'd like to see, please drop us an issue or pull request. We'd love to collaborate with you to enhance this project.

[x] Change "Contribute" CTA to "Collaborate on starter.dev"

On "Frameworks", now "Kits by Tool"

[x] Change Angular and Vue to be under Framework, not UI (they really are frameworks)
[x] Change UI to "Component Library"
[x] Change "CSS" to "Styling"

Kit page

[x] "Download Kit" -> View Kit

@dustinsgoodman @danecando

I know it's not perfect but I think people will understand it just fine. One thing I just thought of before we approve this and merge any changes - We just need to make sure that changing the name of these tags does not bring any breaking changes. IE starter kits no longer making it on the website correctly. I think they only focus on the keys but just to make sure

No it doesn't affect, these are just categories in this page, its not used anywhere else.

fixed merge conflict


bot target loss

A pastebin.com link to my (full!) Sentinel/config.yml file is: (PLEASE FILL IN)
The error is due to the fact that the npc lags when it loses the target. He starts flying in the air, and if you break the blocks under him, he teleports to the first point of the npc path. Although he should teleport back as soon as he loses his target.
He loses his target if the player he was attacking has changed the game mode to creative or spectator or has left the game. Sometimes this bug works when npc kills a player, but not always.
But if he lost you when you hid from him, the bug does not work and the npc just returns to the point.
https://github.com/mcmonkeyprojects/Sentinel/assets/73644963/0df27989-8b2c-4587-8afa-80a37fb97d62

This is either (A) a Citizens bug or (B) a server config issue, so
please post in the #sentinel channel on Discord instead https://discord.gg/Q6pZGSR


Add Cargo and npm jobs to Dependabot configuration

Pull Request Test Coverage Report for Build<PHONE_NUMBER>7
Details

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 86.118%

Totals

Change from base Build<PHONE_NUMBER>9:
0.0%

Covered Lines:
2227

Relevant Lines:
2586

💛  - Coveralls


Make VPA more configurable to improve utilisation of VPA-dependent workload

What would you like to be added:
https://github.com/gardener/gardener/pull/9279 made VPA's --target-cpu-percentile configurable. Now, let's please also add:

--recommendation-lower-bound-cpu-percentile
--recommendation-upper-bound-cpu-percentile
--target-memory-percentile <-- most important
--recommendation-lower-bound-memory-percentile
--recommendation-upper-bound-memory-percentile

Why is this needed:
This is needed to improve utilisation of VPA-dependent workload.

/assign

FYI, the PR that introduced these flags in the upstream VPA is not yet released: https://github.com/kubernetes/autoscaler/pull/6660.
https://github.com/gardener/gardener/pull/10221 has to stay in draft mode until the new VPA release is cut and we adopt it. 🙈

VPA v1.2.0 has been adopted with https://github.com/gardener/gardener/pull/10275.


nishantProfileAdd

What does this PR do?

Fixes #(issue)

Type of change

Bug fix (non-breaking change which fixes an issue)
Chore (refactoring code, technical debt, workflow improvements)
New feature (non-breaking change which adds functionality)
Breaking change (fix or feature that would cause existing functionality to not work as expected)
This change requires a documentation update

How should this be tested?

[x] Test A
[x] Test B

Mandatory Tasks

[x] Make sure you have self-reviewed the code. A decent size PR without self-review might be rejected.

Checklist

JSON file error

@NishantSharma48 you forgot the comma here

Awesome. About to merge
Make sure to drop a ⭐ Star to the repository @NishantSharma48


New and Active Threads linking incorrectly

When clicking on a thread in "New and Active Threads", it directs to the original post. It seems to make more sense to jump to the oldest unread post in the thread.

Well, the current behavior makes perfect sense if you're using the normal threaded display. =p (Fun fact: You and Angel are the only two people who use anything other than the normal threaded display)
I've been meaning to redo the dashboard anyway, so this change will probably be either folded into that, or rendered unnecessary by it.

Note: The new dashboard, which will be committed soon, displays both the thread subject and an unread post count. Clicking the unread post count will take you directly to the oldest unread post in the thread (clicking the subject will still take you to the original post).


how can import a mydb.sql from mysql shell ?

in which folder can I store my db-file.sql and then import it with the mysql shell?
shell> mysql db_name <db-file.sql
thanks

[solved]
I put db-file.sql in "/var/lib/mysql" folder then after open container with exec...
shell> mysql db_name <db-file.sql  work fine !!


Invalid Javadoc should remain unchanged

Related to https://github.com/openrewrite/rewrite/issues/3198
In this case invalid Javadoc gets changed in an unexpected way. I would expect OpenRewrite to either leave such JavaDoc unmodified or to bail out with a failure (like it would on regular Java code I suppose).

Thanks for the test case!


Bugfix/item accounts

Fixes #154
Proposed Changes

More specific account filtering for ArkInventory data to ensure character is associated with account

Merging despite test errors, will fix in upcoming build


feat: update split interface

Core update

to comply with different storage design, the main contract has to pass in which spread token to be split into short + long

Other Changes

update error message prefix

Codecov Report

Merging #93 (f823288) into master (f78a9ba) will decrease coverage by 0.15%.
The diff coverage is 6.25%.

@@            Coverage Diff             @@
##           master      #93      +/-   ##
==========================================
- Coverage   23.75%   23.59%   -0.16%
==========================================
  Files          22       23       +1
  Lines         901      907       +6
  Branches      116      116
==========================================
  Hits          214      214
- Misses        627      633       +6
  Partials       60       60

Impacted Files
Coverage Δ

src/core/engines/libraries/AdvancedMarginLib.sol
0.00% <0.00%> (ø)

src/core/engines/libraries/AdvancedMarginMath.sol
0.00% <0.00%> (ø)

src/test/mocks/MockEngine.sol
0.00% <0.00%> (ø)

src/test/shared/ActionHelper.sol
0.00% <0.00%> (ø)

src/core/engines/AdvancedMarginEngine.sol
79.38% <12.50%> (ø)

src/core/Grappa.sol
73.40% <22.22%> (ø)

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


[Issue-564]  clean the failed log record after drop the failed loaded table

fixed #564

@QiangCai pls review it. thanks

LGTM
@gvramana What's your opinion?

LGTM

Merged to master.


Importing axual schema version not available anymore

In version 2.1.0 I was able to import schemas to my statefile from axual. Now I want to do the same in version 2.3.0 but it is not supported anymore. I know it was not perfect but I had a workaround. Is it possible to get the feature back? Or when can I expect it to be back?

Hi,
Thanks for opening the issue.
Yes, we have removed it from the latest version since it was buggy and we wanted to implement it correctly.
We are going to work on re-introducing it next month.
Will inform you here once the import schemas is available again.


Update libgit2 to v1.3.0

It's not exactly v1.3 as @ethomson didn't tag yet

Update libgit2 to move along with https://github.com/libgit2/libgit2sharp/pull/1908

Let me know @bording if it's ok for you to merge this (and publish a prerelease package).

Thanks @ethomson  I updated to the real v1.3.0 ☺

2.0.315-alpha.0.4 has been published.


REST API makes bot crash

When I put c.output.api.port (not 0) into config zenbot crashes at startup. port=0 works ok. It seems that REST API uses 2 ports. Could you give a correct example of api config ? Thanks

Hi,
I got the same issue. It's a bug in trade.js.
You can check my fix at https://github.com/ArnaudRitti/zenbot/blob/API/commands/trade.js#L385

Hi, I'm going to take a look and see if I can solve this.

@albabosh @ArnaudRitti what error did you get. What did you enter in the c.output.api.port?
I tested this with the following settings, and they all work:
c.output.api = {}
c.output.api.on = true
c.output.api.port = 8080

c.output.api = {}
c.output.api.on = true
c.output.api.port = 0

c.output.api = {}
c.output.api.on = true
c.output.api.port

I get a Node Express error : EADDRINUSE, Address already in use

The same I get "EADDRINUSE, Address already in use"

Allright, still can't reproduce it. But @albabosh could you try the fix that @ArnaudRitti provided and see if that solves it for you. If that is the case then we should add that fix in a pull request

My PR #850 integrate the fix

It seems to happen only if strategy is set to 'neural'

It is not fixed - it crashed in 'neural'


Local fonts

One of the main benefit from native app is support of local installed fonts.
Maybe this app have some workarounds to use custom fonts ?

Hello! I hope to solve the local fonts for the next month. On the other hand, I created a snap package that I hope you can use.

I'm having trouble with the snap install
/snap/figma/2/bin/desktop-launch: line 265: /snap/figma/2/app/castlearena: No such file or directory

I recently repair the error, you can download and install the last fix here: https://github.com/302bis/figma-app-ubuntu/releases
Regards, P.
…

I was able to install it, but when I try to login (my account is only registered with google) it redirects me to the browser. Not logging in, in-app.


fix(navbar): reduce the scrolled threshold before adjusing styles

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Add readme shields

Test status does not seem to work.

@razvanphp should be all good now

Look good now, thanks!


Cannot run on Kde

Hello, on Kubuntu 15.10 I have this dependencie problem
 xarkam@HYKSOS  ~  python
Python 3.4.3+ (default, Oct 14 2015, 16:03:50)
[GCC 5.2.1 20151010] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> exit()
 xarkam@HYKSOS  ~  blockify-ui
Traceback (most recent call last):
  File "/usr/local/bin/blockify-ui", line 9, in <module>
    load_entry_point('blockify==3.3.1', 'gui_scripts', 'blockify-ui')()
  File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 558, in load_entry_point
    return get_distribution(dist).load_entry_point(group, name)
  File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 2682, in load_entry_point
    return ep.load()
  File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 2355, in load
    return self.resolve()
  File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 2361, in resolve
    module = __import__(self.module_name, fromlist=['__name__'], level=0)
  File "/usr/local/lib/python3.4/dist-packages/blockify/gui.py", line 27, in <module>
    require_version('Gtk', '3.0')
  File "/usr/lib/python3/dist-packages/gi/__init__.py", line 100, in require_version
    raise ValueError('Namespace %s not available' % namespace)
ValueError: Namespace Gtk not available

Thanks

I don't think i can help you. I use neither Kubuntu nor KDE and this seems to be a problem specific to that configuration.

I had the same problem. The solution was to install gtk3.
sudo apt-get install libgtk-3-dev
I hope it helps you


Show more complex data

Description
Changes proposed in this pull request:

mechanism that will allow us to show more complex data

Related issue(s)

/retest

/retest

/retest

/retest

/retest


Unable to simulate cog build -t resnet from  README.md in macbook m2 pro

command:
cog build -t resnet
       Building Docker image from environment in cog.yaml as resnet...
      [+] Building 232.1s (19/19) FINISHED
       => [internal] load build definition from Dockerfile                                                                  0.0s
       => => transferring dockerfile: 1.11kB                                                                                0.0s
       => [internal] load .dockerignore                                                                                0.0s
       => => transferring context: 2B                                                                                0.0s
       => resolve image config for docker.io/docker/dockerfile:1.2                                                          4.5s
       => CACHED docker-image://docker.io/docker/dockerfile:1.2@sha256:e2a8561e419ab1ba6b2fe6cbdf49fd92b95912df1cf7d313c3e  0.0s
       => => resolve docker.io/docker/dockerfile:1.2@sha256:e2a8561e419ab1ba6b2fe6cbdf49fd92b95912df1cf7d313c3e2230a333fdb  0.0s
       => [internal] load build definition from Dockerfile                                                                  0.0s
       => [internal] load .dockerignore                                                                                0.0s
       => [internal] load metadata for docker.io/library/python:3.8                                                         2.6s
       => [stage-0 1/8] FROM docker.io/library/python:3.8@sha256:1387025f39249bbee2ed49076e70be5da0715f9f7c6e167e07a1e849  30.8s
       => => resolve docker.io/library/python:3.8@sha256:1387025f39249bbee2ed49076e70be5da0715f9f7c6e167e07a1e84947d11ab6   0.0s
       => => sha256:4bae3b58f1d387d1ef8b2c6732e0580302a006aa7bac696496c612204ae51fe6 2.85MB / 2.85MB                        2.7s
       => => sha256:4a75f4831b9503f990ae9d4ef0cc50682a4c6f882ec911a1cdadc1481f86bb3e 243B / 243B                            0.5s
       => => sha256:40d4faac6522bb9a8608059156bcf092cf32fa60260d06645eb3e07839ed9698 17.54MB / 17.54MB                      1.7s
       => => sha256:f0016544b8b99a7e91472b231a8eb1af0aede28806efc821c60ca20b65fc1eb8 6.29MB / 6.29MB                        6.1s
       => => sha256:c1e5026c64577dee4b6bac20b18196f964a41d8b9016fbbbada0c70b601cd5bf 196.85MB / 196.85MB                   27.2s
       => => sha256:75256935197ed1bb3b994a77c01efa00349b901014448a260fafd9c3719a741d 54.58MB / 54.58MB                     12.7s
       => => sha256:6710592d62aa1338ac1c1c363dedc255659f666cc41441c7e0f735c484db10ff 15.76MB / 15.76MB                      3.6s
       => => sha256:bd73737482dd5575526c7207872963479808d979ab2741c321706b8553918474 55.05MB / 55.05MB                      9.8s
       => => extracting sha256:bd73737482dd5575526c7207872963479808d979ab2741c321706b8553918474                             0.8s
       => => extracting sha256:6710592d62aa1338ac1c1c363dedc255659f666cc41441c7e0f735c484db10ff                             0.2s
       => => extracting sha256:75256935197ed1bb3b994a77c01efa00349b901014448a260fafd9c3719a741d                             0.8s
       => => extracting sha256:c1e5026c64577dee4b6bac20b18196f964a41d8b9016fbbbada0c70b601cd5bf                             2.6s
       => => extracting sha256:f0016544b8b99a7e91472b231a8eb1af0aede28806efc821c60ca20b65fc1eb8                             0.1s
       => => extracting sha256:40d4faac6522bb9a8608059156bcf092cf32fa60260d06645eb3e07839ed9698                             0.2s
       => => extracting sha256:4a75f4831b9503f990ae9d4ef0cc50682a4c6f882ec911a1cdadc1481f86bb3e                             0.0s
       => => extracting sha256:4bae3b58f1d387d1ef8b2c6732e0580302a006aa7bac696496c612204ae51fe6                             0.1s
       => [internal] load build context                                                                                0.1s
       => => transferring context: 2.92MB                                                                                0.1s
       => [stage-0 2/8] RUN --mount=type=cache,target=/var/cache/apt set -eux; apt-get update -qq; apt-get install -qqy -  12.6s
       => [stage-0 3/8] COPY .cog/tmp/build886147694/cog-0.0.1.dev-py3-none-any.whl /tmp/cog-0.0.1.dev-py3-none-any.whl     0.0s
       => [stage-0 4/8] RUN --mount=type=cache,target=/root/.cache/pip pip install /tmp/cog-0.0.1.dev-py3-none-any.whl     21.5s
       => [stage-0 5/8] COPY .cog/tmp/build886147694/requirements.txt /tmp/requirements.txt                                 0.0s
       => [stage-0 6/8] RUN --mount=type=cache,target=/root/.cache/pip pip install -r /tmp/requirements.txt               108.3s
       => [stage-0 7/8] WORKDIR /src                                                                                0.1s
       => [stage-0 8/8] COPY . /src                                                                                0.0s
       => preparing layers for inline cache                                                                                30.5s
       => exporting to docker image format                                                                                20.8s
       => => exporting layers                                                                                0.0s
       => => exporting manifest sha256:d9173d4ae954c2dc243af8164eb7b10f3dba205ac6a5cd55287a5f0e52333591                     0.0s
       => => exporting config sha256:5610102055cb99f3177b833622568befa3c201fae496f13712ea27a3ae1f586f                       0.0s
       => => sending tarball                                                                                20.8s
       => importing to docker                                                                                11.5s
      Adding labels to image...

      WARNING: The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested

      ⅹ Failed to get type signature: exit status 134

System Info:
    **Darwin sentien-MacBook-Pro.local 22.4.0 Darwin Kernel Version 22.4.0: Mon Mar  6 21:01:02 PST 2023; root:xnu-8796.101.5~3/RELEASE_ARM64_T8112 arm64**
DEBUG:
cog debug dockerfile
      # syntax = docker/dockerfile:1.2
      FROM python:3.8
      ENV DEBIAN_FRONTEND=noninteractive
      ENV PYTHONUNBUFFERED=1
      ENV LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/lib/x86_64-linux-gnu:/usr/local/nvidia/lib64:/usr/local/nvidia/bin
      RUN --mount=type=cache,target=/var/cache/apt set -eux; \
      apt-get update -qq; \
      apt-get install -qqy --no-install-recommends curl; \
      rm -rf /var/lib/apt/lists/*; \
      TINI_VERSION=v0.19.0; \
      TINI_ARCH="$(dpkg --print-architecture)"; \
      curl -sSL -o /sbin/tini "https://github.com/krallin/tini/releases/download/${TINI_VERSION}/tini-${TINI_ARCH}"; \
      chmod +x /sbin/tini
      ENTRYPOINT ["/sbin/tini", "--"]
      COPY .cog/tmp/build456280735/cog-0.0.1.dev-py3-none-any.whl /tmp/cog-0.0.1.dev-py3-none-any.whl
      RUN --mount=type=cache,target=/root/.cache/pip pip install /tmp/cog-0.0.1.dev-py3-none-any.whl
      COPY .cog/tmp/build456280735/requirements.txt /tmp/requirements.txt
      RUN --mount=type=cache,target=/root/.cache/pip pip install -r /tmp/requirements.txt
      WORKDIR /src
      EXPOSE 5000
      CMD ["python", "-m", "cog.server.http"]
      COPY . /src

Pls suggest some feasible solution to run the cog ;
I  am just wondering what was need for APPLE to choose darwin/arm64 arch.

Can you try to set this env and run cog again:
export DOCKER_DEFAULT_PLATFORM=linux/amd64

The base image doesn't support multi-arch.

This is my preconfigured zshrc file

    # useful only for Mac OS Silicon M1,
    # still working but useless for the other platforms
    docker() {
     if [[ `uname -m` == "arm64" ]] && [[ "$1" == "run" || "$1" == "build" ]]; then
        /usr/local/bin/docker "$1" --platform linux/amd64 "${@:2}"
      else
         /usr/local/bin/docker "$@"
      fi

Then why does this example is included in tutorial; tutorial itself is multi-point leaning design, this tutorial dont support simulation as per  multi-arch design.

sometime I get this error on different replicate examples
      Dockerfile:42
      --------------------
        40 |          pip install "wheel<1"
        41 |     COPY .cog/tmp/build3225957817/cog-0.0.1.dev-py3-none-any.whl /tmp/cog-0.0.1.dev-py3-none-any.whl
        42 | >>> RUN --mount=type=cache,target=/root/.cache/pip pip install /tmp/cog-0.0.1.dev-py3-none-any.whl
        43 |     RUN --mount=type=cache,target=/var/cache/apt apt-get update -qq && apt-get install -qqy aria2 ffmpeg && rm -rf /var/lib/apt/lists/*
        44 |     COPY .cog/tmp/build3225957817/requirements.txt /tmp/requirements.txt
      --------------------
      ERROR: failed to solve: process "/bin/sh -c pip install /tmp/cog-0.0.1.dev-py3-none-any.whl" did not complete successfully: exit code: 1
      ⅹ Failed to build Docker image: exit status 1

let me know if any solution exists.

This is my preconfigured zshrc file ...

This would not work AFAIK. Could you try to export the env as mentioned above?

sometime I get this error on different replicate examples

That's a different error. Sorry about that. Could you create a separate issue for that?


shearable entities support

This PR:

moves EntityTag.is_sheared tag and EntityTag.sheared mechanism into a EntityProperty, supporting Sheep, Bogged and Snow golems.
deprecates EntityTag.is_sheared tag in favor of the property.
adds paper-only EntityTag.shear mechanism to allow mushroom cows and other shearable entities to be sheared naturally, including drops.

Support for bogged entities were requested on Discord. https://discord.com/channels/315163488085475337/1291520367495614574/1291520367495614574

To be clear: have you tested this PR on a pre-1.21 server?

also needs a merge fix due the deprecations file


How can I get the "Stats for nerds" information?

Question / Problem
Summary

What I've tried

I don't think that's available in the IFrame player.

I don't think that's available in the IFrame player.

Thanks for your advice!


Preview reload bug after changing "Button Box - Colours" Field

Describe the bug
after selecting a color in preview mode, it is not reloaded
Steps to reproduce

create "Button Box - Colours" Filed with x Options
add it to a section
open preview mode
preview is not reloaded after changing the colors

Craft CMS version
4.7.1
Plugin version
4.2.0
Multi-site?
No
Additional context
No response

Fixed in 4.2.3