Scala language support

Hi, I'm using pygment in mkdocs-material,
I'm facing syntax highlight problems with language scala:

All of the keywords are same color, only some numbers are highlighted.

```scala
val doubled = for i <- ints yield i * 2     // style shown above
val doubled = for (i <- ints) yield i * 2
val doubled = for (i <- ints) yield (i * 2)
val doubled = for { i <- ints } yield (i * 2)
```

If it's not a problem, could you please tell me how to use it correctly with scala?
Thank you so much!!

This works correctly for me on the command line.

Are you sure that you specified the language correctly? What is your configuration otherwise? This must be a problem either in your interaction with MkDocs or in its interaction with Pygments.

I'm assuming this has been fixed by specifying the language somewhere and closing; please reopen if the problem persists and you cannot find the answer in Mkdocs documentation.


Update to v12

Hi.
Can you update your module to v12?
Thank you.

Would really appreciate this module getting a bump to v12.

Took me a bit of work to figure out what was causing it but I isolated this mod to be the cause of problems such as preventing compendium browsers to be opened.

Implemented by #22


As a frontend developer, I want to be specific about who gets what version of our site, so that I can provide a stable but informative experience for all users

Description
We should add a means of differentiating frontend content on our site to the different audiences that need to see it.
Solution
We need to add the following environments to our frontend site, accessible via a simple mechanism:

qa
staging
production
PR (this will just be the hash of a particular PR)

Describe alternatives you've considered

Feature flagging was ruled out for now as it was too expensive at this time (see #66.
We could gate the entire site via username/password using Basic Auth via CloudFront, but this is a bit too time consuming as well and wouldn't quite match this

Tasks

[ ] Decide on and document a strategy around environments
[ ] Implement said strategy using Github Actions

Definition of "Done"

You can visit a different URL for each of the above environments and get different content.

I am creating a proposal about this which I will share later - the idea is that trunk-based development is less error-prone, and with the right automated checks in place we could avoid some of its trade-offs . This would hold for both BE and FE


Update issue templates

Codecov Report

Merging #66 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master      #66   +/-   ##
=======================================
  Coverage   52.56%   52.56%
=======================================
  Files         213      213
  Lines       26088    26088
  Branches     5628     5628
=======================================
  Hits        13713    13713
  Misses      10121    10121
  Partials     2254     2254

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 75780a8...ca70de9. Read the comment docs.


Wrapping in IE

Hi
Hoping somebody can help me. I'm using HTML2Canvas to create screenshots of the dashboards in our application. In Google Chrome and Microsoft Edge the tool works perfectly but in Microsoft Internet Explorer the columns of the dashboard seems to wrap and corrupt the entire layout and put it underneath.
Screenshot of a correct layout (taken via MS Edge):
https://www.dropbox.com/s/4fggl9g98929dkd/Correct.jpg?dl=0
Screenshot of a incorrect layout (taken via MS IE):
https://www.dropbox.com/s/81forrwd1r2i6kh/Incorrect.jpg?dl=0
A test page with a button where screenshots can be taken:
https://www.dropbox.com/s/s11gx2zazphi29i/H2CImage.zip?dl=0
I'm using the newest version of HTML2Canvas ( v1.0.0-alpha.10).
Thanks!

@GertVen the screenshots are not visible anymore yo can attach files into the issue so they will be uploaded to github.
@niklasvh the issue is still there in the current version. I was able to fixed it following https://stackoverflow.com/questions/31793507/html2canvas-renders-page-with-wrong-layout-in-ie11-whed-devtools-not-opened
hacking around by adding: cloneIframeContainer.width = (bounds.width + 1).toString(); before documentClone.close();  in https://github.com/niklasvh/html2canvas/blame/master/src/Clone.js#L652
Any idea how to fix this in a less hackish way ?.


I want to add Login and signup using JWT and Bcrypt and add also add signup with google..

please assign me under Gssoc and hacktoberfest ...

I want to work on this issue please assign me it

@yatulearn Thank you for assigning me.. Now I am starting my work on it🙂🙏

could you pls assign this issue to me,so that i can work on it.

@yatulearn I make half work of it...i completed it as soon  as possible


Final touches

Editing the readme

@CarlosZ96,I am your reviewer, please kindly fix your styelint errors

Hi @CarlosZ96,
While you made a great effort in this project, unfortunately, I cannot proceed to review your code.
Invalid Code Review Request ⚠

You have submitted a project that has failing linters, Kindly make sure your linters are all passing before submitting the PR.

Stlylint AutoFix

[ ] if you have a lot of CSS line errors, I kindly suggest you fix them with npx stylelint --fix "**/*.{css,scss}", but please get used to fixing the errors line by line also because it'll help you learn best practices.

Feel free to leave any questions or comments in the PR thread if something is not 100% clear.
Please, remember to tag @topeogunleye in your question so I can receive the notification.
Please, do not open a new Pull Request for re-reviews. You should use the same Pull Request submitted for the first review, either valid or invalid unless it is requested otherwise.

Invalid Code Review Request does not count into the code reviews limit.

Hi @CarlosZ96
While you made a great effort in this project, unfortunately, I cannot proceed to review your code.
Invalid Code Review Request
You have submitted a project that has failing linters, Kindly make sure your linters are all passing before submitting the PR.
Your Code Review Request will be marked as invalid in your Dashboard, so please submit a new one once you are ready 🙏
Cheers and Happy coding!👏👏👏
Feel free to leave any questions or comments in the PR thread if something is not 100% clear.
Please, remember to tag me in your question so I can receive the notification @prolajumokeoni.
Please, do not open a new Pull Request for re-reviews. You should use the same Pull Request submitted for the first review, either valid or invalid unless it is requested otherwise.

Invalid Code Review Request does not count into the code reviews limit.


XCTRuntimePrecondition results in a memory leak

Description
When using XCTRuntimePrecondition the precondition methods are overridden and redirected to call neverReturn() which loops forever (see here). This will result in the DispatchWorkItem created in the XCTRuntimePrecondition method to run forever. Fundamentally, this will result in all resources captured by the closures passed to precondition methods to leak over the runtime of the program (refer to here).
Reproduction
Here is a short code example on how to reproduce the issue and to illustrate how this issue is unexpected.
class Test1 {}
func method1(instance: Test1) {
    precondition(instance === Test1(), "The instances was captured in this string as well \(instance)")
}

func foo() {
    let test = Test1()
    print(CFGetRetainCount(test)) // prints 2

    try XCTRuntimePrecondition {
        method1(instance: test)
    }

    print(CFGetRetainCount(test)) // prints now 4 instead of 2
    // test will not be deallocated when returning from method foo
}

Expected behavior
Ideally it should not leak memory. Refer to additional context for a discussion.
Additional context
As the source code comment explains in neverReturn(), this seems to be the only option to produce a Never return type. The issue is more about criticizing that this side effect is not documented. Such a memory leak is unexpected especially as we are overloading standard library functions which can go unnoticed.
At the same time the issue should serve as a resource to point at in documentation to explain the issue in great detail and illustrate the possible side effects in testing setups.
Code of Conduct

[X] I agree to follow this project's Code of Conduct and Contributing Guidelines

Thanks for documenting this @Supereg. Just to clarify this here: The memory leak only happens within a testing environment when using XCTRuntimePrecondition so this doesn't affect any production use cases and as test cases are very ephemeral it might not have a longer-lasting impact, even on the system under test?
Agree that some documentation around this might be very helpful!

Thanks for documenting this @Supereg. Just to clarify this here: The memory leak only happens within a testing environment when using XCTRuntimePrecondition so this doesn't affect any production use cases and as test cases are very ephemeral it might not have a longer-lasting impact, even on the system under test?
Agree that some documentation around this might be very helpful!

Yes. Important thing to clarify. This issue is only present in a testing environment and when suing e.g. XCTRuntimePrecondition. It doesn't affect production use cases.
I was actively testing deallocation of Modules in https://github.com/StanfordSpezi/Spezi/pull/105 and this is where I uncovered this issue and lost an hour debugging this.
So generally, I would recommend to use XCTRuntimePrecondition test in complete isolation.


Unable to encrypt data disk in vm

I am unable to encrypt data disk .The script code is well-written and not even encountering any error.
diskencryption.txt

The issue is resolved by verifying that data disk is initialized  and  formatted.
Then run above script ,it will encrypt your data volumes.


ANIM - Implement climbing walls sequences to animation blueprint

This may not be needed as this may introduce scope creep and may be outside the requirements of the what is needed.


Allow shebangs in the header comment

I know you explicitly decided against this in https://github.com/scala-js/scala-js/issues/3563 and suggested a workaround. This is a polite request to reconsider :)
I thought to ask again, because the OP of that issue didn't have a use case for shebangs. However, @ChristopherDavenport has created an sbt plugin for publishing to npm and started publishing CLI apps such as curly. First-class support for shebangs would be immensely helpful here.
I think even simply allowing exactly #!/usr/bin/env node as a valid first line would cover the majority of use cases for shebangs, without being too compromising?
Thanks in advance.

I was going to reply that Scala.js core only deals with standard ECMAScript, and since shebang lines are not standard, we should not support them. But it turns out there's a Stage 3 proposal to make them official in ECMAScript:
https://github.com/tc39/proposal-hashbang
and which is already implemented in Chrome, Firefox, ChakraCore and Safari.
So PR at #4597.


Feature Request: Show the /dev/serial/by-id/xxx paths in the list from the "Hardware" button

Home Assistant release with the issue:

0.93.1
Operating environment (HassOS/Generic):

Generic Ubuntu
Supervisor logs:

Description of problem:
There are lots of reports in Discord and in the forums about users suddenly losing their whole Z-Wave network and it's almost always due to the dev node changing for some reason.  Users will set up their Z-Wave dongle at /dev/ttyACM0, the default after booting up, and it'll change to /dev/ttyACM1 for some reason without a reboot.  Users then freak out (I was guilty of this the first time), and if they're smart, will try to change the device in the .storage/core.config_entries file to /dev/ttyACM1 or some other random choice to try to find it again.  This often fails because they forgot to stop Home Assistant, so it just reverts back to the original name.
A better solution in a Linux-based environment is to use the /dev/serial/by-id/xx path corresponding to the dongle, which is a link to the dev node that's currently assigned to the device.  It's easier to pick the right entry because it usually has useful text describing the device and it will always point to that device.
The problem is that those /dev/serial/by-id/xxx nodes are not listed in the "Hardware" list in Hass.io, and they're not visible from the SSH add-on.  The user either has to open a shell in the homeassistant docker container or somehow get to the console to see which nodes are available and copy/paste the right one.  That's easier if you're running Hass.io on Ubuntu, for instances, but it's quite a hassle for new users running HassOS.
I recommend including all entries in /dev/serial/by-id/xxx to make the user aware of them and to encourage them to use them, rather than pointing to the ephemeral /dev/ttyACMx nodes.

Almost every reboot and I need to swap path to zwave, zigbee.
Would be really great to match them by ID.
I hope this issue will get some attention.

Merged in master, big thanks for @pvizeli help on this!

Saw the tweet :). Thanks, Pascal!

