dolphin-selenium getting inactive after a while

For some reason from time to time I have to open anty dolphin software and refresh the browsers tab for the API to work again, can you give me your advice on this DedInc? thank you, love your work!

Hey, DedInc, I think there is an issue with the delete profiles API thing, after deleting more than 30 profiles they all came back once again after a while, not sure why
This is related to my problem above, this is the real problem, I am still looking into it

I tried debugging this
    def delete_profiles(self, ids):
        r = self.s.delete(
            'https://dolphin-anty-api.com/browser_profiles?forceDelete=1', json={'ids': ids})
        try:
            print(r.text) // debug
            return r.json()
        except:
            raise RuntimeError(r.text)

and I got this log (86 times in a row):
{"success":true}
{"success":true}
{"success":true}
{"success":true}
{"success":true}
{"success":true}
{"success":true}
{"success":true}
{"success":true}
{"success":true}
{"success":true}
{"success":true}
{"success":true}
{"success":true}
{"success":true}
{"success":true}
{"success":true}
{"success":true}
{"success":true}
{"success":true}
{"success":true}
{"success":true}
{"success":true}
{"success":true}
{"success":true}
{"success":true}
{"success":true}
{"success":true}
{"success":true}
{"success":true}
{"success":true}
{"success":true}
{"success":true}
{"success":true}
{"success":true}
{"success":true}
{"success":true}
{"success":true}
{"success":true}
{"success":true}
{"success":true}
{"success":true}
{"success":true}
{"success":true}
{"success":true}
{"success":true}
{"success":true}
{"success":true}
{"success":true}
{"success":true}
{"success":true}
{"success":true}
{"success":true}
{"success":true}
{"success":true}
{"success":true}
{"success":true}
{"success":true}
{"success":true}
{"success":true}
{"success":true}
{"success":true}
{"success":true}
{"success":true}
{"success":true}
{"success":true}
{"success":true}
{"success":true}
{"success":true}
{"success":true}
{"success":true}
{"success":true}
{"success":true}
{"success":true}
{"success":true}
{"success":true}
{"success":true}
{"success":true}
{"success":true}
{"success":true}
{"success":true}
{"success":true}
{"success":true}
{"success":true}
{"success":true}
{"success":true}

Try debugging this too, maybe you will understand what the problem is, or the problem is something else (not in the API itself).

Thank you for your response DedInc, i am testing your code atm, for the mean while can you test mine? I keep getting this error
This is the error:
Exception in thread Thread-5 (run_browser_automation):
Traceback (most recent call last):
  File "C:\Users\User\AppData\Local\Programs\Python\Python312\Lib\threading.py", line 1052, in _bootstrap_inner
    self.run()
  File "C:\Users\User\AppData\Local\Programs\Python\Python312\Lib\threading.py", line 989, in run
    self._target(*self._args, **self._kwargs)
  File "z:\Test code.py", line 19, in run_browser_automation
    port = response['automation']['port']
           ~~~~~~~~^^^^^^^^^^^^^^
KeyError: 'automation'

This is my code, I am using the example code you gave us which is great, I have just added threading to it, after running this code for like 30-60min I keep getting that error and sometimes when I start
import random
import threading
import selenium_dolphin as dolphin
from selenium_dolphin import DolphinAPI, STABLE_CHROME_VERSION
from selenium.webdriver.chrome.options import Options

def run_browser_automation(api_key):
    api = DolphinAPI(api_key='You API Key')

    while True:
        fingerprint = []
        while not fingerprint:
            fingerprint = api.generate_fingerprint(platform='windows', browser_version=f'{random.randint(114, STABLE_CHROME_VERSION)}')

        data = api.fingerprint_to_profile(name='my superprofile', fingerprint=fingerprint)
        profile_id = api.create_profile(data)['browserProfileId']

        response = dolphin.run_profile(profile_id)
        port = response['automation']['port']

        options = Options()
        options.add_argument("--start-maximized")

        driver = dolphin.get_driver(options=options, port=port)
        driver.get('https://google.com/')
        print(driver.title)
        driver.quit()

        dolphin.close_profile(profile_id)
        api.delete_profiles([profile_id])

# Threads list
threads = []

# Creating 5 threads
for i in range(5):
    thread = threading.Thread(target=run_browser_automation, args=('your_api_key_here',))
    threads.append(thread)
    thread.start()

# Joining all threads
for thread in threads:
    thread.join()

this error
my working way with threads:
import asyncio
import random
from loguru import logger
from threading import Lock
import selenium_dolphin as dolphin
from selenium_dolphin import DolphinAPI, STABLE_CHROME_VERSION
from concurrent.futures import ThreadPoolExecutor
from string import ascii_letters, digits
from config import dolphin_key
import nltk

file_lock = Lock()

try:
    words = nltk.corpus.words.words()
except:
    nltk.download('words')
    words = nltk.corpus.words.words()

api = DolphinAPI(api_key=dolphin_key)

logger.info('Getting list of profiles')
response = api.get_profiles()
if response['data']:
    for profile in response['data']:
        profile_id = profile['id']
        if profile_id:
            logger.info(f'Deleting profile {profile_id}')
            api.delete_profiles([profile_id])

valid_proxies = []
with open('proxies.txt', 'r') as f:
    valid_proxies = f.read().splitlines()

def process_profile(i, proxy):
    try:
        logger.info(f'Profile {i+1} | Generating fingerprint')
        fingerprint = []
        while not fingerprint:
            fingerprint = api.generate_fingerprint(platform='windows', browser_version=f'{random.randint(114, STABLE_CHROME_VERSION)}')

        username = f'{random.choice(words)}{random.randint(1000, 9999)}'
        password = ''.join(random.choices(ascii_letters + digits, k=random.randint(8, 12)))

        logger.info(f'Profile {i+1} | Creating profile')
        data = api.fingerprint_to_profile(name=f'profile{i+1}', fingerprint=fingerprint)

        if '@' in proxy:
            dem = proxy.split('@')
            address = dem[1]
            ip, port = address.split(':')
            creds = dem[0]
            login, password = creds.split(':')
        else:
            ip, port = proxy.split(':')
            login = None
            password = None

        proxy_dict = {'proxy': {
            'name': f'socks5://{proxy}',
            'host': ip,
            'port': port,
            'type': 'socks5'
        }}

        if login and password:
            proxy_dict['proxy'].update({
                'login': login,
                'password': password
        })

        data.update(proxy_dict)

        profile_id = api.create_profile(data)['browserProfileId']

        logger.info(f'Profile {i+1} | Launching profile')
        response = dolphin.run_profile(profile_id, True)
        port = response['automation']['port']
        ws_endpoint = response['automation']['wsEndpoint']

        from mailgw import MailGW
        import re
        async def main(profile_num, username, password):
            clz = False
            try:
                browser = await dolphin.get_browser(ws_endpoint, port)
                pages = await browser.pages()
                page = pages[0]

                logger.info(f'Profile {profile_num} | Going to registration page')
                await page.goto('https://ru3.bongacams.com/continue-18-plus', waitUntil='networkidle0')
                try:
                    logo_link_exists = await page.waitForSelector('.logo_link')
                except:
                    logo_link_exists = None

                if logo_link_exists:
                    await page.goto('https://ru3.bongacams.com/members/join')
                else:
                    logger.error(f'Profile {profile_num} | Failed to go to registration page')
                    raise Exception('Failed to navigate to registration page')

                logger.info(f'Profile {profile_num} | Filling out registration form')
                username_field = await page.waitForSelector('#user_member_username')
                await username_field.type(username)

                password_field = await page.waitForSelector('#user_member_password')
                await password_field.type(password)

                checkbox_field = await page.waitForSelector('#user_member_terms_of_use')
                await checkbox_field.click()

                await asyncio.sleep(0.3)

                submit_button = await page.waitForSelector('.join_submit')
                await submit_button.click()

                account_card = await page.waitForSelector(f'.name[title="{username}"]')
                await account_card.click()

                try:
                    mail_field = await page.waitForSelector('input[name="email_popup"]')
                except:
                    logger.error(f'Profile {profile_num} | Failed to find email input field')
                    raise Exception('Failed to find email input field')

                logger.info(f'Profile {profile_num} | Confirming email')
                m = MailGW()
                await mail_field.type(m.email)

                await asyncio.sleep(0.3)

                submit_button = await page.waitForSelector('.acef_btn')
                await submit_button.click()

                msg = m.wait_for_message()
                pattern = r'https://bongacams.com/members/confirm-email/[a-zA-Z0-9]+'
                match = re.search(pattern, msg)
                link = match.group().replace('bongacams.com', 'ru3.bongacams.com')
                await page.goto(link)

                logger.info(f'Profile {profile_num} | Email confirmed')

                element = await page.waitForSelector('.js-tokens')

                await asyncio.sleep(1.5)
                tokens = await page.evaluate('(element) => element.textContent.trim()', element)
                tokens = int(tokens)

                if tokens:
                    logger.info(f'Profile {profile_num} | Tokens received.')

                    with file_lock:
                        with open('bongas.txt', 'a') as f:
                            f.write(f'{username}:{password}\n')
                else:
                    logger.error(f'Profile {profile_num} | No tokens received')

                await browser.close()
                clz = True

            except Exception as e:
                logger.error(f'Profile {profile_num} | Error: {str(e)}')
                raise

            finally:
                try:
                    if not clz:
                        await browser.close()
                except:
                    pass
                logger.info(f'Profile {profile_num} | Closing profile')
                dolphin.close_profile(profile_id)
                api.delete_profiles([profile_id])

        try:
            asyncio.run(main(i+1, username, password))
        except Exception as e:
            logger.error(f'Profile {i+1} | Error: {str(e)}. Deleting profile and moving to next one.')
            dolphin.close_profile(profile_id)
            api.delete_profiles([profile_id])

    except Exception as e:
        logger.error(f'Profile {i+1} | Error: {str(e)}. Deleting profile and moving to next one.')
        api.delete_profiles([profile_id])

