Images in the exported dataset is different to the origin one

Actions before raising this issue

[X] I searched the existing issues and did not find anything similar.
[X] I read/searched the docs

Steps to Reproduce
Create a task with a JPEG image, export the dataset with images. Use md5sum to compare the image in the exported dataset and the origin. They does not match. Sometime, a 8M jpg will become 16M in the exported dataset.
Expected Behavior
The origin image and the exported image should be exactly the same.
Possible Solution
Do not decode the origin image when export dataset with images. Just copy the binary content.
Context
No response
Environment

git hash log:

commit c737f083ac6d9eaf5013acef1392b5922105f3c6 (HEAD, tag: v2.22.0)
Merge: 8d990c986 333df3563
Author: cvat-bot[bot]<EMAIL_ADDRESS>Date:   Mon Nov 11 13:57:35 2024 +0000

    Merge pull request #8678 from cvat-ai/release-2.22.0

    Release v2.22.0

docker version

Client: Docker Engine - Community
 Version:           25.0.2
 API version:       1.44
 Go version:        go1.21.6
 Git commit:        29cf629
 Built:             Thu Feb  1 00:23:03 2024
 OS/Arch:           linux/amd64
 Context:           default

Server: Docker Engine - Community
 Engine:
  Version:          25.0.2
  API version:      1.44 (minimum version 1.24)
  Go version:       go1.21.6
  Git commit:       fce6e0c
  Built:            Thu Feb  1 00:23:03 2024
  OS/Arch:          linux/amd64
  Experimental:     false
 containerd:
  Version:          1.6.28
  GitCommit:        ae07eda36dd25f8a1b98dfbf587313b99c0190bb
 runc:
  Version:          1.1.12
  GitCommit:        v1.1.12-0-g51d5e94
 docker-init:
  Version:          0.19.0
  GitCommit:        de40ad0

system version

Ubuntu 24.04.1 LTS

Hello, thanks for report.

Hi @imyhxy,
I’m experiencing the same issue with the exported dataset images differing from the original ones. Thank you for detailing the steps to reproduce the problem.
Actions Before Raising This Issue
I also searched existing issues and found nothing similar.
I reviewed the documentation for any relevant information.
Steps to Reproduce
Created a task with a JPEG image.
Exported the dataset with images.
Used md5sum to compare the images in the exported dataset with the originals.
As you noted, the checksums do not match, and I’ve observed that sometimes an 8MB JPEG file becomes 16MB in the exported dataset.
Expected Behavior
I expected the original image and the exported image to be identical.
Possible Solution
I agree with your suggestion: it would be best to avoid decoding the original image when exporting the dataset with images and instead copy the binary content directly.
Context
I’m using the following environment setup:
Git Hash Log:
Verify
Open In Editor
Run
commit c737f083ac6d9eaf5013acef1392b5922105f3c6 (HEAD, tag: v2.22.0)
Merge: 8d990c986 333df3563
Author: cvat-bot[bot]<EMAIL_ADDRESS>Date:   Mon Nov 11 13:57:35 2024 +0000

Docker Version:
Verify
Open In Editor
Run

Client: Docker Engine - Community
 Version:           25.0.2
 API version:       1.44
 Go version:        go1.21.6
 Git commit:        29cf629
 Built:             Thu Feb  1 00:23:03 2024
 OS/Arch:           linux/amd64
System Version:

Verify
Open In Editor
Run
Ubuntu 24.04.1 LTS
If there are any updates or further investigations into this issue, I would be keen to follow along. Thank you for your attention to this matter!
Best,
[Your Name]
[Your GitHub Username]


[NodeJS] add Prompts.attachment() method for asking the user to upload a file.

This idea comes from a stackoverflow question:
http://stackoverflow.com/questions/36481847/prompt-for-file-in-microsoft-bot-framework-for-skype-node-js
The developer wants to prompt a user to upload a file.  Adding a Prompts.attachment() method for this would make it easy to request the user upload a file as a step within a waterfall.  The prompt would wait until it gets an attachment from the user before continuing and would be cancelable just like any other prompt.  It could also take an optional list of content types that it would use to validate the attachment the user sent.

Moved to UserVoice:
https://feedback.botframework.com/forums/354222-bot-builder-sdk/suggestions/13463412--nodejs-add-prompts-attachment-method-for-askin


GraphQL totalCount on edge is incorrect when edges are queried

[x] The issue is present in the latest release.
[x] I have searched the issues of this repository and believe that this is not a duplicate.

Current Behavior 😯
With GraphQL when starting in a connection query and querying an edge (connection) on a model, if the edges of that connection are queried the totalCount field counts only the edges included rather than all (e.g. when using pagination). However the totalCount works as expected when the edges are not queried. The totalCount also works as expected if the parent query is a single instance instead of a connection type.
Expected Behavior 🤔
The totalCount should be the total count of nodes for the given filters but ignoring pagination even when edges are queried.
Steps to Reproduce 🕹
Define a model, let's say Parent, with a M2O edge to Children. Create a parent instance with, say, five children.
In GraphQL use this query:
query {
  parentConnection {
    edges {
      node {
        id
        name
        children(first: 2) {
          totalCount
        }
      }
    }
  }
}

or this one:
query {
  parent(id: 1) {
    id
    name
    children(first: 2) {
      totalCount
      edges {
        node {
          id
        }
      }
    }
  }
}

In both cases the totalCount value for children will be 5. But with this query:
query {
  parentConnection {
    edges {
      node {
        id
        name
        children(first: 2) {
          totalCount
          edges {
            node {
              id
            }
          }
        }
      }
    }
  }
}

The totalCount value will only be 2.
Your Environment 🌎

Tech
Version

Go
1.22.2

Ent
0.13.1

Database
PostgreSQL

Driver
https://github.com/lib/pq

Any updates?


Enum Stts-Mssg

set status message in table chat system to an enum (pending, delivered, success)

enum added

enum added


FileNotFoundError: Couldn't find a dataset script

System Info
GPT-NeoX Text-generation Training on HLS2

--branch v1.7.3(Fail)

--branch v1.7.4(Fail)

 --branch v1.7.5(Fail)