Thanks also @lenisko for discovery it. Hope I see more contributions :D

There were already two issues tracking this problem, #867 and #911. Can those be closed now? Lots of people watching those and I'm sure they'd like to know if the problem is finally fixed.

Wow, my search efforts were clearly lacking when I filed this issue :). I think that both can be closed now.


45622

---------------يجري بدء تشغيل سجلات تور---------------
[NOTICE] DisableNetwork is set. Tor will not make or accept non-control network connections. Shutting down all existing connections.
[NOTICE] DisableNetwork is set. Tor will not make or accept non-control network connections. Shutting down all existing connections.
[NOTICE] Switching to guard context "bridges" (was using "default")
[NOTICE] DisableNetwork is set. Tor will not make or accept non-control network connections. Shutting down all existing connections.
[NOTICE] DisableNetwork is set. Tor will not make or accept non-control network connections. Shutting down all existing connections.
[NOTICE] DisableNetwork is set. Tor will not make or accept non-control network connections. Shutting down all existing connections.


No Icon for .zip-files when using 7zip

Description
When you are using 7zip as your default archive manager, you don't get an icon for .zip-files. Only .7z-files get the corresponding icon.

Steps To Reproduce

Uninstall any other Archive-Managers you may have (i.e WinRAR)
Open Files
Navigate to any .zip-file
If it doesn't open with 7zip by default, navigate to "open with", then to "select a different app", then select "7zip File Manager" (7zipFM.exe) as the default option (use allways)
look at the icon of the .zip-file

Expected behavior
On Explorer .zip-files get a special Icon, indicating that the file can be opened with 7zip. This doesn't happen on Files
Expected:

Files Version
Version: <IP_ADDRESS> OS Version: 10.0.22000.376
Windows Version
Windows 11 10.0.22000 Build 22000
Relevant Assets/Logs
.zip & .7z-files in Explorer:

.zip & .7z-files in Files:

Bug fixed itself after restarting computer twice


data duplicate when setting num_works > 1 with streaming data

Describe the bug
The data is repeated num_works times when we load_dataset with streaming and set num_works > 1 when construct dataloader
Steps to reproduce the bug
# Sample code to reproduce the bug
import pandas as pd
import numpy as np
import os

from datasets import load_dataset
from torch.utils.data import DataLoader
from tqdm import tqdm
import shutil

NUM_OF_USER = 1000000
NUM_OF_ACTION = 50000
NUM_OF_SEQUENCE = 10000
NUM_OF_FILES = 32
NUM_OF_WORKERS = 16

if __name__ == "__main__":
    shutil.rmtree("./dataset")
    for i in range(NUM_OF_FILES):
        sequence_data = pd.DataFrame(
            {
                "imei": np.random.randint(1, NUM_OF_USER, size=NUM_OF_SEQUENCE),
                "sequence": np.random.randint(1, NUM_OF_ACTION, size=NUM_OF_SEQUENCE)
            }
        )

        if not os.path.exists("./dataset"):
            os.makedirs("./dataset")

        sequence_data.to_csv(f"./dataset/sequence_data_{i}.csv",

 index=False)

    dataset = load_dataset("csv",
                           data_files=[os.path.join("./dataset",file) for file in os.listdir("./dataset") if file.endswith(".csv")],
                           split="train",
                           streaming=True).with_format("torch")
    data_loader = DataLoader(dataset,
                             batch_size=1024,
                             num_workers=NUM_OF_WORKERS)

    result = pd.DataFrame()
    for i, batch in tqdm(enumerate(data_loader)):
        result = pd.concat([result,
                           pd.DataFrame(batch)],
                           axis=0)
    result.to_csv(f"num_work_{NUM_OF_WORKERS}.csv", index=False)

Expected results
data do not duplicate
Actual results
data duplicate NUM_OF_WORKERS = 16

Environment info

datasets version:datasets==1.14.0
Platform:transformers==4.11.3
Python version:3.8
PyArrow version:

Hi ! Thanks for reporting :)
When using a PyTorch's data loader with num_workers>1 and an iterable dataset, each worker streams the exact same data by default, resulting in duplicate data when iterating using the data loader.
We can probably fix this in datasets by checking torch.utils.data.get_worker_info() which gives the worker id if it happens.

Hi ! Thanks for reporting :)
When using a PyTorch's data loader with num_workers>1 and an iterable dataset, each worker streams the exact same data by default, resulting in duplicate data when iterating using the data loader.
We can probably fix this in datasets by checking torch.utils.data.get_worker_info() which gives the worker id if it happens.
Hi ! Thanks for reply

Do u have some plans to fix the problem?

From PyTorch's documentation here:

When using an IterableDataset with multi-process data loading. The same dataset object is replicated on each worker process, and thus the replicas must be configured differently to avoid duplicated data. See IterableDataset documentations for how to achieve this.

It looks like an intended behavior from PyTorch
As suggested in the docstring of the IterableDataset class, we could pass a worker_init_fn to the DataLoader. It could be called streaming_worker_init_fn for example.
However, while this solution works, I'm worried that many users simply don't know about this parameter and just start their training with duplicate data without knowing it. That's why I'm more in favor of integrating the check on the worker id directly in datasets in our implementation of IterableDataset.__iter__.

Fixed by https://github.com/huggingface/datasets/pull/4375

Fixed by #4375

Thanks!

If the worker_info.id is unique per process it should work fine, could you check that they're unique ?

test.py
"""python
import json
import os
import torch
from torch.utils.data import IterableDataset, DataLoader
from transformers import PreTrainedTokenizer, TrainingArguments
from common.arguments import DataTrainingArguments, ModelArguments
class MyIterableDataset(IterableDataset):
def iter(self):
worker_info = torch.utils.data.get_worker_info()
print(worker_info)
return iter(range(3))
if name == 'main':
dataset = MyIterableDataset()
dataloader = DataLoader(dataset, num_workers=1)
for i in dataloader:
print(i)
"""
"""sh
$ python3 -m torch.distributed.launch
--nproc_per_node=2 test.py

Setting OMP_NUM_THREADS environment variable for each process to be 1 in default, to avoid your system being overloaded, please further tune the variable for optimal performance in your application as needed.

WorkerInfo(id=0, num_workers=1, seed=5545685212307804959, dataset=<main.MyIterableDataset object at 0x7f92648cf6a0>)
WorkerInfo(id=0, num_workers=1, seed=3174108029709729025, dataset=<main.MyIterableDataset object at 0x7f19ab961670>)
tensor([0])
tensor([1])
tensor([2])
tensor([0])
tensor([1])
tensor([2])
"""
@lhoestq they are not unique

It looks like a bug from pytorch no ? How can we know which data should go in which process when using DDP ?
I guess we need to check torch.distributed.get_world_size() and torch.distributed.get_rank() as well. Not fan of the design here tbh, but that's how it is

Maybe we should document it?

This is the code I use for now and I replaced datasets lib by vanila pytorch Dataset.
As you mentioned I think torch.distributed.get_world_size() and torch.distributed.get_rank() works too.
import json
import os

import torch
from torch.utils.data import IterableDataset
from transformers import PreTrainedTokenizer, TrainingArguments

from common.arguments import DataTrainingArguments, ModelArguments

class MyIterableDataset(IterableDataset):
    def __init__(self, split, tokenizer: PreTrainedTokenizer, model_args: ModelArguments,
                 data_args: DataTrainingArguments, training_args: TrainingArguments):
        data_path = {
            'train': data_args.train_file,
            'eval': data_args.validation_file
        }[split]

        self.split = split
        self.data_file = data_path
        self.start = 0
        self.word_size = int(os.environ.get('WORLD_SIZE', 1))
        self.rank = int(os.environ.get('RANK', 0))

        self.tokenizer = tokenizer
        self.max_length = data_args.max_seq_length

    def __iter__(self):
        worker_info = torch.utils.data.get_worker_info()
        total_data_loader_count = worker_info.num_workers * self.word_size
        worker_id = self.rank * worker_info.num_workers + worker_info.id
        while True:
            with open(self.data_file, 'rt', encoding='utf-8') as f:
                for i, line in enumerate(f):
                    if i < self.start:
                        continue
                    if (i - self.start) % total_data_loader_count == worker_id:
                        yield self.preprocess_function(line.strip())
            if self.split == 'eval':
                break

    def preprocess_function(self, line):
        line = json.loads(line)
        return self.tokenizer(
            line['text'],
            padding=False,
            truncation=True,
            max_length=self.max_length,
            # We use this option because DataCollatorForLanguageModeling (see below) is more efficient when it
            # receives the `special_tokens_mask`.
            return_special_tokens_mask=True,
        )

Never mind. After reading the code, IterableDatasetShard has solved this problem.

I'm re-opening this one since I think it should be supported by datasets natively

hmm actually let me open a new issue on DDP - original post was for single node


Run media cluster tests in tv-app in CI.

all-clusters-app does not have the media clusters configured in a
spec-compliant way (e.g. is missing mandatory things), and definitely
does not have them implemented in a spec-compliant way.
Problem
Tests running against an example app that cannot possibly have them pass sanely.
Change overview
Run against a different example app.
Testing
See how CI does.

@lazarkov @chrisdecenzo The YAML tests are expecting "Application Basic" on endpoint 1, which is not the case for tv-app, of course.  Should that just be changed to use endpoint 3 by default?

@lazarkov @chrisdecenzo The YAML tests are expecting "Application Basic" on endpoint 1, which is not the case for tv-app, of course. Should that just be changed to use endpoint 3 by default?

Yes, that should work


Write temporal delimiters only at the beginning of a packet.

Fixes #954

Coverage increased (+0.02%) to 80.314% when pulling 1aa07b0155782e42877b1456e1a0be604c9e953e on tdaede:single_temporal_delimiter into c15bc85d87a141bc20cd45808386feac25259b8c on xiph:master.


Flaky TRANS_LIST_RANGE_03 / TRANS_LIST_RANGE_01

Context
https://github.com/input-output-hk/cardano-wallet/pull/2370#issuecomment-753741824
Test Case

https://github.com/input-output-hk/cardano-wallet/blob/c8ac57faea0e9d9a9bee21a498ee678c997f176e/lib/core-integration/src/Test/Integration/Scenario/API/Shelley/Transactions.hs#L2088-L2096
Failure / Counter-example
 src/Test/Integration/Scenario/CLI/Shelley/Transactions.hs:641:5:
      2) CLI Specifications, SHELLEY_CLI_TRANSACTIONS, TRANS_LIST_RANGE_03 - Transaction at time t is NOT selected by range (..., t - 𝛿t]
           uncaught exception: StringException
           Control.Exception.Safe.throwString called with:

           Expected at least one transaction with a time.
           Called from:
             throwString (src/Test/Integration/Framework/DSL.hs:691:14 in cardano-wallet-core-integration-2020.12.21-2gb1H39TPSm79qdhbcZCTW:Test.Integration.Framework.DSL)

Resolution

QA

Should have been fixed.

Should have been fixed.


[BUG] Training is 2.5x slower in burn-0.13.0 than burn-0.12.1

