RuntimeError: FlashAttention only supports Ampere GPUs or newer - despite asking it to disable flash_attention

Disclaimer: Github Issues are only for code related bugs. If you do not understand how to startup or use TabbyAPI, please ask in the Discord Server
Describe the bug
"no_flash_attention: True" in the config file is seemingly ignored
To Reproduce
Steps to reproduce the behavior:
1. export TORCH_CUDA_ARCH_LIST="6.0 6.1 7.0 7.5 8.0 8.6 8.7 8.9"
2. re-build exllamav2 0.1.5 (main): pip install --force-reinstall --no-cache-dir -r requirements.txt && pip install --force-reinstall --no-cache-dir .
3. re-build tabbyAPI (main):  pip install --upgrade --no-cache-dir --force-reinstall .[cu124]

Expected behavior
The model should load successfully without flash_attention on hardware older than Ampere.
** config **
# Sample YAML file for configuration.
# Comment and uncomment values as needed. Every value has a default within the application.
# This file serves to be a drop in for config.yml

# Unless specified in the comments, DO NOT put these options in quotes!
# You can use https://www.yamllint.com/ if you want to check your YAML formatting.

# Options for networking
network:
  # The IP to host on (default: <IP_ADDRESS>).
  # Use <IP_ADDRESS> to expose on all network adapters
  host: <IP_ADDRESS>

  # The port to host on (default: 5000)
  port: 5000

  # Disable HTTP token authenticaion with requests
  # WARNING: This will make your instance vulnerable!
  # Turn on this option if you are ONLY connecting from localhost
  disable_auth: False

# Options for logging
logging:
  # Enable prompt logging (default: False)
  prompt: False

  # Enable generation parameter logging (default: False)
  generation_params: False

# Options for sampling
sampling:
  # Override preset name. Find this in the sampler-overrides folder (default: None)
  # This overrides default fallbacks for sampler values that are passed to the API
  # Server-side overrides are NOT needed by default
  # WARNING: Using this can result in a generation speed penalty
  #override_preset:

# Options for development and experimentation
developer:
  # Skips exllamav2 version check (default: False)
  # It's highly recommended to update your dependencies rather than enabling this flag
  # WARNING: Don't set this unless you know what you're doing!
  #unsafe_launch: False

  # Disable all request streaming (default: False)
  # A kill switch for turning off SSE in the API server
  #disable_request_streaming: False

  # Enable the torch CUDA malloc backend (default: False)
  # This can save a few MBs of VRAM, but has a risk of errors. Use at your own risk.
  #cuda_malloc_backend: False

# Options for model overrides and loading
model:
  # Overrides the directory to look for models (default: models)
  # Windows users, DO NOT put this path in quotes! This directory will be invalid otherwise.
  model_dir: /home/derp/exl2-models/

  # An initial model to load. Make sure the model is located in the model directory!
  # A model can be loaded later via the API.
  # REQUIRED: This must be filled out to load a model on startup!
  #model_name: command-r-plus-103B-exl2/
  model_name: llama-3-8B-iterative-DPO-final-exl2

  # Sends dummy model names when the models endpoint is queried
  # Enable this if the program is looking for a specific OAI model
  #use_dummy_models: False

  # The below parameters apply only if model_name is set

  # Max sequence length (default: Empty)
  # Fetched from the model's base sequence length in config.json by default
  #max_seq_len:

  # Overrides base model context length (default: Empty)
  # WARNING: Don't set this unless you know what you're doing!
  # Again, do NOT use this for configuring context length, use max_seq_len above ^
  # Only use this if the model's base sequence length in config.json is incorrect (ex. Mistral 7B)
  #override_base_seq_len:

  # Automatically allocate resources to GPUs (default: True)
  # NOTE: Not parsed for single GPU users
  gpu_split_auto: False
  #gpu_split_auto: True

  # Reserve VRAM used for autosplit loading (default: 96 MB on GPU 0)
  # This is represented as an array of MB per GPU used
  #autosplit_reserve: [2048,2048,2048,1024,1024]

  # An integer array of GBs of vram to split between GPUs (default: [])
  # NOTE: Not parsed for single GPU users
  gpu_split: [0,0,0,16,0]

  # Rope scale (default: 1.0)
  # Same thing as compress_pos_emb
  # Only use if your model was trained on long context with rope (check config.json)
  # Leave blank to pull the value from the model
  #rope_scale: 1.0

  # Rope alpha (default: 1.0)
  # Same thing as alpha_value
  # Leave blank to automatically calculate alpha
  #rope_alpha: 1.0

  # Disable Flash-attention 2. Set to True for GPUs lower than Nvidia's 3000 series. (default: False)
  #no_flash_attention: False
  no_flash_attention: True

  # Enable different cache modes for VRAM savings (slight performance hit).
  # Possible values FP16, FP8, Q4. (default: FP16)
  #cache_mode: FP16

  # Chunk size for prompt ingestion. A lower value reduces VRAM usage at the cost of ingestion speed (default: 2048)
  # NOTE: Effects vary depending on the model. An ideal value is between 512 and 4096
  #chunk_size: 2048

  # Set the prompt template for this model. If empty, attempts to look for the model's chat template. (default: None)
  # If a model contains multiple templates in its tokenizer_config.json, set prompt_template to the name
  # of the template you want to use.
  # NOTE: Only works with chat completion message lists!
  #prompt_template:

  # Number of experts to use PER TOKEN. Fetched from the model's config.json if not specified (default: Empty)
  # WARNING: Don't set this unless you know what you're doing!
  # NOTE: For MoE models (ex. Mixtral) only!
  #num_experts_per_token:

  # Enables CFG support (default: False)
  # WARNING: This flag disables Flash Attention! (a stopgap fix until it's fixed in upstream)
  #use_cfg: True

  # Enables fasttensors to possibly increase model loading speeds (default: False)
  #fasttensors: true

  # Options for draft models (speculative decoding). This will use more VRAM!
  #draft:
    # Overrides the directory to look for draft (default: models)
    #draft_model_dir: models

    # An initial draft model to load. Make sure this model is located in the model directory!
    # A draft model can be loaded later via the API.
    #draft_model_name: A model name

    # Rope scale for draft models (default: 1.0)
    # Same thing as compress_pos_emb
    # Only use if your draft model was trained on long context with rope (check config.json)
    #draft_rope_scale: 1.0

    # Rope alpha for draft model (default: 1.0)
    # Same thing as alpha_value
    # Leave blank to automatically calculate alpha value
    #draft_rope_alpha: 1.0

  # Options for loras
  #lora:
    # Overrides the directory to look for loras (default: loras)
    #lora_dir: loras

    # List of loras to load and associated scaling factors (default: 1.0). Comment out unused entries or add more rows as needed.
    #loras:
    #- name: lora1
    #  scaling: 1.0

