Ollie: Watch bestrelationshipguideforladies.blogspot.com

Ollie requests the watch of the watch_keyword bestrelationshipguideforladies\.blogspot\.com. See the MS search here and the Stack Exchange search in text, in URLs, and in code.

bestrelationshipguideforladies\.blogspot\.com has been seen in 1 true positive, 0 false positives, and 0 NAAs.

Rejected by Makyen in Charcoal HQ. Reason: 'See 6637'


Mavenize editorconfig-core-java

I hope there is no substantial reason to stick with Ant? Switching to Maven would make it much easier to the whole Java world to consume the EditorConfig Java library.
@xuhdev and/or @denofevil could you please review this proposal?

@ncjones you might perhaps also be interested in this proposal?

@ppalaga One of the reasons which we used ant is that the jEdit plugin development requires it. Besides that, I agree to switch to maven.

I added a Travis CI descriptor to run the core tests in 10c8d1f. The Travis CI needs to be added by some of the repo owners in https://github.com/editorconfig/editorconfig-core-java/settings/hooks .
To verify the proposed .travis.yml file, I have run it in on a pull request in my personal repo: https://github.com/ppalaga/editorconfig-core-java/pull/1

Personally I prefer Gradle over Maven but I don't really care how a project is built as long as it's automated. What's missing from this project is publishing it to Maven Central; currently I use a Git submodule to pull this library into the EditorConfig Eclipse plugin project.

@ncjones yes, publishing it to Maven Central is the most important target here.
BTW, do you need also the OSGi entries like Bundle-Version, Bundle-Name, etc. in manifest.mf to be able to consume the EditorConfig jar in your plugin?

Good question. I actually would need to investigate because I am new to Eclipse plugin development. I fear it may not be enough since plugins built with Maven/Tycho require dependencies to be hosted in a P2 repositories.

plugins built with Maven/Tycho require dependencies to be hosted in a P2 repositories

Yes, that is basically also the state of my knowledge. I was hoping to find out some day that it is not necessary.
As you are probably the only OSGi consumer of EditorConfig jar, I vote for neither adding the OSGi entries to EditorConfig jar nor creating a p2 repo at this stage. You can still consume EditorConfig using the workaround with maven-dependency-plugin:copy-dependencies https://github.com/ppalaga/eircc/blob/master/org.l2x6.eircc.ui/pom.xml#L41-L56

Yep, that sounds good.

Is this PR still waiting for a review by somebody? Otherwise, there seems to be enough consensus about the proposal and the PR could be merged.

Can we set maven.compiler.target to 1.6? IntelliJ based products are still defaulting to 1.6

set maven.compiler.target to 1.6

@denofevil done in 7103787
I added two java.io related fixes in 54d6786 and 7e591e9
Is the PR acceptable now?

Looks ok for me

@denofevil it is worth noting that the Java 6 support in 7103787 is just declarative and does not warrant full Java 6 runtime compatibility. To ensure that, one should compile using a Java 6 compiler, which I could not because Maven 3.3.3 that I happen to have here requires Java 7+. The proper solution should be enforcing both some older Maven version and Java 6 compiler in pom.xml. But as far as I could see, we do not use any Java 7+ APIs here and the jar compiled with Java 7 or Java 8 will have no problems inside a Java 6 VM. I could try to address this if you encounter any Java API compatibility problems under Java 6.
And thanks for merging.

I added https://github.com/editorconfig/editorconfig-core-java/issues/4 so that the activation of the Travic CI hook won't get forgotten.

@ppalaga thank you for the contribution :)
@xuhdev, can you enable the hook please?


Project: All-in-one App

Project name
All-in-one App
Description
Summary:
The motivation behind creating this app was to have just one app that enables all Microsoft apps. Due to limited time available, this app combines three Microsoft apps with limited functionality: To do, Mail, and Calendar.
Current implementation:
To Do

Toggle between pending and completed task
Add new task with due date
Set task priority
Update task status to done

Email:

Shows only important emails

Calendar:

Shows upcoming events
Add new event

Note: This application runs on client ID MainPage.xaml.cs so we need to change ID on line 38
Repo URL
https://github.com/Dikshabhura/AllInOneApp/tree/Main
Team members
Dikshabhura

Thank you for your submission @Diksha-Bhura! Would you be willing to record a short video to demonstrate the app? It's not required for the hackathon but it would help us showcase your work internally at Microsoft and publicly in the community 😊

@waldekmastykarz Sure, I will make one and put it hear.


Exhaustive list of package-ecosystem values is not documented

According to https://dependabot.com/blog/announcing-poetry-support/ dependabot has supported Poetry since 2018. However I don't see poetry as an option documented for package-ecosystem here: https://help.github.com/en/github/administering-a-repository/configuration-options-for-dependency-updates#package-ecosystem
Is poetry not the correct value to use for package-ecosystem in the configuration for dependabot? Where is the complete list of supported values documented? If it's only the values shown in the page I linked, then does that mean Poetry support has been dropped recently?
It's just not very clear. I'd like to see some documentation on the supported values for package-ecosystem or some documentation on how to enable Poetry support.

According to https://dependabot.com/blog/announcing-poetry-support/ dependabot has supported Poetry since 2018. However I don't see poetry as an option documented for package-ecosystem here: https://help.github.com/en/github/administering-a-repository/configuration-options-for-dependency-updates#package-ecosystem

Yeah sorry about the confusion here, you can specify pip which will also work for poetry. Currently, all python package managers supported by dependabot are in a shared codebase. We're planning to split these out in future which is why we opted for pip as the most common one.

I tried using pip here: https://github.com/lexicalunit/spellbot/blob/master/.github/dependabot.yml -- but I got a ton of errors that look like:
updater | ERROR <job_40324635> Error processing pytest-freezegun (Dependabot::SharedHelpers::HelperSubprocessFailed)
updater | ERROR <job_40324635> pyenv: version `3.8.3' is not installed (set by /home/dependabot/dependabot-updater/tmp/dependabot_20200728-73-1gd5ulc/.python-version)
updater |
updater | ERROR <job_40324635> /home/dependabot/dependabot-updater/vendor/ruby/2.6.0/gems/dependabot-python-0.118.7/lib/dependabot/python/update_checker/poetry_version_resolver.rb:317:in `run_poetry_command'
updater | ERROR <job_40324635> /home/dependabot/dependabot-updater/vendor/ruby/2.6.0/gems/dependabot-python-0.118.7/lib/dependabot/python/update_checker/poetry_version_resolver.rb:84:in `block (2 levels) in fetch_latest_resolvable_version_string'
updater | ERROR <job_40324635> /home/dependabot/dependabot-updater/vendor/ruby/2.6.0/gems/dependabot-common-0.118.7/lib/dependabot/shared_helpers.rb:141:in `with_git_configured'
updater | ERROR <job_40324635> /home/dependabot/dependabot-updater/vendor/ruby/2.6.0/gems/dependabot-python-0.118.7/lib/dependabot/python/update_checker/poetry_version_resolver.rb:72:in `block in fetch_latest_resolvable_version_string'
updater | ERROR <job_40324635> /home/dependabot/dependabot-updater/vendor/ruby/2.6.0/gems/dependabot-common-0.118.7/lib/dependabot/shared_helpers.rb:37:in `block (2 levels) in in_a_temporary_directory'
updater | ERROR <job_40324635> /home/dependabot/dependabot-updater/vendor/ruby/2.6.0/gems/dependabot-common-0.118.7/lib/dependabot/shared_helpers.rb:37:in `chdir'
updater | ERROR <job_40324635> /home/dependabot/dependabot-updater/vendor/ruby/2.6.0/gems/dependabot-common-0.118.7/lib/dependabot/shared_helpers.rb:37:in `block in in_a_temporary_directory'
updater | ERROR <job_40324635> /usr/lib/ruby/2.6.0/tmpdir.rb:93:in `mktmpdir'
updater | ERROR <job_40324635> /home/dependabot/dependabot-updater/vendor/ruby/2.6.0/gems/dependabot-common-0.118.7/lib/dependabot/shared_helpers.rb:34:in `in_a_temporary_directory'
updater | ERROR <job_40324635> /home/dependabot/dependabot-updater/vendor/ruby/2.6.0/gems/dependabot-python-0.118.7/lib/dependabot/python/update_checker/poetry_version_resolver.rb:71:in `fetch_latest_resolvable_version_string'
updater | ERROR <job_40324635> /home/dependabot/dependabot-updater/vendor/ruby/2.6.0/gems/dependabot-python-0.118.7/lib/dependabot/python/update_checker/poetry_version_resolver.rb:42:in `latest_resolvable_version'
updater | ERROR <job_40324635> /home/dependabot/dependabot-updater/vendor/ruby/2.6.0/gems/dependabot-python-0.118.7/lib/dependabot/python/update_checker.rb:43:in `latest_resolvable_version'
updater | ERROR <job_40324635> /home/dependabot/dependabot-updater/vendor/ruby/2.6.0/gems/dependabot-common-0.118.7/lib/dependabot/update_checkers/base.rb:72:in `preferred_resolvable_version'
updater | ERROR <job_40324635> /home/dependabot/dependabot-updater/vendor/ruby/2.6.0/gems/dependabot-common-0.118.7/lib/dependabot/update_checkers/base.rb:235:in `preferred_version_resolvable_with_unlock?'
updater | ERROR <job_40324635> /home/dependabot/dependabot-updater/vendor/ruby/2.6.0/gems/dependabot-common-0.118.7/lib/dependabot/update_checkers/base.rb:227:in `numeric_version_can_update?'
updater | ERROR <job_40324635> /home/dependabot/dependabot-updater/vendor/ruby/2.6.0/gems/dependabot-common-0.118.7/lib/dependabot/update_checkers/base.rb:177:in `version_can_update?'
updater | ERROR <job_40324635> /home/dependabot/dependabot-updater/vendor/ruby/2.6.0/gems/dependabot-common-0.118.7/lib/dependabot/update_checkers/base.rb:40:in `can_update?'
updater | ERROR <job_40324635> /home/dependabot/dependabot-updater/lib/dependabot/updater.rb:250:in `requirements_to_unlock'
updater | ERROR <job_40324635> /home/dependabot/dependabot-updater/lib/dependabot/updater.rb:186:in `check_and_create_pull_request'
updater | ERROR <job_40324635> /home/dependabot/dependabot-updater/lib/dependabot/updater.rb:65:in `check_and_create_pr_with_error_handling'
updater | ERROR <job_40324635> /home/dependabot/dependabot-updater/lib/dependabot/updater.rb:51:in `block in run'
updater | ERROR <job_40324635> /home/dependabot/dependabot-updater/lib/dependabot/updater.rb:51:in `each'
updater | ERROR <job_40324635> /home/dependabot/dependabot-updater/lib/dependabot/updater.rb:51:in `run'
updater | ERROR <job_40324635> /home/dependabot/dependabot-updater/lib/dependabot/update_files_job.rb:16:in `perform_job'
updater | ERROR <job_40324635> /home/dependabot/dependabot-updater/lib/dependabot/base_job.rb:29:in `run'
updater | ERROR <job_40324635> bin/update_files.rb:21:in `<main>'

@lexicalunit we just fixed a bug with the installed python versions. Could you try triggering a new update for your repo? You can get to it from the repository > Insights > Dependency Graph > Dependabot > last checked ...

It works! 🎉

Hei,
How about package-ecosystem for javascript? I dint see it in the list and I was wondering if it is still supported in v2

How about package-ecosystem for javascript? I dint see it in the list and I was wondering if it is still supported in v2

@mdesta npm supports both yarn and npm, we're planning on splitting these out in future.


DEBUG: boostrap flake

@sttts ready to close this?

Closing as we know why bootstrapping was flaking (fixed in #672)


Connection retry is being done for ALL datasource connection problems

Rather than connection retry is done only for connection unavailability, all data source connection problems for instance invalid configuration, are being retried.

Fixed by https://github.com/wso2-extensions/siddhi-store-rdbms/pull/143


Some picture captioning results with various models, for reference

I have tried to get several different models to generate captions, keywords, etc, for this image:

Some of the results are worse (cheesier, less accurate) than others.  Some models have quirks / deprecations.
(mlx) ➜  vlm python mytest.py
Model:  mlx-community/llava-v1.6-34b-8bit
Fetching 17 files: 100%|██████████████████████████████████████████████████████████| 17/17 [00:00<00:00, 37351.06it/s]
Fetching 17 files: 100%|███████████████████████████████████████████████████████████| 17/17 [00:00<00:00, 8201.42it/s]
Image:  /Users/x/Pictures/Processed/20241026-174148_L1010280.jpg
==========
Image: /Users/x/Pictures/Processed/20241026-174148_L1010280.jpg

Prompt: <|im_start|>user
<image>
Provide a formal caption, description and comma-separated keywords or tags for this image, suitable for microstock<|im_end|>
<|im_start|>assistant

Expanding inputs for image tokens in LLaVa-NeXT should be done in processing. Please add `patch_size` and `vision_feature_select_strategy` to the model's processing config or set directly with `processor.patch_size = {{patch_size}}` and processor.vision_feature_select_strategy = {{vision_feature_select_strategy}}`. Using processors without these attributes in the config is deprecated and will throw an error in v4.47.
Caption: "Historic town square with traditional architecture and a clock tower."