with ThreadPoolExecutor(max_workers=5) as executor:
    futures = []
    for i, proxy in enumerate(valid_proxies):
        future = executor.submit(process_profile, i, proxy)
        futures.append(future)

        if len(futures) == 5:
            for future in futures:
                future.result()
            futures = []

Thank you for sharing this DedInc, learning a lot from you mate, for some reason no matter what I do with my codes I must interact with dolphin anty software every like 1 hour for the API to stay connected, I am still looking further into this
I am reading your code at the moment <3

DedInc what is this, and do you think I should allow it? it's from dolphin anty, but windows firewall is blocking, this might be my problem not sure:

after looking into it more I think the issue is coming from here DedInc, this is from selenium_dolphin.py:
Sorry of I am confusing you a lot here
def get_driver(options=Options(), port=9222):
    system = platform.system()
    architecture = platform.machine()
    driver_path = select_driver_executable(system, architecture)

    if not os.path.exists(driver_path):
        driver_content = get_dolphin_driver()
        unzip_driver_from_memory(driver_content)
        driver_path = select_driver_executable(system, architecture)

    options.add_experimental_option('debuggerAddress', f'<IP_ADDRESS>:{port}')
    driver = webdriver.Chrome(service=Service(driver_path), options=options)
    return driver

try using pyppeteer instead of selenium.

I will give it a try today DedInc, I have a free plan with 30 profiles, do you think this will affect the API limits maybe? cuz i am getting a lot of 401 errors, if I got the base 100 profiles you think this might solve the issue?


Error in console/widgets/Table.php

What steps will reproduce the problem?
Table with empty array as value of some ceil:
        $table = new Table();
        $table->setRows([['something', []]])->run();

What is the expected result?
empty ceil / only dot
What do you get instead?
PHP Warning 'yii\base\ErrorException' with message 'max(): Array must contain at least one element'

in /var/www/html/vendor/yiisoft/yii2/console/widgets/Table.php:333

Additional info

Q
A

Yii version
yiisoft/yii2                                     dev-master 0d11a58 Yii PHP Framework Version 2

PHP version
7.3.10

Operating system
alpine

I can do a PR for this.
Thought about adding an emptyCell property to the Table class that can have a default value too.

Why do we need a special value for empty cell? Isn't it a number of spaces all the time?

My thinking, cells would be empty by default but you can specify a string to use for empty cells too.
$table = new Table();
$table->setRows([['something', []]])->run();

Col 1
Col2

Something

$table = new Table(['emptyCell' => 'N/A']);
$table->setRows([['something', []]])->run();

Col 1
Col2

Something
N/A

Let's implement it with always empty cells and see later if customizing it would be requested.


Basic and number conversion calculator

This calculator is designed for basic calculations and convert the decimal, binary and octal numbers

I have changed the required file name to index.html and opened a pull request, do you think I should open an issue again or is this issue enough? 😎


Claryfing MTP configuration.

We already had one client and one private user confused by how to correctly add MTP to their image without having to perform registry changes manually, so it would be good to add the below changes to the instructions to make the process easier to understand.

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

windows-iotcore/connect-your-device/MTP.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


[Gally]: master <- dev

Automatically created by Git-Ally

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


No panicking on invalid option

Basically, this just returns an empty vector instead of panicking when an invalid option is passed

Thanks for the PR and the report! I believe this is currently intentional, however, as it's almost always a program logic error if you're asking for values of an option that was never defined. These sorts of panics should in theory come up through any immediate testing a program has.
I do agree, however, that the panic message could be better though!

I believe this is currently intentional

I think libraries should let the user decide whether he wants to cause a panic or not. I tried some example code with this, and you could use .expect("No option defined") or .unwrap() to get the same result, except that the user of the library can choose how he wants to go about dealing with an invalid option.
The reason why I needed this was because of this line of code here, so that I can set a dictionary source flag such as "-u" or "--urban" and have it work without having to modify the code everytime I add a new source

I think that this may work best with adding another accessor perhaps? One that could be used to test whether an option was defined or not?
I know that I've been burned by this in the past where if this didn't panic! it would have taken forever to figure out that I forgot to add an option or remove one.

Something like an opt_vals_try?

Perhaps something along the lines of is_opt_defined or something like that? We tend to avoid having both panicking and non-panicking versions of functions

How about that ^

Looks good to me! Can you add a test as well?

Over here? https://github.com/rust-lang-nursery/getopts/blob/master/tests/smoke.rs

You could also add one to the tests module in src/lib.rs as well

Done

Thanks!


Uncaught (in promise) TypeError: Document not active

The error is coming when the app is first launched. The problem is on line 102:
document[fn.exitFullscreen]();
I fixed this issue by catching the error thrown by the promise like this :
document[fn.exitFullscreen]().catch(() => {});
Would love to have this solution officially.
For reference, I am using version 3.3.3. I also updated to the latest version which is at the moment v4.0.0 but the error is still there.

I faced the same issue with Chrome 72.
There was an other solution in https://github.com/jpilfold/ngx-image-viewer/issues/23
what has worked for me too.

Go to the file : ~src/node_modules/screenfull/dist/screenfull.js .
find around line 100 the exit function .
3.replace with the following :

exit: function () {
   if (this.isFullscreen) {
	document[fn.exitFullscreen]();
  }
},

fix solution:
document.exitFullscreen().catch(err => Promise.resolve(err))


sort-by not sorting as expected

What happened: When using sort-by on certain fields, output is sorted unexpectedly
What you expected to happen: Proper numerical sort on resource request fields
How to reproduce it (as minimally and precisely as possible):

On kubectl get pods -A  -o=custom-columns='CPU:.spec.containers[*].resources.requests.cpu,MEM:.spec.containers[*].resources.requests.memory,NAME:.metadata.name' --sort-by='.spec.containers[0].resources.requests.cpu'
Following output is returned (cropped massively):
2                8Gi               some-pod
<none>           <none>            some-pod
<none>           <none>            some-pod
<none>           <none>            some-pod
2                8Gi               some-pod
1                6Gi               some-pod
1                6Gi               some-pod
1                6Gi               some-pod
10m              <none>            some-pod
10m              <none>            some-pod
10m              <none>            some-pod
10m              <none>            some-pod
10m              <none>            some-pod
10m              <none>            some-pod
10m              <none>            some-pod
10m              <none>            some-pod
10m              <none>            some-pod
50m              100Mi             some-pod
50m              32Mi              some-pod
50m              32Mi              some-pod

Expected behaviour was to show larger requests (2 and 1 full vCPU) below 10 and 50 milicpus.
Also, pods without requests are just randomly thrown around at the beginning of the output.
Anything else we need to know?:
Environment:

Kubernetes client and server versions (use kubectl version):
Also on server version 19.