Logs
~/tabbyAPI$ python3 main.py --config ./config.yml
INFO:     Attempting to override config.yml from args.
INFO:     ExllamaV2 version: 0.1.5
INFO:     Your API key is: xxx
INFO:     Your admin key is: xxx
INFO:
INFO:     If these keys get compromised, make sure to delete api_tokens.yml and restart the server. Have fun!
INFO:     Generation logging is disabled
WARNING:  An unsupported GPU is found in this configuration. Switching to compatibility mode.
WARNING:  This disables parallel batching and features that rely on it (ex. CFG).
WARNING:  To disable compatability mode, all GPUs must be ampere (30 series) or newer. AMD GPUs are not supported.
INFO:     Attempting to load a prompt template if present.
INFO:     Using template "from_tokenizer_config" for chat completions.
INFO:     Loading model: /home/derp/exl2-models/llama-3-8B-iterative-DPO-final-exl2
INFO:     Loading with a manual GPU split (or a one GPU setup)
Loading model modules ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 100% 67/67 0:00:00
Traceback (most recent call last):
  File "/home/derp/tabbyAPI/main.py", line 121, in <module>
    asyncio.run(entrypoint())
  File "/home/derp/.conda/envs/exllamav2/lib/python3.11/asyncio/runners.py", line 190, in run
    return runner.run(main)
           ^^^^^^^^^^^^^^^^
  File "/home/derp/.conda/envs/exllamav2/lib/python3.11/asyncio/runners.py", line 118, in run
    return self._loop.run_until_complete(task)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/derp/.conda/envs/exllamav2/lib/python3.11/asyncio/base_events.py", line 654, in run_until_complete
    return future.result()
           ^^^^^^^^^^^^^^^
  File "/home/derp/tabbyAPI/main.py", line 109, in entrypoint
    await model.load_model(model_path.resolve(), **model_config)
  File "/home/derp/tabbyAPI/common/model.py", line 79, in load_model
    async for _ in load_model_gen(model_path, **kwargs):
  File "/home/derp/tabbyAPI/common/model.py", line 58, in load_model_gen
    async for module, modules in load_status:
  File "/home/derp/tabbyAPI/backends/exllamav2/model.py", line 490, in load_gen
    async for value in iterate_in_threadpool(model_load_generator):
  File "/home/derp/tabbyAPI/common/concurrency.py", line 30, in iterate_in_threadpool
    yield await asyncio.to_thread(gen_next, generator)
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/derp/.conda/envs/exllamav2/lib/python3.11/asyncio/threads.py", line 25, in to_thread
    return await loop.run_in_executor(None, func_call)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/derp/.conda/envs/exllamav2/lib/python3.11/concurrent/futures/thread.py", line 58, in run
    result = self.fn(*self.args, **self.kwargs)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/derp/tabbyAPI/common/concurrency.py", line 20, in gen_next
    return next(generator)
           ^^^^^^^^^^^^^^^
  File "/home/derp/.conda/envs/exllamav2/lib/python3.11/site-packages/torch/utils/_contextlib.py", line 56, in generator_context
    response = gen.send(request)
               ^^^^^^^^^^^^^^^^^
  File "/home/derp/tabbyAPI/backends/exllamav2/model.py", line 649, in load_model_sync
    self.model.forward(input_ids, cache=self.cache, preprocess_only=True)
  File "/home/derp/.conda/envs/exllamav2/lib/python3.11/site-packages/torch/utils/_contextlib.py", line 115, in decorate_context
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
  File "/home/derp/.conda/envs/exllamav2/lib/python3.11/site-packages/exllamav2/model.py", line 792, in forward
    r = self.forward_chunk(
        ^^^^^^^^^^^^^^^^^^^
  File "/home/derp/.conda/envs/exllamav2/lib/python3.11/site-packages/torch/utils/_contextlib.py", line 115, in decorate_context
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
  File "/home/derp/.conda/envs/exllamav2/lib/python3.11/site-packages/exllamav2/model.py", line 890, in forward_chunk
    x = module.forward(x, cache = cache, attn_params = attn_params, past_len = past_len, loras = loras, **kwargs)
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/derp/.conda/envs/exllamav2/lib/python3.11/site-packages/exllamav2/attn.py", line 874, in forward
    attn_output = attn_func(batch_size, q_len, q_states, k_states, v_states, attn_params, cfg)
                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/derp/.conda/envs/exllamav2/lib/python3.11/site-packages/exllamav2/attn.py", line 687, in _attn_torch
    attn_output = F.scaled_dot_product_attention(q_states, k_states, v_states, attn_mask_lr)
                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/derp/.conda/envs/exllamav2/lib/python3.11/site-packages/torch/nn/attention/bias.py", line 281, in __torch_function__
    return cls._dispatch(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/derp/.conda/envs/exllamav2/lib/python3.11/site-packages/torch/nn/attention/bias.py", line 205, in _dispatch
    return scaled_dot_product_attention(
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
RuntimeError: FlashAttention only supports Ampere GPUs or newer.

Note, I can reproduce the same error using exui.

Solution provided by https://github.com/theroyallab/tabbyAPI/pull/136#event-13135586083


ShellSpout, async ShellBolt, python implementation

The _readTaskIds/_readTuple trampoline/queue stuff in the Python implementation seems funny.. not sure about that — I am not fluent in Python. Still working on a node.js version where the lack of synchronization around task ids after emits is no problem.
I haven't yet tested reliable spouts. Will do that sometime soon.
I made a small change to the protocol, expecting and "end\n" after the pid as well, to be consistent. I could easily add back in the special case.

Awesome, thanks. Before I take a look at this can you sign a contributor agreement? Details here: https://github.com/nathanmarz/storm/wiki/Contributing-to-Storm

I did some very rough performance tests of Java TestWordSpout vs. Python tester_spout.py vs. my node.js tester_spout.js (all with no sleeps). Not sure about these numbers, but it seems like the Java gets 7x the throughput of Python and 6.5x that of node.js.

What should ShellBolt do if the process emits tuples anchored to a tuple that it has already acked/failed?
Die? Emit unanchored and warn? Skip and warn?

If you can detect it, you should throw an exception. Otherwise it's ok to leave the behavior undefined.

I took a look through this today. Overall, it's pretty good. Two things:

You should be able to emit tuples from the ack/fail methods of a spout. So the same protocol as in nextTuple should be in ack/fail as well.
What's going on with the recursion in readTaskIds and readTuple in the python code?


Turn on jobseeker accounts

🚨 Do not merge until 11:50am 🚨

Review app deployed to https://teaching-vacancies-review-pr-2785.london.cloudapps.digital


About outbound rule of NSG

I found the bellow limitations about "Egress Traffic to Target VMs".

We have to use "any" for protocol and destination port.
We can not use AllowVnetOutBound instead of "Egress Traffic to Target VMs".

I hope you to add this limitation in this documents.

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

ID: cc46ceac-e45e-6f29-dd5b-6453c614d9b2
Version Independent ID: b8b3bb83-5204-1f8b-787f-eb3da444e22e
Content: Working with VMs and NSGs in Azure Bastion
Content Source: articles/bastion/bastion-nsg.md
Service: bastion
GitHub Login: @cherylmc
Microsoft Alias: cherylmc

@hisasima, Thanks for your feedback. We are looking into this query and will update you as soon as possible.

@hisasima, Appreciate your patience. We are assigning this issue to the content author for updating the document accordingly. @cherylmc , Could you please update the document with the provided content if necessary?

I ran into the same issue. Also when creating outbound rules, the Source has to be specified to Any. I had the source set to VirtualNetwork and was prevented from attaching the NSG to the Subnet.

should be added in the document.

We have to use "any" for protocol and destination port
Source Cannot be Bastion Subnet IP Address range or VNET Service Tags it has to be set to ANY

or else we cannot attach NSG to Bastion Subnet if any of the above conditions are not met.

#reassign:charwen

Thank you for you dedication to our documentation.
Unfortunately, we have been unable to review this issue in a timely manner. We sincerely apologize for the delayed response. We are closing this issue. If you feel that the problem persists, please respond to this issue with additional information.
Please continue to provide feedback about the documentation. We appreciate your contributions to our community.
#please-close


telemetry

figure out how to capture telemetries for:

num of subs
num of generated projects
most used modules
...

@Incarnation-p-lee @warrenzhu25 @sophiaso


Setting up Drill through reports

Documentation does not fully define how two different pages are connected.
Changing the image for the back button only changes the image but the sequence of the document implies that step is key in establishing the drill-through relationship. The document offers no explanation of how two pages end up automatically connected.
It appears as though an assumption is made in the narrative that the datasets for both pages are the same but no where is that made clear.
We are told to enable the drill-through field in the drill-through well on the drill-through (Drill-through = destination?) page but no guidance given on defining the field passed from the 'Drill-from' page. Also no comment on how the correct Drill-from page knows it is to be drilled through(Mine picked a page that I did not touch and does not use the same data set.)
Terms do not seem to be fully defined and are awkward.

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

ID: 8caeb04f-19a3-320d-2bfa-147c5377728e
Version Independent ID: d3785a20-eeaa-a3a0-5198-b6a4c8fd475b
Content: Set up drill through in Power BI reports - Power BI
Content Source: powerbi-docs/create-reports/desktop-drillthrough.md
Service: powerbi
Sub-service: powerbi-desktop
GitHub Login: @maggiesMSFT
Microsoft Alias: maggies

Hi, @MCcoder52 -- thanks for your comment! I'll see what I can do to make it clearer.
One question: When you say that your drill-through "picked a page that I did not touch and does not use the same data set," could you elaborate? Your report has more than one dataset?

Yes, the report has more than one dataset. One is a direct Import of a SQL Server table the other 4 are query Import extracts of  a table (3) or a view(1). I worked out the issue. Thank you for reaching out.  Sent from Mail for Windows 10 From: Maggie SparkmanSent: Friday, October 30, 2020 3:28 PMTo: MicrosoftDocs/powerbi-docsCc: MCcoder52; MentionSubject: Re: [MicrosoftDocs/powerbi-docs] Setting up Drill through reports (#2597) Hi, @MCcoder52 -- thanks for your comment! I'll see what I can do to make it clearer.One question: When you say that your drill-through "picked a page that I did not touch and does not use the same data set," could you elaborate? Your report has more than one dataset?—You are receiving this because you were mentioned.Reply to this email directly, view it on GitHub, or unsubscribe.

OK, thanks for letting me know, @MCcoder52 ! Closing this issue.


-Source and -Fallback source switches are vague

The source switch description states "Specifies the list of package sources (as URLs) to use. If omitted, the command uses the sources provided in configuration files, see Configuring NuGet behavior".  It does not however state how you provide the URLs as a list.  It is very important to know how the URLs should be separated, whether by commas, spaces, semicolons, etc.
As of the time of writing, I cannot get this switch to work with multiple sources, as I do not know how to present this "list" of URLs.  Further guidance would be appreciated, along with a matching update to the documentation.

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

ID: 1a3a03ff-44be-a544-a9ae-baf7f7cc6989
Version Independent ID: 3e18cf47-ee8f-135e-2b15-6b1a65a95a28
Content: NuGet CLI install command
Content Source: docs/tools/cli-ref-install.md
Product: nuget
GitHub Login: @karann-msft
Microsoft Alias: karann

I have the same problem finding out what and how to provide a "list" as a CLI argument.
It looks like it is separated by semicolon:
https://github.com/NuGet/docs.microsoft.com-nuget/blob/master/docs/tools/cli-ref-restore.md#examples

Looks like doc needs to be updated with fix from @odendoak


Cypress uploaded file

Adding cypress tests for the issue #243.

Some more tests related to the upload of the same file for the second time will have to added too.

Nice, now we have tests for both of these things, feel free to merge


nnn disables numbers and splits have different sizes

Still related to this https://github.com/luukvbaal/nnn.nvim/issues/65
Since you have disabled having an empty buffer when starting nvim . numbers is set to false on the window level.
If I start nvim . I don't have numbers if I start nvim some-random-file and then open nnn everything is fine.

Another thing that I have noticed is that if I do nvim . then open a file, then do a :vsplit the splits aren't identical in size

Should be fixed in https://github.com/luukvbaal/nnn.nvim/commit/62b01532a9dcb0111459b308668aebdb0088bfd8.


Initial tests

This adds some tests to the dependency functionality (mostly because I wanted to see how the dependency on suites behaves, exactly.)
Unfortunately, I was unable to figure out how to let multiple suites run programmatically, so I am delegating that to a CLI execution, which only gives me the return code (i.e. number of failed tests, effectively). I hope someone can find a better way.
I was also unable to verify the issued warnings, as I am not that deeply familiar with the internals of robot.

Thank you for this! We definitely should add some tests, and this is a great start!
Sorry it's taken so long for me to get to this. I've now taken a cursory look and first impressions are good. I'm sure this won't be the tests' final form, but we can iterative improve on it later as time+motivation+priority permits.
Now I just gotta make some time to pull this down and play with it a bit - I'm not sure yet when that will happen, but I'll go ahead and merge it as soon as I've had a chance to do that.

No worries!


Add "isatty" to Cargo.toml keywords

It would be good for this crate to appear in https://crates.io/search?q=isatty.

this will be included in the next publish


Blank UI: Unhandled Promise Rejection: ReferenceError: Cannot access uninitialized variable.

Describe the bug
current checkout simply shows a blank UI
This the javascript console:
Unhandled Promise Rejection: ReferenceError: Cannot access uninitialized variable.
This is the backend:
docker compose up
[+] Running 2/0
✔ Container devika-devika-backend-engine-1  Created                                                                                0.0s
✔ Container devika-devika-frontend-app-1    Created                                                                                0.0s
Attaching to devika-backend-engine-1, devika-frontend-app-1
devika-frontend-app-1    | $ vite dev --host
devika-backend-engine-1  | 24.04.07 07:42:40: root: INFO   : Initializing Devika...
devika-backend-engine-1  | 24.04.07 07:42:40: root: INFO   : Initializing Prerequisites Jobs...
devika-frontend-app-1    |
devika-frontend-app-1    |   VITE v5.2.8  ready in 767 ms
devika-frontend-app-1    |
devika-frontend-app-1    |   ➜  Local:   http://localhost:3000/
devika-frontend-app-1    |   ➜  Network: http://<IP_ADDRESS>:3000/
devika-backend-engine-1  | 24.04.07 07:42:45: root: INFO   : Loading sentence-transformer BERT models...
devika-backend-engine-1  | 24.04.07 07:42:48: root: INFO   : BERT model loaded successfully.
devika-backend-engine-1  | 24.04.07 07:42:50: root: INFO   : Ollama available
devika-backend-engine-1  | huggingface/tokenizers: The current process just got forked, after parallelism has already been used. Disabling parallelism to avoid deadlocks...
devika-backend-engine-1  | To disable this warning, you can either:
devika-backend-engine-1  | 	- Avoid using tokenizers before the fork if possible
devika-backend-engine-1  | 	- Explicitly set the environment variable TOKENIZERS_PARALLELISM=(true | false)
devika-backend-engine-1  | huggingface/tokenizers: The current process just got forked, after parallelism has already been used. Disabling parallelism to avoid deadlocks...
devika-backend-engine-1  | To disable this warning, you can either:
devika-backend-engine-1  | 	- Avoid using tokenizers before the fork if possible
devika-backend-engine-1  | 	- Explicitly set the environment variable TOKENIZERS_PARALLELISM=(true | false)
devika-backend-engine-1  | 24.04.07 07:42:52: root: INFO   : Devika is up and running!

It's a safari 17.1.2 on macosx issue. On chrome it just works.

for me doesn't work on any browser.

Refer to: #426

Fix white ui issues:
https://youtu.be/3ULryo20mdc?si=5UoES_wVMxQTdrSq

currently fix https://github.com/stitionai/devika/pull/295
you have to try it without docker. docker files isn't up to date

same here, without Docker


fix: auto focus on RTL to go to first right aligned item

What
Auto focus logic for RTL should select the right most available item rather than left most
Why
A better UX for RTL apps, stopping "jumping" in flatlists
Additional
Also includes a slight refactoring in the initial logic by removing the firstFocusableElement variable and early returning instead
All videos were taken with bridgeless and fabric set to false in packages/react-native/ReactAndroid/src/main/java/com/facebook/react/defaults/DefaultNewArchitectureEntryPoint.kt - I'm not sure where I'd make these changes for fabric tbh
Original Behaviour - RTL
https://github.com/user-attachments/assets/b45ea448-f8d6-4253-855a-2da1d5c72ee7
Fixed Behaviour - RTL
https://github.com/user-attachments/assets/581eeddd-5f51-45dc-a683-d674e680941b
The below are videos for LTR, in which the behaviour has stayed the same
Original Behaviour - LTR
https://github.com/user-attachments/assets/e664a15f-de00-495a-a741-3571f51ac52a
Fix Behaviour - LTR
https://github.com/user-attachments/assets/74abdb2b-22d3-4c42-bbb5-b979f6c5fb84

Thanks very much! I believe this change will apply to both new and old arch. Could you provide the changes you made to the autofocus example to test this?
I have added @yusufyildirim to the review, as the author of the autofocus code on Android.

Of course
here's the .diff
diff --git a/packages/rn-tester/js/RNTesterAppShared.js b/packages/rn-tester/js/RNTesterAppShared.js
index 32188305ec..7a07a492e0 100644
--- a/packages/rn-tester/js/RNTesterAppShared.js
+++ b/packages/rn-tester/js/RNTesterAppShared.js
@@ -28,12 +28,13 @@ import {
 import * as React from 'react';
 import {
   BackHandler,
-  Platform,
+  I18nManager,
   Linking,
+  Platform,
   StyleSheet,
-  useColorScheme,
   TVEventControl,
   View,
+  useColorScheme,
 } from 'react-native';

 // RNTester App currently uses in memory storage for storing navigation state
@@ -208,6 +209,11 @@ const RNTesterApp = ({
     return () => subscription.remove();
   }, [handleOpenUrlRequest]);

+  React.useEffect(() => {
+    I18nManager.allowRTL(true);
+    I18nManager.forceRTL(true);
+  }, []);
+
   const theme = colorScheme === 'dark' ? themes.dark : themes.light;

   if (examplesList === null) {
diff --git a/packages/rn-tester/js/examples/TVFocusGuide/TVFocusGuideAutoFocusExample.js b/packages/rn-tester/js/examples/TVFocusGuide/TVFocusGuideAutoFocusExample.js
index 20dbdfb3ce..7a8f78d977 100644
--- a/packages/rn-tester/js/examples/TVFocusGuide/TVFocusGuideAutoFocusExample.js
+++ b/packages/rn-tester/js/examples/TVFocusGuide/TVFocusGuideAutoFocusExample.js
@@ -10,11 +10,11 @@

 'use strict';

+import {useRNTesterTheme} from '../../components/RNTesterTheme';
+
 const React = require('react');
 const ReactNative = require('react-native');

-import {useRNTesterTheme} from '../../components/RNTesterTheme';
-
 const {
   View,
   StyleSheet,
@@ -76,9 +76,8 @@ const FocusableBox = React.memo(
     const theme = useRNTesterTheme();

     if (slow) {
-      // eslint-disable-next-line no-undef
       const now = performance.now();
-      // eslint-disable-next-line no-undef
+
       while (performance.now() - now < 200) {}
     }

@@ -427,12 +426,15 @@ const ContentArea = React.forwardRef(
             Welcome to the TVFocusGuide autoFocus example!
           </Text>
           <RestoreFocusTestList />
-          <RestoreFocusOnSingleDeletionTestList />
+          <RestoreFocusTestList />
+          <RestoreFocusTestList />
+          <RestoreFocusTestList />
+          {/* <RestoreFocusOnSingleDeletionTestList />
           <RestoreFocusOnScrollToTopTestList />
           <SlowListFocusTest />
           <Row title="Category Example 1" />
           <Row title="Category Example 2" />
-          <Row title="Disabled Focus Subviews Example" focusable={false} />
+          <Row title="Disabled Focus Subviews Example" focusable={false} /> */}

           <FocusableBox
             style={styles.focusToSideMenuBtn}
@@ -442,11 +444,11 @@ const ContentArea = React.forwardRef(
             }}
           />

-          <TVFocusGuide autoFocus style={styles.cols}>
+          {/* <TVFocusGuide autoFocus style={styles.cols}>
             <Col title="Genres" />
             <FocusToTheSameDestinationTest />
             <FocusToTheDestinationOnlyOnceTest />
-          </TVFocusGuide>
+          </TVFocusGuide> */}
         </ScrollView>
       </TVFocusGuide>
     );
@@ -460,7 +462,7 @@ const TVFocusGuideAutoFocusExample = () => {

   return (
     <View style={[styles.container, {backgroundColor: theme.BackgroundColor}]}>
-      <SideMenu ref={sideMenuRef} />
+      {/* <SideMenu ref={sideMenuRef} /> */}
       <ContentArea sideMenuRef={sideMenuRef} />
     </View>
   );

I'm testing this change with 0.76.5-0, and it seems to not be needed there -- the issue has already been resolved in other PRs.


Adds Deploy to Connect Cloud buttons to READMEs

This PR adds a button to the README of each example app that allows users to quickly deploy the app to Connect Cloud and see it in action—with one click of the button. The PR does not otherwise affect the code in the apps or the repository.
The buttons look like this.

When I tested it, every app deployed within seconds.
Why add Deploy to Connect Cloud buttons?
Connect Cloud is part of Posit's strategy to provide value to Python users. With Connect Cloud, users can very quickly deploy and maintain Shiny apps straight from their Github repository. We believe in Connect Cloud as a company and want to highlight it alongside our own assets.

@schloerke I moved the buttons to the right as requested.
I picked up a failing check when I merged in the newest commits from posit-dev/py-shinywidgets main. I should've checked to see if main was passing. I'll need to merge again from main when the fix appears.

Thank you!
New look:


fix: replace getSSoProviders with getSsoProvider

Description
The function is named getSsoProvider in service_accounts.go line 176, and called throughout serviceaccounts_test.go, and route_loader.go
make  openapi/generate will generate api_security.go and openapi.yaml, referencing the non existent function getssoProviders from kas-fleet-manager.yaml
This renaming will resolve the bug.
Verification Steps

make  openapi/generate  before the change, and observe the conflict.
make  openapi/generate  after the change, and observe.

Checklist (Definition of Done)

[ ] All acceptance criteria specified in JIRA have been completed
[ ] Unit and integration tests added that prove the fix is effective or the feature works (tested against emulated and non-emulated OCM environment)
[ ] Documentation added for the feature
[ ] CI and all relevant tests are passing
[ ] Code Review completed
[ ] Verified independently by reviewer
[ ] Required metrics/dashboards/alerts have been added (or PR created).
[ ] Required Standard Operating Procedure (SOP) is added.
[ ] JIRA has created for changes required on the client side

@VanillaSpoon I think this was covered in https://github.com/bf2fc6cc711aee1a0c2a/kas-fleet-manager/pull/892
@machi1990

Thanks @akoserwal  @machi1990


As an Organization Worker I want a customizable report of the most populated capital cities in a region in order to see results based on my input

The top N populated capital cities in a region where N is provided by the user.

creating new method and based it off of Top N Capital Cities in Continent

New Method created and working. However, Continent field is null: Investigating

Issue resolved


Manually fix CPIC/DrugBank conflicts

DrugBank lists "incorrect"/"alternative" RxCUIs for some drugs, which creates a mismatch with CPIC and keeps the Annotation Server from collecting guidelines for those drugs.
DrugBank's source XML needs to be modified to account for the errors.
Drugs known to be affected

codeine
atorvastatin

No longer needed because we are dropping DrugBank and switching to Anni


Vertical bar rating

Hello,
would it be possible to add option to rotate Bar Rating vertically?
Dusan

Hi Dusan
It's currently possible to have a vertical rating.

    Vertical example:
    <select id="example-a" name="rating">
        <option value="5">5</option>
        <option value="4">4</option>
        <option value="3">3</option>
        <option value="2">2</option>
        <option value="1" selected="selected">1</option>
    </select>

You will have to reverse the ratings, so that the lowest value of a rating is at the bottom and highest value at the top.
$('#example-a').barrating('show', {
    reverse: true
});

Style the widget without floating a elements:
.rating-a .br-widget {
}

.rating-a .br-widget a {
    display: block;
    width: 25px;
    height: 25px;
    background-color: #e3e3e3;
    margin: 1px;
}

.rating-a .br-widget a.br-active,
.rating-a .br-widget a.br-selected {
    background-color: #59a6d6;
}


How to display sender name above chat bubble for outgoing messages?

Hello!
Thanks for creating this amazing library! I seem to be stuck finding a way to display the sender's name for outgoing messages. For incoming messages, this sender's name is displayed right above the chat bubble. However, for outgoing messages, the sender name is not displayed for obvious reasons. In my case, I would like to enable it so that I can see the name right above outgoing messages.
Any tips would be appreciated!
Thanks again!

https://github.com/jessesquires/JSQMessagesViewController#customize-your-cells

I can't seem to get this working i have been using the attributedTextForMessageBubbleTopLabelAtIndexPath function and printing out the return value as well as printing out the value of cell.messageBubbleTopLabel.attributedText in JSQMessagesViewController.m line 531
i have tried a swift version of the code in DemoMessagesViewController as well as a version i found online:
override func collectionView(collectionView: JSQMessagesCollectionView, attributedTextForMessageBubbleTopLabelAtIndexPath indexPath: NSIndexPath) -> NSAttributedString? {
var message: JSQMessage = messages[indexPath.item]
print(message)
/**
*  iOS7-style sender name labels
/
if (message.senderId == self.senderId) {
print(message.senderId)
return nil
}
if indexPath.item - 1 > 0 {
var previousMessage: JSQMessage = messages[indexPath.item - 1]
if (previousMessage.senderId == message.senderId) {
print(previousMessage.senderId)
return nil
}
}
/*
*  Don't specify attributes to use the defaults.
*/
let r =  NSAttributedString(string: message.senderDisplayName)
print(r)
return r
}
found online:
override func collectionView(collectionView: JSQMessagesCollectionView?, attributedTextForMessageBubbleTopLabelAtIndexPath indexPath: NSIndexPath!) -> NSAttributedString! {
let message = messages[indexPath.item]
switch message.senderId {
case senderId:
return nil
default:
guard let senderDisplayName = message.senderDisplayName else {
assertionFailure()
return nil
}
let r = NSAttributedString(string: senderDisplayName)
print(r)
return r
    }
}

Both of these return the correct value and set cell.messageBubbleTopLabel.attributedText in JSQMessagesViewController.m line 531 however it is not displayed when ran (yes it returns null for messages the user sends but for any other user it returns the displayName but doesn't appear in the simulator)


telemetry: add test for Stackdriver

Please provide a description of this PR:
ref: https://github.com/istio/istio/issues/46858
Add tests in case something doesn't break in the future.
To help us figure out who should review this PR, please put an X in all the areas that this PR affects.

[ ] Ambient
[ ] Configuration Infrastructure
[ ] Docs
[ ] Dual Stack
[ ] Installation
[ ] Networking
[ ] Performance and Scalability
[x] Policies and Telemetry
[ ] Security
[ ] Test and Release
[ ] User Experience
[ ] Developer Infrastructure

Please check any characteristics that apply to this pull request.

[x] Does not have any user-facing changes. This may include CLI changes, API changes, behavior changes, performance improvements, etc.

@zirain: 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

release-notes_istio
6abc04b7e7999f3fbab2c2862ed58a5ba57082ad
link
true
/test release-notes

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/test-infra repository. I understand the commands that are listed here.

/test release-notes


Missing include for building tests

Include paths in src/test are being specified from WebNN's root directory (ex. src/examples, src/third_party, etc) which means we must also specify ${webnn_root} in the common BUILD.gn config to build tests under third_party.

@fujunwei @huningxin PTAL

@bbernhar Thanks, merge it.


CPU占用持续100% - CPU usage remains at 100%

目前VLM、OCR我都设置的是非本地部署，通过远程服务器进行计算。理论上本地就只剩下了Embedding，为什么CPU占用率长时间在100%居高不下，这样比较影响实际使用。

附上我的配置文件：
base_dir: D:/memos
database_path: database.db
default_library: screenshots
screenshots_dir: screenshots

server_host: <IP_ADDRESS>
server_port: 8839

# Enable authentication by uncommenting the following lines
# auth_username: admin
# auth_password: changeme

default_plugins:
- builtin_ocr
- builtin_vlm

# using ollama as the vlm server
vlm:
  concurrency: 8
  endpoint: http://<IP_ADDRESS>:11434
  force_jpeg: true
  modelname: minicpm-v
  prompt: 请帮描述这个图片中的内容，包括画面格局、出现的视觉元素等
  token: ''

# using local ocr
ocr:
  concurrency: 8
  # this is not used if use_local is true
  endpoint: http://<IP_ADDRESS>:18000/predict
  force_jpeg: false
  token: ''
  use_local: false

# using local embedding for English as the main language
embedding:
  model: arkohut/jina-embeddings-v2-base-zh
  num_dim: 768
  use_local: true
  use_modelscope: false

# using local embedding for Chinese as the main language
# embedding:
#   model: arkohut/jina-embeddings-v2-base-zh
#   num_dim: 768
#   use_local: true
#   use_modelscope: true

# using ollama embedding
# embedding:
#   endpoint: http://<IP_ADDRESS>:11434 # this is not used
#   # model: arkohut/gte-qwen2-1.5b-instruct:q8_0
#   model: qwen2.5:14b-instruct-q8_0
#   num_dim: 1536
#   use_local: false
#   use_modelscope: false

record_interval: 4 # seconds

What env are you using? Could you please give the result of memos version.

version:  0.19.2
windows11 insider preview

So there is no gpu? Maybe this is because the embedding model also need lots of computing resource.

So there is no gpu? Maybe this is because the embedding model also need lots of computing resource.

GPU is NVIDIA GTX 1060 6GB

The usage of your GPU is quite low. It seems that you are not using GPU for embedding model. Run the code like this to show current torch env:
import torch

def check_torch_installation():
    print(f"PyTorch Version: {torch.__version__}")
    print(f"CUDA Available: {torch.cuda.is_available()}")
    if torch.cuda.is_available():
        print(f"CUDA Device Count: {torch.cuda.device_count()}")
        print(f"Current CUDA Device: {torch.cuda.current_device()}")
        print(f"Device Name: {torch.cuda.get_device_name(torch.cuda.current_device())}")

check_torch_installation()

>>> check_torch_installation()
PyTorch Version: 2.5.1+cpu
CUDA Available: False

It works fine after reinstallation. It is recommended to explain it in the document


added labelClasses support

fixes #333 - adds "labelClasses" to the field schema, allowing you to configure icons and other styles to labels via CSS classes.

Not too familiar with your testing policies ... does the formGenerator test cover it?

Please ignore it.


cursor jumping around in visual mode

I only kept pressing "h" then "l", but unfortunately the cursor jumping around without any pattern.
vscode 1.41.1 with some extensions enabled
nvim 0.4.3 with 0 plugins and empty init.vim
vscode-neovim 0.0.45
win10 1909
vscodevim's cursor moves without any problem.

are you using wsl or explicitly set extension.remoteKind to workspace ? Does it happen always or sometimes?

The cursor jumps around if you hold H, J, K or L but I always thought this is only a visual stutter. Down the line, the selected line is correct. I don't use extension.remoteKind or wsl for neovim

The cursor jumps around if you hold H, J, K or L but I always thought this is only a visual stutter. Down the line, the selected line is correct. I don't use extension.remoteKind or wsl for neovim

This may happen if you run the extension & neovim through remote extension host due to 3 round-trip latency but shouldn't happen with the same host version.
the cursor pos for hjkl is controlled by neovim, so it looks like sometimes an older event comes out of the order.

@3nuc @Coelancanth Can you try with 0.0.46 version? I think it should improve things a lot due to more performant msgpack lib in neovim client.

I tried to measure latency between receiving the cursor update from neovim and just before updating the cursor in vscode and in my tests it wasn't more than 0.02ms. So i don't think there is a problem with extension, and probably some other vscode extension kicks in here, for example language server is calculating highlight ranges for the same identifier under the cursor.
Worth trying is to disable other extensions and try to see if the problem still exist. Also worth to try to enable or disable if enabled Editor: Cursor Smooth Caret Animation

@asvetliakov Just installed vscode-neovim 0.0.46 and the issue still persists, even with all extensions disabled.

Recoreded on vscode-neovim 0.0.46, vscode 1.41.1, nvim 0.4.3
Could you try bumping up your keyboard key repeat speed and seeing if the issue becomes worse for you when you hold j or k? My key repeat speed is a bit higher.

My RR is already max on windows
. I'll try to increase it beyond the panel limits and see what happens.
@3nuc Can you try to disable indent guides, line highlight and line numbers
also i'm not sure from where your line numbers are coming from, because relative setting in vscode displays absolute line number for the current line, not relative:

Crap, I ran "Disable all extensions" but didn't reload the window so some extensions stayed enabled. You're right - once I disable extensions and reload window it's ok - holding J or K moves the cursor smoothly.

I believe your issue is some laggy extension (well, it may be ok, but takes extension host cycles and combined with vim extension makes things very crappy) which renders line numbers in vscode gutter. Custom indent guide extension and anything which renders decorators/put things into vscode gutter very often (e.g. on each cursor move) also may cause this. Both line numbers/indent guides are supported in native vscode - use them instead.

Hi, thank you very much, now it moves smoothly!


Added sheet option for xls/xlsx

I needed the ability to read specific worksheets within an XLS file, so I added it! Let me know if there’s anything I should change.

Awesome! I ran the tests and merged. Thanks for your PR.

… and I pushed a new gem with your additions

Dope! Thanks.  Double thanks for such a useful project, really simplifies a lot of the XLS/CSV scripting I've had to do :smile:


ROADMAP: v0.19

Why Am I Being Notified? Unsubscribe!
You were tagged because you submitted an issue in the past for Raneto.
This is mostly for documentation reasons as we sort through the repo.
Join the discussion or Unsubscribe by clicking the "Unsubscribe" button in the right sidebar =>
Goals
Here's a summary of where the project is heading based on the submitted issues.
Version 0.19 will have multiple changes and get us on the path for Version 1.0.
Have questions or a suggestion? Comment below.
This post will be updated accordingly and kept current based on the discussion.
Also, if you have a better way to plan and collaborate on these roadmaps, please share.
(GitHub Projects?)

Must Haves
Mailing List
Email list to send only announcements on releases, security, etc.
Pending. Open to suggestions on software.
Documentation Update
See #373
Extended Testing
Expand the test suite and further break down code into smaller components
Extract example/ directory to another repo
Reporter(s) @dkebler @jrichardsz
The current example/ directory has references to this repository as its parent.
This is confusing new and existing users.
We should have a separate repository for the example and not mix the two
Related:

#296
#330

Upgrade to Bootstrap v5.x
Reporter(s) @ryanlelek @GrahamDumpleton
Upgrade to keep current with the module and design trends
Related:

#287
https://getbootstrap.com/docs/5.2/migration/
Remove npm module bootstrap-rtl
--- Related: #244

Deployment Options
Reporter(s) @will-code-for-pizza @ryanlelek

Heroku
DigitalOcean
Docker (of some variety)
--- @prologic @madhuakula
--- #125
--- https://github.com/appsecco/raneto-docker
Generic VPS with Ansible (EC2, DigitalOcean, Linode, Vultr -- Debian only)
Generic VPS with Docker / Docker Compose
Synology NAS (probably via Docker)
--- #282
QNAP NAS (probably via Docker)
... what else would you like? TrueNAS, AppFog, Netlify, Vercel, Railway, etc

Static files in content/
Reporter(s) @chenfengrugao @zazaji
Raneto users want to upload static assets like images, and there is not a good way to do that currently.
The content/ directory contains only Markdown files.
We want to allow a way to serve static files as well.
Related:

#300
#359
#372

Extensive Testing of Reverse Proxy
Reporter(s) @djhworld @AnkushLambdatest
Reverse Proxies like HAProxy, Nginx, Caddy, etc are more common today.
Raneto should fully support a base uri, path prefixes, and IP-passthrough (X-Forwarded-For and proxy-protocol-v2)
Related:

#310

Translation Fixes
Reporter(s) @jci
Current: Some translation snippets are not being used correctly. The whole repo needs to be double-checked for usage. Examples "Login Button" and "Password" on Login page
Desired: Translations should apply to common user interface elements
Related:

#257

Remove Extra Dependencies

pm2

Nice to Haves
Pending - Let's Encrypt Automation
This can get sticky based on where things are deployed. Marking as it's an important feature in 2022
Allow redirects per-page or path prefix
Reporter(s) @ArtFlag
As documents change, it may be needed to redirect a page to a new page.
We can handle this on a per-page basis with metadata or on a path prefix level
Related

#349

Fine-Grained Permissions
Reporter(s) @mtaobiz @cosmosresident @fbo @BenGoodmanUK @DoctorRiceYouSee
Current: Viewing is public, editing is admin/login. Viewing can also require login.
Desired: Fine-grained role permissions that can be granted to users. "guest" for not logged in, etc. This will allow certain pages or categories to be blocked.
Related:

#112
#168
#334

LaTeX and Scientific Support
Reporter(s) @theinexplicablefuzz [unknown ghost acct] @kongxiangyan
Support advanced writing notations LaTeX and scientific (Mathjax, etc) to make it easier to express math equations, scientific topics, etc.
Related:

#172
#283

Long Shot
Adding these for discussion but will likely only be part of a future release
Automated Backup
The reason this is needed is because editing can take place on the server.
Send content/ on a schedule to a remote server of some kind.
Destination: Current Suggestion - Send tar file to S3-compatible storage
Shared Content
Reporter(s) @jmgilman
Raneto probably wont need to be super-scalable for concurrent users but for high-availability reasons, two or more machines may need to share Raneto content files.
Syncing doesn't make sense for 3+ machines, so having a shared SMB/NFS backend may be desired. Or pulling from S3-compatible storage and caching.
Related:

#160

Static Files
Current: Markdown files are rendered on page request. This increases machine work with every request and can also introduce security issues.
Desired: On edit or creation, render markdown to static files. Then display and search the static files to visitors

Hi @eHonnef ,
No current plans for OpenID and the backlog is already pretty large so no ETA on when it would be available.
We currently have normal user/pass and Google Sign In but I understand if you don't want to use those.
If you're interested in working on a PR, we'll do our best to guide


ul .individual broken on apple theme...

Hi,
ul .individual list don't display properly on the apple theme.  When tapped the blue doesn't fill the whole button and the text is not centre aligned.
I've had a play with the CSS but can't seem to sort this.  Any ideas?

Managed to fix this by tweaking the CSS.  Let me know if you want the fix.


Print the number of entries to do instead of percent done

Currently this PR is just to add an option to print the number of entries to do (translate or review) instead of the percent of work done. I may do another one to filter on those values, but rendering them is already great I think.
I'm not really happy with the option name and shortcut ("--by-entrie-number" and "-e"), I can change if you have something better.

I can think of -n, --numbers.

For curious ones, it looks like this:
# c-api (39.11% done)

- arg.po                         102 to do (including 6 fuzzy)
- buffer.po                       82 to do
- bytearray.po                     3 to do (including 3 fuzzy)

First thought: why not 96 untranslated, 6 fuzzy instead?

Function exec_potodo is now 160 lines long, I bet the line formatting bloc could be extracted in a function for readability, like:
buffer.append(format_line(by_entrie_number, po_file_stats, po_file_name, issue_reservations))

I can think of -n, --numbers.

'-n' is already taken by "--no-reserved"

For curious ones, it looks like this:
# c-api (39.11% done)

- arg.po                         102 to do (including 6 fuzzy)
- buffer.po                       82 to do
- bytearray.po                     3 to do (including 3 fuzzy)

First thought: why not 96 untranslated, 6 fuzzy instead?

I had to make a choice: either it wrote the number of entries to translate and the number of entries to review (fuzzy ones), or it wrote the total amount of entries that need work and indicate the number that just need to be reviewed.
It's a point of view question. I choose the second as I don't care whether I have to translate from scratch or just review, I wanted a global view on the work to do.
The refactoring was the next step (didn't want to spend energy on it if the current PR is not accepted :-p )

OK for 102 to do (including 6 fuzzy)
What about -c, --counts? Slightly modifying the help to Render list with count of entries to do (translate or review) instead of percent done.

OK for 102 to do (including 6 fuzzy)

Noted

What about -c, --counts? Slightly modifying the help to Render list with count of entries to do (translate or review) instead of percent done.

OK. I'll take that into account and to the refactoring as soon as I can.

Function exec_potodo is now 160 lines long, I bet the line formatting bloc could be extracted in a function for readability

Done in #23.
Heads up @grenoya big refactor done, maybe wait and rebase your PR once #23 is merged ?

Closed in favor of #28

o/ @grenoya we merged your PR while refactoring yesterday, to avoid you a virtually impossible rebase as everything changed! Thanks for your PR! the -c --counts option is now on PyPI \o/ Thanks!


highcharts-regression.js Broken

Last working version:
https://raw.githubusercontent.com/streamlinesocial/highcharts-regression/b72f785422b07188fc13df0941f2aecd6b64db9c/highcharts-regression.js is the last working version.
Example of code broken: http://www.highcharts.com/plugin-registry/single/22/Highcharts regression

It doesn't seem to be broken..

Solved in 6f6beb177c8356a5fb75754dc612715de3450ea8


[BotW] Cutscenes are stretched in the 21:9 packs

The old graphics packs would keep the pre-rendered cutscenes in 16:9, but the new ones stretch them to 21:9.

As of right now it isn't possible with a texture definition in rules.txt.
It may be possible to do with a vertex shader mod to insert in black bars. Crementif said he'll look in to it when he can.

I've tried to fix it with vertex shaders, but no usable results. It would repeat each 2s for some reason. It would also have pretty ugly edges. Also tried fiddling with resolutions, but the depth that is likely the cause of the issues I had with the vertex shaders can't be excluded using tilemodes.


A mapping file with more than one invalid color generates tons of popups.

A billion popups come when you use invalid colors more than once.

Fixed (303073fe0783a1abe593928631c8fcf4c45cd7e1).  Now all the errors are joined up in one alert() call.


[storage] GA follow-up items

Started with storage-blob. If this approach is good I'll add queues and file shares to this PR.
Re: #5968

Removed browser build from rollup configuration for non-test builds
Removed gulpfile and dependency on gulp, as well as gulp-based
commands from package.json
Removed ThirdPartyNotices.txt

Please wait for a review from @bterlson and @XiaoningLiu/ @jiacfan

Can I suggest we not update the rollup configs at all right now? They're mostly the same across the various projects, and I want to update them all in one go to remove browser bundles, abstract out various configurations into a central place, etc.
+1 on removing the gulp steps though.

Forced a push because I accidentally signed with the wrong GPG key.


To implement the 'clone' method, it needs to be overridden in TreeMultimap and RedBlackTree

Describe the bug
To implement the 'clone' method, it needs to be overridden in TreeMultimap and RedBlackTree

In the course of testing, it has been confirmed that this issue does not exist.


Code for model testing

Hi,
Thank you so much for publishing the Keras implementation of gmcnn on Github.
Can you also provide the code for testing the model?

Hi @Pavani14 ,
I'm currently working on it. I have some simple script for testing model which i use locally but it's not convenient. I will provide GUI for testing soon as well as trained model.

Hi,
Do you have the testing code?
Thanks!


Question: What is the best way to update Normalized cache after a mutation?

I am performing these steps in sequence to update my normalized cache after a mutation but the operations seem to take time.

mutate
read-cache
modify cache
write and publish cache to notify the watcher

Wanted to check if there is a better way to achieve this?

Not sure if that will help but there is https://github.com/apollographql/apollo-android/blob/master/apollo-runtime/src/main/java/com/apollographql/apollo/ApolloClient.java#L140
basically you mutate cache before (optimistic update) request executed. If request fails it will rollback changes if success it will commit.

Thanks for the suggestion, I will give optimistic updates another try but some of the mutations do not return the same type that I want to update in Cache.

but some of the mutations do not return the same type that I want to update in Cache.

There is no way around to do this otherwise. Looks the only option is how you doing it right now,  read from the cache / update / write it back to the cache.


Have any way to set a filter params required?

Like attribute :user_id, required: true, and query must include filters[user_id].

There is not a way to specify a required filter. The (default option)[http://jsonapi-resources.com/v0.8/guide/resources.html#Default-Filters] on filter might get a similar result if you default the user_id to the current user.

I need this too!


Custom primitive types

Handle custom primitive types
https://github.com/swaggo/swag/issues/164

Codecov Report

Merging #198 into master will increase coverage by 0.17%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master     #198      +/-   ##
==========================================
+ Coverage   88.59%   88.76%   +0.17%
==========================================
  Files           5        5
  Lines        1008     1024      +16
==========================================
+ Hits          893      909      +16
  Misses         72       72
  Partials       43       43

Impacted Files
Coverage Δ

property.go
92.64% <100%> (+0.58%)
:arrow_up:

parser.go
87.8% <100%> (+0.12%)
:arrow_up:

schema.go
100% <100%> (ø)
:arrow_up:

Continue to review full report at Codecov.

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

how to use

it seems not support type Time time.Time


Update license headers for avm-2.0-preview branch

*Issue #8
Description of changes:
Update license headers in all files to contain the following text, per issue #8
// -------------------------------------------------------------------------------------------
// Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
// This file is part of the AWS CDI-SDK, licensed under the BSD 2-Clause "Simplified" License.
// License details at: https://github.com/aws/aws-cdi-sdk/blob/mainline/LICENSE
// -------------------------------------------------------------------------------------------

This PR was in error... we will be merging changes into this avm-2.0-preview branch directly from mainline instead.


SSZ question: clarification on the homogeneity of list elements

In the current SSZ specification, lists are defined as "a collection of elements of the same homogeneous type".
By this definition, a list of byte arrays, a list of other lists, or a list of collections, are all homogeneous by type yet contain elements that may vary in serialized size.
The example implementations sum each elements serialized length to find the raw length, however the specification says the raw length is defined as len(list) * sizeof(element), implying they all have the same serialized size. Additionally, the Tree Hash definition only uses the size of the first element in a list to calculate items_per_chunk (SSZ_CHUNK_SIZE // len(lst[0])).
The question is: should the specification define that lists contain elements of homogeneous type and size, or should we update the specification of raw length (e.g. to sum(sizeof(elem) for elem in list)) and the Tree Hash algorithm according?

I also wonder if an "easier" way to resolve this would be to change the list length prefix to only len(list) (nElements), and not the raw length of the entire list encoding. This would simplify serialization, sacrificing only the ability to skip over a complete value when decoding, which is not a common use case afaik.
Thoughts?

I think the spec is wrong and the example implementation is right. Otherwise lists of containers containing lists would not be possible, but those seem to be used in the phase 0 spec (e.g. BeaconBlockBody.attestations).

Yeah, I agree. Though that means the Tree Hash algorithm is wrong too.
Wdyt about just using the element count?

Wdyt about just using the element count?

When there is a need of decoding an object that have come from network it's good to know whole size of encoded object. Otherwise, you have to pull list items in sequential fashion and calculate the size to mitigate overflows.

you have to pull list items in sequential fashion and calculate the size to mitigate overflows

You’re going to do that anyway though, right? Unless you’re pulling the value and not decoding it, which I can’t think of a use-case for, then you’ll be iterating and decoding the length of each part. And currently you have to iterate until you find the value whose end aligns with the overall raw length (or exceeds it, which would signal an encoding error).

IMO, it's preferable to know the length of the message before processing it. It would allow reading a certain number of bytes from socket and closing it instantly. Actually, the way message is read from the socket is implementation specific, but to have alternatives here requires length prefixes in bytes.

@mkalinin: in almost all cases, won't socket reads be buffered anyway? I've rarely seen a need to read only a specific number of bytes from a socket before closing it.
The advantage of only encoding the length elements actually has positive benefits for sending data - you don't have to buffer the entire list content first. One can output the number of elements to the socket, then encode and immediately output each element. If the entire raw length has to be calculated, then the entire raw list encoding has to be buffered first.

has positive benefits for sending data

And it, also, has drawbacks for receiving them.
In case when number of elements is sent instead of length first received bytes tells almost nothing about entire message, it's just a number of elements that have an unpredictable size. Receiver starts to read these elements and calculate cumulative size. In the middle of it receiver understands that the message is too big and with high probability malformed or malicious. Then it cancels the receiving, and amount of data that have to be processed to understand whether message is sane or not is unknown before reading this message.
Another thing is that having a number of elements as a length of list does nothing with a length of container that carries some list. It should be calculated in bytes and that requires calculation of list size in bytes as well.
Another feasible way of streaming SSZ messages is to have SSZSize(obj) function that just calculates the size of the object in bytes. Of course, it's much less efficient than len(list) * sizeof(element) but that is something that could work.


[REVIEW] Open-source-project-and-resources

Project link
https://github.com/Ashish-khanagwal/Open-source-practice-and-resources

Suggestions -

Add code_of_conduct.md file
Add License
Add pull_request and issue template


Added the instagram profile picture saver

Pull Request Template
script name - insta_profile_pic_download.py
Files added -
insta_profilepic_downloader\insta_profile_pic_download.py
insta_profilepic_downloader\README.md
insta_profilepic_downloader\requirements.txt
Brief about script
It is the python script which saves the profile picture of a user on Instagram.
Issue no.(must) - #217
Self Check(Tick After Making pull Request)

[X] This issue was assigned to me.
[x] One Change in one Pull Request
[X] My file is in the proper folder (Name of the folder should be in lowercase with no space in between)
[x] I am following clean code and Documentation and my code is well linted with flake8.
[X] I have added README.md and requirements.txt with my script

If issue was not assigned to you Please don't make a PR. It will marked as invalid.

@pawangeek  once check the checks section and it is showing spelling mistakes in the file which was not pushed by me.

No need to worry @jayaganeshkumar those are related to commit of #262


[BUG]rpi-4b with 5.10.y-rt kernel libcamera-app do not work.

Describe the bug
the error stack is as following picture.

The rpi-linux-rt resp is here which is forked from rpi official 5.10.y linux branch .
https://github.com/blokaslabs/rpi-linux-rt
We just compile this kernel and replace the kernel image, and do not any other change of the Pi os.
PS: The official kenerl building document is here
https://www.raspberrypi.com/documentation/computers/linux_kernel.html#building-the-kernel

This kernel seems a bit old compared to the official 5.10.y.  I suggest updating the sources and rebuild.
You might also want to try building the latest libcamera and libcamera-apps libraries from the source trees to see if that fixes your issue.  Instructions to do this can be found here

This kernel seems a bit old compared to the official 5.10.y. I suggest updating the sources and rebuild.
You might also want to try building the latest libcamera and libcamera-apps libraries from the source trees to see if that fixes your issue. Instructions to do this can be found here

We will try to build the libcamera-apps on my rasp pi 4-b. thks.

Hey Guys,
I'm not able to start a stream via the libcamera-app too. I tried a brand-new bullseye installation, and a new lite installation.
Then I rebuild from this git repository. I've tried this at home and on work (Different Networks).
Error:
libcamera-vid -t 0 --width 1080 --height 720 -q 100 -n --codec mjpeg --inline --listen -o tcp://<IP_ADDRESS>:8888 [0:35:57.262997704] [2910]  INFO Camera camera_manager.cpp:293 libcamera v0.0.0+3384-44d59841 [0:35:57.355782558] [2911]  WARN RPI raspberrypi.cpp:1202 Mismatch between Unicam and CamHelper for embedded data usage! [0:35:57.356441660] [2911]  INFO RPI raspberrypi.cpp:1313 Registered camera /base/soc/i2c0mux/i2c@1/imx219@10 to Unicam device /dev/media3 and ISP device /dev/media0 [0:35:57.357263686] [2910]  INFO Camera camera.cpp:1028 configuring streams: (0) 1080x720-YUV420 [0:35:57.357626848] [2911]  INFO RPI raspberrypi.cpp:738 Sensor: /base/soc/i2c0mux/i2c@1/imx219@10 - Selected sensor format: 1920x1080-SBGGR10_1X10 - Selected unicam format: 1920x1080-pBAA [0:35:57.376907998] [2921]  INFO IPARPI raspberrypi.cpp:626 Request ctrl: Saturation = 1.000000 [0:35:57.377176902] [2921]  INFO IPARPI raspberrypi.cpp:626 Request ctrl: Contrast = 1.000000 [0:35:57.377319103] [2921]  INFO IPARPI raspberrypi.cpp:626 Request ctrl: Brightness = 0.000000 [0:35:57.377447694] [2921]  INFO IPARPI raspberrypi.cpp:626 Request ctrl: AwbMode = 0 [0:35:57.377484583] [2921]  INFO IPARPI raspberrypi.cpp:626 Request ctrl: Sharpness = 1.000000 [0:35:57.377693580] [2921]  INFO IPARPI raspberrypi.cpp:626 Request ctrl: ExposureValue = 0.000000 [0:35:57.377824763] [2921]  INFO IPARPI raspberrypi.cpp:626 Request ctrl: AeExposureMode = 0 [0:35:57.377943132] [2921]  INFO IPARPI raspberrypi.cpp:626 Request ctrl: FrameDurationLimits = [ 33333, 33333 ] [0:35:57.378072964] [2921]  INFO IPARPI raspberrypi.cpp:626 Request ctrl: AeMeteringMode = 0 [0:35:57.378112352] [2921]  INFO IPARPI raspberrypi.cpp:626 Request ctrl: NoiseReductionMode = 1 [0:35:57.378776325] [2911]  INFO RPISTREAM rpi_stream.cpp:133 No buffers available for ISP Output0 [0:35:57.378813102] [2911]  INFO RPISTREAM rpi_stream.cpp:133 No buffers available for ISP Output0 [0:35:57.378840861] [2911]  INFO RPISTREAM rpi_stream.cpp:133 No buffers available for ISP Output0 [0:35:57.378867175] [2911]  INFO RPISTREAM rpi_stream.cpp:133 No buffers available for ISP Output0 [0:35:57.378892934] [2911]  INFO RPISTREAM rpi_stream.cpp:133 No buffers available for ISP Output0 [0:35:57.378918138] [2911]  INFO RPISTREAM rpi_stream.cpp:133 No buffers available for ISP Output0 terminate called after throwing an instance of 'std::runtime_error'   what():  failed to send data on socket Aborted

Raspberry Pi 4 B
PRETTY_NAME="Raspbian GNU/Linux 11 (bullseye)"
NAME="Raspbian GNU/Linux"
VERSION_ID="11"
VERSION="11 (bullseye)"
VERSION_CODENAME=bullseye
uname -a
Linux raspberrypi 5.10.92-v7l+ #1514 SMP Mon Jan 17 17:38:03 GMT 2022 armv7l GNU/Linux
-official Raspberry V2.1 Camera
libcamera-still -n -o out2.jpg --list-cameras

[0:47:12.498751338] [2991]  INFO Camera camera_manager.cpp:293 libcamera v0.0.0+3384-44d59841
[0:47:12.551894066] [2992]  WARN RPI raspberrypi.cpp:1202 Mismatch between Unicam and CamHelper for embedded data usage!
[0:47:12.552811779] [2992]  INFO RPI raspberrypi.cpp:1313 Registered camera /base/soc/i2c0mux/i2c@1/imx219@10 to Unicam device /dev/media3 and ISP device /dev/media0
Available cameras

0 : imx219 [3280x2464] (/base/soc/i2c0mux/i2c@1/imx219@10)
Modes: 'SBGGR10_CSI2P' : 640x480 1640x1232 1920x1080 3280x2464
'SBGGR8' : 640x480 1640x1232 1920x1080 3280x2464
As in the Description mentioned, with the PI 4, I have not made any changes to the /boot/config.txt

@lazarusCantini would you be able to create a new issue and provide all the relevant information there please? Your problem is probably not related to this issue.

@SUBYEAR can you report back if the latest kernel work for you?
If so, I can close this issue down.

Closing this now, please re-open if there are any more updates.


⚠ AGEG website (prod) has degraded performance

In fa12406, AGEG website (prod) (https://www.ageg.ca/) experienced degraded performance:

HTTP code: 200
Response time: 3178 ms

Resolved: AGEG website (prod) performance has improved in 6d817cf.


ClusterQueue updates/deletions and running workloads

With regards to CQ deletions, perhaps we can inject finalizers to block the delete until all running workloads finish, at the same time stop admitting new workloads.
What about CQ updates? One simple solution is to make everything immutable, and so updating a CQ is only possible by recreating it, hence we reduce update to a delete which we already handled above. We can relax this a little by allowing the following updates:

an increase to existing quota
adding new resources and/or flavors
setting a cohort only if it was not set before

all of those updates don't impact running workloads and can be done without checking for current usage levels.
/kind feature

/remove-lifecycle stale

My hesitation is that it would make a simple use case: increase/decrease quotas much harder to do.
But we could start with adding a finalizer to restrict deletion and stop admitting workloads into a CQ if it has a deletionTimestamp

what do we do with downsizing then in the meantime?

You just wait for some workloads to finish and the remaining ones to fit in the smaller quota.

ok, and I am guessing we don't need to do anything to support this path, it is already what we do; we probably still need to make sure that there are no assumptions on the cohort quota being greater than or equal to the sum of running workloads requests.

We only look at the (sum of) quotas when scheduling, so the behavior is the same for cohorts.

Done.


Cannot update to 0.100.1

Expected Behavior
Update to 0.100.1 should work properly
Current Behavior
Receiving following bug when trying to update:
meteor update materialize:materialize
=> Errors while upgrading packages:
While checking for<EMAIL_ADDRESS>error: No compatible binary build found for this package. Contact the package author and ask them to publish it for your platform.
Your Environment
Using following OS
Distributor ID:	Ubuntu
Description:	Ubuntu 16.04.2 LTS
Release:	16.04
Codename:	xenial
Using Meteor <IP_ADDRESS>

I am having the same issue using mint os 18

I'm having the same problem. Any idea what's causing it?

I can't download it also from the materialize website in google chrome,

I have the same problem 👎

I have the same problem on Windows 10

Same issue here OSX 10.12.4
Last version I can use  - meteor add<EMAIL_ADDRESS>
meteor add materialize:materialize

meteor add materialize:materialize
=> Errors while adding packages:

While checking for<EMAIL_ADDRESS>error: No compatible binary build found for this package. Contact the package author and ask them to publish it for your platform.

It makes no sense if everyone writes: "I have the same problem". Just upvote the actual issue. :)2
We are working on that

@tomscholz yes sire ;)

<EMAIL_ADDRESS>was causing this problem for me.  I downgraded to 3.11.0 and materialize could install again.

Since meteor 1.4.1+ (fourseven:scss 3.9.0+), we do not have prebuild binaries anymore. You are required to set up the required toolchain yourselves.

You may have to build the binary yourself. Give that a try and see if it works.
https://github.com/fourseven/meteor-scss#compatibility

@Dogfalo K, wish me luck.

@Dogfalo Never done this before so please excuse  my stupidity...
Trying to build with node-gyp and it's asking for a binding.gyp file.  node-gyp shows a basic binding.gyp file but have you created one before for materialize?  Anything I need to include?
Basic structure of binding.gyp:
{
  "targets": [
    {
      "target_name": "binding",
      "sources": [ "src/binding.cc" ]
    }
  ]
}

https://guide.meteor.com/1.4-migration.html
Try this

Following the guide above and node-gyp, I updated command line tools xcode-select --install and made sure i'm on python 2.7.   Since i'm trying to get the atmosphere package working, I git clone https://github.com/Dogfalo/materialize.git and then published it to atmosphere as kartboy16:materialize.  I then meteor add kartboy16:materialize to build and bring it in to my project.
Ran my project and got this error:

@Dogfalo Why are binary builds no longer provided? I did not update meteor or anything, the only part I tried to update was materialize to 0.100.1 from 0.99. I always ran my meteor on <IP_ADDRESS>, so binaries at least for version 0.99 existed for meteor <IP_ADDRESS>, but maybe I misunderstood your point.
This seems to be a blocker to many people, also as there seems a lack of documentation how to install the latest version now.
I think the overall expectation for any meteor user is that meteor add materialize:materialize works, or that clear documentation is provided how to install it.

@JanZ1503 Am I missing something?  Looking at package.js file, it says api.use('fourseven:scss@4.5.4');

Ah, I see - scss comes with materialize - I did not see it in my packages list, but now I understand what you meant.
Yea, it looks like in<EMAIL_ADDRESS><EMAIL_ADDRESS>was used and the latest materialize version now requires 4.5.4, which does not come with pre-built binaries anymore, which breaks the standard meteor add materialize:materialize
But interestingly, scss says that their 3.9 version already has no pre-built binaries, however materialize 0.99 with scss 3.10 could be installed without building the binaries manually. @Dogfalo , do you happen to know why?

@JanZ1503 @kartboy16 @Dogfalo
Hi,
Here are results of some my tests. Hope they could help us.
A). meteor remove materialize:materialize
B). Then I add materialize:materialize as a local package:

All files in the directory packages/materialize are taken from the materialize:materialize distribution ZIP file.
To understand that this is a local package, just change a line in the package.js file:
Package.describe({
  name: 'materialize:materialize',  // http://atmospherejs.com/materialize/materialize
  summary: 'Materialize - LOCAL VERSION',
  version: '0.100.1',
  git: 'https://github.com/Dogfalo/materialize.git'
});
...

C). To make sure that everything is clean, I remove the node_modules directory and make meteor reset
D). Add packages:
meteor add fourseven:scss
meteor add materialize:materialize
meteor npm install
meteor run
At that stage I had my app ready to work. But the system informs that it can't find the package materialize:materialize and in the console I see:
Packages['materialize:materialize']
undefined

OK, I check the code in the materialize.js file and then replace window.Materialize. with Materialize. -- such assignments are used in the new part of code (Modal function). Note: there is a period at the end of window.Materialize. because I change only those places where properties of the object window.Materialize are modified, and not the window.Materialize is introduced.
After these changes Meteor can takes it correctly and my app starts working.
Conclusions
1). It looks like there are some problems in the Atmosphere package for the version 0.100.1.
2). To work correctly with Meteor the materialize.js should be fixed a little to export a correct Materialize object.

@seabrus Awesome detective work!!!
Since Meteor's moving away from Atmosphere anyway, I decided to go down the NPM route instead.
meteor npm install<EMAIL_ADDRESS>--save
meteor npm install hammerjs --save

created client/stylesheets/style.scss and added:
@import '{}/node_modules/materialize-css/sass/materialize.scss';
In my main.jsx:

import _Hammer from "hammerjs"
import "/node_modules/materialize-css/dist/js/materialize";

// made global
Hammer = _Hammer;
Materialize = window.Materialize;

Copied fonts and placed them in /public/fonts/roboto
WORKS!!!

@kartboy16 Followed religiously your instructions and it works indeed!
I also believe NPM is the right way to go.

@kartboy16 i'm wondering what version of fourseven:scss are you using? Mine seems to report ```
While processing files with fourseven:scss (for target web.browser):
/client/main.scss: Scss compiler error: File to import:
{}/node_modules/materialize-css/sass/materialize.scss not found in file:
/Users/afifsohaili/Projects/sports-arena/{}/client/main.scss

<EMAIL_ADDRESS>Double check the location of materialize.scss in your node_modules.

It is easier to use the npm package instead of the atmosphere package.
Here you can find a little demo repo, that shows how that could look like.

Those fourseven:scss issues should be discussed in their repo, not here.

I agree with @JanZ1503. Any discussion around fourseven:scssshould take place at their repo. Not ours.

meteor add<EMAIL_ADDRESS>works

@jfhenon  and @kartboy16 I'm trying to emulate your suggested changes, and I used the repo created by jfhenon, but my styles (after removing materialize:materialize from .meteor/packages) are not being respected at all.
Any thoughts on what I might be doing improperly, or other hints for using npm?

@bmcgonag Any errors?

@kartboy16 No sir.  Just doesn't render any of the pages using Materialize styling.
I'm using Meteor 1.5.0.
I have added materialize to the  section for now, but would really prefer to be able to use it through NPM so others can easily get it setup when the pull the repo.  I hate to see atmosphere going away, it was a lot easier to just get things working from my end.

@bmcgonag Can you share code or do you have a public repo?
Sent from my Xiaomi Redmi Note 4 using FastHub

I can't share that repo as it's for my work, but let me modify one of my other repos that's on github, and I'll post a link.  Might take me the night to get to it.

I've just published an atmosphere package<EMAIL_ADDRESS>, having forked the official materialize package and then made the ( changes suggested ) by @seabrus .
It's working nicely for me. YMMV.

@cunneen I just set it up and it's working.  I didn't install fourseven:scss first, so initially it completely locked up my terminal, and left meteor running as a process, but after a quick reboot I added the<EMAIL_ADDRESS>to my packages, ran meteor, then ran your package, and it's working.  It did warn me, however about experimental versions.

@bmcgonag That's great it's working for you, thanks for letting me know. Yes the experimental version warning is deliberate; it's because I versioned my package with a hyphenation at the end (0.100.1-appworkshop). People should use the official package if (or when) it works for them.

We're releasing a bug fix update (v.0.100.2) with the changes suggested by @seabrus and updating the meteor instructions to
meteor add fourseven:scss
meteor add materialize:materialize


Include information on which feature line failed in failure message

I'm using the autoBindSteps features of the library, to write tests directly in *.feature files.
When a step fails, a failure message is generated such as:
  ● Feature name > Scenario name

    expect(received).toBeTruthy()

    Received: false

      88 |     /^I should expect '(.*)' to equal '(.*)'$/,
      89 |     async (left: string, right: string) => {
    > 90 |       expect(left).toEqual(right);
         |                     ^
      91 |     },
      92 |   );

      at Object.stepFunction (src/step-definitions/demo.ts:90:21)
      at node_modules/jest-cucumber/src/feature-definition-creation.ts:134:65
          at runMicrotasks (<anonymous>)

This allows me to find the underlying step definition that failed, but not the source line in the feature file. Ideally, I would see:
  ● Feature name > Scenario name

    jest-cucumber: Then I should expect 'foo' to equal 'bar' (src/features/demo.feature:15:4)

    expect(received).toBeTruthy()

    Received: false

      88 |     /^I should expect '(.*)' to equal '(.*)'$/,
      89 |     async (left: string, right: string) => {
    > 90 |       expect(left).toEqual(right);
         |                     ^
      91 |     },
      92 |   );

      at Object.stepFunction (src/step-definitions/demo.ts:90:21)
      at node_modules/jest-cucumber/src/feature-definition-creation.ts:134:65
          at runMicrotasks (<anonymous>)

This would allow me to point to the source line in the feature definition where the error occurred, especially when steps are reused many times:
    ...
    Then I should expect '1' to equal '1'
    Then I should expect 'foo' to equal 'bar'
    Then I should expect '1' to equal '1'

I'm happy to have a go at implementing this if the rough design looks acceptable?

PR merged, so closing.


KAFKA-10669: Make CurrentLeaderEpoch field ignorable and set MaxNumOffsets field default to 1

Couple of failures observed after KAFKA-9627: Replace ListOffset request/response with automated protocol (https://github.com/apache/kafka/pull/8295)

Latest consumer fails to consume from <IP_ADDRESS> brokers. Below system tests are failing
kafkatest.tests.client.client_compatibility_features_test.ClientCompatibilityFeaturesTest
kafkatest.tests.client.client_compatibility_produce_consume_test.ClientCompatibilityProduceConsumeTest

Solution: Current default value for MaxNumOffsets is 0. because to this brokers are not returning offsets for v0 request. Set default value for MaxNumOffsets field to 1.  This is similar to previous [approach]
(https://github.com/apache/kafka/blob/2.6/clients/src/main/java/org/apache/kafka/common/requests/ListOffsetRequest.java#L204)

In some scenarios, latest consumer fails with below error when connecting to a Kafka cluster which consists of newer and older (<=2.0) Kafka brokers
org.apache.kafka.common.errors.UnsupportedVersionException: Attempted to write a non-default currentLeaderEpoch at version 3

Solution: After #8295, consumer can set non-default CurrentLeaderEpoch value for v3 and below requests. One solution is to make CurrentLeaderEpoch ignorable.
Committer Checklist (excluded from commit message)

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

@dajac Thanks for the review. Updated the PR. Pls take a look.

Merged the PR to trunk and 2.7


darts box is a tardis with no whitelist

Description

its bigger on the inside...

This is also a problem with;

candle box (10x3 unwhitelisted!!)
deathrattle implant box (6x4 unwhitelisted)

There are some other boxes that are bigger on the inside e.g. the lightbulb boxes but at least they are whitelisted.


Did latest update break persistent workspaces?

My workspaces module config:
"hyprland/workspaces": {
"disable-scroll": true,
"all-outputs": true,
"on-click": "activate",
"persistent_workspaces": {
"1": [],
"2": [],
"3": [],
"4": [],
"5": [],
"6": [],
"7": [],
"8": [],
"9": [],
"10": []
}
},
Before i updated, i could see all 10 workspaces at all times. After updating, i only see workspaces with a window active in them.

My specs:
7900GRE
7800X3D
Linux zen kernel
Hyprland

I was finding the same issue on Sway with similar specs to you otherwise: Arch Linux + zen kernel. I looked back into the docs and it seems that at some point, the key was changed to "persistent-workspaces" rather than "persistent_workspaces". Changing this in my config worked for me.

Thank you so much!!!! This worked

Yeah, about a year ago we deprecated the name to match the "-" name scheme. Recently, we removed the "_" support.


Suggestion: change absolute import paths to @/

Hello, I am very new to Remix stack, so don't take my suggestion too seriously. However, I ran into various problems using WebStorm IDE. I was unable to auto fix missing imports with WebStorm:

my IDE suggested me to import things from #node_modules/... instead of '@remix-run/node' (same with other libs)
Wrong component import, e.g. import { StatusButton } from<EMAIL_ADDRESS>js(!) instead of ...tsx

I have solved my issues when I converted absolute path imports to Nextjs convention with @/ (I bet WS has better compatibility with Nextjs conventions, rather than # thingie).
I also had to import special library to share tsconfig with vitest, so I could remove imports section in package.json.
Here are main changes:

Pardon me, I am not opening PR with following improvements, I don't think I have enough experience to understand how this project is evolving.

Thanks for sharing. We're very intentional about this import config. Hopefully someone can find out a good way to handle this standard with Webstorm.
I don't plan on making a change here, so we'll close this.


Normalization about the input grid density (training data)

Issue summary
Hi prof. Koes,
I am wondering if data normalization was performed for the input grid density ? Thank you!
Steps to reproduce
Your system configuration
Operating system:
Compiler:
CUDA version (if applicable):
CUDNN version (if applicable):
Python version:

There is no normalization, but of course the Gaussians have characteristic distributions.


Do not work any more with https://www.ghacks.net/feed/

Feed URL
https://www.ghacks.net/feed/
Add-on version
3.3
Describe the bug
Since a few days, the list of entries is no more updated, or to be more exact, is updated only once every 5 or 10 days
If we click on the icon in https://www.ghacks.net while livemarks is active, we can see a list of entries consistent with what is stored in bookmark, but is out of date vs what is proposed on the site.
Conversely, if we click on the icon while livemarks is de-activated, download the corresponding file, and open it with a text editor, we can see that its content is up-to-date !
Issue is then clearly in livemarks

I have noticed the same thing, and in my case it's related to the Firefox native HTTPS-only mode. If it is on, some sites do not update, but as soon as I turn it off, they update again. I have tried adding some of the RSS feed addresses to the exclusion list but it does not help. I am wondering if there is a secondary site that these URLs are directing to, which are not HTTPS and are being blocked by the HTTPS-only mode. I hope this information helps.


Ignore resource group filters

We only want to filter based on subscription. Also change the label when no resources are found. It's weird to say 'Add a filter' to see more resources
#23

@EricJizbaMSFT,
Thanks for your contribution as a Microsoft full-time employee or intern. You do not need to sign a CLA.
Thanks,
Microsoft Pull Request Bot

Filter might not be the best word, but the 'Azure Account' extension uses filter and we want to be consistent


ISPN-14483 Remove indexing non-blocking extra layer

https://issues.redhat.com/browse/ISPN-14483

Integrated into main, thanks @fax4ever !

Thank you Will!


No default relationships

Hey @matejbasic .
I Installed the plugin, added consumer key and secret, connection was successful but there are no default relationships. How can I install the default relationships?

Hi @shayatik,
did you got any error messages during the installation?
Kind regards,
Matej, Neuralab

Nope, nothing. Any I copied all the default relationships manually from default_relationships.json

That's strange. We'll leave this ticket open for a while and try to recreate a bug. Maybe there was something wrong with the reading permissions of the default_relationships.json.

I am also having this problem - any ideas?

The problem has to do with the formatting of the json file. I just submitted a patch. If you replace the existing default_relationships.json with the one in the patch, the default relationships will show upon activation.
WARNING! If you deactivate the plugin to re-activate it, any custom relationships that you've created will be deleted.

Hi,
I am having the same issue, can you please guide me how to replace the patch as suggested above to fix the default relationship issue?
Thanks,
Kulvinder

I deactivated and reactivated the plugin after replacing the above-mentioned file, It picked the default relations ships but have these errors:
In order, I can see this error:

NWSI: No defined relationships.

Here are some screenshots
Edit_order_‹Managed_Security_Services_Provider___IT_Security___PCI_Compliance—_WordPress.pdf
WooCommerce_settings_‹Managed_Security_Services_Provider___IT_Security___PCI_Compliance—_WordPress.pdf

Hey guys- and is there any update on this?

This should be fixed with the https://github.com/Neuralab/WooCommerce-Salesforce-integration/commit/68cf4f9e9ef630e204227d79bbc5ea5922151f54 commit.
@Kulvinderjatt if you have any other problem, please open a new issue.

Thanks for responding, I will go through the above commit.

I am facing this same issue now. Can you please let me know how can I fix this?


Add more info to walletbalance output

latest version.
connecting apps, eg zap to lnd backend has users confused about the available balance (including myself). example:
zap shows via grpc: 100ksat
lndcli walletbalance shows 60ksat
the missing 40ksat are in the channelbalance.
i expect walletbalance to output ALL satoshi sitting in current unlocked wallet:

if they are locked or spendable and
how they are allocated (in channel or not),
as well as the time state (pending, confirmed..).
please add this info to the json output

I think the term wallet here refers only for on-chain balance. For satoshis in channels, lncli channelbalance is appropriate.
Apps such as Zap, Zeus etc. already automates this by showing the sum of walletbalance and channelbalance.


Contest leaderboard hiding

Coverage decreased (-0.04%) to 97.269% when pulling 6108b5edc0d883d6b7ee1220c8c5789f79edc2ed on contest-leaderboard-hiding into 02557b7d6767d1bda5c196d6ba31649a674689cc on master.


Remove Unnecessary Using

Remove Unnecessary Using

@raiytu4  thanks for your contribution. We've got lots of files with unnecessary using and we typically don't remove them outside of a doc sweep. Thanks again.


way to restore 'kill-sentence?

The file init-paredit.el has a line:
(define-key paredit-everywhere-mode-map [remap kill-sentence] 'paredit-kill))

that remap the emacs default kill-sentence, but I need it to bind some key, how to restore that in my key binding? below not work:
(global-set-key (kbd "C-S-k") 'kill-sentence)

it continue invoke paredit version. but if I M-x kill-sentence, it's worked.

The paredit-everywhere keymap is overriding the global keymap in your case. Try (define-key paredit-everywhere-mode-map (kbd "C-S-k") nil).

After tried, it's not work.
(after-load 'paredit-everywhere
  (global-unset-key (kbd "C-S-k"))
  (define-key paredit-everywhere-mode-map (kbd "C-S-k") nil)
  (define-key paredit-mode-map (kbd "C-S-k") nil)
  (global-set-key (kbd "C-S-k") 'kill-sentence)
  )

Ah yes, sorry, there are two maps to modify. So I'd expect just this to work, assuming you put it in init-local.el:
(after-load 'paredit
  (define-key paredit-mode-map [remap kill-sentence] nil))
(after-load 'paredit-everywhere
  (define-key paredit-everywhere-mode-map [remap kill-sentence] nil))

Maybe it's easier to bind paredit-kill to single key, but not to remap it?
Please re-think this. Thanks

I'm not sure that's better, and I wouldn't really want to change this: I created the config for myself, after all. It's expected (and recommended) that users who want to customise the configuration should simply fork it and edit it as desired.

See your stars, it's largely used in emacs users, and IMO it's the best of the others. But using sentence key binding is importance in the project, think below:
var fs = require('fs')
var http = require('http')

//read config
var CONFIG_FILE = 'config.json'
var CONFIG = {}
fs.read(CONFIG_FILE, function(err, data){
    if(err) return
    CONFIG = JSON.parse(data)
})

// http server
var HttpServer = http.createServer(function(req,res){
    .... ....
})

If want to swap the read config and http server part, just kill-sentence, then yank. The code managing way also applied to the whole team.
But now the M-k not work, try bind to another key, still failed.
Just want to keep track your updates, and suggest rethink the usage.

Fair enough -- done in c87e6c8, thanks!


Fix multi-GPU tests after the Horovod example scripts were removed

I broke the build. Oops!

Not sure what's going on here, these tests pass when run independently but fail when run as part of the full test suite?

rerun tests

rerun tests

@benfred @jperez999 This passes locally, but is now failing with a NCCL comms error:
[1,0]:Traceback (most recent call last):
[1,0]:  File "./examples/multi-gpu-movielens/tf_trainer.py", line 134, in
[1,0]:    loss_value = training_step(examples, labels, batch == 0)
[1,0]:  File "/conda/envs/rapids/lib/python3.8/site-packages/tensorflow/python/eager/def_function.py", line 867, in call
[1,0]:    result = self._call(*args, **kwds)
[1,0]:  File "/conda/envs/rapids/lib/python3.8/site-packages/tensorflow/python/eager/def_function.py", line 928, in _call
[1,0]:    return self._stateless_fn(*args, **kwds)
[1,0]:  File "/conda/envs/rapids/lib/python3.8/site-packages/tensorflow/python/eager/function.py", line 3018, in call
[1,0]:    return graph_function._call_flat(
[1,0]:  File "/conda/envs/rapids/lib/python3.8/site-packages/tensorflow/python/eager/function.py", line 1960, in _call_flat
[1,0]:    return self._build_call_outputs(self._inference_function.call(
[1,0]:  File "/conda/envs/rapids/lib/python3.8/site-packages/tensorflow/python/eager/function.py", line 591, in call
[1,0]:    outputs = execute.execute(
[1,0]:  File "/conda/envs/rapids/lib/python3.8/site-packages/tensorflow/python/eager/execute.py", line 59, in quick_execute
[1,0]:    tensors = pywrap_tfe.TFE_Py_Execute(ctx._handle, device_name, op_name,
[1,0]:tensorflow.python.framework.errors_impl.UnknownError:  ncclCommInitRank failed: invalid usage
[1,0]:\t [[{{node DistributedGradientTape_Allreduce/cond_10/then/_99/DistributedGradientTape_Allreduce/cond_10/HorovodAllreduce_gradient_tape_model_dense_3_BiasAdd_BiasAddGrad_0}}]] [Op:__inference_training_step_1698]
[1,0]:
[1,0]:Function call stack:
[1,0]:training_step

rerun tests


Package power-profiles-daemon

Project description
Makes power profiles handling available over D-Bus.
Announcement: http://www.hadess.net/2020/09/power-profiles-daemon-new-project.html
Might be part of GNOME 3.40: https://gitlab.gnome.org/GNOME/gnome-control-center/-/merge_requests/816
Metadata

source URL: https://gitlab.freedesktop.org/hadess/power-profiles-daemon/
license: GPLv3+
platforms: linux

I am going to try working on this


PointModel.set_duration_distribution fix

PointModel.set_duration_distribution should set duration distribution, not amplitude distribution.

Wat!
I hope this is not what Magda used for the Pareto distributed durations 😅
Thanks for the fix!


Overseer with lidarr support

Description
Screenshot (if UI-related)
To-Dos

[ ] Successful build yarn build
[ ] Translation keys yarn i18n:extract
[ ] Database migration (if required)

Issues Fixed or Closed

Fixes #XXXX

updated the docker-compose.yml

I'd prefer not to modify the docker compose this way as I feel like it would go against merging in the parent repo


Shift export feature out of contractimpl

What
Shift export feature out of contractimpl and make it a boolean parameter that the developer can control using features or however they like.
Why
A little experimentation with seeing how we can remove the export feature from the contractimpl macro.

This is an interesting design and I'm glad you did this experiment.
What I like: Much more flexible, can avoid the use of an "export" feature if it's not needed
What I don't like: Quite a bit more verbose if you do want it feature based

What I like: Much more flexible, can avoid the use of an "export" feature if it's not needed

There is the practical fact that it is more flexible, but the main driver for me with this is that it conceptually looks more like Rust code I see about, and therefore even though it is more verbose, it is instantly understandable that I can control exports with features, as opposed to, "if I pass a string, that will end up feature gating exports."
I'm leaning to merging this. Lmk if you disagree strongly.