Description: The image captures a quaint town square at dusk.  The architecture of the building is traditional, featuring a steep roof and a central window with a pointed arch. The clock tower stands tall, its face illuminated against the fading light of the day.

In the foreground, a circular fountain serves as a focal point, surrounded by a few cars parked along the street. The cobblestone street adds to the charm of the scene, leading the eye towards the white building and the clock tower. The sky above is a canvas of warm hues, suggesting the sun has recently set.

Keywords: town square, historic architecture, clock tower, cobblestone street, dusk, traditional building, fountain, cars, street, town, cityscape, European architecture, old town, heritage site, urban landscape, evening, sunset, travel destination, tourism, landmark, city life, public space, community, culture, history, preservation, urban design, architecture, city, town, European, heritage, tourism, travel, culture, history
==========
Prompt: 0.819 tokens-per-sec
Generation: 5.499 tokens-per-sec
Caption: "Historic town square with traditional architecture and a clock tower."

Description: The image captures a quaint town square at dusk.  The architecture of the building is traditional, featuring a steep roof and a central window with a pointed arch. The clock tower stands tall, its face illuminated against the fading light of the day.

In the foreground, a circular fountain serves as a focal point, surrounded by a few cars parked along the street. The cobblestone street adds to the charm of the scene, leading the eye towards the white building and the clock tower. The sky above is a canvas of warm hues, suggesting the sun has recently set.

Keywords: town square, historic architecture, clock tower, cobblestone street, dusk, traditional building, fountain, cars, street, town, cityscape, European architecture, old town, heritage site, urban landscape, evening, sunset, travel destination, tourism, landmark, city life, public space, community, culture, history, preservation, urban design, architecture, city, town, European, heritage, tourism, travel, culture, history
(mlx) ➜  vlm python mytest.py
Model:  mlx-community/pixtral-12b-8bit
Fetching 11 files: 100%|██████████████████████████████████████████████████████████| 11/11 [00:00<00:00, 51898.02it/s]
Fetching 11 files: 100%|██████████████████████████████████████████████████████████| 11/11 [00:00<00:00, 15719.71it/s]
Image:  /Users/x/Pictures/Processed/20241026-174148_L1010280.jpg
==========
Image: /Users/x/Pictures/Processed/20241026-174148_L1010280.jpg

Prompt: <s>[INST][IMG]Provide a formal caption, description and comma-separated keywords or tags for this image, suitable for microstock[/INST]
**Caption:**
A picturesque town square at dusk, featuring a historic building with a prominent statue and clock tower.

**Description:**
The image captures a charming town square during the evening hours. The central focus is a historic building with a white facade, adorned with a large arched window and a balcony. In front of the building stands a statue on a pedestal, surrounded by a circular garden. To the right of the building is a tall clock tower with a stone exterior. The square is paved with cobblestones and includes a roundabout with a few parked cars. The sky is painted with hues of blue and orange, indicating the setting sun.

**Keywords:**
town square, historic building, statue, clock tower, evening, sunset, cobblestone, roundabout, cars, pedestrians, architecture, urban, heritage, European, street, sky, dusk
==========
Prompt: 3.145 tokens-per-sec
Generation: 20.908 tokens-per-sec
**Caption:**
A picturesque town square at dusk, featuring a historic building with a prominent statue and clock tower.

**Description:**
The image captures a charming town square during the evening hours. The central focus is a historic building with a white facade, adorned with a large arched window and a balcony. In front of the building stands a statue on a pedestal, surrounded by a circular garden. To the right of the building is a tall clock tower with a stone exterior. The square is paved with cobblestones and includes a roundabout with a few parked cars. The sky is painted with hues of blue and orange, indicating the setting sun.

**Keywords:**
town square, historic building, statue, clock tower, evening, sunset, cobblestone, roundabout, cars, pedestrians, architecture, urban, heritage, European, street, sky, dusk
(mlx) ➜  vlm python mytest.py
Model:  mlx-community/llava-v1.6-mistral-7b-8bit
Fetching 12 files: 100%|██████████████████████████████████████████████████████████| 12/12 [00:00<00:00, 61832.49it/s]
Fetching 12 files: 100%|██████████████████████████████████████████████████████████| 12/12 [00:00<00:00, 18634.45it/s]
Image:  /Users/x/Pictures/Processed/20241026-174148_L1010280.jpg
==========
Image: /Users/x/Pictures/Processed/20241026-174148_L1010280.jpg

Prompt: [INST] <image>
Provide a formal caption, description and comma-separated keywords or tags for this image, suitable for microstock [/INST]
Expanding inputs for image tokens in LLaVa-NeXT should be done in processing. Please add `patch_size` and `vision_feature_select_strategy` to the model's processing config or set directly with `processor.patch_size = {{patch_size}}` and processor.vision_feature_select_strategy = {{vision_feature_select_strategy}}`. Using processors without these attributes in the config is deprecated and will throw an error in v4.47.
Formal Caption: "Historic European Town Square at Dusk with Old Building and Statue."

Description: "This image captures the serene ambiance of a historic European town square at dusk. The square is dominated by a large, old building with a distinctive pointed roof and a clock tower. The building's facade is adorned with a statue, adding to its grandeur. The square is paved with cobblestones and features a fountain in the center, surrounded by a circular driveway. The sky is painted with hues of orange and pink, indicating the setting sun. The scene is further enhanced by the presence of a few cars parked around the square, and a few pedestrians can be seen walking around the area. The overall atmosphere is peaceful and picturesque, typical of a charming European town."

Keywords or Tags: "historic, europe, town square, dusk, old building, pointed roof, clock tower, statue, cobblestone, fountain, circular driveway, setting sun, cars, pedestrians, charming, picturesque."
==========
Prompt: 30.116 tokens-per-sec
Generation: 36.198 tokens-per-sec
Formal Caption: "Historic European Town Square at Dusk with Old Building and Statue."

Description: "This image captures the serene ambiance of a historic European town square at dusk. The square is dominated by a large, old building with a distinctive pointed roof and a clock tower. The building's facade is adorned with a statue, adding to its grandeur. The square is paved with cobblestones and features a fountain in the center, surrounded by a circular driveway. The sky is painted with hues of orange and pink, indicating the setting sun. The scene is further enhanced by the presence of a few cars parked around the square, and a few pedestrians can be seen walking around the area. The overall atmosphere is peaceful and picturesque, typical of a charming European town."

Keywords or Tags: "historic, europe, town square, dusk, old building, pointed roof, clock tower, statue, cobblestone, fountain, circular driveway, setting sun, cars, pedestrians, charming, picturesque."
(mlx) ➜  vlm python mytest.py
Model:  mlx-community/Phi-3.5-vision-instruct-bf16
Fetching 13 files: 100%|██████████████████████████████████████████████████████████| 13/13 [00:00<00:00, 28135.17it/s]
The repository for /Users/x/.cache/huggingface/hub/models--mlx-community--Phi-3.5-vision-instruct-bf16/snapshots/a2c307b346fcff186a6250ea4c0853688db7b633 contains custom code which must be executed to correctly load the model. You can inspect the repository content at https://hf.co//Users/x/.cache/huggingface/hub/models--mlx-community--Phi-3.5-vision-instruct-bf16/snapshots/a2c307b346fcff186a6250ea4c0853688db7b633.
You can avoid this prompt in future by passing the argument `trust_remote_code=True`.