In branch https://github.com/open-spaced-repetition/fsrs-rs/tree/burn-0.12.1, the training test unit only costs 2.7-2.9s. But it takes 7-8s in the main branch.
It significantly slows down the benchmarking of FSRS-rs. It cost ~16h to finish the benmark with burn-0.12.1. But it takes ~80h with burn-0.13.0 (yeah, it's 5x slower than previous version in the benchmark).
To reproduce this issue, please run:
cargo test --release -- training::tests::training --nocapture

~I'm not sure whether it's related to this problem: https://github.com/tracel-ai/burn/pull/1664~ Never mind. It doesn't solve the problem.
The result of burn-0.12.1:
$ cargo test --release -- training::tests::training --nocapture
    Finished release [optimized] target(s) in 0.11s
     Running unittests src/lib.rs (target/release/deps/fsrs-f3c762a1eed37e0c)

running 1 test
[src/convertor_tests.rs:222:5] revlogs.len() = 123730
[src/convertor_tests.rs:224:5] fsrs_items.len() = 88158
[src/training.rs:485:13] &parameters = [
    1.017104,
    1.8297615,
    4.4150767,
    10.9355,
    5.1909823,
    1.2409587,
    1.0944066,
    0.06312061,
    1.5616176,
    0.09035658,
    0.949305,
    2.2673173,
    0.0637559,
    0.33939877,
    2.0859845,
    0.051210035,
    3.083775,
]
progress: 54500/54500
progress: 76649/383245
progress: 153298/383245
progress: 234555/383245
progress: 306596/383245
progress: 383245/383245
[src/training.rs:485:13] &parameters = [
    1.1824301,
    1.4436,
    6.5444775,
    10.9355,
    5.2924514,
    1.4334191,
    1.073752,
    0.004936333,
    1.5545226,
    0.13354842,
    0.8604327,
    2.9172246,
    0.029428944,
    0.2602382,
    1.8401283,
    0.00010668657,
    4.3181977,
]
test training::tests::training ... ok

test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 40 filtered out; finished in 2.83s

The result of burn-0.13.0:
$ cargo test --release -- training::tests::training --nocapture
    Finished release [optimized] target(s) in 0.12s
     Running unittests src/lib.rs (target/release/deps/fsrs-b2e90131299db624)

running 1 test
[src/convertor_tests.rs:222:5] revlogs.len() = 123730
[src/convertor_tests.rs:224:5] fsrs_items.len() = 88158
[src/training.rs:485:13] &parameters = [
    1.017104,
    1.8297615,
    4.4150767,
    10.9355,
    5.1909885,
    1.2409594,
    1.0944047,
    0.06312062,
    1.5616171,
    0.090353936,
    0.94930476,
    2.2673192,
    0.06375576,
    0.33939865,
    2.0859857,
    0.051210057,
    3.0837746,
]
progress: 54500/54500
progress: 26624/383245
progress: 70144/383245
progress: 95593/383245
progress: 120681/383245
progress: 152937/383245
progress: 185042/383245
progress: 212178/383245
progress: 238651/383245
progress: 263739/383245
progress: 292923/383245
progress: 309668/383245
progress: 335268/383245
progress: 359844/383245
progress: 382884/383245
[src/training.rs:485:13] &parameters = [
    1.1824301,
    1.4436,
    6.5444775,
    10.9355,
    5.2584333,
    1.430009,
    1.0177346,
    0.0035430738,
    1.5656592,
    0.14744084,
    0.8635261,
    2.8729308,
    0.03196551,
    0.26274946,
    1.8887852,
    0.000106721,
    4.314837,
]
test training::tests::training ... ok

test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 40 filtered out; finished in 7.68s

They have a (currently unreleased) 0.14.0 that might be worth trying? Failing that you could try stepping back between 0.12 and 0.13 commits until you find the regression. IDK I know very little about testing perf.

I'm discussing this problem in https://discord.com/channels/1038839012602941528/1059209073784008835/1231255448871632978
I will open an issue in burn at first.


Can I update an existing tutorial to the current termplate?

I have a tutorial in the repository https://github.com/dmbates/WordleTutorials/ based on an earlier version of the template.  What files should I update to bring it up to date with the current release?

I modified the compat section of my Project.toml file to be consistent with the version here and updated my src/Tutorials.jl file to the version here and that seems to work okay.


Render

Guys, what do you think of the following:
Instead of self.view() to render view, we use self.render_view() and instead of self.json() to render JSON object, we use self.render_json()?

I haven't dived into this part of the codebase but what exacly does the self.view and `self.jsonz method?
Do they do any form of UI rendering? If not then the word, render might not be best.

They do. self.view renders the template using Jinja while self.json sends JSON response

self.render_view makes sense to me then.
But since the self.json isn't rendering anything and just sending a JSON response then I'll advise you don't use the word render. self.json sounds right to me, similar to res.json in express used for returning json responses.

self.view and self.json naming convention is quite ok ... I'm looking at the lengthy syntax when using the render word ...

:ok_hand:

True @wisdomanthoni
I was just about to share that. Especially considering PEP's rule of 80xters per line.
The main thing is that users understand and are able to discern what each method does by looking at the name.

Words of wisdom bro @wisdomanthoni 👌. We'll not change it. As long as the documentation points it out then user would be able to distinguish what it does truly @BolajiOlajide True! True!.  :raised_hands:


Prefer-template is a warning in browser setting

Browser is an es5 environment the rule should be deactivated for the browser setting. fix in https://github.com/trustpilot/node-eslint-config/pull/16

Agreed. We usually don't transpile our browser JS from ES6 to ES5 either. Merged #16.


Bump murmur3 to v1.1.1

murmur3 included unsafe code; go1.14 has a -d=checkptr flag that checks
some uses of unsafe code. Turns out, the original usage of murmur3 was
unsafe due to alignment issues.
This does not affect the murmur128 assembly code because unaligned reads
on amd64 are safe (although slower, but we don't usually expect the hash
to have unaligned input).
This bumps the dep to pull in the fixes.

Thank you for fixing this in your library, and creating this PR to bump the version for Picsum!
I've rebased it and merged it.


make /images/json compatible with docker engine

fixed #2294
In API /images/json, when no data in field RepoDigests, Swarm returns a field with [], while docker engine returns null.
This PR made Swarm's response compatible with docker's returning null.
Signed-off-by: allencloud<EMAIL_ADDRESS>

Closing due to lack of activity. Please rebase and reopen if you wish to continue working on it.


fix(config): indicator set to true

Types of changes

[x] Bug fix (a non-breaking change which fixes an issue)
[ ] New feature (a non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Description

when you set indicator to true in nuxt.config , the component nuxt-build-indicator build failed.
so when is set to true, we replace it by default value.
nuxt.config.js:
build: {
   indicator: true,
   ...
}

output: nuxt-build-indicator.vue
export default {
  ...
  computed: {
     // options is generate by template
     // options: () => (<%= JSON.stringify(buildIndicator) %>),
      options: () => (true),
      indicatorStyle () {
          const [d1, d2] = this.options.position.split('-') // error when access position in bollean
       ...
     }
  }
 ...
}

Checklist:

[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly. (PR: #)
[ ] I have added tests to cover my changes (if not applicable, please state why)
[x] All new and existing tests are passing.

Codecov Report

Merging #8030 into dev will decrease coverage by 0.00%.
The diff coverage is 50.00%.

@@            Coverage Diff             @@
##              dev    #8030      +/-   ##
==========================================
- Coverage   68.87%   68.86%   -0.01%
==========================================
  Files          91       91
  Lines        3849     3851       +2
  Branches     1044     1045       +1
==========================================
+ Hits         2651     2652       +1
- Misses        971      972       +1
  Partials      227      227

Flag
Coverage Δ

#unittests
68.86% <50.00%> (-0.01%)
:arrow_down:

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

Impacted Files
Coverage Δ

packages/config/src/options.js
94.87% <50.00%> (-0.39%)
: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 a7da6fd...c036249. Read the comment docs.

Thanks for PR @remigermain :heart:


suggest moving performance and benchmarking tests to new directory nc_perf

nc_test4 is getting very full and the build files pretty complicated.
A large chunk of the tests and build complexity have to do with the optional performance testing programs that get turned on with --enable-benchmarks.
I suggest that I create a new directory, nc_perf, and move all the benchmarking tests there. This will simplify nc_test4.
This should be a pretty simple task - if there are no objections I will put up a PR.

Sounds like a good idea, thanks!  I can't think of a reason not to offhand, unless @DennisHeimbigner has an objection I say go for it.


Package error for android build: "A problem occurred configuring root project 'android'."

You have been opted out of telemetry. To change this, run: cordova telemetry on.
ANDROID_HOME=/usr/local/src/android-sdk-linux
JAVA_HOME=/usr/lib/jvm/java-8-oracle
FAILURE: Build failed with an exception.

What went wrong:
A problem occurred configuring root project 'android'.

Could not resolve all dependencies for configuration ':_debugCompile'.
Could not find any version that matches com.google.android.gms:play-services-ads:+.
Searched in the following locations:
https://repo1.maven.org/maven2/com/google/android/gms/play-services-ads/maven-metadata.xml
https://repo1.maven.org/maven2/com/google/android/gms/play-services-ads/
file:/home/package/workspace/apps-fed6e0ae-302/cordova/platforms/android/libs/
Required by:
:android:unspecified

Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

BUILD FAILED
Total time: 2.873 secs
Error:
Error code 1 for command: /home/package/workspace/apps-fed6e0ae-302/cordova/platforms/android/gradlew with args: cdvBuildDebug,-b,/home/package/workspace/apps-fed6e0ae-302/cordova/platforms/android/build.gradle,-Dorg.gradle.daemon=true,-Pandroid.useDeprecatedNdk=true

Odd... The Google Play Services are installed and up to date.

the last Android build I did was 8/24 (that was successful) and I haven't changed anything with package.json or config.xml

Yeah, I switched servers. I was tired of the limited resources. Try again? Sorry about that.

Android build worked. Thanks!

add to body class: platform-android
ANDROID_HOME=/home/dev5/Android/Sdk
JAVA_HOME=/usr/lib/java/jdk1.8.0_111
Subproject Path: CordovaLib
FAILURE: Build failed with an exception.

What went wrong:
A problem occurred configuring root project 'android'.

You have not accepted the license agreements of the following SDK components:
[Android SDK Platform 24].
Before building your project, you need to accept the license agreements and complete the installation of the missing components using the Android Studio SDK Manager.
Alternatively, to learn how to transfer the license agreements from one workstation to another, go to http://d.android.com/r/studio-ui/export-licenses.html

Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

BUILD FAILED
Total time: 1.097 secs
Error: /home/dev5/Music/myIonicApp/platforms/android/gradlew: Command failed with exit code 1 Error output:
FAILURE: Build failed with an exception.

What went wrong:
A problem occurred configuring root project 'android'.

You have not accepted the license agreements of the following SDK components:
[Android SDK Platform 24].
Before building your project, you need to accept the license agreements and complete the installation of the missing components using the Android Studio SDK Manager.
Alternatively, to learn how to transfer the license agreements from one workstation to another, go to http://d.android.com/r/studio-ui/export-licenses.html

Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

In my experience the solution was to remove or delete the android platform component of the ionic app and to re-install the using the cmd cordova prompt. Hope this helps :-)


Feature: add code method on Status

Codecov Report

Merging #1068 (c5b6e26) into main (b57aa88) will decrease coverage by 0.02%.
The diff coverage is 66.66%.

@@            Coverage Diff             @@
##             main    #1068      +/-   ##
==========================================
- Coverage   56.83%   56.81%   -0.03%
==========================================
  Files          73       73
  Lines        2259     2260       +1
  Branches       57       69      +12
==========================================
  Hits         1284     1284
- Misses        975      976       +1

Impacted Files
Coverage Δ

zio-http/src/main/scala/zhttp/http/Status.scala
99.13% <66.66%> (-0.87%)
: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 b57aa88...c5b6e26. Read the comment docs.


Waggle sign API server

Handle API requests for batch sign
Example of API request:
{
    "chain_id": 80001,
    "dropper": "0x4ec36E288E1b5d6914851a141cb041152Cf95328",
    "signer": "0x123c51488a18fc75d3b8993743f3c132316952c8",
    "requests": [
        {
            "dropId": "2",
            "requestID": "5",
            "claimant": "0x000000000000000000000000000000000000dEaD",
            "blockDeadline": "40000000",
            "amount": "3000000000000000000"
        },
        {
            "dropId": "2",
            "requestID": "6",
            "claimant": "0x000000000000000000000000000000000000dEaD",
            "blockDeadline": "40000000",
            "amount": "3000000000000000000"
        }
    ]
}

Example of response:
{
    "chain_id": 80001,
    "dropper": "0x4ec36E288E1b5d6914851a141cb041152Cf95328",
    "signer": "0x123c51488a18fc75d3b8993743f3c132316952c8",
    "sensible": false,
    "requests": [
        {
            "dropId": "2",
            "requestID": "5",
            "claimant": "0x000000000000000000000000000000000000dEaD",
            "blockDeadline": "40000000",
            "amount": "3000000000000000000",
            "signature": "1165f3f1edba760f570a833891ef238c9e40d2e2d1c6d66ab39904v1934c4bb9342e463bd24e0464cceb66a91ea96a48965bb7603d59dc6b859f1112d077a5e41b",
            "signer": "0x123c51488a18fc75d3b8993743f3c132316952c8"
        },
        {
            "dropId": "2",
            "requestID": "6",
            "claimant": "0x000000000000000000000000000000000000dEaD",
            "blockDeadline": "40000000",
            "amount": "3000000000000000000",
            "signature": "85127edfac02da74776d761f230dc8d1c361ec8fb400881224d8e6001b00b17326048930b0b6e4f03ce407993e12399f80b325cc0be075fad855a2c6168f3b221c",
            "signer": "0x123c51488a18fc75d3b8993743f3c132316952c8"
        }
    ]
}

Resolves https://github.com/moonstream-to/waggle/pull/11

@bugout-dev check

[ ] First merge PR https://github.com/moonstream-to/waggle/pull/10


Implementation of Flying/Walking speed keys

Test plugin -> http://pastebin.ubuntu.com/12734418/

The correspodning DataManipulator implementation should (eventually) be added to this PR.

Missing a few things according to the guidelines.

@Aaron1011 @gabizou should be good now

@clienthax I need a test plugin.


version bump

Coverage decreased (-0.5%) to 99.53% when pulling b0444a03e2a4dc30bf9f9bc88eaba5686298f7d3 on yuce:version-bump into 05e82dbd11e8df9da5cda75b19819d0edcd37b37 on pilosa:master.


Changed places365 to places365_container in docker run command to ref…

I was trying to run this Docker on my local machine and found a couple of inconsistencies that would have prevented new users from running the examples.  I made a couple of tweaks so that it should work "out-of-the-box".
…lect README.md
Added the mountains.jpg image from places.csail.mit.edu to make the README.md instructions work
Added a placeholder README.md file to keep the models_places folder intact in git

Thanks @ewenger !


Replacing bell and person icons with new svgs

Current looks:

The person icon does not seem to be currently used anywhere but will replace user name for logged in pages shortly.

Icons part of this issue: https://artsyproduct.atlassian.net/secure/RapidBoard.jspa?rapidView=35&projectKey=BUY&modal=detail&selectedIssue=BUY-138

Next step is to make the bell animated! 🔔


Remove transmutes, use a pointer cast and fail on BE

Because the keccak crate takes a state as [u64; 25] (cf https://github.com/RustCrypto/sponges/issues/3), the code currently does a transmute to convert from bytes.
This should be replaced with a pointer cast on little-endian machines.
On big-endian machines, a byteswap is probably necessary, but since I don't have one to test on and I'm not sure that the keccak crate works correctly there, it seems better to just fail to compile rather than provide possibly-wrong code.

Closed by #20


scene pages not displaying

When attempting to go to a particular scene, I am directed towards the index page, even though the URL structure is correct. Here is an example for the Scene test11, which is part of Channel Islands NMS:

resolved, fixes on the plugin side.


c stake command broken ?

Describe the bug
go to stake to one of my validators and ends up erroring out
To Reproduce
c stake vali::storage.snafu0 300 key=module
Steps to reproduce the behavior
c stake vali::storage.snafu0 300 key=module
from a bash prompt on my machine
Expected behavior
Stake to be placed/
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem.
Specs
Ubuntu 22.04
Latest pull
Additional context
Add any other context about the problem here.

@salvivona can you take a look at this please ?

can you pull and try again. I believe this was fixed. lmk

yea not fixed...

c key2stake still broken to and a few other commands

Cant even register a server atm according to c register I dont have enough to stake it on my root key but I have over 8600 as shown in screenshot

This has been fixed. Please notify me if you have any issues


Hacktoberfest 2021 - Call for workout contributions

Hi everybody.
As you may already know, Hacktoberfest 2021 is on its last days. So, if you are looking for a quick but meaninful way to contribute into the open source conmunity consider supporting WAC with a couple of workouts.
I am in, how can I help?
As simple as adding at least 2 workouts you already have done in the past. The steps you will need to follow are:

Fork this repository, then clone it
Create a new workout file inside of data/ directory. You could do it manually or use the bin/new-workout.sh helper.
Write the workout using the Workout V0 language. You can use the example on the README as guideline or any of these files as template.
Commit, push and create a new pull request
Wait for all the checks to pass (markdown and workout lang linters)
Profit!

This project is still on its early days, so if you have any question feel free to drop it on this thread.

Closing this ticket to tell apart Hacktoberfest 2021 contributions from others. Thanks everybody!


Config and start Stackdriver Debugger agent with app deployment

@zombiezen Please take a look.

@zombiezen PTAL


🚥 [Testing] New Feature Status Check and Testing Plan.

Is your suggestion a test requirement/change or improvements of the test framework? Please describe.

Features
Estimation for delivery
Status

Evaluate alternatives for Nashorn and bring that as the scripting engine to execute Adaptive Scripts
Done before Sept 23rd
✅ Done

Integrating iProov with WSO2 Identity Server and Asgardeo

✅ Done

Provide developer friendly tools to easily integrate API based authentication capabilities for Android Mobile Applications

✅ Done

Ability to selectively disable user access to an application

✅ Done

Support to configure allowed response types for OIDC/OAuth applications
Done before Sept 23rd
✅ Done

Provide configuration support to use the same JWT more than once as the client assertion token in private-key-jwt client authentication at an application level
Done before Sept 23rd
✅ Done

User Impersonation
Done before Sept 23rd
✅ Done

Monitor and analyze the logs published in Asgardeo usecaeses and optimize the log usage
Done before Sept 23rd
✅ Done

Ability to add sub themeing preferences at the application level for login, registration, recovery UIs and emails over APIs
Done before Sept 23rd
✅ Done

Provide first class support for dynamic password update during the login flow to support password migration from an existing system

✅ Done

Support rule-based password expiration

✅ Done

Support configuring custom keypairs for root-organizations
Oct 1st week
🚧 In-progress

Onboard SSO templates in Asgardeo for the most commonly used SaaS apps within enterprises
Oct 1st week
🚧 In-progress

Support "login_hint" parameter as organization discovery hint
Oct 1st week
🚧 In-progress (Integration tests are yet to be completed, Feature done)

Support usernames recovery when email address is not unique
Oct 1st week
🚧 In-progress

Integrate Onfido as a identity verification solution
Oct 1st week
🚧 In-progress

Optional Fields
Additional context

Related Issues:

This effort is to check the new feature status, so the information can contribute for plan the new feature testing.
Release Timeline
These issues were marked as 'Delivery Complete' in the 4th week of September and 1st week of October. 'Delivery Complete' refers only to the on-prem product side

Feature Status In Asgardeo

https://docs.google.com/spreadsheets/d/1nLr50WHY9j_ZVimg1Vw8B1D_tK1WRU5AROt4z-SAJ0g/edit?usp=sharing

Update
The initial new features released with M1 have been completed. Through our sync-up discussions, we’ve finalized that list of new features, improvements, and bug fixes  primarily sourced from the Git dashboard and includes issues associated with the relevant milestone. Since this has been completed, we are closing the issue.
Features with M1 release: https://github.com/orgs/wso2/projects/113/views/1?filterQuery=label%3A"Type%2FNewFeature"+milestone%3A"7.1.0-m1"
Improvements with M1 release : https://github.com/orgs/wso2/projects/113/views/10?visibleFields=["Title"%2C"Assignees"%2C"Status"%2C"Milestone"]&filterQuery=label%3A"Type%2FImprovement"+milestone%3A"7.1.0-m1"


Thead cutting off on mobile phone

Hello,
I have a responsive Bootstrap table. It has horizontal scrolling. floatThead does it's job perfectly on the desktop. When I resize my browser window to a smaller size and use the horizontal scrollbar, I don't get any problems. However, when i view the table on a mobile phone, the thead get's cut off and only displays the th's which are visible when the table is loaded.

Desktop view

Desktop view with smaller screen, scrolled to the right

Mobile view

Mobile view, scrolled to the right
Thanks :+1:

mobile safari is mostly not supported. I suggest checking user agent and turning off this plugin for safari.

this plugin is pretty cpu intensive. it doesn't work that great on phones and I don't believe that it should be used on such small screens anyway.   Pull requests are welcome :)

here is the issue in safari that exhibited same behavior - https://github.com/mkoryak/floatThead/issues/108
I fixed it a few versions ago. so make sure you are using the latest.  this was not a mobile safari bug though, so it perhaps is not fixed there. You cant pay me to debug mobile phones :P


Pin ManageIQ messaging to 0.1.2

The amazon operations pods are in CrashLoopBackoff, looked into it and it's because of the recent changes to the miq-messaging gem. It wasn't pinned like our OCP/Tower collectors, so this should fix it.

cc @syncrou @slemrmartin


USHIFT-1493: The microshift-greenboot package is no longer optional

Added explicit dependency on microshift-greenboot from the microshift RPM and updated the docs.
$ rpm -qpR ./_output/rpmbuild/RPMS/x86_64/microshift-4.14.0_0.nightly_2023_07_26_001154_20230727003726_560fed8c1_dirty-1.el9.x86_64.rpm | grep ^microshift
microshift-greenboot = 4.14.0_0.nightly_2023_07_26_001154_20230727003726_560fed8c1_dirty
microshift-networking = 4.14.0_0.nightly_2023_07_26_001154_20230727003726_560fed8c1_dirty
microshift-selinux = 4.14.0_0.nightly_2023_07_26_001154_20230727003726_560fed8c1_dirty

Closes USHIFT-1493

/lgtm


Banana'd

Improved code efficiency and readability by switching to bananas.
you can reach me at<EMAIL_ADDRESS>Have a great day! <3
You can read more about the reasoning behind this here:
https://rb.gy/72qgdw

https://www.youtube.com/watch?v=wCkerYMffMo

Hello Nye! How's it going!

Don't worry I'm not a bot that would be funny though.


feat: configurable port

:tada: This PR is included in version 16.3.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


tailscale: package is not using option extraUpFlags

Describe the bug
Tailscale package is not using the extraUpFlags unless authKeyFile is set.
Steps To Reproduce
Steps to reproduce the behavior:

Enable tailscale and set a flag

  services.tailscale.enable = true;
  services.tailscale.extraUpFlags = ["--ssh" ];

nixos-rebuild switch
ps -ef | grep tailscaled  ==> no flags are used

Expected behavior
Flags are used
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
Code reference: https://github.com/NixOS/nixpkgs/blob/a2c4338855f665358aabd3a307d640d3ce6abd56/nixos/modules/services/networking/tailscale.nix#L112
extraUpFlags is only used inside the if of auth key not being null check.
Notify maintainers
@evandeaubl @jwygoda @Enzime
Metadata
Please run nix-shell -p nix-info --run "nix-info -m" and paste the result.
[user@system:~]$ nix-shell -p nix-info --run "nix-info -m"
 - system: `"x86_64-linux"`
 - host os: `Linux 6.1.68, NixOS, 23.11 (Tapir), 23.11.2130.d65bceaee0fb`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.18.1`
 - nixpkgs: `/nix/var/nix/profiles/per-user/root/channels/nixos`

Add a :+1: reaction to issues you find important.

@mfrw

I don’t think that is adequate as you can run tail scale as server just fine without authkey argument. An authkey is only valid for up to 90 days.

Sure, but it would be a good start to alert users to the current behavior.

I was managing personal nixpkgs only because of this issue... (simply patching package doesn't seem to work for modules)
Created PR for this. Hope someone can review this.


Verifying environments used in the paper in this codebase

Hi,
I'm just trying to find all the environments in the paper. I know the two gridverse envs are in the gridverse package.
I looked at the output of from gym import envs print(envs.registry.all()) and I'm just trying to find all the envs used in the paper.
I was able to find these 4 which I believe are the same versions used in the paper.
Heaven-Hell-3 - POMDP-heavenhell_3-episodic-v0
Heaven-Hell-4 - POMDP-heavenhell_4-episodic-v0
Shopping 5    - POMDP-shopping_5-episodic-v1
Shopping 6    - POMDP-shopping_6-episodic-v1

However, I'm not sure about the Car-Flag and Cleaner envs. Could you please let me know where I could find them?
Thanks
Amit

Hi Amit,
You got the right IDs for heaven-hell and shopping.  Car-Flag and Cleaner are implemented in the repository directly, and are not registered with gym;  this is because they originate from other papers, but the respective authors did not provide an easily accessible public implementation, so I got the implementation directly from them and permission to host them in this repo (really bad practice, but out of my hands, sadly).  To use them with this repository, you should use the strings extra-cleaner-v0 and extra-car-flag-v0.

This is really helpful, thank you!


N51: add rustunit bevy meetup 4

Part of #1505

Gonna review this tomorrow and check out the render 👍

Render screenshot


Setup GitHub actions to run tests on Merge Request

We start to have tests, time to build up some automation around it. At least we should check merge requests to ensure they do not break tests

Done with #12


Add missing link

Add missing link to Architecture section on Getting started page

Thanks @19h47 for this contribution. I've merged your change.


Bump dependencies

Codecov Report
Patch has no changes to coverable lines.
:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.

Files Changed
Coverage

src/graphql/log.rs
ø

src/publish/tests.rs
ø

src/storage.rs
ø

:loudspeaker: Thoughts on this report? Let us know!.


Running device client on Raspberry Pi

OS and version used: Raspberry Pi

Python runtime used: 2.7.13 & 2.7.14 (likely others as well)

SDK version used: Device Client 1.2.2

Description of the issue:

Cannot run the samples, runs into an error with the pip package. Seems to be unable to open boost files when importing the package for use.
Code sample exhibiting the issue:

import iothub_client
Console log of the issue:

Traceback (most recent call last):
File "iothub_client_sample.py", line 10, in
import iothub_client
File "python-directory/site-packages/iothub_client/init.py", line 1 in
from .iothub_client_import *
ImportError: libboost_python-py27.so.1.55.0: cannot open shared object file: No such file or directory

@cartertinney
Make sure you have the latest pip and setuptools installed in your python environment
sudo pip install -U pip setuptools
sudo apt-get install libboost1.55-all
OR
sudo apt-get install libboost-all-dev
OR
sudo apt-get update
sudo apt-get upgrade
Best Regards,
Zoltan


Need to add "Device Display Information" to iOS/Android/XF Navs

https://docs.microsoft.com/en-us/xamarin/essentials/device-display
I think we have this in 3 places for the nav?

Thanks @jamesmontemagno - opened a PR to fix this. Should be published soon.


All colors should toString as hex #RGB.

Currently, d3.interpolateRgb returns "rgb(128,64,0)", and d3.hsl returns "hsl(0,0%,50%)". Mobile Safari doesn't support HSL, which means you need to hsl.rgb() explicitly for the colors to work, which is annoying. Also, when computing transitions, d3.interpolateRgb's return value can appear different from the current value solely due to different formatting. If we standardize on hexadecimal RGB, the behavior will be a bit more consistent.

I might tackle this now… I'd probably write an assertColor(expected, actual).

The only issue I really encountered was that d3.hsl(d3.hsl(x)) == d3.hsl(x) no longer held due to the string coercion always using RGB in d3.hsl's constructor.
I have a branch with all the tests updated to use hex RGB if that's useful, or you might just want to start from scratch. :)

Here it is, with a single failing test case due to the d3.hsl(d3.hsl(x)) issue.

Heh, looks identical to my branch! I'll merge yours in and continue working. The fix for d3.hsl idempotence is to avoid string coercion inside the constructor. I was thinking of saying this:
d3.hsl = function(h, s, l) {
  return arguments.length === 1
      ? (h.h ? d3_hsl(h.h, h.s, h.l)
      : d3_rgb_parse("" + h, d3_rgb_hsl, d3_hsl))
      : d3_hsl(+h, +s, +l);
};

d3.rgb = function(r, g, b) {
  return arguments.length === 1
      ? (r.r ? d3_rgb(r.r, r.g, r.b)
      : d3_rgb_parse("" + r, d3_rgb, d3_hsl_rgb))
      : d3_rgb(~~r, ~~g, ~~b);
};

Although, I wonder whether I should do an instanceof d3_Rgb instead.

OK I did some microbenchmarking and it looks like instanceof is fast, so I think we'll use that. It's also safer, arguably.

Hehe, I was just typing the following. Instanceof sounds good!

Hmm, I do like the idea of being able to pass in an object that has the appropriate keys, rather than requiring a particular instance of something. But I guess it's trivial to call d3.hsl(x.h, x.s, x.l), and instanceof is probably less brittle.

Also, note that you'd have needed r.r != null to catch zeroes.

Pushed to rgb branch. Show followup with 2.3.3 release.

Looks good, thanks.


Forge is not support ios 11.3

I update my xcode and iphone to ios11.3. Then the Forge can not build success.You maybe update the forge to support ios11.3,because some class have made some changes in ios 11.3

You know,you are handsome!!


Please respect OS's Dot Not Disturb setting

N1 keeps playing sound and hoping up the notification when the new mail arriving even I turned on the Dot Not Disturb on MacOS.

I thought DND only applied to notifications through the Notification Center, which N1 uses for notifications under OS X.

I've tested again. The sound played by N1 no matter how does DND set.

Hmm. If DND is set, does Chrome play sounds from a website using HTML5 Audio (e.g. YouTube with HTML5 player)?

@jacobbubu The offending line is part of sound-registry.coffee.
It utilizes the HTML5 Audio element to play audio. Normally this is fine since you are using the webpage that is playing audio and you can close the webpage when you don't want it to.
This is why N1 plays audio when DND is set. It seems DND is hard to detect from inside OS X applications and, from the part of Electron's documentation I read, Electron doesn't offer a way to detect DND on OS X.

Playing sounds in video that is initiated by myself and I'm expecting to hear that. When I turn the DND on that means I'm not expecting any interruption happens during that time, so playing sound for incoming mail becomes a disturbance (I can not control when the mail comes in).

Wow. We commented at the same time.

Thank you for the explanation. Looks like that we need a native module to do that. Anyway that is a nice-to-fix bug.

Yeah. I could look to see if someone made a native module compatible with Electron.

And.. unfortunately nobody has created a Do Not Disturb module. I am not familiar with Mac OS X's DND setting and from a quick Stack Overflow search many developers don't encounter this type of issue.

It looks like it's possible to ask the operating system whether "Do not Disturb" is active, but it's not pleasant at all (http://apple.stackexchange.com/questions/59572/get-os-x-notification-center-state-from-the-command-line/69760#69760). We'll look to implement this in a native node module in the future, but we may table it for now. Pull requests welcome of course if anyone wants to give it a go before our team does!

It's really annoying to have to manually quit N1 prior to giving any presentation. Has any progress been made on this?


Experiments

please ignore this, still having issues on pull requests

If you fix the merge conflict I'll be happy to merge :) If you are having problem check out our video on merge conflict (it's on the website)


silver-dev-cv:1.0.0 and silver-dev-cv:1.0.1

I am submitting

[x] an update for a package

Adding imetadata to detect usage of the template in our services. Added it manually on the 1.0.0 template and to the template builder.

Sorry, but it is not allowed to modify a package once it was released. Can you please undo the changes made to version 1.0.0?

Thank you.


Roblox API

I saw that you created a(n) Roblox API library for Go-lang. I want to get in touch with you.
I couldn't express much of what I wanted to say in this short body. Please have a look at this for more information.
The link is a Roblox forum link if you don't like forums, I'd gladly explain
more to you here.
Hope to hear your response soon! :)

############roblox.com/############################

Can you clarify this?
I currently maintain automatically generated API dumps in raw and JSON formats. I'm not sure if this is what you're looking for, but the endpoints for the latest versions are available here:

https://anaminus.github.io/rbx/raw/api/latest.txt
https://anaminus.github.io/rbx/json/api/latest.json

I also maintain a history of past dumps, but I wont guarantee the availability of them. I'll only guarantee the above URLs, since a handful of people actually use them.
The full details are available here:
https://anaminus.github.io/rbx/

http://wiki.roblox.com/index.php?title=Web_APIs
Roblox decided to block one of their own link. I'm so sorry about that.
Anywho, I am looking for that but in addition I'm looking for something else.
Me and a couple of other developers( who made public roblox libraries/wrappers ) are trying to align them into a convenient place to help user's find them easily. I was wondering if you created a roblox library of some sort. If you did or is willing to make one, could you please join our server here. [ https://discord.gg/EDXNdAT ].
The server allows for user's to communicate with library/wrapper developers and allows for developers to promote their library/wrapper. It's a small but strong effort. The server was created this morning.

The main problem is that many of these APIs aren't officially front-facing. That is, their details are allowed to change, and they have no obligation to even continue existing. They're non-public services meant to be used only by Roblox. As a result, maintaining a library that binds to these kinds of APIs is costly in time and effort. I am unwilling to participate for this reason.
I've made such a library in the past, but it suffers from the problems I'm describing. An API changes or disappears, causing the library to break. It also lacks a framework that makes it easier to adapt to the instability of the APIs it depends on, making it even more costly to maintain.

I agree. I feel that a majority of the reason is that Roblox see's no reason to keep developers in mind when updating their API is strictly because they simply don't know that these libraries/wrappers exist. If more developers created such libraries/wrappers public, it would bring about a purpose.
Futhermore, I'm aware that libraries/wrappers are timely and costly to create but, with most APIs they change frequently. As stated, if we prove the existence of such libraries/wrappers to the point that Roblox takes notice, then they could announce before-hand that such changes are taking place.

An API changes or disappears, causing the library to break. It also lacks a framework that makes it easier to adapt to the instability of the APIs it depends on, making it even more costly to maintain.

Adding on to your statement, I completely agree. However, like I said before(body paragraph), if Roblox knew about these libraries/frameworks, maybe they would put more time into developing something for developers to use such as a framework.
Hopefully, with all this in mind, they may open up more web-apis for us(developers) to use.

I think your initial question has been answered, so I'm going to close this.
I agree that Roblox would consider implementing their own public API if there were enough interest. But it's not so much about awareness as it is the cost of maintaining a public API to begin with. A maintainer must ensure that their API remains compatible, consistent, stable, and up to date with internal infrastructure. It's a lot more involved than it appears. Your efforts boil down to moving this maintenance cost from Roblox to a third-party (yourselves), which is commendable, but you ought to be aware of what it entails.
These non-public APIs don't have such requirements, because Roblox already controls the only client that matters (the website). When the needs of the client change, Roblox can change their APIs with them. The only reason these APIs are accessible to third-parties is because users (web browsers) must be able to access them on behalf of the client (the website). There are no guarantees for clients that Roblox does not control, so these clients have no choice but to be flexible.

But it's not so much about awareness as it is the cost of maintaining a public API to begin with. A maintainer must ensure that their API remains compatible, consistent, stable, and up to date with internal infrastructure.

Completely agree. The official web apis haven't changed this this article was published. For the most part, those remain as stable as "Roblox standards" goes.
If more developers put time into creating libraries/wrappers then, it would bring some incentive to make a public API. However, if Roblox expanded their chat features, developers could bridge that with other services(stack, discord, twitter, etc) or even some games. In the long run, this would allow developers to take advantage of rich content. The same could be applied to studio. If Roblox allowed for developers to edit properties in-game, then that would be a huge plus side for us. Same goes for database-support with datastores.
Creating a library/wrapper would bring about these features. Waiting for them(proven in the past), just doesn't get work done. Creating one allows other services to connect to Roblox(reason I made one) and would be useful as Roblox updates throughout the years.

I've made such a library in the past, but it suffers from the problems I'm describing.

You're welcome to join the server and provide api dump updates and promote your old library which was written in Go-lang.


dag-cbor-derive fails to understand package rename

I am using an alias of ipld = {package = "libipld"} to import, but getting the error message of
error[E0433]: failed to resolve: use of undeclared crate or module `libipld`
  --> car/src/lib.rs:14:26
   |
14 | #[derive(Debug, Default, DagCbor, PartialEq)]
   |                          ^^^^^^^ use of undeclared crate or module `libipld`

In case you are blocked by this, see https://github.com/ipld/libipld/compare/wip-fix-derive-rename. I'd like to get #129 merged before I PR this one properly.


Improvement: filter out input sources not available on Oppo 203

Hi
The following inputs are not available on Oppo UDP-203, only UDP-205. Would it be possible to filter them out in the integration based on the detected model?

From the Oppo API documentation:

Thanks

you are luckier than I.
This integration doesn't work for my 205 under 6.0.
Many problems with several integrations. Reverted to 5.4 that is OK.

Yup I've opened a bug for the compatibility issue with 2023.6.0: #3

It's been a while, but I don't think that I had a way to detect the device type.  I thought about firmware version, but it didn't look like it would work based on my device.  I can probably filter it if I can get the device type reliably.

A first option could be to use "Server Name", as it contains the model name by default:
Notify: OPPO Player Start
Server IP: <IP_ADDRESS>
Server Port: 23
Server Name: OPPO UDP-203
However the name can be change by the user, so not 100% reliable.
Another - probably better - option could be to set up the source to a non-supported input on the UDP-203 during the initial configuration flow (such as USB AUDIO IN) and check if the device is returning an error.
Thanks!

The server name is only available in a notify broadcast, so unfortunately that won't work.  The other method could work, I'd have to look into it a bit.  Happy to accept a PR if you have some time to implement it.

Thank you! I'm not really familiar with Python and HA coding, so it will take me some time to understand how to implement this.


crypto/tls/conn client connection is staying open after server has closed it

What version of Go are you using (go version)?
go version go1.13.1 linux/amd64
Does this issue reproduce with the latest release?
yes
What operating system and processor architecture are you using (go env)?
$ go env
GO111MODULE=""
GOARCH="amd64"
GOBIN=""
GOCACHE="/home/user1/.cache/go-build"
GOENV="/home/user1/.config/go/env"
GOEXE=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="linux"
GONOPROXY=""
GONOSUMDB=""
GOOS="linux"
GOPATH="/home/user1/go"
GOPRIVATE=""
GOPROXY="https://proxy.golang.org,direct"
GOROOT="/usr/local/go"
GOSUMDB="sum.golang.org"
GOTMPDIR=""
GOTOOLDIR="/usr/local/go/pkg/tool/linux_amd64"
GCCGO="gccgo"
AR="ar"
CC="gcc"
CXX="g++"
CGO_ENABLED="1"
GOMOD="/home/user1/go/src/prj/t/go.mod"
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -m64 -pthread -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build100025384=/tmp/go-build -gno-record-gcc-switches"
What did you do?
upgraded from go1.12 to go 1.13
no change to my code or unittests
ran my unit tests
we have simple tls server and client is implemented in the unit test code
_, err := tls.Dial("tcp", suite.Server.GetListenerAddr().String(), &tls.Config{
RootCAs:            roots,
InsecureSkipVerify: true,
Certificates:       []tls.Certificate{clientCert},
})
c.Assert(err, ErrorMatches, ".*bad certificate")
with 1.13, err is nil
I tried writing to the connection and it accepts my writes with out error
but when I read, I finally get the tls error
c.Assert(err, IsNil)

... value *net.OpError = &net.OpError{Op:"remote error", Net:"", Source:net.Addr(nil), Addr:net.Addr(nil), Err:0x2a} ("remote error: tls: bad certificate")
The server code tcp listener returns tcpConn that is promoted to tlsConn
tcpConn, err := s.listener.(*net.TCPListener).AcceptTCP()
if err != nil {
// detect that the listener has been closed & exit gracefully
log.Panicf("tls listener: Accept: %s", err)
}
tcpConn.SetKeepAlive(true)
clientConn := tls.Server(tcpConn, s.tlsConfig)
deffer clientConn.Close()
err := clientConn.(*tls.Conn).Handshake()
if err != nil {
return
}
It is going into that last err block and printing closeConnect
What did you expect to see?
I expected the same error to be return form tls.Dial as I was receiving with go 1.12
What did you see instead?
no error returned, until I tried to read from the socket

This is due to a fundamental protocol difference between TLS 1.3 (enabled in Go 1.13) and TLS 1.2: client certificates are checked by the server after the client finished the handshake (this saves a whole round-trip), so the error is only sent to the client after Handshake and Dial have returned. To catch it in a test you have to do a Read on the client side.


Feature/pass profile name in devicesharedsecret

The feature introduces the possibility to pass the profile name from one device to another to keep them the same.
The user can overwrite this, but it will override the default name of the created profile.

@Milena-Czierlinski sure thing :)


Use Factory Bot instead of Factory Girl

Factory Girl has been renamed to Factory Bot.
cf. https://github.com/thoughtbot/factory_bot/blob/master/NAME.md

Thanks!

Thanks! I'm looking forward to "24 Pull Requests" this year :smiley:


Implement filtering with search on projects page

Currently the app has a basic search that looks for matches in name and description.
We need to implement a search that allows you to filter projects by tags, patterns (gen ai, data, aiops, etc.), and other fields

Filtering works, but there is another issue with the multiselect component, where selecting an item selects it twice, leading to odd behavior and a double incremented tag count.


HISTORY.rst is missing information for 0.12.0 and 0.12.1 releases

Noticed that the HISTORY.rst file is missing info for the 0.12.0 and 0.12.1 releases. I'd do a PR but I have no context on what has changed in these releases.

this library isn't very well maintained (by me)

+1 would especially love to know if there are any backwards incompatible changes

@kennethreitz - Is the code for the 0.12.0 and 0.12.1 releases in github? If there is more information maybe someone could step up and help.


Ubuntu local setup

Let's capture issues with local setup on Ubuntu here. @Kopkins

Local instance fails with server on login
Ubuntu 14.04 with postgresql 9.3

Updating postgresql to 9.5 still fails

Running on virtual machine with fresh install of Arch Linux and postgresql 9.5.3 works
Will try on fresh install of Ubuntu 14.04

Ubuntu 14.04 does not have good integration with postgresql 9.5.
Running on Ubuntu 16.04 with postgresql 9.5 cannot connect to database
localhost:9000 cannot load
This seems like it is a configuration issue so I am looking into it

For some reason the osm data base user was not getting the password set using createuser -sW osm
I want to try this again on a clean install making sure to follow the exact commands to see if the password does not get set

Thanks for looking into this @Kopkins !
I fired up a 14.04 EC2 but haven't had a chance to really get going with it yet..

For createuser the -W flag is for a password needed to access the database. To set the user password we need the -P flag. I don't know if this is the same on a Mac. I'll submit a PR to update the documentation


Mustache Template Support

I've used erb/slim for years, but nowadays mustache is all I use in order to share templates between server and client. While I can technically use it with Lotus by calling Mustache.render from the controller action, I miss out on the rendering conventions (configured template folder, auto-rendering based on view classes, etc)
Any chance of including mustache support in future versions of Lotus::View?

Thanks for reporting this, I close this ticket for now as it is become too old without getting enough attention.


Implementing the TUF spec section 5.3

Implementing the TUF spec section 5.3
https://github.com/theupdateframework/specification/blob/v1.0.9/tuf-spec.md#5-detailed-workflows
Instead of 1 set of fixtures we now have fixture/delegated and fixtures/simple. fixture/delegated is the same as the existing fixtures. I added the new fixtures/simple because fixture/delegated does not allow testing comparing the new timestamp/snapshot files to the current trusted ones. When the root is update and the timestamp/snapshot keys are rotated the trusted version are discarded.
Obviously looking at the changes to fixtures/generate.py(be kind my first python code changes ever 😉 ) is easier than inspecting all of the fixture files.
I changed some other things along the way such as switching to static methods when possible.

This looks great, and I agree with the decision.


Created PDF2Text.ipynb

Description
This notebook converts PDFs to .txt files using PDF2text and pytesseract.
It currently is processing the 1,500 PDFs in our possession.
Type of change
Please delete options that are not relevant.
☐ Bug fix (non-breaking change which fixes an issue)
☑ New feature (non-breaking change which adds functionality)
☐ Breaking change (fix or feature that would cause existing functionality to not work as expected)
☐ This change requires a documentation update
How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration
☐ Test A
☐ Test B
Checklist
☑ My code follows the style guidelines of this project
☑ I have performed a self-review of my own code
☑ I have commented my code, particularly in hard-to-understand areas
☐ I have made corresponding changes to the documentation
☐ My changes generate no new warnings
☐ I have added tests that prove my fix is effective or that my feature works
☐ New and existing unit tests pass locally with my changes
☐ Any dependent changes have been merged and published in downstream modules
☑  I have checked my code and corrected any misspellings

Is hosting the files in google drive a temporary measure? If so, can we leave more explicit documentation about alternatives?

Is hosting the files in google drive a temporary measure? If so, can we leave more explicit documentation about alternatives?


The bot is offline

Can confirm that the bot also doesn't work in my server.

Can confirm that aswell. Adding the Bot to a new Server is working but the Bot itself doesn't work and is offline. Hope that will be fixed soon.

Hopefully riking can rectify this for us soon. Love the bot. <3

Same here, any news ?

Same here...

same issue

Same issue here. An update would be very helpful - thanks!

The notes on the project from Jan 2023 state "The creator of this bot is on an extended break, with no ETA to return to this project."
I have been exploring a replacement bot called EazyAutodelete that has similar functionality.


feat/core: Update dev scripts

Updates scripts and config to fix various issues with running the dev-server, creating hydra clients, and webpack loader issues.

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Fix unicode deleting following char bug

While working with this parser we've noticed any text like This text has "quotes" or This text has 😃 emojis was removing the char right after the unicode value. This PR fixes this issue.
To implement this feature I've added first some tests and later included the fix by replacing the Container default value for ucn from 1 to 0.

Wrong destination sorry.


How to customize components styles?

According to UI design I want to add some specific styles to ant components. I found that I can not do it with tokens, because tokens has limited list of properties. Thats why I need another approach.
According to the documentation it is unclear how to add custom styles to components. Can you provide examples?

Go to discussion https://github.com/ant-design/ant-design/issues/38975


Reworked GitHub test

Hi @ksenia-krasheninnikova
I've managed to make the pipeline take remote files directly. This means that:

There is no need to download and unpack a tar.gz before running tests
The test_github profile now runs out of the box anywhere

The main things I had to change in the code are:

Make sure all dependent files are properly marked as file in Nextflow and passed through channels. Nextflow takes care of the download if necessary
10X files now have to be passed explicitly

I also removed some Busco log files leftover from some tests.
With that solved, we can then look at renaming the test profiles. Normally, test, test_github should be the one that works for everyone, incl. GitHub.

PR checklist

[ ] This comment contains a description of changes (with reason).
[ ] If you've fixed a bug or added code that should be tested, add tests!
[ ] If you've added a new tool - have you followed the pipeline conventions in the contribution docs
[ ] Make sure your code lints (nf-core lint).
[ ] Ensure the test suite passes (nextflow run . -profile test,docker --outdir <OUTDIR>).
[ ] Usage Documentation in docs/usage.md is updated.
[ ] Output Documentation in docs/output.md is updated.
[ ] CHANGELOG.md is updated.
[ ] README.md is updated (including new tool citations and authors/contributors).

There's one difference: test was using
hic_aligner: bwamem2

while test_github has:
hic_aligner: minimap2

It has to be

hic_aligner: bwamem2

in both.
minimap2 option was implemented for extra big genomes - it has to be tested separately.

All done, then 👍🏼


feat: add Geek Actions Translation

Description
Add some Greek Translations for Action

[ ] Visual changes (if any) are shown using screenshots/recordings of before and after.

Code style

[ ] composer cs command has been run.

Testing

[ ] Changes have been tested.

Documentation

[ ] Documentation is up-to-date.

Typo in title "Geek"


Create additional info blocks

You can make your resume less official by adding more entertaining info, like your hobbies and interest, or what do you like, some interactive content or joke, easter egg, etc.

Interests
Coding: Of course! I love exploring new programming languages and frameworks.
Gaming: When I’m not coding, you can find me leveling up in my favorite RPGs.
Music: I love listening to music.
Kendo: I joined a kendo club here in the Philippines to become a samurai. Just kidding!
Adventure: Exploring new places I've never visited and experiencing fresh adventures.
I'm here to grow my expertise and contribute to meaningful projects. If you need help with making a GitHub project public or have any other questions, I'm eager to assist!


CLOUDSTACK-8487 : Add vMotion related tests

Adding a new test script testpath_vMotion_vmware.py in the test/integration/testpath folder.
This script has vMotion related test cases for VMware.
Tests include :

Migrate VM with volume within/across the cluster both for vmfs and nfs datastores, windows and linux vms.
Migrate VM with volume within/across cluster for local storage.
Migrate across cwps and zwps.
Migrate across nfs and vmfs.
Negative scenarios
Migration tests when host is put in maintenance.
Migration tests when storage is put in maintenance.
Have also added 2 new functions in base.py

This scripts have been tested on my local setup.
Also, I have run BVTs with this code on my local setup and it doesn't break anything.

Don't know why I can't comment on the testpath file. I don't see the file contents in the changes. Any idea why?

Hi Gaurav,
Even I am not getting that option. Is it because it is a new file or
something?
Thanks,
Abhinav
On May 20, 2015 16:54, "Gaurav Aradhye"<EMAIL_ADDRESS>wrote:

Don't know why I can't comment on the testpath file. I don't see the file
contents in the changes. Any idea why?
—
Reply to this email directly or view it on GitHub
https://github.com/apache/cloudstack/pull/268#issuecomment-103848262.

Posting review here as I am not able to put inline review comments.
Comments in the format (line number space comment)
133 space between self,vm
147 There should not be space between parameter=value
133 Function name should resemble an order given to function, like doThis, doThat. change name to createVmSnapshotForDataIntegrityCheck or something suitable
133 Are we not actually checking integrity or only creating Vm snapshot?
164 space between parameters. You can do this automatically using autopep8 tool. pip install autopep8. autopep8 -i -a -a fileName.py. And then check if any pep8 issues are not fixed automatically by pep8 fileName.py and fix them manually.
2480 If test restarts management server by default, then move it to maint folder. Or you can use key "restartManagementServerThroughTestCase"
912 use self.skipTest("") instead of raise unittest.SkipTest, change all such instances
1235 Check if destinationHost is returned as None, in that migrate should not be performed, change everywhere applicable
1278 Compare string after converting to lowercase only. Also don't use string directly, make use of constant strings from codes.py file, change everywhere applicable
Also, post the marvin run logs showing test cases passed successfully.

@gauravaradhye Incorporated the review comments. Please check.

Attaching test execution logs
This Test Path tests vMotion for NFS as well as VMFS within cluster, ... === TestName: test_01_vm_and_volumes_live_migration_for_vmware_vmfs_1___VMFS____within_cluster____windows__ | Status : EXCEPTION ===
ok
This Test Path tests vMotion for NFS as well as VMFS within cluster, ... === TestName: test_01_vm_and_volumes_live_migration_for_vmware_vmfs_2___VMFS____within_cluster____windows__ | Status : EXCEPTION ===
ok
This Test Path tests vMotion for NFS as well as VMFS within cluster, ... === TestName: test_01_vm_and_volumes_live_migration_for_vmware_vmfs_3___VMFS____across_cluster____linux__ | Status : SUCCESS ===
ok
This Test Path tests vMotion for NFS as well as VMFS within cluster, ... === TestName: test_01_vm_and_volumes_live_migration_for_vmware_vmfs_4___VMFS____across_cluster____windows__ | Status : EXCEPTION ===
ok
This Test Path tests vMotion for NFS as well as VMFS within cluster, ... === TestName: test_01_vm_and_volumes_live_migration_for_vmware_vmfs_5___NetworkFilesystem____within_cluster____linux__ | Status : EXCEPTION ===
ok
This Test Path tests vMotion for NFS as well as VMFS within cluster, ... === TestName: test_01_vm_and_volumes_live_migration_for_vmware_vmfs_6___NetworkFilesystem____within_cluster____windows__ | Status : EXCEPTION ===
ok
This Test Path tests vMotion for NFS as well as VMFS within cluster, ... === TestName: test_01_vm_and_volumes_live_migration_for_vmware_vmfs_7___NetworkFilesystem____across_cluster____linux__ | Status : SUCCESS ===
ok
This Test Path tests vMotion for NFS as well as VMFS within cluster, ... === TestName: test_01_vm_and_volumes_live_migration_for_vmware_vmfs_8___NetworkFilesystem____across_cluster____windows__ | Status : EXCEPTION ===
ok
This Test Path tests vMotion for VM in local storage within cluster, ... SKIP: The setup doesn't have local storage enabled
This Test Path tests vMotion for VM in local storage within cluster, ... SKIP: The setup doesn't have local storage enabled
This Test Path tests vMotion for VM in local storage within cluster, ... SKIP: The setup doesn't have local storage enabled
This Test Path tests vMotion for VM in local storage within cluster, ... SKIP: The setup doesn't have local storage enabled
This Test Path tests vMotion for NFS as well as VMFS within cluster, ... SKIP: The setup doesn't have enough zone wide primary storages of VMFS type, we need atleast 2
This Test Path tests vMotion for NFS as well as VMFS within cluster, ... SKIP: The setup doesn't have enough zone wide primary storages of VMFS type, we need atleast 2
This Test Path tests vMotion for NFS as well as VMFS within cluster, ... SKIP: The setup doesn't have enough zone wide primary storages of VMFS type, we need atleast 2
This Test Path tests vMotion for NFS as well as VMFS within cluster, ... SKIP: The setup doesn't have enough zone wide primary storages of VMFS type, we need atleast 2
This Test Path tests vMotion for NFS as well as VMFS within cluster, ... SKIP: The setup doesn't have enough zone wide primary storages of NetworkFilesystem type, we need atleast 2
This Test Path tests vMotion for NFS as well as VMFS within cluster, ... SKIP: The setup doesn't have enough zone wide primary storages of NetworkFilesystem type, we need atleast 2
This Test Path tests vMotion for NFS as well as VMFS within cluster, ... SKIP: The setup doesn't have enough zone wide primary storages of NetworkFilesystem type, we need atleast 2
This Test Path tests vMotion for NFS as well as VMFS within cluster, ... SKIP: The setup doesn't have enough zone wide primary storages of NetworkFilesystem type, we need atleast 2
This Test Path tests vMotion from NFS ok---> VMFS , within cluster ... === TestName: test_04_vm_and_volumes_live_migration_for_vmware_across_nfs_vmfs_1___within_cluster____linux__ | Status : EXCEPTION ===
ok
This Test Path tests vMotion from NFS ok---> VMFS , within cluster ... === TestName: test_04_vm_and_volumes_live_migration_for_vmware_across_nfs_vmfs_2___within_cluster____windows__ | Status : EXCEPTION ===
ok
This Test Path tests vMotion from NFS ok---> VMFS , within cluster ... SKIP: The setup doesn't have enough pools or enough hosts. To run these tests the setup must have atleast 2 clusters, each having min 2 host 2 vmfs storage pools and 2 nfs storage pools
This Test Path tests vMotion from NFS ok---> VMFS , within cluster ... SKIP: The setup doesn't have enough pools or enough hosts. To run these tests the setup must have atleast 2 clusters, each having min 2 host 2 vmfs storage pools and 2 nfs storage pools
Test scenarios like : ... === TestName: test_05_vm_and_volumes_live_migration_for_vmware_negative_scenarios | Status : SUCCESS ===
ok
Test scenarios for Host Maintenance ... === TestName: test_06_vm_and_volumes_live_migration_for_vmware_host_maintenance | Status : EXCEPTION ===
ok
Test scenarios for storage Maintenance ... === TestName: test_07_vm_and_volumes_live_migration_for_vmware_storage_maintenance | Status : EXCEPTION ===
ok

This looks good and all review comments have been incorporated. Merging this.


Argument null exceptions

Unity 2022.3.14
SpriteDicing 1.10.0
I'm receiving this exception when trying tpo build the atlas.
Failed to build diced sprite atlas. System.ArgumentNullException: Value cannot be null.
Parameter name: _unity_self
  at (wrapper managed-to-native) UnityEditor.SerializedObject.ApplyModifiedProperties(UnityEditor.SerializedObject)
  at SpriteDicing.Editors.AtlasBuilder.<PackTextures>g__SaveAtlasTextures|8_2 (System.Collections.Generic.IReadOnlyList`1[T] textures) [0x0003d] in D:\Projects\SpriteDicing\Assets\SpriteDicing\Editor\Editors\AtlasBuilder.cs:106
  at SpriteDicing.Editors.AtlasBuilder.PackTextures (System.Collections.Generic.IReadOnlyList`1[T] dicedTextures) [0x00068] in D:\Projects\SpriteDicing\Assets\SpriteDicing\Editor\Editors\AtlasBuilder.cs:77
  at SpriteDicing.Editors.AtlasBuilder.Build () [0x0000f] in D:\Projects\SpriteDicing\Assets\SpriteDicing\Editor\Editors\AtlasBuilder.cs:32
UnityEngine.Debug:LogError (object)
SpriteDicing.Editors.AtlasBuilder:Build () (at Assets/SpriteDicing/Editor/Editors/AtlasBuilder.cs:38)
SpriteDicing.Editors.DicedSpriteAtlasEditor:DrawInputFolderGUI () (at Assets/SpriteDicing/Editor/Editors/DicedSpriteAtlasEditor.cs:142)
SpriteDicing.Editors.DicedSpriteAtlasEditor:OnInspectorGUI () (at Assets/SpriteDicing/Editor/Editors/DicedSpriteAtlasEditor.cs:43)
UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)

Probably a Unity regression as it's working fine on 2019.4.

Unity editor seem to dispose/invalidate serialized asset reference here: https://github.com/elringus/SpriteDicing/blob/master/Assets/SpriteDicing/Editor/Editors/DicedSpriteSerializer.cs#L111
This is most likely a regression on the Unity side, as it started happening in a 2022 release, while worked fine before w/o any changes on our side.
I'm not using 2022 myself; would appreciate if someone can send a bug report to Unity and/or have an idea of a workaround/temp fix.

I've traced it down to AssetDatabase.SaveAssets() call:
https://github.com/elringus/sprite-dicing/blob/365db9c695297fc2b35296cadbea21606d4401dd/Assets/SpriteDicing/Editor/Editors/DicedSpriteSerializer.cs#L81
Seems like invoking those causes Unity to dispose the editor. After removing all the "SaveAssets" in all the editors (except the last one at the end of build), it seems to work fine, until you change any property, at which point it fails again, but works when repeated. As a temp workaround (until the bug is fixed on the Unity side), try removing the save calls and build twice after changing atlas properties.


Add Project Member permissions card gradient border is clipped

Setup

Rancher version: 2.6.9

Describe the bug
Bottom border of permissions card is clipped

To Reproduce

Edit a project
Add Membmer

Should just remove the box shadow and use a single line of color var(—border)

Re-opening for QA

Reproduced this issue on v2.6.7
Steps to Reproduce:

Provision rancher HA / Docker (v2.6.7)
Create a cluster RKE1
Create a Project (While creating project try to add a Member)
Check for the 'Add Project Member' dialog box & gradient boarder

Actual:
The gradient boarder is clipped and not visible properly

Validated this issue on v2.7-60ab459ac61cae96dfc3145e70e5d3afb9fdf7c8-head'
All the below test cases were passed and closing the ticket.
Test Cases:

Rancher HA & Docker installed
Browsers : Chrome & Firefox
Clusters : RKE1 and RKE2
Modes : Light and Dark
Create and Edit project
Login with Admin and Standard user

Steps to Reproduce:
2. Provision rancher HA / Docker (v2.6.7)
3. Create a cluster RKE1
4. Create a Project (While creating project try to add a Member)
8. Check for the 'Add Project Member' dialog box & gradient boarder display at the bottom


update Ranked to public access

Hi @ldqk
Thank you for the PR. Can you elaborate on the reason for this change? Until now, I've been mindful of only exposing what is necessary
Thanks

In this way，I want to do evaluate query without use search in project，but I want to use a typed variable to receive result，so
I need exposing Ranked class manual new instance when I do evaluate query without use search


ja: Make docs/setup/production-environment/tools/kubeadm/kubelet-integration.md follow v1.17 of the original text

This is a Feature Request

What would you like to be added
Update docs/setup/production-environment/tools/kubeadm/kubelet-integration.md to follow v1.17 of the original (English) text.
英文のまま更新するだけで十分です。
翻訳は必須ではありませんが、歓迎します。翻訳用にIssueを作成する必要はありません。
Why is this needed
content/ja/docs/setup/production-environment/tools/kubeadm/kubelet-integration.md is outdated.
Comments
/language ja
/good-first-issue
File to update
https://github.com/kubernetes/website/blob/dev-1.17-ja.3/content/ja/docs/setup/production-environment/tools/kubeadm/kubelet-integration.md
Original
https://github.com/kubernetes/website/blob/release-1.17/content/en/docs/setup/production-environment/tools/kubeadm/kubelet-integration.md
diff between translated and v1.17
https://gist.github.com/3ca9f7f130669bc5713d8fe7dd12d631
Note
Currently, we use dev-1.17-ja.3 branch. Please open a PR targeting the branch.
ref
How To Contribute
翻訳スタイルガイド
If you have a question, feel free to ask us at slack.k8s.io #kubernetes-docs-ja channel

/assign

/close


Ordering of A/D bits to PTE reads

Overloading SFENCE.VM for this purpose has obvious downsides.

@kasanovic I think we should mandate that the access that causes the A/D bit to be set "depends on" the setting of the A/D bit.  Therefore, only a FENCE is necessary for a subsequent memory access to see the A/D bit.

Oh, wait... we already decided on this last time: "The PTE updates are exact and are observed in program order by the local hart."


Bind mount failed

Hi, first of all, I am really new at this because i recently got an Synology NAS.
So this is the first time I am working with SSH and docker-compose.yml.
I placed all your files in : /volume1/homes (including docker-compose-pull and requirements.txt)
command: ''docker-compose pull'' works perfectly and finish 100%.
command: "docker-compose up -d" gives the following error:

root@CappiSteijns:/volume1/homes# docker-compose up -d
Starting saa ... error

ERROR: for saa  Cannot start service saa: Bind mount failed: '/path/to/download/location' does not exists

ERROR: for saa  Cannot start service saa: Bind mount failed: '/path/to/download/location' does not exists

ERROR: Encountered errors while bringing up the project.

I'm really hoping someone can help me out, i've spent many hours trying to get it up and running and i've encountered many errors that I was able to solve after many hours and googling but at this point I am just really stuck.
Thank you so much in advance!

not sure where you got /path/to/download/location from, but that should probably be a path on your local disk

not sure where you got /path/to/download/location from, but that should probably be a path on your local disk

Yeah, i geuss thats kind of the issue, i looked at a lot of files but I dont know here to change the folder structure or what to do next?

that must be something you edited in, check your config files

that must be something you edited in, check your config files
also, no idea what saa is, sounds like you're trying to set up a completely different program

There was indeed another file in there...
I followed the steps from starkayc from the issue:Docker Install via Portainer, and finally got it started up!!
But now when I want to download an VOD i get the following error:

What can i do?
Also, do i need to configure some stuff in the ''config''? I didnt change anything and dont know if i should change something for example: Instance ID, Twitch client ID , Twitch secret etc. Do i need to fill that in?

yes, for basic functionality you should at least enter the twitch stuff

yes, for basic functionality you should at least enter the twitch stuff

Got it working except it doesn't want to sub. When i run the cron/sub job I get the following:

What can I do to fix this?

app url needs to be set to an address where your webserver is publically accessible from the internet


Exclude .github directory from crates.io

This also moves bors.toml to .github directory for simplify the
exclude field in Cargo.toml.

bors r+


⚠ Bofrost.lu has degraded performance

In 0875b01, Bofrost.lu (https://www.bofrost.lu) experienced degraded performance:

HTTP code: 200
Response time: 1502 ms

Resolved: Bofrost.lu performance has improved in a29b9cb after 13 minutes.


Waiting for new tag (SyslogUdpHandler)

SyslogUdpHandler fixes would be appreciated to tag it. 1.22.2 maybe?

I also need it!!

1.23.0 is out


Fix alphabet characters for MRU files

Hi!
Is there any way to fix the variety of alphabet characters and order of them for MRU files?
I think they are chosen randomly right now, but I want to fix them.

just table.sort(vim.v.oldfiles)  maybe also need remove home first .

I mean these alphabets

oh you mean shortcut . I can do sort on new version .

Yeah!! Thank you!
I would like the alphabet to be assigned to shortcut in that order, using an arbitrary alphabetical sequence


No GitHub release for 4.0.1?

Hiya,
Whilst there's a 4.0.1 version available on npmjs.com but however there's no release for 4.0.1 on GitHub. If that's by mistake, could you perhaps make a release?

After this pr #214 done, I will release 4.0.1 by github action.

done.