Server Version: version.Info{Major:"1", Minor:"17+", GitVersion:"v1.17.12-eks-7684af", GitCommit:"7684af4ac41370dd109ac13817023cb8063e3d45", GitTreeState:"clean", BuildDate:"2020-10-20T22:57:40Z", GoVersion:"go1.13.15", Compiler:"gc", Platform:"linux/amd64"}```
- Cloud provider or hardware configuration:
- OS (e.g: `cat /etc/os-release`): Arch Linux

Please note: I am quite aware this is same behaviour I'd get by using sort on a particular column, but that is exactly why I didn't want to use that command in this case :)

There might be a bug with custom columns. Could even be a TODO somewhere in there to fix it.
/triage accepted
/help
/priority backlog

I was able to reproduce the bug, will take a look 😃

/assign

@eddiezane @soltysh
I have digged into it and found the issues lie into here(https://github.com/kubernetes/kubectl/blob/0223f3fef06550cd3783f8044f0bd7f96d8dd954/pkg/cmd/get/sorter.go#L265)
They are both detected as string, and because the package is using natural sort package (https://github.com/fvbommel/sortorder/blob/master/natsort.go). I tried to add a test case to compare 100m and 1 over here (https://github.com/fvbommel/sortorder/blob/26fad50c6b32a3064c09ed089865c16f2f3615f6/natsort_test.go#L28) the expected output is 1 < 100m.
Unless we use a regex and check if it's a number, if it's a number then we will convert them to float and check?

Synced up with @lauchokyip. They're going to take a look at parsing into a Quantity and sorting off of that.


add auto-publish script

extend travis to, once tested and all passing, auto pack the nuget package and push it. Will need to be done on a windows machine as we already have a (now) working push script here

Could this publish 'beta' versions and then have official release versions manually published for more consistency with releases?

sounds like a good idea, maybe split into two branches: beta and master. Or even master (for beta) and production?

Yeah using separated branches would work well


Update the CI checks to package up Fidesctl and then pip install it

Is your feature request related to a specific problem?
There is currently an issue where it is possible for features/tests to pass when using fidesctl as a local install (i.e. pip install -e .) but fail when pip installing the real package. This is often due to MANIFEST.ini issues or forgetting __init__.py files in subdirectories
Describe the solution you'd like
Update our CI checks so that they build the package and install it as if it were a real pip package. This will surface any issues that we would have with the real deployment.
Describe alternatives you've considered, if any
Using pypi-test but this would add an additional external dependency and could have additional restrictions
Additional context
This is a very common (maybe the most common) type of bug that gets reported by end-users.

this thread points us in the right direction:
pip install . will give us what we want, but we should probably do this in another Docker build layer so that during local dev our docker container still contains the symlinked version pip install -e .


Upgrade Rails to 6.1

Tasks to do on the rails-6.1 branch:

[x] bin/rails app:update
[x] Upgrade rspec and friends
[x] Upgrade spring
[x] Upgrade delayed_job / delayed_job_active_record
[x] Look into config/initializers/new_framework_defaults_6_1.rb

I'm merging this after seeing this running fine so far.


Add CloudCompare Latest

https://github.com/caskroom/homebrew-cask/issues/39886

After making all changes to the cask:

[x] brew cask audit --download {{cask_file}} is error-free.
[x] brew cask style --fix {{cask_file}} reports no offenses.
[x] The commit message includes the cask’s name and version.

Additionally, if adding a new cask:

[x] Named the cask according to the token reference.
[x] brew cask install {{cask_file}} worked successfully.
[x] brew cask uninstall {{cask_file}} worked successfully.
[x] Checked there are no open pull requests for the same cask.
[x] Checked the cask was not already refused in closed issues.
[x] Checked the cask is submitted to the correct repo.

Thank you for your contribution.

Thanks a lot!


Wrong ports description

https://github.com/hopsoft/docker-graphite-statsd#mapped-ports
2003/2004 are carbon receivers (carbon cache)
2023/2024 are carbon aggregators

Thanks

Updated README with new descriptions. https://github.com/hopsoft/docker-graphite-statsd/commit/58d03c62c843725f14f06877cc31d048148c9d81


Docs: Fix README.md to point to the right action repo

Mind opening an PR to https://github.com/Elskom/publish-nuget/ I had to add some changes of my own to this action to proerly support file globbing and building packages all at once (using an input solution file path) and then push them making it more optimized?


Fix for unsafe serialization stemming from using ObjectInput/ObjectOutput stream

Three distinct commits to address unsafe serialization issues that could be problematic if Emissary is running in unsecured environments.

Remove unsafe serialization from PayloadUtil.
Remove vestigial "MoveTo" code (that called unsafe serialization in PayloadUtil) - it is incomplete and not used, so should be archived. If future efforts to complete this work emerge, the code can be resurrected from this commit.
Remove unsafe serialization in HTTP-related WorkSpace code using simple s11n via DataInputStream and DataOutputStream. This is an compatibility-breaking change.

NOTE: the Emissary team is prepping a more extensive vulnerability report related to this.

Not thrilled with the implementation of readUTF and its usage in this context. Will consider an alternate implementation.

Reviewers, this is ready to go.

https://github.com/NationalSecurityAgency/emissary/commit/40260b1ec1f76cc92361702cc14fa1e4388e19d7


Let last_insert_id optional and flexible.

PR Info

Notes:

#1875
#1992

I'm sorry for submitting such a PR so presumptuously. I found that the type of last_insert_id is flawed.

For Postgres, a valid last_insert_id will not be returned anyway, because Postgres may directly use a non-integer primary key.
The primary key specified by the table may not be able to auto-increment. For cases where auto-increment is not possible, we should not return a specific ID.
For proxy connection type databases, whether to return a valid last_insert_id is entirely up to the user. If the user cannot get a valid ID from the actual database transferred (for example, for databases such as surrealdb, their IDs are UUIDs rather than integers), it is unreasonable to return a 0 directly.

This change is likely to affect a considerable number of downstream libraries, so it is a breaking change. Whether to make such a change requires discussion and decision.
Breaking Changes

[x] Let last_insert_id optional.
[x] Let last_insert_id follows the primary key's type.
[x] Allow initialize custom primary key on server.

I am not in a hurry to merge now. I am trying to make more radical changes to synchronize last_insert_id directly with the type corresponding to PrimaryKey instead of hard-coded u64 type. It may adapt to more complex table structures.
In addition to the fact that this field should be optional, I also consider the default generation of PrimaryKey. As mentioned in another discussion I cited, what we actually need is not necessarily a query logic that "may not return last_insert_id", but that we can generate the primary key by SeaORM instead of the database engine if necessary.
Combining these two requirements, we get a last_insert_id that can be generated in advance and returned normally without hard-coding it as u64. Not only meet the needs of primary keys that may not necessarily return u64 type, but also specify the "default value" of this primary key which is generated by us in advance rather than provided by the database engine itself.
Finally, let's review the scenarios where this is applicable. One type is to use such as UUID, ULID, GUID as the primary key of the database table. The other type is to use the creation time as the index of the database table. Both of these types belong to the categories that the database engine cannot guarantee to have their corresponding implementations. We should indirectly provide auxiliary implementations through ORM.

By the way, it stands to reason that we should also provide a shortcut to achieve the implementation of the key is_deleted and the key updated_at, although I think this may need to be discussed separately. They are used to implement soft deletion and optimistic locking respectively.

cc @billy1624 @tyt2y3
Please take a look at whether this modification is feasible if you have anytime..

hi, thank you for your contribution. this is such a big breaking change. may I ask what's the original usecase for it?
can you provide an example?

hi, thank you for your contribution. this is such a big breaking change. may I ask what's the usecase for it?
can you provide an example?
we have a TryInsert struct, may be it is more suitable for what you're trying to do?

The example revision is already included in this PR.
By the way, I took a look at the implementation of TryInsert. I found that the return value of exec_without_result might be unreasonable. Specifically, even if the database does not necessarily need to return the object just inserted after execution, the index ID returned by the database is not necessarily of the u64 type, but needs to follow the <dyn EntityTrait>::PrimaryKey type.
I am considering whether I need to make further improvements to the question I just asked..


Safekeeper: "read from .../safekeeper.control" failed: deserialize error: failed to fill whole buffer

That message pops up a lot in safekeeper logs. AFAIK that happens on the first access to the timeline and in reality that is just a misleading but not harmful error message. If that is the case let's fix that.

Already did that in #315

@arssher is that merged?

Yes.


[Docker Hub] Support unattended repo creation via the API

Tell us about your request
Add official support for unattended creation of repos via the Docker Hub API.
Which service(s) is this request for?
Docker Hub.
Tell us about the problem you're trying to solve. What are you trying to do, and why is it hard?
Currently there is no official/supported way of creating repos via the API, so fully-unattended automation (eg of a GitOps CI/CD flow for image building) is not possible. If a new image name is required, the repo must be created manually first.
Are you currently working around the issue?
Manually.
Additional context
I opened a support request with our Docker account manager, who confirmed that no official API currently exists.
It is possible to POST a request to the API (eg using curl), mimicking what the browser does for the web frontend, as outlined in this SO question, but this does not work at all for personal access tokens, and only "works" for standard username/passwords if you don't have 2FA enabled.
If you obtain the JWT from the authentication endpoint using a personal access token, when you then post to the "create repository" endpoint it gives an error saying that access is forbidden:
{"detail": "access is forbidden with a JWT issued from a personal access token"}%
If you try and obtain the JWT using a standard Docker Hub username and password with 2FA enabled, it requires a second authentication step to supply the 2FA code.
This also does work, but is obviously not possible to automate fully as the 2FA code is required each time.

Thanks for the feedback @joehorsnell! I agree that being able to control more of Hub via API would be a great feature.


non_model property for create_rectangle (2D)

The function create_rectangle unfortunately has no property non_model.
Is there a command to change this afterwards?

the property you look for is called "model"
By default is True
example:
rect = m2d.modeler.create_rectangle([0,0,0],[10,5])
rect.model = False


Can't see 'Auto install approved apps'

According to this doc: https://learn.microsoft.com/en-us/microsoftteams/auto-install-approved-apps
Enable the Auto install approved apps feature in Teams admin center, but i can't find ''Auto install approved apps'. I am global admin.

Thank you for reporting this issue, we will check this and get back to you.

@KaratLee - The feature is gradually being made Generally Available (GA) to all tenants. That might be the reason for "Auto install approved apps" being invisible.

@Meghana-MSFT Our tenantId is 59a1f10b-8245-45f6-8690-1b7821cc7630, can you help open this new feature for our tenant? Thank you very much.

@KaratLee - We will check internally and get back to you. Thank you.

@KaratLee - Could you please confirm if you are able to see the 'Auto install approved apps' option?


Is load_xdf automatically downloading a mex file? It doesn't work!

Around 4pm CET today, all my analysis scripts broke because load_xdf and Matlab conspired to download an outdated version of the load_innerloop mex file. I see that this is trying to happen here:
https://github.com/xdf-modules/xdf-Matlab/blob/5b27b8cf9577dd903cbfb5386ffbf04c0441eddb/load_xdf.m#L238-L259
But, as far as I know this has never worked.  I dealt with this by simply commenting the code out.
I am really quite perplexed because I was working on some analyses all day and then it just stopped working. I didn't do a pull, but that shouldn't matter because nothing has changed for quite some time anyway.
As a side note, I am also unable to compile the .c file, but that might be an issue with my C compiler environment rather than Matlab. It's tricky business dealing with the mex interface, but this can definitely be improved here.

Following - I encountered the same issue yesterday and commenting out the part seems to have resolved it.

@tstenner , is this intended to be solved by https://github.com/xdf-modules/xdf-Matlab/pull/5 ?
Can you please test it, @dmedine , @sjeung , @brainybrown2 ?

Intended, but not checked as we don't have Matlab on Windows in our department.

I can check it.
This doesn't explain (to me anyway) several things. The first is why all of a sudden load_xdf.m started behaving this way (I was literally using it all morning and then in the afternoon it started failing) or why the mex file it downloads is completely empty. I checked the commit history and didn't see anything that would explain this.

And to anyone else having this issue, a temporary solution is to comment out the lines 237-259 and add the code:
have_mex = true;
at line 260. You will also have to delete any .mex file from the directory that has load_xdf.m in it.

There are several changes to test. Please start with a fresh git clone --recursive https://github.com/sccn/xdf.git and try again.
Changes:

Merged Tristan's PR
Fixed the download URL and added binaries for Win64, Mac64, Linux64
Attemps to self-compile when download fails

This definitely fixes the issue in the title, though I'm not 100% sure it fixes the other linked issues that we've redirected here. I'll close the issue anyway but we can create a new one or reopen this one if the problem persists.

Works for me on Windows 10, Matlab 2019b. This update should also go upstream to the EEGLab repository. I am not quite sure how that is working these days, maybe Arno and Ramon have it all setup to be sync'd.
Thanks @tstenner for taking care of this! I was very worried that this would cause the whole world to explode. I anticipate a lot of spurious issues relating to this being posted in the future.

It's been updated in the xdf-EEGLAB repository (here), but I have no idea how they sync that with their plugins distributions.
@arnodelorme can you please update whatever it is that needs to be updated to use the latest version of the above repository? It hasn't changed at all other than pointing to a newer version of the xdf-Matlab submodule.

I had a similar issue as above:
R2018a MATLAB on Windows 10, latest EEGLAB and xdfimport.
Scripts suddenly started failing, and came up with incompatible mex error.
It was running fine for first load, but created an empty mex file for "load_xdf_innerloop.c" in the xdf folder.
Used MATLAB MinGW-w64 C/C++ Compiler to create a mex file for "load_xdf_innerloop.c" and it worked after this.
Glad to find a more elegant temporary solution above. thank you.

Good work @cboulay! I was about to compile some mex files as well but you beat me to it. I just tested the update (using xdf-Matlab repo) on my Linux system (Ubuntu 16.0.4) using Matlab 2018a, and I confirmed it successfully downloaded the new mexa64 file, and used it properly for the import. I haven't tried other platforms, but wanted to confirm Linux works.


gemini integration

quality controls
cutting video at the right time work
examples
script_example.py
Better quality function
changes working
work working
commit
solving bugs and code reviews
sonarcloud corrections
test_quality_check added
removing prints
removing url
generating zoom video in case regeneration fails
bug lower
new webp format

[!WARNING]
This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

#163
#162
#161
#160  👈 (View in Graphite)
#159
#158
main

This stack of pull requests is managed by Graphite. Learn more about stacking.


How to retrieve the CommandLn from Config

Hi,
I'm trying to get the command line from a config as in the code below:
  cfg := sphinx.NewConfig(
    sphinx.HMMDirOption("/usr/local/share/pocketsphinx/model/en-us/en-us"),
    sphinx.DictFileOption("test/art_db.phone"),
    sphinx.LMFileOption("/usr/local/share/pocketsphinx/model/en-us/en-us.lm.bin"),
  )
  fmt.Println("cfg =", cfg)
  cmdLn := cfg.CommandLn()
  fmt.Println("cmdLn =", cmdLn)

which produces:
cfg = &{map[-dict:test/art_db.phone -hmm:/usr/local/share/pocketsphinx/model/en-us/en-us -lm:/usr/local/share/pocketsphinx/model/en-us/en-us.lm.bin] <nil>}
cmdLn = &{}

It looks like the configuration options are there but the call to CommandLn comes up empty. I guess I must be missing something here so how should I get the command line?
The reason I want the command line is because I'd like to call DefaultSearchArgs to get the -hmm and -lm settings rather than doing it explicitly as I've shown here, and that call expects a []CommandLn parameter
Any help would be welcome. Thanks...

Try calling .Deref() on the object

Thanks for getting back promptly. Not sure what you mean though, .Deref() on what object, Config, CommandLn? As far as I can see .Deref() is defined on Arg, FsgLink and JSGFRuleIter.


Update market details

Market details bar improvements

Fixes padding on smaller screens
Removes 24 hr trades and oracle price
Added OI cap
Truncates million values to e.g. $2.4M

Screenshots (if appropriate):

Add tooltip, e.g.

Maximum open interest value on either side of the market indicated in sUSD.

Add tooltip, e.g.

Maximum open interest value on either side of the market indicated in sUSD.


Add the needs-ok-to-test label to Konflux Config PRs

Add the needs-ok-to-test label to Konflux PRs to save prow CI resources.
From the gh cli docs:

-l, --label
Add labels by name

Also in slack

/lgtm


feat(lesson): pep8, linters & code formatters

todo: add to bottom  of intro clean code page:
[^zenofpython]: Paste this into your shell: python -c 'import this'``

@lwasser @sneakers-the-rat Let's split this PR up or merge as is and then do another iteration. I'm finding it difficult to work with all three files in the same PR and follow proposed edits.
I would love to see something more along the lines:

Create maintainable code

Why it's helpful
What are elements of maintainable code

Clean
Modular
Readable
Consistent code style
DRY: minimize code repetition

Code style

What is code style
Why it's important

Easier to maintain
Easier to change and review

Types of tools (generic)

Linters
Formatters
Integrated into editors, IDEs, CI

Python code style: PEP8 and beyond

PEP8
black

Etc.

@lwasser Let's merge this as is and iterate on separate PRs.

Ok fantastic yall. Let's do this

When I'm back at.my computer I'll turn the bigger comments into issues!
I already committed the online edits!
I'll merge so we can then iterate on smaller prs. This likely will happen after the fall festival but I'm excited to work on this with everyone!! And I'll keep each pr small from here on in..

I hope that works for you both!! ✨


Add third option to send from Domain Address

Fixes #14
This pull request adds a third option to send from Domain Address
To resolve an issue where the FROM address needs to be a Site Domain address, but the TO: address is different and the Users own address can't be used.
Added Last Know PHP Error to Error output because the current one meant nothing.
Tested against Bludit v3.7.1 & v3.9.2 sent via PHP mail() and SMTP, both plain text and HTML.

Thanks a lot! I'll fix some other bugs and then I will release a new version with this feature.


Streamline config invocation when coupled with groups

Closes #2209
Fixes #2209  .
Did you remember to?

[X] Add test case(s)
[X] Update CHANGES.txt

Could you check https://github.com/cbeust/testng/issues/2209#issuecomment-570518327 at the same time?

@juherr

Could you check #2209 (comment) at the same time?

I have fixed it. I dont have a test to validate that either. But the build doesn't break (never broke before too)


[Snyk] Security upgrade jest from 26.6.3 to 28.0.0

This PR was automatically created by Snyk using the credentials of a real user.![snyk-top-banner](https://github.com/andygongea/OWASP-Benchmark/assets/818805/c518c423-16fe-447e-b67f-ad5a49b5d123)
Snyk has created this PR to fix 1 vulnerabilities in the yarn dependencies of this project.
Snyk changed the following file(s):

package.json
yarn.lock

Note for zero-installs users
If you are using the Yarn feature zero-installs that was introduced in Yarn V2, note that this PR does not update the .yarn/cache/ directory meaning this code cannot be pulled and immediately developed on as one would expect for a zero-install project - you will need to run yarn to update the contents of the ./yarn/cache directory.
If you are not using zero-install you can ignore this as your flow should likely be unchanged.
Vulnerabilities that will be fixed with an upgrade:

Issue
Score

Denial of Service (DoS) SNYK-JS-WS-7266574
  554

[!IMPORTANT]

Check the changes in this PR to ensure they won't cause issues with your project.
Max score is 1000. Note that the real score may have changed since the PR was raised.
This PR was automatically created by Snyk using the credentials of a real user.

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open fix PRs.
For more information:
🧐 View latest project report
📜 Customise PR templates
🛠 Adjust project settings
📚 Read about Snyk's upgrade logic

Learn how to fix vulnerabilities with free interactive lessons:
🦉 Denial of Service (DoS)

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


VPC and Security Group

creates a VPC and Security group for this stack
launch template (with extended storage) for CPU machines
other minor comments and clean up

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (cfa6c34) 71.02% compared to head (2a43ffb) 71.03%.
Report is 12 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #118      +/-   ##
==========================================
+ Coverage   71.02%   71.03%   +0.01%
==========================================
  Files          73       73
  Lines        4410     4409       -1
==========================================
  Hits         3132     3132
+ Misses       1278     1277       -1

Flag
Coverage Δ

unittests
71.03% <ø> (+0.01%)
:arrow_up:

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

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

This looks good to me, but just one question...
with the non-default vpc, are we going to get charged for the NAT Gateway again? I remember there were 2 components for that charge -- (a) the uptime, and (b) the network traffic processed.

@magland we don't need a nat gateway here, since the VPC has only public subnets.
I believe before we were trying to set this up with a private VPC


Do the requirements in the .mlem have to be installed in order to build it?

Using the latest release 0.2.7, I have linked a model from another repo and named it mental_health_model. It has scikit-learn under the requirements section of its .mlem file.
When I run:
mlem build --conf package_name=mental_health_classification --conf target=build/ mental_health_model pip
I get:
⏳ Loading model from .mlem/link/mental_health_model.mlem
🔗 Loading link to
https://github.com/trend-community/mentalHealthClassification/tree/master/.mlem/model/classifier.mlem
❌ Unexpected error: No module named 'sklearn'
Please report it here: <https://github.com/iterative/mlem/issues>

Am I expected to already have the requirements of the linked model installed in order to build this?

Can you confirm that if you install the module everything works?

It does, but interestingly, there are additional dependencies in the .mlem requirements like Pandas that aren't installed when building. This is what's in the requirements section of the .mlem
- module: sklearn
  version: 1.1.1
- module: scipy
  version: 1.8.1
- module: pandas
  version: 1.4.3
- module: numpy
  version: 1.23.1

Could have something to do with the naming discrepancy of module/package name of scikit-learn?

This happens because building pip package involves model cloning, and cloning involves reading and deserializing metadata. model_type field of model metadata tries to deserialize into SklearnModel, which is a part for mlem.contrib.sklearn extension, which in turn requires sklearn to be available.
This should not happen since model_type is a lazy field (it is deserialized only on direct access) and cloning does not need  direct access. I will investigate why it does not work as it should

Having trouble reproducing it, can you install from main and retry?

Installed from main. I am using Python 3.10.6, and I created my virtual env with the following setup.py:
from setuptools import setup

setup(
    name="treNLP_model_registry",
    py_modules=[],
    install_requires=[
        "mlem",
        "gto",
        "dvc[s3]==2.9.5"
    ]
)

Not sure if it's relevant but I am using an old release of DVC due to this issue. After running that same command in the initial comment, I do get the same output.

Can you try this branch?

That worked!


Update apache-client, kinesis to 2.20.130

About this PR
📦 Updates

software.amazon.awssdk:apache-client
software.amazon.awssdk:kinesis

from 2.20.118 to 2.20.130
Usage
✅ Please merge!
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

⚙ Adjust future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "software.amazon.awssdk" } ]

Or, add this to slow down future updates of this dependency:
dependencyOverrides = [{
  pullRequests = { frequency = "30 days" },
  dependency = { groupId = "software.amazon.awssdk" }
}]

labels: library-update, early-semver-patch, semver-spec-patch, commit-count:1

Superseded by #649.


\Windows\assembly\NativeImages_v4.0.30319_64

Hi - any concerns about ignoring these events in Advanced Hunting or ignoring the folder \Windows\assembly\NativeImages_v4.0.30319_64 in ATP/Intune?  i'm getting a lot of hits (ExploitGuardNonMicrosoftSignedBlocked) for what appear to be Defender/Microsoft workflows.  Thanks for any advice (Kusto example below).
MiscEvents
| where ActionType startswith "ExploitGuard"
| where FolderPath !contains "NativeImages_v4.0.30319_64"
| summarize AllEvents = count() by ActionType, FileName, FolderPath, InitiatingProcessCommandLine, InitiatingProcessFileName, InitiatingProcessFolderPath, SHA1
| summarize by AllEvents, ActionType, FileName, FolderPath, InitiatingProcessCommandLine, InitiatingProcessFileName, InitiatingProcessFolderPath, SHA1
| sort by AllEvents, ActionType

I corrected a phrase in the original post on github -
Hi - any concerns about ignoring these events in Advanced Hunting or ignoring the folder \Windows\assembly\NativeImages_v4.0.30319_64 in ATP/Intune? i'm getting a lot of hits (ExploitGuardNonMicrosoftSignedBlocked) for what appear to be Defender/Microsoft workflows. Thanks for any advice (Kusto example below).
MiscEvents
| where ActionType startswith "ExploitGuard"
| where FolderPath !contains "NativeImages_v4.0.30319_64"
| summarize AllEvents = count() by ActionType, FileName, FolderPath, InitiatingProcessCommandLine, InitiatingProcessFileName, InitiatingProcessFolderPath, SHA1
| summarize by AllEvents, ActionType, FileName, FolderPath, InitiatingProcessCommandLine, InitiatingProcessFileName, InitiatingProcessFolderPath, SHA1
| sort by AllEvents, ActionType
From: David<EMAIL_ADDRESS>Sent: Wednesday, November 20, 2019 9:34 AM
To: microsoft/WindowsDefenderATP-Hunting-Queries<EMAIL_ADDRESS>Cc: David Roush<EMAIL_ADDRESS>Your activity<EMAIL_ADDRESS>Subject: [microsoft/WindowsDefenderATP-Hunting-Queries] \Windows\assembly\NativeImages_v4.0.30319_64 (#100)
Hi - any concerns about ignoring these events in Advanced Hunting or adding the folder \Windows\assembly\NativeImages_v4.0.30319_64 as a protected folder in Exploit Guard? i'm getting a lot of hits (ExploitGuardNonMicrosoftSignedBlocked) for what appear to be Defender/Microsoft workflows. Thanks for any advice (Kusto example below).
MiscEvents
| where ActionType startswith "ExploitGuard"
| where FolderPath !contains "NativeImages_v4.0.30319_64"
| summarize AllEvents = count() by ActionType, FileName, FolderPath, InitiatingProcessCommandLine, InitiatingProcessFileName, InitiatingProcessFolderPath, SHA1
| summarize by AllEvents, ActionType, FileName, FolderPath, InitiatingProcessCommandLine, InitiatingProcessFileName, InitiatingProcessFolderPath, SHA1
| sort by AllEvents, ActionType
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHubhttps://nam02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fmicrosoft%2FWindowsDefenderATP-Hunting-Queries%2Fissues%2F100%3Femail_source%3Dnotifications%26email_token%3DABWB2HJNJRELHU2644FQFNLQUVDERA5CNFSM4JPTSAN2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4H2XWWAQ&data=01|01|droush%40law.upenn.edu|b3b0e3f3bd7f46d5694708d76dc6a64c|6cf568beb84a4e319df6359907586b27|1&sdata=ej%2FbbRRkgfXR%2FSchRUoQe9XEILgPqIYjTHim3YZ962A%3D&reserved=0, or unsubscribehttps://nam02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FABWB2HNW23ARX5NA4B2MKJ3QUVDERANCNFSM4JPTSANQ&data=01|01|droush%40law.upenn.edu|b3b0e3f3bd7f46d5694708d76dc6a64c|6cf568beb84a4e319df6359907586b27|1&sdata=HkCRr1LNIkxth%2Ft%2BjnSmTlYowVzp%2FdUWNiNZcUb1uHQ%3D&reserved=0.


Explain the difference between a book with vocabs and a book with words

A book with words is a deck and is renderable in the Words component.


fix: Update error handling for git connect

Description

Update error reporting for the git connect API

/ok-to-test sha=64b9361


I contribute Reverse of String using stack in Data Structure Section

I add a string reverse program using stack in c++ which was created by me when I learn data structure and algorithms.
Description of Change

Checklist

[x] Added description of change
[x] Added file name matches File name guidelines
[ ] Added tests and example, test must pass
[ ] Added documentation so that the program is self-explanatory and educational - Doxygen guidelines
[x] Relevant documentation/comments is changed or added
[x] PR title follows semantic commit guidelines
[x] Search previous suggestions before making a new one, as yours may be a duplicate.
[x] I acknowledge that all my contributions will be made under the project's license.

Notes:

review the contribution guidelines. No reviews will be done until the code is updated per the repo standards


A/B testing

A BucketTestStash for A/B testings.

Instead of a new Stash ... let's merge it to config. Example:
best_it_feature_toggle:
    features:
        feature_123:
            active: true

        feature_abc:
            percentage:
               percentage: 50 // Value between 0 - 100 in percent
               cookie: FeatureCookieName // Name for the cookie which save the current feature state
               lifetime: 3600 // Lifetime of cookie

Another idea: Maybe use the constraint parameter and extend it with new functions.
Example:
best_it_feature_toggle:
    features:
        feature_123:
            active: true

        feature_abc:
            constraints:
                - percentage(50, 'FeatureCookieName', 3600)

        feature_def:
            constraints:
                - ip_address('<IP_ADDRESS>', '192.*.*.*')

This would be simple, flexibel and do not overload the config. And the user can add own functions if the default functions of this bundle aren't enough.
@Haehnchen What do you think or do you have another idea?

Currently not needed


CSS nesting without & fails in the transform

The following is valid where the & is inferred but our style transform falis.
.stuff {
    > div {
        color:red;
    }
}

I added this failing test case in the nesting-bug branch.

Great! I’ll  patch this right away


Importfromtiff and use NormalizedDifferenceIndexTask

Hi,
I am trying to write a code for get data from tiff files and then calculate NDVI, NDBI and NDWI using NormalizedDifferenceIndexTask. But I can't give the data in to this NormalizedDifferenceIndexTask function.
I am new to this area and don't know how use this function correctly.
code
folder='/content/drive/MyDrive/GEE Data'
input=ImportFromTiff((FeatureType.DATA,'bands'),folder)
result = input.execute(filename='eopart_raw.tif')
result[FeatureType.DATA]['ndvi']=np.zeros((1,1,1,1))
result[FeatureType.DATA]['ndwi']=np.zeros((1,1,1,1))
result[FeatureType.DATA]['ndbi']=np.zeros((1,1,1,1))
ndvi=NormalizedDifferenceIndexTask(result.data['bands'],result[FeatureType.DATA]['ndvi'],
result.data['bands'][:,:,:,3], result.data['bands'][:,:,:,2])

Hi @nagatho,
An example on how to use NormalizedDifferenceIndexTask is in this documentation notebook.

Thanks for the reply.
I was following this example.
But the problem is now I am trying to get an image from my local hard drive.
By using the importfromtiff function.
So I want to know how give this request data to the NormalizedDifferenceIndex
task.
Did you get what I am saying?
best regard,
On Thu, Jul 22, 2021 at 12:23 PM Matej Aleksandrov @.***>
wrote:

Hi @nagatho https://github.com/nagatho,
An example on how to use NormalizedDifferenceIndexTask is in this
documentation notebook
https://eo-learn.readthedocs.io/en/latest/examples/land-cover-map/SI_LULC_pipeline.html#Define-the-workflow-tasks
.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/sentinel-hub/eo-learn/issues/315#issuecomment-884693728,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ALFXB7T66Q3Q7GTNXTCVQ33TY66AFANCNFSM5AZK3NLA
.

From those examples you can see that NormalizedDifferenceIndexTask has to be initialized with information about which features will be used and produced, e.g.:
ndvi_task = NormalizedDifferenceIndexTask(
    (FeatureType.DATA, 'BANDS'), # Input feature
    (FeatureType.DATA, 'NDVI'),  # Output feature
    7, # 8th band in input feature, which is probably B08
    3  # 4th band in input feature, which is probably B04
)

Once you have that you can apply the task on an EOPatch holding actual data:
ndvi_task.execute(result)  # if result is your EOPatch obtained from ImportFromTiff task

In the code you posted, you are trying to initialize the task with the data itself, which is not how eo-learn works.

Thank you.
finally it is working.
*code *
folder='where_data_are_saved'
input=ImportFromTiff((FeatureType.DATA,'BANDS'),folder)
result = input.execute(filename='eopart_raw.tif')
ndvi_task = NormalizedDifferenceIndexTask((FeatureType.DATA, 'BANDS'), # Input feature
(FeatureType.DATA, 'NDVI'),  # Output feature
(3,2))  # 4th band in input feature, which is probably B04  # 8th band in input feature, which is probably B08
ndvi_task.execute(result)


Added new version of docs for 0.8 release

"Creates a new version of the document for 0.8 release"

/lgtm
/approve


Update for rustc 1.16.0

rustc 1.16 adds a new line to the output of rustc -vV which makes the lib fail:
rustc -vV
rustc 1.16.0-nightly (5d994d8b7 2017-01-05)
binary: rustc
commit-hash: 5d994d8b7e482e87467d4a521911477bd8284ce3
commit-date: 2017-01-05
host: x86_64-unknown-linux-gnu
release: 1.16.0-nightly
LLVM version: 3.9

Note: I didn't add that new field to VersionMeta because that would be a breaking change.
Note 2: why not use that occasion to publish 1.0 :smile:? I can make another PR if you'd like.

Hi, I'm sincerely sorry for taking so long to respond.
Thanks for the PR!


[OWL-ViT] step by step instruction for finetuning on own local dataset

Thank you for sharing your work. Is there any step by step instruction on how to train OWL-ViT on own local dataset?
From what mentioned in README, it is required to implement decoding ops, that converts TFDS dict, but what if all data is local? Is there any single class may be, that should be implemented and referred in config (how?) to supply own data?
P.S. It seems that should be "dataset: The dataset that has train_iter, eval_iter, meta_data, and optionally, test_iter." to be implemented and supplied to trainer, but exact instruction would be really helpful.

@alexey-chaykin also curious about this.
Did you manage to find anything?

Same question

You can create a TFDS dataset from your local data as described at https://www.tensorflow.org/datasets/add_dataset. TFDS will write the dataset to a local folder, which you can then point TFDS to by setting the TFDS_DATA_DIR environment variable or by setting data_dir in calls to tfds.builder and tfds.load.


Inline Chat Does Not Work In Accessibility Mode: Progress Reporting is Only Supported For Live Sessions

Testing #188537

Not specific to accessibility mode

Nevermind, actually it does work fine with screenreader mode disabled

Ah I see, you can also repro it by setting the chat mode setting to Preview- that's what "live" refers to. I assume that somewhere we default to that mode when screenreader mode is enabled. And previously we probably didn't call progress.report all the time. Hopefully one of the people on the issue know where this needs to be addressed.

The fix will be available in around 45 minutes with 0.5.2023072601


FCS_SSH_EXT.1.7 KDF and RFC 5656

Location
FCS_SSH_EXT.1.7
As per FCS_SSH_EXT.1.7, SSH KDF shall be compliant to RFC 4253 (Section 7.2) or RFC 5656 (Section 4). However, currently, ACVP testing for SSH KDF is for testing compliance to NIST SP800-135, as per Section 6 of https://pages.nist.gov/ACVP/draft-celi-acvp-kdf-ssh.html, and according to NIST SP800-135 (Section 5.2), SSH KDF is compliant to RFC 4253.
Thus, what test shall be done if SSH KDF claims to be compliant to RFC 5656 (Section 4), or ECDH is used for SSH key exchange? Or, does it imply that we shall NOT claim ECDH for SSH key exchange currently?

This should be covered by the fix for issue #127.

This seems to be an SSH Functional package issue, not an NDcPP issue.
No tests are defined in the SSH Functional Package v1.0 for FCS_SSH_EXT.1, so I think the answer is "no tests" for either selection.

Closing this issue after discussion in MINT meeting on 2023-02-13.


Is auto-deploy possible with Jekyll?

I have the following in my site/project 's root dir in a "_config.yml" file:
include: [.htaccess]
timezone: America/New_York
baseurl: http://domain.tld
...And I was wondering if there's a way to automatically have glynn upload the built files similarly to how I automatically set the timezone & include the '.htaccess' file in the build via some "_config.yml" file option.

Glynn will compile your jekyll site and send the files via FTP, that it all.
Any auto-deploy needs to use a third-party platform (that can be Travis-CI for example) to execute the command.


rx.get_local_storage doesn't work for add_page(on_load=

class State(rx.State):
    def on_load(self, fragment):
        print(f"on_load {type(fragment)} {fragment}")

app = rx.App(state=State2)
app.add_page(index,
                 on_load=[State.on_load(rx.get_local_storage("fragment"))]
app.compile()

... on_load receives a string: "localStorage.getItem('fragment')", not a value from local storage.

The reason this doesn't work is because get_local_storage expands to a Var that calls localStorage.getItem... but the on_load mechanism is handled in middleware, rather than compiling to frontend code.
The framework should provide a mechanism for getting localStorage to the backend without relying on Var expansion, but the current API as implemented will not allow this. Not sure of a workaround with the current design that doesn't involve injecting some custom javascript code, like:
https://github.com/trivial-intelligence/pynecone-admin/blob/main/src/pynecone_admin/persistent_token.py
and
https://github.com/trivial-intelligence/pynecone-admin/blob/2b59d78a63691c543363928e8847ea278e81f165/src/pynecone_admin/auth.py#L255
(sorry, these examples haven't been retooled for reflex rebrand yet, but they might give you a hint at how to workaround).


Implemented a hook to manage radio button groups.

 As a developer, I want the controlled form library to properly handle radio buttons.


Running program "bash scripts/mc_data.sh" error

Dear author：
There is no problem running program "bash scripts/sat_data.sh", but when program runs to these two lines in "bash scripts/mc_data.sh", the following error will occur：

Looking forward to your reply, thank you.

Hi,
Thanks for your interest. To use the DSHARP solver in our codebase, one needs to install the GMP library by:
sudo apt-get install libgmp3-dev

If you feel struggle with the installation of the GMP library (or there is still something wrong with the DSHARP in our codebase), you may go to the Git Repo of DSHARP to install it by yourself (with/without GMP) and move the executable file to the same location as ours.
BTW, if you choose to install DSHARP without GMP, you also need to uncomment this line to use it. However, DSHARP without GMP can only give an approximate model counting rather than the exact one. So I recommend you use DSHARP with GMP.
Hope this may help you.

I recompiled 'dsharp' according to your prompts. The program runs normally. Thanks for your help!


[FEATURE] support python3.9/setup.py untill Debian 12 commes out

Debian 11 is on python3.9 and uses setup.py
Debian 12 will come out in about 6-9 months.
It would be nice to support Debian 11 until 12 comes out.

Python3.9 supports Poetry.

If you want to build mov-cli from source:
python3 -m pip install --upgrade build && python3 -m build
else:
pip install mov-cli

so can this issue be closed?


WIP: New Project Layout (Again!)

The idea is to make the layout a bit more familiar to casual contributors,
hoping to get some more help from them.
Broad outline of new repo layout
Add folder & file references for sources
Move sources around a bit more + add files to targets
Add XCTest import now that we no longer use a precompiled header + dependency on XCTest
Fix stream test data file attributes to be binary files
Add testdata in a way that Xcode can find it
Update TravisCI build job to work with two new targets

Current coverage is 88.49% (diff: 100%)

Merging #226 into master will decrease coverage by 5.21%

@@             master       #226   diff @@
==========================================
  Files            17         17
  Lines          1557        982   -575
  Methods         371        221   -150
  Messages          0          0
  Branches        104        103     -1
==========================================
- Hits           1459        869   -590
+ Misses           98         72    -26
- Partials          0         41    +41

Powered by Codecov. Last update 0607c6f...2745b72


Feature Request: Update Script

In addition to install script an update script for server software updates would be very helpful.
For example, Feed the Beast modpacks are often updated and a simple script could be written to backup important world and data files, remove old server files and replace them with the current version.

duplicate of #240


feat(ui): add coverage

This PR adds the coverage folder in a new iframe inside Coverage component:

coverage css files not being served
vite tranforms coverage html pages, I need to find a way to exclude them
fix coverage error (check the screenshot below): I guess the error comes when Vite injects @vite/client script

To test the coverage run pnpm run build && pnpm run test from root folder and from another shell run cd packages/ui && nr dev:ui.
/cc @edimitchel : from your comment here https://github.com/vitest-dev/vitest/pull/493#issuecomment-1012659202
closes #2336

It is working but only with bundled ui, using it on dev I cannot make it working (css not being loaded):

pnpm run install && pnpm run build from root
cd test/core && pnpm vitest --ui

We also need to disable coverage button while running and adding small delay once tests run finish.
The css styles using istambul in dark mode needs a review: https://streamable.com/8jsoac

Lastest changes: https://streamable.com/3ek8l0

I wondering, won't you able to reuse raw data and attach coverage information to each test suite and show the coverage on suite/test items list, and details put in a test details tab?

I wondering, won't you able to reuse raw data and attach coverage information to each test suite and show the coverage on suite/test items list, and details put in a test details tab?

Yeah, I'll work next weekend on this - current state was simple, just adding a middleware and some client stuff, your proposal requires a bit more work


Make flex child alignment configurable

This was much easier than expected; the flex widget was already
doing layout in multiple passes, so it is simply a matter of
calculating the correct position on the minor axis for a given
alignment.

This is related to/inspired by #582

yea, I think if that isn't true we've violated an invariant and crashing is the right thing to do.


[ML][Pipelines] Support expression in if-else

Description

resolve PipelineExpression in the if-else case
fix bug when component output in expression case

All SDK Contribution checklist:

[x] The pull request does not introduce [breaking changes]
[x] CHANGELOG is updated for new features, bug fixes or other significant changes.
[x] I have read the contribution guidelines.

General Guidelines and Best Practices

[x] Title of the pull request is clear and informative.
[x] There are a small number of commits, each of which have an informative message. This means that previously merged commits do not appear in the history of the PR. For more information on cleaning up the commits in your PR, see this page.

Testing Guidelines

[x] Pull request includes test coverage for the included changes.

do we have any related tests?

do we have any related tests?

the related tests locate in mldesigner, I'll update them later


Fix windows build problems

This is a cleaned up version of #14.
Look OK?
I moved this to a new branch on my fork as conda-forge prefer you to use a fork rather than a branch in the main repo (don't as me why)

Checklist

[x] Used a personal fork of the feedstock to propose changes
[ ] Bumped the build number (if the version is unchanged)
[ ] Reset the build number to 0 (if the version changed)
[ ] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[ ] Ensured the license file is being packaged.

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.

@conda-forge-admin, please rerender


Update Ballerina Syntax Guide to include missing variables

Purpose
Fixes https://github.com/wso2-enterprise/choreo/issues/6747

Obsolete


Remove Microsoft.dotnetRuntime.5-x64 <IP_ADDRESS>315 to Microsoft.dotnetRuntime.5 <IP_ADDRESS>315

Pull Request created using Trenly's script
Microsoft Reviewers: Open in CodeFlow

https://github.com/microsoft/winget-pkgs/pull/35219#issuecomment-973100594


RabbitMQ not allowing bind IP

Hi
I am trying to run RabbitMQ as a standalone docker container to which other containers (which are running in their own docker-compose) will try to connect
Hence was trying to enable the Remote IP biding, by complete replacement the config templ file, but of no luck
Getting connection refused error
Can you please help me to know what i am missing here

Do you have a docker compose file I can review?


Introduce reset api for k_poll signals used in a loop

Is your enhancement proposal related to a problem? Please describe.
It's easy to forget to properly reset a k_poll signal placed in a loop. As a workaround, the following has to be done:
events[0].signal->signaled = 0;
events[0].state = K_POLL_STATE_NOT_READY;

This works and is reasonably documented , however, it is in conflict with the principle that users should not fiddle with the content of the event struct.
Describe the solution you'd like
Introduce void k_poll_signal_loop_reset(struct k_poll_signal *sig) in addition to  void k_poll_signal_reset(struct k_poll_signal *sig).
The API would behave identically, but also set state to K_POLL_STATE_NOT_READY.
Document when it is appropriate to use one instead of the other.
Describe alternatives you've considered
status quo. It's ok.

If the Zephyr gods are ok with this, I'd be happy to PR

No complaints from me if you want to try this.  I will say though that k_poll() needs some more extensive rework than just this, IMHO.  The process you're describing is in fact a race condition in most circumstances, because the user is responsible for making sure that the critical section between that reset and the previous/next calls to k_poll() is atomic vs. whoever is going to be trying to signal it.
Personally I think we actually want to move in the direction of an entirely new level-triggered signal mechanism that automatically resets, then mark the old one deprecated, etc...
But there's no reason not to evolve what we have.

We've got a new firmware engineer coming soon, I'll task her to sharpen her claws on this issue

I'll close this issue, if anyone wants to work on if feel free to reopen


Provide infinite event iterator

To model the notion of a game loop as an object rather than a control structure is quite desirable for compositionality. The current event iterators in glutin, poll_events and wait_events do not really provide that notion, as they are quickly exhausted.

That's what https://github.com/tomaka/glutin/pull/70 was supposed to do

Oh, I missed that. Should have searched the issue list for iterator instead of event.

Let's close it when it's done!

Ah, okay, I thought this was effectively a duplicate of #28.

Oh, you're right, it's a duplicate.


Fix flickering cursor in IE

Fix #234

@marceljuenemann Would it be possible to do a patch release that includes this fix?

commit a78743d2ccf8e2b7a1341d42a558e923b12aa6f1 fixes the flickering and allows an element to be dropped into the first position.


Add configuration settings for upload purger

Right now, the configuration is hardcoded. It should be configurable.

Need configurations for:

Purge age
Purge frequency
Dry run

https://github.com/docker/distribution/pull/381


Bump Twirl to 2.0.3 (was 1.6.1)

As a continuation of https://github.com/playframework/play-grpc/issues/499

LGTM


Travis is broken.

This is partially due to no one updating tests recently, but also because of some xfail tests that aren't actually xfailed on Travis, I think.
We should make master green, and then not break master anymore.

Master is green again. @chrplace, sorry about not replying to your comment earlier :(


[feature] Support zip deploy to ASEv3 services

[x] Make sure you've installed the latest version using instructions in the wiki

Output from azd version
azd version 0.8.0-beta.2 (commit 429b6ccf9a9d1616efa8988f2f8561deeb464c71)
Describe the bug
When deploying azure function app code to ASE hosted apps zipdeploy endpoints should use the ASE endpoint: e.g. *.scm.<ase_name>.appserviceenvironment.net.
azd only supports *.scm.azurewebsites.net endpoints which generates the following error when deploying to ASE hosted apps:
ERROR: failed deploying service 'funcapp': failing invoking action 'deploy', failed executing request: Post "https://<func_app>.scm.azurewebsites.net/api/zipdeploy?isAsync=true": dial tcp: lookup <func_app>.scm.azurewebsites.net on [fe80::18fa:b7ff:fef4:9f64%en0]:53: no such host
To Reproduce

Prerequisites:

ASE v3 instance, windows app service plan (or linux) and azure function app hosted in the ASE plan
Ensure you have access to a machine where you can connect to the ASE instance (e.g. a VM deploy to the same VNet)
Create an azd project and configure it to deploy an azure function code to the azure function resource hosted in the ASE.

Steps:

Run azd deploy

Expected behavior
azd should support a flag to allow deployments to ASE similar to AzureFunctionApp@2
Environment
* .NET 6.0
* Visual Studio Code

@weikanglim can you triage this?

Indeed, App Service Environment isn't currently supported. App Service Environment's doc on endpoints shows that we're not using the correct one.

Closing this out as a dupe of #890 . Let's continue discussion there if needed.


Replaces data mixin with composable util.

This PR gets rid of the data_mixin and replaces it with the composable equivalent. Please test locally make sure things are working as they should. I'm mainly concerned about the following files:

/stores/affiliations.js
/stores/student.js

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 61.829%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
1704

Relevant Lines:
2756

💛  - Coveralls


feat: Dropdown Menu

This PR introduces the DropdownMenu builder.
Related to: #20

I still want to add tests and some more examples to the docs, but I figured I'd open it for review and possibly merge before those last two things are complete to allow the community to begin using them in a very early stage!


Move ups-broker template to deploy/catalog

The file was accidentally in the wrong directory.

What is the deploy dir for?  If they're related to one of the samples can we move them to their owning dir?

At the moment the deploy directory contains a Helm chart which will spin up the service catalog, and the example brokers, inside a k8s cluster:
https://github.com/kubernetes-incubator/service-catalog/blob/master/docs/walkthrough.md#deploying-to-kubernetes
there may be a better place for it (which I'd rather not address in this commit) but I'd be happy to add a README to go in with this. wdyt?

ok. LGTM
In the other PR, let's move it under the samples dir since its related to those.

LGTM (LGTM2 label added)

LGTM, merging.


Fix broken link to documentation

I noticed that the link in README to the docs returns 404. The fix is to use spacedentist instead of getcord subdomain. While I was at it, I search and replaced all getcord for spacedentist.
Test plan:
eyes mostly
visited https://spacedentist.github.io/spr/
visited https://img.shields.io/github/license/spacedentist/spr

Thanks, @jozef-mokry! I merged #204 instead.


There's no Project Fork API in this project?

well,I need this API in my project. Does this API need to be implemented by myself?
API address.

I'm missing the same. I want to fork one project into another sub group with a new project name.
I can't find any methods to do this.


NaN value in withdraw screen

I use Metamask

The root cause is https://bridge.tomochain.com/api/config api no longer return withdrawFee field. I'll discuss with tomo bridge team to fix it.


Teacher training

Hi,
Your CIFAR 10 teacher has achieved 4.51% of error rate. May I know how do you achieve this?  Can you please share some tips..
Thanks,
Shumin

Hello,
Training settings in 'cifar10_AB_distillation.py' can achieve 4.51% or similar performance.
In 'cifar10_AB_distillation.py', change following lines.
Line 25 : distill_epoch = 0
Line 26 : max_epoch = 200

Line 30 : KD = False

Line 70 : s_net = WRN22_4()

Then, distillation parts will not be activated.
You can train WRN22_4 with similar performance of my teacher network.
Please check the code for detailed parameters.

Thanks!


Private/shubham/grow 144

ISSUE(S):
Link to jira
SUMMARY
Added support to pass environment variables through a file.
ISSUE TYPE

🎁 New feature (non-breaking change which adds functionality)

IMPACTED FEATURES/COMPONENTS:
appctl deploy command
TESTING DONE
Manual

When file_flag (-f) is passed.
When invalid file_path is given.
When same environment variable is passed in both (in env file and in command line)
When different environment variables is passed in flags, we will take union of both
With -e flag
With k-native image file

Testing Output (Snapshot/file)

Let's also add an example of how to use --envPath flag in deploy_examples.


Passing a codeblock given to step through

Custom steps might require a codeblock to be passed to. After all, the codeblock is the same parameter to call to method as all others. Sometimes it could be handy to be able to write:
Dry.Transaction(container: Container, step_adapters: MyStepAdapters) do
  step :persist
  provided :send_welcome_email do
    step :enqueue_reminder_email
  end
end

The example above is oversimplified, but it should give a general impression on what I am missing.
The solution might be straightforward: when the codeblock is passed to DSL::method_missing, it’s being re-passed through using options[:λ] and extracted from options in step constructor.

Would it be possible to have the following?
Dry.Transaction(container: Container, step_adapters: MyStepAdapters) do
  step :persist
  tee :send_mail do
    step :check_user_has_mail
    delay :send_mail_to_user
  end
  step :something_else
end

It seems useful to mark a whole section of a transaction in a tee or try so (in the example above) the send_mail_to_user step is not performed if the previous one fails, but still the tee block would ignore the downstream error and go on with :something_else.

This seems fair enough, @am-kantox, thanks for putting this together!
I can see why you used the cute λ naming so as to avoid clashes with other options, but I'd like to avoid it if we can. Would you mind changing it so the block is passed as a final argument to Step#initialize instead of via the options hash?

Also, if you don't mind sharing, I'd love to hear about how you're using blocks within your steps!

I make a codeblock to be a part of both #initialize and #with_call_args signatures. I also provided two tests for the added functionality.
The main purpose of passing a specific block directly to steps would be a tiny pre-/post-processing of input/output. Sometimes it’s handy to have an on-the-fly tuning of existing steps, rather than produce new step implementations for that. The tests I provided should give an impression on how I’d use it.

Thanks @am-kantox, this is looking a lot better. I've just left one specific comment for you.
Thanks for sharing your usage example too, I can see why you need the block support now. From a first-party perspective, we'd like dry-transaction definitions to be as logic-less as possible, so supporting block arguments isn't something I think we'd want to add to our default step adapters, but it certainly seems fine to me to add this support for people to use in their own custom step adapters :)

Thank you, @timriley. Appreciate it.

supporting block arguments isn't something I think we'd want to add to our default step adapters

That was never asked, by the way. The only default step it would [probably] make sense in, is the try step, where it might sometimes be useful to be able to provide an immediate handler for the exception raised (block playing role of rescue,) but I agree on “keep the default implementation as logic-less as possible” motto and I am fine with implementing my own nice_try step.

Thanks @am-kantox, I'll merge this in now!
And yes, just to be clear, I knew you weren't asking for any of the default step adapters to support these blocks, I just wanted to take a moment to explain the overall project philosophy regarding first-party/third-party flexibility 😄

:+1: thanks!
24 июля 2016 г. 13:38 пользователь "Tim Riley"<EMAIL_ADDRESS>написал:

Merged #36 https://github.com/dry-rb/dry-transaction/pull/36.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/dry-rb/dry-transaction/pull/36#event-732773543, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AK3INovFZAud3aQx0ZyNVg-XYuv3zNVMks5qY07CgaJpZM4JNVnb
.


⚠ ClamAV has degraded performance

In 945cf9f, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 203 ms

Resolved: ClamAV performance has improved in 23c6385.


Parallel build (/m) on hosted agent

Is not clear if setting the parallel build (MSBuild/Windows only) is actually working for hosted agent.
Most importantly, it this may affect the performance.

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

ID: 99af681d-41ad-da15-0b72-08b5cd5a11ac
Version Independent ID: 2fa0df36-a437-8cbb-b019-b49b31b1e116
Content: Microsoft-hosted agents for Azure Pipelines - Azure Pipelines & TFS
Content Source: docs/pipelines/agents/hosted.md
Product: devops
GitHub Login: @andyjlewis
Microsoft Alias: alewis

Is your project private? If so, do you have sufficient parallel jobs? see https://docs.microsoft.com/en-us/azure/devops/pipelines/licensing/concurrent-jobs-vsts

The hosted agents have 2 virtual cores. Parallel build may or may not offer you a speedup depending on how I/O-bound vs CPU-bound your build is.


Fixing compiler warnings - new_line

The C language standard says
A source file that is not empty shall end in a new-line character, which shall not be immediately preceded by a backslash character.
Was just annoyed by the warnings :/
First contribution :D

The C language standard says A source file that is not empty shall end in a new-line character, which shall not be immediately preceded by a backslash character.
Was just annoyed by the warnings :/ First contribution :D

ACK thx! :D


Key Macro: Improvements (Key-Down, Key-Up)

Is your feature request related to a problem? Please describe.
I would like to define the key macros to a finer degree, to be able to specify key-down, and key-ups as required.  Thus, this allows the ability to do key-held shortcuts, for example alt-tabbing until the required window or Win+number to get to the second window for switching.
Describe the solution you'd like
To be able to define key-downs and key-ups separately as part of the key macros.
Describe alternatives you've considered
A bonus would be able to record the macro from the keyboard instead of manually defining it.
Additional context
Added a screenshot of something equivalent that was constructed using Corsair's iCue software.

Moved it to the issues page of the Windows Utils plugin.
https://github.com/SuchByte/Macro-Deck-Windows-Utils-Plugin/issues/6


fix: update readme installation info AB#11550

@arsforza I have a hard time pinpointing the actual changes in between the automatic format changes that happened. Can you maybe pinpoint them for me or list them here?


TLD 'wtf' now exists, use 'wtfh' instead in TestNewPingerInvalid

This includes some unrelated commits. It looks like you're making commits to your fork master branch.
I recommend "Fork and Branch" workflow to avoid these issues.

Poke @rrcollier - could you please remove the unrelated changes and squash this PR into a single commit? Thanks!

Apologies. I'll tidy this up.

Look like I managed to mis-read the code in this PR last night! Typically, we prefer a PR to address a single new feature/bug/enhancement rather than multiple things at once. Could possibly resubmit this as two PRs?

Add the opt-out for appending to the slice of rtts.
Add the OnSend event handler.

Absolutely. My intention was to send you 3 separate self contained patches/prs. One for the tests. On for on-send handler and I've for the opt out.
However this is my first time contributing more then a trivial typo/documentation fix with git/github, and I also have very little free time right now.
Hope to resubmit this correctly in the next week.

This is now spilt up into requests 113, 114 & 115.

Nice one - thanks! 😄


[labs/react] Fix style attribute conflicts with the type definition of DOM and ReactModule

Style that conflicts with children, ref, and key, which are reserved words in React, is omitted from the properties of the web component.
Fixes #3021

Added a default value for the type because if no Events were dispatched I got the following error:

'{ children: string; "data-testid": string; appearance: any; }' 형식은 'Partial<EventProps<Events>>' 형식에 할당할 수 없습니다.
  'children' 속성이 인덱스 시그니처와 호환되지 않습니다.
    'string' 형식은 '(e: Event) => void' 형식에 할당할 수 없습니다.ts(2322)

Thanks @indigostar-kr !
We'll need some tests here that show we get a build error without the fix. Can you make a test that contains JSX with a style binding? We have one in the tests already with a cast to any, so hopefully that can be removed.

I'll check the test code and see if I can write it.

This PR might be resolved with #3072
:) curious if that can be confirmed

oops thought this was an issue my bad, reopened


The attention mask and pad token id were not set.

I successfully ran the Quick Start Code，but the programme kept showing up notes like
'The attention mask and pad token id were not set. As a consequence, you may observe unexpected behavior. Please pass your input's attention mask to obtain reliable results. Setting 'pad_token_id' to 'eos_token_id':2 for open-end generation'

I do the same


Alligned Toastify Message at Center of page

Hello Project Admin
I Placed the Toastify Message to appear at center of page
kindly please go through this PR @Kalivarapubindusree
https://github.com/Its-Aman-Yadav/Community-Site/assets/161804629/27f8b685-3b5b-4b9a-aadd-b972137c09c7

Thank you @Kalivarapubindusree


[BUG] when no api name given in extractor yaml file it should not download any api

Release version
v4.2.1
Describe the bug
Consider as an Operation team for the APIM, they do not need to touch any apis but the global configuration. i.e global policy etc.
When running the extractor with necessary .girIgnore changes, what extractor does is, download all the apis during run extractor stage and when PR completed it will remove it as per the config files.
Expected behavior
Ideally when no api name was mentioned in the Configuration.extractor.yaml file, it should automatically not extract any apis.
Actual behavior
Extractor will download all the apis in this case but when PR completed it will remove all the apis folder and other changes according to the .gitognore file.
Reproduction Steps

update Configuration.extracor.yaml file. No apis to be given there.
update .gitIgnore to ignore the /apis folder.
Run the extractor. (Observe the pipeline -> Run extractor stage. I will run through all the apis in the instance)
Complete the PR

The extractor is not aware of the git ignore while running as you are extracting to  separate branch. It’s only upon merging the PR the gitignore comes into play. We expect the upcoming workspaces feature to resolve this issue. We are in the process of introducing support for workspaces into apiops but we don’t have any timeline to on that yet.

@waelkdouh , I agree. But in this scenario, when extractor runs it will check what option in parameters we have selected. If it is Configurations.extractor.yaml and there are no apis found in it. Extractor should not go to fetch any api but other configs.
Hope that make sense?

exactly this I am trying to avoid. Why to extract at the first place and make the pipeline long running. Imagine there are 100 apis it will be downloaded just to ignore when merged.

Unfortunately our extractor is not equipped with this capability. As I mentioned once workspaces feature is implemented then the extractor will used rbac to filter the ones it should not fetch as it won’t have the rights to fetch in the first place. So in your case you would limit the privileges of the operator against your apim instance which would prompt the extractor to ignore all these APIs.

I know it may feel hackish for now but maybe you can include a single api (maybe dummy api) for the operator for now and then specify that in the extractor file until we add support for workspaces.
I will run this by the lead developer and get back to you if there is anything else we can do.

Thanks @waelkdouh for the considerations. Appreciate it.

I know it may feel hackish for now but maybe you can include a single api (maybe dummy api) for the operator for now and then specify that in the extractor file until we add support for workspaces.
I will run this by the lead developer and get back to you if there is anything else we can do.

this is what we do. It speeds up the time, but yeah, hackish.

@mihirsurting @shawnmurtagh I finally got to check with the lead developer. He suggested that you include apiNames with an empty list as you can see below in the configuration.extractor.yaml file.
apiNames: []


bibupload doesn't respect --continue-on-error

I'm running invenio 1.2.1 and bibupload stops the bibsched queue even though it was run with --continue-on-error. I've set to CFG_BIBSCHED_NEVER_STOPS to 1 in order to bypass this issue for now.
The error in this case was caused by wrong XSL transform that produced wrong 035 field.

2016-08-09 09:32:33 -->    Failed: Record not found in the database. Please insert the file before updating it. (-h for help)
2016-08-09 09:32:33 -->     Failed: either the record already exists and insert was requested or the record does not exists and replace/correct/append has been used
2016-08-09 09:32:33 --> <record>
<datafield tag="035" ind1=" " ind2=" ">
<subfield code="a">|</subfield>
</datafield>
...

Is there any way I can help?


Using other IDE for finals

Are we allowed to use other IDE like Eclipse and Intellij instead of VIM during our final exams?

yup i think it's allowed!

yes its allowed

yup it is!