`FileNotFoundError: Couldn't find a dataset script at /root/optimum-habana/examples/text-generation/wikitext-2-raw-v1/wikitext-2-raw-v1.py or any data file in the same directory. Couldn't find 'wikitext-2-raw-v1' on the Hugging Face Hub either: FileNotFoundError: Dataset 'wikitext-2-raw-v1' doesn't exist on the Hub. If the repo is private or gated, make sure to log in with `huggingface-cli login`.
I encountered this following error:

Full log:

https://logs-browser.k8s-infra.habana-labs.com/files/qa-tester-9-004527355-2642-tfjob/log.txt

Information

[X] The official example scripts
[ ] My own modified scripts

Tasks

[ ] An officially supported task in the examples folder (such as GLUE/SQuAD, ...)
[ ] My own task or dataset (give details below)

Reproduction
pip install --upgrade-strategy eager optimum[habana]
git clone https://github.com/huggingface/optimum-habana --branch v1.7.4
pip install -r requirements.txt
pip install<EMAIL_ADDRESS>python ../gaudi_spawn.py --use_deepspeed --world_size number_of_devices run_generation.py ARGS
python run_generation.py
--model_name_or_path gpt2
--use_hpu_graphs
--use_kv_cache
--max_new_tokens 100
--do_sample
--prompt "Here is my prompt"
Expected behavior
Pass

Hi @OmerBoucris, not sure how to reproduce this error as the command you gave doesn't contain any argument linked to wikitext-2-raw-v1.
My best guess is that you tried to load a dataset named wikitext-2-raw-v1, while the dataset you are looking for is wikitext with the config wikitext-2-raw-v1.
Besides, the text-generation exampel does do any training. I think what you want to do is to run the language modeling example here: https://github.com/huggingface/optimum-habana/tree/main/examples/language-modeling#multi-node-training-with-deepspeed-gpt-neox

@regisss Hey, I run this cmd:
python ../gaudi_spawn.py \     --hostfile path_to_my_hostfile --world_size 16 --use_deepspeed run_clm.py \     --model_name_or_path EleutherAI/gpt-neox-20b \     --dataset_name wikitext \     --dataset_config_name wikitext-2-raw-v1 \     --per_device_train_batch_size 2\     --per_device_eval_batch_size 2 \     --do_train \     --do_eval \     --output_dir /tmp/test-clm-xl-bs2 \     --gaudi_config_name Habana/gpt2 \     --use_habana \     --use_lazy_mode \     --gradient_checkpointing \     --use_hpu_graphs_for_inference \     --throughput_warmup_steps 3 \     --deepspeed path_for_deepspeed_config
and faced with this following error:
  File "/usr/local/lib/python3.8/dist-packages/optimum/habana/distributed/distributed_runner.py", line 235, in process_hostfile     raise ValueError(f"Unable to find hostfile at {self._hostfile}.") ValueError: Unable to find hostfile at path_to_my_hostfile. . Output: [2023-10-02 12:18:16,276] [INFO] [real_accelerator.py:123:get_accelerator] Setting ds_accelerator to hpu (auto detect) . Return status: 1
Am I run that cmd as you mentioned ? if no please let me know and gimme please the full cmd

Yes, that's the right command but path_to_my_hostfile and path_for_deepspeed_config needs to be valid paths:

path_to_my_hostfile must be a valid path to an existing file listing the hosts, have you written one? If not, take a look at the doc here: https://github.com/huggingface/optimum-habana/tree/main/examples/multi-node-training#hostfile
path_for_deepspeed_config must be a valid path to an existing JSON file that specifies the DeepSpeed configuration to use, have you got one? If not, here is one that should work with GPT-NeoX: https://github.com/huggingface/optimum-habana/blob/main/tests/configs/deepspeed_zero_2.json

@OmerBoucris Have you managed to solve your problem?


AutoFill Credential

Autofill Username and Password in sign / log in

Does not work because the associated domain needs an SSL certificate

Does not work because the associated domain needs an SSL certificate


⚠ Bofrost.be has degraded performance

In 9946f5c, Bofrost.be (https://www.bofrost.be) experienced degraded performance:

HTTP code: 200
Response time: 1083 ms

Resolved: Bofrost.be performance has improved in 9a533c9.


litElement doesn't support nested components

It doesn't seem litElement allows you to nest elements in the HTML page itself.
For example If I wanted to do this:
<parent-element>
    <nested-element></nested-element>
    <nested-element></nested-element>
</parent-element

And I declared these elements like so:
class ParentElement extends LitElement {

    constructor() {
        super();
    }

    render() {
        return html`<div class="parent"><slot></slot></div>`;
    }
}

customElements.define('parent-element', ParentElement);

class NestedElement extends LitElement {

    constructor() {
        super();
    }

    render() {
        return html`<div class="nested"></div>`;
    }
}

customElements.define('nested-element', NestedElement);

It ignores the nesting and prints them like:
<parent-element>

<slot></slot>

    <nested-element>

    </nested-element>
    <nested-element>

    </nested-element>
</parent-element>

So whilst it keeps the nested components it's not honouring that the HTML itself should be nested inside each other.
In fact, if I remove the <slot></slot> it still prints it exactly the same... so it seems litElement doesn't care about the nesting of the components...
Does litElement support nested components? Or is this an error in the code?

Yep this is definitely supported. With web components you need a name attribute on your slot element, and then you need to add a slot attribute to your nested components that matches the slot's name

@jordanaustin Tried that. And the result is the same.

You're initial samples seem to be working fine in my test: https://stackblitz.com/edit/as9syq?file=my-element.js

Ah bugger so I forgot to add to my question I use:
    createRenderRoot() {
        return this;
    }

This is because I want all components to inherit the CSS from the main stylesheet of the page and NOT have encapsulation. But it seems this then causes the problem I have posted above...
So how can I allow the nesting of components but allow the components to use the styles from the top-level page they are used on?

You can't not use shadow DOM and use <slot>, because <slot> is a feature of shadow DOM.
I'd really recommend not using createRenderRoot. It's for very, very special cases and probably a misfeature for general use.

@justinfagnani How can I nest Web Components but allow them to inherit the styling from the page that they are on? Without the createRenderRoot it blocks the CSS from the host page from affecting the components which isn't what I want.

I can't imagine how Light DOM rendering would be conceived as a misfeature for anyone who seeks to build entire apps or sites with a pure LitElement approach and not least for the reason @iamdriz states. I would prefer to offer a static light = true setting to enable this feature along with an upfront explanation of its consequences with regards to slot support and style encapsulation. Until components may offer an interface for controlled bleeding of the context cascade, official support for Light DOM components will only make the library stronger since CSS encapsulation is simply not always desired, at least not by everyone, and would in any case often be better served with


”Albești”, ”Corni-Albești”, ”Crasna”, ”Gura Albești” are listed in the drop-down menu

Description:
When user writes ”Albești”, ”Corni-Albești”, ”Crasna”, ”Gura Albești” the locations appear in the drop-down menu next to the comune and the county which is a part according to the law.
Precondition:
The website is up an running.

Step 1
Write in the search bar "Albești"

Expected results
The location appears in the drop-down menu as "Sat Albești, VASLUI (Albești)".

Step 2
Press "x" button.

Expected results
The location was deleted from the search bar.

Step 4
Press "x" button.

Expected results
The location was deleted from the search bar.

Step 5
Write in the search bar "Crasna"

Expected results
The location appears in the drop-down menu as "Sat Crasna, VASLUI (Albești)".

Step 6
Press "x" button.

Expected results
The location was deleted from the search bar.

Step 7
Write in the search bar "Gura Albești"

Expected results
The location appears in the drop-down menu as "Sat Gura Albești, VASLUI (Albești)".


Add --quiet flag to nearley-test.js

As suggested.

See my comment about the helptext. Other than that, it looks good.

I'm new to PR's. I pushed the new help phrase in the 'quiet' branch, which now has 2 commits and also in a new 'quiet2' branch, with just one commit. Take your pick. Thanks.

Actually, you know what would be nice? Not printing "Parse results:" when we're in quiet mode. This way people could nearley-test to execute grammars in general. Would you like to implement this? Should be like a 2-line change.

Do you mean output Parse Table only? So as not to lose the current addition of Parse Results only, maybe a single option to set what’s included—both (default), Table only, Results only? A bit cumbersome, perhaps, but anything that includes Parse Results only is okay with me.
On Oct 2, 2016, at 3:14 PM, Hardmath123<EMAIL_ADDRESS>wrote:
Actually, you know what would be nice? Not printing "Parse results:" when we're in quiet mode. This way people could nearley-test to execute grammars in general. Would you like to implement this? Should be like a 2-line change.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/Hardmath123/nearley/pull/130#issuecomment-250989293, or mute the thread https://github.com/notifications/unsubscribe-auth/AABx96AqNOSjpWIKBhLUsEkvlQXb4bOQks5qwAKIgaJpZM4KL22E.

No, I mean, when in quiet mode it shouldn't print the heading "Parse results:" before the actual output.

Pushed. As a test I redirected the output on the command line to file. In it are lots of escapes:
'X', null   becomes   'X', null
The reason?

The escapes are ANSI escape codes that colorize the terminal output. Good catch. There'll be a require('util').inspect somewhere. Ideally, it would have color: false when quiet and color: true when printing the parse table.
Also, you'll have to open a fresh PR.


cqlsh fails to work on old distros (undefined symbol: __libc_siglongjmp, version GLIBC_PRIVATE)

Packages
Scylla version: 6.1.0~dev-20240626.3c7af287253e with build-id ea788466880c3bc01475b564b8aad1ac69fa6e43
Kernel Version: 4.18.0-553.5.1.el8_10.x86_64
Issue description

[x] This issue is a regression.
[ ] It is unknown if this issue is a regression.

seems like after the merge of #91 into scylla master, lots of the artifacts started failing:
sdcm.remote.libssh2_client.exceptions.UnexpectedExit: Encountered a bad command exit code!
Command: '/usr/bin/cqlsh --no-color   --request-timeout=120 --connect-timeout=60  -e "desc keyspaces" <IP_ADDRESS>'
Exit code: 1
Stdout:
Stderr:
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "<frozen runpy>", line 198, in _run_module_as_main
File "<frozen runpy>", line 88, in _run_code
File "/opt/scylladb/share/cassandra/bin/../libexec/cqlsh/__main__.py", line 3, in <module>
File "/opt/scylladb/share/cassandra/bin/../libexec/cqlsh/_bootstrap/__init__.py", line 253, in bootstrap
File "/opt/scylladb/share/cassandra/bin/../libexec/cqlsh/_bootstrap/__init__.py", line 81, in import_string
File "/opt/scylladb/share/cassandra/bin/../libexec/cqlsh/_bootstrap/__init__.py", line 87, in import_string
ImportError: module 'cqlsh' has no attribute '__main__'

that is cause by:
< t:2024-06-26 22:38:02,593 f:base.py         l:152  c:RemoteLibSSH2CmdRunner p:DEBUG >   File "/opt/scylladb/share/cassandra/bin/../libexec/cqlsh/_bootstrap/__init__.py", line 76, in import_string
< t:2024-06-26 22:38:02,593 f:base.py         l:152  c:RemoteLibSSH2CmdRunner p:DEBUG >   File "/home/scylla-test/.shiv/cqlsh_142fa711ec80198d9794271f89723bdc5719a9a533a65a105b396960a222f9b1/site-packages/cqlsh/__main__.py", line 3, in <module>
< t:2024-06-26 22:38:02,593 f:base.py         l:152  c:RemoteLibSSH2CmdRunner p:DEBUG >     from cqlsh.cqlsh import main as cqlsh_main
< t:2024-06-26 22:38:02,593 f:base.py         l:152  c:RemoteLibSSH2CmdRunner p:DEBUG >   File "/home/scylla-test/.shiv/cqlsh_142fa711ec80198d9794271f89723bdc5719a9a533a65a105b396960a222f9b1/site-packages/cqlsh/cqlsh.py", line 132, in <module>
< t:2024-06-26 22:38:02,593 f:base.py         l:152  c:RemoteLibSSH2CmdRunner p:DEBUG >     from cassandra.cluster import Cluster, EXEC_PROFILE_DEFAULT, ExecutionProfile
< t:2024-06-26 22:38:02,593 f:base.py         l:152  c:RemoteLibSSH2CmdRunner p:DEBUG > ImportError: /lib64/libpthread.so.0: undefined symbol: __libc_siglongjmp, version GLIBC_PRIVATE

so something escaped, what we assumed a relocatable package
Impact
cqlsh isn't working in offline installers on older distros
How frequently does it reproduce?
seems it reproduces on multiple jobs
Installation details
Cluster size: 1 nodes (n1-standard-2)
Scylla Nodes used in this run:

artifacts-rocky8-jenkins-db-node-13af6568-0-1 (<IP_ADDRESS> | <IP_ADDRESS>) (shards: 2)

OS / Image: https://www.googleapis.com/compute/v1/projects/rocky-linux-cloud/global/images/family/rocky-linux-8 (gce: undefined_region)
Test: artifacts-rocky8-test
Test id: 13af6568-efe4-4101-9e68-7b21e47eb68b
Test name: scylla-master/artifacts-offline-install/artifacts-rocky8-test
Test config file(s):

rocky8.yaml

Logs and commands

Restore Monitor Stack command: $ hydra investigate show-monitor 13af6568-efe4-4101-9e68-7b21e47eb68b
Restore monitor on AWS instance using Jenkins job
Show all stored logs command: $ hydra investigate show-logs 13af6568-efe4-4101-9e68-7b21e47eb68b

Logs:

db-cluster-13af6568.tar.gz - https://cloudius-jenkins-test.s3.amazonaws.com/13af6568-efe4-4101-9e68-7b21e47eb68b/20240626_224415/db-cluster-13af6568.tar.gz
sct-runner-events-13af6568.tar.gz - https://cloudius-jenkins-test.s3.amazonaws.com/13af6568-efe4-4101-9e68-7b21e47eb68b/20240626_224415/sct-runner-events-13af6568.tar.gz
sct-13af6568.log.tar.gz - https://cloudius-jenkins-test.s3.amazonaws.com/13af6568-efe4-4101-9e68-7b21e47eb68b/20240626_224415/sct-13af6568.log.tar.gz

Jenkins job URL
Argus

@syuu1228 - can you check what changed?

@fruch - why is it related to offline? If we update the OS, things work?

@syuu1228 - can you check what changed?

@mykaul we know what's change and it's mentioned in the description of the issue.

@fruch - why is it related to offline? If we update the OS, things work?

it's not about updates, it's that some dynamic libraries are not patched using pathelf to the reloc directory that is used for scylla-python3
hence it's working on newer distros versions, i.e. newer glibc version vs. older glibc
as for why seen in reloc only, I don't know yet. (maybe we didn't got to the phase yet, i.e. no artifacts built yet)

@syuu1228 - can you check what changed?

@mykaul we know what's change and it's mentioned in the description of the issue.

I understand it's due to the usage of wheels, OK - so what has 'escaped' the relocatable process is the ask. I thought it should not rely on glibc.

@syuu1228 - can you check what changed?

@mykaul we know what's change and it's mentioned in the description of the issue.

I understand it's due to the usage of wheels, OK - so what has 'escaped' the relocatable process is the ask. I thought it should not rely on glibc.

cqlsh package never had code to patch anything, so now it's artifacts has binaries, that it didn't had before.
and they are unpatched, and not part of any relocatable process
someone in rush for getting https://github.com/scylladb/scylladb/pull/19205, and start pushing for that in, while not yet completely review the change, nor tested it completely

It all started with https://github.com/scylladb/scylla-cqlsh/issues/90 , no?

@fruch Who is handling this?

I see you are working on it :-),

I see you are working on it :-),

I might, I'm not gonna rush into this, just cause other were rushing....

This is breaking master (Unified-deb and Centos-rpm), preventing us from building cloud images and running testing.
It seems that https://github.com/scylladb/scylla-cqlsh/pull/91 was merged although it wasn't ready and wasn't tested at all (see @fruch comment - https://github.com/scylladb/scylladb/pull/19205#issuecomment-2184920604)
So we can either try to fix it (Not sure how much time it will take, @fruch Can estimate probably), or we can (and maybe should) revert https://github.com/scylladb/scylladb/pull/19473, and the following PR which probably lean on it, https://github.com/scylladb/scylladb/pull/19205, https://github.com/scylladb/scylladb/pull/19528, https://github.com/scylladb/scylladb/pull/19531 and https://github.com/scylladb/scylla-pkg/pull/4162

Until @fruch will be able to priortize it, I suggest to revert everything related to it.

@avikivity @mykaul now this is also affecting enterprise since we merged those changes yesterday from OSS

@avikivity @mykaul now this is also affecting enterprise since we merged those changes yesterday from OSS

We should have reverted yesterday.

@mykaul we can't do the revert, it involved multiple commits in Scylla core.
@avikivity Can you take of it? or should i ask any maintainer to do it?

@avikivity - please add your thoughts here.

@yaronkaikov @mykaul @fruch I guess cqlsh version of relocatable package script does not working correctly for native binary, maybe because it does not calling patchelf.
I'm looking into it now.

@yaronkaikov @mykaul @fruch I guess cqlsh version of relocatable package script does not working correctly for native binary, maybe because it does not calling patchelf.
I'm looking into it now.

Ah, not it's not, it's occurs on python code for some reason

Okay, I think I understood the problem.
On relocatable package, every native binary should patched with patchelf to set "rpath" to change the library path to under /opt/scylladb.
But on scylla-cqlsh, we use "shiv" to create self-contained, single-artifact executables, and this contained native binary(s) which is not patched.
I found that when cqlsh, it extracted dependencies to "/home/vagrant/.shiv/cqlsh_49bb05031b5eaaa3dafd8fc6c2fe1eeee2a9a37c21356bfd43e63523f688ba3e/site-packages", and then load native binary "/home/vagrant/.shiv/cqlsh_49bb05031b5eaaa3dafd8fc6c2fe1eeee2a9a37c21356bfd43e63523f688ba3e/site-packages/cassandra/cluster.cpython-312-x86_64-linux-gnu.so" and it depends to /lib64/libpthread.so.0, so caused error.

part of strace result on cqlsh:

newfstatat(AT_FDCWD, "/home/vagrant/.shiv/cqlsh_49bb05031b5eaaa3dafd8fc6c2fe1eeee2a9a37c21356bfd43e63523f688ba3e/site-packages", {st_mode=S_IFDIR|0775, st_size=4096, ...}, 0) = 0

...

openat(AT_FDCWD, "/home/vagrant/.shiv/cqlsh_49bb05031b5eaaa3dafd8fc6c2fe1eeee2a9a37c21356bfd43e63523f688ba3e/site-packages/__pycache__/six.cpython-312.pyc", O_RDONLY|O_CLOEXEC) = 3

...

newfstatat(AT_FDCWD, "/home/vagrant/.shiv/cqlsh_49bb05031b5eaaa3dafd8fc6c2fe1eeee2a9a37c21356bfd43e63523f688ba3e/site-packages/cassandra/cluster.cpython-312-x86_64-linux-gnu.so", {st_mode=S_IFREG|0755, st_size=2282560, ...}, 0) = 0
openat(AT_FDCWD, "/home/vagrant/.shiv/cqlsh_49bb05031b5eaaa3dafd8fc6c2fe1eeee2a9a37c21356bfd43e63523f688ba3e/site-packages/cassandra/cluster.cpython-312-x86_64-linux-gnu.so", O_RDONLY|O_CLOEXEC) = 3

...

openat(AT_FDCWD, "/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=23563, ...}) = 0
mmap(NULL, 23563, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f6fea445000
close(3)                                = 0
openat(AT_FDCWD, "/lib64/libpthread.so.0", O_RDONLY|O_CLOEXEC) = 3

ldd result on cluster.cpython-312-x86_64-linux-gnu.so:

$ ldd /home/vagrant/.shiv/cqlsh_49bb05031b5eaaa3dafd8fc6c2f
e1eeee2a9a37c21356bfd43e63523f688ba3e/site-packages/cassandra/cluster.cpython-312-x86_64-linux-gnu.so
        linux-vdso.so.1 =>  (0x00007ffc1a158000)
        libpthread.so.0 => /lib64/libpthread.so.0 (0x00007f78c4fca000)
        libc.so.6 => /lib64/libc.so.6 (0x00007f78c4bfc000)
        /lib64/ld-linux-x86-64.so.2 (0x00007f78c51e6000)

To fix this, maybe we need to create modified module before packing modules by shiv, and pack modified one by shiv.
Or unpack generated cqlsh binary, unpack and modify binary, then packa again if it possible (it will be bit complecated since it is "zipapp").

Note that the patchelf command is something like this:
https://github.com/scylladb/scylla-python3/blob/master/scripts/create-relocatable-package.py#L97

Won't it be enough to run cqlsh under the relocatable python3? Which in turn is linked against the same glibc that was used when building the wheels.

Won't it be enough to run cqlsh under the relocatable python3? Which in turn is linked against the same glibc that was used when building the wheels.

it's already running under scylla-python3, but the files we have in the shiv package wasn't  patched to point to the scylla-python3/lib64, so they fail to load.
in https://github.com/scylladb/scylla-cqlsh/pull/96 I'm trying removing the driver out of the shiv package, and using the driver installed in scylla-python3 (and with https://github.com/scylladb/scylla-python3/pull/40) I think it's might work.
using this PR, to try to confirm it's builds and runs dtest o.k.:
https://github.com/scylladb/scylladb/pull/19558
I did confirm it to be working with offline installer on rocky8


Supplier.unsanitized-supply is undocumented

The problem
See title.
Suggestions
Document it.

Well, it returns an unsanitized taplist:
https://github.com/rakudo/rakudo/blob/8134470538457c68164eb64f90e8d3e946d235a0/src/core.c/Supplier.pm6#L124-L126
What that precisely means, will need to find out.

it's not in roast, so maybe it's not spec?

Jonathan would know, but he's on holiday

Mentioned in rakudo/rakudo##2803 Requested a test there.


Appstudio update test-component-pac-pmnp

Pipelines as Code configuration proposal
To start the PipelineRun, add a new comment with content /ok-to-test
For more detailed information about running a PipelineRun, please refer to Pipelines as Code documentation Running the PipelineRun
To customize the proposed PipelineRuns after merge, please refer to Build Pipeline customization

Pipelines as Code CI/test-component-pac-pmnp-on-pull-request has successfully validated your commit.


resize-persist.sh does not work

Add udev.log-priority=debug to kernel parameters.
# journalctl | grep persist

resize-persist.sh: Cannot find persist device, skipping check.
mount-all.sh: Persist drive is at /mnt/persist

systemd-udevd: vda2: LINK 'disk/by-label/persist' /usr/lib/udev/rules.d/60-persistent-storage.rules:99

disk/by-label/persist is generated too late.

Good point. Need to add a dependency to the unit I suppose.

Add the following, copied from initramfs-tools, to the beginning of resize-persist.sh. Then it would be fine, but I don't know the details, and I'm not sure if there are any side effects.
 # set -eo pipefail

+/lib/systemd/systemd-udevd --daemon --resolve-names=never
+
+udevadm trigger --type=subsystems --action=add
+udevadm trigger --type=devices --action=add
+udevadm settle || true
+
+udevadm control --exit
+
 PERSIST_DEV=/dev/disk/by-label/persist

However, the manually started systemd-udevd may occasionally not exit as expected.
# ps | grep systemd-udevd
/lib/systemd/systemd-udevd --daemon --resolve-names=never
/usr/lib/systemd/systemd-udevd


How to resolve unbalanced bracket

If user has assigned teams in unbalanced fashion, how should the library behave or warn about it? In the following picture, teams 2, 3 and 5 could not resolve who's best among themselves.

I think for now it's the case of "wont fix" and up to library user to enforce correct population if deemed necessary.

Would you consider implementing this feature in return for payments? Do let me know if you’re keen. Thanks!


Combinatorics dependancy

@AntoineRestivo do you also have the same problem with Combinatorics? I didn't manage to fix it
[ Info: Precompiling Permanents [e0809bc7-674c-4283-bd35-3a6d484c6d12] ┌ Warning: Package Permanents does not have Combinatorics in its dependencies: │ - If you have Permanents checked out for development and have │   added Combinatorics as a dependency but haven't updated your primary │   environment's manifest file, try Pkg.resolve(). │ - Otherwise you may need to report an issue with Permanents └ Loading Combinatorics into Permanents from project dependency, future warnings for Permanents are suppressed.

After which command do you get this? Here I just did Pkg.add("Permanents") and everything works fine on my side

Indeed this works, by adding the package from the online repository. It used my local version of the package before, so it may bug in the future in the same way. Now it works at least. (It's strange because I pulled the package so they should be the same.)


Add support for SnapshotTesting as optional subspec

As per https://github.com/cashapp/AccessibilitySnapshot/issues/3#issuecomment-699161416.
I've left the README and Example/Tests for now as I was wanting a bit of direction from @NickEntin.
Currently the default spec is the Uber library. If we change it, then it's a breaking change but given this is still a "beta" library that's probably acceptable but wanted to know your steer before updating all tests and documentation to reflect this.

[x] Copy code from original repository
[x] Update Podspec with SubSpec
[x] Update documentation
[x] Add SnapshotTesting example to demo app

To be done after this is released:

[ ] Update original repository to mark as read-only and README to point here
[ ] Update SnapshotTesting README with link to this repository directly

Let me know how you want me to proceed Nick and I'll get it sorted 👍
Thanks 😄

Currently the default spec is the Uber library. If we change it, then it's a breaking change but given this is still a "beta" library that's probably acceptable but wanted to know your steer before updating all tests and documentation to reflect this.

What do you think about landing this as 0.3.3 with the default subspec left as FBSnapshotTestCase, then in the next "major" beta version (0.4) we can swap over to SnapshotTesting as the default?

I filed #22 to track switching over the default subspec.

I think we're gonna have to bump the deployment target to iOS 11 for this to work. I was thinking we'd only need to set it for the subspec right now, then update the core framework when we switch the default, but it looks like CocoaPods doesn't support subspecs with different platform requirements (see CocoaPods/CocoaPods#7333).
I'll do this in a separate PR to avoid too much scope creep in this change.

Apologies for the delay on this. I think I'm close to getting the tests into good shape - hopefully will have something ready to go tomorrow.

I updated the unit tests and rebased on master to catch the dependency change around Paralayout.

I opened an issue (#25) proposing that we bump the deployment target to iOS 12. This would allow us to use the latest version of SnapshotTesting. Technically we only need to bump it to iOS 11, but I think usage on 11 is low enough now that it's reasonable to go straight to 12.
@Sherlouk would a minimum iOS version of 12.0 work for you? Or do you need support back further than that?

Technically we support iOS 9 still in parts 🤪 we have a workaround though so I have no issues with you changing it to iOS 12!

Oh wow, that's a lot of versions to support. 😅 But cool! I'll go ahead push that forward - I don't think the ordering we land them in is that important.

Pushed a few more commits - a couple of updates to fix the CI builds (hopefully that was all we needed) and a quick lint pass to be more consistent with the other files (mostly removing trailing whitespace).

Really appreciate you picking this up - sorry I haven't been around much this weekend!

No worries at all... thanks for getting it all set up! I think it's all looking good to me now.
@efirestone want to give this a quick look?

Updated my repository pointing people here - and opened a pull request on SnapshotTesting repo to point here instead 😄
Thanks for the help and getting it merged Nick!

Absolutely! Thanks for agreeing to merge your extension in! I think this turned out really well. 😄
I'll go ahead and release 0.3.3 with this change, and then follow up with the iOS 12 bump and switch the default over for 0.4.0.

Awesome! stuff!
Once 0.4.0 is shipped I'll rebase my SPM branch and get it all working fully. All 3 of these changes end up colliding with the work over there because of the general configuration work that's needed to get everything setup.
Once the initial SPM work is in it'll be way simpler to move forward with -- just that initial hurdle!


Add scratch bucket functionality for AWS

Bump up AWS provider version, as there had been a few deprecations
in the IAM resources
Mimic the GCP setup as much as possible
Write some docs on how to enable this for S3
Setup IRSA with Terraform so users can be granted IAM roles
Use the uwhackweeks to test

Ref https://github.com/2i2c-org/infrastructure/issues/1309

This is good to go I think!

@scottyhq can you test out the SCRATCH_BUCKET stuff on the uwhackweeks hub as well? This will make sure that when we deploy it for snowex it'll be all good.

can you test out the SCRATCH_BUCKET stuff on the uwhackweeks hub as well?

Thanks! Just did a quick test with AWS CLI and things seem to work well! We'll see if it's gone in a week :)
aws s3 cp scratch-bucket-test.txt $SCRATCH_BUCKET/
upload: ./scratch-bucket-test.txt to s3://uwhackweeks-scratch/scottyhq/scratch-bucket-test.txt

By the way, i've found for hackweeks people often want to get a bunch of local data (laptop, labgroup computer) into the cloud and the scratch bucket is a pretty great way to kick the tires.
A trick i figured out for last year's event is getting temporary session token from the hub: (copied from https://github.com/snowex-hackweek/jupyterhub/issues/9#issuecomment-875058825)
aws sts assume-role-with-web-identity \
 --role-arn $AWS_ROLE_ARN \
 --role-session-name $JUPYTERHUB_CLIENT_ID \
 --web-identity-token file://$AWS_WEB_IDENTITY_TOKEN_FILE \
 --duration-seconds 1000 > /tmp/irp-cred.txt

export AWS_REGION="us-west-2"
export AWS_ACCESS_KEY_ID="$(cat /tmp/irp-cred.txt | jq -r ".Credentials.AccessKeyId")"
export AWS_SECRET_ACCESS_KEY="$(cat /tmp/irp-cred.txt | jq -r ".Credentials.SecretAccessKey")"
export AWS_SESSION_TOKEN="$(cat /tmp/irp-cred.txt | jq -r ".Credentials.SessionToken")"
rm /tmp/irp-cred.txt

Do you think it's worth documenting this in https://docs.2i2c.org/en/latest/user/storage.html?highlight=scratch#scratch-bucket ? It'd be pretty cool if there were a file menu to 'get session token' instead of a hacky script, do you know of something like this ?

@yuvipanda, do you have any thoughts about this one? I presume the permissions you get with these temporary credentials only give you access to the scratch bucket on S3 and anything else, am I correct?

It'd be pretty cool if there were a file menu to 'get session token' instead of a hacky script, do you know of something like this ?

@yuvipanda and I (mostly Yuvi :) ) put together this proof of concept jupyter server extension to give Hub users temporary credentials via an API endpoint. It's still a hacky script behind the scenes but works! I probably won't work on it much in the near future but wanted to link here in case people want to develop it further and try out: https://github.com/scottyhq/jupyter-cloud-scoped-creds


chore(deps): Upgrade rdkafka for tests

Version 0.12 regularly segfaults due to race conditions.
Rather than include it in the matrix this change updates the test suite to test against the minimum supported version of 0.13 as well as an open ended appraisal to avoid situations where we fall behind on tests.

IMMEDIATELY SEGFAULTS
  7 runs, 40 assertions, 0 failures, 0 errors, 0 skips
  Segmentation fault (core dumped)
  rake aborted!
  Command failed with status (139)
  /opt/hostedtoolcache/Ruby/3.2.1/x64/bin/bundle:25:in `load'
  /opt/hostedtoolcache/Ruby/3.2.1/x64/bin/bundle:25:in `<main>'
  Tasks: TOP => test
  (See full trace by running task with --trace)


catching errors from postscribe library

it's fix for this issue https://github.com/prebid/prebid-universal-creative/issues/128

Hello @jsnellbaker  , is possible ask more people for second review?

Hi @robertrmartinez, could you please help us by reviewing the PR? Many thanks in advance.


Automated cherry pick of #5104

Cherry pick of #5104 on release-5.22.

#5104: - Fix dot menu highlight on desktop app

/cc  @nevyangelova

/update-branch

Will try to auto merge this PR once all tests and checks are passing. This might take up to an hour.

Trying to auto merge this PR.

Pull Request successfully merged
SHA: 4f6a0d4c483815854e39d8ad831b0eb8c1db9ddc


how complicated would it be add FP8 E3M4 and E2M5 support to this IP?

Hi,
Currently the only FP8 support is E5M2. How complicated would it be to add E3M4 and E2M5 support? Can I make a contribution to some organization to get these added? What would it take :-) ?

Afaik, making this FPU extendable was one of its primary purposes. You should just need to add your formats to the package here. You can designate the amount of exponent and mantissa bits per format. Note that I am not the author though :-) Let me know whether this answers your question and we can close the issue.

What about e5m2_fnuz? Is there a way to disable infinities and use a special NaN encoding?


Should you be able to click on a district and see your rep info even if there are no reports?

I think it's good to let the rep info persist even if there are no reports. No reports could be from adjusting the date range to filter the reports, so there may actually be reports that just are not displayed based on the input. Also, I think the potential benefit of having the direct link to the contact forms always be present outweighs the nuance of if it should be displayed based on the input selection.


Track E2E gaps for LLVM-path vs SPIRV-path.

Issue Description

Try to run E2E test on llvm-path, figure out the gaps for llvm-path vs spirv-path.
Code Example

System Info

OS:
PyTorch:

Intel Extension For Pytorch:

LLVM Version.

Triton Version:

Intel® XPU Backend for Triton*:

Update 1
Upstream openai/triton run torchinductor E2E test for CUDA device based on torch-inductor-tests.yml like:
          ./.github/workflows/torch-inductor/scripts/install_torchinductor.sh torchbench
      - name: Environment
        run: |
          source /opt/torchinductor_venv/bin/activate
          ./.github/workflows/torch-inductor/scripts/install_triton.sh
      - name: Performance
        run: |
          ./.github/workflows/torch-inductor/scripts/run_torchinductor_perf.sh torchbench

Benchmark commands: run_torchinductor_perf.sh
echo "Running with Triton Nightly"
for model in "${MODELS[@]}"; do
  if [ "$model" != "$MODEL_SPEC" ] && [ "$MODEL_SPEC" != "all" ]; then
    continue
  fi
  echo "Running performance test for $model"
  python3 benchmarks/dynamo/"$model".py --float32 -dcuda --training --inductor --performance \
    --output "$TRITON_TEST_REPORTS_DIR"/"$model".csv
done

Note:
Since pytorch XPU upstream is WIP, and E2E test need pytorch dynamo benchmark scripts, so we need to build public torch and ipex with patches for XPU.
We manage version of Pytorch and IPEX as Pre-Request in ci_pins like:
torch_repo=https://github.com/pytorch/pytorch.git
torch_branch=release/2.1
torch_commit=209f2fa8ff86652f67d75c2f19bf9cb9942fd018
ipex_repo=https://github.com/intel/intel-extension-for-pytorch.git
ipex_branch=xpu-main-pre
ipex_commit=7980a37028023037b4f0b47617c5fc3343a6d09b
oneapi_version=2024.0

We have implemented this for huggingface suite, including accuracy check and performance test.
E2E
E2E nightly
doc

Update 2: Gap to run E2E in llvm-path

#151 Dynamo benchmark needed

#173 Also IPEX's requirements

@ESI-SYD according to your investigation we cannot yet run these benchmarks because because of the gaps highlighted here . Correct ? Any other issues you were able to uncover at this point ?

yes, we can't run e2e directly for now. Also I added torch patch link.

Issues from inductor E2E accuracy check on llvm-path summarized in: #412 #423 #438 #439

llvm branch have reached the parity with the spirv branch this week


添加 hook，优化测试

添加 http-client，mysql hook 以及对应测试用例
移除 urllib hook
调整 utils 方法名，添加对应测试用例
完善 typescript 类型声明
调整 http server hook 命名

Codecov Report

Merging #89 into master will decrease coverage by 1.1%.
The diff coverage is 68.09%.

@@            Coverage Diff             @@
##           master      #89      +/-   ##
==========================================
- Coverage   81.57%   80.47%   -1.11%
==========================================
  Files         170      178       +8
  Lines        5184     5552     +368
  Branches      642      714      +72
==========================================
+ Hits         4229     4468     +239
- Misses        685      769      +84
- Partials      270      315      +45

Impacted Files
Coverage Δ

packages/pandora/src/default.ts
93.33% <ø> (ø)
:arrow_up:

packages/hook/src/patch/EggLogger.ts
81.25% <100%> (ø)

packages/hook/src/utils/Constants.ts
100% <100%> (ø)

packages/hook/src/index.ts
100% <100%> (ø)
:arrow_up:

packages/metrics/src/trace/Patcher.ts
85.71% <100%> (ø)
:arrow_up:

packages/hook/src/patch/BlueBird.ts
100% <100%> (ø)

packages/metrics/src/trace/Shimmer.ts
22.05% <22.05%> (ø)

...kages/hook/src/patch/shimmers/mysql/QueryParser.ts
61.11% <61.11%> (ø)

packages/hook/src/patch/shimmers/mysql/Utils.ts
66.66% <66.66%> (ø)

.../hook/src/patch/shimmers/mysql/StatementMatcher.ts
69.56% <69.56%> (ø)

... and 17 more

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 7f22ea8...5184d4e. Read the comment docs.


Loader: use isset instead of strpbrk

Supercedes #220:
strpbrk() is a rarely used function that behaves like strstr() and returns a substring on success. Given that we are only checking a single character for specific values, isset() (a language construct that does not incur standard function overhead) is more suitable for performance and legibility.

Thanks. 👍


augmenting global scope Object fails at execution in unrelated code

Since TS 2.0 it is possible to augment global scope definitions (see sample below).
Compilation works fine, without error.
But at execution in Chrome and Firefox the whole program fails in unrelated parts (imported libraries that couldn't possibly use the added functionality). Possibly the augmented definition corrupts the internals of the Javascript virtual machine.
declare global {
interface Object {
__testME(): any;
}
}
Array.prototype.__testME = function() {
return true;
}

For completion, here is the exact code I wanted to use, transpiled to JS by gulp-typescript:
    Array.prototype.clone = Object.prototype.clone = function () {
        var out, key, val;
        out = Array.isArray(this) ? [] : {};
        for (key in this) {
            val = this[key];
            out[key] = (typeof val === 'object') ? val.clone() : val;
        }
        return out;
    };

It is identical to working JS code in Node.
Which makes me wonder if the browsers (here: Chrome and Firefox) have special limitations related to augmenting global scope Object ???

This does not seem to be related to gulp-typescript. Since the type definitions are not present in the generated JavaScript, that will not affect the JS runtime. So it's also not related to TypeScript. The problem might be related to the bundling of your JavaScript files for instance. Maybe you can ask this on StackOverflow or a similar website.


get_stops_coordinates(route_id) and documentation

Hi,
I need to make a function of getting coordinates of stops along a route. It will take for me a couple of hours, maybe you have such a function already implemented? Where can I find the documentation like list of functions and their descriptions?
BR, Pavel

Hello Pavel, the docs are linked to on the project's Github landing page (https://github.com/araichev/gtfstk).  No single GTFSTK function will help you with your task. Maybe i should add one to the package.
Regarding your task, suppose your route ID is stored as rid and your feed has been loaded from a GTFS file via read_gtfs() as feed.
Then the following code snippet yields the slice of feed.stops corresponding to the stops or your route.
That slice contains all basic stop information, such as geographic coordinates.
# Get the IDs of the trips on the route
trips = feed.trips[feed.trips['route_id'] == rid]
tids = trips['trip_id']
# Get the IDs of the stops on those trips
stop_times = feed.stop_times[feed.stop_times['trip_id'].isin(tids)]
sids = stop_times['stop_id'].unique()
# Get the section of ``feed.stops`` with those stop IDs
stops = feed.stops[feed.stops['stop_id'].isin(sids)]


build task not available

Hi
Is there any task available out there to build the webpack and generate index.html? As far as I see all the tasks are to run the app.
Thanks

@aligit there is webpack task, which does build. It could be better to add alias on this task.


Peer problem Got xian-network-1 expected xian-network

1|cometbft  | E[2024-11-10|02:39:59.586] Couldn't connect to any seeds                module=p2p
1|cometbft  | I[2024-11-10|02:40:29.479] Ensure peers                                 module=pex numOutPeers=0 numInPeers=0 numDialing=0 numToDial=10
1|cometbft  | I[2024-11-10|02:40:29.479] No addresses to dial. Falling back to seeds  module=pex
1|cometbft  | E[2024-11-10|02:40:29.590] Error dialing seed                           module=p2p err="incompatible: peer is on a different network. Got xian-network-1, expected xian-network" seed=9c5705850e0e9c67ba382a7e952cec299fa5b656@<IP_ADDRESS>:26656
1|cometbft  | E[2024-11-10|02:40:29.590] Couldn't connect to any seeds                module=p2p
Something i did wrong or ?

there is a upcoming hardfork where we will provide a new genesis block. this issue is caused by using the wrong genesis block. the master branch is currently different from what is being used on the main network, but will be updated after the hardfork


How to disable the current H and L behaviour in vi-edit mode

I know this is more tmux related, but I haven't found any direct source to disable these configurations.
run -b 'tmux bind -ct vi-edit H start-of-line 2> /dev/null || true'
run -b 'tmux bind -ct vi-edit L end-of-line 2> /dev/null || true'

so far I tried this in my .tmux.conf.local
run -b 'tmux unbind -ct vi-edit H 2> /dev/null || true'
run -b 'tmux unbind -ct vi-edit L 2> /dev/null || true'

but that didn't luck.
I even commented those lines in my .tmux.conf but still the same behavior (which is weird from my POV). And on top of that, I don't want to write my .tmux.conf file.
Thanks in advance for any help! 🙇

Hello @well1791, which version of tmux are you using?

Hi @gpakosz, indeed that's the version I'm using. Looks like I have no choice then.
Thanks for your answer!


resolve_binds_by_sym not working after update

Already reported ? *

[X] I have searched the existing open and closed issues.

Regression?
Yes
System Info and Version
 System/Version info
Hyprland, built from branch  at commit 0f594732b063a90d44df8c5d402d658f27471dfe  (props: bump version to 0.43.0).
Date: Sun Sep 8 16:48:21 2024
Tag: v0.43.0, commits: 5196

flags: (if any)

System Information:
System name: Linux
Node name: b650mgamingxax
Release: 6.11.2-arch1-1
Version: #1 SMP PREEMPT_DYNAMIC Fri, 04 Oct 2024 21:51:11 +0000

GPU information:
03:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Navi 32 [Radeon RX 7700 XT / 7800 XT] [1002:747e] (rev c8) (prog-if 00 [VGA controller])
15:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Raphael [1002:164e] (rev c7) (prog-if 00 [VGA controller])

os-release: NAME="EndeavourOS"
PRETTY_NAME="EndeavourOS"
ID="endeavouros"
ID_LIKE="arch"
BUILD_ID="2023.11.17"
ANSI_COLOR="38;2;23;147;209"
HOME_URL="https://endeavouros.com"
DOCUMENTATION_URL="https://discovery.endeavouros.com"
SUPPORT_URL="https://forum.endeavouros.com"
BUG_REPORT_URL="https://forum.endeavouros.com/c/general-system/endeavouros-installation"
PRIVACY_POLICY_URL="https://endeavouros.com/privacy-policy-2"
LOGO="endeavouros"

plugins:

======Config-Start======

Config File: /home/blackgaze/.config/hypr/hyprland.conf: Read Succeeded
	monitor=DP-1,2560x1440@160,1920x0,1
	monitor=DP-2,1920x1080@60,0x0,1

	$mainMod = ALT
	# $altMod = ALT

	# Set programs that you use
	$terminal = kitty
	$fileManager = thunar
	$menu = ~/.config/rofi/scripts/launcher_t3
	$browser = firefox

	# Some default env vars.
	env = XCURSOR_SIZE,24
	env = QT_QPA_PLATFORMTHEME,qt5ct # change to qt6ct if you have that

	# debug {
	# 		overlay = true
	# 		damage_tracking = 1
	# }

	# For all categories, see https://wiki.hyprland.org/Configuring/Variables/
	input {
			follow_mouse = 1

			touchpad {
					natural_scroll = false
			}

			sensitivity = 0 # -1.0 - 1.0, 0 means no modification.
	}

	# Example per-device config
	# See https://wiki.hyprland.org/Configuring/Keywords/#per-device-input-configs for more
	device {
			name = at-translated-set-2-keyboard
  		resolve_binds_by_sym = true
			kb_layout = pt,us
			kb_options = caps:swapescape
	}

	general {
			# See https://wiki.hyprland.org/Configuring/Variables/ for more

			gaps_in = 5
			gaps_out = 20
			border_size = 2
			col.active_border = rgba(33ccffee) rgba(00ff99ee) 45deg
			col.inactive_border = rgba(595959aa)

			layout = dwindle

			# Please see https://wiki.hyprland.org/Configuring/Tearing/ before you turn this on
			allow_tearing = false
	}

	windowrule = opacity 1.0 override 1.0 override,^(.*)$

	decoration {
			# See https://wiki.hyprland.org/Configuring/Variables/ for more

			rounding = 10

			blur {
					enabled = true
					size = 6
					passes = 2
					ignore_opacity = true
					new_optimizations = true

					vibrancy = 0.1696
			}

			drop_shadow = true
			shadow_range = 4
			shadow_render_power = 3
			col.shadow = rgba(1a1a1aee)
	}

	animations {
			enabled = true

			# Some default animations, see https://wiki.hyprland.org/Configuring/Animations/ for more

			bezier = myBezier, 0.05, 0.9, 0.1, 1.05

			animation = windows, 1, 7, myBezier
			animation = windowsOut, 1, 7, default, popin 80%
			animation = border, 1, 10, default
			animation = borderangle, 1, 8, default
			animation = fade, 1, 7, default
			animation = workspaces, 1, 6, default
	}

	dwindle {
			# See https://wiki.hyprland.org/Configuring/Dwindle-Layout/ for more
			pseudotile = true # master switch for pseudotiling. Enabling is bound to mainMod + P in the keybinds section below
			preserve_split = true # you probably want this
	}

	# master {
	# 		# See https://wiki.hyprland.org/Configuring/Master-Layout/ for more
	# 		new_is_master = true
	# }

	gestures {
			# See https://wiki.hyprland.org/Configuring/Variables/ for more
			workspace_swipe = false
	}

	misc {
			# See https://wiki.hyprland.org/Configuring/Variables/ for more
			force_default_wallpaper = -1 # Set to 0 or 1 to disable the anime mascot wallpapers
	}

	# See https://wiki.hyprland.org/Configuring/Window-Rules/ for more
	# windowrulev2 = suppressevent maximize, class:.* # You'll probably like this.
	windowrulev2 = float, title:^(CopyQ)$

	# Example binds, see https://wiki.hyprland.org/Configuring/Binds/ for more
	bind = $mainMod, Q, exec, $terminal
	bind = $mainMod, W, exec, $browser
	bind = $mainMod, C, killactive,
	bind = $mainMod, M, exit,
	bind = $mainMod, T, exec, $fileManager
	bind = $mainMod, V, togglefloating,
	bind = $mainMod, D, exec, $menu
	bind = $mainMod, P, pseudo, # dwindle
	bind = $mainMod, O, togglesplit, # dwindle
	bind = $mainMod, B, exec, copyq menu
	bind = $mainMod, F, fullscreen

	# System binds
	bind = $mainMod, F4, exec, systemctl suspend
	bind = , KP_Delete, exec, hyprctl switchxkblayout	at-translated-set-2-keyboard next && dunstify "Switched keyboard layout"

	# Media Keys
	binde =,  XF86AudioRaiseVolume, exec, amixer -D pulse sset Master 1%+
	binde = $mainMod, F10, exec, amixer -D pulse sset Master 1%+
	binde =,  XF86AudioLowerVolume, exec, amixer -D pulse sset Master 1%-
	binde = $mainMod, F9, exec, amixer -D pulse sset Master 1%-
	bind =, XF86AudioMute, exec, wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle
	bind = $mainMod, F2, exec, wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle
 	bind =, XF86AudioPlay, exec, playerctl play-pause
	bind = $mainMod, F1, exec, playerctl play-pause

	# Main monitor refresh rate (dark souls 3 workaround)
	bind = $mainMod, G, exec, ~/Scripts/frame-rate-toggle.sh game
	bind = $mainMod SHIFT, G, exec, ~/Scripts/frame-rate-toggle.sh normal

	# Main monitor brightness
	bind = $mainMod, F11, exec, ddcutil setvcp --display 1 10 - 20 && ddcutil setvcp --display 2 10 - 20 && notify-send "Brightness - $(ddcutil getvcp 10 | grep -oP 'current value =\s*\K\d+')%"
	bind = $mainMod, F12, exec, ddcutil setvcp --display 1 10 + 20 && ddcutil setvcp --display 2 10 + 20 && notify-send "Brightness - $(ddcutil getvcp 10 | grep -oP 'current value =\s*\K\d++')%"

  # Volume Notifications
	bind =, XF86AudioRaiseVolume, exec, volume=$(awk -F"[][%]" '/Left:/ { print $2 }' <(amixer sget Master)) && dunstify -h string:x-dunst-stack-tag:audio "Volume: ${volume}%" -h int:value:"$volume"
	bind =, XF86AudioLowerVolume, exec, volume=$(awk -F"[][%]" '/Left:/ { print $2 }' <(amixer sget Master)) && dunstify -h string:x-dunst-stack-tag:audio "Volume: ${volume}%" -h int:value:"$volume"
	bind = $mainMod, F9, exec, volume=$(awk -F"[][%]" '/Left:/ { print $2 }' <(amixer sget Master)) && dunstify -h string:x-dunst-stack-tag:audio "Volume: ${volume}%" -h int:value:"$volume"
	bind = $mainMod, F10, exec, volume=$(awk -F"[][%]" '/Left:/ { print $2 }' <(amixer sget Master)) && dunstify -h string:x-dunst-stack-tag:audio "Volume: ${volume}%" -h int:value:"$volume"

  # Global Keybinds
	bind = , Pause, sendshortcut, CTRL&SHIFT, M, ^(vesktop)$

	# Clipboard utilities
	bind = , Print, exec, grim -g "$(slurp -d)" - | tee ~/Pictures/screenshots/$(date +%Y-%m-%d-%H%M%S).png | wl-copy
	bind = $mainMod, Print, exec, grim -g "$(slurp -d)" - | swappy -f -

	# Move focus with mainMod + arrow keys
	# bind = $mainMod, j, movefocus, l
	bind = $mainMod, j, movefocus, r
	# bind = $mainMod, k, movefocus, u
	bind = $mainMod, k, movefocus, d

	workspace = 1, monitor:DP-2
	workspace = 2, monitor:DP-2
	workspace = 3, monitor:DP-2
	workspace = 4, monitor:DP-1

	# Switch workspaces with mainMod + [0-9]
	bind = $mainMod, 1, focusmonitor, DP-2
	bind = $mainMod, 1, workspace, 1
	bind = $mainMod, 2, focusmonitor, DP-2
	bind = $mainMod, 2, workspace, 2
	bind = $mainMod, 3, focusmonitor, DP-2
	bind = $mainMod, 3, workspace, 3
	bind = $mainMod, 4, focusmonitor, DP-1
	bind = $mainMod, 4, workspace, 4
	bind = $mainMod, 5, focusmonitor, DP-1
	bind = $mainMod, 5, workspace, 5
	bind = $mainMod, 6, focusmonitor, DP-1
	bind = $mainMod, 6, workspace, 6
	bind = $mainMod, 7, focusmonitor, DP-1
	bind = $mainMod, 7, workspace, 7
	bind = $mainMod, 8, focusmonitor, DP-1
	bind = $mainMod, 8, workspace, 8
	bind = $mainMod, 9, focusmonitor, DP-1
	bind = $mainMod, 9, workspace, 9

  # Switch workspaces with keypad
  bind = , KP_End, workspace, 1
  bind = , KP_Down, workspace, 2
  bind = , KP_Next, workspace, 3
  bind = , KP_Left, workspace, 4
  bind = , KP_Begin, focusmonitor, DP-1
  bind = , KP_Begin, workspace, 5
  bind = , KP_Right, focusmonitor, DP-1
  bind = , KP_Right, workspace, 6
  bind = , KP_Home, focusmonitor, DP-1
  bind = , KP_Home, workspace, 7
  bind = , KP_Up, focusmonitor, DP-1
  bind = , KP_Up, workspace, 8
  bind = , KP_Prior, focusmonitor, DP-1
  bind = , KP_Prior, workspace, 9
  bind = , KP_Insert, focusmonitor, DP-1
  bind = , KP_Insert, workspace, 10

	# Move active window to a workspace with mainMod + SHIFT + [0-9]
	bind = $mainMod SHIFT, exclam, movetoworkspace, 1
	bind = $mainMod SHIFT, quotedbl, movetoworkspace, 2
	bind = $mainMod SHIFT, numbersign, movetoworkspace, 3
	bind = $mainMod SHIFT, dollar, movetoworkspace, 4
	bind = $mainMod SHIFT, percent, movetoworkspace, 5
	bind = $mainMod SHIFT, ampersand, movetoworkspace, 6
	bind = $mainMod SHIFT, slash, movetoworkspace, 7
	bind = $mainMod SHIFT, parenleft, movetoworkspace, 8
	bind = $mainMod SHIFT, parenright, movetoworkspace, 9

	# Move active window to a workspace with mainMod + SHIFT + numpad [0-9]
	bind = $mainMod SHIFT, KP_End, movetoworkspace, 1
	bind = $mainMod SHIFT, KP_Down, movetoworkspace, 2
	bind = $mainMod SHIFT, KP_Next, movetoworkspace, 3
	bind = $mainMod SHIFT, KP_Left, movetoworkspace, 4
	bind = $mainMod SHIFT, KP_Begin, movetoworkspace, 5
	bind = $mainMod SHIFT, KP_Right, movetoworkspace, 6
	bind = $mainMod SHIFT, KP_Home, movetoworkspace, 7
	bind = $mainMod SHIFT, KP_UP, movetoworkspace, 8
	bind = $mainMod SHIFT, KP_Prior, movetoworkspace, 9

	# Example special workspace (scratchpad)
	# bind = $mainMod, S, togglespecialworkspace, magic
	# bind = $mainMod SHIFT, S, movetoworkspace, special:magic

	# Scroll through existing workspaces with mainMod + scroll
	bind = $mainMod, mouse_down, workspace, e+1
	bind = $mainMod, mouse_up, workspace, e-1

	# Move/resize windows with mainMod + LMB/RMB and dragging
	bindm = $mainMod, mouse:272, movewindow
	bindm = $mainMod, mouse:273, resizewindow

	# Programs that run at startup
	exec-once = /home/blackgaze/Downloads/OpenRGB_Linux_64_c4917d30/OpenRGB-x86_64.AppImage --startminimized # RGB controller
	exec-once = waybar # Status bar
	exec-once = copyq # Clipboard manager
	exec-once = swww-daemon # Wallpaper manager
	exec-once = random-wallpaper # Randomize wallpaper
	# exec-once = solaar -w hide # Logitech Unifying Receiver
	exec-once = swayidle -w timeout 1800 'hyprctl dispatch dpms off' resume 'hyprctl dispatch dpms on' # Idle manager
	exec-once = dunst # Notification daemon
	exec-once = /usr/lib/polkit-kde-authentication-agent-1 # Polkit agent
	exec-once = systemctl --user import-environment WAYLAND_DISPLAY XDG_CURRENT_DESKTOP # Import environment variables for screen share
	exec-once = dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP=hyprland # update dbus environment

Description
It seems the resolve_binds_by_sym variable is not longer working as expected.
For context, I have it set to true so that I can switch workspaces with the numpad keys, depending on the state of numlock. If I understand corectly, setting this variable as true in either the input or the device class will make it so that the binds are activated by the symbol of the key. This is useful in my case because if numlock if off, pressing the numpad 1 key emits the KP_End code, and if the numlock is on, pressing the numpad 1 key key emits KP_1. This allows me to press numlock on when I need to input numbers.
The issue is that, either with numlock on or off, the bind will always change workspace, and I cannot input numbers when it is on, making me believe resolve_binds_by_sym is not working.
I also have setup binds to movetoworkspace, in this case setting
bind = $mainMod SHIFT, exclam, movetoworkspace, 1
will move the current window to the specified workspace, because Shift+1=exclam.
I can confirm that the issue does not occur on version 0.43.0-1. It seems to be an issue with the update to version 0.44.0 or 0.44.1. My best guess is it's related to commit e0cfbec66b (link to commit)
Unfortunately I am not familiar with this subject, so I cannot give insights into what I think caused it, but that is my best guess.
How to reproduce

Downgrade hyprland to version 0.43.0-1.
In the input class set resolve_binds_by_sim to true
Set up a bind to movetoworkspace

	# Move active window to a workspace with mainMod + SHIFT + [0-9]
	bind = $mainMod SHIFT, exclam, movetoworkspace, 1
	bind = $mainMod SHIFT, quotedbl, movetoworkspace, 2
	bind = $mainMod SHIFT, numbersign, movetoworkspace, 3
	bind = $mainMod SHIFT, dollar, movetoworkspace, 4
	bind = $mainMod SHIFT, percent, movetoworkspace, 5
	bind = $mainMod SHIFT, ampersand, movetoworkspace, 6
	bind = $mainMod SHIFT, slash, movetoworkspace, 7
	bind = $mainMod SHIFT, parenleft, movetoworkspace, 8
	bind = $mainMod SHIFT, parenright, movetoworkspace, 9

Press Meta+Shift+1 and watch the window move to the correct workspace
Upgrade hyprland to latest version
Pressing Meta+Shift+1 will not send the window to the correct workspace

Crash reports, logs, images, videos
No response

old version, fixed in 0.44.1, update


[WIP] Arrays

In service towards https://github.com/dotnet/docs/issues/17199

@mairaw Would you happen to know why the TOC for /arrays doesn't render in the staging site? Example: https://review.docs.microsoft.com/en-us/dotnet/fsharp/library-reference/core-library-reference/array/array.append['t]-function?branch=pr-en-us-17254

Meh, it doesn't seem to work. I'd reach out to Docs support channel. Are you familiar with that on Teams?

Looks like it's related to the level of nesting

Nope, unrelated to nesting I guess. I'm sort of on the verge of giving up here. Is there no way to just generate a compliant TOC based on file structure?


Unable to install using pip or Cloning

I am still getting the same error, when trying to install it without using conda.
Is there any solution to fixing it?
Environment: Python: 2.7
Method of installing: pip install slda (also tried by cloning directory)

Error:
Complete output from command python setup.py egg_info:
/bin/sh: 1: gsl-config: not found
Traceback (most recent call last):
File "", line 1, in
File "/tmp/pip-install-vad3l5eo/slda/setup.py", line 10, in
library_dirs=[cython_gsl.get_library_dir()],
File "/home/user/Env/KG/lib/python3.5/site-packages/cython_gsl/init.py", line 45, in get_library_dir
lib_gsl_dir = os.popen('gsl-config --libs').read().split()[0][2:]
IndexError: list index out of range

same here. Was anyone able to make the package run again?


Could not find generator surveyor:install

Could not find generator 'surveyor:install'. Maybe you meant 'formtastic:install' or 'generator' or 'integration_test'
Run rails generate --help for more options.
gemfile:
gem 'surveyor'

https://github.com/NUBIC/surveyor/issues/481#issuecomment-50622996 This has fixed the install in my case


Characters showing as deactivated

Love the app, however it seems to be causing all of the characters in the Campaigns screen to be showing as deactivated (when they should still be active) when this extension is running. Confirmed by removing/re-enabling the extension, and it definitely seems to be the cause. Screenshot below. If there's any more information I can provide I'd be happy to help. Screenshot attached.

I will take a look. Until I fix it (probably later today) you can disable this feature only by:

Right click on the extension icon on chrome bar;
Click on "Options";
Uncheck the checkbox "Enable folders and sort on campaign pages." on the new modal.

After reloading the page it should show the default campaign page.
Thanks for the bug find and report!!! =}

Fixed on v0.6.3. Currently is not possible to add folders to the deactivated list. But already planned for next version.


Read timeout error

when I run results = client.get("s6ew-h6mp") in python, I get below error, any idea how I can fix it?
ReadTimeout: HTTPSConnectionPool(host='data.consumerfinance.gov', port=443): Read timed out. (read timeout=10)

This is a network error, which is unrelated to the functionality of this wrapper library.

is it because the file is too large or because API version issue 2.0 vs 2.1?  because if I run
results = client.get("s6ew-h6mp", limit=50000) it works, it doesn't work if limit beyond 50000, it return timeout error.

This is a question for the socrata devs, and unrelated to the functionality of this library. If you experience high latency when fetching a large number of records, you can set a custom timeout when you initialize the client.
https://github.com/xmunoz/sodapy/blob/master/sodapy/__init__.py#L24
More reading:
http://docs.python-requests.org/en/master/user/advanced/#timeouts


Sds api: implement SDS api

Implement SDS api which fetches dynamic secrets.
Description:
Implement SDS api that fetches secrets from remote SDS server. Secrets are stored in Secret Manager.
Updating secrets at listener and cluster will follow.
From the high level design PR: #3748,
or a smaller PR (istio#4) which has removed the changes from this PR and #3754.
Here is the lifetime and ownership of DynamicSecretProvider.

Same config_source shares same DynamicSecretProvider object.
Each ContextConfigImpl owns a ref_count to the DynamicSecretProvider object.
ContextConfigImpl is owned by SslSocketFactory which is owned by ListenImpl.

When all ListenImpl instances are going away, DynamicSecretProvider object will be deleted.
Here is the relationship between SecretCallback and DynamicSecretProvider.

Multiple ContextConfigImpl instances may share same DynamicSecretProvider If they have same config_source.
SslSocketFactory owns ContextConfigImpl and Context. It implements SecretCallback interface to wait for dynamic secret update. The callback is registered to DynamicSecretProvider. When the secret is updated, the callback will be called. SslSocketFactory will create a new Context, the new connections will start to use the new Context.
Context is shared_ptr. The ssl_socket is holding a ref_count of Context to keep the Context it is using alive.

Risk Level: Low
Fixes #1194
Signed-off-by: Jimmy Chen<EMAIL_ADDRESS>

Please ping me when ready.

@lizan both coverage and ipv6_tests show that some directories do not exist. I am not clear how to fix them. Have you seen that before?
"bazel-out/k8-dbg/genfiles/external/com_lyft_protoc_gen_validate: warning: directory does not exist.
bazel-out/k8-dbg/genfiles/external/com_google_protobuf/src: warning: directory does not exist.
bazel-out/k8-dbg/genfiles/external/googleapis: warning: directory does not exist."

@JimmyCYJ you can ignore those warnings, download full log. The coverage failure is due to the test coverage is 97.9%, which is below envoy threshold 98.0%.
See https://67413-65214191-gh.circle-artifacts.com/0/build/envoy/generated/coverage/coverage.html for detail reports.

/hold

@mattklein123, would you mind to take a look? Thanks!

Both SdsApi and SecretManager are covered 100%
https://68858-65214191-gh.circle-artifacts.com/0/build/envoy/generated/coverage/coverage.source_common_secret_sds_api.cc.html,
https://68858-65214191-gh.circle-artifacts.com/0/build/envoy/generated/coverage/coverage.source_common_secret_secret_manager_impl.cc.html

@mattklein123 PTAL, thanks!

I'm going to look at this change in detail later today. Something about all of this does not sound right to me, but until I look in detail I don't have a lot to say about it.

@JimmyCYJ @lizan @PiotrSikora I went through the code. Largely, I think we are in good shape, but there is something I think we need to change to not confuse things in the future. I don't think it's a super fundamental design change so I think it shouldn't be too hard to do. I'm going to describe my concerns and the solutions below.
Primarily, the cluster init manager has be owned by the cluster manager, and not the cluster info. The cluster manager is actually where init happens and in the future we might add other things that require init at this level. So we we want to add an init manager concept within the cluster manager, and pass that through as needed.
Concretely, there are two changes I would like to make:

Instead of creating an SDS specific init manager within cluster info, I would like you to handle it at the cluster manager level. Fundamentally, you are going to have to plumb an InitManager into the loadCluster calls (e.g., https://github.com/envoyproxy/envoy/blob/master/source/common/upstream/cluster_manager_impl.cc#L383). Take a look at listener_manager_impl in terms of how we sometimes use the server/global init manager and sometimes we use a dynamic/local init manager. You will need to do the same thing here with almost identical logic. Right now in the cluster manager we just use the cluster init callback to move things forward, so I would take a look at the logic and see what makes the most sense in terms of how to manage the flow here (does cluster manager own it all, is it split a bit between CM and the cluster, etc.). There are other additional things to think about here. For example, should we allow SDS configuration for clusters in phase 1 init (static, etc.) since then we can get into a deadlock situation and never initialize? Because of how tricky this is, I would like you to start a new PR that just adds init manager support to cluster manager and plumbs it through, with tests. Then we can sort this out. Once that part is in place I think the rest of this PR is pretty straightforward.

This is pre-existing code, but I would prefer it if we change ClusterInfoImpl to not derive from Server::Configuration::TransportSocketFactoryContext. I think it's a little confusing. AFAICT, there is only needed in the constructor where we call createTransportSocketFactory. Can we instead stack allocate a factory context for the transport socket and just call it with constructor args? I think this will simplify things and avoid storing extra state that we don't need and might be abused later.

Thank you for working on this and please LMK if this makes sense or if you need additional clarification before proceeding. Hopefully, @lizan can also help you more directly with this set of changes.

@JimmyCYJ @qiwzhang @lizan two other things that we need (can be done as follow up PRs):

SDS API specific stats (secrets added, secrets updated, secrets removed, secrets total, etc.)
The block we discussed so that if a cluster type other than EDS tries to use SDS it will fail for now.

Can you please add some TODOs to this PR for ^ and we can do both of these in follow ups? Thank you.

@mattklein123 Thanks for the advice, will add TODO in this PR.

Just updated this PR with all changes needed to support dynamic SDS.
This PR only serves as a reference PR for complete implementation.   Its changes will be split into smaller PR to actual code review.

@JimmyCYJ @lizan can we close this now? I think we have the last PR up and this doesn't serve much purpose anymore?

@mattklein123 Yes, we don't need this PR, I am closing it. Thanks!


Handle k8s resource conflict due to same CR names

What this PR does / why we need it?:
Checks to see if there is an existing Deployment, Statefulset or Knative service with the same name, and verifies
if it is managed by another operator.  If its not,  the status is updated to reflect the issue and it is re-queued.
Does this PR introduce a user-facing change?
in addition to a summary of the change and link to the pull request.
-->

[ ] User guide
[ ] CHANGELOG.md

Which issue(s) this PR fixes:

Fixes #  https://github.com/WASdev/websphere-liberty-operator/issues/179

@leochr


Shop Interaction

What character can buy
how things are priced
item description
player character skill / ability improvement qty

feature scrapped for prototype


Fixed tweens for FOV/Near/Far settings not ending on correct values

Fix for #326

Closed due to dev implementing own solution


Replace unafold with Nick and Ben's libnano/nupack-py code

Unafold is used under the hood by optmage.

Looks like Nupack has an even worse license situation. Users have to actually go to the web and register in order to download. Unafold at least maintains URLs.
We just need to explicitly state somewhere that Millstone includes dependencies that forbid commercial use, and maybe provide a list of which these are. Then commercial entities can decide how to proceed.


Google wants certificate verification

deep_translator version: 1.0.6
Python version: 3.8.3
Operating System: Linux

Google gives warning before response
Request any translation from GoogleTranslate and the response comes back:
Warning: Unverified HTTPS request is being made to host 'translate.google.com'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings
warnings.warn
Followed by the translation. So it all works beautifully. At a minimum, I'd like to suppress the warning.

Thanks for the feedback. I solved the issue and published a new release v1.0.7 on pypi

Works perfectly now. Very nicely done program.
Thanks.

From: Nidhal Baccouri<EMAIL_ADDRESS>Sent: Sunday, July 26, 2020 4:27 PM
To: nidhaloff/deep_translator<EMAIL_ADDRESS>Cc: dojero<EMAIL_ADDRESS>Author<EMAIL_ADDRESS>Subject: Re: [nidhaloff/deep_translator] Google wants certificate verification (#1)
Thanks for the feedback. I solved the issue and published a new releasehttps://pypi.org/project/deep-translator/1.0.7/ v1.0.7 on pypi
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/nidhaloff/deep_translator/issues/1#issuecomment-664009402, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ACWVR67OBYN4Y5E74MXJZO3R5RKOJANCNFSM4PIBFDLQ.


Preferences pods_ios_min_version not recognized

Hi,
I need to fix the ios min version to 9.0 for my cordova plugin, but when I simply add <preference name="pods_ios_min_version" value="9.0"/>, in my plugin.xml, I just get an error during the plugin's installation :

Error: Variable(s) missing: PODS_IOS_MIN_VERSION

It looks like cordova doesn't accept a preference he doesn't know...

That preference isn't currently supported at the plugin level.  It can only be set in the project's config.xml.

I need to fix the documentation.

@Stending This now supported in plugin.xml with the latest release (>=1.2.9).


Fixing a bug causing the library to skip words

I noticed that the library would skip a word which was going to exceed the character limit, but would add the next word as long as it was within the limit.
For example:
* string: 'The Arcus Foundation latest effort in support of legal issues.'
* length: 30
* result: '
The Arcus Foundation latest in...
'
* desired result: '
The Arcus Foundation latest...
'

Thanks!


[Feature Request] Add Click'n'Load 2 support

First of all, thanks for your work. To make the experience even better I'm suggesting to add Click'n'Load support. You can already redirect <IP_ADDRESS>:9666 from Windows to your server, the application just has to listen for it :smiley:

Already implemented. Use myjdownloader

Nice, didn't know My JDownloader was capable of that. Guess I'm switching to plusminus/jdownloader-headless though.

These settings need to be changed to activate CNL for the docker JDownloader container:

JDownloader Settings -> Advanced Settings -> Search "Flashgot" -> uncheck "will listen on localhost only" (restart required)
Add port forwarding for CNL to Docker start arguments: “-p 9666:9666”
On client side install “Click'n'Load request proxy” add-in and configure Docker host IP (firefox/chrome)

What I noticed: MyJDownloader would use the local IP of the JDownloader, if it were not running inside docker. I cant run the container in host mode (mainly because of VNC), so the internal IP found reported to myJDownloader by this will always be the 172.X.X.X variant.
Have you guys found any way to override this with the docker host ip? This would dramatically increase the snappyness of MyJDownloader in the local network (have verified with a native JD2 install).

I guess you are talking about the MyJDownloader Browser Extension?

And the mobile app.
Both will try to reach the docker bridge subnet first, the myjdownloader connection second (relayed over WAN). Since the bridge subnet has an IP range unavailable to the LAN, both the extension and app have constant connection issues. They work, but slowly.
Any idea where we can override or spoof the docker host IP "into jdownloader"?

What I noticed: MyJDownloader would use the local IP of the JDownloader, if it were not running inside docker, when contacted in lan. I cant run the container in host mode (mainly because of VNC), so the internal IP reported to myJDownloader by this will always be the 172.X.X.X variant.

Thanks for the great find! I also found that standalone install of JD2 is running much better in MyJdownloader than the docker one. Just didn't realize that using host instead of brigde would fix this problem! I've nothing against running it at host network so now my JD2 is running almost as smooth as standard installation.

I am running it at nas with openmediavault as OS. It has plugin for docker with nice GUI so I just switched from Bridge to Host in that GUI, restarted container and that's all. But I don't use vnc so I don't know if it can couse any problems.

Have you tried another jdownloader image? On another machine I'm using plusminus/jdownloader-headless which also works fine. It just doesn't have webpage, being used just through MyJdownloader website. Can't decide which one top use so I use both. It is jd for headless systems and should not have any conflicts with x-server.

Please try the following steps to get a direct connection.  It worked for me.

First, add a new port mapping for TCP port 3129 to your container configuration (-p 3129:3129).
Open the JDownloader UI.
Go to Settings->Advanced Settings.
Search for MyJDownloaderSettings.
Set Custom Device IPs to the IP address of the host running the container, between double quotes (e.g. "<IP_ADDRESS>").
Change the Direct Connection Mode to Allow lan/wan connections with manual port forwarding.
Restart JDownloader.

Oh god, this is so much better!!! Thank you @jlesage this is all I ever wanted!

Do I still need a MyJDownloader account to communicate between my docker container with jdownloader and my browser running on a different computer?

Do I still need a MyJDownloader account to communicate between my docker container with jdownloader and my browser running on a different computer? I dont want to share data my data with my.jdownloader.org for privacy reasons.

No. If the ports below are forwarded to your network and your client computer is on the same network you can directly communicate with jdownloader:
5800/tcp --> WebGUI (your Browser)
5900/tcp --> VNC (e.g. tightVNC Client)
9666/tcp --> CNL (via Browser CNL plugin or SSH tunnel (e.g. PuTTY))
No need for a myjdownloader account

Thanks for answering. Can you recommend a click'n'load firefox addon and explain how to configure it? Also is it possible to redirect and solve captchas with them?

Dauhonks approch works perfect:

JDownloader Settings -> Advanced Settings -> Search "Flashgot" -> uncheck "will listen on localhost only" (restart required)
Add port forwarding for CNL to Docker start arguments: “-p 9666:9666”

But i wanted to add:

On your "windows client" redirect the local port 9666 to the jdownloader docker image by typing in CMD:

netsh interface portproxy add v4tov4 9666 IP_OF_DOCKER 9666 <IP_ADDRESS>


OpenJRE12,13 compatibility on Linux

Describe the bug
1.1.2-RC1
Tested with and results:

sudo apt install openjdk-11-jre
export INSTALL4J_JAVA_HOME=/usr/lib/jvm/java-11-openjdk-amd64
ok - tested basic functionality only

sudo apt install openjdk-12-jre
export INSTALL4J_JAVA_HOME=/usr/lib/jvm/java-12-openjdk-amd64
broken

sudo apt install openjdk-13-jre
export INSTALL4J_JAVA_HOME=/usr/lib/jvm/java-13-openjdk-amd64
broken - the log in window is not displayed correctly, unusable.
I can force myself through the login window using the keyboard, giving my password but it is still unusable.
log: downlords-faf-client-open-jre13.log

I was told that it should work with Java 13 too. :)
OS
Linux, Pop-OS 19.04 (basically Ubuntu 19.04)
Visuals on JRE13

I said I allowed those version never said they would work :D


add missing params

added to events:

updated.*
state
signal.*

added to places:

location

Coverage remained the same at 91.748% when pulling 64b664e1f389fc3c81e85b90788db061db0bed37 on ensure_all_params_valid into d1abe481cc12ba752fa42420c5dca075b6a0b296 on master.


Velocities in roboteam_world are wrong

Describe the bug
Sometimes the velocities are a factor of 10^5 or so too small. I have difficulty reproducing the bug. Problem was solved upon restarting roboteam world. I expect it's either in roboteam_world, grSim or roboteam_ai.
To Reproduce
??? Restart a million times
Expected behavior
It just works like normal?

I just came across this as well. it appears it happens if you restart GrSim while keeping roboteam AI running.

This bug is in roboteam_world because of time dependencies and will only happen when you restart grSim whilst roboteam_world is running.


ci: revert upload-release-assets action [DO-2072]

Hi @marek-karwacki-rdx! Due to how the Swift Engine Toolkit is structured, we would want to merge this PR not only into develop but also into main and release/babylon so that it propagates.

Hi @marek-karwacki-rdx! Due to how the Swift Engine Toolkit is structured, we would want to merge this PR not only into develop but also into main and release/babylon so that it propagates.

Thanks @0xOmarA for the info. This github action was added only to develop so the fix needs to be done only in develop.

Sounds good!


Include anvil revert tests again

Component
Anvil
Describe the feature you would like
due to ethers regression https://github.com/gakonst/ethers-rs/issues/2186
revert test temp excluded here https://github.com/foundry-rs/foundry/pull/4415
TODO
add back once fixed.
Additional context
No response

Marking as resolved, Ethers has been deprecated


Added three custom Instruments commonly used

added three commonly used custom instruments

Firework Blast
Nether Portal Trigger
Experience Orb Pickup

Just adding these files doesn't work. Lots of internal changes need to be made for custom instruments to be supported.
This project is largely abandoned. It's not being actively worked on and probably won't be for quite a while.

Does this help? If you need a co-author, I'm your guy.

nbsplayer is not maintained. this will not be merged.
feel free to maintain your own fork of the project, if that's something you want to do. the project is now under the MIT license so you have full permission to do that.

tip: to actually deploy the website to GitHub pages, you have to run the build script & update some files.
easiest way is to clone another copy of the repo, and switch to the gh-pages branch (git checkout gh-pages) in that one.
then do npm run build in this repository (on branch master) and manually copy the dist folder to the gh-pages local copy, and push gh-pages to github. github.io only cares about the gh-pages branch.
you can probably automate this with things like Travis CI, nbsplayer used to do that (.travis.yml)

Can you do like a screencaster like that or some form of walkthrough? I'm kinda new to this sorta thing.


Fix more phonetics for 不

若「不」後面接一三四聲，該「不」應為四聲
若「不」後面接四聲，該「不」應為二聲
若「不」於結尾，二四聲皆可
保留部分短語詞輸入習慣 (e.g., ㄅㄨˋ ㄏㄨㄟˋ)

@lukhnos apologize for the big PR, I noticed that many of the pronunciations of 不 are incorrect.
I wrote a small script on all 不-related phrases and reviewed them manually. I believe this PR should allow most of Taiwanese users to type 不-related phrases with more natural pronunciations.
with open('a') as f:
    lines = f.readlines()

    for line in lines:
        try:
            line = line.strip()
            k = line.split()

            # can be either 2 or 4
            if k[0].endswith('不'):
                continue

            i = k[0].index('不')
            p = k[1 + i]
            n = k[1 + i + 1]

            # next char is 1 2 3 -> p needs to be 4
            #if (((not n.endswith('ˋ')) and
            #     (not n.endswith('˙')))) and p.endswith('ˊ'):
            #    print(f'{k[0]}, {p} {n}: {line}')
            #    # rep = line.replace('ㄅㄨˊ', 'ㄅㄨˋ')
            #    # print(rep)

            # next char is 4 -> p needs to be 2
            #if n.endswith('ˋ') and p.endswith('ˋ'):
            #    print(f'{k[0]}, {p} {n}: {line}')
            #    # rep = line.replace('ㄅㄨˋ', 'ㄅㄨˊ')
            #    # print(rep)
        except IndexError:
            print(f'no! {line}')

這個問題是語音學上的「變調」，並不是錯誤
除了「不」之外，相同情況還有「一」與三聲的變調
在教育部國語辭典簡編本中，基本上原調與變調的音都有收
例如：不克
https://dict.concised.moe.edu.tw/dictView.jsp?ID=2059

其餘辭典例如成語典，通常都僅收原調，並不會收錄變調
https://dict.idioms.moe.edu.tw/idiomView.jsp?ID=23335

或許原本若是正確的原調可以予以保留不用刪除，新增變調的音即可

I looked up all the deleted terms (~300 phrases) on dict.concised.moe.edu.tw and it seems the majority of this only applies when the next phrase ends with ˋ.
list=$(cat a.txt)

for w in $list; do
    xdg-open "https://dict.concised.moe.edu.tw/search.jsp?md=1&word=$w#searchL"
done

Yes, tone sandhi (變調) of 不 occurs only when the following word has a fourth tone. Below is a simple but not necessarily exhaustive script for detecting this condition, provided for reference.
cat BPMFMappings.txt | grep 不 | grep -E "ㄅㄨ[ˊˋ] [ㄅ-ㄩ]{1,3}ˋ"

[ㄅ-ㄩ]: the last phonetic character in the Unicode Bopomofo block is ㄩ

@xatier @ChiahongHong 謝謝兩位的討論。
BLUF

我建議把 PR 拆分成七個，對應「一不變調」的七種情況；「一」的四種和「不」的三種。
不想收錄輕聲變調的話就是五種。

Context

或許原本若是正確的原調可以予以保留不用刪除，新增變調的音即可

就我記憶所及，這確實是當初針對「一不變調」所開的特例。
然而，有很多詞的原調 (純粹基於習慣) 從來沒收錄過，於是我認為這次 PR 在增進一致性上幫了大忙。
附帶一提，「一不」的輕聲變調也 (純粹基於習慣) 從來沒收錄過。
至於「連上變調」像是「總統」就只仍收錄原調。

Splitting this PR into pieces is a time consuming process and I do not see much real gains out of it. Given that the current file is not sorted in orders.
I'd like to have the PR been merged directly, or I can close this one and someone else making this into smaller chunks.

Splitting this PR into pieces is a time consuming process and I do not see much real gains out of it. Given that the current file is not sorted in orders.
I'd like to have the PR been merged directly, or I can close this one and someone else making this into smaller chunks.

In that case, then it will take a while for me to verify the consistency. I will temporarily make this PR a draft until I'm confident that I've read every change. +CC @lukhnos @mjhsieh @zonble

Splitting this PR into pieces is a time consuming process and I do not see much real gains out of it. Given that the current file is not sorted in orders.
I'd like to have the PR been merged directly, or I can close this one and someone else making this into smaller chunks.

In that case, then it will take a while for me to verify the consistency. I will temporarily make this PR a draft until I'm confident that I've read every change. +CC @lukhnos @mjhsieh @zonble

@xatier I've annotated several rows as examples for maintaining consistency.
It seems feasible that you can automatically change all of them at once, as long as your script is slightly modified for keeping original tones. +CC @lukhnos @mjhsieh @zonble

I tweaked my script to perform some thorough check on all 不 phrases. We should see only one exception after all these commits.
$ python b.py
[-] 三不政策 ㄙㄢ ㄅㄨˊ ㄓㄥˋ ㄘㄜˋ

三不政策 ㄙㄢ ㄅㄨˋ  ㄓㄥˋ  ㄘㄜˋ is proper, and we don't need to add 三不政策 ㄙㄢ ㄅㄨˊ ㄓㄥˋ ㄘㄜˋ to the dictionary.
# Usage:
#
# grep 不 Source/Data/BPMFMappings.txt > input.txt
# python bu.py

with open('input.txt') as f:
    lines = f.readlines()
    d = {line.strip() for line in lines}

    if len(d) != len(lines):
        print("dups!")

    # x should be present in d
    def check(x, d):
        if x not in d:
            print(f'[-] {x}')

    # x should not be present in d
    def check_not(x, d):
        if x in d:
            print(f'[-] {x}')

    for line in lines:
        try:
            line = line.strip()
            k = line.split()

            # 若「不」於結尾，二四聲皆可
            if k[0].endswith('不'):
                check(line[:-3] + 'ㄅㄨˊ', d)
                check(line[:-3] + 'ㄅㄨˋ', d)
                continue

            # p: position of 不
            # n: position of the next
            i = k[0].index('不')
            p = k[1 + i]
            n = k[1 + i + 1]

            # 若「不」後面接一三四聲，該「不」應為四聲
            if (((not n.endswith('ˋ')) and
                 (not n.endswith('˙')))) and p.endswith('ˊ'):

                f = line.index('ㄅㄨˊ')
                check(line[:f] + 'ㄅㄨˋ' + line[f + 3:], d)
                check_not(line, d)

            # 若「不」後面接四聲，該「不」應為二聲且四聲不 (原調) 也應存在
            if n.endswith('ˋ') and p.endswith('ˋ'):
                f = line.index('ㄅㄨˋ')
                check(line[:f] + 'ㄅㄨˊ' + line[f + 3:], d)
                check(line[:f] + 'ㄅㄨˋ' + line[f + 3:], d)

        except IndexError:
            print(f'no! {line}')

@lukhnos I believe this PR is ready for the review. I've fixed all the consistency issues.
After this PR gets merged, we should update the wiki [1] with the following:
修正讀音

關於「不」字之音調：請參考下列規則與 PR #464 之討論。

若「不」後面接一二三聲，該「不」應為四聲，僅加入四聲於詞庫
若「不」後面接四聲，該「不」應為二聲 (變調)，但四聲「不」 (原調) 也應一併加入詞庫
若「不」於結尾，二四聲皆應加入詞庫

例：

僅加入四聲
不丹 ㄅㄨˋ  ㄉㄢ
神智不清 ㄕㄣˊ ㄓˋ ㄅㄨˋ ㄑㄧㄥ
不行 ㄅㄨˋ ㄒㄧㄥˊ
不調 ㄅㄨˋ ㄊㄧㄠˊ
離不了 ㄌㄧˊ ㄅㄨˋ ㄌㄧㄠˇ
為時不遠 ㄨㄟˊ ㄕˊ ㄅㄨˋ ㄩㄢˇ

二四聲皆加入 (變調 + 原調)
戰無不勝 ㄓㄢˋ ㄨˊ ㄅㄨˊ ㄕㄥˋ
戰無不勝 ㄓㄢˋ ㄨˊ ㄅㄨˋ ㄕㄥˋ

二四聲皆加入
也不 ㄧㄝˇ ㄅㄨˋ
也不 ㄧㄝˇ ㄅㄨˊ

[1] https://github.com/openvanilla/McBopomofo/wiki/詞庫開發說明#修正讀音

@lukhnos thanks for merging this gigantic PR! Thanks everyone for the review and suggestions.


new type inference can't figure out type returned by superclass method

With new type inference, it is always necessary to cast the result of calling a superclass method.  Should the compiler be able to figure out the type?
Here is an example:
  /** @inheritDoc */
  PhysicsPath.prototype.toString = function() {
    var s = 'PhysicsPath{name_: "'+this.getName()+'"'
      +", length:" + NF5(this.getLength())
      +", closedLoop: "+this.closedLoop
      +", bounds: "+this.bounds;
    var s2 = /** @type {string} */(PhysicsPath.superClass_.toString.call(this));
    s2 = s2.replace(/^AbstractSimObject\{/, ", ");
    return s + s2;
  };

Without the type cast get this error:
src/lab/model/PhysicsPath.js:194: WARNING - Cannot access property replace of non-object type *.
    s2 = s2.replace(/^AbstractSimObject\{/, ", ");
         ^

Here is the version without the type cast:
  /** @inheritDoc */
  PhysicsPath.prototype.toString = function() {
    var s = 'PhysicsPath{name_: "'+this.getName()+'"'
      +", length:" + NF5(this.getLength())
      +", closedLoop: "+this.closedLoop
      +", bounds: "+this.bounds;
    var s2 = PhysicsPath.superClass_.toString.call(this);
    s2 = s2.replace(/^AbstractSimObject\{/, ", ");
    return s + s2;
  };

Closure Compiler (http://github.com/google/closure-compiler)
Version: v20150126-82-g85da5b6
Built on: 2015/02/25 09:03

I guess it's just using call that is the problem?  Here is another case that doesn't involve a superclass.  Seems like the compiler could know the type returned by doing call on a field that has a function type?
src/lab/util/ParameterBoolean.js:156: WARNING - Returned type does not match declared return type.
declared : boolean
found    : *

  return this.getter_.call(this.subject_);
  ^

/** @classdesc Provides access to a boolean value of a {@link Subject}.
@param {!myphysicslab.lab.util.Subject} subject the {Subject} whose value this
    {ParameterBoolean} represents
@param {string} name the localized name of this {Parameter}
@param {function(this: myphysicslab.lab.util.Subject): boolean} getter A method of
    `subject` with no arguments that returns the value of this {Parameter}
@param {function(this: myphysicslab.lab.util.Subject, boolean)} setter A method of
    `subject` with one argument that sets the value of this {Parameter}
@param {!Array.<string>=} choices the translated localized strings corresponding to the
    values, or null
@param {!Array.<boolean>=} values the booleans corresponding to the choices that the
    parameter can be set to, or null
@constructor
@implements {myphysicslab.lab.util.Parameter}
*/
myphysicslab.lab.util.ParameterBoolean = function(subject, name, getter, setter,
    choices, values) {
  /**
  @type {!myphysicslab.lab.util.Subject}
  @private
  */
  this.subject_ = subject;
  /**
  @type {string}
  @private
  */
  this.name_ = name;
  /**
  @type {function(this:myphysicslab.lab.util.Subject): boolean}
  @private
  */
  this.getter_ = getter;
  /**
  @type {function(this:myphysicslab.lab.util.Subject, boolean)}
  @private
  */
  this.setter_ = setter;

/** Returns the boolean value of this {ParameterBoolean}.
@return {boolean} the boolean value of this {ParameterBoolean}
*/
ParameterBoolean.prototype.getValue = function() {
  return this.getter_.call(this.subject_);
};

Yeah, this is about typing of the call property, it doesn't have to do with inheritance.

confirmed fixed in Version: v20150505-75-ge7dc272


Display Profile View Count

Hi,
I’d like to propose a feature that displays the profile view count, allowing users to track how many times their profile has been viewed. This would be a fun and informative addition to profile customization, providing users with useful statistics.
An example of the visual appeal is

I'd be happy to take on this issue and implement this feature. Please let me know if I can proceed!

Hi @iampavangandhi Please let me know if I can proceed!

Hi @Arielpetit, I added that feature before but It stopped working randomly after some time. You can check the code and fix/replace that