[Experimental] Prefix Caching Support

add prefix caching support
Section 1 (Basic Functionality):

[x] Test on single request for llama model (no cpu swap)
[x] Test on batches where there are requests with prefix and without prefix (no cpu swap)
[x] Benchmark performance for batched analytics tasks (no cpu swap)
[x]  Alibi (Thanks @DouHappy )
[x] Clean code

Future ToDo:
Section 2 (Advanced Prefix Caching Support -- SGLang RadixAttention):

It seems that the prefix has not updated its physical block?
I tested on the meta-llama/Llama-2-70b-chat-hf and baichuan2-13b-chat, but it seems to have no acceleration effect.
Then I added a logger at the 358th row of worker.py to check if prefix updated its physics block.

logger's output is as fellow:
------start generating------
prefix length:  592
block size:  16
Processed prompts:   0%|          | 0/500 [00:00<?, ?it/s][36m(RayWorker pid=1138291)[0m INFO 12-05 10:46:31 worker.py:358] prefix_block_tables: [[], [], [], [], []]
[36m(RayWorker pid=1138291)[0m INFO 12-05 10:46:36 worker.py:358] prefix_block_tables: [[], [], [], [], []][32m [repeated 44x across cluster][0m
[36m(RayWorker pid=1138291)[0m INFO 12-05 10:46:42 worker.py:358] prefix_block_tables: [[], [], [], [], []][32m [repeated 44x across cluster][0m
[36m(RayWorker pid=1138291)[0m INFO 12-05 10:46:47 worker.py:358] prefix_block_tables: [[], [], [], [], []][32m [repeated 44x across cluster][0m
[36m(RayWorker pid=1138291)[0m INFO 12-05 10:46:52 worker.py:358] prefix_block_tables: [[], [], [], []]
[36m(RayWorker pid=1138291)[0m INFO 12-05 10:46:52 worker.py:358] prefix_block_tables: []
[36m(RayWorker pid=1138290)[0m INFO 12-05 10:46:51 worker.py:358] prefix_block_tables: [[], [], [], [], []][32m [repeated 39x across cluster][0m
Processed prompts:   0%|          | 1/500 [00:23<3:18:23, 23.86s/it][36m(RayWorker pid=1138290)[0m INFO 12-05 10:46:52 worker.py:358] prefix_block_tables: [[], [], [], []][32m [repeated 3x across cluster][0m
[36m(RayWorker pid=1138290)[0m INFO 12-05 10:46:55 worker.py:358] prefix_block_tables: [][32m [repeated 59x across cluster][0m
[36m(RayWorker pid=1138291)[0m INFO 12-05 10:46:57 worker.py:358] prefix_block_tables: [[], [], [], [], []][32m [repeated 21x across cluster][0m
[36m(RayWorker pid=1138291)[0m INFO 12-05 10:47:02 worker.py:358] prefix_block_tables: [[], [], [], [], []][32m [repeated 44x across cluster][0m
[36m(RayWorker pid=1138291)[0m INFO 12-05 10:47:08 worker.py:358] prefix_block_tables: [[], [], [], [], []][32m [repeated 44x across cluster][0m
[36m(RayWorker pid=1138291)[0m INFO 12-05 10:47:13 worker.py:358] prefix_block_tables: [[], [], [], [], []][32m [repeated 44x across cluster][0m
[36m(RayWorker pid=1138291)[0m INFO 12-05 10:47:15 worker.py:358] prefix_block_tables: [[], [], []]
[36m(RayWorker pid=1138291)[0m INFO 12-05 10:47:16 worker.py:358] prefix_block_tables: []
Processed prompts:  43%|████▎     | 217/500 [00:45<00:50,  5.65it/s][36m(RayWorker pid=1138291)[0m INFO 12-05 10:47:16 worker.py:358] prefix_block_tables: [[], []]
Processed prompts:  44%|████▍     | 219/500 [00:45<00:49,  5.65it/s][36m(RayWorker pid=1138291)[0m INFO 12-05 10:47:17 worker.py:358] prefix_block_tables: [[]]
[36m(RayWorker pid=1138290)[0m INFO 12-05 10:47:15 worker.py:358] prefix_block_tables: [[], [], [], [], []][32m [repeated 19x across cluster][0m
Processed prompts:  44%|████▍     | 220/500 [00:47<00:53,  5.24it/s][36m(RayWorker pid=1138290)[0m INFO 12-05 10:47:15 worker.py:358] prefix_block_tables: [[], [], []][32m [repeated 3x across cluster][0m
[36m(RayWorker pid=1138290)[0m INFO 12-05 10:47:18 worker.py:358] prefix_block_tables: [][32m [repeated 59x across cluster][0m
[36m(RayWorker pid=1138290)[0m INFO 12-05 10:47:16 worker.py:358] prefix_block_tables: [[], []][32m [repeated 3x across cluster][0m
[36m(RayWorker pid=1138290)[0m INFO 12-05 10:47:17 worker.py:358] prefix_block_tables: [[]][32m [repeated 3x across cluster][0m
[36m(RayWorker pid=1138291)[0m INFO 12-05 10:47:23 worker.py:358] prefix_block_tables: [[], [], [], [], []][32m [repeated 41x across cluster][0m
Processed prompts: 100%|██████████| 500/500 [00:54<00:00,  9.13it/s]cost time 56.1341028213501
saving output
[36m(RayWorker pid=1138291)[0m INFO 12-05 10:47:26 worker.py:358] prefix_block_tables: []

By the way, My prompts are generated by this script:
# generate test prompt
test_table = "|Opening|Opening|Sl. No.|Film|Cast|Director|Music Director|Notes|\n|----|----|----|----|----|----|----|----|\n|J A N|9|1|Agni Pushpam|Jayabharathi, Kamalahasan|Jeassy|M. K. Arjunan||\n|J A N|16|2|Priyamvada|Mohan Sharma, Lakshmi, KPAC Lalitha|K. S. Sethumadhavan|V. Dakshinamoorthy||\n|J A N|23|3|Yakshagaanam|Madhu, Sheela|Sheela|M. S. Viswanathan||\n|J A N|30|4|Paalkkadal|Sheela, Sharada|T. K. Prasad|A. T. Ummer||\n|F E B|5|5|Amma|Madhu, Srividya|M. Krishnan Nair|M. K. Arjunan||\n|F E B|13|6|Appooppan|Thikkurissi Sukumaran Nair, Kamal Haasan|P. Bhaskaran|M. S. Baburaj||\n|F E B|20|7|Srishti|Chowalloor Krishnankutty, Ravi Alummoodu|K. T. Muhammad|M. S. Baburaj||\n|F E B|20|8|Vanadevatha|Prem Nazir, Madhubala|Yusufali Kechery|G. Devarajan||\n|F E B|27|9|Samasya|Madhu, Kamalahaasan|K. Thankappan|Shyam||\n|F E B|27|10|Yudhabhoomi|K. P. Ummer, Vidhubala|Crossbelt Mani|R. K. Shekhar||\n|M A R|5|11|Seemantha Puthran|Prem Nazir, Jayabharathi|A. B. Raj|M. K. Arjunan||\n|M A R|12|12|Swapnadanam|Rani Chandra, Dr. Mohandas|K. G. George|Bhaskar Chandavarkar||\n|M A R|19|13|Thulavarsham|Prem Nazir, sreedevi, Sudheer|N. Sankaran Nair|V. Dakshinamoorthy||\n|M A R|20|14|Aruthu|Kaviyoor Ponnamma, Kamalahasan|Ravi|G. Devarajan||\n|M A R|26|15|Swimming Pool|Kamal Haasan, M. G. Soman|J. Sasikumar|M. K. Arjunan||"

prompt_template = '''\
You are a helpful assistant in recongnizes the content of tables in markdown format. Here is a table as fellows. You need to answer my question about the table.
# Table
{}

# Question
What' s the content in the ({},{}) cells
'''
with open('prompt.txt', 'w') as outer:
    for row in range(50):
        for column in range(10):
            tmp_str = prompt_template.format(test_table, row + 1, column + 1)
            tmp_str
            # outer.write(f"{tmp_str}")
            print(tmp_str.replace("\n", "\\n"), file=outer)

Maybe there are some bugs in my test?

@DouHappy Can you try with calling llm.generate() with one prompt first to warmup? prefix_block_tables=[[],[],[]] indicates that the kv cache for the prefix part hasn't been computed yet.

@DouHappy Can you try with calling llm.generate() with one prompt first to warmup? prefix_block_tables=[[],[],[]] indicates that the kv cache for the prefix part hasn't been computed yet. Also, can you share your testing script?

I find a bug that when using two GPUs is slower than single GPU. Prefix‘s state 'on_gpu' is always False before prepare_inputmatedata() When using two GPUs. and it works nice on single gpu. It mean multi_query_cached_kv_attention never be used when running on multi-gpus. My last test is also pass on single gup.

I propose the changes above to the PrefixPool class.

There is no need to maintain two data structures: one being a dict from prefix_hash to prefix_id and the other one being the list of prefixes.  We can simply maintain just the dictionary, directly from prefix_hash to Prefix.

I think that the prefix pool class should have a max_capacity, otherwise it can have the potential of growing without bounds. Maybe in your mind, the prefix use case does not need it. But we have some use cases where we are planning to use prefixes differently and there will be an unlimited number of them.
2.1 Because of that I propose to implement it using an OrderedDict so that we can easily implement a FIFO cache policy.

class PrefixPool:
    """Manages all the prompt prefixes.

    Args:
        block_size: The block size of the executed model.

    Attributes:
        prefixes: A list of all the prefixes.
        prefixes_hash: Mapping from the hash of the prefix to the prefix id.
        block_size: The block size of the executed model.
        max_capacity: Max number of prefixes to keep in the pool at any given time.
    """
    id_iter = itertools.count()

    def __init__(
        self,
        block_size: int,
        max_capacity: int = 32
    ) -> None:
        # dict from hash to prefix. It is an OrderedDict so that
        # we can easily implement a FIFO cache policy.
        self.prefixes: dict[int, Prefix] = OrderedDict()

        self.block_size = block_size    # Number of tokens per memory block
        self.max_capacity=max_capacity

    def add_prefix(self, token_ids: list[int]) -> Prefix:
        if len(self.prefixes) >= self.max_capacity:
            self.prefixes.popitem(last=False)

        prefix_hash = hash(tuple(token_ids))
        assert prefix_hash not in self.prefixes

        # generate prefix_id and create new prefix
        prefix_id = next(self.id_iter)
        prefix = Prefix(prefix_id, token_ids, self.block_size)

        self.prefixes[prefix_hash] = prefix
        return prefix

    # use this first, if we already know from the application which part of the tokens are prefix.
    def fixed_search(self, prefix_hash: int) -> Optional[Prefix]:
        return self.prefixes.get(prefix_hash, None)

I am interested in contributing to this branch. I have opened a PR with some changes to it. Feel free to review it. https://github.com/caoshiyi/vllm/pull/2

The changes introduced in that PR do not really effectively add new functionality to the vllm engine right now, but they are stepping stones to make it happen in a later PR.

The idea that I have in mind is the following: Whenever the processing of a SequenceGroup is either finished, or aborted, check the prefix_pool: PrefixPool object and see if the prefix (if any) of that SequenceGroup still exists in the PrefixPool. If it does not exists, then free the GPU memory from that prefix.

I have read the code base extensively and I don't think that adding this new functionality affects the behavior of the system as intended originally, given that by default PrefixPool will behave as if no max_capacity has been set.

@jadielam Thank you for your contribution! How about the following plan: I will fix the bugs of the PR and first merge a version without prefix pool capacity, and then you create a new PR in the vLLM repo to add max_capacity to prefix pool?

he vLLM repo to add max_ca

Sounds good.

@jadielam Thank you for your contribution! How about the following plan: I will fix the bugs of the PR and first merge a version without prefix pool capacity, and then you create a new PR in the vLLM repo to add max_capacity to prefix pool?

sounds good.

Thanks a lot for this great feature!
I tried it with the latest caoshiyi:prefix, but I found that there's no speed improvement. (one V100 GPU, tested with Baichuan2-13B-chat model)
Hi @DouHappy , did you observe any speed improvement afterwards?

Thanks a lot for this great feature! I tried it with the latest caoshiyi:prefix, but I found that there's no speed improvement. (one V100 GPU, tested with Baichuan2-13B-chat model)
Hi @DouHappy , did you observe any speed improvement afterwards?

Hi @franklyd I also haven't tested. Have you tested regarding throughput improvements? This is another variable that should see improvements (under certain circumstances) from this PR.

@franklyd @DouHappy There was a bug in my refactor. If you try now, you should be able to see speedups.

Thanks a lot for this great feature! I tried it with the latest caoshiyi:prefix, but I found that there's no speed improvement. (one V100 GPU, tested with Baichuan2-13B-chat model)
Hi @DouHappy , did you observe any speed improvement afterwards?

Yes，i got observe speed up. Could you should me your test script? Maybe you forgot warmup? BTW, I am trying to introduce prefix but only chinese version now. See this vLLM-prefix浅析（System Prompt，大模型推理加速） @franklyd

Could you provide a test script for the speedup?

Could you provide a test script for the speedup?

+1

Hi @HaiShaw
Triton doesn't seem to support mixed precision dot product, so this kernel here fails if the k is uint8 and q is another precision. I've been trying to find a solution to this problem, but coming up with blanks. Do you have any ideas on how to approach this?

Hi @HaiShaw
Triton doesn't seem to support mixed precision dot product, so this kernel here fails if the k is uint8 and q is another precision. I've been trying to find a solution to this problem, but coming up with blanks. Do you have any ideas on how to approach this?

Hi, @AlpinDale. Are you using prefix caching with FP8 KVCache? PyTorch and Triton used by vLLM could not support FP8 KVCache. Here are more information about prefix caching and FP8 KVCache in #3234.

brilliant feature, thx!


Last-updated date on summoner profiles

Update any time some action is performed so you can tell how out of date the swarfarm profile is.
https://swarfarm.com/admin/feedback/issue/87/

Isn't it done? Unless you meant every time anything in profile changes, like runes etc.

Isn't it done? Unless you meant every time anything in profile changes, like runes etc.

It does auto-update when saving monsters/runes/etc via signals here but should be updated for new objects added since then like artifacts. Also note that the signals need to be disconnected in the profile importing process here to avoid spamming updates to the summoner profile.

It does auto-update when saving monsters/runes/etc via signals here but should be updated for new objects added since then like artifacts. Also note that the signals need to be disconnected in the profile importing process here to avoid spamming updates to the summoner profile.

So, we want to update date for given objects:

Runes
Monsters
Artifacts
Runes Craft (enchants/grinds)
Artifacts Craft (enchants)

Do we consider only SWEX (API) & Import update or from site too, i.e. when someone adds manually High Elemental or Rune Piece material?

So, we want to update date for given objects:

Runes
Monsters
Artifacts
Runes Craft (enchants/grinds)
Artifacts Craft (enchants)

Do we consider only SWEX (API) & Import update or from site too, i.e. when someone adds manually High Elemental or Rune Piece material?


feat: add text editor to active image

neovim?

[ ] docker
[ ] ansible

I am having problems installing neovim on Ubuntu - after "installation", I get errors:
nvim --version

E970: Failed to initialize lua interpreter

Will try regular vim instead.


John Snow Labs support

First integration to support NER with pyspark.
Notebook and documentation will follow.

Codecov Report

Merging #737 (5bb956a) into main (bfb6c21) will decrease coverage by 1.35%.
The diff coverage is 0.00%.

@@            Coverage Diff             @@
##             main     #737      +/-   ##
==========================================
- Coverage   89.68%   88.34%   -1.35%
==========================================
  Files         168      170       +2
  Lines       13606    13812     +206
==========================================
- Hits        12203    12202       -1
- Misses       1403     1610     +207

Files Changed
Coverage Δ

dataquality/integrations/jsl.py
0.00% <0.00%> (ø)

dataquality/utils/jsl.py
0.00% <0.00%> (ø)

... and 1 file with indirect coverage changes
:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


data:Hrishi5111998

Fixes Issue

Changes proposed

Check List (Check all the applicable boxes)

[ ] My code follows the code style of this project.
[ ] My change requires changes to the documentation.
[ ] I have updated the documentation accordingly.
[ ] All new and existing tests passed.
[ ] This PR does not contain plagiarized content.
[ ] The title of my pull request is a short description of the requested changes.

Screenshots

Note to reviewers

Looks good to merge. Thank you for your contribution! 🎉

thank you for merging request. Its feel great to contributing to this open source community.


run network evaluation on more years than 2021

if we use network embeddings from 2010 and 2020, generate_life_course_report.py only predicts for 2021 -- the only year that is "in the future", even though we also have 2010 embeddings. I think this comes from the time we changed the evaluation to only "future" years, ie post-2017 for the LLM. but
Overall, I think we need to make it possible to specify the prediction years independently from the embedding years.

closing as outdated


*Info::builder() still mentioned in the README.md despite being removed.

Title.

We noticed the same very recently in https://github.com/ash-rs/ash/discussions/714#discussioncomment-5213459: https://github.com/ash-rs/ash/pull/602 simply forgot to update the README, which I've done now in #743.


Need ability to give file a more specific name

https://github.com/mage-ai/mage-ai/blob/24ec8a82380c3c55fd674a2aff378ea5b0b9503a/mage_ai/streaming/sinks/amazon_s3.py#L71C9-L72C57
As a developer, I need to have some override control on the filename for the amazon_s3 sink.  I am writing messages that have a GUID identifier and need to name those files in the s3 sink with that GUID, rather than the hard-coded datetime filename.

Thanks for creating the request. We'll add the config to allow you override the filename


Question about style guide

is it {name:"Alice"} or {name: "Alice"}
@jexp

it's fine without the space, the colon gives enough whitespace.

I like Nigel's guide:
http://nigelsmall.com/zen
Though there are a few things it doesn't cover (like this).  I've also seen a space before the label, which I don't like as much ((var: Label {prop:value})).  Might be nice to have an official "suggested" guidelines.


iconAsleep not loaded

Hello, when I downloaded iconAsleep from Carbon Design System page and tried to load asleep.svg into browser, it failed with following messages.
XML Parsing Error: syntax error
Location: file:///C:/Users/xxxxxx/Downloads/asleep.svg
Line Number 1, Column 1:
[object Object]

Possibly website issue (something happening when downloading), if not then maybe a build problem on the icons. Wanted to see if y'all had any ideas first

confirmed this icon is now downloading correctly


Arc - Update Postgres deployment field labels and descriptions

Arc - Update the Postgres deployment field labels and descriptions to match the help text in the azdata CLI, and be more accurate (reserve -> request).

Pull Request Test Coverage Report for Build 265710679

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.001%) to 38.178%

Totals

Change from base Build 265594746:
-0.001%

Covered Lines:
19146

Relevant Lines:
45817

💛  - Coveralls


Set Djava.io.tmpdir in GATK and others to something useful and other than /tmp in modules

See current test implementation in NSCC testing


macros: add macros compatibility shims

add macros compatibility shims such that scala 2.10.x
and scala 2.11.x code uses what is most appropriate.

btw, the PR is not passing Travis CI, however not because of code in the PR, but rather due to SSL issues: https://travis-ci.org/oncue/remotely/jobs/51713516#L1097

Need to look at this in more detail but it looks awesome!

Cool :)

it looks good to me, I fixed the certs, which I'll checkin after the merge, but all the tests pass once the cert issues are gone.


Enhance support for UDFs

Scope of the PR to add basic support for UDFs has been cut down in the interest of getting basic support out. This is an issue to keep track of those features which were cut from the scope.
The following items need to be supported to further enhance support for UDFs:

Add support for UDFs with unnamed arguments. Such arguments need to have synthetic names like arg0, arg1, etc.
Add support for overloaded functions.
Add support for default arguments.
Add support for functions returning void.
Add support for functions accepting or returning array types.
Better support for default arguments in __schema

Add support for default arguments

this is done, right?

Add support for UDFs with unnamed arguments

(imo) this one can be skipped

Add support for overloaded functions.

For those one we can probably require a comment directive @graphql({"name": "foo"}) to disambiguate the names to get them to show up in the API

Better support for default arguments in __schema

Can skip for now. as you mentioned, similar software made that choice

Add support for functions returning void.

Can skip for now. It's a low lift to ask users to return a value e.g. return 1; so we can have a meaningful type in the schema (null is not a valid type so we'd otherwise have to pick one at random)

Add support for functions accepting or returning array types.

+1

Being able to support array arguments would be amazing. I am currently attempting to write a custom query so that I can filter records from my courses table based on a foreign relationship to our authors table. I need to be able to filter by multiple authors at once, so we were attempting to make our custom function with an author_ids uuid[] argument.
If there's anything that could be done to help, please let me know! Thanks so much, these custom functions are going to be incredibly useful!

@ahoopes16 support for array types is one of the next items we plan to tackle for pg_graphql. For now you can simulate multiple filter arguments by e.g. using a single argument with comma separated values.

Yep, that's exactly the workaround that we came to as well. Thanks!

@imor @ahoopes16 I don't see any supported string splitting functions available to my functions. How are you taking a comma delimited string and splitting that to be used for a "where" clause? Can you show me an example of a simple function that does this?

@tylerdmace Sure thing! So for this example, let's say that we have a courses table with a field called author_id. If you want to support a multi-select filter for courses by authors (as we did), you can write a UDF like this:
create or replace function search_courses(author_ids text default null)
returns setof courses
stable
language plpgsql
as
$$
declare
begin
    return query select c.* from courses c
    where
        search_courses.author_ids is null or
        c.author_id::text = any(string_to_array(search_courses.author_ids, ','));
end
$$;

The piece that you're looking for specifically is the string_to_array(<comma-separated string parameter>, ','). I hope this helps!

I hope this helps!

This was exactly what I was looking for. I swear I had tried to use string_to_array() in the past and it wasn't recognized as an internal function that I could use and threw an error. But I'll revisit this tonight and see if I can get it working. Thank you!

Strange! It's been working great for us on Postgres 15, although string_to_array() was introduced quite a few versions ago so I don't think version should matter here. Either way, glad I could help and I hope you get it working!

It worked perfectly! Thank you so much, my friend.

Thanks for the work so far and I've done a small one-time sponsorship to support further work on this issue.


Kind is undefined in onChange for nested List

I have a model that is a t.struct that contains a property of t.list of t.struct which in turn contains a property that is a t.list. So basically a list inside a struct inside a list inside a struct :P
Whenever I add or remove an item in the nested list, the onChange callback for the form returns with a kind of undefined, which is incorrect and should be add or remove respectively. This works fine with top level lists, but it fails when the list is inside a struct inside another list. I've tracked this to the onItemChange function in the List component, which doesn't take into account if the change is from a nested list, and completely discards the kind.

Hi @leoasis, good catch! Thanks.
Just pushed a fix to master and 0.6.x branches.

@gcanti thanks! I'm really impressed by the speed in which you address all the issues! Thanks a lot again and awesome job

Well, you helped me a lot with your detailed description, thanks again.

@gcanti for president!


fix: http-server background task handle

fix(http-server): handle incoming requests in task
chore(http-server): bump to 0.20.1

Feature or Problem
This PR changes the implementation of instantiating a new http-server incoming requests handler, such that the axum server is handling requests inside of a task. This was an issue as links from the HTTP server to a component would establish this server, then await on the server forever. Put another way, the HTTP server could only handle one server at a time because it was waiting for incoming requests.
Related Issues

Release Information
http-server v0.20.1
Consumer Impact

Testing

Unit Test(s)

Acceptance or Integration

Manual Verification

Going to push an additional commit to error log in the task in case it fails to bind


rpm spec: Allow compile rpm in Fedora

Force merging as this is not production code related and fix the copr repo issue.


Add Support for text of .prj files

See http://prj2epsg.org/search

If I understand correctly, .prg files are essentially ESRI WKT or OGC WKT, which this library supports.


Memory limit issue

Hi Mike, thank you very much for initiating this project - a simple but very useful script!
I tested and immediately ran into the memory. Suggest to add a init_set with the 'memory_limit' directive in the configuration section.
Additionally, please also consider checking if the session var is initialized on line 76, changing:
if (isset ( $_SESSION['login'] ) && $_SESSION['login'] == '1')
(I couldn't create a pull request because there's only the master branch)

Jeroen

Thanks Jeroen, got those updated and created a branch. There are more changes I have in mind if I get around to implementing.


The plugin does not work in dev mode

The plugin works well in prod mode: compile the project with 'npm run build', and the output dist directory works with nginx.
But when in dev mode with 'npm run dev', the index page does not appear in a brower, and there is an error in browse console:
Uncaught TypeError: Cannot read properties of undefined (reading 'Cartesian3')
I modify the source code of the plugin in node_modules/vite-plugin-cesium/dist/index.js line:96
-              if (isBuild && !rebuildCesium) {
+             if (!rebuildCesium) {

then it works as expeted.

hi @nitenzhao  you should import Cartesian3 from cesium , that will be work
import { Cartesian3, Viewer } from 'cesium';
let a = Cartesian3.fromArray([1, 2, 3]);
console.log(a);

or
import * as Cesium from 'cesium';
let a = Cesium.Cartesian3.fromArray([1, 2, 3]);
console.log(a);

hi @nitenzhao you should import Cartesian3 from cesium , that will be work
import { Cartesian3, Viewer } from 'cesium';
let a = Cartesian3.fromArray([1, 2, 3]);
console.log(a);

or
import * as Cesium from 'cesium';
let a = Cesium.Cartesian3.fromArray([1, 2, 3]);
console.log(a);

I do import Cesium as a global object at begin:
import * as Cesium from 'cesium';
but later when I want to user Cesium.Cartesian3, I get the error as above

Sorry, I make a mistake in my code, after I get rid of the mistake, the plugin works well.


Synth wave types, number of voices

Would we be able to expose different synth voices in the blocks UI? I've seen reference to using '~15' in JavaScript to select a square wave, for example. Having Square, triangle, saw, and noise would be terrific for upping the level of our chiptunes!
Also, I'm curious if we have any guidelines on number of simultaneous voices? I've done some two-voice polyphony in browser that seems to work pretty well, but not as well on hardware, testing with PyGamer, where the timing seems to suffer.

We're still working on what the user facing APIs are going to be. Right now I think the number of channels is capped at three, but we'll be expanding it once we have an idea of how we want to surface it. To get the timing right I think you need to use the low level APIs directly (see music.playInstructions(), documented here)
Our intern @kimprice is working on a melody editor. We also have been thinking about a sound designer for sound effects and instruments with their own envelopes, modulators, etc.


Add an option to the translator to ignore embedded ModelInfos

The cql-translator ships with a number of embedded ModelInfos for FHIR, QUICK, etc. The translator also supports dynamic ModelInfo loading, so in principle, these could be externalized and/or ignored in scenarios where someone wanted to use a custom ModelInfo.

Initial capability included in v1.5.7


WaitStrategy class is not used

WaitStrategy class is not used anywhere in the project, surprisingly enough not even as super class of ConstantWaitStrategy, LinearWaitStrategy and MultiplyWaitStrategywhich are all defined in the same file as WaitStrategy.

This is because it's part of a library we share between different solutions

WAT? Are you sure? It's totally unintuitive and surprusing. Shared code should be refactored to some other utils project.
In addition why ...Strategy classed don't inherit from WaitStrategy is still unclear.

Thanks for your feedback, it's not copy and past but reuse of libraries between our solutions and we ship them as part of these solutions to avoid dependencies when deploying them. If another approach works better for your purpose you can fork the repository and change the code.

reuse of libraries between our solutions and we ship them as part of these solutions to avoid dependencies when deploying them

Can you elaborate on this please? Here are the options that I see:

The file aws-instance-scheduler/source/code/boto_retry/__init__.py in the repository is output of a build. It doesn't have any comment in it about being generated. In this case it would be nice to add comments that say the file was generated.
The file aws-instance-scheduler/source/code/boto_retry/__init__.py has copy+pasted code. In this case it would be nice to add comments about the provenance of the WaitStrategy and related classes.
The file aws-instance-scheduler/source/code/boto_retry/__init__.py plainly has unused code without any good reason.

... and you keep forgetting to answer the inheritance question

Thanks for for feedback, we’ll consider it for future development


how do we know each chunkserver bleong which zone?

I'm doing some work about exposing zone config in topology.


Automator: update<EMAIL_ADDRESS>in<EMAIL_ADDRESS>

Generated by Automator - 2024-10-31T16:15:02+00:00

@istio-testing: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

unit-tests-arm64_istio_release-1.24
9fdf7dc0bd999865892e55b3d1e918f9d8dc5ea2
link
true
/test unit-tests-arm64

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here.

@istio-testing: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

unit-tests-arm64_istio_release-1.24
9fdf7dc0bd999865892e55b3d1e918f9d8dc5ea2
link
true
/test unit-tests-arm64

integ-basic-arm64_istio_release-1.24
9fdf7dc0bd999865892e55b3d1e918f9d8dc5ea2
link
true
/test integ-basic-arm64

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here.


Remove version: Jackett.Jackett version 0.21.166

404 - release deleted
Microsoft Reviewers: Open in CodeFlow

URL: https://github.com/Jackett/Jackett/releases/download/v0.21.166/Jackett.Installer.Windows.exe
Response Error: The remote server returned an error: (404) Not Found.
(Automated message - build 918)


Audiomack: can't download songs

Checklist

[x] I'm reporting a broken site support
[x] I've verified that I'm running youtube-dl version 2020.07.28
[x] I've checked that all provided URLs are alive and playable in a browser
[x] I've checked that all URLs and arguments with special characters are properly quoted or escaped
[x] I've searched the bugtracker for similar issues including closed ones

Verbose log

[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['-v', 'https://audiomack.com/Sinfuul/song/flossy']
[debug] Encodings: locale cp1252, fs mbcs, out cp437, pref cp1252
[debug] youtube-dl version 2020.07.28
[debug] Python version 3.4.4 (CPython) - Windows-10-10.0.17763
[debug] exe versions: ffmpeg N-82966-g6993bb4, ffprobe N-82966-g6993bb4
[debug] Proxy map: {}
[generic] flossy: Requesting header
WARNING: Falling back on generic information extractor.
[generic] flossy: Downloading webpage
[generic] flossy: Extracting information
ERROR: Unsupported URL: https://audiomack.com/Sinfuul/song/flossy
Traceback (most recent call last):
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpq2whuxta\build\youtube_dl\YoutubeDL.py", line 797, in extract_info
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpq2whuxta\build\youtube_dl\extractor\common.py", line 530, in extract
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpq2whuxta\build\youtube_dl\extractor\generic.py", line 3382, in _real_extract
youtube_dl.utils.UnsupportedError: Unsupported URL: https://audiomack.com/Sinfuul/song/flossy

Description

Just trying to download a song from audiomack.
The URL is this one: https://audiomack.com/Sinfuul/song/flossy
What I ran: youtube-dl https://audiomack.com/Sinfuul/song/flossy
I've been downloading tracks the same way from audiomack before. I've only had this issue now.
Edit: forgot to write a proper title. Sorry about that.

try using Video DownloaderHelper Extension

use Video DownloadHelper Extension temporarily


Extract vanilla-extract module filename

Problem
vanila-extract  produces modules with very long names (virtual module loader + inlined filename and source):
./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[19].use[1]!./node_modules/<EMAIL_ADDRESS>
Solution
Extract the source filename from the reported module file name. Handle the transformation at the filter level to avoid passing the module source or storring unnecessary large stats files.

Added docs on how to exclude virtual modules:

webpack-plugin options: https://github.com/relative-ci/bundle-stats/tree/master/packages/webpack-plugin#how-to-exclude-virtual-modules
output stats JSON file: https://relative-ci.com/documentation/guides/bundle-stats/webpack-cli-webpack-stats/#exclude-virtual-modules


Issue with k8s.io/docs/tutorials/configuration/configure-java-microservice/configure-java-microservice-interactive/

The build fails  withe following error message for both the pods
[ERROR] Failed to execute goal com.spotify:dockerfile-maven-plugin:1.4.10:build (default) on project inventory: Could not build image: toomanyrequests: You have reached your pull rate limit. You may increase the limit by authenticating and upgrading: https://www.docker.com/increase-rate-limit -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:

We could update the page to either:

not rely on an image from Docker Hub
explain that you might experience rate limiting by Docker

or, we could drop the tutorial (Katacoda is due to shut down).
The error message already explains what has happened and recommends a fix.

/triage duplicate
There's no solution really; I updated https://github.com/kubernetes/website/issues/37994 to reflect my new understanding of that bug.
/kind bug
/language en

/close
Won't fix because we're removing Katacoda.


Space between border-bottom and column on mobile device

Hi,
I'm using for the first time mjml to buid a email and i'm going through an issue that there is a space between the border-bottom and the columns only for mobile devices, for desktop it works fine. I've tried changing paddings and font-sizes with media queries but it didn't work. What should i do?
Link to screenshot mobile:
https://drive.google.com/file/d/1BJJNF0ZpLkisSHuSsZSRPAQiycUPLuri/view?usp=sharing
i'd like it as desktop view, with no space like this:
https://drive.google.com/file/d/1ZPQ6ob6eMRCbpY31ze0XqQHciAUcUe6V/view?usp=sharing
Thank you in advance for your help,
Here is the mjml code:
<mjml>

  <mj-head>
     <mj-font name="'Roboto Condensed', sans-serif" href="https://fonts.googleapis.com/css2?family=Roboto+Condensed&display=swap" />
    <mj-attributes>
      <mj-text align="center"  padding="0" color="#003594"/>
      <mj-class name="desknav" padding="15px 0px" />
    </mj-attributes>

  </mj-head>

  <mj-body>
    <mj-section border-bottom="4px solid #000000" padding="0" >
     <mj-group>
       <mj-column  mj-class="desknav">
         <mj-text>
           SCOMESSE
         </mj-text>
       </mj-column>
       <mj-column  mj-class="desknav" >
          <mj-text>
            CASINÒ
         </mj-text>
       </mj-column>
       <mj-column  mj-class="desknav">
          <mj-text>
            CASINÒ LIVE
         </mj-text>
       </mj-column>
       <mj-column  mj-class="desknav">
          <mj-text>
            CARTE
         </mj-text>
       </mj-column>
       <mj-column  mj-class="desknav" background-color="#000">
          <mj-text>
            BINGO
         </mj-text>
       </mj-column>
       <mj-column  mj-class="desknav">
          <mj-text>
            POKER
         </mj-text>
       </mj-column>
       <mj-column  mj-class="desknav">
          <mj-text>
            LOTTERIE
         </mj-text>
       </mj-column>
     </mj-group>
    </mj-section>

  </mj-body>
</mjml>

As you have too much content on a single line some of your text will be on multiple lines : there's not so much we can do about this if you group that many column for mobile.


App not responding when using google_mlkit_barcode_scanning: 0.6.0 on Android 13

I have using latest google ml kit barcode scanning version in flutter app it worked fine for Android 12 but when I build the app in Android 13, I am getting "App not Responding" pop-up. Once I reopen the app, again after certain time I get this pop-up.
plugin : google_mlkit_barcode_scanning: 0.6.0

We do not have such pop-up, try the latest version of our example app to see how you can consume this plugin.


upgrade image from buster to bullseye

Description
Upgrades the craftcms/nitro images from buster to the new bullseye release of Debian.

Ready for review.


problem about the o3.FullyConnectedTensorProduct

Hello, I am confused about the code:
 self.tp = tp = o3.FullyConnectedTensorProduct(in_irreps, sh_irreps, out_irreps, shared_weights=False)
I have also check the e3nn document, but I can not understand it. Maybe the theory is diffcult for me. I also try to debug into this function and its forward computation.  I also get a trouble. so can you list some examples about its computation process, such as a data input, what kinds of computation need to be done.
Thanks a lot!

Hi @alpha-beta-user
To best understand it I suggest looking at this series of videos https://www.youtube.com/watch?v=q9EwZsHY1sk&list=PLx3xbphkO3qIlBoESkbafXaDtr0tq5iRd

Hi @alpha-beta-user
To best understand it I suggest looking at this series of videos https://www.youtube.com/watch?v=q9EwZsHY1sk&list=PLx3xbphkO3qIlBoESkbafXaDtr0tq5iRd

Thank you for your reply


DataGrid not rendering when avalonia is running within Autodesk Inventor

Usage Information
Avalonia & Material.Avalonia latest nightly
Description
When I run my avalonia app regularly, the datagrid is showing. When I start the window from an Autodesk Inventor add-in, it does not. I can see it in the visual inspector though.

Sample code is just the one from the DataGrid documentation. All other controls seem to be fine.
I have tried to install all avalonia packages in the 2nd project that is executing the app.
Does anyone have any idea?
Reproduction Steps
Create a new avalonia app
With material ui and avalonia ui latest nightly builds (had 11.0.6 first, also didn't work)
Run it from another project that is an add-in in a software
Expected Behavior
Datagrid should render
Actual Behavior
Datagrid does not render
Regression?
No response
Known Workarounds
No response
Anything else?
No response
Could you help with a pull-request?
I can try
Is there an existing issue for this?

[X] I have searched the existing issues

Hello, @Basnederveen
I actually can't figure out how Autodesk Invertor and Avalonia connected, please let me know)
About the issue itself: Material.DataGrid styles included actomatically by the MaterialToolkit class (which included by MaterialTheme[Base]):

So, apparently, there is this flag missing (but it's set automatically when Material.Avalonia.DataGrid presented in project), or the link to the Material.Avalonia.DataGrid itself missing when you launch it inside Invertor.
You can try to explicitly add Material.Avalonia.DataGrid (if it missing now) and add StyleInclude with the following source: avares://Material.Avalonia.DataGrid/DataGrid.xaml inside App.Styles in App.axaml.cs.

They are not connected. This should apply to any 3rd party software and maybe even any external project - I did not test this, now I am thinking of it.
I made an add-in for inventor where I have some UI's, those I did in Inventor. So I have one regular avalonia project to start the UI's and hooking to inventor but running out of process. With the add-in the avalonia UI runs in the inventor process.
adding the style in app.xaml worked.. thanks!!


Unable to authenticate office 365 account(microsoft.exchange.webservices.data.core.exception.service.remote.ServiceRequestException)-403

Hi,
We are using ews 2.0 to integrate the office 365 calendar. It is working fine in the local environment(localhost) but when we push the same code to a server(ec2 instance) and try to authenticate it throws 403 error. Are there any IP restrictions or any settings that should be enabled on office 365 side. I am able to integrate some accounts with the same code but for some accounts, it throws this error.
please find the stack trace below.
microsoft.exchange.webservices.data.core.exception.service.remote.ServiceRequestException: The request failed. The request failed. The remote server returned an error: (403)Forbidden
at microsoft.exchange.webservices.data.core.request.SimpleServiceRequestBase.internalExecute(SimpleServiceRequestBase.java:74)
at microsoft.exchange.webservices.data.core.request.MultiResponseServiceRequest.execute(MultiResponseServiceRequest.java:158)
at microsoft.exchange.webservices.data.core.ExchangeService.bindToFolder(ExchangeService.java:504)
at microsoft.exchange.webservices.data.core.ExchangeService.bindToFolder(ExchangeService.java:523)
at microsoft.exchange.webservices.data.core.service.folder.CalendarFolder.bind(CalendarFolder.java:60)
at microsoft.exchange.webservices.data.core.service.folder.CalendarFolder.bind(CalendarFolder.java:108)
at com.agilecrm.exchange.service.AppointmentServelt.getAppointments(AppointmentServelt.java:99)
at com.agilecrm.exchange.service.AppointmentServelt.service(AppointmentServelt.java:55)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:833)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1650)
at org.eclipse.jetty.websocket.server.WebSocketUpgradeFilter.doFilter(WebSocketUpgradeFilter.java:206)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1637)
at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:533)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143)
at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:548)
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:132)
at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:190)
at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:1595)
at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:188)
at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1253)
at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:168)
at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:473)
at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:1564)
at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:166)
at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1155)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:219)
at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:126)
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:132)
at org.eclipse.jetty.server.Server.handle(Server.java:561)
at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:334)
at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:251)
at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:279)
at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:104)
at org.eclipse.jetty.io.ChannelEndPoint$2.run(ChannelEndPoint.java:124)
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:247)
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.produce(EatWhatYouKill.java:140)
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.run(EatWhatYouKill.java:131)
at org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:243)
at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:679)
at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:597)
at java.lang.Thread.run(Thread.java:748)
Caused by: microsoft.exchange.webservices.data.core.exception.service.remote.ServiceRequestException: The request failed. The remote server returned an error: (403)Forbidden
at microsoft.exchange.webservices.data.core.request.ServiceRequestBase.validateAndEmitRequest(ServiceRequestBase.java:644)
at microsoft.exchange.webservices.data.core.request.SimpleServiceRequestBase.internalExecute(SimpleServiceRequestBase.java:62)
... 42 more
Caused by: microsoft.exchange.webservices.data.core.exception.http.HttpErrorException: The remote server returned an error: (403)Forbidden
at microsoft.exchange.webservices.data.core.request.ServiceRequestBase.getEwsHttpWebResponse(ServiceRequestBase.java:723)
at microsoft.exchange.webservices.data.core.request.ServiceRequestBase.validateAndEmitRequest(ServiceRequestBase.java:639)
... 43 more
Please suggest what should I do to resolve it.
Thanks

Hi!
Do you explicitly set EWS url or use Autodiscover? Could you show piece of code that throws exception and raw EWS request/response?

Hi @pkropachev,
Thanks for replying.
We are specifying the EWS URL explicitly and it would look like this "https://outlook.office365.com/ews/exchange.asmx".
Here is the maven dependency we are using

com.microsoft.ews-java-api
ews-java-api
2.0

Here is the code snippet.
String username = "xxx@gmail.com(opens in new tab)";
String password = "xxxxx";
String serverAddress = "https://outlook.office365.com/ews/exchange.asmx";
// ExchangeVersion.Exchange2010_SP2 is ------
ExchangeService exService = new ExchangeService(
ExchangeVersion.Exchange2010_SP2);
ExchangeCredentials credentials = new WebCredentials(username,
password);
exService.setCredentials(credentials);
URI uri = new URI(serverAddress);
exService.setUrl(uri);
SimpleDateFormat formatter = new SimpleDateFormat(
"yyyy-MM-dd HH:mm:ss");
Date startDate = formatter.parse("2020-04-29 12:00:00");
Date endDate = formatter.parse("2020-08-05 13:00:00");
// Exception is bein raised here while fetching CalendarFolder
CalendarFolder cf = CalendarFolder.bind(exService,
WellKnownFolderName.Calendar);
FindItemsResults findResults = cf
.findAppointments(new CalendarView(startDate, endDate));
We are facing the issues at  CalendarFolder.bind(...).

Hi @pkropachev,
Thanks for replying.
We are specifying the EWS URL explicitly and it would look like this "https://outlook.office365.com/ews/exchange.asmx".
Here is the dependency we are using

com.microsoft.ews-java-api
ews-java-api
2.0

Here is the code snippet.
String username =<EMAIL_ADDRESS>String password = "xxxxx";
String serverAddress = "https://outlook.office365.com/ews/exchange.asmx";
// ExchangeVersion.Exchange2010_SP2 is ------
ExchangeService exService = new ExchangeService(ExchangeVersion.Exchange2010_SP2);
ExchangeCredentials credentials = new WebCredentials(username,password);
exService.setCredentials(credentials);
URI uri = new URI(serverAddress);
exService.setUrl(uri);
SimpleDateFormat formatter = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
Date startDate = formatter.parse("2020-04-29 12:00:00");
Date endDate = formatter.parse("2020-08-05 13:00:00");
CalendarFolder cf = CalendarFolder.bind(exService,WellKnownFolderName.Calendar);
FindItemsResults<Appointment> findResults = cf.findAppointments(new CalendarView(startDate, endDate));

We are facing the issues at CalendarFolder.bind(...).

Hi!
It's strange. Your code looks correct (of course if your users are not gmail users 😊).
I faced with such problem during attempt to bind folder for newly created user. So, need to wait for a bit time after user creation on Office 365.
Is this constantly reproduced for the same users? Have these users tried to log into their accounts and access to calendar (e.g. using OWA)?

Hi,
Thanks for the reply.
We are able to access the calendar from the office365 account and the user was created months ago. Are there any settings that should be enabled on the user side?
Yes, it's continuously producing the same error.

As far as I remember there are special settings that should changed on user side. By the way, you wrote above that it works correct in local environment. Does it work for all users in local environment?

Yes it's working fine in the local environment. Can you share the special settings that should be enabled? we'll check them.
Thanks.

I just wanted to add, that I have the exact same issue, just that I am trying to read emails:
Locally on my Laptop everything is fine (running the code on a websphere liberty server)
When deploying this server to the cloud (in my case ibm cloudfoundry instance) I also get:
microsoft.exchange.webservices.data.core.exception.service.remote.ServiceRequestException The request failed. The request failed. The remote server returned an error: (403)Forbidden

any solution for this ?

I got same error in AWS server, did you found any solution? Thanks in advance

I am also facing the same issue.. any solution?

Getting exactly the same error..... any timeline to get a solution for this?

hi
I stumbled upon this while trying to sync outlook emails in our application . while it works on local machine does work when the code is deployed on azure cloud
p. s it works when the application I used with O365 sso
any idea on the timeline to get this fixed

I'm facing the same Issue.
Request Trace:
EwsRequest - <Trace Tag="EwsRequest" Tid="30" Time="2021-06-07 20:57:37Z">
<?xml version='1.0' encoding='utf-8'?><soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:m="http://schemas.microsoft.com/exchange/services/2006/messages" xmlns:t="http://schemas.microsoft.com/exchange/services/2006/types"><soap:Header><t:RequestServerVersion Version="Exchange2010_SP2" /></soap:Header><soap:Body><m:CreateItem MessageDisposition="SaveOnly"><m:Items><t:Message><t:MimeContent CharacterSet="utf-8">[... redacted ...]</t:MimeContent></t:Message></m:Items></m:CreateItem></soap:Body></soap:Envelope>
</Trace>

Response Trace:
EwsResponseHttpHeaders - <Trace Tag="EwsResponseHttpHeaders" Tid="30" Time="2021-06-07 20:57:38Z">
403 null
X-Proxy-BackendServerStatus : 403
Server : Microsoft-IIS/10.0
X-Proxy-RoutingCorrectness : 1
X-CalculatedBETarget : ROAP284MB0014.BRAP284.PROD.OUTLOOK.COM
request-id : e957557f-6741-4a00-8a6b-9002aa27c794
X-RUM-Validated : 1
X-FEProxyInfo : ROAP284CA0067.BRAP284.PROD.OUTLOOK.COM
Date : Mon, 07 Jun 2021 20:57:38 GMT
X-CalculatedFETarget : ROAP284CU004.internal.outlook.com
X-BEServer : ROAP284MB0014
X-BackEndHttpStatus : 403
X-DiagInfo : ROAP284MB0014
Set-Cookie : exchangecookie=[redacted]; expires=Tue, 07-Jun-2022 20:57:38 GMT; path=/; secure; HttpOnly
X-BeSku : WCS6
X-FEServer : BL0PR0102CA0016
Content-Length : 0
X-Powered-By : ASP.NET
</Trace>

There isn't a response body, only headers.
Works fine locally, but not on remote server. Has anyone found a way around this?


Gitea keeps restarting after receiving SIGTERM

Description
Gitea service keeps receiving a SIGTERM and restart automatically. This repeats about every 90 seconds.
Gitea Version
1.19.3
Can you reproduce the bug on the Gitea demo site?
No
Log Gist
https://gist.githubusercontent.com/innostus/76c9de74d0a16d376b415607947ad1fe/raw/2385b231afc72dca2b456f6889fadb49429c1926/gitea.log
Screenshots
No response
Git Version
2.39.2
Operating System
debian 12
How are you running Gitea?
Used a binary download. Running by systemd.
Database
MySQL

Could you paste your system service file?

https://gist.githubusercontent.com/innostus/89f33d572167aada54d4463add52fff1/raw/cfc62547fdeccd8c68068f6296aabdbc966339f1/gitea.service

notify means that Gitea notifies systemd if and when it is ready.
And as the support for this protocol has only been added in 1.20, Gitea 1.19 never reports anything which makes systemd think something is wrong with the application and restarts it.

As @delvh  said. And a recent change of docs site is the source ref link can be changed via your chosed version. i.e. The link of the service file on https://docs.gitea.com/1.20/installation/linux-service will point to the file in branch release/v1.20.
I think we can close this now and feel free to reopen if it's still an issue.


'CLASS_DEF' should be separated from the previous line -  shouldn't be showing up

Open: https://hyperskill.org/learn/step/3007
Submit:

 class Phone {

    String ownerName;
    String countryCode;
    String cityCode;
    String number;

    public Phone(String ownerName, String number) {
        this.ownerName = ownerName;
        this.number = number;
    }

    public Phone(String ownerName, String countryCode, String cityCode, String number) {
        this.ownerName = ownerName;
        this.countryCode = countryCode;
        this.cityCode = cityCode;
        this.number = number;
    }
}

Shows code style error "CLASS_DEF' should be separated from the previous line" when the solution starts from the first line
The problem appeared recently

@darya-andreyeva I got another one - 'class def ident' has incorrect indentation level 1, expected level should be 0.
Which version of the hyperstyle do you use?
My issue is ok since you have a space before keyword class and it is a formatting issue

Could you please check if this task has a hidden template? Since the hyperstyle tool can not find this error if the file start from this class

I have checked it and this task probably has  hidden template
since if I use thick code:

class Phone {

    String ownerName;
    String countryCode;
    String cityCode;
    String number;

    public Phone(String ownerName, String number) {
        this.ownerName = ownerName;
        this.number = number;
    }

    public Phone(String ownerName, String countryCode, String cityCode, String number) {
        this.ownerName = ownerName;
        this.countryCode = countryCode;
        this.cityCode = cityCode;
        this.number = number;
    }
}

everything works fine. Probably you should add one new line in the template

@ksezha-dz if we disable this, then users won't get a valuable feedback for some other problems where it's appropriate.

I believe that there might be multiple tasks that now have this check but that's time-consuming to search for them manually.

But we can find it automatically.

Also, changing the templates doesn't guarantee that the settings won't be changed again in the future.

Agree.
I think it would be awesome to monitor the most common code style errors which users receive in each problem, and if some problems have a high number of identical style errors, then these problems should be updated.

@ksezha-dz I will think about how we can add monitoring for issues and discuss it with @vyahhi  later

@nbirillo okay, thank you! We would like to add that there are other checks that we'd like to skip, that are:

"Serializable" classes should have a "serialVersionUID"
MagicNumberCheck

Also, the following settings might be annoying when creating simple tasks:
class A { }

class B extends A {
    private int b;

    B(int b) {
        this.b = b;
    }
}

produces [CallSuperInConstructor] It is a good practice to call super() in a constructor.
Since the checker cannot know whether we really need to call super, it warns us just in case.
And the bug mentioned in the issue still persists:
::java17
::header
import java.util.*;

::code

class A { }

produces [EmptyLineSeparatorCheck] 'CLASS_DEF' should be separated from previous line.

@ksezha-dz MagicNumberCheck is INFO issue and does not influence the final grade. Should we disable it? I am not sure.... @vyahhi what do you think?
About serialVersionUID - I will disable it
CallSuperInConstructor is a best practice issue and in general, it is a useful issue for students. Moreover, this issue has medium difficulty and to my knowledge, in the future students will be able to choose the level of the code quality inspections. @vyahhi isn't?
About EmptyLineSeparatorCheck - could you please send a step example with this bag? Is it only for java17, right?

@nbirillo here's the problem that contains this bug: https://hyperskill.org/learn/step/12441

About EmptyLineSeparatorCheck - could you please send a step example with this bag? Is it only for java17, right?

This issue can be reproduced in Java 11, so it's not Java 17 specific

This problem is related to the creation of a file with the student's solution from the template on the platform. Therefore, we cannot fix it.


Events doesn't provide any arguments on callback and didn't work with chartEvents

Hi
I tried to set some events like it's explained here https://github.com/rakannimer/react-google-charts#listen-to-chart-events but nothing works.
First, you don't need to put events in chartEvents={chartEvents} but in events={chartEvents}. So I set the events in events, when the component mounts, it doesn't trigger the ready event, it only trigger it on update.
Secondly, there's no arguments provided in the callback. I created these events to test them:
const chartEvents = [
  {
    eventName: "select",
    callback() {
      console.log("Selected ", arguments, this);
    }
  },
  {
    eventName: "ready",
    callback() {
      console.log("Ready ", arguments, this);
    }
  }
];

Both event logs:

This is my complete code. Yes I know it's called BarChart, but I was just testing the wrapper.
import React from 'react';
import PropTypes from 'prop-types';
import { Chart } from "react-google-charts";

const chartEvents = [
  {
    eventName: "select",
    callback(...args) {
      console.log("Selected ", args, this);
    }
  },
  {
    eventName: "ready",
    callback(...args) {
      console.log("Ready ", args, this);
    }
  }
];
const data = [
  ["age", "weight"],
  [8, 12],
  [4, 5.5],
  [11, 14],
  [4, 5],
  [3, 3.5],
  [6.5, 7]
];

const options = {
  title: "Age vs. Weight comparison",
  hAxis: { title: "Age", viewWindow: { min: 0, max: 15 } },
  vAxis: { title: "Weight", viewWindow: { min: 0, max: 15 } },
  legend: "none"
};

function BarChart() {
  return (
    <div className="chart-container">
      <Chart
        chartType="ScatterChart"
        data={data}
        options={options}
        graphID="ScatterChartt"
        width="100%"
        height="400px"
        events={chartEvents}
        chartEvents={chartEvents}
      />
    </div>
  );
}

export default BarChart;

Hey @DWboutin,
Thanks for reporting ! You're absolutely right, can you try with version 2.0.15
I renamed it back to chartEvents and passed 3 arguments to the callback :
1 - Google Chart Wrapper
2 - Google from window (for access to any visualization method or class)
3 - Event args received from the event.
Cheers !

Thank you!


⚠ Bofrost.at has degraded performance

In d2dc356, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 1541 ms

Resolved: Bofrost.at performance has improved in 54ce65d.


Add text to note option in sharing context menu

As the title says. Add a "openJournal" icon to add whatever text is being shared in a shared context menu (i.e. sharing a link) into a note.

Just added with commit 1574219.


only use rules we can enforce for new spots on hitchmap

discuss what the goal shoul be
how we could enforce it through rules
what error we have to expect on the map to make the rule happen. e.g. 30m around features


MPG123 in songs

Description
If you're suggesting a new feature then just a description will suffice.

[x] Does this issue still occur in the master branch? (Required if issue)

Neofetch version
7.1.0
Config file
config.conf
Verbose log
pastebin

Run neofetch -vv 2> neofetchlog
Upload the contents of neofetchlog to pastebin, gist or equivalent.

mpg123 songs playing do not appear as a song


Add option to turn on [ render if only 1 page ]

Add option to turn on [ render if only 1 page ].
It's a good idea to not render if only 1 page, but when you test the page , that don't show anything,it hard to find out  that page is paged or not
I think it's a good idea to add a global setting in Startup class, when the Environment is Development  turn this on .

personally I can't see any good reason to ever show an empty (ul) pager, showing that doesn't prove paging is working and empty ul elements are actually not valid html. I certainly do not want to add any global variables that do that, then I will get bug reports from everyone using it in development.
but since you want to be able to show an empty pager I have just now added a setting that you can make on the pager itself
cs-suppress-empty-pager="false"

the default is true so if you want to show it when empty then you could set that false using your own global variable or whatever logic you choose. I just published the nuget for version 1.0.1-beta7 which has this new setting just for you

Thank you so much


Project panel positioning (Right ,Left)

Check for existing issues

[X] Completed

Describe the feature
Provide an option to dock Project panel to Right and Left, I really love it being on the Right side of the Layout as the code doesn't move toggling the project panel
If applicable, add mockups / screenshots to help present your vision of the feature

Hey, I'm almost sure this is a duplicate. On mobile, but this was requested pretty early. Let's try to unify.

exactly, this is the same as https://github.com/zed-industries/community/issues/287
please consider closing this one and 👍🏻 that other one so the visibility of this is on a single place


Cleanup secondary titles

Removes rake task that no longer works.  Adds SubtitleCleanupService to remove secondary titles from pubs if it is contained in the title.  Rake task and test for this.  Removes secondary title check in DoiVerificationService.  Removes a test that was testing this.

Niftany and tests are passing locally, at least.  Still working on getting CI working.

Does anything about this need to change? I have no idea - just asking to make sure that nothing gets accidentally overlooked.

Does anything about this need to change? I have no idea - just asking to make sure that nothing gets accidentally overlooked.

Good catch.  Yeah, this probably should be changed sooner rather than later.  I will add it to this PR.  Since the Pure imports are fixed to put the subtitle in the title, and the script in this PR will clean up the remaining issues with subtitles, we don't really need this anymore.  In fact, it could cause issues given how much deduplication is happening now.

@EricDurante This is done and ready for review whenever you get a chance.


Added caching option

This is in relation to:
https://github.com/PerplexInternetmarketing/Perplex-Umbraco-Forms/issues/6
Added a configurable option to cache the node collection serverside.

Hi James,
Thank you for your pull request!
I do feel you are adding a lot of code for just caching some tree nodes though, I'm hesitant to merge stuff like that ArrayExtensions class when the same can be achieved with a simple for loop instead, which does not require that entire file.
Same with the CacheService, could you perhaps try if the same can be achieved using Umbraco's ApplicationContext.Current.ApplicationCache? That would cut away so much code so we can focus on the actual issue.
About that, it seems you are caching the result of FormTreeController.GetTreeNodes, which is an Umbraco Forms class, so am I right in asserting that this issue also affects default Umbraco Forms without our extension? In that case it would perhaps even be wise to submit this report to the Forms Core team directly, then everybody can enjoy the speed-up.
I will be unavailable in the coming 2 weeks but will look also have a look at slowdowns after that, I also enjoy good performance so any speed-ups are definitely appreciated :-)!

Hi James,
Thanks for contributing, it's really appreciated!
Just out of curiosity: the pull request is fixing the fact that the forms are rendered slow? Can you give an indication of how many forms you have and how slow the experience is?
Regards,
Jeffrey

Hi @PerplexDaniel,
I have refactored the code to use the Appcontext and minimized the changes.
It is an inherent issue with Umbraco Forms but they have no concept of folders so it's not really as much of a concern for them. I will raise it with them as well but usually they take forever with these feature requests.
As a Perplex user it has become very unperformant without caching and in regards to your question @JeffreyPerplex we have about a thousand forms in the system in production and it takes around 2-3 minutes to expand a folder. I have tested with the cache in place and it's so much faster on subsequent folder usage and it would help the editors greatly with frequently accessed sections.
Please review it again and consider adding it to Perplex.
Regards,
James

@jameskimsca Great! As mentioned I was gone for 2 weeks, but am back now and will have a look at this sometime later this week. If all is well I can then release a new version of our package. In the meantime you can of course build the solution with your code to already have the improved performance for your clients.
Good that you also bring it up with Umbraco though, as it seems they should fix the core issue instead so even the first load will be fast.

@jameskimsca
I just checked out the PR. Caching of forms seems to work fine, but there were some issues with folders. Creating a folder, sorting stuff within a folder, or deleting a folder (and possibly other operations) do not clear the cache. This would need to be added as well before it is actually usable, as is this breaks all folder-related operations so I unfortunately cannot merge this one in right away.
Could you have a look at that?  For example:

Add Form
Add Folder (right click on root Forms node > Create Folder)
Observe that the Folder is not visible in the tree due to the cache not being updated.
Add another Form (to clear cache)
Folder of step 3 is now visible.

Same applies to other folder operations like delete / sort etc.
Oh, and also when renaming a form the name in the tree does not update.


test: Run ApiIntegrationTests with embeddedKafka

For some reason, I am not able to get the integration test running locally with DockerComposeContainer. Running the docker-compose file manually poses no issue.
This runs the same test, however with an embeddedkafka.
As this does not use the docker container of the application anymore, this test functions differently and to release the docker image, the image must be build explicitly.
If this change is fine, I will add the same setup for amqp/rabbitmq. I can also keep this in my fork, if this breaks your workflow.

I guess it will help contributors who are less familiar with docker to contribute to the project.
It does not break the flow, I just wonder if we should leave the docker compose tests as well. I also wonder if anybody uses it at all - I wanted to provide a quick peek for potential users, but I don't really know if people use it at all. I can see the download statistics on the docker image but it may well be the CI downloading them.

I noticed, that the docker image is build locally and tests are run against it.
Therefore, I decided to add keep the ApiIntegrationTests as ApiIntegrationWithDockerTests. For people who are unable to run them, I added the note regarding disabeling them locally.
I also just added the same for amqp.


Do not block decoder thread

block decode thread will make user's life complicate.Many issues related to this
https://github.com/01org/libyami/issues/493
https://github.com/01org/libyami/issues/564
remove it will make our code clear too.  This commit break v4l2 decoder, we will fix it later. The pull request will pending after v4l2 related code review done

@YuJiankang any update on this?thanks

lgtm +1

Although this will break v4l2decoder, but many patches depend on this. So I  merge it firstly.

verify + 1


⚠ Samsung has degraded performance

In 0e74e2e, Samsung (https://samsung.com) experienced degraded performance:

HTTP code: 200
Response time: 2334 ms

Resolved: Samsung performance has improved in 6ac84d8.


Google fonts thickness settings

Issue description:
Hi,
First, thanks for your plugin :)
I have some problems with the typography settings : I would like to use the “Raleway” Google Font in very thin letters (100) as in the google font website preview, but this typography looks like to be in normal thick (400) or bold whatever I do, even if I am using a CSS custom plugin where I wrote :
h1 {font-size:60px;font-weight:100;font-family: ‘Raleway’, sans-serif; text-transform: none;
}
And letters are thicker if I use :
h1 {
font-size:60px !important;
font-weight:100 !important;
font-family: ‘Raleway’, sans-serif !important;
text-transform: none !important;
}
I am not really sure but I seem to remember the thickness option was available in a previous version for the Raleway google font.
Do you have an idea to solve this problem ?
Thanks !
Version used: 2.3.2
(Did you try using the develop branch from github? There's a chance your issue has already been adressed there) yes
Using theme_mods or options? Quidus QerraPress Version : 2.134
Code to reproduce the issue (config + field(s))

Are you using the typography control?
Did you check the docs on https://kirki.org/docs/controls/typography#examples ?
Can you please post your code here?

Closing due to inactivity.
The font-thickness works via the variants dropdown


Why do "CLEANUP - Admin | Sync Template v3 (Connection Status)" and "CLEANUP - Admin | Sync Template v3 (Orphaned Makers)" fail?

After installing the CoE kit several times I noticed that "CLEANUP - Admin | Sync Template v3 (Connection Status)" and "CLEANUP - Admin | Sync Template v3 (Orphaned Makers)" were failing to run when turned on. The error message was "'FlowMissingConnection': The flow is missing a connection for the api 'shared_powerappsforadmins'". Naturally, this led me to inspect each of those flows. Turns out there are no connections listed under Connection References. As I understand it, each of these flows is supposed to run weekly, which means they're not essential to getting the kit setup but are going to leave us blind at some point (or worse). Is this condition of these connectors expected? If not, how can I fix them? CoE Core Components solution version 1.89 (from 2 Feb 2021). Note I am working in a personal dev environment  and not my company's prod, and so am free to experiment.

Recreated over in appropriate issues area.


[BUG] Unable to modify quota of Subaccount Entitlement

Is there an existing issue for this?

[X] I have searched the existing issues

What version of the Terraform provider are you using?
1.8.0
What version of the Terraform CLI are you using?
1.9.8
What type of issue are you facing
bug report
Describe the bug
Received the following error when trying to scale down a service entitlement in a given subaccount:
module.production-core-infra.btp_subaccount_entitlement.aicore: Still modifying... [id=<REDACTED>, 30s elapsed]
╷
│ Error: Provider produced inconsistent result after apply
│
│ When applying changes to module.production-core-infra.btp_subaccount_entitlement.aicore, provider "provider[\"registry.terraform.io/sap/btp\"].agent-production" produced an unexpected new value: .amount: was
│ cty.NumberIntVal(1), but now cty.NumberIntVal(2).
│
│ This is a bug in the provider, which should be reported in the provider's own issue tracker.
╵

Expected Behavior
Being able to scale down the quota of a service entitlement, if I consider that is not needed.
Steps To Reproduce

Verify the entitlement quota for the service that we want to scale down:

❯ btp --format json list accounts/entitlement | jq ' .quotas[] | select(.service=="aicore")'
{
  "service": "aicore",
  "plan": "sap-internal",
  "uniqueIdentifier": "NA",
  "quota": 2,
  "unlimited": false,
  "provisioningMethod": "SERVICE_BROKER",
  "serviceCategory": "ELASTIC_SERVICE",
  "resources": []
}

Verify that the actual quota is the one in the Terraform state:

❯ terraform state show module.production-core-infra.btp_subaccount_entitlement.aicore
# module.production-core-infra.btp_subaccount_entitlement.aicore:
resource "btp_subaccount_entitlement" "aicore" {
    amount        = 2
    category      = "ELASTIC_SERVICE"
    created_date  = "2024-09-27T09:36:44Z"
    id            = "<REDACTED>"
    last_modified = "2024-11-04T15:28:07Z"
    plan_id       = "<REDACTED>"
    plan_name     = "<REDACTED>"
    service_name  = "aicore"
    state         = "OK"
    subaccount_id = "<REDACTED>"
}

Reduce the quota in the Terraform script:

resource "btp_subaccount_entitlement" "aicore" {
  subaccount_id = btp_subaccount.infrastructure.id
  service_name  = "aicore"
  plan_name     = "sap-internal"
  amount        = 1
}

Apply changes and received the following error:

module.production-core-infra.btp_subaccount_entitlement.aicore: Still modifying... [id=<REDACTED>, 30s elapsed]
╷
│ Error: Provider produced inconsistent result after apply
│
│ When applying changes to module.production-core-infra.btp_subaccount_entitlement.aicore, provider "provider[\"registry.terraform.io/sap/btp\"].agent-production" produced an unexpected new value: .amount: was
│ cty.NumberIntVal(1), but now cty.NumberIntVal(2).
│
│ This is a bug in the provider, which should be reported in the provider's own issue tracker.
╵

User's Role Collections

Global Account Administrator
Subaccount Administrator

Add screenshots to help explain your problem
No response
Additional context
No response

Okay, further research shows that the problem is that some services (as in this case aicore) have what is called a non-numeric quota; and the quota of the service is shared across the whole Global Account without being able to establish anything at subaccount level:

A fixed quota for this plan is provided to your global account; however, this amount is available to every subaccount or managed directory to which you assign the plan. There is no manual distribution of this quota.
To make this plan available for use in a subaccount, you must assign this plan to the subaccount, without specifying an actual amount (also known as "non-numeric assignment").

Maybe could we do something so there isn't such a weird error on the Terraform side?

@dacamposol how did you create the entitlement for the AI Core service? If it is an ELASTIC_SERVICE which has no quota and must be assigned differently than the services with a quota, which the provider steer via getting a quota or not.
If the entitlement was done via Terraform with a quota, the AICORE service is implementing the service broker in a wrong way as this should result in an error if a quota is supplied 😕
Long story short: the situation you are running into could/should not happen, the error would be happening in the initial assignment of the entitlement already.

@dacamposol how did you create the entitlement for the AI Core service? If it is an ELASTIC_SERVICE which has no quota and must be assigned differently than the services with a quota, which the provider steer via getting a quota or not. If the entitlement was done via Terraform with a quota, the AICORE service is implementing the service broker in a wrong way as this should result in an error if a quota is supplied 😕
Long story short: the situation you are running into could/should not happen, the error would be happening in the initial assignment of the entitlement already.

I indeed imported my already existing infrastructure to Terraform, so that's why I didn't received that error beforehand. In order to import my resources, I used the same data that was provided by the BTP CLI.
When I imported this resource to my state, I had the block defined with a quota of 2, which was the original result from querying the CLI. It didn't complain and it never failed to apply the IaC up until I tried to scale it down. Probably since this value never changed, I didn't realise the incompatibility.

I analyzed the setup:

As this is an elastic service, the behavior per se is correct, as this service has no numeric quota.
The amount of the quota that is returned by the platform seems to be a generic mechanism using the value that was set in the BTP control center (available SAP-internally only) when setting up the global account.

To resolve the situation, please execute a re-import via the following steps:

remove the state for the entitlement via terraform state rm <address of the resource>
adjust the Terraform configuration, namely remove the quota attribute
create an import block like: import {
   to = <address of the resource>
   id = "<ID of your subaccount>,aicore,sap-internal"
 }

Execute the import via terraform plan/terraform apply


Feat /  Add Uniswap to gateway

I added a commit which:

Addresses https://github.com/CoinAlpha/hummingbot/issues/2656: moves the Balancer and Uniswap addresses into their respective files, so we can delete the EXCHANGE_PROXY and UNISWAP_ROUTER constants in the Gateway installation script.
Uses the number of swaps utilized by Balancer to set the gas limit dynamically. The Balancer price and trade functions now have an optional parameter maxSwaps that sets the number of swaps used.

Smaller traders would use a small maxSwaps number because they care more about gas costs, while larger traders would use a high maxSwaps because they want the best price and don't care about gas as much. We should factor this calculation into the client profitability calculation as well:
const GAS_BASE = 200000;
const GAS_PER_SWAP = 100000;
const gasLimit = GAS_BASE + MAX_SWAPS * GAS_PER_SWAP

Sorry @vic-en for trampling all over your PR... I should have created a separate branch for the last 2 commits. I don't think they affected the Uniswap part of the code, but feel free to roll them back if you want.
I think the buy function in Uniswap may still throw an error, though I was testing using Postman and not with the client.

Sorry @vic-en for trampling all over your PR... I should have created a separate branch for the last 2 commits. I don't think they affected the Uniswap part of the code, but feel free to roll them back if you want.
I think the buy function in Uniswap may still throw an error, though I was testing using Postman and not with the client.

I figured it. I'd push a commit to address that.


Add pull request data to interceptor response

For github events, add:

$(extensions.pullRequest.changeNumber)

For gitlab events, add:

$(extensions.pullRequest.changeNumber)
$(extensions.pullRequest.headRef)

Done.


fix maven-javadoc-plugin

@andreaturli I'm going to close this and commit a different version of the pom.xml file with this change. Unfortunately your commit ca22aa76b585d1e0f1b1fea09fa5b9063c7556c2 broke the formatting of the file...

Sorry about that, I wont use github editor anymore


District Name Mismatch between Table and Map for Dahod, Gujarat

Describe the bug
Mismatch of spell for District Dahod  in Gujarat between table and map ( District no being Highlighted )
To Reproduce

Open Table of Gujarat
Look for Dahod District
Click on Gujarat Map
Click on Dahod district on Map ( No. of cases shown is 0 and map is not been highlighted even though the district has reported cases as per table)

Expected behavior

District map should be highlighted
No of cases should be displayed above the map

Screenshots

Desktop (please complete the following information):

OS: Windows 10
Browser Chrome
Version  81.0.4044.92

Smartphone (please complete the following information):

Device: iPhone XS
OS: IOS 13.2.3
Browser Chrome
Version 77.0.3865.69

@jeremyphilemon
I have fixed this issue and I would love to contribute to the project.
Unable to publish my branch please grant me permission.

@jeremyphilemon I have fixed it on my local

Fixed via #1704


Build: build step takes a long time, causing Netlify deploys to fail

Our Netlify deploys are currently failing, and I believe it's due to the fact that we're now bundling ESLint in our build step, causing the Netlify build to time out. The bundling takes a long time locally as well (I think this is due to babel-loader having to be run on src/js/demo/node_modules/*). By adding sleep 500 to the build step, I was able to see the full logs in the Netlify deploy console, and it looks like it's succeeding.
I've contacted Netlify support to see if there's a better way we can increase the timeout duration as a short term fix. Long term, we've discussed moving the website release scripts into this repo in the past, and doing so could allow us to build ESLint as part of the release script and commit it into this repo for reuse. This potentially makes the bundle bigger in the future (when shipping ESM packages is more common and Webpack can do more effective tree-shaking), but I don't think has much effect now.
I'm not seeing the bundling step take so long after updating dependencies, but I'm still seeing failures. Will keep digging.

As an interim solution, I have temporarily changed the Netlify deploy script from npm run build to npm run build:eleventy && npm run build:less && npm run build:webpack && sleep 500, which prevents it from timing out.

Since https://github.com/eslint/website/pull/690 was merged, builds seem to have stabilized. Closing this but will be keeping an eye on builds.


Trouble setting up

Hey there!
I wanted to look into using spotifypiHome in my home, using one rpi as both a server and client, and another rpi as a client. I ran serverInstall.sh and then clientInstall.sh on the server client, but the rpi doesn't show up on spotify or Bluetooth from my phone.
I was wondering what, if anything I am doing wrong?
Thanks

Hello!
I have the same setup in my place.
Could you give more details about:

Wich Raspbian OS (name and version) are you using.
which device Bluetooth are you trying to connect? In other words, are
you trying to connect to the client node Bluetooth or the server node
Bluetooth?

Em qua., 15 de dez. de 2021 16:42, isaa_ctaylor @.***>
escreveu:

Hey there!
I wanted to look into using spotifypiHome in my home, using one rpi as
both a server and client, and another rpi as a client. I ran
serverInstall.sh and then clientInstall.sh on the server client, but the
rpi doesn't show up on spotify or Bluetooth from my phone.
I was wondering what, if anything I am doing wrong?
Thanks
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/jgabriel98/spotifypiHome/issues/8, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AJBAQ7OFH24SME5SBNQYYWTURDVRFANCNFSM5KEPYHNQ
.

I am running on rasbian 10, Buster. I am trying to connect to the server bluetooth.

I'm going to try flashing my rpi and starting with a fresh installation of the os, with nothing changed, and see if that works

I tried with a fresh Bullseye installation
I followed the following steps:

run sudo apt install -y --no-install-recommends alsa-base alsa-utils bluez-tools
run wget https://github.com/jgabriel98/spotifypiHome/archive/refs/tags/v2.0.0.tar.gz && tar -xf v2.0.0.tar.gz spotifypiHome-2.0.0 && cd spotifypiHome-2.0.0 && sudo ./serverInstall.sh --no-shairport && sudo ./clientInstall.sh

After this, it doesn't show up on spotify devices list, or Bluetooth devices on my phone.
Could you share how you installed, and if I did something wrong?
PS: I also noticed that it says that bluealsa was not found, and trying to run bluealsa from the command line, I get bash: bluealsa: command not found
I hope this is useful, thanks for your earlier speedy reply

sorry for the wait. I was kinda busy.
yeah, it was vey usefull. There's two possibilities i can think of:

I removed bluealsa from the dependencies and didn't check. So try to run sudo apt install bluealsa and do step 2. again.
You're using raspbian 11 bullseye, and this OS doesn't have bluealsa anymore (see this similar project readme begin). For that you can

use a raspberry OS 10. But i can't guarantee spotify working, since raspotify updated to use raspberry OS 11 bullseye. From what i remember, i've only got some complains in the raspotify.service logs, but it seemed to be fine.
wait for me to get a workarround (probably i will use pipewire or pulseaudio to get bluetooth functionality). But this probably will take some time, since it would replace all the audiobackend. (Maybe a week to replace? idk)

Anyway, now i need to remind myself to update the readme about those OS conflicts.

Update: Just found some examples to use pulseaudio for bluetooth input, i'm gona take a look this weekend, and hopefully get it back working.

I will have another go with buster later today

It's working!
I installed a fresh buster image, and it all works!
I suggest adding bluealsa to the Bluetooth install packages in the readme, and maybe a note about connecting with Bluetooth using bluetoothctl
Thanks for the advice

Good to know!
just a question, you couldn't connect with bluetooth without bluetoohctl? for what i remember i've fixed it (issue #3)

It may have just been my impatience, but it didn't seem to work just trying to pair without having to do anything with the pi. After pairing however, it connects just fine

Thanks for letting me know
i'll take some time to do a fresh install and test the bluetooth (currently i'm on debian 11 bullseye, which doesn't have bluealsa anymore :/)


Updated jenkinsfile

Should resolve multiple jenkins jobs of same commit hash issues.

Coverage decreased (-0.007%) to 52.439% when pulling edcc2c3fdd8657be2f00380c640630e92522ba9b on ayk33:master into 8373c6765daf15573cd5b111cd142bd8cb77cb91 on locationtech:master.

Coverage decreased (-0.007%) to 52.439% when pulling edcc2c3fdd8657be2f00380c640630e92522ba9b on ayk33:master into 8373c6765daf15573cd5b111cd142bd8cb77cb91 on locationtech:master.


Import DSL files as if they were written in TypeScript

The idea is to allow custom NodeJS import for domain-specific languages made with Langium. If Langium is the Xtext for the web, I think this would be a nice step to use it seamlessly. Here is an example…
Let's imagine a statemachine language with a file TrafficLight.dsl. We could import it with
import StateMachine, {Red, Green, Yellow} from "./TrafficLight.dsl";
and execute it directly in TypeScript, like myDslSysLib.execute(StateMachine). So the content of the DSL file creates statically typed concepts.
There are some times where I wished I had something like this. Of course you can put a TypeScript generation inbetween and debug then the generated code… but jumping to the DSL definition would be also nice.

[ ] add tracing to a generator node API
[ ] implement a JS map file generator for captured tracings

It should be possible to do something like this by generating .js, .js.map, .d.ts and .d.ts.map files. But I'm not sure how tsc and the TypeScript editor would behave, we should try.

We could create a new package for this, adding support for generating map files. I'm not sure how much we can do in general for the typings. Does the typescript package offer some API that we can use to build an in-memory type model and serialize it to .d.ts?

Since we already have a source-maps compatible generator, I'm not sure we can add more here for adopters. In the end, adopters would need to write a bundler plugin that transforms the import into compatible JavaScript.


Bugfix: scan can go into an infinite loop when used with multi-az cluster

The bug fix isn't with the cursor handling directly, it's with other contributing factors such as the retry policy (if RetryNTimes is used), not taking any action when the local rack is not picked up, not being able to set the count as a scan parameter, etc.
This PR also modifies the demo test app. I split out the properties it expects into a file and some enforcement. Also added the ability to toggle between netflix prod + test for discovering dynomite clusters.

LGTM!


Version 2.3 works but Version 2.8 does not

I was having an issue with my Lumia 950 (059X4D5 RM-1105). Windows Phone Internals version 2.8 went through the normal steps of looking for a flash profile, but NEVER found it. And gave an error message at the end.
After several failed attempts, and trying to unlock bootloader, I decided to try different versions of WP Internals.
When I got to version 2.3, it worked flawlessly, and went straight into flash mode.
Before I did anything else, I tried 2.8 again to make sure it was not a coincident.
It had the same problem.
Switched back to version 2.3 again, and it worked the first attempt just like the first time.
Just wanted to report this, in case anyone else was having an issue similar to mine.

Can you please clear the log file under \ProgramData\WPinternals\WPinternals.log, and re-attempt the unlock process using this build?
In case of failure I would need you to send the log file here for analysis from this version.
WPinternals - 2.9.7303.14138.zip
Thank you in advance.

Hi,
Are you able to try with the new version? We didn't hear back from you yet, we might have to close this issue as a result in a few days.
Thanks!
(New version: https://github.com/ReneLergner/WPinternals/releases/tag/2.9)

Hey @gus33000 , I'm actually facing the same issue at the moment.
Yesterday, I went through all unlock steps, however the phone was already unlocked. I didn't reflash it.
However, today, nothing seems to really work, so I flashed the original ffu, but no unlocking doesn't work.
I'll try again and give you the logs.

Here are the logs:
WPInternals.log

I tried to different PCs, two cables, and all USB ports I have :D

Please try using WPinternals 3.0 preview 3, if the issue persists, please file a new issue


feat: #345 - Allow cluster scoped related resources for namespace…

Adding wildcards and no names to be added freely inside manager.go inside matchesRelatedRule(parent,related,relatedRessource) function

hi @Ragatzino , thanks for the PR, will look around weekend. For sure  missing part is a documentation (https://github.com/metacontroller/metacontroller/blob/master/docs/src/api/customize.md need updating )

Closing as it would cause an API break atm


@conda-forge-admin please rerender

@conda-forge-admin please rerender

Hi! This is the friendly automated conda-forge-webservice.
I just wanted to let you know that I rerendered the recipe in conda-forge/sphinx-astropy-feedstock#13.


Trying to get property 'column' of non-object

Laravel Version: 7.4.0
PHP Version: 7.4.2
Database Driver & Version: MariaDB 10.4.11

Description:
When i paginate a complex data, sometimes an error occurs.
Example:
$messages = Message::with(['user'])
                ->has('user')
                ->paginate(10);

foreach ($messages as $message) {
    echo $message->user->username;
}

Error:
 Trying to get property 'username' of non-object
I think if message query when takes long time, secondary belongsTo query finally fetching and this error occurs if user deleted own account in this message query process time.
See query logs:
select count(*) as aggregate from `messages` where exists (select * from `users` where `messages`.`user_id` = `users`.`id`)

select * from `messages` where exists (select * from `users` where `answers`.`user_id` = `users`.`id`) order by `created_at` desc limit 10 offset 0

select * from `users` where `users`.`id` in (495196, 594289, 874093, etc...)

Steps To Reproduce:
Can be combine messages data(hasMany) and user data(belongsTo) fetching queries?

Without a clear way to reproduce this there is nothing actionable here.


Grouping and Tabs support

Resolves #11
Resolves #12

Codecov Report
Attention: Patch coverage is 79.13043% with 72 lines in your changes missing coverage. Please review.

Project coverage is 77.48%. Comparing base (bbd080e) to head (a639ef6).

Files
Patch %
Lines

src/components/Table/Table.tsx
44.00%
14 Missing :warning:

src/hooks/useTable.tsx
40.90%
13 Missing :warning:

src/components/ColumnEditor/ColumnEditor.tsx
36.84%
12 Missing :warning:

src/components/TablePanel/TablePanel.tsx
60.00%
11 Missing and 1 partial :warning:

src/utils/group.ts
52.94%
7 Missing and 1 partial :warning:

src/components/ColumnsEditor/ColumnsEditor.tsx
93.54%
4 Missing :warning:

src/hooks/useLocalStorage.ts
75.00%
3 Missing and 1 partial :warning:

src/module.ts
60.00%
2 Missing :warning:

src/components/CellRenderer/CellRenderer.tsx
66.66%
1 Missing :warning:

...rc/components/CellRenderer/DefaultCellRenderer.tsx
66.66%
1 Missing :warning:

... and 1 more

Additional details and impacted files
@@             Coverage Diff             @@
##             main      #17       +/-   ##
===========================================
+ Coverage   62.99%   77.48%   +14.48%
===========================================
  Files          19       30       +11
  Lines         127      413      +286
  Branches       12       88       +76
===========================================
+ Hits           80      320      +240
- Misses         45       87       +42
- Partials        2        6        +4

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


Add delete payment method

Made the following changes:

Added test case for delete payment method endpoint
Added delete payment method in 'routes.py

@nedjulius Thanks! I've modified and updated those issues!