Build fails on i386: use of overloaded operator '[]' is ambiguous

/wrkdirs/usr/ports/science/axom/work/axom-0.6.1/src/axom/klee/IOUtil.cpp:40:38: error: use of overloaded operator '[]' is ambiguous (with operand types 'const inlet::Proxy' and 'const char *')
  auto values = toDoubleVector(parent[fieldName], expectedDims, fieldName);
                               ~~~~~~^~~~~~~~~~
/wrkdirs/usr/ports/science/axom/work/axom-0.6.1/src/axom/inlet/Proxy.hpp:123:9: note: candidate function
  Proxy operator[](const std::string& name) const;
        ^
/wrkdirs/usr/ports/science/axom/work/axom-0.6.1/src/axom/klee/IOUtil.cpp:40:38: note: built-in candidate operator[](int, const char *)
  auto values = toDoubleVector(parent[fieldName], expectedDims, fieldName);
                                     ^
/wrkdirs/usr/ports/science/axom/work/axom-0.6.1/src/axom/klee/IOUtil.cpp:40:38: note: built-in candidate operator[](int, const volatile char *)
/wrkdirs/usr/ports/science/axom/work/axom-0.6.1/src/axom/klee/IOUtil.cpp:52:12: error: no matching function for call to 'toArrayLike'
    return toArrayLike<T>(parent, fieldName, expectedDims);
           ^~~~~~~~~~~~~~
/wrkdirs/usr/ports/science/axom/work/axom-0.6.1/src/axom/klee/IOUtil.cpp:69:10: note: in instantiation of function template specialization 'axom::klee::internal::toArrayLike<axom::primal::Point<double, 3> >' requested here
  return toArrayLike(parent, fieldName, expectedDims, defaultValue);
         ^
