Warning: Found record in transaction with the same RID #2132:5 but different instance.

I get this warning a lot when loading via the Object API multiple times during a transaction in our code:
WARNING: {db=test} Found record in transaction with the same RID #2132:5 but different instance. Probably the record has been loaded from another transaction and reused on the current one: reload it from current transaction before to update or delete it
However somehow I cannot recreate this with a unit test in the orient source, but I did manage to find the problem and will provide a pull request with the fix.

Closing because merged your PR.


popup positioning

I looked at this example https://openlayers.org/en/latest/examples/overlay.html and saw that it uses bootstrap popover. Is there a way to implement this in openlayers without using bootstrap. I have tried positioning property on the overlay and I don't want to use autopan as it moves the map. I would like to keep the popup in view
Working code
https://jsfiddle.net/frc642zq/1/

In the css replace left: 50%; with transform: translateX(-50%); https://jsfiddle.net/erbd5j8s/

It does not work, the popup is still out of view

The idea is basically to have the arrow appear either left, right, top or bottom depending on available view

Determine which quadrant of the viewport the click was made in and add extra class information to the element for that
  var pixel = map.getPixelFromCoordinate(coordinate);
  var size = map.getSize();
  var hPosition = pixel[0] < size[0] / 2 ? 'left' : 'right';
  var vPosition = pixel[1] < size[1] / 2 ? 'top' : 'bottom';
  container.className = 'ol-popup ol-popup-' + hPosition + ' ol-popup-' + vPosition;

Than add any css which is specific to those classes https://jsfiddle.net/uk7vqsfy/


re-enable valgrind on OSX

before the 1.0.0 release I disabled the use of valgrind even for 64 bit builds because 2/3 of all OSX builds failed after I added better examples testing more of the features of the framework (mainly what happens when an assert/test case throws unexpectedly) - this is the commit that disables the use of valgrind.
I'm 100% sure the problem isn't in doctest - so I'm hoping for some workaround (or a suppression file for valgrind might be the correct solution)
here is the travis build that failed... Check out the specific builds that failed and search for "error"

That looks like Valgrind is finding only the memory that it itself allocated as a leak. Bug in valgrind?

All builds have used valgrind version 3.11.0 - and by looking at the logs to check out what homebrew gets exactly:
failed builds use:

valgrind-3.11.0.el_capitan.bottle.tar.gz
valgrind-3.11.0.mavericks.bottle.tar.gz

passing builds use:

valgrind-3.11.0.mavericks.bottle.tar.gz
valgrind-3.11.0.yosemite.bottle.tar.gz

and the mavericks build of valgrind is present in both passing and failing builds.
My suspicion is that there is a bug in the standard library from the compiler itself - and not in valgrind.
Anyway I don't have a mac and someone else has to investigate/suppress this.

Also valgrind is not supported on ARM/macOS , so any apple computer sold since 2020...
How does sanitizers compete with valgrind? My feeling is that they tend to catch the same stuff these days, I rarely need to drop into valgrind anymore except when the sanitizer itself has a bug.


Rename 'ff' browser alias to 'firefox'

Please, wait for https://github.com/DevExpress/testcafe-browser-natives/issues/76.

Required code is merged. I didn't found any occurrences of ff,so @VasilyStrelyaev, please, fix the docs, or confirm that they are fine in their current state.

We sure have a full list of aliases
https://github.com/DevExpress/testcafe/blob/master/docs/articles/documentation/using-testcafe/common-concepts/browser-aliases.md

So we have to update the docs

Ok, I will fix them.

finished in https://github.com/DevExpress/testcafe/pull/645


feat: account to portfolio exclude asset ids

Description
Fix for https://github.com/shapeshift/web/issues/750
Notice
Before submitting a pull request, please make sure you have answered the following:

[X] Have you followed the guidelines in our Contributing guide?
[X] Have you checked to ensure there aren't other open Pull Requests for the same update/change?
[X] Do all new and existing tests pass? Does the linter pass?

Pull Request Type

[ ] :bug: Bug fix (Non-breaking Change: Fixes an issue)
[ ] :hammer_and_wrench: Chore (Non-breaking Change: Doc updates, pkg upgrades, typos, etc..)
[X] :nail_care: New Feature (Breaking/Non-breaking Change)

Issue (if applicable)
If applicable, please link to the github issue and put closes #XXXX in your comment to auto-close the issue that your PR fixes.
Testing
Please outline all testing steps

Created relevant unit test first
After coding, verified that unit test is green
Blind tested by hard coding different values for assetIds array, verified the filtering is working fine

Screenshots (if applicable)

The portfolioSlice tests are currently being refactored so I'd prefer if you waited to merge this until after that refactor and then you can follow the new pattern for your tests.

The portfolioSlice tests are currently being refactored so I'd prefer if you waited to merge this until after that refactor and then you can follow the new pattern for your tests.

sure ! will update this PR once the refactoring is merged

The updated tests have been merged so this PR can be updated against latest develop.

The updated tests have been merged so this PR can be updated against latest develop.

Updated pull request with latest develop

Just some general comments on testing practices we're trying to implement post refactor. Thanks for the PR!

Thank you for the feedback, will resolve each comment


Updated to reference v3.0.0 of Pngme's android-sdk

PROD-708: update all sample apps to v3.0.0
Updated the android/app/build.gradle to reference the latest version of the pngme android-sdk

Thanks for the comment, @danibishop! Tested both the flows after making the changes (setting hidePngmeDialog to true and false) -> Shows expected behavior now 🙏🏽


Don't require docker for the basic installation

Problem
Docker adds a lot of overhead and friction when getting started with Kitty Items, we should find a easier way to run Kitty Items ideally without docker especially when developing against testnet.
Suggest Solutions

During the "Testnet" steps of the readme, potentially start the client-side that is connected to a pre-deployed server
Start multiple processes in a user-friendly way via a single command without docker.

Investigating using sqlite3  + pm2 as a replacement for the docker images.
sqlite plugs into the ORM, and I already have it working.
PM2 is a well know multi-process manager for node apps, and has strong configuration management story.
App can be started using an package.json script.

The only Dockerized aprt of KittyItems I;m not sure about how to replace is the dev-wallet.
Currently we'd need to include the dev-wallet code in the project source code.
I know @psiemens was experimenting with a static build of the dev-wallet.
It would be excellent if the dev-wallet were included and served via the emulator / cli.

cc @alxflw @srinjoyc

@10thfloor could you provide a status update this task?

Docker has been removed, but this is blocked by: https://github.com/onflow/flow-cli/issues/463
Once the dev-wallet is integrated, we can release this.

PR is here: https://github.com/onflow/kitty-items/pull/221


One device seems to auto start

As per title, one of my devices seems to auto start.
i can't get why.
the only thing i saw different between the two is that the one which auto starts had an automation in home app: disable when everyone leaves home.
it has started happening with the last updates

Check the automation, may be is set wrong device state, if nothing help enable debug and wait until start itself and get the log.

for now i have disabled the automation to check if the problem is located there

any info?

The automation makes it auto start.
If it is stopped and you set up an automation to stop it when leaving, it starts instead.

OK, looks like Home app problem, I close this as no plugin issue.


[R] Expose Azure Blob Storage filesystem

I'd like to see the R arrow package be able to interface with the Azure Blob Storage file system from the AzureStor package.

In python, pyarrow and adlfs work together so I'd like for AzureStor and arrow under R to also work together.
Reporter: Dean MacGregor
Related issues:

[C++] Filesystem implementation for Azure Blob Storage (depends upon)

Note: This issue was originally created as ARROW-16791. Please see the migration documentation for further details.

Now that https://github.com/apache/arrow/issues/18014 is closed, can this be implemented?

Any news on this development. Having the Azure Cloud storage implemented in arrow for R would be amazing.


Dynamically allocate IP ranges for VPCs and metanetworks

Introduce ip_space and vpc_cidr_size options to disco_vpc.ini to automatically pick a ip range for VPCs
Add an auto option to meta network cidr config to automatically pick a ip range for metanetworks

This is to remove some manual configuration steps when creating sandbox VPCs. IP ranges for VPCs and meta networks don't need to be manually configured in disco_vpc.ini anymore. The IP ranges are guaranteed to not overlap with other VPCs (or an error is thrown if thats not possible) to fix our problems with VPC peering.

+1


AuthorizationException

Severity
P1 - Urgent, but non-breaking
Current Behavior
I have been trying to create a dataset using the deeplake python library but the below Exception and error code is given
Exception and Error code
	"name": "TokenPermissionError",
	"message": "The dataset doesn't exist and you don't have permissions to create a new one at the specified location.",
	"stack": "---------------------------------------------------------------------------
AuthorizationException                    Traceback (most recent call last)
~\Lib\\site-packages\\deeplake\\client\\client.py:185, in DeepLakeBackendClient.get_dataset_credentials(self, org_id, ds_name, mode, db_engine, no_cache)
    184 try:
--> 185     response = self.request(
    186         \"GET\",
    187         relative_url,
    188         endpoint=self.endpoint(),
    189         params={
    190             \"mode\": mode,
    191             \"no_cache\": no_cache,
    192             \"db_engine\": json.dumps(db_engine),
    193         },
    194     ).json()
    195 except Exception as e:

~\Lib\\site-packages\\deeplake\\client\\client.py:137, in DeepLakeBackendClient.request(self, method, relative_url, endpoint, params, data, files, json, headers, timeout)
    136     tries += 1
--> 137 check_response_status(response)
    138 return response

~\Lib\\site-packages\\deeplake\\client\\utils.py:60, in check_response_status(response)
     59 elif response.status_code == 403:
---> 60     raise AuthorizationException(message, response=response)
     61 elif response.status_code == 404:

AuthorizationException: The dataset doesn't exist and you don't have permissions to create a new one at the specified location.

During handling of the above exception, another exception occurred:

TokenPermissionError                      Traceback (most recent call last)
Cell In[4], line 6
      4 my_activeloop_dataset_name = \"test_dataset\"
      5 dataset_path = f\"hub://{my_activeloop_org_id}/{my_activeloop_dataset_name}\"