Do you wish to run the custom code? [y/N] y
/opt/homebrew/Caskroom/miniconda/base/envs/mlx/lib/python3.12/site-packages/transformers/models/auto/image_processing_auto.py:520: FutureWarning: The image_processor_class argument is deprecated and will be removed in v4.42. Please use `slow_image_processor_class`, or `fast_image_processor_class` instead
  warnings.warn(
Fetching 13 files: 100%|██████████████████████████████████████████████████████████| 13/13 [00:00<00:00, 23645.25it/s]
Image:  /Users/jrp/Pictures/Processed/20241026-174148_L1010280.jpg
==========
Image: /Users/jrp/Pictures/Processed/20241026-174148_L1010280.jpg

Prompt: <|user|>
<|image_1|>Provide a formal caption, description and comma-separated keywords or tags for this image, suitable for microstock<|end|>
<|assistant|>

A serene town square with a prominent clock tower, a statue, and a mix of traditional and modern buildings. The sky is painted with hues of sunset, casting a warm glow over the scene. Cars are parked along the street, and the atmosphere is calm and peaceful.<|end|>
==========
Prompt: 33.464 tokens-per-sec
Generation: 8.177 tokens-per-sec
A serene town square with a prominent clock tower, a statue, and a mix of traditional and modern buildings. The sky is painted with hues of sunset, casting a warm glow over the scene. Cars are parked along the street, and the atmosphere is calm and peaceful.<|end|>

The script that I used was:
import mlx.core as mx
from mlx_vlm import load, generate
from mlx_vlm.prompt_utils import apply_chat_template
from mlx_vlm.utils import load_config

import os
from pathlib import Path

# model_path = "mlx-community/llava-1.5-7b-4bit"
# model_path = "mlx-community/llava-v1.6-mistral-7b-8bit"
# model_path = "mistral-community/pixtral-12b"
# model_path = "mlx-community/pixtral-12b-8bit"
# model_path = "Qwen/Qwen2-VL-7B-Instruct"  # libc++abi: terminating due to uncaught exception of type std::runtime_error: Attempting to allocate<PHONE_NUMBER>24 bytes which is greater than the maximum allowed buffer size of<PHONE_NUMBER>8 bytes.#
# model_path = "mlx-community/llava-v1.6-34b-8bit"
model_path = "mlx-community/Phi-3.5-vision-instruct-bf16" # OK
# model_path = "mistral-community/pixtral-12b"
# model_path = "meta-llama/Llama-3.2-11B-Vision-Instruct"  # Memory

print("Model: ", model_path)

# Load the model
model, processor = load(model_path)
config = load_config(model_path)

prompt = "Provide a formal caption, description and comma-separated keywords or tags for this image, suitable for microstock"

picpath = "/Users/x/Pictures/Processed"
pics = sorted(Path(picpath).iterdir(), key=os.path.getmtime, reverse=True)
pic = str(pics[0])
print("Image: ", pic)

# Apply chat template
formatted_prompt = apply_chat_template(processor, config, prompt, num_images=1)

# Generate output
output = generate(model, processor, pic, formatted_prompt, max_tokens=250, verbose=True)
print(output)

Same script, different pic / laptop:

I leave you to draw your own conclusions but I see that meta-llama/Llama-3.2-11B-Vision-Instruct wants to produce nice results.  It is, however, very very slow.  Not sure why.  It is not using all my machine's memory, and the cpu usage, at least, seems v low.  Anyway, I gave up.
(mlx) xxx@xxxs-MacBook-Pro vlm % time python mytest.py
Model:  mlx-community/llava-1.5-7b-4bit
Fetching 11 files: 100%|█████████████████████████████████████████████████████████████| 11/11 [00:00<00:00, 37663.14it/s]
Fetching 11 files: 100%|█████████████████████████████████████████████████████████████| 11/11 [00:00<00:00, 13129.58it/s]
Image:  20241116-164633_L1010479_DxO.jpg
==========
Image: /Users/xxx/Pictures/Processed/20241116-164633_L1010479_DxO.jpg

Prompt: USER: <image>
Provide a factual caption, description and comma-separated keywords or tags for this image so that it can be searched for easily ASSISTANT:
Expanding inputs for image tokens in LLaVa should be done in processing. Please add `patch_size` and `vision_feature_select_strategy` to the model's processing config or set directly with `processor.patch_size = {{patch_size}}` and processor.vision_feature_select_strategy = {{vision_feature_select_strategy}}`. Using processors without these attributes in the config is deprecated and will throw an error in v4.47.
 The street is lined with shops and a traffic light.  The street is lined with shops and a traffic light. The people are carrying handbags and a baby carriage.
python mytest.py  2.46s user 4.32s system 107% cpu 6.285 total
(mlx) xxx@xxxs-MacBook-Pro vlm % time python mytest.py
Model:  mlx-community/llava-v1.6-mistral-7b-8bit
Fetching 12 files: 100%|█████████████████████████████████████████████████████████████| 12/12 [00:00<00:00, 55067.45it/s]
Fetching 12 files: 100%|█████████████████████████████████████████████████████████████| 12/12 [00:00<00:00, 39850.87it/s]
Image:  20241116-164633_L1010479_DxO.jpg
==========
Image: /Users/xxx/Pictures/Processed/20241116-164633_L1010479_DxO.jpg

Prompt: [INST] <image>
Provide a factual caption, description and comma-separated keywords or tags for this image so that it can be searched for easily [/INST]
Expanding inputs for image tokens in LLaVa-NeXT should be done in processing. Please add `patch_size` and `vision_feature_select_strategy` to the model's processing config or set directly with `processor.patch_size = {{patch_size}}` and processor.vision_feature_select_strategy = {{vision_feature_select_strategy}}`. Using processors without these attributes in the config is deprecated and will throw an error in v4.47.
Factual Caption: A quiet street in a historic town at dusk.

Description: The image depicts a serene evening scene in a European-style town. The street is lined with historic buildings, painted in a traditional color palette of white and black, with some featuring green roofs. The architecture suggests a blend of medieval and Renaissance styles. The street is illuminated by streetlights, casting a warm glow on the cobblestone pavement. A few pedestrians are visible, walking along the sidewalk, and a few cars are parked or moving along the road. The sky is overcast, and the overall atmosphere is calm and peaceful.

Keywords or Tags: historic town, cobblestone street, European architecture, evening, streetlights, pedestrians, cars, overcast sky, traditional color palette, green roofs, medieval, Renaissance, quiet, serene, dusk.
==========
Prompt: 33.712 tokens-per-sec
Generation: 47.399 tokens-per-sec
Factual Caption: A quiet street in a historic town at dusk.

Description: The image depicts a serene evening scene in a European-style town. The street is lined with historic buildings, painted in a traditional color palette of white and black, with some featuring green roofs. The architecture suggests a blend of medieval and Renaissance styles. The street is illuminated by streetlights, casting a warm glow on the cobblestone pavement. A few pedestrians are visible, walking along the sidewalk, and a few cars are parked or moving along the road. The sky is overcast, and the overall atmosphere is calm and peaceful.

Keywords or Tags: historic town, cobblestone street, European architecture, evening, streetlights, pedestrians, cars, overcast sky, traditional color palette, green roofs, medieval, Renaissance, quiet, serene, dusk.
python mytest.py  3.29s user 5.87s system 102% cpu 8.919 total
(mlx) xxx@xxxs-MacBook-Pro vlm % time python mytest.py
Model:  mlx-community/llava-v1.6-34b-8bit
Fetching 17 files: 100%|█████████████████████████████████████████████████████████████| 17/17 [00:00<00:00, 25329.72it/s]
Fetching 17 files: 100%|█████████████████████████████████████████████████████████████| 17/17 [00:00<00:00, 16268.12it/s]
Image:  20241116-164633_L1010479_DxO.jpg
==========
Image: /Users/xxx/Pictures/Processed/20241116-164633_L1010479_DxO.jpg

Prompt: <|im_start|>user
<image>
Provide a factual caption, description and comma-separated keywords or tags for this image so that it can be searched for easily<|im_end|>
<|im_start|>assistant

Expanding inputs for image tokens in LLaVa-NeXT should be done in processing. Please add `patch_size` and `vision_feature_select_strategy` to the model's processing config or set directly with `processor.patch_size = {{patch_size}}` and processor.vision_feature_select_strategy = {{vision_feature_select_strategy}}`. Using processors without these attributes in the config is deprecated and will throw an error in v4.47.
Caption: A bustling city street with a mix of modern and traditional architecture.

Description: The image captures a lively city scene at dusk. The street is lined with a variety of buildings, including a prominent half-timbered structure that adds a touch of historical charm to the modern urban landscape. People are seen walking along the sidewalk, going about their daily routines. The traffic light is glowing red, indicating a pause in the flow of vehicles.

Description: The image captures a lively city scene at dusk. The street is lined with a variety of buildings, including a prominent half-timbered structure that adds a touch of historical charm to the modern urban landscape. People are seen walking along the sidewalk, going about their daily routines. The traffic light is glowing red, indicating a pause in the flow of vehicles.

 You can inspect the repository content at https://hf.co//Users/xxx/.cache/huggingface/hub/models--mlx-community--Phi-3.5-vision-instruct-bf16/snapshots/a2c307b346fcff186a6250ea4c0853688db7b633.
You can avoid this prompt in future by passing the argument `trust_remote_code=True`.

Do you wish to run the custom code? [y/N] y
/opt/homebrew/Caskroom/miniconda/base/envs/mlx/lib/python3.12/site-packages/transformers/models/auto/image_processing_auto.py:520: FutureWarning: The image_processor_class argument is deprecated and will be removed in v4.42. Please use `slow_image_processor_class`, or `fast_image_processor_class` instead
  warnings.warn(
Fetching 13 files: 100%|█████████████████████████████████████████████████████████████| 13/13 [00:00<00:00, 39397.36it/s]
Image:  20241116-164633_L1010479_DxO.jpg
==========
Image: /Users/xxx/Pictures/Processed/20241116-164633_L1010479_DxO.jpg

Prompt: <|user|>
<|image_1|>Provide a factual caption, description and comma-separated keywords or tags for this image so that it can be searched for easily<|end|>
<|assistant|>

Street view with traditional half-timbered houses, pedestrians, traffic lights, and vehicles. Keywords: "half-timbered houses", "pedestrians", "traffic lights", "vehicles", "street view".<|end|>
==========
Prompt: 39.173 tokens-per-sec
Generation: 10.209 tokens-per-sec
Street view with traditional half-timbered houses, pedestrians, traffic lights, and vehicles. Keywords: "half-timbered houses", "pedestrians", "traffic lights", "vehicles", "street view".<|end|>
python mytest.py  2.81s user 2.74s system 50% cpu 10.892 total
(mlx) xxx@xxxs-MacBook-Pro vlm % time python mytest.py
Model:  meta-llama/Llama-3.2-11B-Vision-Instruct
Fetching 15 files: 100%|█████████████████████████████████████████████████████████████| 15/15 [00:00<00:00, 19691.57it/s]
Fetching 15 files: 100%|██████████████████████████████████████████████████████████████| 15/15 [00:00<00:00, 8341.89it/s]
Image:  20241116-164633_L1010479_DxO.jpg
==========
Image: /Users/xxx/Pictures/Processed/20241116-164633_L1010479_DxO.jpg

Prompt: <|begin_of_text|><|start_header_id|>user<|end_header_id|>

Provide a factual caption, description and comma-separated keywords or tags for this image so that it can be searched for easily<|image|><|eot_id|><|start_header_id|>assistant<|end_header_id|>

The image depicts a street scene in an English town, with a large white and black half-timbered building as the central focus. The building features a brown roof and a sign that reads "The Kings Head" in red letters, indicating it is a pub or restaurant. The street is lined with people walking and cars driving, and there are several other buildings visible in the background, including a blue bus and a red brick building.

The overall atmosphere of the image is one of a quiet, small-town street scene, with people going about their daily business. The image captures a moment in time, with the cloudy sky and the people's activities creating a sense of calm and tranquility. The image could be used to represent a typical English town or village, with its traditional architecture and laid-back atmosphere.

Keywords: English town, street scene, half-timbered building, pub, restaurant, people, cars, bus, brick buildings, cloudy sky, calm, tranquility, traditional architecture, small-town, village, daily^C^C^C^CTraceback (most recent call last):
  File "/Users/xxx/Documents/AI/mlx/scripts/vlm/mytest.py", line 36, in <module>
    output = generate(model, processor, pic, formatted_prompt, max_tokens=500, verbose=True)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/opt/homebrew/Caskroom/miniconda/base/envs/mlx/lib/python3.12/site-packages/mlx_vlm/utils.py", line 1076, in generate
    for (token, prob), n in zip(generator, range(max_tokens)):
                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/opt/homebrew/Caskroom/miniconda/base/envs/mlx/lib/python3.12/site-packages/mlx_vlm/utils.py", line 932, in generate_step
    yield y.item(), logprobs
          ^^^^^^^^
KeyboardInterrupt
^C
python mytest.py  5.64s user 841.10s system 77% cpu 18:15.46 total

Thanks!
I will look into it.
There is another issue reporting the same problem.


Unable to send messages to slack

Messages from slack are recieved. But while sending the following error is thrown:
Error posting to Microsoft Bot Connector. Status Code: 400, Text {   "error": {     "code": "ServiceError",     "message": "Invalid ChannelData"   } }

I have fixed this issue in the branch enablewsgihosting by setting the channelData to None if the message is from Slack. I hope to have this branch merged with master by the end of the week.
If you can't wait you can set the channelData to {} in the conversationoperation object and it should work. eg.
ReplyToActivity(fill=message,
                channelData={},
                text='Hey').send()

Thanks.
On Fri, Jul 21, 2017, 9:19 PM Matt<EMAIL_ADDRESS>wrote:

Closed #8 https://github.com/Grungnie/microsoftbotframework/issues/8.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/Grungnie/microsoftbotframework/issues/8#event-1174752060,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AGYQOYIEVJFbmaXgFB0SeomzJQ6pmnHXks5sQVw-gaJpZM4OeUSH
.


Ethereumex.HttpClient.eth_send_transaction doesnt work for testrpc

Thanks for writing an API that one-to-one matches the Ethereum JSON RPC. The send transaction doesnt seem to work though:
error code:
{:error,
 %{"code" => -32000,
   "message" => "TypeError: callback is not a function\n    at StateManager.queueTransaction (/usr/local/lib/node_modules/ethereumjs-testrpc/build/cli.node.js:83065:5)\n    at GethApiDouble.eth_sendTransaction (/usr/local/lib/node_modules/ethereumjs-testrpc/build/cli.node.js:82631:14)\n    at GethApiDouble.handleRequest (/usr/local/lib/node_modules/ethereumjs-testrpc/build/cli.node.js:82434:10)\n    at next (/usr/local/lib/node_modules/ethereumjs-testrpc/build/cli.node.js:52153:18)\n    at VmSubprovider.handleRequest (/usr/local/lib/node_modules/ethereumjs-testrpc/build/cli.node.js:59291:12)\n    at next (/usr/local/lib/node_modules/ethereumjs-testrpc/build/cli.node.js:52153:18)\n    at GethDefaults.handleRequest (/usr/local/lib/node_modules/ethereumjs-testrpc/build/cli.node.js:82339:12)\n    at next (/usr/local/lib/node_modules/ethereumjs-testrpc/build/cli.node.js:52153:18)\n    at FilterSubprovider.handleRequest (/usr/local/lib/node_modules/ethereumjs-testrpc/build/cli.node.js:58850:7)\n    at next (/usr/local/lib/node_modules/ethereumjs-testrpc/build/cli.node.js:52153:18)"}}

@izelnakri can give a little more information about your request? what parameters did you pass?
Request with  geth client
params = [%{"data" => "0xd46e8dd67c5d32be8d46e8dd67c5d32be8058bb8eb970870f072445675058bb8eb970870f072445675",
   "from" => "0xc2b7b953C339c6ec4Bb88fAB5a4d19A033e6c4b1", "gas" => "0x76c0",
   "gasPrice" => "0x9184e72a000",
   "to" => "0xc2b7b953C339c6ec4Bb88fAB5a4d19A033e6c4b1",
   "value" => "0x9184e72a"}]

Ethereumex.HttpClient.eth_send_transaction(params)

ohh so it is a map inside a list, not a list, keyword-list or a single map my bad sorry. Would be helpful if we had some typespecs and more tests though.

@izelnakri yes, typespecs would be very helpful. I will add them soon. By the way, pull requests are welcome.


Auto tagging?

Should I turn off auto-tagging in Google Ads? Tahnks,

No, I definitely recommend to keep auto-tagging enabled.


Refs #6341 Added Fast-RTPS-Gen initial release as dependency. [6346]

Adds Fast-RTPS-Gen as dependency in fastrtps.repos file in its current version.

Build status:

Linux
Mac
Windows

Build status:

Linux
Mac
Windows

Build status:

Linux
Mac
Windows

Build status:

Linux
Mac
Windows

Failed tests not related.


[5.1] [Proposal] Allow define hidden/visible options dynamically.

Problem
We have many cases when hidden/visible options depend on  user privileges.
For example the API that returns other user info must return also user email only if the user is logged in.
Solution
Allow define hidden/visible options more dynamically by overriding getHidden or getVisible methods.
Example
class User extends Illuminate\Database\Eloquent\Model {

    protected $table = 'user';

    public function getHidden()
    {
          if (Auth::check()) {
              return [];
          }
          return ['email'];
	}
}

So by default we will keep protected $hidden = []; option, but also allow override getHidden method to define this options more dynamically.
What do you think, can be this part of the framework ?

The $hidden property is more of a quick patch. It's not meant to be a fully functioning solution.
If you need real logic in there you should ideally be using a presenter or a transformer.


Issue in add custom field

Describe the bug

when we add more than 15 in number it gets<PHONE_NUMBER>99999
Issue adding year before 1999
project custom fields contains below boxes but not look like this

Expected behavior

Allow only 15 character length
Allow year before 1999 in year date field
add json, turnover details etc box in project custom field box

Screenshots
If applicable, add screenshots to help explain your problem.

Project or Company CRF click and show result

Can not identify difference between parent box and child box

This Box approve By @vinpahilwani
and Date issue solved


Facebook language settings influencing detection?

Using the plugin it seems to base detection on the language setting the user has in Facebook. Trying it out in Turkish, Pashto and Swedish detects no ads. Given that a substantial amount of users in Germany may have a different language setting than English or German there may be a risk of ads going undetected.

Good point, we'll have the same problem in the US with Spanish speakers. I've started in on allowing people to override their browser settings, and I plan on making the classifier stuff more automatic and by language instead of by language country pair which should fix this. The ultimate goal will be to send ads that are scoped to a country instead of a language country pair. But I need to rework the database schema a bit first.

I've added a way for people to pick their language, once we get enough ads in a particular language/country it is trivial to classify new ads.


Added namespace descriptions.

Table containing namespaces and namespace descriptions.
/cc @blackdwarf @mairaw @stevehoag

Should the documentation contain implicit suggestions that using old namespaces is recommended?
For example:

System.Collections.Concurrent
Provides thread-safe collection classes that should be used instead of the corresponding types in the System.Collections and System.Collections.Generic namespaces whenever multiple threads are accessing the collection concurrently.

To me, this implies that using non-generic collections from System.Collections is fine when you don't need thread safety.
Or:

System.Collections.ObjectModel
Contains classes that can be used as collections in the object model of a reusable library. Use these classes when properties or methods return collections.

To me, this sounds like it's saying that returning Collection<T> is better than returning IList<T> or List<T>.

I noticed that this was added to master (3809737). Should this PR be closed?

@rpetrusha ?

Good question @svick. Normally I'd expect to see the commit in this same PR for us to review the changes and merge.


Add Solutions for Problem 131 and 132

Pretty complicated problem. Both 2 solutions added.
Please check the DP solution for problem 131, it has 856 ms on LC. Could you please help me improve it? Thanks!
@sasa150 @lvyb @FreeTymeKiyan @xliu45 @hustldw @JoannaCode @forest5013

@lvyb yes. but space complexity increases. This is so called space exchanges for time.


How to make the whole modal scroll

I set up example from the example folder, but I can't seem to find a way to be able to scroll the whole modal (not the content of the modal). Is there a way to do it?

Hi @bvv218, do you want to scroll on the overlay or inside the content?

Hi @diasbruno, to be able to scroll modal on the overlay.

@bvv218 Did you find a solution? I guess you can use some css or edit some of the modal style properties...

@diasbruno Yes, I did. Had to override some default css styles.


Added the page logo to all pages #246

PR Description 📜
The page icons have been added and should be working fine.
Fixes #246

Mark the task you have completed ✅

[x] I follow CONTRIBUTING GUIDELINE & CODE OF CONDUCT of this project.
[x] I have performed a self-review of my own code or work.
[x] I have commented my code, particularly in hard-to-understand areas.
[x] My changes generates no new warnings.
[x] I have followed proper naming convention showed in CONTRIBUTING GUIDELINE

Here are the screenshots for all pages:
Home page :

The logos added to other pages :


cakebuild 1.0.2

The step has been transferred to the Cake-Build community.
New Pull Request Checklist
Please mark the points which you did / accept.

[x] I read the Step Development Guideline
[x] I have a test for my Step, which can be run with bitrise run test (in the step's repository)
[x] I did run bitrise run audit-this-step (in the step's repository - note, if you don't have this workflow in your bitrise.yml, you can copy it from the step template.)
[x] I read and accept the Abandoned Step policy

@stefandevo LGTM! Thanks for the PR!


Add support to OpenPNM

OpenPNM writes a VTP file containing a vtkPolyData; I started from this point in #20.

I guess this counts as a starting point... Extra points would go in parsing OpenPNM object directly!


Bug 2314669:[release-4.13] update ibm odf operator to 1.5.1

Signed-off-by: Nitin Goyal<EMAIL_ADDRESS>

@Nikhil-Ladha, we hit the same ginkgo issue here as well.

/test odf-operator-e2e-aws

Will be done with https://github.com/red-hat-storage/odf-operator/pull/494


Docs/ CFT YAC

Signed-off-by: Sara<EMAIL_ADDRESS>

Description of the Change
Since YAC is CFT at the moment, in this PR I fixed all the docs stating otherwise to avoid confusion.
Benefits
Clear info
Possible Drawbacks
There are still papers that have BFT info with a research

@ekovalev I think that's not really necessary since we do not yet have exact dates and that might cause some significant confusion again


Crash just after sharing on iOS

Unity application appears to stall right after I share a video. The video is successfully getting shared (tried camera roll, email, etc), but it crashes when returning.
Debugging in xcode doesn't give much info:
app startup...
2019-10-06 22:01:21.507467-0400 astrogolf[336:9959] UnityIAP: Add transaction observer
2019-10-06 22:01:21.507536-0400 astrogolf[336:9959] UnityIAP UnityEarlyTransactionObserver: Request to initiate queued payments
2019-10-06 22:01:39.300781-0400 astrogolf[336:9959] NatCorder: Prepared MP4 video encoder at resolution<EMAIL_ADDRESS>with average bitrate 5909760 and keyframe interval 3s
2019-10-06 22:01:49.466819-0400 astrogolf[336:9959] NatCorder: MP4 recorder finishing
2019-10-06 22:02:27.989389-0400 astrogolf[336:10173] [ShareSheet] connection invalidated
libc++abi.dylib: terminating with uncaught exception of type Il2CppExceptionWrapper

I'm using the payload-api branch, commit 13fe819. The code to call NatShare is:
using (var payload = new SharePayload()) {
    payload.AddMedia("video.mp4");
}

I'm on a 10.5 inch iPad pro running ios 13.1.2

Here are some xcode screenshots, in case that is useful. It's not giving a lot of detail..

An Il2CppExceptionWrapper indicates an exception being thrown from .NET. So chances are that the crash might be coming from something other than NatShare.

OK, thanks. This definitely only seems to happen when I'm using NatShare though. Perhaps it is the same issue that kkiruk is reporting on the forum? It sounds similar: a crash immediately after pressing save on the share popup.

OK, thanks. This definitely only seems to happen when I'm using NatShare
though. Perhaps it is the same issue that kkiruk is reporting on the forum?
It sounds similar: a crash immediately after pressing save on the share
popup.
On Mon, 7 Oct 2019 at 11:20, kcajf<EMAIL_ADDRESS>wrote:

OK, thanks. This definitely only seems to happen when I'm using NatShare
though. Perhaps it is the same issue that kkiruk is reporting on the forum?
It sounds similar: a crash immediately after pressing save on the share
popup.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/olokobayusuf/NatShare-API/issues/61?email_source=notifications&email_token=ANNCT6QUJL3VL3ZQHNBMCI3QNNHTBA5CNFSM4I5626EKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEAQXQUI#issuecomment-539064401,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ANNCT6X43P6Q4RPTYMWRPQTQNNHTBANCNFSM4I5626EA
.

OK, thanks. This definitely only seems to happen when I'm using NatShare
though. Perhaps it is the same issue that kkiruk is reporting on the forum?
It sounds similar: a crash immediately after pressing save on the share
popup.
On Mon, 7 Oct 2019 at 10:15, Yusuf Olokoba<EMAIL_ADDRESS>wrote:

An Il2CppExceptionWrapper indicates an exception being thrown from .NET.
So chances are that the crash might be coming from something other than
NatShare.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/olokobayusuf/NatShare-API/issues/61?email_source=notifications&email_token=ANNCT6WP2WJFCQF2LUCKTJLQNM76VA5CNFSM4I5626EKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEAQPZBI#issuecomment-539032709,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ANNCT6T3EYEFKKHLAJMPU53QNM76VANCNFSM4I5626EA
.

I think the bug has to do with the SharePayload completion handler. I had previously left it unset (null), but setting it to an empty method makes this crash stop happening.

You're right. I've pushed a commit that fixes it.


[pyro64-acpi] flashall.sh successfully working on mini breakout board

Hi there,
Just a note to report that I have been successfully able to use flashall.sh on my mini-breakout board to flash the pyro64-acpi produced kernel and rootfs. I had previously updated u-boot as per the wiki but I am not sure this is necessary as flashall seems to be taking care of that too.
This is a great milestone! Thanks much for the hard work, I could not wait to share that:)
Now onto moving to rocko64 ..
Attached is my boot log, I can provide more information if you need me to.
Edit: this is not an issue of course, I would like to add a label and switch it to a question/observation but I don't know how I can do that.

Good news. I guess eth over usb won't be working yet as we force it to host mode. Maybe in 4.17?

And I confirm I could also boot the image using the rocko64-acpi branch. Here is the associated boot log. Great job!


Correct documentation for listening port of API

The API listens on port 80 (http://localhost:80/), so we corrected the docs (they used to suggest
http://localhost:8000/).

[x] check for other instances of http://localhost:8000 in the repository
[x] check for other instances of http://localhost:8000 in the RSTUF Worker repository

Closes #233

Codecov Report
Base: 93.68% // Head: 93.68% // No change to project coverage :thumbsup:

Coverage data is based on head (ee7f377) compared to base (4ac46a7).
Patch has no changes to coverable lines.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #255   +/-   ##
=======================================
  Coverage   93.68%   93.68%
=======================================
  Files          16       16
  Lines         602      602
=======================================
  Hits          564      564
  Misses         38       38

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

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


Global CocoaPods installation is required in projects with plugins, no longer able to use bundler version of pod

It seems that starting from 1.17.0 a global CocoaPods is required to build an iOS project which has plugins. This wasn't the case before, resulting in only a warning regarding the cocoa pods installation.
Our current use case is that we install CocoaPods locally in the project using bundler rather than requiring a globally installed CocoaPods. This allows us to control the version of cocoapods between all of our developer machines and CI.
Now all of our builds fail due to the missing global cocoapods dependency.
We have also created a ticket for detecting a locally installed cocoapods version by the flutter CLI #40135
From what I can see in the PR this was introduced in #51676, but I think it should be differentiated between a broken install and CocoaPods not being installed at all.

I'm surprised having plugins and no global pod didn't throw before that change, that probably wasn't the intention, even though it worked out for you.

It might help if flutter build has an option to specify pod command.
Something like:
flutter build ipa --pod-command "bundle exec pod"


onDidChangeTextDocument return wrong rangeOffset

VSCode Version: 1.44.2
OS Version: Darwin x64 17.7.0

More detail
Version: 1.44.2
Commit: ff915844119ce9485abfe8aa9076ec76b5300ddd
Date: 2020-04-16T17:07:18.473Z
Electron: 7.1.11
Chrome: 78.0.3904.130
Node.js: 12.8.1
V8: 7.8.279.23-electron.0
OS: Darwin x64 17.7.0
Steps to Reproduce:

Open a ts file, content as follow

    import echarts from 'echarts';

    const option: echarts.EChartOption = {
        title: {
        backgroundColor: 123,
        borderColor: false,
        textAlign: 'left',
        a: '',
        bottom: 1,
        subtext: '',
        text: 1234,

        hasdhakdha: '',
        target: '12sds34',
        textStyle: {
            color: '#',
            fontFamily: '',
            fontWeight: 'bold',

            rich: {
                a: {
                    fontFamily: 1,
                    align: '',

                    textShadowColor: 2,
                    borderRadius: 0,
                    align: 'left',
                    backgroundColor: 123,
                    textBorderWidth: 1,
                    adaa: 2
                }
            },
            lineHeight: 2,
            textBorderColor: 1,
            textShadowOffsetX: 12,
            fontSize: 1,
        },
        color() {
            return '';
        },
        subtextStyle: {
            verticalAlign: 1,
        },
    },
    geo: {
        aspectScale:  1,
        roam: true,
        regions: [],
        emphasis: {
            itemStyle: {
                borderColor: "#000",
            },
        },
    },
    series: [
        {
            barMaxWidth: 5,
            type: 'bar',
            barCategoryGap: '',
            barWidth: 5,

            barGap: '',
            barMinHeight: 2,
            jhass: 1,
            data: [],
            label: {
                rich: {
                    a: {
                        fontFamily: '',
                        fontSize: 12,
                        fontWeight: 12,
                        textBorderWidth: 12,
                        textBorderColor: '',
                        textShadowBlur: 1,
                        textShadowOffsetX: 1,
                        borderWidth: 1,
                    }
                }
            },
            barMinWidth: 1,
        },
        {
            type: 'line',
            xAxisIndex: 1,

            hoverAnimation: true,
            symbolKeepAspect: true,
            yAxisIndex: 1,
            sss: 2,
            label: {
                show: true
            },
        },
        {
            type: 'line3D',
            grid3DIndex: 1,
        }
    ]

};

press enter at somewhere, right bottom will show the rangeOffset, then go somewhere else press enter, you can see rangeOffset is wrong, the press enter again, rangeOffset is correct

Gif shows the process

Does this issue occur when all extensions are disabled?: Yes

Does this still occur if you disable all installed extensions?

@alexr00 Hi. Yes, I was developing my own extension, so I set "--disable-extensions" in lauch.json, so the only extension wasn't disable was my extension, but this problem so far only happened in  TS file, JS file was fine.

@alexr00 @alexdima

Here is the code I use.

Update: It's not bug, contentChanges is an array, but I cannot find enough infos about TextDocumentContentChangeEvent
https://code.visualstudio.com/api/references/vscode-api#TextDocumentContentChangeEvent
@alexdima Could you enlighten the meaning of each item in  contentChanges

Each change in contentChanges represents a single change. For example, when doing a replace all in a file with 3 matches, there will be 3 elements in contentChanges, each one describing the change that occurred around each match. The changes are sorted and make sense only read from 0 to contentChanges.length.

@alexdima Thanks

@alexdima But hit enter return two contentChange, one of them, text was "", other one was \n. I thought it should have only one contentChange.

@susiwen8 The editor has very many features and it would take me a long time to explain everything one by one. Please trust that those are correct since hundreds of extensions depend on those being correct and everything would fall apart if those had any kind of glitch.
In this case, you might be running into something that is controlled by the option "editor.trimAutoWhitespace": true. When you first press Enter, you will notice that the editor inserts \n followed by many tabs or many spaces to match your indentation. Then, when you move onto a different line and press Enter, the automatic inserted indentation is removed, so that is the second change. This would become more obvious if rendering whitespace would be enabled. Also please note that looking only at the text of a change does not make sense, a change is made up out of a range and a text and seeing an empty text most likely indicates that there was a deletion of sorts.


fix geopy Error

With geolocator = Nominatim(), the geolocator.reverse(latlng) will return 403 Error, as mentioned here

Or just upgrade to geopy==1.12.0 instead :)


DBZ-2680 Sanitize field name do not santize sub struct field

Their are an issue during the sanitisation to avro on mongodb connector.
The sanitization failed on sub struct like
{
"_id": "222",
"metrics": {
"metric::fct":
{"min": 0, "max": 1 }

}
https://issues.redhat.com/browse/DBZ-2680

@tprelle Applied, good catch, thanks!


Couldn't deserialize body to User

Hello,
I'm new with Kotlin and Javalin, and I'm trying to follow this simple CRUD tutorial.
However, I'm having some problems.
In the first get, I've faced this error message...

I've solved that problem adding the following line to build.gradle.ks dependencies block:
    implementation("com.fasterxml.jackson.core:jackson-databind:2.8.9")

However, the problem of the title is happening when I try to create a user in the post endpoint.

Does anyone have any idea what could be happening?
I've added the code I've used in that repository:
https://github.com/bvicenzo/javalin_tutotial_crud

Try adding https://mvnrepository.com/artifact/com.fasterxml.jackson.module/jackson-module-kotlin instead.

Try adding https://mvnrepository.com/artifact/com.fasterxml.jackson.module/jackson-module-kotlin instead.

It has worked, man.
Very thanks 😄

It has worked, man.
Very thanks 😄

hello sir I have the same problem . I try to add the link but still cant deserialize body .Also do you Know  a good library to use to connect to mogoDb  . Thanks

hello sir I have the same problem . I try to add the link but still cant deserialize body .Also do you Know  a good library to use to connect to mogoDb  . Thanks

@Amhere01 Have you tried this?

@Amhere01 Have you tried this?

hello, I am using groovy instead of kotlin and also face the same error "Couldn't deserialize body to User". Does anyone have any idea what is happening?


New-AzBatchPool -Id "PoolWithAppPackage" example has wron parameters

@dkubi commented on Fri Feb 14 2020
New-AzBatchPool: The parameter "CloudServiceConfiguration" cannot be bound. The "Microsoft.Azure.Commands.Batch.Models.PSVirtualMachineConfiguration" value of type
Microsoft.Azure.Commands.Batch.Models.PSVirtualMachineConfiguration cannot be converted to the Microsoft.Azure.Commands.Batch.Models.PSCloudServiceConfiguration type.
In line: 1 character: 97
... MachineSize "Small" -CloudServiceConfiguration $ configuration -BatchC
but even with -VirtualMachineConfiguration $ configuration the example does not work

Dokumentdetails
⚠ Bearbeiten Sie diesen Abschnitt nicht. Er ist für die Verknüpfung von docs.microsoft.com zum GitHub-Artikel erforderlich.

ID: 7216e133-6389-d629-7f40-d97e5a19a721
Version Independent ID: 386573d5-7658-886c-5349-c5ddc27a74bc
Content: Erste Schritte mit PowerShell: Azure Batch
Content Source: articles/batch/batch-powershell-cmdlets-get-started.md
Service: batch
GitHub Login: @LauraBrenner
Microsoft Alias: labrenne

@srvbpigh commented on Fri Feb 14 2020
Hello, @dkubi
Thank you for your feedback.
We are actively reviewing your comments and will get back to you soon.
Kind regards,
Microsoft DOCS International Team

Hi Team,
Could you please check the issue from user?
Kind regards,
Microsoft DOCS International Team

Duplicate of https://github.com/MicrosoftDocs/azure-docs/issues/48168

@ticianaciminari Thank you for reaching out. We will investigate and update the thread further.

@dkubi i will update the doc as needed

@dkubi For -CloudServiceConfiguration we need to create an object with the parameters mentioned in this link  https://docs.microsoft.com/en-us/rest/api/batchservice/pool/add#cloudserviceconfiguration
That's missing in the document.
I think we need to add one more configuration object of type "Microsoft.Azure.Commands.Batch.Models.PSCloudServiceConfiguration"
I will assign this issue to the author to update the document as needed.

@LauraBrenner please update the document as needed

#reassign:@JnHs

#reassign:DCtheGeek

@jakaruna-MSFT is correct.  The original use for $configuration created a PSVirtualMachineConfiguration type. Since this specific example uses the parameter CloudServiceConfiguration, the definition of $configuration should be a PSCloudServiceConfiguration type instead. I'll update the doc to add that for clarity.  When the update gets merged, this issue will automatically be closed.  There will be a small gap between when the issue closes and when the update is published live.  Thanks for pointing this out!
@MicrosoftDocs/azure-cxp-triage Please change label from 'product-question' to 'doc-enhancement' and #in-progress.


network-config-with-networkd: change MIIMonitorSec to 1

Based on user feedback on this thread: https://groups.google.com/d/msg/coreos-user/OaOX8AuoQCE/w3qVCTqCAQAJ

lgtm

Thank you very much for quick feedback


Add message type to response

ATM when we make a request e.g. to add a product to a cart there is a response with messageHtml. It would also be convenient to have a type of the message, based on it some action could be performed so not only the message is shown

as there several messages possible, maybe just pass a flag, for example, hasSuccessMessage or so

since it came up as a request from adding to the cart and handling different scenarios, maybe also an idea to modify response for /checkout/cart/add

I meant flag hasSuccessMessage in response for /checkout/cart/add. Do you mean the same?

pushed to minicart branch


fix docker build issue

This PR fixes the docker build failure in issue https://github.com/wikimedia/operations-software-druid_exporter/issues/17

@busecolak as always thanks a lot for the PR! Would you mind to send also a gerrit one?


deps: updates wazero to 1.0.0-pre.3

This updates wazero to 1.0.0-pre.3. This is the last release that will build with Go 1.17.
Notably, this improves performance and changes host function syntax.

cc @k33g bumped this!

cc @k33g


Fnolot/issue3

Fixes #3

Codecov Report

Merging #4 (36bab93) into master (c39f1cc) will decrease coverage by 12.66%.
The diff coverage is 33.33%.

@@              Coverage Diff              @@
##             master       #4       +/-   ##
=============================================
- Coverage     92.04%   79.38%   -12.67%
- Complexity       34       37        +3
=============================================
  Files             4        4
  Lines            88       97        +9
=============================================
- Hits             81       77        -4
- Misses            7       20       +13

Flag
Coverage Δ

unittests
79.38% <33.33%> (-12.67%)
:arrow_down:

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

Impacted Files
Coverage Δ

Message/InstanceStateMessage.php
72.22% <20.00%> (-20.38%)
:arrow_down:

Message/InstanceLogMessage.php
65.51% <100.00%> (-17.25%)
:arrow_down:

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 c39f1cc...36bab93. Read the comment docs.


An error occurs while using recommended version of scikit-allel (0.20.3)

After installing snpmatch using the recommended conda enviroment i had tried running it with the next code:
snpmatch inbred -d all_chromosomes_binary.hdf5 -e all_chromosomes_binary.acc.hdf5 -i 701_501.filter.vcf \-o output_snpmatch
getting this error:
2020-07-16 09:50:20,704 - root - ERROR - 'module' object has no attribute 'read_vcf'
Traceback (most recent call last):
File "/home/franco/anaconda3/envs/snpmatch/lib/python2.7/site-packages/snpmatch/init.py", line 175, in main
args'func'
File "/home/franco/anaconda3/envs/snpmatch/lib/python2.7/site-packages/snpmatch/init.py", line 120, in snpmatch_inbred
snpmatch.potatoGenotyper(args)
File "/home/franco/anaconda3/envs/snpmatch/lib/python2.7/site-packages/snpmatch/core/snpmatch.py", line 229, in potatoGenotyper
inputs = parsers.ParseInputs(inFile = args['inFile'], logDebug = args['logDebug'])
File "/home/franco/anaconda3/envs/snpmatch/lib/python2.7/site-packages/snpmatch/core/parsers.py", line 66, in init
(snpCHR, snpPOS, snpGT, snpWEI, DPmean) = self.read_vcf(inFile, logDebug)
File "/home/franco/anaconda3/envs/snpmatch/lib/python2.7/site-packages/snpmatch/core/parsers.py", line 131, in read_vcf
vcf = allel.read_vcf(inFile, samples = [0], fields = '*')
AttributeError: 'module' object has no attribute 'read_vcf'
i have solved this problem installing a more recent version from scikit-allel (v1.1.0), maybe the enviroment file can be edited to change this?
Regards

Thank you! I have pushed the required changes.


Systemd units don't have an [Install] section

Describe the bug
The user unit generated by, e.g. services.emacs.install = true, is missing the [Install] section.  In fact all the systemd units generated by NixOS do not have an install section.  NixOS decides to instead symlink units to the respective <target>.wants (and similar) directories.  This however breaks all manual uses of systemd.
$ systemctl --user cat emacs.service | cat
# /nix/store/6bbxjf2667shl336j60mydcfrahq8d9h-unit-emacs.service/emacs.service
[Unit]
Description=Emacs: the extensible, self-documenting text editor

[Service]
Environment="LOCALE_ARCHIVE=/nix/store/a2px4kdz1jm03f8ifr1pzir0csfmyrlv-glibc-locales-2.31/lib/locale/locale-archive"
Environment="PATH=/nix/store/z1qvlavy35wanw5k54fvvfffws5bvigj-coreutils-8.31/bin:/nix/store/3fvzxz59gacagpwyzpfdiinc1yv46hw1-findutils-4.7.0/bin:/nix/store/0kcx6s8gxysnygd8kxa502xfdfm1n28y-gnugrep-3.4/bin:/nix/store/89gvmj46vdnajvxsgyhg362gs6rxc1d5-gnused-4.8/bin:/nix/store/q6ylicsava582g55mdx0788yg2fib7js-systemd-246.6/bin:/nix/store/z1qvlavy35wanw5k54fvvfffws5bvigj-coreutils-8.31/sbin:/nix/store/3fvzxz59gacagpwyzpfdiinc1yv46hw1-findutils-4.7.0/sbin:/nix/store/0kcx6s8gxysnygd8kxa502xfdfm1n28y-gnugrep-3.4/sbin:/nix/store/89gvmj46vdnajvxsgyhg362gs6rxc1d5-gnused-4.8/sbin:/nix/store/q6ylicsava582g55mdx0788yg2fib7js-systemd-246.6/sbin"
Environment="TZDIR=/nix/store/w1g27pgslf28nh1py1szj7lk4xksdhqq-tzdata-2020c/share/zoneinfo"

ExecStart=/nix/store/a3fc4zqaiak11jks9zd579mz5v0li8bg-bash-4.4-p23/bin/bash -c 'source /nix/store/wqrq9by6hjqvf5pb5jwp2n37jyfswspf-set-environment; exec /nix/store/fyp43pws9vl4y2g6dwj7f8ycz9pgk31q-emacs-27.1/bin/emacs --daemon'
ExecStop=/nix/store/fyp43pws9vl4y2g6dwj7f8ycz9pgk31q-emacs-27.1/bin/emacsclient --eval (kill-emacs)
Restart=always
Type=forking

$ systemctl --user enable emacs.service
Created symlink /home/henri/.config/systemd/user/emacs.service → /nix/store/6bbxjf2667shl336j60mydcfrahq8d9h-unit-emacs.service/emacs.service.
The unit files have no installation config (WantedBy=, RequiredBy=, Also=,
Alias= settings in the [Install] section, and DefaultInstance= for template
units). This means they are not meant to be enabled using systemctl.

Possible reasons for having this kind of units are:
• A unit may be statically enabled by being symlinked from another unit's
  .wants/ or .requires/ directory.
• A unit's purpose may be to act as a helper for some other unit which has
  a requirement dependency on it.
• A unit may be started when needed via activation (socket, path, timer,
  D-Bus, udev, scripted systemctl call, ...).
• In case of template units, the unit is meant to be enabled with some
  instance name specified.

To Reproduce
Steps to reproduce the behavior:

Add services.emacs.install = true to /etc/nixos/configuration.nix
Rebuild and try to enable it for your user systemctl --user enable emacs.service
systemd will complain about a missing install section.

Expected behavior
An install section should be present for all units that specify it using wantedBy, wants, requiredBy, requires, etc.
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
Add any other context about the problem here.
Notify maintainers

The systemd module doesn't have a maintainer field, so I'm pinging the systemd package maintainers: @andir @eelco @flokli
Metadata
Please run nix-shell -p nix-info --run "nix-info -m" and paste the result.

system: "x86_64-linux"
host os: Linux 5.9.16, NixOS, 20.09.2497.4a75ca4a4e7 (Nightingale)
multi-user?: yes
sandbox: yes
version: nix-env (Nix) 2.4pre20201201_5a6ddb3
nixpkgs: /etc/channels/nixos

Maintainer information:
# a list of nixpkgs attributes affected by the problem
attribute:
# a list of nixos modules affected by the problem
module:
- systemd

system-wide:
system units created by NixOS usually don't have [Install] sections, as that'd only tell systemd where it'd put a symlink if you decide to systemctl enable it. In NixOS, we look at the wantedBy attribute and set up the symlinks by ourselves.
The systemd user services provided in nixpkgs are a bit more complicated - we don't have a good concept for per-user systemd-enabled services inside Nixpkgs - that's partially covered by home-manager. Some per-user units are also enabled for all users (like the pulseaudio one).
I'd propose looking at how it's done there.

system-wide:
system units created by NixOS usually don't have [Install] sections, as that'd only tell systemd where it'd put a symlink if you decide to systemctl enable it. In NixOS, we look at the wantedBy attribute and set up the symlinks by ourselves.
The systemd user services provided in nixpkgs are a bit more complicated - we don't have a good concept for per-user systemd-enabled services inside Nixpkgs - that's partially covered by home-manager. Some per-user units are also enabled for all users (like the pulseaudio one).
I'd propose looking at how it's done there.

Here is the relevant code from home-manager.
https://github.com/nix-community/home-manager/blob/a361541c10ec0b167488192631cb86ca07a145d2/modules/systemd.nix#L18-L55
That's quite elegant! Much more compact than in NixOS, but of course it's easy to learn from past mistakes.  However, home-manager is acting directly on the user's home directory, so an install section is also not needed here because symlinks can be set up easily.
In contrast to NixOS this is on a per-user basis, so there is no difficulty with the current all-or-nothing situation for user units in NixOS.  Right now you can only enable a user unit for all users (including root, yuck!) or nobody.  Hence options like services.emacs.install = true are inherently broken.

Here is the relevant code from home-manager.
https://github.com/nix-community/home-manager/blob/a361541c10ec0b167488192631cb86ca07a145d2/modules/systemd.nix#L18-L55
That's quite elegant! Much more compact than in NixOS, but of course it's easy to learn from past mistakes.  However, home-manager is acting directly on the user's home directory, so an install section is also not needed here because symlinks can be set up easily.
In contrast to NixOS this is on a per-user basis, so there is no difficulty with the current all-or-nothing situation for user units in NixOS.  Right now you can only enable a user unit for all users (including root, yuck!) or nobody.  Hence options like services.emacs.install = true are inherently broken.

This issue has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/why-isnt-more-of-home-manager-merged-into-nixpkgs/6096/34

This issue has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/why-isnt-more-of-home-manager-merged-into-nixpkgs/6096/34

Related: https://github.com/NixOS/nixpkgs/pull/98661 . nixos-unstable documentation for this is at: https://nixos.org/manual/nixos/unstable/index.html#sect-nixos-systemd-nixos .

Related: https://github.com/NixOS/nixpkgs/pull/98661 . nixos-unstable documentation for this is at: https://nixos.org/manual/nixos/unstable/index.html#sect-nixos-systemd-nixos .

This issue has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/syncthing-systemd-user-service/11199/6

This issue has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/syncthing-systemd-user-service/11199/6

This issue has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/declaring-instances-of-a-generic-systemd-service-e-g-my-service-foo/11738/2

Still not stale.


NotImplementedError: This is a project in development

Checklist

I have searched related issues but cannot get the expected help.
I have read related documents and don't know what to do.

Describe the question you meet
hi, developers, when I tried to use arc_face_head,
and I met the following error,
and I already installed mmengine
Traceback (most recent call last):
File "tools/train.py", line 6, in <module>
   from mmengine.config import Config, DictAction
 File "/opt/conda/lib/python3.7/site-packages/mmengine/__init__.py", line 1, in <module>
   raise NotImplementedError('This is a project in development')
NotImplementedError: This is a project in development

Post related information

The output of pip list | grep "mmcv\|mmcls\|^torch"

mmcls                  1.0.0rc0            /workspace/test_picture/arc_face_head/mmclassification-add-arcface
mmcv-full              1.6.0
torch                  1.8.1
torchelastic           0.2.0
torchtext              0.9.1
torchvision            0.9.1

The config file is

    head=dict(
        type='ArcFaceHead',
        num_classes=4,
        in_channels=768,
        init_cfg=None,  # suppress the default init_cfg of LinearClsHead.
        loss=dict(
            type='LabelSmoothLoss', label_smooth_val=0.1, mode='original'),
        cal_acc=False),

what should I do if I want to use  arc_face_head,
looking forward to your reply

Sorry that all the PRs with the tag 1.0rcare under development and cannot be used yet. You need to wait for some days if using this version.
We will consider adding this feature to the current master branch as well. This will be seen soon.

I implemented arcface head based on the master branch for image retrieval. The link is arcface. I hope it can help you.

I implemented arcface head based on the master branch. The link is arcface. I hope it can help you.

wow! much appreciation! this is very helpful to me


tunnel: add support for websocket connections

deps: https://github.com/koding/tunnel/pull/19
/cc @cihangir

ping @cihangir
race is going to be fixed with #19, when merged I'll rebase this one :boom::boom:

You can rebase this one now @rjeczalik

@cihangir rebased, ptal

:+1:


Have the ability to specify instance id offset in localrun

Motivation
To run functions in kubernetes, the most easiest approach would be to launch the k8 containers running functions in localrun mode. In that mechanism each container will run 1 function instance(i.e. parallelism of 1). The k8 template will manage the real parallelism factor as specified by the user. However we need to make sure that each running function gets the right instance id. Adding this instanceIdOffset allows us to do it.
Modifications
Describe the modifications you've done.
Result
After your change, what will change.

retest this please

retest this please


Add rule for metric-stream EC2 instances

Relevant information
New rule to synthesize EC2 instances ingested with metric-stream as HOSTS
Checklist

[X] I've read the guidelines and understand the acceptance criteria.
[X] The value of the attribute marked as identifier will be unique and valid.
[?] I've confirmed that my entity type wasn't already defined. If it is I'm providing an explanation above.

@entityBot deploy

@entityBot deploy

2023-10-20: Not working 😢  The issue is:
All custom-tags added through GraphQL or the UI by the customers, defined as mutable: true (and which Infrastructure Platform is decorating in their pipeline) have been reindexed by the SynthesisService and stored as  mutable:false
Once that they have been reverted they are not custom-tags anymore and we are not decorating metrics with them
Also, customers are not going to be able to modify them AFAIK

@EntityBot rollback


Integration-test tests jar for hive UDF tests

Fixes #4883
We moved HiveUDF classes to the the dir integration_tests/src/test (built to integration-tests-sparkxxxtests.jar)  with https://github.com/NVIDIA/spark-rapids/pull/4619, so need to add this jar into the jars_path of the integration tests, to PASS hive UDF tests.
1, Add commit version info for the integration-test tests jar.
2, Upload Databricks shims of integration-test tests jar to internal maven repo.
3, Download integration-test tests jar for the hive UDF integration tests.
Signed-off-by: Tim Liu<EMAIL_ADDRESS>

build

build

LGTM

Going to force merge this one to unblock nightly CI first


Add easy auth

Add support to setup multiple easy auth providers when using the template

Will update this with support for only google or none as provider


Improve Forward Secrecy

Ensure that all secrets are dropped at the earliest possible.

[ ] leaf_secret in the OpenMlsLeafNode

Closing since we don't use OpenMlsLeafNode any longer.


Register app page: org unit drop down hangs if too many nodes

Replace with search control

related to #2628


Nuki 3.0

I have the new nuki 3.0, it is integrated but the data is missing

Hi,
which version of the adapter do you have installed? Are there any error messages?  Setting minimal states.

nuki.0
1639
2021-12-05 13:03:39.521
debug
found Nuki device: 734845468

nuki.0
1639
2021-12-05 13:03:39.515
debug
found Nuki device: 651513665

`

I have just updated the adapter to version 1.6.0 which should support the new devices (Nuki 3.0 and Smart Door).
Please install this version from GitHub and test. I would appreciate your feedback since I do not own any of the new devices.

After updating to 1.6.0 it works thanks


cgroupsv2 adjustments

Makes the proof of concept work for cgroupsv2 scenarios:
.Adjust the logic in the cg(), to reflect the new cgroupsv2 hierarchy
.Adds a cgroup-cleanup mechanism that would work for cgroupsv2.
....commits should tell more
Tied to #14
proposes solution to #10 (even though there is already one at the end of the thread)

hello @x7upLime , you closed this issue without it being merged.  Any particular reason why?  I am trying to get this to work as well and I am using your code as a reference.
FWIW, I was using a busybox rootfs.  I didn't see any items in /sys.  I figured it was populated by systemd.  I switched to a ubuntu rootfs.   I still don't see any times in /sys.
I'll let you know if using your version of the code works.

Hmm. Ok here is the deal.
I am using linux kernel 5.x.
If I use the code as is and tweak for mods similar to yours, I can create the files as you/she did.  However, they have no effect on the number of processes.
Alternatively, if I mount sysfs I can see a similar sys directory as I do on the host.  That is good.  What's bad, is the result is not modifiable.  Here is mounting the filesystem but using interactive mode to attempt to write to it.  (despite its mounted read/write)

Here is the code for cg() during this run:
func cg() {

    // Path name for the custom v2cgroup
    cgroups := "/sys/fs/cgroup/"
    custom_cgroup := filepath.Join(cgroups, "davis")

    // Make the custom v2cgroup
    err := os.MkdirAll(custom_cgroup, 0755)
    chkerr("after mkdir custom cgroup", err)

}

Here is an example of the alternative method.  Not mounting sysfs, making the pids.max but not having any effect.  Also note, I'm creating a max pid of 3.  But i'm able to spawn bash 5 times.  FWIW, this is writing to the actual roofs image mounted as root.  So if my rootfs/sys on host was originally just a mount point, doing without mounting sysfs means these writes are being done to the filesystem and not to memory/kernel.

In this case, cg() looks like this:
func cg() {

    // Path name for the custom v2cgroup
    cgroups := "/sys/fs/cgroup"
    custom_cgroup := filepath.Join(cgroups, "davis")

    // Make the custom v2cgroup
    err := os.MkdirAll(custom_cgroup, 0755)
    if err != nil && !os.IsExist(err) {
        panic(err)
    }

    // limit to 3 processes
    must(ioutil.WriteFile(filepath.Join(custom_cgroup, "pids.max"), []byte("3"), 0744))
    // removes the new cgroup in place after the container exits
    must(ioutil.WriteFile(filepath.Join(custom_cgroup, "notify_on_release"), []byte("1"), 0744))
    must(ioutil.WriteFile(filepath.Join(custom_cgroup, "cgroup.procs"), []byte(strconv.Itoa(os.Getpid())), 0744))

}


Add an option to have discord notification display or not display requested by.

Description
I would like the discord notifications to not display the requested by jellyfin account name on the announcement. I feel there should be an option to check if you want usernames visible in the announcement.
Desired Behavior
I want the Discord tag to not have the Requested By section.
Additional Context
No response
Code of Conduct

[X] I agree to follow Overseerr's Code of Conduct

You could achieve this by using the webhook notification instead of the discord one. You can template it to not have the requested by displayed

I agree with Lexxanite, You should add a check box to hide the (requested by : )

I agree with Lexxanite, You should add a check box to hide the (requested by : )

#238 (comment) You can use this template on the webhook notification (and customize however you want, the current template will not show requested by)


[DEPRECATION WARNING]: The use of 'include' for tasks has been deprecated.

[DEPRECATION WARNING]: The use of 'include' for tasks has been deprecated. Use
'import_tasks' for static inclusions or 'include_tasks' for dynamic inclusions.
 This feature will be removed in a future release. Deprecation warnings can be
disabled by setting deprecation_warnings=False in ansible.cfg.
[DEPRECATION WARNING]: include is kept for backwards compatibility but usage is
 discouraged. The module documentation details page may explain more about this
 rationale.. This feature will be removed in a future release. Deprecation
warnings can be disabled by setting deprecation_warnings=False in ansible.cfg.

New in version 2.4.

I still have to support 1.9 and 2.0 therefore we'll need to live with this for a while.


How do I store the client secret in my mobile application for accessing the endpoint 'convert-token'?

I am setting up a Django backend REST API which served data to my android application.
Currently the following happens:

The android application authenticates with Google OAuth2,0 and obtains an access token
The android application sends the access token along with the client secret and client id generated by django-oauth-toolkit to the convert-token endpoint, and in returns receives an access token to access the protected API
The server then serves private data to the android app whenever it makes a request having the access token in the header

Now if I store the client id of step 2) in the android app, then what's to stop a person from decompiling the apk, getting the client secret, and making the convert-token request, bypassing my android app, and using the returned access token to access/modify private data in my server REST API in an uncontrolled way?

Hi all.
My team and I are constantly using this framework and it seems it has died out there. I contacted the owner by email asking if he would add some of us as maintainers so we could continue to improve it. However we didn't get a response.
I am publishing the project under my profile and we are going to continue to invest time in it.
So I would like to gently ask you to contribute to this project on: https://github.com/wagnerdelima/drf-social-oauth2.
Thank you for understanding.


Utilize xcworkspace in addition to Podfile for Cocoapods detection

Environment
  OS: macOS High Sierra 10.13.4
  Node: 8.11.3
  Yarn: 1.9.2
  npm: 5.6.0
  Watchman: 4.9.0
  Xcode: Xcode 9.4.1 Build version 9F2000
  Android Studio: Not Found

Packages: (wanted => installed)
  react: 16.3.1 => 16.3.1
  react-native: ~0.55.2 => 0.55.4

Description
Let me preface this with: I have no idea what I'm doing. Hadn't touched RN before earlier this week.
I had a Podfile present in my path (I was intending to use it in the future), and RN's linker seems to utilize that to detect if we're using Cocoapods or not.
This caused errors such as the following from react-native-sentry:
/Users/redacted/Development/redacted/ios/redacted/AppDelegate.m:15:9: fatal error: ‘RNSentry.h’ file not found
#import “RNSentry.h” // This is used for versions of react < 0.40

I ultimately discovered that it had modified the Podfile and was expecting the dependencies to be linked from Cocoapods. After doing unlink on the modules, renaming the Podfile, and re-linking them, my project was able to successfully compile.

Removing old version label as this is unlikely to have been fixed in 0.56.


Fix #93 - alias name conflicts

Using #define to create aliases leads to the potential of naming collisions. This commit introduces a new macro that just calls through to the aliased method

This is a good change, if you feel up for it I'd love to get it rebased and merged :+1:

Awesome! Thanks for the rebase work!


The caller does not have permission. 403

Hello. I need your help to understand how I can access my Cloud Storage.I use Unity, and read the documentation (I confess, not all).I do not have problems with upload the file to storage. I save audio files there, for recognition with Google Cloud Speech Api, using the HTTP request https://speech.googleapis.com/v1/speech:longrunningrecognize?key= + MySpeechApiKey
I am trying to send this:"{"config":{"encoding":"LINEAR16","sampleRateHertz":44100,"languageCode":"ru-RU","maxAlternatives":1,"profanityFilter":false,"speechContexts":[{"phrases":[""]}],"enableWordTimeOffsets":false},"audio":{"uri":"gs://calm-vine-195513.appspot.com/2018.7.28_10_1_16_382.flac"}}"
And i get request:
{
"error": {
"code": 403,
"message": "The caller does not have permission",
"status": "PERMISSION_DENIED"
}
}
It is worth considering that in the Firebase I made a rule:
service firebase.storage {
match /b/{bucket}/o {
match /{allPaths=**} {
allow read, write;
}
}
}
I found a couple of tips that say that I need some kind of service account. And if I understood correctly that i need to connect autentification. Or I need in request URI to add some key?

@Mihail5412 if you haven't figured out how to configure Firebase Rules yet I recommend contacting our support team via http://firebase.google.com/support


Slack UI Clone

Project title
Slack UI Clone
Project Description
I want to add Slack UI Clone using HTML,CSS,JS
Stack:

[x] Html
[x] CSS
[x] JavaScript

/assign


Skip activities out of date range

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

11 of 15 (73.33%)  changed or added relevant lines in 2 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.2%) to 89.365%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

safe_locking_service/campaigns/tasks.py
5
9
55.56%

Totals

Change from base Build<PHONE_NUMBER>:
-0.2%

Covered Lines:
1605

Relevant Lines:
1796

💛  - Coveralls


Spelling: fixed minor misspelling

@gromag : Thanks for your contribution! The author(s) have been notified to review your proposed change.

Looks good; thanks.


filter out 'sim' and '_stub' in list-selectors

fixes #1441

Might be nicer for it to simply check for the existence of a products.json file instead of hard-coding names.


fix: now logging to hour bucket in s3

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Plugins not loading correctly when hot restarted in VS Code

How to reproduce:

Launch the webview_flutter_tizen example app.
Attach to the app in VS Code.
Hot restart the app (Ctrl+Shift+F5).
An AssertionError is raised by CookieManager (error message: "This platform is currently unsupported by webview_flutter").

This is probably because the plugin registrant code is not invoked when the app is hot restarted by VS Code. According to the stack trace, it seems the app's _WebViewExampleState.build method is invoked by the raster task runner instead of the UI task runner (which runs the root isolate) and it's already known that plugins that include any Dart implementation do not work in non-root isolates (https://github.com/flutter-tizen/plugins/issues/123) by default.

https://github.com/flutter-tizen/flutter-tizen/pull/516 didn't help this issue. There's no one calling DartPluginRegistrant.ensureInitialized when the app is hot restarted by VS Code, so the problem is still there. Not sure how it works on other platforms.


Omit value identifiers in function type declarations

This is a syntactic feature request. I often find the indentation caused by inline types does great harm to signature readability, e.g.:
const fetchFromQueue = (
  queue: SQS,
  settings: Settings,
): Promise<Array<Error | Job>> =>
  // ...

One of the ways Haskell types are well designed is in this regard IMO. In TypeScript, what I've taken to doing is a bit of a workaround like so:
type fetchFromQueue = (x: SQS, z: Settings) => Promise<Array<Error | Job>>
const fetchFromQueue: fetchFromQueue = (queue, settings) =>
  // ...

This helps me but it would be even better if we were not forced to write the value-level identifiersx: and z:, allowing us to simply write:
type fetchFromQueue = (SQS, Settings) => Promise<Array<Error | Job>>
const fetchFromQueue: fetchFromQueue = (queue, settings) =>

Unfortunately it's not possible at this point because unannotated parameter names implicitly got an any type. Check out the discussion at #13152.

@DanielRosenwasser Thanks for pointing me to the existing discussion on this topic! Is it conceivable that this could be resolved in say a future 3.x.x release series or is TS going to the way it is on this point indefinitely?

Automatically closing this issue for housekeeping purposes. The issue labels indicate that it is unactionable at the moment or has already been addressed.

That's fine I guess... heh. I would appreciate an answer to my last question though (if there is a known answer).

I doubt there is a known answer.  Especially, as noted in the other issue that this is marked a duplicate of, some of the core team felt it was worth taking the hit from a breaking change, but ultimately the change didn't occur.  But never say never...  The core team has re-evaluated things before.


Page Navigation links too close on mobile

Describe the bug
In the page navigation component NavPage the links are too close together on mobile and therefore it's easy to press the wrong one. I have fairly small fingers yet my index finger covers three links at once.
Please increase the top and bottom margin to be 14 px each which should make it easier to press the correct link.

Can I work on this ??

I'm already handling this 👌


[Feature request] Add regsiter command feature like admonition plugin does?

Here is a screenshot about what it did.

And the code here might help you with it?:
https://github.com/valentine195/obsidian-admonition/blob/3d37aad23ba217dc12770f738ec1cdafa83fcfbd/src/settings.ts#L191
If it is hard to add this feature, you have done tons of goooood job! Thanks.
WHY I NEED THIS
I could quick run some command and don't need to wait.

Added =D


[rewrite] Make m.route parameters more consistent with m.route and m.mount

I just got bitten by this:
// ok
m.render(document.querySelector('body'), m(app.components.base))
// not ok
m.render(document.querySelector('body'), app.components.base)

// ok
m.mount(document.querySelector('body'), app.components.base)
// not ok
m.mount(document.querySelector('body'), m(app.components.base))

Previously in 0.x I was able to quickly swap mount with render and vise versa while testing.
IMO it would be better (if possible) to have consistent behavior for render, mount and route. It's very easy to forget the m wrapper when dealing with components.

API design is up to Leo, but this is documented behaviour described in the migration guide.
It could be made to work by cloning the vnode passed to mount for each redraw, and wrapping the component passed to render in a vnode...

@simov Think of it this way, you render a node, but you mount a component.  Mounting is a persistent thing, where you mount the component, and it lives there, responding to user actions until you unmount it, if you choose to do so. This requires a stateful component to manage the interactions you deal with from the user.
@lhorie Ping me if I'm wrong, and one of us can reopen it.