/wrkdirs/usr/ports/science/axom/work/axom-0.6.1/src/axom/klee/IOUtil.cpp:36:3: note: candidate template ignored: substitution failure [with T = axom::primal::Point<double, 3>]
T toArrayLike(inlet::Proxy const &parent,
  ^
/wrkdirs/usr/ports/science/axom/work/axom-0.6.1/src/axom/klee/IOUtil.cpp:45:3: note: candidate function template not viable: requires 4 arguments, but 3 were provided
T toArrayLike(inlet::Proxy const &parent,
  ^
/wrkdirs/usr/ports/science/axom/work/axom-0.6.1/src/axom/klee/IOUtil.cpp:52:12: error: no matching function for call to 'toArrayLike'
    return toArrayLike<T>(parent, fieldName, expectedDims);
           ^~~~~~~~~~~~~~
/wrkdirs/usr/ports/science/axom/work/axom-0.6.1/src/axom/klee/IOUtil.cpp:84:10: note: in instantiation of function template specialization 'axom::klee::internal::toArrayLike<axom::primal::Vector<double, 3> >' requested here
  return toArrayLike(parent, fieldName, expectedDims, defaultValue);
         ^
/wrkdirs/usr/ports/science/axom/work/axom-0.6.1/src/axom/klee/IOUtil.cpp:36:3: note: candidate template ignored: substitution failure [with T = axom::primal::Vector<double, 3>]
T toArrayLike(inlet::Proxy const &parent,
  ^
/wrkdirs/usr/ports/science/axom/work/axom-0.6.1/src/axom/klee/IOUtil.cpp:45:3: note: candidate function template not viable: requires 4 arguments, but 3 were provided
T toArrayLike(inlet::Proxy const &parent,
  ^

Version: 0.6.1
OS: FreeBSD 13

This seems like a compiler bug.  Do you need klee functionality?  If not you can turn it off with -DAXOM_ENABLE_KLEE=OFF on your CMake command.

Likely. Which compiler and version are you using?

clang-12.0.1

Do you need klee functionality? If not you can turn it off with -DAXOM_ENABLE_KLEE=OFF on your CMake command.

This happens in the package build, so turning off options isn't desirable.

The problem appears to be coming from Inlet, specifically this overload:
https://github.com/LLNL/axom/blob/9d9ff2ba362086e8d699c4bb333d7b12930c6079/src/axom/inlet/Proxy.hpp#L79-L88
which seems to match with the implicitly-defined operator[](std::ptrdiff_t, const char*) on i386, apparently.
I was able to replicate the error on toss3 by adding std::is_same<T, std::ptrdiff_t>::value to the SFINAE conditional set. We can fix this by adding a operator[](const char* name) overload for the inlet::Proxy class.


Fix typo in initial_step_size d2 calculation

The previous typo fix revealed that an errant parenthesis was confusing the d2 calculation in initial_step_size.

thanks!


Modal exception in rc5 - No provider for AppComponent

I have just updated to the latest version, which includes all the rc5 NgModule changes (thanks for this).
My code loads fine, so i believe i am including the ModalModule in the correct places, but when i try to open one, i get this exception

EXCEPTION: No provider for AppComponent!

I have included the following code in my AppComponent.ts file as stated by the docs

import {Component, ViewContainerRef} from '@angular/core';
@Component({selector:'app-root'})
class AppRoot {
public constructor(viewContainerRef:ViewContainerRef) {
// You need this small hack in order to catch application root view container ref
this.viewContainerRef = viewContainerRef;
}
}

Am i missing something?

duplicate of https://github.com/valor-software/ng2-bootstrap/issues/854 ?

it looks like you copied this line import { AppComponent }  from './app.component'; from readme
remove it if you don't need it

@valorkin where do you see that? Which file should i remove it in?


jtdx: init at 159

Description of changes
JTDX is forked from  WSJT-X, a computer  program  dedicated to amateur
radio communication using very weak signals.
JTDX is widely used among ham-radio operators for its user friendliness and documentation.
Things done

Built on platform(s)

[X] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[X] Tested basic functionality of all binary files (usually in ./result/bin/)
22.11 Release Notes (or backporting 22.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[X] Fits CONTRIBUTING.md.

We tested the main user binary with a ham-radio device, and by proxy the rest of binaries that are used by the main binary.

Result of nixpkgs-review pr 188003 run on x86_64-linux 1

2 packages built:

jtdx
jtdxhamlib

Closing as uninterested.

Closing as uninterested.


User network status

Details

When user connect via RSocket backend will check all the chats with him. After that, backend send to all available users (that have chat with user) fire-and-forget request to users. Available users will be chosen from chat service.

Problems

Contact service has endpoint for get all chats, but it requires JWT authentication. Possible solution will send request with token value. Also, it is necessary to implement chat client and integration test for it.

To-do:

[ ] Create ChatClient
[ ] Test ChatClient
[ ] Implement user status repository using Redis
[ ] Implement user status notification service
[ ] Testing it

For testing chat client it is necessary implement JWT testing decoder. Maybe it will be implement using profiles


Running archive node : stuck in error state after restart

The last weeks I've been steadily building the archive node; however at about 90% my machine crashed. After restarting it seems to be stuck in an error state.
simple-optimism-node-dtl-1  | {"level":50,"time":1673877945647,"extra":{"message":"Error: Well, this really shouldn't happen. A SequencerBatchAppended event doesn't have a corresponding TransactionBatchAppended event.","stack":"Error: Well, this really shouldn't happen. A SequencerBatchAppended event doesn't have a corresponding TransactionBatchAppended event.\n    at Object.getExtraData (/opt/optimism/packages/data-transport-layer/dist/src/services/l1-ingestion/handlers/sequencer-batch-appended.js:22:19)\n    at runMicrotasks (<anonymous>)\n    at processTicksAndRejections (node:internal/process/task_queues:96:5)\n    at async L1IngestionService._syncEvents (/opt/optimism/packages/data-transport-layer/dist/src/services/l1-ingestion/service.js:277:39)\n    at async L1IngestionService._start (/opt/optimism/packages/data-transport-layer/dist/src/services/l1-ingestion/service.js:156:17)\n    at async L1IngestionService.start (/opt/optimism/packages/common-ts/dist/base-service/base-service.js:33:9)\n    at async Promise.all (index 1)\n    at async L1DataTransportService._start (/opt/optimism/packages/data-transport-layer/dist/src/services/main/service.js:69:13)\n    at async L1DataTransportService.start (/opt/optimism/packages/common-ts/dist/base-service/base-service.js:33:9)\n    at async /opt/optimism/packages/data-transport-layer/dist/src/services/run.js:78:9"},"msg":"Caught an unhandled error"}

Sorry for the late reply here. Are you still running into the same issue? This one is pretty interesting, haven't seen it before. If you're still facing the same problem, can start to debug some stuff but will need to ask you for some more info.

Sorry for the late reply here. Are you still running into the same issue? This one is pretty interesting, haven't seen it before. If you're still facing the same problem, can start to debug some stuff but will need to ask you for some more info.

Hi smartcontracts. I am happy you answered as Im still stuck. Providing information is not a problem, please tell me what you need!

So strange that this is happening. Is this on mainnet or Goerli?

Mainnet

So strange that this is happening. Is this on mainnet or Goerli?

Stale pre-bedrock issue
Recommend to use either op-erigon or reth for running archive node for now. May integrate them to simple-optimism-node in the future


Added option to download decoded "signed" attachment

I've fixed the class name and removed the redundant dependency
It's also supports downloading regular files (not signed)


[BUG] Settings which are marked required and have checkbox as input can be changed to a radio button instead

Describe the bug
Settings which are marked required and have checkbox as input can be changed to a radio button instead
To Reproduce

Navigate to Settings page
For setting Create Default Disk on Labeled Nodes , currently the input field is a checkbox.

Expected behavior

The input can be changed to a radio button here.
As currently if the user wants to set the Create Default Disk on Labeled Nodes to False, it seems like no input is given on the UI, and as its a required field, the field should have some value

Environment:

Longhorn version: master
Kubernetes version: 1.17.4
Node OS type and version: RKE DO linux

It seems required for boolean doesn't really make sense. Even it's a radio button instead of checkbox, it doesn't change much IMO.


Enhancement suggestion: Option to deploy ElasticSearch cluster in VPC

The default configuration deploys Elastic Search Cluster with public access with no option to choose for deploying it in VPC.

Good suggestion. We'll add this to the backlog for consideration in a future update. Thanks for the feedback!

Please up-vote if you want this feature. Do not submit a new feature request.

Please see here for more details on this architecture update in v4.0.0 release.


Added my repo file

I've successfully added my first buidl on Web3Conf.

Hello Web3Conf team!
Is there any mistake in my buidl? How long this is going to take?


Test SSO needs more details

The Test SSO section could do with more details.

It's not clear what SP and IDP are, I suggest displaying as Service Provider (SP) and Identity Provider (IdP) the first time it's used in the article, had to google what these were.
How can "Test this application" test both SP and IdP flows? It doesn't mention where to find the button, discovered it under Single sign-on" page. At end of section it mentions "if configured in SP mode" where do we configure this mode?
It says you can also test the app in your MyApps, however even though I'm added to the app and in app properties "Visible to users?" I cannot see the app under MyApps. Eventually I discovered you have to install the "My Apps Secure Sign-in Extension" and access the MyApps page from that extension now it works.
What is the "AWS Single-Account Access Sign-on URL" is this the same as the https://docs.aws.amazon.com/signin/latest/userguide/console-sign-in-tutorials.html?
Where do you find the signin URL to give to users? If I go to the app registration and try "Home page URL" it doesn't work. Eventually discovered "User access URL" under app properties works.

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

ID: 8fa5814d-91e2-2f75-77e7-62a8597f340c
Version Independent ID: 458e93d7-a180-4c2f-5077-9b9d124d726a
Content: Tutorial: Microsoft Entra SSO integration with AWS Single-Account Access - Microsoft Entra ID
Content Source: docs/identity/saas-apps/amazon-web-service-tutorial.md
Service: entra-id
Sub-service: saas-apps
GitHub Login: @jeevansd
Microsoft Alias: jeedes

@mcm-ham
Thanks for your feedback! We will investigate and update as appropriate.

@mcm-ham AWS only support IDP initiated SSO and Service Provider flow is not supported. If you add the application AWS Single account access from the App gallery you dont need to populate the Sign on URL and keep that blank. When you use the Test Single sign on button then it will perform the flow by taking the user to the MyApps Page and invoking the app link from that. So it will perform the IDP initiated SSO flow in this case. When you populate the Sign on URL for the app in the URL configuration then only Entra ID will perform the SP initiated flow. Please do let me know if you still have questions.

@jeevansd
Thanks for your inputs.
@mcm-ham
if there are any further questions regarding the documentation, please tag me in your reply and we will be happy to continue the conversation.

@mcm-ham
We are going to close this thread as resolved but if there are any further questions regarding the documentation, please tag me in your reply and we will be happy to continue the conversation


Author names missing from search results

Some entries in katas list have no authors specified.

Sometmes this gets fixed by page refresh, sometimes - not.
┆Issue is synchronized with this Clickup  by Unito

Maybe related to #46

We couldn't reproduce it so in case this issue happens again please create a new GitHub issue. Thank you!


Related Resource Filter for NSG, NIC, and VM

Lets figure out how to use/implement the RelatedResourceFilter for associations between VM, NIC, and NSG.  c7n/filters/related.py

#2232 might be a related scenario that benefits from this filter


pyenv with python 2.7.11 import error

My vps system is ubuntu 14.04 with python 2.7.6
when I use virtualenv(without pyenv) and django and uwsgi is OK.
But when I use virtualenv with pyenv like this
pyenv install 2.7.11
virtualenv -p ~/.pyenv/versions/2.7.11/bin/python  venv

It tell me
Traceback (most recent call last):
  File "example/wsgi.py", line 12, in <module>
    from django.core.wsgi import get_wsgi_application
  File "/home/wwwroot/www.example.com/web/example/venv/lib/python2.7/site-packages/django/core/wsgi.py", line 2, in <module>
    from django.core.handlers.wsgi import WSGIHandler
  File "/home/wwwroot/www.example.com/web/example/venv/lib/python2.7/site-packages/django/core/handlers/wsgi.py", line 10, in <module>
    from django import http
  File "/home/wwwroot/www.example.com/web/example/venv/lib/python2.7/site-packages/django/http/__init__.py", line 2, in <module>
    from django.http.request import (
  File "/home/wwwroot/www.example.com/web/example/venv/lib/python2.7/site-packages/django/http/request.py", line 10, in <module>
    from django.core import signing
  File "/home/wwwroot/www.example.com/web/example/venv/lib/python2.7/site-packages/django/core/signing.py", line 48, in <module>
    from django.utils.crypto import constant_time_compare, salted_hmac
  File "/home/wwwroot/www.example.com/web/example/venv/lib/python2.7/site-packages/django/utils/crypto.py", line 8, in <module>
    import hmac
  File "/root/.pyenv/versions/2.7.11/lib/python2.7/hmac.py", line 8, in <module>
    from operator import _compare_digest as compare_digest
ImportError: cannot import name _compare_digest

---
Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/32142692-pyenv-with-python-2-7-11-import-error?utm_campaign=plugin&utm_content=tracker%2F282009&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F282009&utm_medium=issues&utm_source=github).

Found similar issues with googling.
http://stackoverflow.com/questions/26535043/python-flask-error-importerror-cannot-import-name-compare-digest
http://stackoverflow.com/questions/24853027/django-importerror-cannot-import-name-compare-digest
I guess this could be a kind of virtualenv issue. I'd recommend you to install virtualenv into 2.7.11 just after pyenv install 2.7.11 to make sure virtualenv installed inside pyenv is invoked.

I get the same error when using 2.7.11 without virtualenv.

library issue with virtualenv isn't a pyenv issue.


Different behavior between phpunit and pest when using depends

Hi,
I don't know if this "bug" (?) is related to this plugin or to Pest itself...
When I run a single test with PHPStorm, I noticed that there is different behavior between PHPUnit and Pest when using @depends.
PHPUnit: correct behavior ✅

Pest: wrong behavior ❌

It seems the pest plugin doesn't start dependent test.

Hmm interesting, I think it might be a pest bug, but I'll hear the others 🤔


Contain all content in a given page within landmarks

Describe the bug
Contain all content in a given page within landmarks
To Reproduce
Steps to reproduce the behavior:

https://openfl.readthedocs.io/en/latest/index.html
Examine the code, and/or run the browser plugin for aXe Devtools

notice:   and versions expendable section in sidebar, are not within landmarks on the page
Expected behavior
 should be part of a footer landmark and expandable section of sidebar should be within the  element for the sidebar
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop:
This issue is not OS or browser specific, but for tracking purposes, testing was done on Win11, in Edge Version 114.0.1823.58 (Official build) (64-bit).
Smartphone:
This issue is not device, OS, or browser specific.
Additional context
This is an accessibility issue, please annotate this bug with the 'accessibility' label.

This is an issue with the Read The Docs platform.

Closing. As mentioned by @fstrr, this is an issue with Read The Docs platform.


WIP doc(editor): this is a test commit

to trigger some linters

@kwk snapshot fabric8-ui is deployed and available for testing at https://fabric8-ui-fabric8-ui-pr-1993-fabric8-planner.int.rdu2c.fabric8.io


environment variables

How to define env variables globally? in src/app/main.dev.ts and src/app/main.prod.ts?

Hi @kodeine,
Right now I don't think there is a good way to do it. This is something we should address in the coming weeks.
Thanks,
Dan

I was trying to get the same functionality i.e environment based global variables similar to Angular cli. I am doing this right now as below.
Create new file -> config/webpack.config.js
const webpackConfig = require('../node_modules/@ionic/app-scripts/config/webpack.config');
const webpack = require('webpack');
const argv = require('yargs').argv;

/**
 * Plugin: DefinePlugin
 * Description: Replace environment.ts file based on env.
 * Useful for having builds with global constants based on env.
 *
 * Environment helpers
 *
 * See: https://webpack.github.io/docs/list-of-plugins.html#defineplugin
 */

webpackConfig.plugins.push(
    new webpack.NormalModuleReplacementPlugin(/\.\.\/\environments\/environment/,
        function(result) {
            result.request = result.request.replace(/\.\.\/\environments\/environment/, `../environments/environment.${argv.env || 'dev'}.ts`);
        }
    )
);

Add this config to package.json
    "ionic_webpack": "./config/webpack.config.js",

Define global environment variables in src/environments folder
EG:
src/environments/environment.ts
export const environment = {
  production: true,  // this value can be anything - will be replaced during build
  BASE_URL: 'https://rest-prod.website.com', // this value can be anything - will be replaced during build
};

src/environments/environment.prod.ts
export const environment = {
  production: true,
  BASE_URL: 'https://rest-prod.website.com',
};

src/environments/environment.dev.ts
export const environment = {
  production: false,
  BASE_URL: 'https://rest-dev.website.com',
};

In your code you import as below and use environment.BASE_URL
import { environment } from '../environments/environment';

And then run
ionic serve --env=dev | prod | qa

@danbucholtz please update this when the env variables are ready to be used. Thanks for everything!

This should be landing soon. We aren't going to do it exactly this way but we'll do something similar.
Thanks,
Dan

I've had to turn off ngc/AoT for the approach described by @harshabonthu
"build": "npm version prepatch && ionic-app-scripts build --env=qa --dev",

Otherwise I get a runtime exception in Chrome Inspector, that I need a loader:
main.js:14 Uncaught Error: Module parse failed: C:\Users\me\projects\project\.tmp\environments\environment.qa.ts Unexpected token (1:24)
You may need an appropriate loader to handle this file type.
| export const environment: any = {
|   production: false,
|   name: 'qa',

Perhaps by the time webpack runs environments/environment is not available?

@kwv I've uploaded sample project here -> https://github.com/harshabonthu/ionic2-env-sample/commit/08dae6ec86a30d932cdccb3ccd2df8be1b869220
Running npm run ionic -- build --env=prod would generate build with prod variables and ngc.

@danbucholtz I'm curious when "soon" is 😄  Any updates with as of late?

@sean-hill,
This is a lower priority for us right now. I put in a PR for this but the team rejected my impl so we are going back to the drawing board about this.
Thanks,
Dan

@danbucholtz While this is low priority for you, for many of us it's very important to have a way of switching configuration based on which env we are using.
I've literally looked through all PR's in this repo and I could not find any implementation of a possible solution, but #204, which with Webpack it's not working for production builds with AOT. And Rollup cannot be used if I also use @ionic/cloud-angular because it's currently failing for non-prod builds.
So it is becoming a little frustrating. It would be nice to finally see some progress on this matter. Or at least some design document that we could use to make an implementation ourselves.

While not something official this is what we currently do for our project. I don't know how this interacts with ionic cloud necessarily since we aren't using that yet.
We have a scripts dir which wraps the ionic-app-scripts build/watch functions and a template which we inject anytime we run it where we can place env variables. Below is a gist showing an example.
https://gist.github.com/riltsken/906bace69b65168551ae089f5ae106cb

Let's track this here:
https://github.com/driftyco/ionic-app-scripts/issues/762
Thanks,
Dan


DocsArchive-<IP_ADDRESS>Auto archive content

Please don't merge this PR until target archive repo PR https://github.com/OPS-E2E-PPE/docs-archive-test-target_1a44b356-8151-4eaa-aa13-96ec47027b67/pull/1 is merged into live branch.
Auto archive content to https://github.com/opstest2/docs-archive-test-target_1a44b356-8151-4eaa-aa13-96ec47027b67.git

Docs Build status updates of commit 95e42c7:
:x: Validation status: errors
Please follow instructions here which may help to resolve issue.

File
Status
Preview URL
Details

:x:Error

Details

[Error: RepositoryUnauthorizedWithSourceCommit] Git data access to 'https://github.com/opstest2/docs-archive-test-source-1' (branch: Release_Archive_main_2022-01-28-02-05-43) is not authorized.. It looks like this might be the first time user: v-alji submitted a pull request to this repo. Before user can run builds in a pull request, he/she can enable 'v-alji' GitHub account in Docs by visiting Docs Portal (https://ops.microsoft.com). After enabling his/her account (v-alji), close and then reopen this pull request to start another build.

For more details, please refer to the build report.
If you see build warnings/errors with permission issues, it might be due to single sign-on (SSO) enabled on Microsoft's GitHub organizations. Please follow instructions here to re-authorize your GitHub account to Docs Build.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
Note: Your PR may contain errors or warnings unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel


[FLINK-33402] Hybrid Source Concurrency Race Condition Fixes and Related Bugs Results in Data Loss

What is the purpose of the change
(For example: This pull request makes task deployment go through the blob server, rather than through RPC. That way we avoid re-transferring them on each deployment (during recovery).)
Brief change log
(for example:)

The TaskInfo is stored in the blob store on job creation time as a persistent artifact
Deployments RPC transmits only the blob storage reference
TaskManagers retrieve the TaskInfo from the blob cache

Verifying this change
Please make sure both new and modified tests in this PR follows the conventions defined in our code quality guide: https://flink.apache.org/contributing/code-style-and-quality-common.html#testing
(Please pick either of the following options)
This change is a trivial rework / code cleanup without any test coverage.
(or)
This change is already covered by existing tests, such as (please describe tests).
(or)
This change added tests and can be verified as follows:
(example:)

Added integration tests for end-to-end deployment with large payloads (100MB)
Extended integration test for recovery after master (JobManager) failure
Added test that validates that TaskInfo is transferred only once across recoveries
Manually verified the change by running a 4 node cluster with 2 JobManagers and 4 TaskManagers, a stateful streaming program, and killing one JobManager and two TaskManagers during the execution, verifying that recovery happens correctly.

Does this pull request potentially affect one of the following parts:

Dependencies (does it add or upgrade a dependency): No
The public API, i.e., is any changed class annotated with @Public(Evolving): No
The serializers: No
The runtime per-record code paths (performance sensitive): No
Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Kubernetes/Yarn, ZooKeeper: No
The S3 file system connector: No

Documentation

Does this pull request introduce a new feature? No
If yes, how is the feature documented? Not applicable

@flinkbot run azure

@flinkbot run azure

@varun1729DD let's start with the enumerator. I'm probably missing something. From the logs that you had posted in JIRA, it appears that all events are processed by the same thread SourceCoordinator-Source: parquet-source - if that is so, then why do we need locking? The locking code is intrusive and ideally best avoided as the mailbox model was designed to solve this.

@varun1729DD let's start with the enumerator. I'm probably missing something. From the logs that you had posted in JIRA, it appears that all events are processed by the same thread SourceCoordinator-Source: parquet-source - if that is so, then why do we need locking? The locking code is intrusive and ideally best avoided as the mailbox model was designed to solve this.

Hmm... can you point me to what is indicating that Enumerator is single threaded? SourceCoordinator-Source: parquet-source doesn't show any thread info. I could be missing something. Also, can you share a code-pointer to the higher-level mailbox logic?

@varun1729DD the thread name of the coordinator in the logs is [SourceCoordinator-Source: parquet-source] - can you please check if there is any other thread executing enumerator code?
I looked at HybridSourceITCase and all enumerator actions are performed in the coordinator thread [SourceCoordinator-Source: hybrid-source]

@tweise  I am coming back to this one; got busy in the middle.
I wonder if synchronization can be restricted to just the readers

I tested the following synchronization combinations:
Enumerator Only -> Did not work
Enumerator and Read -> Works
But never Reader Only -> ?

@varun1729DD thanks for getting back to this. I would be very interested to see where the concurrency issue occurs. If you tested with enumerator only and that did not fix the issue, then that seems to confirm that there isn't any issue on the enumerator side as we expect that execution is single threaded (mailbox thread).
If you add synchronization to the reader only and the error goes away, the we can dig into that.

Hi @tweise
I am able to reproduce this issue with just changes just to the reader. The error does not go away
The PR says closed because I reset my fork.
I am trying to put together a test case

Continued here: https://github.com/apache/flink/pull/24055


Apply Macro

Please let me know what you have in mind in terms of implementation!

It required adding an eval primitive operation, but apply macro is now in place
Commit: https://github.com/rzubek/CSLisp/commit/2b3144c36bf1936efe777f8d576979f0435f488e


I2C: HDAT version 2 not supported!

Seems hostboot as of open-power/hostboot@9ecbdfd70311bd7074ce341201779791a14e381c has updated to a new version of I2C HDAT data but skiboot doesn't know how to parse it yet:
[   71.098741507,3] I2C: HDAT version 2 not supported! THIS IS A BUG
[   71.098917207,3] I2C: HDAT version 2 not supported! THIS IS A BUG

This breaks all I2C functionality from linux...

http://patchwork.ozlabs.org/patch/791337/

Yea already tried that patch, it only fixes the version number check to report it as version 2 instead of 32.
Skiboot still needs to parse the new version :)

@rlippert They're reporting v2 without actually populating any of the extra fields that were added in v2.  I asked the hostboot team put the version number back to v1 a few days ago, but I'm not sure when they'll have a fix out.
For now you can work around it with this in skiboot:
From c1590ad05e6a9f4659d2784b3ec819cc272e8e2b Mon Sep 17 00:00:00 2001
From: Oliver O'Halloran<EMAIL_ADDRESS>Date: Fri, 21 Jul 2017 14:15:13 +1000
Subject: [PATCH] HACK: workaround broken HDAT version

Hostboot commit 3fbd50ab46e402867da8a5ae6b041aa9330fd6ea reworked the
Host I2C device array generation. As a side effect of this work around
it's now porting array version 2 without actually populating any of the
V2 data.

Signed-off-by: Oliver O'Halloran<EMAIL_ADDRESS>---
 hdata/i2c.c | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/hdata/i2c.c b/hdata/i2c.c
index 5e9084e7e3e2..bf4d88ff7d2b 100644
--- a/hdata/i2c.c
+++ b/hdata/i2c.c
@@ -192,9 +192,8 @@ int parse_i2c_devs(const struct HDIF_common_hdr *hdr, int idata_index,
 	}

 	if (version != 1) {
-		prerror("I2C: HDAT version %d not supported! THIS IS A BUG\n",
-			version);
-		return -1;
+		prerror("I2C: Got HDAT version %d, forcing v1\n", version);
+		version = 1;
 	}

 	HDIF_iarray_for_each(&ahdr->hdr, i, dev) {
--
2.9.4

Or this in hostboot:
commit 6177a2cb37badce250c954b43eb4a3967baacd2d
Author: Oliver O'Halloran<EMAIL_ADDRESS>Date:   Fri Jul 21 14:20:02 2017 +1000

    fixup! Support new i2c device link ID format

diff --git a/src/usr/hdat/hdatmsarea.C b/src/usr/hdat/hdatmsarea.C
index ceb469828ecb..a9f3cc39d07b 100755
--- a/src/usr/hdat/hdatmsarea.C
+++ b/src/usr/hdat/hdatmsarea.C
@@ -390,7 +390,7 @@ void HdatMsArea::setMsaI2cInfo(
     iv_msaI2cHdr.hdatArrayCnt = i_I2cDevEntries.size();
     iv_msaI2cHdr.hdatAllocSize = sizeof(hdatI2cData_t);
     iv_msaI2cHdr.hdatActSize = sizeof(hdatI2cData_t);
-    iv_msaI2cHdr.hdatVersion = HOST_I2C_DEV_INFO_VERSION::V2;
+    iv_msaI2cHdr.hdatVersion = HOST_I2C_DEV_INFO_VERSION::V1;
     iv_msaHostI2cCnt = i_I2cDevEntries.size();
     iv_msaHostI2cSize = sizeof(iv_msaI2cHdr) +
         (sizeof(hdatI2cData_t) * iv_msaHostI2cCnt);
diff --git a/src/usr/hdat/hdatpcrd.C b/src/usr/hdat/hdatpcrd.C
index 1ecda256b426..06d99f3c8862 100644
--- a/src/usr/hdat/hdatpcrd.C
+++ b/src/usr/hdat/hdatpcrd.C
@@ -473,7 +473,7 @@ errlHndl_t HdatPcrd::hdatLoadPcrd(uint32_t &o_size, uint32_t &o_count)
                 l_hostI2cFullPcrdHdrPtr->hdatActSize =
                     sizeof(hdatI2cData_t);
                 l_hostI2cFullPcrdHdrPtr->hdatVersion =
-                    HOST_I2C_DEV_INFO_VERSION::V2;
+                    HOST_I2C_DEV_INFO_VERSION::V1;

                 hdatI2cData_t *l_hostI2cFullPcrdDataPtr =
                     reinterpret_cast<hdatI2cData_t *>
diff --git a/src/usr/hdat/hdatutil.H b/src/usr/hdat/hdatutil.H
index 1e730aebaaaf..289d4560f239 100755
--- a/src/usr/hdat/hdatutil.H
+++ b/src/usr/hdat/hdatutil.H
@@ -103,6 +103,7 @@ extern trace_desc_t* g_trac_hdat;

 enum HOST_I2C_DEV_INFO_VERSION : uint32_t
 {
+    V1 = 0x00000001,
     V2 = 0x00000002,
 };

commit 0818df625e3539a6aaad025ee6f1d1a441dee4a5
Author: Oliver O'Halloran<EMAIL_ADDRESS>Date:   Wed Aug 2 22:58:46 2017 +1000

    hdata/i2c: Work around broken I2C array version

    Work around a bug in the I2C devices array that shows the
    array version as being v2 when only the v1 data is populated.

    Signed-off-by: Oliver O'Halloran<EMAIL_ADDRESS><EMAIL_ADDRESS>only parse V2 as V1, still pass on >v2]
    Signed-off-by: Stewart Smith<EMAIL_ADDRESS>
With 0818df625e3539a6aaad025ee6f1d1a441dee4a5 upstream, we have the workaround for this in skiboot.
Hilarity may ensue when Hostboot starts populating V2 information though.


Caching and deprecated JavaExec

Hello, I found out that your plugin still uses deprecated JavaExec in Gradle 7.3. Is there any way to get rid of it?

I also wanted to ask if there is any possibility to add support for Caching.
Thank you in advance.

The deprecation issue was taken care as part of https://github.com/ciscoo/cxf-codegen-gradle/issues/10, specifically https://github.com/ciscoo/cxf-codegen-gradle/commit/a3cb88a5d041673d15b0fcbeca3b47130663b290.
As for caching, is there something your build scans are showing that is leading to the tasks not being cached? There are some changes made from https://github.com/ciscoo/cxf-codegen-gradle/issues/12, but curious if there is anything that was missed.

Thank you for your response!
I was using the RC3 version, I will try latest snapshots and let you know.


Adding additional mirror to maven.json

In some locations, the main archive mirror is not available. Listing the next most popular one at the time of this update

Could anyone clarify the usage of multiple URLs correct? It appears it still fails sometimes locally if the first URL host cannot be reached...

All URLs in this array will be downloaded, they are not for mirroring purposes.
With location do you mean country? Would like to check this via VPN then :smile:

Ohh I see...thanks! No, by "location" I was referring to particular networks. Maybe it is a VPN thing? Hmm.
Would be any interest in a new feature request for failover URLs?

This PR can be closed.


Way/area selection impossible

Hello,
Sometimes I've got a problem on Chrome: way and area are unselectable, i can select poi.
Then I'm force to use shift+clic to select so it's really long.
I don't want to install Firefox on this computer. Sometimes it happens on my other one , and Firefox solves this issue.
Can you, please, try to fix this?

It can be a duplicate I think. But I can select node. But I can select way and polygon only if I use shift. This happen on Windows 7 and windows 10, and restarting chrome doesn't help, then maybe it's not related to iD.

Yes it does sound like a duplicate of that issue.

restarting chrome doesn't help

Can you tell me what happens when you restart Chrome?   Do you close the iD tab completely and open a new one?  Do you restore your history?

I'm always in private navigation, I close the window (all tab) and restart chrome. Will try to get java log when it will happen again.
I often have just chrome (With gostery) and BOINC open.

I'm always in private navigation, I close the window (all tab) and restart chrome.

Ok, but when you restart Chrome, you can select again?  Or it remains broken?

No I can't can select node, but no way/polygon) , that's why, maybe, it's not iD related... Will try to take care the next time, because when it happen I switch to Firefox.

Got error currently, console shows :
"failed to load ressource: net::ERR_BLOCKED_BY_CLIENT"
and the link : "http://piwik.openstreetmap.org/piwik.js"
I let my computer 3 hours without editing, and disconnected from Internet, before this happen.

if I refresh, I got :
"GET http://piwik.openstreetmap.org/piwik.js net::ERR_BLOCKED_BY_CLIENTsend @ application-9c16b9d….js:26pe.extend.ajax @ application-9c16b9d….js:26(anonymous function) @ application-9c16b9d….js:216c @ application-9c16b9d….js:24d.fireWith @ application-9c16b9d….js:24pe.extend.ready @ application-9c16b9d….js:24s @ application-9c16b9d….js:14"
and link
"http://www.openstreetmap.org/assets/application-9c16b9dad23a368b98e54d15c3b6833d28bc731d7ccc544302bb4db3dc7c5930.js:26"

Hmm - I think the piwik error is likely not causing the issue, but just in case, can you try editing with https://openstreetmap.us/iD/master/
It would be interesting to know if you still get an error on there, which would be better because then it would be in unminified code.

On that one I goth this error:
"GET https://dnn506yrbagrg.cloudfront.net/pages/scripts/0013/6714.js?406702 net::ERR_BLOCKED_BY_CLIENT"
and link:
"(index):36"
But currently I can select ways and polygons.
Maybe piwik is disabled by ghostery

In fact piwik is always blocked by gostery...

piwik is likely unrelated since #2151 is hit without blocking piwik

That being said, it's best to duplicate bugs without any extensions.

Have you look :
http://mourner.github.io/simplify-js/
In a first version, linked dot and poi dot should not be removed. In a second version, linked dot should be removed only if the 3 consecutive lot comes from the both same area

@homersimpsons did you mean to put this on the "Simplify Way" issue #3116?
(simplify-js is also Douglas-Peucker)

Yes, sorry I put this in wrong ticket. In their demo, with high quality it looks a good simplification.

Since last update this problem (which is duplicate of older issue) is more prevalent than before. Making iD nearly impossible to use for anything beyond drawing up things - editing them is a PITA.

closing here, lets keep discussion on #2151


tests: 😅 mock consensus height of 0 is recorded in fast forward span

block::Builder::execute does not update the TestNode<C> height. it should! so that we don't see logs like this when running tests:
  2024-03-12T16:06:19.179075Z TRACE penumbra_mock_consensus::abci: waiting for consensus service
    at crates/test/mock-consensus/src/abci.rs:32
    in penumbra_mock_consensus::abci::end_block
    in penumbra_mock_consensus::block::execute with height: 718, time:<PHONE_NUMBER>
    in penumbra_mock_consensus::fast_forward with blocks: 1000, height: 0, fast_forward.blocks: 1000

errant issue. we do update the height, but we record a span field outside of the loop. thus, the height: 0 is just reflecting where we started. i'm going to close this, it's a very small logging issue, and it will be fixed as part of #3995.

uncovered another unrelated height value being hard-coded. for the sake of formality, going to cherry-pick changes out of #3995 and mark them as "fixing" this issue.


refactor: carbon offset pages

Needs release of: https://github.com/lifinance/sdk/pull/100

@mathiasmoeller I know its a lot! And that only the carbon offset refactor. Opted to refactor the klima stuff in another PR when i saw the 3000 changes 😂


feat: Streamline and rename chart

Description

Streamline and rename chart to simplify customer onboarding
Type of change

[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[x] New feature / enhancement (non-breaking change which adds functionality)
[ ] Security fix
[ ] Bug fix (non-breaking change which fixes an issue)

Checklist:

[ ] Documentation has been updated
[ ] This change requires changes in testing:

[ ] unit tests
[ ] E2E tests

@ramkrishankumarN you should not approve a PR unless it is ready. I comment on Slack when PRs are ready for review

@ramkrishankumarN you should not approve a PR unless it is ready. I comment on Slack when PRs are ready for review

Thanks for the heads up. I will look at the changes again


fix: support for PATCH

Codecov Report

Merging #390 (b1bc3d4) into main (8784c17) will increase coverage by 1.30%.
The diff coverage is 63.63%.

@@            Coverage Diff             @@
##             main     #390      +/-   ##
==========================================
+ Coverage   87.97%   89.28%   +1.30%
==========================================
  Files          71       71
  Lines        4534     4472      -62
  Branches      577      577
==========================================
+ Hits         3989     3993       +4
+ Misses        544      478      -66
  Partials        1        1

Files Changed
Coverage Δ

...es/swagger-ts/src/generators/OperationGenerator.ts
90.76% <20.00%> (+29.94%)
:arrow_up:

...kages/swagger/src/generators/OperationGenerator.ts
90.31% <100.00%> (+0.85%)
:arrow_up:

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


Multiple Accounts or Multiple Instances on same OS Session

I was wondering if there is any way to run multiple accounts of G Suite with this project.
I have one personal account and two business accounts, and I have been struggling with solutions like Franz, Station and Wavebox.
So, is there a way to install 3 different instances of G Desktop Suite in the same MacOS session?
Thank you so much for this awesome project.

This is a interesting use case I hadn't thought about too much. Google already gives you a way to switch between accounts that you're already signed in. Would you want to have multiple accounts running at the same time?

Exactly! Much of the time I need to have two of my inboxes in the screen at the same time, and receive notifications for all my accounts in order to answer almost immediately.
I know this is not a feature for the average user, but I was wondering if there is a workaround that doesn't require too much code to make it work (such as multiple standalone installs)

I do I.T. consulting and have about 10+ chrome profiles (each with 1 G Suite account) for all my different clients. Having to re-log into each one in this app will be annoying, but once done would be very useful to be able to switch accounts easily, or have multiple logged in simultaneously.
Otherwise i'd only be able to use this with my personal account, and having a separate workflow would be less useful.


Aesthetic Gradients

Hello,
thank you for this fantastic way to use stable diffusion.
Would it be possible to implement this feature?
https://github.com/vicgalle/stable-diffusion-aesthetic-gradients
It provides nice improvement in aesthetics with minimal effort on user side.

This is probably no longer worth implementing compared to Self-Attention Guidance, Controlnets, and Loras, which should be able to do the same thing.


src/connection: Remove Pausable wrapper around stream command

See https://github.com/paritytech/yamux/pull/112#pullrequestreview-595297989 for details.

Preparing a commit applying your suggestions now.


Add Elm

I've been working on a more complicated front-end at work with elm and it is good for large projects but I think this would be better to use regular javascript.


Baseline concept

Putting Information Protection and Threat Protection in the M365 silo implies that they don't apply to Azure and Power Platform which is not good. These are not services that are limited to M365 tenants, We need to plan to protect all the services. Adding another layer between AAD and the Subscription and Instance layer would help make this clear

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

ID: a68666a5-9ef4-4000-001f-63ca0bf72a4c
Version Independent ID: 60b435e6-5a35-a0d9-1c32-b21afeba2599
Content: To identity and beyond — One architect's viewpoint
Content Source: microsoft-365/solutions/identity-design-principles.md
Product: microsoft-365-enterprise
GitHub Login: @BrendaCarter
Microsoft Alias: bcarter

Agree with your comment, but see my statement right after the picture "When you learn to swim it's better to start in the pool and not in the middle of the ocean. I am not trying to be technically accurate with this diagram. It's a model to discuss some basic concepts."
LMK if you think that explains the intention.


[ArPow] Onboard vstest to arcade-powered source-build

vstest seems to be an older version of arcade:
./build.sh -c Release --restore --build --pack /p:ArcadeBuildFromSource=true -bl

Doesn't seem to do anything different for source-build. Version.Details.xml says:
<Dependency Name="Microsoft.DotNet.Arcade.Sdk" Version="1.0.0-beta.21123.5"

I logged https://github.com/microsoft/vstest/issues/2804 to track upgrading the Arcade version.


Update linear.rb

The spaces in the zap stanza are correct in Vim?

The spaces in the zap stanza are correct in Vim?

That’s because you’re using tabs, and they need to be spaces.

Fixed and squashed.

Thank you for the contribution. It was merged directly as 065ea428826ae0b8049e4cc650c9c077a1c60c66 to keep commit history cleaner. Your contribution is still credited to you.

Thanks again for your help @vitorgalvao.


Console loading effect  Added

https://github.com/qdrant/qdrant-web-ui/assets/84975264/5bc3ab82-0554-46ab-943d-0daa1c84fd4a
#89

Loader only works on RUN click, but not the hotkey

Loader for the long request is cancelled if there is another short request happens before previous long one is finished. It should be displayed if any requests are running


Cursor icons

Small PR to enable setting mouse cursor icon during hover and grab. Closes #45.
Currently this simply pulls in the winit::window::CursorIcon enum. Eventually we may want something else, but for now this will do.

Worth noting that I tried setting custom icons for hovering over scrollbars, but ultimately decided against it. At least on Linux, this seems to be the standard behaviour.
Even more interesting, we could change the icon when over any part of the UI that supports dragging inside a scroll region, however this would probably also be more annoying than useful (in any case, the icon changes when a grab is active).


Parameters used for motion imitation

Hello,
I am trying to use this algorithm (rewritten in PyTorch with Gym vectorized envs) for motion imitation, starting with the PyBullet implementation of the DeepMimic environment. In the paper, section 5.3, there is a comparison of DeepMimic's modified off-policy PPO with AWR and RWR on some of DeepMimic's tasks, but no further information was given on which hyperparameters were used there.
The appendix gives some parameters which I think apply to the usual MuJoCo benchmarks, but I'm not sure if they also apply to the DeepMimic tasks (for instance the MLP hidden dimensions of (128, 64) don't seem right for DeepMimic since the original paper uses (1024, 512)).

Sure, here're the hyperparameters for the motion imitation tasks with the humanoid:
{
"actor_net_layers": [1024, 512],
"actor_stepsize": 0.0000015,
"actor_momentum": 0.9,
"actor_init_output_scale": 0.01,
"actor_batch_size": 256,
"actor_steps": 200,
"action_std": 0.05,
    "critic_net_layers": [1024, 512],
    "critic_stepsize": 0.01,
    "critic_momentum": 0.9,
    "critic_batch_size": 256,
    "critic_steps": 100,

    "discount": 0.95,
    "samples_per_iter": 4096,
    "replay_buffer_size": 50000,
    "normalizer_samples": 1000000,

    "weight_clip": 50,
    "td_lambda": 0.95,
    "temp": 1.0,

},

Thanks! I also have another couple of questions: were actions normalized like in the original DeepMimic code?

yes, actions were also normalized. Besides using AWR instead of PPO, the rest of the setup was the same.

In the paper's appendix C it is said a temperature of 0.05 is used with step size 0.00005, though the config file in this repo sets the temperature to 1.0 and changes the learning rates -- which one should be used ? I can see where the tradeoff happens with this parameter: in my experiments, adjusting it made a difference between being able to train on an environment or not

In the code we are using advantage normalization, so the temperature is just set to 1.0. The temp of 0.05 was used without advantage normalization. If you are using the code, a temp of 1 should work for the tasks.

Thanks ! I'm interested in how the temperature and weight clip interact: I guess having a lot of weights clipped should be bad news, right? because intuitively if half of the weights are set to 20 then you lose info on the relative quality of the corresponding actions in the gradient


Unittesting

Codecov Report
Base: 69.56% // Head: 70.63% // Increases project coverage by +1.07% :tada:

Coverage data is based on head (71214bf) compared to base (b35da03).
Patch has no changes to coverable lines.

Additional details and impacted files
@@             Coverage Diff              @@
##             master      #45      +/-   ##
============================================
+ Coverage     69.56%   70.63%   +1.07%
- Complexity      470      476       +6
============================================
  Files            83       83
  Lines          1587     1587
  Branches        163      163
============================================
+ Hits           1104     1121      +17
+ Misses          430      412      -18
- Partials         53       54       +1

Impacted Files
Coverage Δ

...rc/main/java/seedu/address/model/ModelManager.java
96.15% <0.00%> (+5.76%)
:arrow_up:

...ess/model/person/TagContainsKeywordsPredicate.java
70.00% <0.00%> (+70.00%)
:arrow_up:

...va/seedu/address/logic/commands/FilterCommand.java
100.00% <0.00%> (+100.00%)
:arrow_up:

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

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

#42


lncli: add profiles for easy multi-node management

Inspired by  #1237.
Easily manage multiple lnd nodes by storing all global options (like --rpcserver, --tlscertpath, --macaroonpath and so on) in profiles for easy use. Macaroons can be stored in cleartext (hex encoded) or encrypted with snacl/secretbox for added security.
Example profile file (stored and picked up in ~/.lncli/profiles.json):
{
  "profiles": [
    {
      "name": "zane",
      "rpcserver": "localhost:10019",
      "lnddir": "/home/guggero/.lnd-dev-zane",
      "chain": "bitcoin",
      "network": "regtest",
      "tlscert": "-----BEGIN CERTIFICATE-----\n...\n-----END CERTIFICATE-----\n",
      "macaroons": {
        "default": "admin",
        "timeout": 60,
        "jar": [
          {
            "name": "admin",
            "data": "0201036c6e6402eb01030a1042d25b1373217e6a4ae3650e37fb13f6120..."
          }
        ]
      }
    },
    {
      "name": "test",
      "rpcserver": "localhost:10008",
      "lnddir": "/home/guggero/docker/mounts/lnd-testnet",
      "chain": "bitcoin",
      "network": "testnet",
      "tlscert": "-----BEGIN CERTIFICATE-----\n...\n-----END CERTIFICATE-----\n",
      "macaroons": {
        "default": "admin",
        "timeout": 60,
        "jar": [
          {
            "name": "admin",
            "data": "snacl:iE+pBaM09gRrYspmFbO7dDmCJngZsCHf/xOL91Z5rSUQGJtda1imYAQUqsDRmcHKSYQxqY84wlei45/8YgJmxQBAAAAAAAAACAAAAAAAAAABAAAAAAAAAA==:RdBpubd+Nuxwm6..."
          }
        ]
      }
    }
  ]
}

Example usage:
lncli --profile test getinfo or even shorter lncli -p test getinfo.

I rebased and addressed all comments. I'm going to do some more manual testing before re-requesting review.

I did some more manual testing and fixed two small issues.

@guggero Is there a reason you don't use an on-disk macaroon path instead of hex? I think this implementation is good, but personally I think being able to still point to a macaroon on disk would be nice.

The idea was to have a self-contained (and therefore easily transportable) profiles file. But there's no reason to also be able to point to files. I'm going to add this to my TODO list for a follow-up PR.

Yep, I get that. Sounds good, thanks!


deeplake.util.exceptions.TransformError

I'm attempting to load some Documents and get a TransformError - could someone please point me in the right direction? Thanks!
I'm afraid the traceback doesn't mean much to me.
db = DeepLake(dataset_path=deeplake_path, embedding_function=embeddings)
db.add_documents(texts)

  tensor     htype    shape    dtype  compression
  -------   -------  -------  -------  -------
 embedding  generic   (0,)    float32   None
    ids      text     (0,)      str     None
 metadata    json     (0,)      str     None
   text      text     (0,)      str     None
Evaluating ingest: 0%|          | 0/1 [00:10<?
Traceback (most recent call last):
  File "C:\Users\charles\Documents\GitHub\Chat-with-Github-Repo\venv\Lib\site-packages\deeplake\core\chunk_engine.py", line 1065, in extend
    self._extend(samples, progressbar, pg_callback=pg_callback)
  File "C:\Users\charles\Documents\GitHub\Chat-with-Github-Repo\venv\Lib\site-packages\deeplake\core\chunk_engine.py", line 1001, in _extend
    self._samples_to_chunks(
  File "C:\Users\charles\Documents\GitHub\Chat-with-Github-Repo\venv\Lib\site-packages\deeplake\core\chunk_engine.py", line 824, in _samples_to_chunks
    num_samples_added = current_chunk.extend_if_has_space(
                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\charles\Documents\GitHub\Chat-with-Github-Repo\venv\Lib\site-packages\deeplake\core\chunk\chunk_compressed_chunk.py", line 50, in extend_if_has_space
    return self.extend_if_has_space_byte_compression(
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\charles\Documents\GitHub\Chat-with-Github-Repo\venv\Lib\site-packages\deeplake\core\chunk\chunk_compressed_chunk.py", line 233, in extend_if_has_space_byte_compression
    serialized_sample, shape = self.serialize_sample(
                               ^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\charles\Documents\GitHub\Chat-with-Github-Repo\venv\Lib\site-packages\deeplake\core\chunk\base_chunk.py", line 342, in serialize_sample
    incoming_sample, shape = serialize_text(
                             ^^^^^^^^^^^^^^^
  File "C:\Users\charles\Documents\GitHub\Chat-with-Github-Repo\venv\Lib\site-packages\deeplake\core\serialize.py", line 505, in serialize_text
    incoming_sample, shape = text_to_bytes(incoming_sample, dtype, htype)
                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\charles\Documents\GitHub\Chat-with-Github-Repo\venv\Lib\site-packages\deeplake\core\serialize.py", line 458, in text_to_bytes
    byts = json.dumps(sample, cls=HubJsonEncoder).encode()
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\charles\AppData\Local\Programs\Python\Python311\Lib\json\__init__.py", line 238, in dumps
    **kw).encode(obj)
          ^^^^^^^^^^^
  File "C:\Users\charles\AppData\Local\Programs\Python\Python311\Lib\json\encoder.py", line 200, in encode
    chunks = self.iterencode(o, _one_shot=True)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\charles\AppData\Local\Programs\Python\Python311\Lib\json\encoder.py", line 258, in iterencode
    return _iterencode(o, 0)
           ^^^^^^^^^^^^^^^^^
ValueError: Circular reference detected

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "C:\Users\charles\Documents\GitHub\Chat-with-Github-Repo\venv\Lib\site-packages\deeplake\util\transform.py", line 220, in _transform_and_append_data_slice
    transform_dataset.flush()
  File "C:\Users\charles\Documents\GitHub\Chat-with-Github-Repo\venv\Lib\site-packages\deeplake\core\transform\transform_dataset.py", line 154, in flush
    raise SampleAppendError(name) from e
deeplake.util.exceptions.SampleAppendError: Failed to append a sample to the tensor 'metadata'. See more details in the traceback.

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\charles\Documents\GitHub\Chat-with-Github-Repo\venv\Lib\site-packages\deeplake\core\chunk_engine.py", line 1065, in extend
    self._extend(samples, progressbar, pg_callback=pg_callback)
  File "C:\Users\charles\Documents\GitHub\Chat-with-Github-Repo\venv\Lib\site-packages\deeplake\core\chunk_engine.py", line 1001, in _extend
    self._samples_to_chunks(
  File "C:\Users\charles\Documents\GitHub\Chat-with-Github-Repo\venv\Lib\site-packages\deeplake\core\chunk_engine.py", line 824, in _samples_to_chunks
    num_samples_added = current_chunk.extend_if_has_space(
                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\charles\Documents\GitHub\Chat-with-Github-Repo\venv\Lib\site-packages\deeplake\core\chunk\chunk_compressed_chunk.py", line 50, in extend_if_has_space
    return self.extend_if_has_space_byte_compression(
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\charles\Documents\GitHub\Chat-with-Github-Repo\venv\Lib\site-packages\deeplake\core\chunk\chunk_compressed_chunk.py", line 233, in extend_if_has_space_byte_compression
    serialized_sample, shape = self.serialize_sample(
                               ^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\charles\Documents\GitHub\Chat-with-Github-Repo\venv\Lib\site-packages\deeplake\core\chunk\base_chunk.py", line 342, in serialize_sample
    incoming_sample, shape = serialize_text(
                             ^^^^^^^^^^^^^^^
  File "C:\Users\charles\Documents\GitHub\Chat-with-Github-Repo\venv\Lib\site-packages\deeplake\core\serialize.py", line 505, in serialize_text
    incoming_sample, shape = text_to_bytes(incoming_sample, dtype, htype)
                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\charles\Documents\GitHub\Chat-with-Github-Repo\venv\Lib\site-packages\deeplake\core\serialize.py", line 458, in text_to_bytes
    byts = json.dumps(sample, cls=HubJsonEncoder).encode()
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\charles\AppData\Local\Programs\Python\Python311\Lib\json\__init__.py", line 238, in dumps
    **kw).encode(obj)
          ^^^^^^^^^^^
  File "C:\Users\charles\AppData\Local\Programs\Python\Python311\Lib\json\encoder.py", line 200, in encode
    chunks = self.iterencode(o, _one_shot=True)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\charles\AppData\Local\Programs\Python\Python311\Lib\json\encoder.py", line 258, in iterencode
    return _iterencode(o, 0)
           ^^^^^^^^^^^^^^^^^
ValueError: Circular reference detected

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "C:\Users\charles\Documents\GitHub\Chat-with-Github-Repo\venv\Lib\site-packages\deeplake\util\transform.py", line 177, in _handle_transform_error
    transform_dataset.flush()
  File "C:\Users\charles\Documents\GitHub\Chat-with-Github-Repo\venv\Lib\site-packages\deeplake\core\transform\transform_dataset.py", line 154, in flush
    raise SampleAppendError(name) from e
deeplake.util.exceptions.SampleAppendError: Failed to append a sample to the tensor 'metadata'. See more details in the traceback.

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "C:\Users\charles\Documents\GitHub\Chat-with-Github-Repo\venv\Lib\site-packages\deeplake\core\transform\transform.py", line 298, in eval
    raise TransformError(
deeplake.util.exceptions.TransformError: Transform failed at index 0 of the input data. See traceback for more details.

I am also getting the same error, did you get a fix?

For me the issue was resolved after I created a new  API key for OpenAI.

Hi @CharlesFr thanks for taking this issue on our (Deeplake's) community channel. Marking it close for now. Please let us know if you have any further questions.

I'm running into this issue too:

It doesn't look like the example code has been tested properly. (I'm happy to contibute fixes, but I can't get it running...)
IMHO creating a new OpenAI API key, if that's actually the issue?, is not an acceptable resolution for this.

I'm running into this issue too.
Did anyone solve it?

Finally found the issue after wasting a day on this. Happens when the metadata for the langchain docs is not valid JSON. Please print metadata of any doc and debug as to why its not a valid JSON. Mine had some extra single quotes. Issues resolved when I fixed the metadata JSONs.


Use existing http server

Hi,
can I somehow use an existing http server from node js? I want to have the webdav inside a subfolder and on / should be a normal website. Can this be done somehow?

Hello,
The server is meant to be a standalone server.
But, if you are using Express (for instance), you can use the server's methods to retrieve the requested resource in the server. The server doesn't need to be running to work, but the auto-save feature will not start (version 2.2.3), but you will be able to call the server.autoSave() method in the next version (2.3.0).
Another option is to implement a website file system and mount it as root, then mount a virtual file system (or whatever file system you need) on a sub-folder.
I hope that helped you.

I will have a look, thank you.


[Beta] Add Support for All Console Methods and Hide Console Panel if there is a Lint/Syntax Error

This PR:

Adds support for all console methods. Warning and errors will be yellow and red respectively. Also adds support for whitespace prewrap
Only show the sandpack console if there is no syntax or lint error.

AWESOME


Adds AllowClobber powershell_package resource

Description
Cuurently powershell_package does not allow for the usage of the -AllowClobber switch
Related Issue
Issue
Types of changes

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

Checklist:

[x] I have read the CONTRIBUTING document.
[ ] I have run the pre-merge tests locally and they pass.
[ ] I have updated the documentation accordingly.
[ ] I have added tests to cover my changes.
[ ] If Gemfile.lock has changed, I have used --conservative to do it and included the full output in the Description above.
[ ] All new and existing tests passed.
[x] All commits have been signed-off for the Developer Certificate of Origin.

@mikef-nl Can we get a DCO on the commit, please?

@mikef-nl for simplicity of DCO, can you git rebase -i origin/main and squash all the commits into one and then git commit --amend -s to sign the commit and git push -f?

@mikef-nl for simplicity of DCO, can you git rebase -i origin/main and squash all the commits into one and then git commit --amend -s to sign the commit and git push -f?

Bump for visibility. Looks like 3 of the commits are missing DCO otherwise.

@mikef-nl rerunning the suite


Cannot connect to MSSQL on local network - Centos / php72 / mssql2017

+## Driver version or file name
+Please tell us what the PHP driver version or file name is.
pdo_sqlsrv, sqlsrv
+## SQL Server version
+Please tell us what the SQL Server version is.
Sql Server Express 2017
+## Client operating system
+Please tell us what oprating system the client program is running on.
Centos 7
+## PHP version
+Please tell us which version of PHP you are running.
php 7.2
+## Microsoft ODBC Driver version
+Please tell us which version of the Microsoft ODBC Driver you are using.
extension = sqlsrv.so
extension = pdo_sqlsrv.so
+## Table schema
+Please tell us the table schema
+
+## Problem description
+Please share more details with us.
Cannot connect.  Can't connect via code, can't connect via sqlcmd.  I can connect fine from SQL Server Management Console, though.
SQLCMD:
[root@rfmdev tmp]# sqlcmd -S <IP_ADDRESS> -U myuser -P 'mypass'
Sqlcmd: Error: Microsoft ODBC Driver 13 for SQL Server : Login timeout expired.
Sqlcmd: Error: Microsoft ODBC Driver 13 for SQL Server : TCP Provider: Error code 0x2749.
Sqlcmd: Error: Microsoft ODBC Driver 13 for SQL Server : A network-related or instance-specific error has occurred while establishing a connection to SQL Server. Server is not found or not accessible. Check if instance name is correct and if SQL Server is configured to allow remote connections. For more information see SQL Server Books Online..
My Code:
 "mydb",
        "Uid" => "myuser",
        "PWD" => "mypass"
    );
    //Establishes the connection
    $conn = sqlsrv_connect($serverName, $connectionOptions);
    if($conn) {
        echo "Connected!";
    }
    else {
        die( print_r( sqlsrv_errors(), true));
    }
?>
output:
Array
(
[0] => Array
(
[0] => HYT00
[SQLSTATE] => HYT00
[1] => 0
[code] => 0
[2] => [unixODBC][Microsoft][ODBC Driver 13 for SQL Server]Login timeout expired
[message] => [unixODBC][Microsoft][ODBC Driver 13 for SQL Server]Login timeout expired
)
[1] => Array
    (
        [0] => 08001
        [SQLSTATE] => 08001
        [1] => 10057
        [code] => 10057
        [2] => [unixODBC][Microsoft][ODBC Driver 13 for SQL Server]TCP Provider: Error code 0x2749
        [message] => [unixODBC][Microsoft][ODBC Driver 13 for SQL Server]TCP Provider: Error code 0x2749
    )

[2] => Array
    (
        [0] => 08001
        [SQLSTATE] => 08001
        [1] => 10057
        [code] => 10057
        [2] => [unixODBC][Microsoft][ODBC Driver 13 for SQL Server]A network-related or instance-specific error has occurred while establishing a connection to SQL Server. Server is not found or not accessible. Check if instance name is correct and if SQL Server is configured to allow remote connections. For more information see SQL Server Books Online.
        [message] => [unixODBC][Microsoft][ODBC Driver 13 for SQL Server]A network-related or instance-specific error has occurred while establishing a connection to SQL Server. Server is not found or not accessible. Check if instance name is correct and if SQL Server is configured to allow remote connections. For more information see SQL Server Books Online.
    )

)

+## Expected behavior and actual behavior
+Please tell us what should happen and what happened instead
Expected:  To connect.
Actual:  Did not connect.
+## Repro code
+Please share repro code with us, or tell us how to reproduce the issue.
This is a CLEAN Centos that was just installed.  Installed the REMI php-72, and then sqlsrv.
php -m|grep sqlsrv
pdo_sqlsrv
sqlsrv
Any help?

Wow, the code was chopped.  Lets try again...
`
 "mydb",
        "Uid" => "myuser",
        "PWD" => "mypass"
    );
    //Establishes the connection
    $conn = sqlsrv_connect($serverName, $connectionOptions);
    if($conn) {
        echo "Connected!";
    }
    else {
        die( print_r( sqlsrv_errors(), true));
    }
?>
`
and the output:
`
Array
(
[0] => Array
(
[0] => HYT00
[SQLSTATE] => HYT00
[1] => 0
[code] => 0
[2] => [unixODBC][Microsoft][ODBC Driver 13 for SQL Server]Login timeout expired
[message] => [unixODBC][Microsoft][ODBC Driver 13 for SQL Server]Login timeout expired
)
[1] => Array
    (
        [0] => 08001
        [SQLSTATE] => 08001
        [1] => 10057
        [code] => 10057
        [2] => [unixODBC][Microsoft][ODBC Driver 13 for SQL Server]TCP Provider: Error code 0x2749
        [message] => [unixODBC][Microsoft][ODBC Driver 13 for SQL Server]TCP Provider: Error code 0x2749
    )

[2] => Array
    (
        [0] => 08001
        [SQLSTATE] => 08001
        [1] => 10057
        [code] => 10057
        [2] => [unixODBC][Microsoft][ODBC Driver 13 for SQL Server]A network-related or instance-specific error has occurred while establishing a connection to SQL Server. Server is not found or not accessible. Check if instance name is correct and if SQL Server is configured to allow remote connections. For more information see SQL Server Books Online.
        [message] => [unixODBC][Microsoft][ODBC Driver 13 for SQL Server]A network-related or instance-specific error has occurred while establishing a connection to SQL Server. Server is not found or not accessible. Check if instance name is correct and if SQL Server is configured to allow remote connections. For more information see SQL Server Books Online.
    )

)
`

Trying code again:
PHPBEGINMARKER (keeps getting eaten)     $serverName = "<IP_ADDRESS>";     $connectionOptions = array(         "Database" => "rfm",         "Uid" => "php",         "PWD" => "a19!.irsa"     );     //Establishes the connection     $conn = sqlsrv_connect($serverName, $connectionOptions);     if($conn) {         echo "Connected!";     }     else {         die( print_r( sqlsrv_errors(), true));     } ?>

<?php
    $serverName = "<IP_ADDRESS>";
    $connectionOptions = array(
        "Database" => "mydb",
        "Uid" => "myuser",
        "PWD" => "mypass"
    );
    //Establishes the connection
    $conn = sqlsrv_connect($serverName, $connectionOptions);
    if($conn) {
        echo "Connected!";
    }
    else {
        die( print_r( sqlsrv_errors(), true));
    }
?>```

Output of program:
(
    [0] => Array
        (
            [0] => HYT00
            [SQLSTATE] => HYT00
            [1] => 0
            [code] => 0
            [2] => [unixODBC][Microsoft][ODBC Driver 13 for SQL Server]Login timeout expired
            [message] => [unixODBC][Microsoft][ODBC Driver 13 for SQL Server]Login timeout expired
        )

    [1] => Array
        (
            [0] => 08001
            [SQLSTATE] => 08001
            [1] => 10057
            [code] => 10057
            [2] => [unixODBC][Microsoft][ODBC Driver 13 for SQL Server]TCP Provider: Error code 0x2749
            [message] => [unixODBC][Microsoft][ODBC Driver 13 for SQL Server]TCP Provider: Error code 0x2749
        )

    [2] => Array
        (
            [0] => 08001
            [SQLSTATE] => 08001
            [1] => 10057
            [code] => 10057
            [2] => [unixODBC][Microsoft][ODBC Driver 13 for SQL Server]A network-related or instance-specific error has occurred while establishing a connection to SQL Server. Server is not found or not accessible. Check if instance name is correct and if SQL Server is configured to allow remote connections. For more information see SQL Server Books Online.
            [message] => [unixODBC][Microsoft][ODBC Driver 13 for SQL Server]A network-related or instance-specific error has occurred while establishing a connection to SQL Server. Server is not found or not accessible. Check if instance name is correct and if SQL Server is configured to allow remote connections. For more information see SQL Server Books Online.
        )

)```

Hi @Carpesimia
Since you can't even connect via SQLCMD, and its error message was A network-related or instance-specific error has occurred while establishing a connection to SQL Server. Server is not found or not accessible. Check if instance name is correct and if SQL Server is configured to allow remote connections. For more information see SQL Server Books Online..
Can you please make sure that works first?

Hi,
So yeah, it's definitely set up to allow remote connections, because I can connect remotely with the SQL Server Management Console, which did not work until I enabled the remote connection.
As far as the name, I have tried:
SERVER17/SQLEXPRESS
<IP_ADDRESS>/SQLEXPRESS
SERVER17
<IP_ADDRESS>
As the name of the server.  The above names are correct, and the ones used when connecting with SSMC.  I have even added SERVER17 to the /etc/hosts file.
Is there a log generated anywhere for sqlcmd?  Is there a way to get more verbose output?  I'd love to get it working, because that would prove connectivity and let me focus on the app.

Are you using named instance? If so, you might want to check this related issue #470

So, I've been following through with some troubleshooting and it turns out that my SQL Server is not listening on port 1433.  It is listening on 50076.
That being said, I added the port to both sqlcmd and to the test program and they both work.  go figure.
Thanks for all your assistance.


Change the way to determine the direction of swipe

Fix issue https://github.com/robinrodricks/vue3-touch-events/issues/31

Thanks for this fix!


Add headers support to PDF().cachedFromUrl()

Could it be possible to add support of request headers when we preview a pdf from url?
Because some api requires authentification to download files...

now it supported in version 0.2.3
PDF().cachedFromUrl(url, headers: {}),

Perfect ! Thank you


Verify failing with arguments not matching

Relevant StackOverflow
I've noticed that sometimes verify fails with "... call to ... happened, but arguments are not matching"
Here is a sample test that shows verify failing:
class TestStuff {

    val stuff = "1"

    @RelaxedMockK
    lateinit var testService: TestService

    @RelaxedMockK
    lateinit var testInterface: TestInterface

    @Before
    fun setup() {
        MockKAnnotations.init(this)

        every { testInterface.testStuff } returns stuff
    }

    @Test
    fun testStuffCalled() {
        testService.testStuff(testInterface.testStuff)

        verify { testService.testStuff(testInterface.testStuff) }
    }
}

interface TestInterface {
    val testStuff: String
}

class TestService {

    fun testStuff(stuff: String) {
    }
}

It is impossible to mock strings, objects are probably not working as well for this compound verify. I need to check.
Anyway it should work if you check it separately.


Mus Musculus: Histone->Pluripotent Stem cells->mESC, differentiated database does not work

Mus Musculus: Histone->Pluripotent Stem cells->mESC, differentiated database does not work. It is impossible to download nor view on the IGV. it shows an error message when trying to do it.

Hi,
Thank you for the bug report.
The error seems to be caused by the URL having comma (,), which will be fixed by the next update of ChIP-Atlas.
You can instead visualize the genomic localization of "histones" in "mESC, differentiated" as follows:

Launch IGV and specify mm9 as a genome assembly.
File > Load from URL...
Enter following URL:
http://dbarchive.biosciencedbc.jp/kyushu-u/mm9/assembled/His.PSC.05.AllAg.mESCs,_differentiated.bed

Shinya

2020/06/09 6:10、mark0237<EMAIL_ADDRESS>Mus Musculus: Histone->Pluripotent Stem cells->mESC, differentiated database does not work. It is impossible to download nor view on the IGV. it shows an error message when trying to do it.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub https://github.com/inutano/chip-atlas/issues/19, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADD2CTOSONBLGLAOILC3JATRVVHUHANCNFSM4NYYXXTA.

thank you so much, it helped to view the whole set of experiments, but when
i try to view the big wig file of a certain experiment, it has the same
error.
for example this one
http://chip-atlas.org/view?id=SRX254804
how can i bypass the bug and view the big wig in these cases?
thank you
Lic. Marcos Gabriel Francia
Profesor Adjunto - Universidad del Salvador
Becario Doctoral - CONICET
Laboratorio de Regulación Génica en Células Madre
Departamento de Química Biológica
Facultad de Ciencias Exactas y Naturales
Universidad de Buenos Aires.
IQUIBICEN, CONICET-UBA.
Intendente Guiraldes 2160
Ciudad Universitaria, Pab. 2, 4to piso, QB-71
C1428EGA, Buenos Aires
Argentina
tel: +54-11-5285-8683
fax: +54-11-4576-3342
<EMAIL_ADDRESS>El lun., 8 de jun. de 2020 a la(s) 19:32, Shinya Oki (
<EMAIL_ADDRESS>escribió:

Hi,
Thank you for the bug report.
The error seems to be caused by the URL having comma (,), which will be
fixed by the next update of ChIP-Atlas.
You can instead visualize the genomic localization of "histones" in "mESC,
differentiated" as follows:

Launch IGV and specify mm9 as a genome assembly.
File > Load from URL...
Enter following URL:

http://dbarchive.biosciencedbc.jp/kyushu-u/mm9/assembled/His.PSC.05.AllAg.mESCs,_differentiated.bed
Shinya

2020/06/09 6:10、mark0237<EMAIL_ADDRESS>Mus Musculus: Histone->Pluripotent Stem cells->mESC, differentiated
database does not work. It is impossible to download nor view on the IGV.
it shows an error message when trying to do it.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub <
https://github.com/inutano/chip-atlas/issues/19>, or unsubscribe <
https://github.com/notifications/unsubscribe-auth/ADD2CTOSONBLGLAOILC3JATRVVHUHANCNFSM4NYYXXTA
.

—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/inutano/chip-atlas/issues/19#issuecomment-640922188,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/APXXLEPBIW3QG4UCOOA7JNTRVVRJJANCNFSM4NYYXXTA
.

Hi,
Apologies for my late reply.
Upon clicking on "View on IGV" button in SRX254804 web page, ChIP-Atlas internally produce a following URL to load corresponding bigwig on IGV:
http://localhost:60151/load?file=http://dbarchive.biosciencedbc.jp/kyushu-u/mm9/eachData/bw/SRX254804.bw&genome=mm9&name=H3K27ac (@ mESCs, differentiated) SRX254804
But, the URL is invalid because it includes a comma (,). To bypass this error:

Launch IGV.
File > Load from URL
Enter following URL:
http://dbarchive.biosciencedbc.jp/kyushu-u/mm9/eachData/bw/SRX254804.bw http://dbarchive.biosciencedbc.jp/kyushu-u/mm9/eachData/bw/SRX254804.bw

This bug will be fixed by next update of ChIP-Atlas
Best,
Shinya

2020/06/16 23:48、mark0237<EMAIL_ADDRESS>thank you so much, it helped to view the whole set of experiments, but when
i try to view the big wig file of a certain experiment, it has the same
error.
for example this one
http://chip-atlas.org/view?id=SRX254804
how can i bypass the bug and view the big wig in these cases?
thank you
Lic. Marcos Gabriel Francia
Profesor Adjunto - Universidad del Salvador
Becario Doctoral - CONICET
Laboratorio de Regulación Génica en Células Madre
Departamento de Química Biológica
Facultad de Ciencias Exactas y Naturales
Universidad de Buenos Aires.
IQUIBICEN, CONICET-UBA.
Intendente Guiraldes 2160
Ciudad Universitaria, Pab. 2, 4to piso, QB-71
C1428EGA, Buenos Aires
Argentina
tel: +54-11-5285-8683
fax: +54-11-4576-3342
<EMAIL_ADDRESS>El lun., 8 de jun. de 2020 a la(s) 19:32, Shinya Oki (
<EMAIL_ADDRESS>escribió:

Hi,
Thank you for the bug report.
The error seems to be caused by the URL having comma (,), which will be
fixed by the next update of ChIP-Atlas.
You can instead visualize the genomic localization of "histones" in "mESC,
differentiated" as follows:

Launch IGV and specify mm9 as a genome assembly.
File > Load from URL...
Enter following URL:

http://dbarchive.biosciencedbc.jp/kyushu-u/mm9/assembled/His.PSC.05.AllAg.mESCs,_differentiated.bed
Shinya

2020/06/09 6:10、mark0237<EMAIL_ADDRESS>Mus Musculus: Histone->Pluripotent Stem cells->mESC, differentiated
database does not work. It is impossible to download nor view on the IGV.
it shows an error message when trying to do it.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub <
https://github.com/inutano/chip-atlas/issues/19>, or unsubscribe <
https://github.com/notifications/unsubscribe-auth/ADD2CTOSONBLGLAOILC3JATRVVHUHANCNFSM4NYYXXTA
.

—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/inutano/chip-atlas/issues/19#issuecomment-640922188,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/APXXLEPBIW3QG4UCOOA7JNTRVVRJJANCNFSM4NYYXXTA
.

—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub https://github.com/inutano/chip-atlas/issues/19#issuecomment-644813587, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADD2CTMT4ILUAYW5OUTXA3TRW6A4TANCNFSM4NYYXXTA.

I'm closing this because the last update has already fixed this, let us know if you still have any problem with this @mark0237


How to create ObjectBucketPolicy in C#

Hello,
First, thanks for this great package, it's good to be able to manage Scaleway resources with Pulumi !
I'm having some trouble to create an anonymous read only policy a bit like this one in C# :
"Effect": "Allow"
"Principal": "*"
"Action": [
    "s3:GetObject"
],

But I don't understand how to translate the documentation, I can't find the builder to create the policy document.
Is it possible to do the same in C# or I have to create it with raw json ?
Thanks again !

I re-read the documentation and I did not saw the first example was using tools from the AWS package.


Extend list of packages to use single-commit conversion

This should fix update issues with packages for which update fails due
to:
.git repo not present in the BUILD/ dir after running %prep

Signed-off-by: Hunor Csomortáni<EMAIL_ADDRESS>

Would be nice to have some comment with a note as to why a package is on the list so that I wouldn't need to dig in the git history if I was wondering later.
i.e. for example
"perl-Capture-Tiny", # .git not in BUILD/
instead of
"perl-Capture-Tiny",

Updated to include this.

Yet another flake in the tests. Merging.


addEventListener is not working

I didnt purchase sublime text, just downloaded it and never bothered to purchase it. Today I realized that all my codes work in jsfiddle (because they have addEventListener), but not in sublime. Any ideas why?

This does not sound like an issue related to this project.


[Photon Health] Sync patients from Photon

This PR creates a bot that syncs patients from Photon into Medplum.
This is still a work in progress as the UI needs to be updated to include a way to execute the bot. Scripts also need to be updated to include this bot.

Hi @ksmith94 , do you mind rebasing this branch before attempting to merge again.
Looks like some recent change in main is causing your branch to fail merge checks for eslint even though CI passed on this branch before merge.


Argument of type '"schema-org:meta"' is not assignable to parameter of type 'HookKeys'.ts

Environment

Operating System: Linux
Node Version:     v16.20.0
Nuxt Version:     3.6.5
Nitro Version:    2.5.2
Package Manager<EMAIL_ADDRESS>Builder:          vite
User Config:      modules
Runtime Modules<EMAIL_ADDRESS>Build Modules:    -

Reproduction
https://stackblitz.com/edit/github-4upfvy?file=plugin%2FschemaOrg.ts
Describe the bug
Run npx vue-tsc
  nuxtApp.hooks.hook('schema-org:meta', (meta) => {})

Argument of type '"schema-org:meta"' is not assignable to parameter of type 'HookKeys'.ts
Additional context
No response
Logs
No response

@harlan-zw
did I miss to configure something?

Working on a fix for this, will be released soon. Thanks for flagging

Going to track this in the upstream


ability to switch year in datepicker

Currently we can switch months in the datepicker but not the year (at least in the official documentation there is no example where this is possible)
Without the ability to switch years, datepicker has limited application.

Hi @devrav, we are using LitePicker and it doesn't support this feature, we are thinking about replacing it with another date-picker library.
Which library do you suggest?
thanks

Hey @TheHadiAhmadi , while I do not know enough about any particular library to recommend but I think https://stwui.vercel.app/datepicker has a very nice date picker which can be used for reference.


How to control remotely

When sharing screens, what should I do if I want to monitor mouse movements and clicks?

This type of features is not included, you would have to create your own logic to achieve this, most likely a client software installed on the device that will be controlled and give it all permissions, I recommend using Electronjs and some library such as robotjs, good luck.


Update Milestones

As a contributor, I want to know what milestone i'm working toward
AC:

Github Milestones and Roadmap.md file reflect reality
existing issues are tied to a milestone if applicable

Other Considerations:
Revisit the "goals" titles (lol increments)

The roadmap and milestones have been updated.
Additionally (almost) all issues now have an associated milestone.


LanguageClient invokes dynamically registered textDocument/didChange more than once for each change.

Language servers that return dynamically registered textDocument/didChange events get invoked twice when being called from a LanguageClient implementation.
Debugged through and found that once you start the LanguageClient it registers its built in textDocument/didChange handler by calling this. Then, once a dynamic registration for textDocument/didChange comes through it re-calls the same method and hits this code path. That results in two entries in _changeData. Therefore, when a text document change event fires it loops over both change data entries and fires the same bits twice.

@NTaylorMullen good catch. But this can only happen if you use the node language server module we provide. There is some legacy compatibility code which adds a sync capability to the server if a TextDocument manager is created. This legacy code should respect the users choice in the capabilities and only do this if a textDocumentSync capability is not provided.
Can you confirm that you are seeing the with a server implemented in node using vscode-languageserver-node npm module?

Can you confirm that you are seeing the with a server implemented in node using vscode-languageserver-node npm module?

No. I am seeing this while using https://github.com/OmniSharp/csharp-language-server-protocol. Here's an example output with my LanguageClient's trace set to verbose:
[Trace - 10:39:46 AM] Received request 'client/registerCapability - (0)'.
Params: {
    "registrations": [
        {
            "id": "245d7fe1-dc0a-4382-8e91-945a71592f2a",
            "method": "textDocument/didChange",
            "registerOptions": {
                "syncKind": 2,
                "documentSelector": [
                    {
                        "pattern": "**/*.cshtml"
                    }
                ]
            }
        },
        {
            "id": "e9d45e2a-05e0-4f6b-9db5-35eca6049502",
            "method": "textDocument/didOpen",
            "registerOptions": {
                "documentSelector": [
                    {
                        "pattern": "**/*.cshtml"
                    }
                ]
            }
        },
        {
            "id": "67626cc6-407b-4693-ba31-030173e0e5d4",
            "method": "textDocument/didClose",
            "registerOptions": {
                "documentSelector": [
                    {
                        "pattern": "**/*.cshtml"
                    }
                ]
            }
        },
        {
            "id": "04cffce2-ae13-47f0-ab88-a46527e41947",
            "method": "textDocument/didSave",
            "registerOptions": {
                "includeText": true,
                "documentSelector": [
                    {
                        "pattern": "**/*.cshtml"
                    }
                ]
            }
        },
        {
            "id": "a024a94a-d9c2-4719-9d00-c6f0ba9ccfd4",
            "method": "textDocument/completion",
            "registerOptions": {
                "resolveProvider": true,
                "documentSelector": [
                    {
                        "pattern": "**/*.cshtml"
                    }
                ]
            }
        }
    ]
}

[Trace - 10:39:46 AM] Sending response 'client/registerCapability - (0)'. Processing request took 0ms
No result returned.

Note the syncKind: 2 inclusion in the registration options.

Reopening. This is strange since the client only registers the handler itself if the initialize request tells him to do so. Can you provide the result from the intialize request as well.

Here's the initialization result that the LanguageClient gets. Doesn't look like the initialization is logged anywhere so had to debug into it to retrieve.
{
   "capabilities":{
      "textDocumentSync":{
         "openClose":true,
         "change":2,
         "willSave":false,
         "willSaveWaitUntil":false,
         "save":{
            "includeText":true
         }
      },
      "hoverProvider":false,
      "definitionProvider":false,
      "referencesProvider":false,
      "documentHighlightProvider":false,
      "documentSymbolProvider":false,
      "workspaceSymbolProvider":false,
      "codeActionProvider":false,
      "documentFormattingProvider":false,
      "documentRangeFormattingProvider":false,
      "renameProvider":false,
      "experimental":{

      },
      "typeDefinitionProvider":null,
      "implementationProvider":null
   }
}

OK. This explains it. This one already registers document synchronization using
      "textDocumentSync":{
         "openClose":true,
         "change":2,
         "willSave":false,
         "willSaveWaitUntil":false,
         "save":{
            "includeText":true
         }
      }

If you add another sync dynamically you get two. Currently the client doesn't de-dupe them since this might be hard to decide. Which document selector do you pass in when creating the LSP client?

Using [ { pattern: '**/*.cshtml' } ] as the document selector.
@dbaeumer is this something the language server shouldn't be doing?

So what happens here is the following:

the client is created with a document selector of [ { pattern: '**/*.cshtml' } ].
the server request document sync in the initialize response. So the client hooks up the necessary listeners for the document selectors the client got created with
the server then dynamically registers for change to **/*.cshtml. This is why you receive them twice.

To avoid this either:

create the client without a default selector, then the request from the initialize request will be ignored
change the server to either not return the textDocumentSync literal or remove the dynamic registration.

OK for you to close the issue ?

OK for you to close the issue ?

Closing seems alright. A little sad that the language spec doesn't specify what should happen in this overlap scenario 😢.
/cc @david-driscoll given that the language server you built dynamically registers everything it might be good to make it a bit smarter in regards to what things will be dynamically registered vs. what's returned in the initialize request.

The library should only register static methods when the client does not support dynamic registration.
Log a bug in our repo and I'll take a look

No, the VS Code LSP client always supports dynamic registration independent whether you provide a document selector to the client.


Notification via Webhook does not support Authorization config

What did you expect to see?
I am trying to use Alert Manager to a webhook with Basic Authorization. However, as I can see from source code. The webhook does not support sending a HTTP request with Authorization field in its header. [1]
So I would like to propose an additional config that enables the end user can send HTTP request to Webhook API via Authorization header.
Environment

Alertmanager version:

$ ./alertmanager --version
alertmanager, version 0.20.0 (branch: master, revision: 071818bdac7474b7c447a083dd2151606abc8951)
build user:       longkb@longkb
build date:       20200428-02:45:36
go version:       go1.14.2
    ```

Basic auth is already supported via http_config section of webhook configuration.

Thanks. I got it :)


[feat] Explore account implementation options

Explore some different options for handling the accounts for the wallet app.

Yes, I will create a draft PR

awesome thank you


RUM-1094: Let exceptions from Window.Callback to propagate

What does this PR do?
After checking our telemetry I found some customer-specific exceptions reported. Turns out we are swallowing exceptions thrown from the wrapped Window.Callback, which it seems is not the right approach - we need to let them propagate, so that customer is aware of them. This PR basically reverts what was done in https://github.com/DataDog/dd-sdk-android/pull/732
However, we need to catch exceptions related to the delegate calling - argument can be null, while delegate can exception only non-null values. Such exceptions were the case in the past, but it seems that at least Kotlin 1.8 is now smarter and doesn't generate the null-parameter check as before. But I still left such exception handling just to avoid regressions in the future Kotlin compiler releases.
Review checklist (to be filled by reviewers)

[ ] Feature or bugfix MUST have appropriate tests (unit, integration, e2e)
[ ] Make sure you discussed the feature or bugfix with the maintaining team in an Issue
[ ] Make sure each commit and the PR mention the Issue number (cf the CONTRIBUTING doc)

Codecov Report

Merging #1632 (c04b948) into develop (956f75e) will decrease coverage by 0.10%.
The diff coverage is 82.61%.

@@             Coverage Diff             @@
##           develop    #1632      +/-   ##
===========================================
- Coverage    83.81%   83.71%   -0.10%
===========================================
  Files          455      455
  Lines        15686    15684       -2
  Branches      2331     2333       +2
===========================================
- Hits         13147    13129      -18
- Misses        1916     1933      +17
+ Partials       623      622       -1

Files Changed
Coverage Δ

...ternal/recorder/callback/RecorderWindowCallback.kt
90.91% <77.78%> (-2.33%)
:arrow_down:

.../instrumentation/gestures/WindowCallbackWrapper.kt
85.54% <85.71%> (+0.31%)
:arrow_up:

... and 17 files with indirect coverage changes


Array.view(jnp.complex64) doesn't work on TPU with jax_enable_x64

Description
Trying to call view(jnp.complex64) when jax_enable_x64 is enabled fails with: XlaRuntimeError: INVALID_ARGUMENT: Element type C128 is not supported on TPU.
import jax
import jax.numpy as jnp
jax.config.update("jax_enable_x64", True)
arr = jnp.array((1,2,3,4), dtype=jnp.float32)
print(arr.view(jnp.complex64))

It works without jax_enable_x64, when running on CPU/GPU (though presumably by going via complex128), or when called inside JIT-ed code on TPU.
Notebook reproduction (using latest version jax-0.4.35 at the time of filing this issue): https://colab.research.google.com/drive/1IuyyeJQf60Febek2G4SWtqTAdeNAlzQt
System info (python version, jaxlib version, accelerator, etc.)
Running on a v4-8 TPU VM, in a notebook (though it also fails if run outside a notebook, or on a TPUv2, see link above):
jax:    0.4.30
jaxlib: 0.4.30
numpy:  2.0.2
python: 3.9.5 (default, Nov 23 2021, 15:27:38)  [GCC 9.3.0]
jax.devices (4 total, 4 local): [TpuDevice(id=0, process_index=0, coords=(0,0,0), core_on_chip=0) TpuDevice(id=1, process_index=0, coords=(1,0,0), core_on_chip=0) TpuDevice(id=2, process_index=0, coords=(0,1,0), core_on_chip=0) TpuDevice(id=3, process_index=0, coords=(1,1,0), core_on_chip=0)]
process_count: 1
platform: uname_result(system='Linux', node='t1v-n-98008da2-w-0', release='5.13.0-1023-gcp', version='#28~20.04.1-Ubuntu SMP Wed Mar 30 03:51:07 UTC 2022', machine='x86_64')

Hi @houeland,
Thanks for the report.
As per the comment, JAX TPU does not have support for many 64-bit operations and it is suggested using the default jax_enable_x64=False setting, to limit all operations to 32-bit.
When it comes to this issue, the error is coming from the following line:
https://github.com/jax-ml/jax/blob/e124c051f2c6f70b52ca87e10fefe8a5ce9e0d15/jax/_src/numpy/array_methods.py#L542
The error arises because 1j is treated as a complex number with 64-bit precision (C128 type) when jax_enable_x64 is enabled.

Agreed with @rajasekharporeddy – the fix here is to not use jax_enable_x64=True with TPUs.


Update S3 resource image to use Ubuntu as base image

Background
In order to leverage our tools for container image hardening, which expect Ubuntu as the base layer, we need to update our S3 resource image from using Alpine Linux as the base image to using Ubuntu
Implementation

[ ] Update S3 resource image Dockerfile to use ubuntu:18.04 instead of alpine: https://github.com/cloud-gov/s3-resource-simple/blob/main/Dockerfile#L1

Create a PR and merge after approval

[ ] Make sure s3-resource-simple-job succeeds with your changes included: https://ci.fr.cloud.gov/teams/main/pipelines/update-task-image
[ ] Make sure that the S3 resource in the cg-pgp-keys pipeline still works by re-running it: https://ci.fr.cloud.gov/teams/main/pipelines/cg-pgp-keys/resources/pgp-keys-s3-simple

This will confirm that changing the image from alpine to ubuntu didn't break anything

[ ] If manual testing of the image above reveals an issue, then address with PRs to https://github.com/cloud-gov/s3-resource-simple/blob/main/Dockerfile

Pair with @markdboyd to resolve issues as necessary

[ ] Remove these lines from the CI pipeline that builds the S3 resource image:

https://github.com/cloud-gov/cg-deploy-concourse-docker-image/blob/main/pipeline.yml#L50-L53
https://github.com/cloud-gov/cg-deploy-concourse-docker-image/blob/main/pipeline.yml#L118-L121

@pburkholder After discussing with @soutenniza, we thought that using Ubuntu was required since our container hardening tools only work on Ubuntu

The S3 resource image has been updated to Ubuntu 18.04 and the CI pipeline updated.


Stop forking so Upstart can track status of consul

Backgrounding the process makes Upstart sad.
Additionally, we just log to /var/log/upstart/consul.

to fix INFRA-1339 I propose to re-align with latest upstream, that also contains a similar fix to this PR: https://github.com/savagegus/ansible-consul/pull/183/files
will ask Luci now to  fork consul repos to tera github

Yes, that needs to be fixed.  Proceed good sir.

Yes, that needs to be fixed. Proceed good sir.

yeah, so can you (and @vincepii ) plz review and merge  teralytics/ansible-consul#1  👍