----> 6 ds = deeplake.empty(path=dataset_path)
      8 # create column text
      9 ds.create_tensor('text', htype=\"text\")

~\Lib\\site-packages\\deeplake\\api\\dataset.py:497, in dataset.empty(path, runtime, overwrite, public, memory_cache_size, local_cache_size, creds, token, org_id, lock_enabled, lock_timeout, verbose, index_params)
    494 dataset_creds_key = _fetch_creds_from_key(creds, org_id, token)
    496 try:
--> 497     storage, cache_chain = get_storage_and_cache_chain(
    498         path=path,
    499         db_engine=db_engine,
    500         read_only=False,
    501         creds=creds,
    502         token=token,
    503         memory_cache_size=memory_cache_size,
    504         local_cache_size=local_cache_size,
    505     )
    507     feature_report_path(
    508         path,
    509         \"empty\",
   (...)
    517         token=token,
    518     )
    519 except Exception as e:

~\Lib\\site-packages\\deeplake\\util\\storage.py:244, in get_storage_and_cache_chain(path, read_only, creds, token, memory_cache_size, local_cache_size, db_engine, indra)
    216 def get_storage_and_cache_chain(
    217     path,
    218     read_only,
   (...)
    224     indra=False,
    225 ):
    226     \"\"\"
    227     Returns storage provider and cache chain for a given path, according to arguments passed.
    228
   (...)
    241         A tuple of the storage provider and the storage chain.
    242     \"\"\"
--> 244     storage = storage_provider_from_path(
    245         path=path,
    246         db_engine=db_engine,
    247         creds=creds,
    248         read_only=read_only,
    249         token=token,
    250         indra=indra,
    251     )
    252     memory_cache_size_bytes = memory_cache_size * MB
    253     local_cache_size_bytes = local_cache_size * MB

~\Lib\\site-packages\\deeplake\\util\\storage.py:66, in storage_provider_from_path(path, creds, read_only, token, is_hub_path, db_engine, indra)
     62     storage: StorageProvider = IndraProvider(
     63         path, read_only=read_only, token=token, creds=creds
     64     )
     65 elif path.startswith(\"hub://\"):
---> 66     storage = storage_provider_from_hub_path(
     67         path, read_only, db_engine=db_engine, token=token, creds=creds
     68     )
     69 else:
     70     if path.startswith(\"s3://\"):

~\Lib\\site-packages\\deeplake\\util\\storage.py:164, in storage_provider_from_hub_path(path, read_only, db_engine, token, creds, indra)
    161 client = DeepLakeBackendClient(token=token)
    163 mode = None if (read_only is None) else (\"r\" if read_only else \"w\")
--> 164 url, final_creds, mode, expiration, repo = get_dataset_credentials(
    165     client, org_id, ds_name, mode, db_engine
    166 )
    168 is_local = get_path_type(url) == \"local\"
    170 # ignore mode returned from backend if underlying storage is local

~\Lib\\site-packages\\deeplake\\util\\storage.py:141, in get_dataset_credentials(client, org_id, ds_name, mode, db_engine)
    132 def get_dataset_credentials(
    133     client: DeepLakeBackendClient,
    134     org_id: str,
   (...)
    138 ):
    139     # this will give the proper url(s3, gcs, etc) and corresponding creds, depending on where the dataset is stored.
    140     try:
--> 141         url, final_creds, mode, expiration, repo = client.get_dataset_credentials(
    142             org_id, ds_name, mode=mode, db_engine={\"enabled\": db_engine}
    143         )
    144     except AgreementNotAcceptedError as e:
    145         handle_dataset_agreements(client, e.agreements, org_id, ds_name)

~\Lib\\site-packages\\deeplake\\client\\client.py:216, in DeepLakeBackendClient.get_dataset_credentials(self, org_id, ds_name, mode, db_engine, no_cache)
    213             except Exception:
    214                 raise InvalidTokenException
--> 216             raise TokenPermissionError(e.original_message)
    217     raise
    218 full_url = response.get(\"path\")

TokenPermissionError: The dataset doesn't exist and you don't have permissions to create a new one at the specified location."
}

Steps to Reproduce
Sample code
import deeplake
from dotenv import load_dotenv
import os

load_dotenv('../.env')

# Create Deep Lake dataset
ACTIVELOOP_TOKEN = os.getenv("ACTIVELOOP_TOKEN")
my_activeloop_org_id = "organisation_id"
my_activeloop_dataset_name = "test_dataset"
dataset_path = f"hub://{my_activeloop_org_id}/{my_activeloop_dataset_name}"
ds = deeplake.empty(path=dataset_path)
# ds = deeplake.dataset(path=dataset_path)

# create column text
ds.create_tensor('text', htype="text")

# add some texts to the dataset
texts = [f"text {i}" for i in range(1,11)]
for text in texts:
    ds.append({"text":text})

Expected/Desired Behavior
Output should be
Your Deep Lake dataset has been successfully created!
Python Version
3.11.9
OS
Windows 11
IDE
Vs-Code
Packages
deeplake 3.9.9
Additional Context
No response
Possible Solution
No response
Are you willing to submit a PR?

[ ] I'm willing to submit a PR (Thank you!)

Hi @daniau23 Is the string value of my_activeloop_org_id actually "organisation_id", or is that a placeholder?

Hi @daniau23 Is the string value of my_activeloop_org_id actually "organisation_id", or is that a placeholder?

it's a placeholder

@daniau23 got it. Can you pls DM to Ivo Stranic in our community Slack your username and organization_id, so I can check that the org exists and that the user is a member of the org.
You can also send me the dataset_path if it's easier.

@daniau23 got it. Can you pls DM to Ivo Stranic in our community Slack your username and organization_id, so I can check that the org exists and that the user is a member of the org.
You can also send me the dataset_path if it's easier.

Could I have the link for the Slack community?
Furthermore, my organisation id does exist, because I’ve been using it with  Langchain and LlamaIndex libraries. Moreover, I’ve used the deeplake.deepcopy() with LlamaIndex to copy a dataset from my local repository to the cloud storage.
So wondering why this current issue though.

Hi @daniau23 Here's the link to the slack community: http://slack.activeloop.ai/
It could be a bug, but in most cases, the issue is a typo in the paths, an improperly set token, or an expired token, so I'd like to verify those first.

The issue has been resolved thanks to @istranical


Undefined name: from functools import partial

flake8 testing of https://github.com/toandaominh1997/EfficientDet.Pytorch on Python 3.8.0
$ flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
./eval.py:81:32: F821 undefined name 'device'
            images = images.to(device)
                               ^
./eval.py:82:42: F821 undefined name 'device'
            annotations = annotations.to(device)
                                         ^
./utils/vis_bbox.py:107:26: F821 undefined name 'label_names'
            label_names= label_names
                         ^
./models/bifpn.py:91:17: F821 undefined name 'xavier_init'
                xavier_init(m, distribution='uniform')
                ^
./models/bifpn.py:167:17: F821 undefined name 'xavier_init'
                xavier_init(m, distribution='uniform')
                ^
./models/retinahead.py:8:13: F821 undefined name 'partial'
    pfunc = partial(func, **kwargs) if kwargs else func
            ^
6     F821 undefined name 'device'
6

https://flake8.pycqa.org/en/latest/user/error-codes.html
On the flake8 test selection, this PR does not focus on "style violations" (the majority of flake8 error codes that psf/black can autocorrect).  Instead these tests are focus on runtime safety and correctness:

E9 tests are about Python syntax errors usually raised because flake8 can not build an Abstract Syntax Tree (AST).  Often these issues are a sign of unused code or code that has not been ported to Python 3.  These would be compile-time errors in a compiled language but in a dynamic language like Python they result in the script halting/crashing on the user.
F63 tests are usually about the confusion between identity and equality in Python.  Use ==/!= to compare str, bytes, and int literals is the classic case.  These are areas where a == b is True but a is b is False (or vice versa).  Python >= 3.8 will raise SyntaxWarnings on these instances.
F7 tests logic errors and syntax errors in type hints
F82 tests are almost always undefined names which are usually a sign of a typo, missing imports, or code that has not been ported to Python 3.  These also would be compile-time errors in a compiled language but in Python a NameError is raised which will halt/crash the script on the user.

One issue remains: https://app.circleci.com/jobs/github/toandaominh1997/EfficientDet.Pytorch/58


Trim selected words

Words obtained from file includes meaningless marks. It has a special structure. Reading through their documentation would be useful. they needs to be trimmed before getting displayed on screen.

Trimming operation is pending. Some words have prefix or suffix. In this issue, it was decided to investigate the wordlist document.

it's enough for now


Url with headers not working

I am trying to load PDF using web url that needs x-auth in headers. I am always getting authentication error using this package

@reshamRudra
Hi, This package supports request headers only on Android,
so if you don't specify that, please refer to the code below.
await launch(
    customTabsOption: CustomTabsOption(
        headers: {
            'key': 'value'
        },
    ),
);

Request headers cannot be supported on iOS
because it uses SFSfariViewController internally.

Reopen this issue if necessary.

Headers do not work when using CustomTabsOptions.externalBrowser and CustomTabsBrowserConfiguration
[✓] Flutter (Channel stable, 3.19.4, on macOS 15.1.1 24B91 darwin-arm64, locale en-ID)
• Flutter version 3.19.4 on channel stable at /Users/rafial/fvm/versions/3.19.4
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision 68bfaea224 (8 months ago), 2024-03-20 15:36:31 -0700
• Engine revision a5c24f538d
• Dart version 3.3.2
• DevTools version 2.31.1
[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
• Android SDK at /Users/rafial/Library/Android/sdk
• Platform android-34, build-tools 34.0.0
• Java binary at: /Library/Java/JavaVirtualMachines/jdk-17.jdk/Contents/Home/bin/java
• Java version Java(TM) SE Runtime Environment (build 17+35-LTS-2724)
• All Android licenses accepted.
[✓] Xcode - develop for iOS and macOS (Xcode 16.1)
• Xcode at /Applications/Xcode.app/Contents/Developer
• Build 16B40
• CocoaPods version 1.16.2
[✓] Chrome - develop for the web
• Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome
[✓] Android Studio (version 2024.2)
• Android Studio at /Applications/Android Studio.app/Contents
• Flutter plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/9212-flutter
• Dart plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/6351-dart
• Java version OpenJDK Runtime Environment (build 21.0.3+-79915917-b509.11)
[✓] IntelliJ IDEA Ultimate Edition (version 2024.3)
• IntelliJ at /Applications/IntelliJ IDEA.app
• Flutter plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/9212-flutter
• Dart plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/6351-dart
[✓] VS Code (version 1.95.3)
• VS Code at /Applications/Visual Studio Code.app/Contents
• Flutter extension version 3.100.0
[✓] Connected device (3 available)
• sdk gphone64 arm64 (mobile) • emulator-5554 • android-arm64  • Android 15 (API 35) (emulator)
• macOS (desktop)             • macos         • darwin-arm64   • macOS 15.1.1 24B91 darwin-arm64
• Chrome (web)                • chrome        • web-javascript • Google Chrome 131.0.6778.86
[✓] Network resources
• All expected network resources are available.

Due to security considerations, there are limitations on the request headers that can be passed to Custom Tabs:

Approved CORS Request Headers:

Can be passed to Custom Tabs.
Examples include accept-language, content-language, etc.

Non-Approved CORS Headers:

Cannot be passed.
These headers can only be passed if the app and website are associated via Digital Asset Links, which this plugin does not currently support.

For more details, please refer to the official documentation:

Add extra HTTP request headers - Chrome Developers


Day46: 'All Possible Full Binary Trees' solution

All Possible Full Binary Trees
https://leetcode.com/problems/all-possible-full-binary-trees/
Given an integer n, return a list of all possible full binary trees with n nodes. Each node of each tree in the answer must have Node.val == 0.
Each element of the answer is the root node of one possible tree. You may return the final list of trees in any order.
A full binary tree is a binary tree where each node has exactly 0 or 2 children.

Example 1:
Input: n = 7
Output: [[0,0,0,null,null,0,0,null,null,0,0],[0,0,0,null,null,0,0,0,0],[0,0,0,0,0,0,0],[0,0,0,0,0,null,null,null,null,0,0],[0,0,0,0,0,null,null,0,0]]
Example 2:
Input: n = 3
Output: [[0,0,0]]


chore(main): release 0.20.1

:robot: I have created a release beep boop
0.20.1 (2024-11-04)
Bug Fixes

:loud_sound: add correct warning if batch empty received (62f37d7)

This PR was generated with Release Please. See documentation.

:robot: Created releases:

v0.20.1
:sunflower:


feat - cogs management and more resources command

#1
I have created the cogs management system
The file structure of the cogs folder is something like this:

I have also added more resources command for other languages (JS, C++) and frameworks (ReactJS)
Change the automeme channel ID while testing the bot 😄

Thanks for your contribution @Kira272921 ,
but some changes are needed in the help command, instructions are provided in Discord.

@EFFLUX110 I have improved the help command embed and it looks like this right now:

@EFFLUX110 I have improved the help command embed and it looks like this right now:

Thanks for your contribution @Kira272921 🎊

@all-contributors please add @Kira272921 for code contribution

@all-contributors please add @Kira272921 for code contribution

Great work @Kira272921 🎉

Great work @Kira272921 🎉

Thanks!


AmazonEc2 instance is not found for DI

I have a simple Spring boot app and tring to inject default EC2Client but it seems that it is not created. When I try to inject S3Client evirything is fine.
@Configuration
@EnableAutoConfiguration(exclude = [
        AmazonRdsDatabaseRegistrar.class,
        MessagingAutoConfiguration.class,
        ElastiCacheAutoConfiguration.class,
        MailSenderAutoConfiguration.class])
@ComponentScan
public class Application implements CommandLineRunner {

    @Autowired
    private AmazonS3 amazonS3

    @Autowired
    private AmazonEC2 amazonEc2;

    public static void main(String[] args) {
        SpringApplication.run(Application.class, args)
    }

    @Override
    void run(String... args) throws Exception {
        def list = amazonS3.listBuckets()
        log.info(list)
    }
}

Hi @gschukin
Not all the AWS clients are created automatically. They are only created when needed and the AmazonEC2 client is not needed by now (instance metadata are accessed with EC2MetadataUtils). In your case you could create the AmazonEC2Client yourself like this:
@Bean
public AmazonEC2 amazonEC2(AWSCredentialsProvider awsCredentialsProvider) {
    return new AmazonEC2Client(awsCredentialsProvider);
}

Hi @alainsahli
Thank you for the answer. I thought that aws credentials and AmazonEC2Client on classpath was enough to have it provided as a bean. Also I was confused by documentation, as it states that client can be injected by default.

Hello @gschukin
in general we try to create as less resources (AWS clients) as possible. If you are only using an  <context:context-instance-data /> then we are not creating an AmazonEC2Client because there is no need to create. If you enable the user-tags-map attribute inside the context-instance-data element, then we create the client (because we need it to fetch the tags in EC2).
Therefore like @alainsahli described, you have to create the client on yourself if you are using the instance data support without user tags.
I will re-open that issues and re-write the documentation to clarify that point, because it is currently confusing.


Ropsten Infura + Truffle + truffle-hdwallet-provider. Invalid JSON RPC response: ""  - Issue while performing the write function in the smart contract deployed on Ropsten Network

When I am trying to call a Write function of the smart contract deployed on the ropsten network using truffle, I get error Invalid JSON RPC response: "" . The Read functions are working fine. I have read that same issue has been reported here but no solution is provided for that.
Truffle Version: Truffle v4.1.8 (core: 4.1.9)
Solidity v0.4.24 (solc-js)
truffle-hdwallet-provider: 0.0.5
Can you please help with what is causing this issue and how to resolve it. It is bit urgent.Thanks.

Also mentioned in #45 seems similar

Here is my XMLHttpRequest that I print out from
invalid reponse raw result XMLHttpRequest {
  onloadstart: null,
  onprogress: null,
  onabort: null,
  onerror: null,
  onload: null,
  ontimeout: [Function],
  onloadend: null,
  _listeners: {},
  onreadystatechange: [Function],
  _anonymous: undefined,
  readyState: 4,
  response: null,
  responseText: '',
  responseType: '',
  responseURL: '',
  status: 0,
  statusText: '',
  timeout: 0,
  upload:
   XMLHttpRequestUpload {
     onloadstart: null,
     onprogress: null,
     onabort: null,
     onerror: null,
     onload: null,
     ontimeout: null,
     onloadend: null,
     _listeners: {},
     _request: [Circular],
     _contentType: 'text/plain;charset=UTF-8',
     _body: <Buffer hidden budy... > },
  _method: 'POST',
  _url:
   Url {
     protocol: 'https:',
     slashes: true,
     auth: null,
     host: 'ropsten.infura.io',
     port: null,
     hostname: 'ropsten.infura.io',
     hash: null,
     search: null,
     query: null,
     pathname: '/<hidden key>',
     path: '/<hidden key>',
     href: 'https://ropsten.infura.io/<hidden key>' },
  _sync: false,
  _headers:
   { 'Content-Type': 'application/json',
     Connection: 'keep-alive',
     Host: 'ropsten.infura.io',
     'User-Agent': '<hidden machine information>',
     'Content-Length': '98' },
  _loweredHeaders: { 'content-type': 'Content-Type' },
  _mimeOverride: null,
  _request: null,
  _response: null,
  _responseParts: null,
  _responseHeaders: null,
  _aborting: null,
  _error: null,
  _loadedBytes: 0,
  _totalBytes: 0,
  _lengthComputable: false }

TypeError: JSON.decycle is not a function
    at Object.InvalidResponse (/Users/xxx/ws/boba/node_modules/truffle-hdwallet-provider/node_modules/web3/lib/web3/errors.js:36:153)
    at XMLHttpRequest.request.onreadystatechange (/Users/xxx/ws/boba/node_modules/truffle-hdwallet-provider/node_modules/web3/lib/web3/httpprovider.js:117:32)
    at XMLHttpRequestEventTarget.dispatchEvent (/Users/xxx/ws/boba/node_modules/xhr2/lib/xhr2.js:64:18)
    at XMLHttpRequest._setReadyState (/Users/xxx/ws/boba/node_modules/xhr2/lib/xhr2.js:354:12)
    at XMLHttpRequest._onHttpRequestError (/Users/xxx/ws/boba/node_modules/xhr2/lib/xhr2.js:544:12)
    at ClientRequest.<anonymous> (/Users/xxxd/ws/boba/node_modules/xhr2/lib/xhr2.js:414:24)
    at ClientRequest.emit (events.js:159:13)
    at TLSSocket.socketErrorListener (_http_client.js:389:9)
    at TLSSocket.emit (events.js:159:13)
    at emitErrorNT (internal/streams/destroy.js:64:8)
    at process._tickCallback (internal/process/next_tick.js:152:19)

changing https://ropsten.infura.io/<hidden key> to https://ropsten.infura.io/v3/<hidden key> still have the same problem

Having similar issue here, trying to deploy to rinkeby and using Infura as provider as well. Connecting to Kovan seems to work properly.
(I also seem to get sometimes JSON RPC error while trying to connect to mainnet, but as the time of writing, connecting to mainnet seems to work again).
Not sure if this is related to truffle-hdwallet-provider or infura itself.

I have the same problem

Sometimes  this problem show if gas low, so check the gas and gasPrice

For me, this problem occurred because the link I was using for Infura had an incorrect security token. Basically, the linked to the blockchain was wrong.
Dont be me, be better :rofl:


Single Table Inheritance problem

Short description: adding a constraint in a subclass makes impossible to save a superclass object
Details:
class Project
	include DataMapper::Resource

	property :id,		Serial
	property :name,		String, :default => ''
end

class Activity
	include DataMapper::Resource

	property :id,		Serial
	property :name,		String, :default => ''
	property :type, 	Discriminator
end

project = Project.new(:name => 'project')
puts project.save

activity = Activity.new(:name => 'base activity')
puts activity.save

this prints
true
true
now we add a ProjectActivity that extends Activity; every ProjectActivity must reference a Project
class Project
	include DataMapper::Resource

	property :id,		Serial
	property :name,		String, :default => ''
end

class Activity
	include DataMapper::Resource

	property :id,		Serial
	property :name,		String, :default => ''
	property :type, 	Discriminator
end

class ProjectActivity < Activity
	belongs_to :project
end

project = Project.new(:name => 'project')
puts project.save

activity = Activity.new(:name => 'base activity')
puts activity.save

we get the following exception:
activities.project_id may not be NULL
that's because the ORM uses the Single Table Inheritance and adds a project_id column with NOT NULL constraint: this breaks every save of every class that doesn't have the project_id filed.
Currently I'm using a workaround, setting
belongs_to :project, :required => false
and doing the validation with a method

This behavior won't change so your workaround is OK


Fix listing of required keyword in definitions

Some sections for keys in the schema guide (e.g., definitions.version) currently have a required value, which is wrong (version should have one, and so should definitions.reference.version).
We need to check for each definition whether it has a required value set, and whether it should be there at all, and delete if unnecessary (as part of #240, and derived from the schema, i.e., for all definitions that have required keys, all subdefinitions should have the required keyword, but not the "root" definitions.)

How about removing requireds from subkeys of definitions altogether?

the 1.2.0 branch currently has the following key descriptions with required: true

authors
cff-version
message
title
definitions.entity.name
definitions.reference.author
definitions.reference.title
definitions.reference.type

Everything else is required: false, so I guess that will at least result in correct behavior.

and delete if unnecessary

maybe setting

required: N/A

more clearly communicates that we didn't simply forget it.

Yes:
- required: N/A

Closed in #273.


move upgrade/patch steps onto the each sub-component

As we started support of independent sub-component setup we have to reorganize upgrade process and make it fully independent as well on each sub-component level.
Exact requirements still TBD

done for jenkins-master, mcloud and selenoid.
it is organized via executing ./zebrunner.sh setup on every sub-module level automatically and regenerating required files automatically. due to the presence of CE installer all these steps should be done automatically which is guarantee the same process for every upgrade.
Also for all above sub-module some allowed customizations in variables.env and/or .env should be preserved

to test follow regular upgrade checklist with minor adjustments:

setup CE using master branch (2.0 release in master branch)
do basic acceptance
inject some customizations into the:

jenkins-master/variables.env //inject user token insted of password for admin
mcloud/variables.env //specify valid STF_TOKEN and maybe SECRET
selenoid/.env //CPU or MEMORY

restart and do basic again to verify that infra is ok
switch to the develop branch and pull sub-modules recursively

git checkout develop
git pull --recurse-submodules

run ./zebrunner.sh upgrade, confirm action and services restart
-> all custom settings in variables.env/.env files should be preserved
do again basic acceptance to see that new selenoid, pipeline 1.8 version in jenkins and 2.2 STF are good enough

Verified fixed. Created a separate issue for VNC session.


C++ inference for AGX Xavier

The paper seems to inference the model by python code in real time?
Shall we take a c++ code to inference the model to achieve faster inference?

Can you give some c++ inference example code? I cant find how to get the trt engine and post processing?
Many thanks !

Sorry, currently we only have the implementation in Python.

Sorry, currently we only have the implementation in Python.

Hi, where is python inference code? Thanks a lot.


1.0.23 Unity 4.X is no longer supported in master branch.

Forced sdk.getInstallSource request to not use session, according to API.
App Invite/Suggest now returns list of requested uids[Issue 50]
Rewrote/Fixed Android/iOS authentication [Issue 51]

1 small update required in OKSettings(unused parameter not removed)


Fix issue with columns disappearing in Chrome 45.

See #5044. Chrome 45 includes a new CSS column implementation, which seems to break with block elements. Since overflow only affects block and inline-block elements, I also had to switch how we were hiding checkboxes.
Tested in Chrome 45, Chrome Canary, Firefox latest, Safari latest, IE8, IE9, IE10, IE11.
For review: @DoSomething/front-end

:tada:


Website title / description ommited when using "Share" function

What I do:
Share a certain URL, a news article for example - "Charlie Chaplin first man on the moon!" (news.kom/chaplinmoon.html) - with any messenger or Nextcloud Bookmarks.

What happens:
Only the URL is passed along: news.kom/chaplinmoon.html

What should happen:
Title / Description and URL show up in messenger or bookmarks app:
"Charlie Chaplin first man on the moon!" -news.kom/chaplinmoon.html

(Sorry, if this is the wrong label. Not sure, if bug or missing feature.)

It seems like the behaviour of ddg is consistent with Google Chrome though, which would only share the url as well.

When sharing via Google Chrome, the description is visible:
"Why restaurant menus are getting shorter - CNN - https://www.cnn.com/2020/06/23/business/restaurant-menus-shrinking/index.html"

Hi @ecklebrug, I guess the expected behavior can be different for each user.
In my case, I like that we only share the URL when sharing a link via any messenger app (sometimes that messenger app will show a preview of the link). For a few other cases like you described, it could be helpful to share that extra info, for example sharing a link via email (adding that title/description to the subject).
Since sharing is already covered but not as some users may expect, I'm going to label this issue as "Feedback" in case we can revisit our sharing functionality.
Thanks for reporting it.


Just A question How would one add more bots?

Just A question How would one add more bots?

run multiple cmd windows
python pokecli.py -cf configs/newconfig.json


Add QUIC transport layer to libp2p components

After a discussion with folks at IPFS Camp (end of June), it has become clear that we need to start exploring using the QUIC transport protocol layer in our libp2p components. This, in theory, is a pretty simple change/update. However, because we are using ED25519 keys for our IPFS peers, things get tricky. This issue will document those issues, and hopefully outline a reasonable path towards adoption of QUIC.
First, why add QUIC support? Apparently it comes with easier NAT hole punching, better handling of network changes (i.e., from lte to wifi and back again), and generally a more consistent experience, particularly on mobile.
Secondly, what is the issue? Simply stated, a lack of support for ed25519 keys. Recently, Golang has added support for Ed25519 keys to the standard library. This will make it into the 1.3 release. This is great news, because it means things like crypto/lts, crypto/x500, etc will support Ed25519 out of the box. In fact, there is already a PR to add this support via a Golang upgrade.
The downside here, as stated in comments on that PR, is mainly that:

its not really great until after 1.13 is released (which is very soon)
this won't work with other nodes that haven't updated to a libp2p release compiled with Go 1.13 (and therefore won't be able to complete the handshake)
there might be a more 'stable' approach that libp2p folks are already aware of: https://github.com/libp2p/go-libp2p-quic-transport/issues/18

It might be ok to use the go1.3 version if we also continue to support our current transports... which would make our nodes backward compatible with the rest of the network, but only compatible over quic with our (or other) peers that have made the upgrade.
So to summarize: quic transport is a really good idea... but given we are using ed25519 keys, we either a) wait for a libp2p generic fix (best), b) wait for go v1.13 to be released (easiest), or c) do it ourselves using a custom libp2p-quic implementation (hardest).

This should be ready to try thanks to: https://github.com/libp2p/go-libp2p-quic-transport/pull/67


[SPARK-23867][Scheduler] use droppedCount in logWarning

What changes were proposed in this pull request?
Get the count of dropped events for output in log message.
How was this patch tested?
The fix is pretty trivial, but ./dev/run-tests were run and were successful.
Please review http://spark.apache.org/contributing.html before opening a pull request.
@vanzin @cloud-fan
The contribution is my original work and I license the work to the project under the project’s open source license.

Also cc @cloud-fan

thanks, merging to master/2.3!


Python: Modified FUNCTION LIST test to test byte arguments

Issue #, if available:
Description of changes:
Modified FUNCTION LIST test to test byte arguments.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

You may need to do lint check


sieve

This Pull Request resolves Issue #17
Description:
In this Pull Request we have done the following additions/edits for the code:
Issue Number 17

Hey @keerthanapolkampally Please add the issue number to the pull request description.

Thanks for contributing!


Search parameters in REST API

Hi,
We use the OLS REST API v3 with the parameters obo_id and id, but it looks like with OLS v4 it only works with iri.
For instance we use the parameter obo_id in the /ontologies/efo/terms/ endpoint:
https://www.ebi.ac.uk/ols/api/ontologies/efo/terms?obo_id=EFO:0009531
And the parameter id the /ontologies/efo/ancestors/ endpoint:
https://www.ebi.ac.uk/ols/api/ontologies/efo/ancestors?id=MONDO_0005041
Is it something that is going to be (re)implemented in OLS v4 ?
Thanks,
Laurent

In order to be backward compatible we ideally need to implement this.

Good day, Laurent. Apologies for not getting back to you the soonest. We already implemented code to handle this but it seems like there is an issue when obo_id or short_form is passed for some APIs like ancestors. They work but return empty data. If you pass the term's full IRI though as id or iri, it works as it should be. Check below OLS4 ancestors APIs for MONDO:0005041.
https://www.ebi.ac.uk/ols4/api/ontologies/efo/ancestors?id=http%3A%2F%2Fpurl.obolibrary.org%2Fobo%2FMONDO_0005041
https://www.ebi.ac.uk/ols4/api/ontologies/efo/ancestors?iri=http%3A%2F%2Fpurl.obolibrary.org%2Fobo%2FMONDO_0005041
As for the terms API, we handle obo_id as oboId or curie now. While short_form is now shortForm.
https://www.ebi.ac.uk/ols4/api/ontologies/efo/terms?curie=EFO:0009531
https://www.ebi.ac.uk/ols4/api/ontologies/efo/terms?oboId=EFO:0009531
https://www.ebi.ac.uk/ols4/api/ontologies/efo/terms?shortForm=EFO_0009531
https://www.ebi.ac.uk/ols4/api/ontologies/efo/terms?id=http%3A%2F%2Fpurl.obolibrary.org%2Fobo%2FMONDO_0005041
https://www.ebi.ac.uk/ols4/api/ontologies/efo/terms?iri=http%3A%2F%2Fpurl.obolibrary.org%2Fobo%2FMONDO_0005041
I'm going to keep this ticket open to track why some API like ancestors couldn't handle above parameters.

Thanks Joshua!
I can see that the terms endpoint works with the oboId parameter.
Best regards,
Laurent

Hi Joshua,
I tried the terms endpoint and using the different parameters it seems that only few of them work:

short_form: https://www.ebi.ac.uk/ols4/api/ontologies/efo/terms?short_form=MONDO_0016056
iri: https://www.ebi.ac.uk/ols4/api/ontologies/efo/terms?iri=http://purl.obolibrary.org/obo/MONDO_0016056

The other parameters seem to return all the entries (+40K), e.g.:
https://www.ebi.ac.uk/ols4/api/ontologies/efo/terms?shortForm=MONDO_0016056
https://www.ebi.ac.uk/ols4/api/ontologies/efo/terms?oboId=MONDO_0016056
https://www.ebi.ac.uk/ols4/api/ontologies/efo/terms?curie=MONDO_0016056
I tried the IDs with _ and with : but it didn't change the results.
Thanks,
Laurent


Could you clarify that the bandwidth used?

Right now I see the timings, but the problem is that a RG8 load is 8x less memory being fetched than a RGBA32F
So its really hard to translate this to a meaningful and useful number if you're trying to decide on the format to store armature bone matrices for vertex skinning.

This benchmark is measuring peak load/store rate from L1$. It's useful when you have highly coherent data that fits to the GPU caches.
This benchmark is NOT useful for measuring memory bandwidth bound cases. In those cases you should simply try to reduce the data size and look at the memory bandwidth numbers given by your GPU vendor. Those are pretty accurate.


String escaping error in Import Partcategory dialog when metioning "Confirm Import" button

Please verify that this bug has NOT been raised before.

[X] I checked and didn't find a similar issue

Describe the bug*

Expected 'Confirm import' got  'Confirm import'
Steps to Reproduce
path: admin/part/partcategory/
Main page
Admin -> Admin
Part Categories
Import
Select file
Format TSV
Preview appears with the above text that contains strange escaping artifacts.
Expected behaviour
Zero backslashes around the apostrophes.
Deployment Method

[X] Docker
[ ] Bare metal

Version Information
InvenTree Version | 0.12.6
Please verify if you can reproduce this bug on the demo site.

[X] I can reproduce this bug on the demo site.

Relevant log output
No response

Looks like it's in django:
https://github.com/search?q=click+'Confirm+import'+django&type=code

I'm not against closing this.
(I opened the issue I was going to submit a PR for you, then I found that
it's not in this repo.)
And escaping issues are often tied to a can of worms, so digging into
Django itself is beyond the horizon for now.
On Thu, Aug 31, 2023, 23:22 Matthias Mair @.***> wrote:

@Petrox https://github.com/Petrox you are right, that needs to be
addressed upstream. Are you ok with us closing this or should we keep it up
till it gets fixed there? We update the dependencies regularly so when a
patch comes available it should land in the next release.
—
Reply to this email directly, view it on GitHub
https://github.com/inventree/InvenTree/issues/5489#issuecomment-1701728786,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAXFKXMLOJNBA2SN27JSQATXYDW6VANCNFSM6AAAAAA4CEEEX4
.
You are receiving this because you were mentioned.Message ID:
@.***>


Draw point-cloud

I'd like to draw a point-cloud (up to one million points) using X, Y, Z float32 coordinates. Each point should also have a unique color (RGBA). The point-cloud will be updated a few time per second.
When using plain OpenGL, using
glColorPointer with glBufferData and glDrawElements
gets the job done. How to handle it best with bgfx?

use a DynamicVertexBuffer with position and color, draw with state BGFX_STATE_PT_POINTS

Thanks, works great.
I had to enable "GL_VERTEX_PROGRAM_POINT_SIZE" in the OpenGL renderer to alter gl_PointSize within the vertex shader. Did not test any other renderer.
if (BX_ENABLED(BGFX_CONFIG_RENDERER_OPENGL) )
{
	if ( (BGFX_STATE_PT_POINTS|BGFX_STATE_POINT_SIZE_MASK) & changedFlags)
	{
		float pointSize = (float)(bx::uint32_max(1, (newFlags&BGFX_STATE_POINT_SIZE_MASK)>>BGFX_STATE_POINT_SIZE_SHIFT) );
		GL_CHECK(glPointSize(pointSize) );
		GL_CHECK(glEnable(GL_VERTEX_PROGRAM_POINT_SIZE) );
	}

Did you perhaps test the limit of point clouds it could work with? Did you also compare it against the PCL Visualizer?


Interchain Accounts: consider using smaller timeoutTimestamp

Surfaced from @informalsystems audit of ICS27 InterchainAccounts at hash b8bc1a8c
In the current implementation of 27-interchain-accounts/keeper/relay.go, when tx packets are sent, the timeout is set to max uint64, thus making the packets effectively never expiring:
	// timeoutTimestamp is set to be a max number here so that we never recieve a timeout
	// ics-27-1 uses ordered channels which can close upon recieving a timeout, which is an undesired effect
	const timeoutTimestamp = ^uint64(0) >> 1 // Shift the unsigned bit to satisfy hermes relayer timestamp conversion

	packet := channeltypes.NewPacket(
		icaPacketData.GetBytes(),
		sequence,
		sourcePort,
		sourceChannel,
		destinationPort,
		destinationChannel,
		clienttypes.ZeroHeight(),
		timeoutTimestamp,
	)

The problem I see with this approach is that it gives the application control away completely: the app (IA) doesn't have a chance to react in case a packet got stuck for some reason. And there are such cases, e.g. when a LightClient is not updated, and the trusting period passes, so it can't ever be updated again (besides using a special governance proposal), as outlined e.g. in the ICS02:

If a client can no longer be updated (if, for example, the trusting period has passed), it will no longer be possible to send any packets over connections & channels associated with that client, or timeout any packets in-flight (since the height & timestamp on the destination chain can no longer be verified). Manual intervention must take place to reset the client state or migrate the connections & channels to another client. This cannot safely be done completely automatically, but chains implementing IBC could elect to allow governance mechanisms to perform these actions (perhaps even per-client/connection/channel in a multi-sig or contract).

I understand the motivation for choosing the high timeout, such that the channel never gets closed because of a timed out packet. But I believe the real architectural choice here is different. Comparing the two cases:

with unclosed but unusable channel, with stuck packets
received notification of expired timeout, and a closed channel

The second one I think is much better, because you can react somehow. In the first one your app is stuck completely, and you loose any control over what happens next.
CC @seantking

For Admin Use

[ ] Not duplicate issue
[ ] Appropriate labels applied
[ ] Appropriate contributors tagged/assigned

Great points. I agree with this :+1:
I guess the question is how long do we make the timeouts? Do we pass the decision along to the application developers who will be building modules on the controller side that use ICA or just pick a reasonable time like 2-3 days?

As this is not a single transaction, but a sequence of transactions, I would do it like that:

use relative timeouts for time & height; let's call them timeoutTimestampDelay and timeoutHeightDelay, with the semantics that for an outgoing packet the ICA module sets timeoutTimestamp and timeoutHeight to the current timestamp (resp. height) + the corresponding delay.
give reasonable defaults to this values in the ICA itself (e.g. 2 days for timestamp delay, and unlimited delay for heights)
export the corresponding variables to the users of ICA, i.e. allow them to change the defaults if needed.

Also, because any timeout will close the channel, this implies the necessity of some retry mechanism which would reopen the channels when needed and/or notify the user application of the failures.

thanks @andrey-kuprianov! The concern with packets that can never be timed out makes sense to me.
One concern that comes to mind with respect to the current proposed solutions is that predicting appropriate timeouts is difficult since we are trying to predict the time/height for a counterparty blockchain which we only have past information for. In fact we recently faced this issue on the UX side in #508. Using time.Now() is not an option since it could lead to chain halts due to unsynchronized validator clocks. We could use our own block time, but I'm unaware of how synchronized blockchains currently are with respect to timestamp
We could allow this to be inputted by the controller module (and thus likely a user inputted value). The benefit is that a user inputted timestamp has the benefit of knowing the actual time on the counterparty (assuming it has access to the counterparties blockchain), but the downside is that timeouts due to user error are probably pretty likely. Thoughts?

We have decided to use an ICA authentication module provided timestamp value. This increases the likelyhood of channels becoming closed due to active channel usage. Since usage of interchain accounts is so widely varied, it is impossible to predict what value a timeout timestamp would provide. Thus allowing flexibility in the decision makes sense.
Implementation of this issue should make it very clear that an appropriate timeout timestamp value is required. The TrySendTx interface will be modified with this extra argument


Bot is unable to download the attachment sent by the user in Sample 56

Github issues for C# /JS / Java/ Python should be used for bugs and feature requests. Use Stack Overflow for general "how-to" questions.
Sample information

Sample type: samples
Sample language: nodejs
Sample name: 56.teams-file-upload

Describe the bug
Bot is not able to download the attachment sent by the user,
To Reproduce

Configure the bot
Run and access bot in teams
Send the bot any image attachment

Expected behavior
Bot should be able to download the attachment and send it back to the user.
Screenshots

Possibly related to #3612

@birla, thank you for your patience. I have tested this and am not able to repro the issue. The bot asks me to allow it to send a photo which it does. I can then download the photo. Additionally, as a user, I can upload a photo which is then stored, able to be viewed, and re-downloaded.
Which of the two flows are you experiencing this issue while running? Also, which version of the SDK do you have installed?

Closing due to inactivity.


Flutter web Completer don`t work

`

flutter build web
put it into an other android project assets
build apk and visit it by webview
it invoke android http request function by js bridge(with callback)
when callback return data,the Completer is null
`

Hi @zhangwei911

flutter build web
put it into an other android project assets
build apk and visit it by webview

Running flutter web app inside webview in flutter release apk?
Can you please provide your flutter doctor -v, a complete reproducible minimal code samples

it invoke android http request function by js bridge(with callback)

please provide an example of this
Thank you

1.in another normal apk with webview not flutter
2.flutter doctor -v
[√] Flutter (Channel stable, 2.2.0, on Microsoft Windows [Version 10.0.19042.985], locale zh-CN)
    • Flutter version 2.2.0 at E:\flutter
    • Framework revision b22742018b (4 weeks ago), 2021-05-14 19:12:57 -0700
    • Engine revision a9d88a4d18
    • Dart version 2.13.0
    • Pub download mirror https://pub.flutter-io.cn
    • Flutter download mirror https://storage.flutter-io.cn

[√] Android toolchain - develop for Android devices (Android SDK version 30.0.2)
    • Android SDK at c:\Users\dell\AppData\Local\Android\Sdk
    • Platform android-30, build-tools 30.0.2
    • ANDROID_HOME = C:\Users\dell\Desktop\AS_Arctic_Fox
    • ANDROID_SDK_ROOT = C:\Users\dell\AppData\Local\Android\Sdk
    • Java binary at: C:\Users\dell\Desktop\AS_Arctic_Fox\jre\bin\java
    • Java version OpenJDK Runtime Environment (build <IP_ADDRESS>+0-b77-7246554)
    • All Android licenses accepted.

[√] Chrome - develop for the web
    • Chrome at C:\Program Files (x86)\Google\Chrome\Application\chrome.exe

[√] Android Studio (version 4.1.0)
    • Android Studio at E:\Software\ASStable
    • Flutter plugin can be installed from:
       https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
       https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.8+10-b944.6842174)

[√] Android Studio
    • Android Studio at C:\Users\dell\Desktop\AS_Arctic_Fox
    • Flutter plugin can be installed from:
       https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
       https://plugins.jetbrains.com/plugin/6351-dart
    • android-studio-dir = C:\Users\dell\Desktop\AS_Arctic_Fox
    • Java version OpenJDK Runtime Environment (build <IP_ADDRESS>+0-b77-7246554)

[√] IntelliJ IDEA Ultimate Edition (version 2020.3)
    • IntelliJ at E:\Software\II2020
    • Flutter plugin version 52.2.5
    • Dart plugin version 203.6912

[√] IntelliJ IDEA Ultimate Edition (version 2021.1)
    • IntelliJ at E:\Software\II2021
    • Flutter plugin version 57.0.5
    • Dart plugin version 211.7233

[√] VS Code (version 1.56.2)
    • VS Code at C:\Users\dell\AppData\Local\Programs\Microsoft VS Code
    • Flutter extension version 3.23.0

[√] Connected device (3 available)
    • STF AL10 (mobile) • 5JP0217830003366 • android-arm64  • Android 9 (API 28)
    • Chrome (web)      • chrome           • web-javascript • Google Chrome 89.0.4389.114
    • Edge (web)        • edge             • web-javascript • Microsoft Edge 91.0.864.41

• No issues found!

3.js
var WebApp = {
        callbackIndex:0,
        callbackArray: new Array(),
        JSCallBack: function(i, json){
            var callBack = this.getCallback(i);
            callBack(json);
        },

        saveCallback: function(a) {
            var index = this.callbackIndex;
            this.callbackArray[index] = a;
            this.callbackIndex++;
            return index;
        },

        getCallback: function(i) {
            return this.callbackArray[i]
        },
        testFunc: function(success, failed){
            var si = this.saveCallback(success);
            var fi = this.saveCallback(failed);
            window.nativePlugin.invoke(si, fi);
        }
}

4.dart
import 'dart:async';
import 'dart:html';
import 'dart:js';
import 'dart:js_util';

import 'package:js/js.dart';

@JS()
class WebApp {
  external static invoke(void Function(dynamic res) success, void Function(dynamic err) failure);

  static Future invokeFuture() {
    Completer completer = Completer();
    invoke((res) {
      completer.complete(res);
    }, (err) {
      completer.completeError(err);
    });
    return completer.future;
  }
}

Hi @zhangwei911
Firstly explain the issue what's the issue is, then provide complete reproduction steps with a complete code sample
Starting from scratch and cover all the steps required
Code snippets you provided are random, doesn't explain the process to reproduce the issue and what is expected result and actual results

An Android application that only contains WebView and a JS call. loads the flutter web application packaged in application assets through WebView. Flutter calls JS method containing callback by using completer, but null pointer exception occurs when completer.complete is executed in callback. If you don't understand, I will close this problem

Hi @zhangwei911
Starting from scratch here what I understand (it is still not completely clear)

Create a Native Android app that contains a webview.
That native Android app makes JS call and loads Flutter web application as assets?
This Flutter web has callback by using complete and that where the issue occurs?

Can you please complete an example o this native app with flutter web as assets? Also, provide Flutter app used to generate Flutter web build. You can both of these in a repository for testing

it's ok now,but i don't know why
maybe had fixed.
https://gitee.com/swzw/jsdemo

@zhangwei911
If there is no issue anymore, I feel safe to close this issue, if you disagree please write in the comments and I will reopen it.
Thank you

when i exec 'flutter build web --profile',the code like the below
WebApp_xuanZeFuJianFuture2: function() {
      var t1 = new P._Future($.Zone__current, type$._Future_dynamic);
      self.WebApp.xuanZeFuJian(new S.WebApp_xuanZeFuJianFuture2_closure(new P._AsyncCompleter(t1, type$._AsyncCompleter_dynamic)));
      return t1;
    },

after invoke,i found it`s a dart closure
i add H.convertDartClosureToJS(xxx,1),and it works;
WebApp_xuanZeFuJianFuture2: function() {
      var t1 = new P._Future($.Zone__current, type$._Future_dynamic);
      self.WebApp.xuanZeFuJian(H.convertDartClosureToJS(new S.WebApp_xuanZeFuJianFuture2_closure(new P._AsyncCompleter(t1, type$._AsyncCompleter_dynamic)), 1));
      return t1;
    },

thus,i need to know how to use convertDartClosureToJS func

allowInterop can fix my issue


[DatePicker] Added the possibilitie to pass custom prefix and suffix icons

Added the possibilitie to pass custom prefix and suffix icon class with same props as usual (prefix-icon and suffix-icon)
Please make sure these boxes are checked before submitting your PR, thank you!

[x] Make sure you follow Element's contributing guide (中文 | English | Español).
[x] Make sure you are merging your commits to dev branch.
[x] Add some descriptions and refer relative issues for you PR.

good！

what should i do when i want  to move the prefix-icon to the end,instead of the suffix-icon?


Proposal: Add Azure pipeline support to support IPV6 test.

What is the problem you're trying to solve
For now, the GHA is not supported IPV6 for the GitHub Hosted Runner yet.
So maybe we need a platform to run an extra IPV6 tests.
Describe the solution you'd like
For now, I recommend the Azure Pipeline. FYI https://azure.microsoft.com/en-us/products/devops/pipelines & https://azure.microsoft.com/en-us/updates/ipv6-for-azure-virtual-network-is-now-generally-available-2/
There are already some open source projects to use Azure Pipeline as CI/CD platform, such as CPython(FYI https://github.com/python/cpython/tree/main/.azure-pipelines)
Additional context
No response

@yuchanns are you blocked by this to test https://github.com/containerd/nerdctl/pull/1558 ?

@fahedouch Yes. The proposal is practically for it.

I think we should just have an Azure pipeline for ipv6 test only and let everything else run on GHA

wondering if we can just use this
https://github.com/containerd/containerd/blob/e366facb876598d783e07ba6baa2b61e62e6808c/.github/workflows/windows-hyperv-periodic.yml#L20

CC @lachie83 who manages the Azure sub we run K8s and containerd tests in.

Kindly ping @lachie83 :-)

Thanks for the ping. I would like to know a little more about the frequency that these tests will be run, how long they will run for, and what resources you need (eg. single VM and what size?)

Thanks for the ping. I would like to know a little more about the frequency that these tests will be run, how long they will run for, and what resources you need (eg. single VM and what size?)

Thanks for the comment.
Here are the requirement for this project:

each PR should run the test on the Azure IPV6 machine
The total for each test should not be over 20mins.
I think maybe we need two 2C4G machines. cc @AkihiroSuda

Feel free to comment if you got any issues. thanks! @lachie83

I think we should just have an Azure pipeline for ipv6 test only and let everything else run on GHA

I shared the same idea as well.

ping @lachie83

Please proceed with adding these tests.

@lachie83 We already got a PR (#1558) with requiring IPv6 support.

Great! Do you need anything else from me?

@lachie83  Yes. In order to run IPv6-related integration tests, I need access to the Azure instance and make it the CI of this repository. As mentioned above said that you are managing the Azure sub to run K8s and containerd tests in, I would like to know what should we do to obtain this capability for nerdctl.

ping @lachie83

What's current status of this?
@yuchanns @lachie83

Closed as #1558 is merged.


Update nock. Add node 18 testing.

Issue #, if available:
Description of changes:
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Codecov Report

Merging #556 (59ccd0d) into master (b0aa443) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #556   +/-   ##
=======================================
  Coverage   83.38%   83.38%
=======================================
  Files          37       37
  Lines        1794     1794
=======================================
  Hits         1496     1496
  Misses        298      298

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


Stripe 82 fft parameter out of bounds

validate_on_stripe82.jl is no longer working with fft.  I'm not sure what changed, and I was under the impression that @jeff-regier could run it.  Any ideas?
benchmark/stripe82/validate_on_stripe82.jl --fft
make: Nothing to be done for 'all'.
...
[1] DEBUG: source 137 [objid<PHONE_NUMBER>734491064] took 3.4 seconds
[1] DEBUG: source 138 [objid<PHONE_NUMBER>734491067] took 2.8 seconds
[1] DEBUG: source 139 [objid<PHONE_NUMBER>734491068] took 2.0 seconds
ERROR: LoadError: AssertionError: all(param .>= sb.lb)
 in unsimplexify_parameter(::Array{Float64,1}, ::Celeste.Transform.SimplexBox) at /home/rgiordan/.julia/v0.5/Celeste/src/Transform.jl:167

If you run with it with more than 1 thread, it will skip the problematic
light source rather than throwing an exception. Not an ideal solution, but
it works.
On Mon, Jan 16, 2017, 4:43 PM Ryan<EMAIL_ADDRESS>wrote:

validate_on_stripe82.jl is no longer working with fft. I'm not sure what
changed, and I was under the impression that @jeff-regier
https://github.com/jeff-regier could run it. Any ideas?
benchmark/stripe82/validate_on_stripe82.jl --fft
make: Nothing to be done for 'all'.
...
[1] DEBUG: source 137 [objid<PHONE_NUMBER>734491064] took 3.4 seconds
[1] DEBUG: source 138 [objid<PHONE_NUMBER>734491067] took 2.8 seconds
[1] DEBUG: source 139 [objid<PHONE_NUMBER>734491068] took 2.0 seconds
ERROR: LoadError: AssertionError: all(param .>= sb.lb)
in unsimplexify_parameter(::Array{Float64,1}, ::Celeste.Transform.SimplexBox) at /home/rgiordan/.julia/v0.5/Celeste/src/Transform.jl:167
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/jeff-regier/Celeste.jl/issues/528, or mute the thread
https://github.com/notifications/unsubscribe-auth/AIieC4gPYY9er45mTRI7m8PBedNTKrjmks5rTA6wgaJpZM4LlHN0
.

Duplicate of #415


[dv/kmac] fix common dv tests

this PR fixes the common nightly test (intr/csr) failures in KMAC.
Signed-off-by: Udi Jonnalagadda<EMAIL_ADDRESS>

latest force push rebases from master to trigger a rerun of CI


New blobstore interface

Added a new blobstore interface. An fs provider is in the process of being implemented and currently lacks only the download operations. It can be found here: https://github.com/matsbror/capability-providers/tree/new-fs-provider
A test actor can be found here: https://github.com/matsbror/fs-test (it has not been updated with the latest changes in the interface).

@matsbror I merged changes from this PR into https://github.com/wasmCloud/interfaces/pull/56

I guess this PR is obsolete now so I am closing it.


Fix DOM manipulation bugs for append, prepend, after and before.

These jQuery functions take multiple arguments and some arguments can even be arrays too. Below are the API links. Note the section in each called "Additional Arguments"
http://api.jquery.com/append/
http://api.jquery.com/prepend/
http://api.jquery.com/after/
http://api.jquery.com/before/
The patch solves quite a few issues. First it allows undefined to be passed to these functions without bombing. The existential operator for element? is the simple fix for that. Second, it makes the function overrides for these methods compatible with multiple arguments. The test is the most complex case where the second argument is an array of elements.

Any possible way to get this merged in?


fix(header/p2p): preconnect trusted peers on header-ex start

We need to connect to trusted peers and kick off various protocols to start talking to them. In the past, a node was always connected to trusted peers to get headers from them. As from recent improvements to header-ex, we now only rely on trusted peers for initialization. Hence, if a node is already initialized, it won't contact go to connect to trusted peers and this commit fixes this.
This was found during fixing no trusted peers issue in swamp tests.

Codecov Report

Merging #1552 (75e18b4) into main (7e4f27a) will decrease coverage by 0.04%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main    #1552      +/-   ##
==========================================
- Coverage   55.09%   55.04%   -0.05%
==========================================
  Files         211      211
  Lines       12953    12959       +6
==========================================
- Hits         7136     7133       -3
- Misses       5091     5097       +6
- Partials      726      729       +3

Impacted Files
Coverage Δ

header/p2p/exchange.go
67.29% <100.00%> (+1.28%)
:arrow_up:

header/p2p/peer_tracker.go
76.19% <100.00%> (-2.39%)
:arrow_down:

header/core/listener.go
52.83% <0.00%> (-5.67%)
:arrow_down:

share/eds/byzantine/bad_encoding.go
66.00% <0.00%> (-3.00%)
:arrow_down:

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


samples: net: sockets: Switch to net_app auto-init.

Don't call net configuration explicitly, instead rely on net_app
ato init service.
Thus, the only difference between POSIX and Zephyr versions of the
samples are different include files. The application code is 100%
the same.
Signed-off-by: Paul Sokolovsky<EMAIL_ADDRESS>

There is a typo in commit message

Fixed, thanks.


How can I get access token for multiple resources based on sample Office-Add-in-Microsoft-Graph-React

Note: This repo is only for questions related to its samples. If you have questions about how to use office.js or the Office developer platform, please post your question on https://stackoverflow.com. Tag your question with office-js or outlook-web-addins

Question
Ask your question here.
I am developing an Outlook Web Add-In using

Yeoman generator-office
Office.Js
REACT framework
azure/msal-browser version 2.32.2

I followed the example from "Office-Add-in-Microsoft-Graph-React" and I am able to successfully get the access token for Graph API.
My question is how can I request access token for multiple resources using the msalInstance i.e. SharePoint, Onedrive.

@tiwarigaurav Please ask this question on on https://stackoverflow.com/. Tag your question with office-js or outlook-web-addins
This repo is only for questions related to its samples.

@Rick-Kirkham - not sure why this was closed. My question specifically relates to the sample "Office-Add-in-Microsoft-Graph-React"
Using this sample I can get the Graph Access Token just fine and everything works.
My Question is - How can I get access token for multiple resources using the msalInstance.acquireTokenSilent(scope) within the office-apis-helpers.ts file?
The main idea is to use the login popup once to initiate the msalinstance and for any subsequent scopes/resources (or when the initial access token expires) use the acquireTokenSilent method - so that the user does not need to click the login button again to get another token.

@davidchesnut Please let me know if you need more details in investigating our issue. We anticipate quick response and resolution to above.

@tiwarigaurav I leave it to @davidchesnut to decide, but I don't think this "relates" to the sample in the way that is intended. The sample doesn't have a bug and your question is not about the sample as it is. You are asking for help for a distinctly different scenario. You really should ask this question on Stack Overflow.

@Rick-Kirkham - what I am trying to imply is that the sample provided does not work in real-world scenarios, neither can we make it work in real world.
As per Microsoft documentation the -

Office dialog API, specifically the displayDialogAsync method is a completely separate browser instance from the task pane, meaning:

It has its own runtime environment and window object and global variables.
There is no shared execution environment with the task pane.
It does not share the same session storage (the Window.sessionStorage property) as the task pane.

Which means (my interpretation) is that we cannot use msalInstance.acquireTokenSilent(scope). And that every time we need to get a new access token we will need the user to click the login button.
With the above statement I can safely say that the sample provided under OfficeDev -> Office-Add-in-samples -> auth -> Office-Add-in-Microsoft-Graph-React cannot be used in real world (or the concept cannot be reused in real world). Unless I am missing something quite obvious which is why I have posted this question.

@davidchesnut - any updates for us on this issue?

Hi @tiwarigaurav,
It appears you are looking for information on how to use MSAL in react to get additional scopes beyond the one used in this sample.
This sample in the Azure Active Directory documentation may be better aligned to help with your question.  Specifically, the scopes are what you pass in to specify what API/scope of access you want granted in the token, which you can find in the 'Acquire token for an API' part of that sample.  If you are still having issues with MSAL and accessing resources using it, the best spot to ask would be Stack Overflow using msal and msal.js tags.
Closing the issue on this sample as your question is about MSAL usage - if you find issues with MSAL.js you can more information on their GitHub page/open an issue there.

@mattgeim - It is possibly my fault - the title of the question is a bit misleading. Let's take out the multiple scopes part out of the equation and concentrate on this sample - OfficeDev -> Office-Add-in-samples -> auth -> Office-Add-in-Microsoft-Graph-React
I am trying to imply is that the sample provided does not work in real-world scenarios, neither can we make it work in real world. i.e. every time we need to get a new access token we will need the user to click the login button and show the dialogue popup.
Perhaps this should be raised as a bug in the sample?

Thanks for the response clarifying @tiwarigaurav.
This sample doesn't do SSO, its MSAL based and isn't trying to reduce sign-ins. If you are interested in SPA flows for SSO, you can read more about it here:  https://learn.microsoft.com/en-us/azure/active-directory/develop/msal-js-sso  please not this is not related to add-ins, but rather SSO flows and MSAL.
This sample works for what it should do, but I will happily take your feedback and discuss with our team on ways to improve on clarity for others in the future - thank you for the feedback!

@mattgeim - this isn't about SSO with Office Add-Ins.
My feedback is that this sample Office-Add-in-Microsoft-Graph-React will NOT work in real world. There is a bug with Office Add-Ins Dialogue API I found this on MS documentation.

Hi @tiwarigaurav, If you want to use MSAL caching so that you don't have to pop up a dialog for every API call, see getAccessTokenMSAL in the Office-Add-in-NodeJS-SSO sample. You can also see how to send the home account ID from the dialog box in the handleResponse method. This is all MSAL code based on the Microsoft identity platform, and nothing specific to Office JS. In the comments for authConfig.js and authRedirect.js there are links to the original MSAL samples those are based on. However it is possible there are some Office platform/webview combinations that might not work with this MSAL caching mechanism (in which case it defaults back to popping up the auth dialog.)
I can look into updating the React sample down the road with the caching code. Are there any other issues you spotted in the sample?
Thanks!
David

@davidchesnut - thanks for responding. I tried this and it does NOT work.
I tried your suggestion with the below code (in my app's login.ts file):
     let msalInstance: PublicClientApplication = new PublicClientApplication({
      auth: {
      authority: "https://login.microsoftonline.com/organizations/",
      clientId: "xxxxxxx-xxxxxxx-xxxxxxx-xxxxxxx-xxxxxxx",
      navigateToLoginRequestUrl: false
      },
      cache: {
      cacheLocation: "localStorage",
      storeAuthStateInCookie: false,
      },
    });
    const authParamsGraph = {
      account: messageFromDialog.result.account,
      scopes: ["https://graph.microsoft.com/.default"]
    };
    console.log(messageFromDialog.result.account.homeAccountId);
    const accByHomeId = msalInstance.getAccountByHomeId(messageFromDialog.result.account.homeAccountId);
    console.log(accByHomeId);
    msalInstance.setActiveAccount(
      msalInstance.getAccountByHomeId(
        messageFromDialog.result.account.homeAccountId
      )
    );

With the above I was able to pass the homeAccountId from the Dialog box to the app but msalInstance.getAccountByHomeId(messageFromDialog.result.account.homeAccountId) returns null.
As per my research there is a bug with the Office Dialog API in which - the web add-in's Task Pane and Dialog Box do not share the same Local Storage. So, when we initialize a new msal instance in the app it has nothing in common with the msal instance from the Dialog box so the getAccountByHomeId will fail.
Note: I am testing this on Outlook desktop app running on Windows

Hi @tiwarigaurav,
I did some more research into this. The Microsoft Graph React auth sample solves this problem by storing the token in a variable. See line 51 in App.tsx. I checked with the team, and in the context of SPA using implicit grant with PKCE, this is fine. This code pattern allows you to reuse the token on subsequent calls without needing to sign in again.
I noticed the sample had some out of date libraries and a minor typeScript issue. I fixed these in PR #605. So you should be able to use this sample once the PR goes through.
Hope this helps,
David

Hi @davidchesnut,
Thanks for taking the time to update this.
I might be missing something here OR I have been unable to explain the issue - please bare with me.
Getting the token back from the "displayDialogAsync" popup saving it in a variable in the App.tsx file and using it to access GraphAPI has been fine and is working as expected.
The issue that I am trying to get help on is:

AccessTokens have a lifespan of about 75minutes - so after the token expires we need to get another token to call GraphAPI
To get another AccessToken we need to use the msalInstance.acquireTokenSilent method of the msal-browser (we cannot expect the user to keep initiating the "displayDialogAsync" popup every hour)
This is where the entire thing falls apart
If we initialize a new msalInstance from the REACT app, this new instance does not have the context of the original msal instance that was used in the displayDialogAsync popup (login.html), hence the acquireTokenSilent fails

Trying to use the acquireTokenSilent from the REACT app fails with error:
Exception has occurred: ClientAuthError: token_refresh_required: Cannot return token from cache because it must be refreshed. This may be due to one of the following reasons: forceRefresh parameter is set to true, claims have been requested, there is no cached access token or it is expired.

Hi @tiwarigaurav, you are correct, and the token expires. I've been looking into this for any possible workarounds but it doesn't look like this is possible and you have to sign the user in again. This is definitely a pain point and I'll share this with the rest of the product team to look into.
The one approach that will work is using SSO. Office will refresh the token for you automatically if you request it through getAccessToken() and it has expired. If SSO works for your scenario I'd recommend using that approach.
Hope this helps,
David

@davidchesnut - thanks for acknowledging that there is an issue. I was thinking that I was going out of my mind ;)
SSO does not help - if we need to create cross browser/cross platform Add-Ins we need a fall back method (SSO will not work in Safari and other exceptions).
The only conclusion that I have reached is - msal-browser/msal-react does not work with Office web add-ins in real world scenarios and because of this, even msal-node OR msal .net will not work. If we need to implement a real world add-in we need to use OBO flow and manage access and refresh tokens ourselves i.e. using a DB.

@davidchesnut, any update on this issue? We are running into this as well but only with the New Outlook for Windows. Thank you.


[Table of Contents – Horizontal]: TOC doesn't push masthead out of view when scrolling the page.

Detailed description

Describe in detail the issue you're having.
The TOC – Horizontal page navigation should push the masthead out of view as the user scrolls down the page. It currently is not doing that.

Is this a feature request (new component, new icon), a bug, or a general
issue?
Bug

Is this issue related to a specific component?
TOC – Horizontal

What did you expect to happen? What happened instead? What would you like to
see changed?
I expected the masthead not to stick to the top of the page when the TOC – Horizontal component is being used.

What browser are you working in?
Chrome

What version of Carbon for IBM.com are you using?
I believe the most recent version. v1.18.1?

What offering/product do you work on? Any pressing ship or release dates we
should be aware of?
AEM / Afterburner

Steps to reproduce the issue

Go here to view: https://dev-author.np-roks.cms.cis.ibm.net/content/adobe-cms/us/en/qa/april-19/solutionpage.html?wcmmode=disabled#anchor-1344866353
Please reach out to @iwhitcomb for further details.

Additional information

Raph will reach out to Ian for more details as part of Fireline.  We think this bug was fixed.

Gi reached out to Ian.  He mentioned that an AEM update is coming that will possibly fix the problem.  Gui will keep in touch to help, if needed.


Integrate multi-LoRA functionality with OpenAI server

We should allow LoRAs to be queried using the vLLM OpenAI server.
Originally posted by @Yard1 in https://github.com/vllm-project/vllm/pull/1804#discussion_r1438452662

Hey @Yard1 bro! any time lines on closing this functionality waiting for this since very long..

This is an open issue for people to take :)

Waiting for this since very long too.
I'm willing to take this but I cannot guarantee the time I can commit.
And I also need some guidance.

What's the diff of https://github.com/vllm-project/vllm/pull/289/files  and yours PR #1804 ?

Compute cap under 8.0 can not use multi lora #1804?
Because of punica?

waiting...


add qovery to libraries

Hi All,
This pr adds the qovery engine to the libraries section.  A little intro about the engine
Qovery Engine is an open-source abstraction layer library that turns easy apps deployment on AWS, GCP, Azure, and other Cloud providers in just a few minutes. The Qovery Engine is written in Rust and takes advantage of Terraform, Helm, Kubectl, and Docker to manage resources.

Closes #52
Thanks!

Thanks for the PR https://github.com/pepoviola! Would you mind filing a corresponding issue and add Closes #<my-issue-number as well?

Hi @nickgerace, thanks for the feedback. I just remove the punctuation at the end and also edited the pr description ( with the ref to the new issue ).
Thanks!!!

Thank you again!


[Feedback/Error] JSON serialisation issue when trying to log a metric of variable type set

Weights and Biases version: 0.8.32
Python version: 3.7.2
Operating System: Linux/MacOS

Description
I was logging a variable/value that is of type set this caused JSON serialisation issues, similar to the error reported here https://stackoverflow.com/questions/8230315/how-to-json-serialize-sets (JSON serialisation failing when handling data with set data types).
Although the way python reported the error (low-level call stack information), it wasn't clear if it was caused by wandb coming from my code. I looked to look at it closer, googled and then looked at my last commit change lead me to the solution.
What I Did
a = {'a', 'b', 'c'}
wandb.log({'metric': a})

Removing the line of code that logged the metric, resolved the issue. I then converted variable to a list and that worked fine.
I would suggest if we try to log an unsupported data-type, that warnings be reported during logging not when synchronising with remote. Also maybe some sort of error handling be introduced around conversions, so if they fail the user gets a call stack.

Hi, thanks for reporting this issue, @raubitsj is working on a good CLI rewrite that should improve error messages like this one

Hi, thanks for reporting this issue, @raubitsj is working on a good CLI rewrite that should improve error messages like this one

Thanks for the response, and great to hear about the re-write, looking forward to it. A re-write is always good, I like Fred George's practise about re-writing it multiple times.

@cvphelps can this issue be marked as a bug pls thnx

As of cling 0.0.22, an exception is thrown that sets are not handled:
"/Users/jeff/.pyenv/versions/3.6.10/lib/python3.6/json/encoder.py", line 180, in default
    o.__class__.__name__)
TypeError: Object of type 'set' is not JSON serializable

One small feedback on this one functionality, when running in non-verbose mode it's best to only show a small section of the stack trace and hide the rest with the message "See full trace in wandb's debug.logs. While in verbose mode it's okay to show the whole stack trace and log it.

Can we close this issue now, since it's ready for the next release when the CLI tool will be released?

@raubitsj I found another one to do with passing a lambda function as key:value pair i.e. {'value': lambda: some_function()}. Would it also report the error in the same fashion as above?
What would also help, if it mentioned the name of the key(s) where there are conversion issues.

Hey @neomatrix369
In the past year we've majorly reworked the CLI and UI for Weights & Biases. We're closing issues older than 6 months. Please comment to reopen.

Hey @neomatrix369
In the past year we've majorly reworked the CLI and UI for Weights & Biases. We're closing issues older than 6 months. Please comment to reopen.

Thanks for letting me know, I trust the raised issue is fixed in the newer version, I haven't played with it yet look forward to it.


docs: update links to logs in turbo types

Description

I noticed that quite a few of the links in the JSON schema's reference are outdated. I have only updated links to fields that still exist, not removed dotEnv and globalDotEnv.
Some of the links are changed only in capitalization, this is because Edge (the only browser I tested in) did not recognize the anchors if the capitalization was not identical to the anchors.
After updating the JSDocs, I generated a new version of the JSON schema in docs/public. Please verify that this is now correct.

Thanks for this! That schema.json file isn't the one that gets used for production. Can you remove it from this PR? We can merge after that.
(Context: The entire docs directory is stale at the moment as I've been moving critical pieces around. Working on gettings things synced up today.)

@anthonyshew Yes, done!

Allow CI Workflow Run

[ ] approve CI run for commit: 90ae9bc340af52e6d576bc157ec7a06a576a0f04

Note: this should only be enabled once the PR is ready to go and can only be enabled by a maintainer


KAFKA-7456: Serde Inheritance in DSL

Add keySerde and valSerde in the AbstractStream, which are null-able.
For all classes extending AbstractStream, including KStream/KTable/KGroupedStream/KGroupedTable/TimeWindowedKStream/SessionWindowedKStream-impl classes, try to pass the serdes specified from Materialized / Serialized / Joined to children nodes. Note here I've only done the forward-inheritance, but not backward-inheritance, which is left for future works (thinking about this, only Produced / Serialized serdes are worth passing backwards to parent nodes, so the scope of it may not be too large).
Removed a bunch of unchecked annotations to strengthen the typing system.
Found a couple of lurking bugs, fixed.

Committer Checklist (excluded from commit message)

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

@vvcephei @bbejeck for reviews.

I do have one meta-question though. I'm thinking we should maybe extend the Serde inheritance to the graph by adding a keySerde and valueSerde fields to the StreamsGraphNode object and we could follow a similar pattern.

@mjsax @bbejeck Thanks for your comments! This PR is only for maintaining null-able key / value serdes in the AbstractStream, but to leverage it we need to pass in it from AbstractStream to StreamsGraphNode, which should not be hard and I left it in a follow-up PR just to keep this one small. The key point to review is the inheritance rules for different operators.

WDYT?

Yes, I will add more tests.

@vvcephei my previous comment:
@mjsax @bbejeck Thanks for your comments! This PR is only for maintaining null-able key / value serdes in the AbstractStream, but to leverage it we need to pass in it from AbstractStream to StreamsGraphNode, which should not be hard and I left it in a follow-up PR just to keep this one small. The key point to review is the inheritance rules for different operators.

Ok, I've finished my review. I added a response above that it is possible to genericly compare Serdes, but I think it should be a separate scope of work.
I'm also wondering if we should be using the graph to share the serde information instead of the DSL.

@guozhangwang Can you rebase this? So I can do final review?
One meta comment: I don't think this is minor and we should create a "improvement" JIRA for it.

@mjsax created https://issues.apache.org/jira/browse/KAFKA-7456.

Fixed two major comment

You did not push anything?

You did not push anything?

@mjsax Was running unit tests locally... (left the comment too quick) Just pushed now.


[Bug]:

Version

[X] Yes

General Question

[X] No

What happened?
A bug happened!
I JUST INSTALLED THIS REPO AS SAID AND INSTALLED LATEST NODE JS BUT AS I EXECUTED COMMAND npm I or npm install, THE FOLLOWING ERRORS POPPED UP IN THE TERMINAL

What have you tried?
nothing yet!
please help me!
Relevant log output
No response
Protect your information

[X] I Agree

You should probably remove the blank spaces in your folder name.


Corrected recommended Apache config in start-installation.md

https://github.com/yiisoft/yii2/issues/15490

Q
A

Is bugfix?
yes

New feature?
no

Breaks BC?
no

Tests pass?
yes

Fixed issues
incorrect mod_rewrite rules order

Merged. Thanks!

@samdark - No worries, of course this will soon be reflected here where most will see it? http://www.yiiframework.com/doc-2.0/guide-start-installation.html

Yes, it will end up at website.