ni-measurement-plugin-sdk-generator is missing dependency on ni-measurement-plugin-sdk-service

Bug Report
ni-measurement-plugin-sdk-generator requires ni-measurement-plugin-sdk-service, but its pyproject.toml only lists this package as a dev dependency and not a normal dependency.
Repro or Code Sample
PS D:\dev\measurement-plugin-python\packages\generator> git clean -dfx .
Removing .venv/
Removing __pycache__/
Removing ni_measurement_plugin_sdk_generator/__pycache__/
Removing ni_measurement_plugin_sdk_generator/client/__pycache__/
PS D:\dev\measurement-plugin-python\packages\generator> poetry install --only main
Creating virtualenv ni-measurement-plugin-sdk-generator in D:\dev\measurement-plugin-python\packages\generator\.venv
Installing dependencies from lock file

Package operations: 14 installs, 0 updates, 0 removals

  - Installing colorama (0.4.6)
  - Installing click (8.1.7)
  - Installing markupsafe (2.1.5)
  - Installing mypy-extensions (1.0.0)
  - Installing packaging (24.1)
  - Installing pathspec (0.12.1)
  - Installing platformdirs (4.3.6)
  - Installing tomli (2.0.1)
  - Installing typing-extensions (4.12.2)
  - Installing black (24.8.0)
  - Installing click-option-group (0.5.6)
  - Installing grpcio (1.66.1)
  - Installing mako (1.3.5)
  - Installing protobuf (4.25.5)

Installing the current project: ni_measurement_plugin_sdk_generator (2.1.0-dev0)
PS D:\dev\measurement-plugin-python\packages\generator> poetry run ni-measurement-plugin-client-generator -s ni.examples.GameOfLife_Python

Expected Behavior
It generates a client.
Current Behavior
It emits this error:
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "C:\Users\Administrator\.pyenv\pyenv-win\versions\3.9.13\lib\importlib\__init__.py", line 127, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1030, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1007, in _find_and_load
  File "<frozen importlib._bootstrap>", line 986, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 680, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 850, in exec_module
  File "<frozen importlib._bootstrap>", line 228, in _call_with_frames_removed
  File "D:\dev\measurement-plugin-python\packages\generator\ni_measurement_plugin_sdk_generator\client\__init__.py", line 11, in <module>
    from ni_measurement_plugin_sdk_service._internal.stubs.ni.measurementlink.measurement.v2 import (
ModuleNotFoundError: No module named 'ni_measurement_plugin_sdk_service'

Possible Solution
Add a dependency.
Context
Double-checking dependencies for #914
Your Environment

OS & Device: Windows
ni-measurement-plugin-sdk-service version: #914
MeasurementLink version: 24.8.x
Python version: 3.9

AB#2864535

@bkeryan, as the PR-925 requires the generator to have the ni-measurement-plugin-sdk-service source code changes, I believe the ideal fix will be possible once we do a release/pre-release for ni-measurement-plugin-sdk-service. After that, we should do this fix by adding the release version of ni-measurement-plugin-sdk-service as a dependency for ni-measurement-plugin-sdk-generator before making the release for ni-measurement-plugin-sdk-generator.
cc; @dixonjoel

@bkeryan, as the PR-925 requires the generator to have the ni-measurement-plugin-sdk-service source code changes, I believe the ideal fix will be possible once we do a release/pre-release for ni-measurement-plugin-sdk-service. After that, we should do this fix by adding the release version of ni-measurement-plugin-sdk-service as a dependency for ni-measurement-plugin-sdk-generator before making the release for ni-measurement-plugin-sdk-generator.
cc; @dixonjoel

Can you handle it like the examples?
[tool.poetry.group.dev.dependencies]
...
# Uncomment to use prerelease dependencies.
# ni-measurement-plugin-sdk-service = {path = "../../packages/service", develop = true}

@bkeryan, as the PR-925 requires the generator to have the ni-measurement-plugin-sdk-service source code changes, I believe the ideal fix will be possible once we do a release/pre-release for ni-measurement-plugin-sdk-service. After that, we should do this fix by adding the release version of ni-measurement-plugin-sdk-service as a dependency for ni-measurement-plugin-sdk-generator before making the release for ni-measurement-plugin-sdk-generator.
cc; @dixonjoel

The alternative is to split the DiscoveryClient change into a separate PR, which is also fine.


iss32

Support for #32
Fixes:

#40
#36
#20

@jkeskingvillage the flags are implemented in this branch. You can check if there is no solutions, timeout, or parse error.

[ ] Check test here. Seems to produce plan. 😕
[ ] Double-check that the test is consistent with the text description above it and the test is consistent with the first empty plan situation in the data dump here.

I could not reproduce the empty error.

If this is all okay so far then the bug is outside the NL2Flow code.

[ ] Test in bulk if the empty plans reappear.
[ ] Change the NL2Flow API usage to match what's in the data generator, my hunch is that the NL2Flow API might have drifted and something obsolete got used in the generator.
[ ] Delete this test once we have resolved #34.

I am moving the bulk test item to the issue.


[keycloakx] Replace postgres specific configuration with generic database configuration

Replaces .Values.postgresql with .Values.database.

Thanks for this PR!
It seems that the CI build fails due some missing configuration:
https://github.com/thomasdarimont/helm-charts/runs/5882995208?check_suite_focus=true#step:9:270


Sharing

Hi sri,
you are done excellent work. its very useful for me. but small modification need in your example. you are sharing file to all device.
but  i need to share file by selecting the connected device. can you please help to do this in your example.
thanks!
suresh

Hi sri,
I have following queries.

I expected this app will work like SHAREit. But it's direct opposite. It's creates hotspot from sender side. It would be better, if we create hotspot in reciever side. so, that sender's can choose the receiver for sharing files.
This app uses Download manager to download the file. can't we download file within an Application?

@VkyVignesh thanks for your feedback. Reason for switching the roles is to support sharing to multiple receivers simultaneously. But i agree it would be more secure if sender chooses receiver.
Planning an update soon, will come up with a better architecture in v2.
Writing in-app download manager involves pause,resume stop supports etc which in-turn will be a different library.
Nonetheless I'm working on a custom android download manager library to support pause/resume/order along with speed/progress indicators, i can think of integrating the same into SHAREthem file transfers, but honestly ADM is suffice in SHAREthem context.

Hi Sri,
I am to not able to execute your project on android studio its not working on my device which has oreo its just having the user layout and it crashes once I select send option.... is there any update for it?

Hi Sri,
I wanted to send a pdf file from my phone(Android 7.1.2) to my windows 10 PC. When I tap send and select the file to send it creates a portable hotspot to which I connect my PC. But it doesn't show any IP address in the link which I am supposed to enter in the browser on my PC. It shows the link as "http://:52287" which is not a valid hyperlink. Hence I am not able to receive the file on my PC.
How to fix this?

Hi Sri,
When trying to connect with created hotspot, IP address is obtaining continue for long time and it doesn't work. Any idea how to fix this.
Thanks


[auto-merge] branch-24.04 to branch-24.06 [skip ci] [bot]

auto-merge triggered by github actions on branch-24.04 to create a PR keeping branch-24.06 up-to-date. If this PR is unable to be merged due to conflicts, it will remain open until manually fix.

FAILURE - Unable to auto-merge. Manual operation is required.
{'message': 'Pull Request is not mergeable', 'documentation_url': 'https://docs.github.com/rest/pulls/pulls#merge-a-pull-request'}

Please use the following steps to fix the merge conflicts manually:
# Assume upstream is NVIDIA/spark-rapids remote
git fetch upstream branch-24.04 branch-24.06
git checkout -b fix-auto-merge-conflict-10704 upstream/branch-24.06
git merge upstream/branch-24.04
# Fix any merge conflicts caused by this merge
git commit -am "Merge branch-24.04 into branch-24.06"
git push <personal fork> fix-auto-merge-conflict-10704
# Open a PR targets NVIDIA/spark-rapids branch-24.06

IMPORTANT: Before merging this PR, be sure to change the merging strategy to Create a merge commit (repo admin only).
Once this PR is merged, the auto-merge PR should automatically be closed since it contains the same commit hashes

I'll fix this merge conflict


Fixed Deserialization of Objects

Let us take a problem code for example
import "reflect-metadata"
import * as TS from "typeserializer"
@TS.Strategy(TS.ExclusionPolicy.ALL)
class User {
	// @TS.Name("as")
	protected uuid: number = 0

	@TS.Expose()
	@TS.Name("username")
	public name: String
	constructor() {
		this.name = "name"
	}

	public get details(): Object {
		return this
	}
}

let user = new User()
let response = {
	username: "vicky"
}
let des = <User>TS.deserialize(JSON.stringify(response), User)

console.log("default", user)
console.log("serialize", TS.serialize(user))
console.log("response", response)
console.log("deserialize", des)
console.log("details", des.details)

The Output for version 2.1 is as follows
default User { uuid: 0, name: 'name' }
serialize {"username":"name"}
response { username: 'vicky' }
deserialize User { uuid: 0, name: 'name', username: 'vicky' }
details User { uuid: 0, name: 'name', username: 'vicky' }

This is not acceptable as we expect the key username to be transformed back to user
The Changes in Version 2.2

keys will be transformed according to decorator while deserializing
all Instance properties must have default values that have decorator property or is needed in transformation

This will result in the following output
default User { uuid: 0, name: 'name' }
serialize {"username":"name"}
response { username: 'vicky' }
deserialize User { uuid: 0, name: 'vicky' }
details User { uuid: 0, name: 'vicky' }

Proposal for Version 2.3

Allow usage of decorators with private and protected members
Merging @Type with @Name and using the syntax @Name('name', type)
This proposals are already implemented in npm package json2typescript

**Note : **

Please Excuse my changes into the test files but it was necessary
This version is not backwards compatible because of its nature
Needs improvement/changes in documentation

Coverage decreased (-0.8%) to 98.72% when pulling 04b0493c154efbe5bf7a1dc9941c0fe531e6686a on rinzler-d-vicky:master into 2a7aea5bddbe6b4d4a6cd35242c7ebb2c9d6b83a on danrevah:master.

Thanks for letting me know about the issues.
I'm going to try to fix this on a different approach.

Fixed in version v0.2.3 -> https://github.com/danrevah/typeserializer/issues/8


Can't get the AppInboxButton to open the inbox

Hi, I'm having issues getting the inbox to open, adding <AppInboxButton           style={{             width: '60%',             height: 60,           }}         /> to the page I can see the button shown but there seems to be no function attached to it as pressing the button has no affect.
Can you please tell me what function it should use or that I can trigger from a custom button if needs be?
Note: If I  run:
Exponea.fetchAppInbox()
  .then(list => {
    list.forEach(message => console.log(message))
  })
  .catch(error => console.log(error.message))

I can see that my user does have some messages in the inbox and that the SDK is initialised, I just can’t figure out how to get the standard inbox to open.
Thanks.

Hi @StuartPyper thank you for reporting. We tested our Example application and AppInbox is showing correctly.
Which platform is not working? Android or iOS or both?
Did you import AppInboxButton from 'react-native-exponea-sdk/lib/AppInboxButton'; on your screen? I think yes, but I need to ask to eliminate this step.
Do you see any related error logs in console?
Button is working by same (or very similar) principle on both platforms. By clicking on it, Android will open a new Activity; iOS will open a new ViewController; both screens are added into "stack". Maybe there is an issue but logs should provide some error logs for this.
Thank you

I am working on both platforms but the latest test was on iOS.
The import is indeed: import AppInboxButton from 'react-native-exponea-sdk/lib/AppInboxButton';
I see no errors, I have found that I if I press the button very quickly after app refresh then it works once but then it's as if the button disables itself for some reason then no longer functions. As mentioned, even after this happens I can still fire Exponea.fetchAppInbox() and see the inbox content but the AppInboxButton doesn't function. I'm finding it very hard to debug.

Hi @StuartPyper thank you for answer.
I'm thinking of case that ReactNative is removing onClick listener from button. It is theory, but stay with me please.
If you put AppInboxButton into screen, SDK will produce native button view and "returns" it to ReactNative view management. ReactNative could update styling, sizes, etc. according to your theming. These changes are reflected also into native view. Could you see any possibility of setting of disabled/enabled state of button from your app or layout management? Or any click listener assignment?
This could explain also your 'works once but then it's as if the button disables itself' description.
SDK produce native button but there is no 'disable/enable' feature implemented.

No, I know of nothing inside our app that would listen to and or disable any buttons for any reason, that sort of logic we would do directly on each clickable element.
"SDK produce native button but there is no 'disable/enable' feature implemented."
When using Exponea.setAppInboxProvider I can see the option to enabled/disable via ButtonStyle (AppInboxStyle>ButtonStyle>enabled?), is there no chance that this is being modified for some reason after everything is fully loaded?

Hi @StuartPyper
Sorry for misunderstand of mine "SDK produce native button but there is no 'disable/enable' feature implemented." -> I meant that there is no SDK internal logic that will disable button for any reason (such as empty app inbox or so).
I'm not aware of "being modified after everything is fully loaded" case.
Yes, there is such a style option, but I believe that you are not using it. This is handled as optional boolean so if it is not written it is not applied to button.
Could you please ask support channel for help? My goal here is to provide some logs, if there is some info about it.
Thank you

Hi guys @StuartPyper and @a-change . I was able to simulate issue. Most important thing here is 'when' is app inbox provider set to SDK.
If you set provider Exponea.setAppInboxProvider({}) after button is shown, click events are "ignored". Problem for iOS platform is, that instance of provider is registered as click-handler for that button; so if you replace provider with new one, the old one is thrown away so it is not handling button click anymore.
Fix for this is to set provider before SDK init or (mainly) before button is placed into UI. Or if you put button into UI and you set provider later, please "recreate" button.
We need to bring fix for that situation into native iOS SDK, only then to RN SDK. I hope that you'll be able to implement hot-fix I wrote.
Thank you for patience.


Crash With Latest Forge (2387)

crash-2017-07-02_15.04.58-client.txt

You're on a pretty old version. Update to 1.2.1 build22 which you can find here

oh, sorry. dunno why i didn't update it, i everytime follow latest updates of mods.


Flatten Single-Property objects

In management plane its common to have objects with a single property. Sometimes we even have objects with a single property which happens to also be an object with a single property. Flattening these models introduces a lot of complexity around serializing back into exactly what the service expects. What we are planning to do in mgmt plane dotnet is to present these as wrapped properties and make the original internal which bypasses all the serialization complexity.
For a class defined as
public class MyObject
{
    public string Id {get; set;}
}

With a model that uses it like this
public MyObject MyObject {get; set;}

It will become
internal MyObject MyObject {get; set;}
public string MyObjectId
{
    get => MyObject.Id;
    set => MyObject.Id = value;
}

if someone adds a second property to MyObject we want to swap the internal back to public and then add browsable never to the wrapper property to maintain backwards compatibility. But we need to know that it was generated that way in the past

Close since this is resolved by https://github.com/Azure/autorest.csharp/pull/1992


Localization

There is 2 missing labels in localization on the arrows to change the year.
It always stay with "Scroll to increment".

https://github.com/chmln/flatpickr/blob/gh-pages/src/flatpickr.js#L1146

Oki thank ;)


Roll Flutter Engine from 6534fbf3c2c1 to cf4472971513 (1 revision)

https://github.com/flutter/engine/compare/6534fbf3c2c1...cf4472971513
2024-07-10<EMAIL_ADDRESS>Roll Dart SDK from c6053ad84f2b to fb546f313557 (1 revision) (flutter/engine#53801)
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC bdero@google.com,rmistry<EMAIL_ADDRESS>on the revert to ensure that a human
is aware of the problem.
To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose
To report a problem with the AutoRoller itself, please file a bug:
https://issues.skia.org/issues/new?component=1389291&template=1850622
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md

Commit queue failed; closing this roll.


Add support for multiple comment formats

Took me a while to figure out why this wasn't working with my PHP files, but I realized it's because PHP wasn't being recognized as using "HTML-style" comments. I rectified it by using the commentStart and commentEnd parameters, but then I got thinking.
What if I needed to remove blocks of HTML code in one part of a PHP file, and PHP code in another part? I suppose I could wrap the HTML parts in <?php /*removeIf(condition)*/ ?> ... <?php /*endRemoveIf(condition)*/ ?>, but then I'd be stuck with an empty <?php ?>, which isn't ideal.
Additionally, what if I want to search multiple file types for the same condition? For example, remove all PHP, HTML, JS, and CSS for a module. I'd have to duplicate a lot of code in my task, saying "check this format, and then this format, and then this one," which again, isn't ideal.
I'd really like to see an option to set commentStart and commentEnd as arrays, something like the following:
gulp.task("init", function () {
    return gulp.src(src + "/**/*")
        // remove login HTML code if --remove --login is passed
        .pipe(gulpif(argv.remove && argv.login, removeCode({no_login: true, commentStart: ["<!--", "/*", "//"], commentEnd: ["-->", "*/", ""]})))
        // return to the source directory
        .pipe(gulp.dest(src));
});

That way you could parse multiple file types at once.

@crissdev any chance you could implement this? I've found a workaround, but I have to add multiple calls to the module with differing names, which seems very inefficient.
.pipe(plugins.remove_code({login_html: plugins.argv.remove && plugins.argv.remove.includes("login") ? true : false, commentStart: "<!--", commentEnd: "-->"}))
.pipe(plugins.remove_code({login_php: plugins.argv.remove && plugins.argv.remove.includes("login") ? true : false, commentStart: "/*", commentEnd: "*/"}))
.pipe(plugins.remove_code({login_css: plugins.argv.remove && plugins.argv.remove.includes("login") ? true : false, commentStart: "/*", commentEnd: "*/"}))


Review ID Types

Should this be Queensland ID Types?
General review please.

Should this be Queensland ID Types?
Maybe Party Identifier Type?

Major revision
Now includes. Valid identification for companies and businesses
Personal ID for registering via QGOV
Personal ID for registering for MyMinesOnline (allows future integration).
Additional collection to distinguish which ID type belongs to which registration system

@DavidCrosswellGSQ
Is the vocabulary intended to be an actual Party Identifier Type list, or is it really a business registration number type list? If its the latter in actuality I can strip this vocab back to bare bones.


[1.12] Bump Mesos to nightly 1.7.x 33c3d49

High-level description
This is a routine bump to the latest Mesos and mesos-modules.
Related JIRA Issues
Checklist for all PRs

[ ] Included a test which will fail if code is reverted but test is not. If there is no test please explain here:
[x] Read the DC/OS contributing guidelines
[x] Followed relevant code rules Rules for Packages and Systemd

Checklist for component/package updates:
If you are changing components or packages in DC/OS (e.g. you are bumping the sha or ref of anything underneath packages), then in addition to the above please also include:

[x] Changelog:
https://github.com/apache/mesos/compare/4f21147a9334ef9ed84dcf11742ce448062f3ec1...33c3d49db5a57a500fd2fee0ca81945d350ab80f
https://github.com/dcos/dcos-mesos-modules/compare/85a3ee2e4ac2b180b13690ea98fd87a8ef473697...35d3b464be910867ccb308fb57bd981747ed8568

[ ] Test Results: [link to CI job test results for component]

[ ] Code Coverage (if available): [link to code coverage report]

@mesosphere-mergebot bump-ee


1.12.0-rc2 cherry-pick request: Declare that stateless random ops are not differentiable in C++ code.

PiperOrigin-RevId: 215935319

Thanks Todd!


bugfix: add a func test for skip scan

Currently this test shall fail on Mongo because
the current code is unable to fetch the 5
common prefixes in one listing call.
This will be fixed by the next Arsenal PR.

Hello vrancurel,
My role is to assist you with the merge of this
pull request. Please type @bert-e help to get
information on this process.
Status report is not available.

Waiting for approval
The following approvals are needed before I can proceed with the merge:

2 peers

@bert-e wait

In the queue
The changeset has received all authorizations and has been added to the
relevant queue(s). The queue(s) will be merged in the target development
branch(es) as soon as builds have passed.
The changeset will be merged in:

:heavy_check_mark: development/8.0

The following branches will NOT be impacted:

development/6.4
development/7.4

There is no action required on your side. You will be notified here once
the changeset has been merged. In the unlikely event that the changeset
fails permanently on the queue, a member of Release Engineering will
contact you to help resolve the matter.
IMPORTANT
Please do not attempt to modify this pull request.

Any commit you add on the source branch will trigger a new cycle after the
current queue is merged.
Any commit you add on one of the integration branches will be lost.

If you need this pull request to be removed from the queue, please contact a
member of Release Engineering now.

I have successfully merged the changeset of this pull request
into targetted development branches:

:heavy_check_mark: development/8.0

The following branches have NOT changed:

development/6.4
development/7.4

Please check the status of the associated issue ZENKO-579.
Goodbye vrancurel.


M3-572 -  Add NS record E2E Spec

Adds api utils for getting and removing domains
Added test for adding a ns record
Expanded the domain detail page object
added domain records data-qa data attributes

Coverage remained the same at 28.78% when pulling 094832b7611141e542415b4b92dfb54dff0d1823 on patthiel:M3-572 into 63377eb3e70fac76897e4e3882730f38126af5ab on linode:develop.

yarn e2e -d domains
yarn run v1.7.0
$ ./node_modules/.bin/wdio ./e2e/config/wdio.conf.js -d domains

․․․․․․․․․․․

11 passing (49.10s)

✨  Done in 49.61s.


[LLVM] Fix compilation failure due to minor change

This is just a minor fix where the recent PR #16425 seems to have missed this change for LLVM 18 and above case, and so we're running into a compilaion failure.

cc @lhutton1 @cbalint13

@quic-sanirudh , @lhutton1

cc @lhutton1 @cbalint13

I also missed this, I only focused thoroughly on codegen_llvm.cc
https://github.com/apache/tvm/pull/16808#discussion_r1542638093
But never mind, LLVM 19 is on the horizon for even newer fixes (joking of course).

@tvm-bot rerun


update tachyon version

Spark 1.2.1 now is built against Tachyon0.5.0, but the old spark-ec2 defaults to Tachyon0.4.1.
This PR is a temporary fix to update Tachyon version in spark-ec2 to 0.5.0, so spark1.2.1 users can deploy to EC2 without problem.
Also, hadoop version is taken into account.
A further PR will be made to make Tachyon version configurable after the PR(https://github.com/apache/spark/pull/4901) is accepted.

Is Spark 1.3 also built against Tachyon 0.5 ? Note that for Spark 1.2 you need to open a PR against branch v4 -- See https://cwiki.apache.org/confluence/display/SPARK/spark-ec2+AMI+list+and+install+file+version+mappings for the complete mapping

Yes. Spark 1.3 is built against Tachyon 0.5.0.

@shivaram yes, both v3(spark 1.0 ~ 1.1) and v4 needs to be updated.

LGTM. Merging this - Could you open a new PR against v4 ?


CAIP-10 Link Doctype

cip: 7
title: CAIP-10 Link Doctype
author: Joel Thorstensson (@oed), Michael Sena (@michaelsena)
status: Draft
category: Standards
type: RFC
created: 2020-07-24
requires: Doctypes (CIP-5)

Simple Summary
This CIP describes the caip10-link doctype which is used to create a public link between a blockchain account (formatted as a CAIP-10 accountId) and a DID. This enables the owner of an account to associate it with a DID.
Abstract
The caip10-link doctype enables the linking of a blockchain account to a DID. Blockchain accounts are represented using CAIP-10 accountIds, which is a cross-chain standard for referencing blockchain accounts. The doctype allows anyone with knowledge of a particular CAIP-10 accountId to look up which DID it is associated with using the Ceramic network. To make such a lookup, anyone can simply recreate the genesis record, which only contains the CAIP-10 accountId as unique data, to get the docId of the particular document and then look it up in the network.
Motivation
While it's always possible to associate a blockchain account with some external identifier (such as a DID) by submitting a transaction on-chain, doing so can be expensive due to transaction costs and likely needs to be done in a single registry so lookups can occur. Ceramic provides a better infrastructure for making these public associations.
In many cases, blockchain accounts are just simple cryptographic key pairs and can create an association with a DID only using a signature. The caip10-link doctype provides this with the addition of strict ordering, which allows an account to be securely relinked to a different DID at a later point in time.
For smart contract based accounts, the association can happen in different ways depending on the implementation of the contract. At times this can happen on-chain or off-chain. A particular example is ERC1271 which is a standard for contract based "signatures". caip10-link can be extended to support any number of these use cases.
Specification
Below the record formats and state transitions of the caip10-link doctype are specified. Together they should include all information needed to implement this doctype in Ceramic.
Record formats
The genesis record is stored in IPLD using the dag-cbor codec. It has the following required properties:

doctype - MUST equal caip10-link
owners - a blockchain account encoded as CAIP-10

No other properties are allowed to be defined.
Signed records of a caip10-link document are also encoded using dag-cbor. Other than that they conform to the standard record format. The content of the data property should be a proof as returned by the 3id-blockchain-utils library. This library has a general structure for creating and verifying "link proofs" for any blockchain.
Note that because the signature in included in the proof object, the rest of the signed record is not authenticated. This could pose a potential problem, but can be mitigated if the proof timestamp is verified as described below.
State transitions
Below the state transition logic for the three different supported records is described.
Applying the Genesis Record
When the genesis record is applied a DocState object is created that looks like this:
{
  doctype: 'caip10-link',
  metadata: {
    owners: genesisRecord.owners
  },
  content: null,
  signature: SignatureStatus.GENESIS,
  anchorStatus: AnchorStatus.NOT_REQUESTED,
  log: [new CID(genesisRecord)]
}

In addition to this, the following should be verified:

owners is a CAIP-10 AccountId

Applying a Signed Record
When a signed record is applied the DocState object should be modified in the following way:
state.next = {
  content: verifiedProof.DID
}
state.signature = SignatureStatus.SIGNED
state.anchorStatus = AnchorStatus.NOT_REQUESTED
state.log.push(new CID(signedRecord))

Where verifiedProof.DID is the DID contained in the proof object from signedRecord.data. In addition it needs to be verified that this proof was signed by the CAIP-10 accountId that is represented in owners. If the variable state.anchorProof is present the implementation MUST also verify that proof.timestamp is larger than state.anchorProof.blockTimestamp.
For an example of how this verification can take place have a look in the 3id-blockchain-utils library.
Applying an Anchor Record
When an anchor record is applied the DocState object should be modified in the following way:
state.anchorStatus = AnchorStatus.ANCHORED
state.anchorProof = anchorRecord.proof
state.content = state.next.content
state.metadata = Object.assign(state.metadata, state.next.metadata)
delete state.next
state.log.push(new CID(anchorRecord))

No additional validation needs to happen at this point in the state transition function.
Rationale
The caip10-link allows blockchain accounts to be linked to DIDs by signing a simple message. The signature is only over this message itself and not the entire signed record. This provides less strong security guarantees and instead opts for user experience, since the user will be able to read the message and have a better understanding of what is going on. The use of CAIP-10 future proofs this doctype by allowing any blockchain account to be linked to a DID by extending the implementation of the doctype with additional verification methods.
Implementation
A reference implementation of the caip10-link doctype is provided in js-ceramic. (see the doctype-caip10-link package).
Security Considerations
Since the entire payload of the signed record is not included in the payload of the signature used for this doctype, care needs to be taken so that the document can not be attacked by a replay attack. For example, lets imagine that account 0xabc123@eip155:1 is first linked to did:3:A, then after that is updated to link to did:3:B. A malicious attacker could now take the proof from the first linkage and update the document with a new signed record which points to the latest update but contains the first proof link object. The account would now be linked to did:3:A once again which is not desirable.
To circumvent this, each proof contains a timestamp which is the unix timestamp of when the message was signed. If we simply verify that this timestamp is larger than the timestamp of the most recent anchor record we can be sure that this is not a reply attack. Further attacks could possibly include modification of the refs property, but this could in the worst case just make syncing of the document slower.
Copyright
Copyright and related rights waived via CC0.

Just cleaned up some typos, but looks good. It's a bit dense to comprehend and requires some knowledge of Ceramic to really grok how it works and what the security considerations are, but overall 👍

Thanks for making the edits. I think it's fine that it requires some knowledge of Ceramic here.


Print errors handling Prometheus disk and snapshot

Currently some error messages are silently ignored.
/cc wojtek-t

/lgtm
/approve

/retest


[SVE] TCCM 1-1 YAML is wrong.  Doesn't match the spec or TP.  Causes false TC failures.

The YAML for TCCM 1-1 expects attributes OnMode and StartupMode to be always present.
These are provisional, and explicitly disallowed by the target device type.  The TP has them PICS guarded, the YAML doesn't reflect that.
This has been seen in SVE, with a manual workaround in place.

See #29467


Capture output from metadata emulator during tests

PTAL

As far as I can tell, yes. I did try to make sure I was getting both outputs in both cases: an early exit due to an error and a process kill when disposing the fixture. In the latter case I wasn't getting standard output, so that's why I added the flush call in the python file. If you think there's anything else I should test for, let me know.

Nope, that's fine - merge away :)


Add support for sendig a circular e-mail to all users

Suggested by Richard.

Suggest getting AutoPerry to do it, so an admin-only page into which you could type or cut-and-past a message. It would be easy enough to arrange for it to target helpers (actually ‘people who have helped’) and/or organisers (actually ‘people who have organised events’) and/or everyone else. You’d be limited to plain-text message, no attachments, etc. because I don’t really want to have to build a full email client into AutoPerry.
The alternative would be to support export of addresses into your email program or a mailing list somewhere. This would be more flexible, but prone to getting out of date and increases the risk of leaking email addresses.

Add extra email preference so that users can, for example, suppress these messages while still getting event notifications.

Has to be pre-launch because of extra email preference - easier to capture from the start


First contribution

Checklist

[x] I ran npm test locally and it passed without errors.

[ ] I only edited the _data/pixels.json file.

[x] I entered the username in the pixels.json that I'm also using to create this pull request.
[ ] I acknowledge that all my contributions will be made under the project's license.

I did this command npm audit fix --force


HBASE-25047 WAL split edits number is negative in RegionServerUI

:confetti_ball: +1 overall

Vote
Subsystem
Runtime
Comment

+0 :ok:
reexec
3m  5s
Docker mode activated.

Mind explaining a bit what is  the problem here?

Mind explaining a bit what is the problem here?

The two continue in for-loop  miss incrementing  the editCount, which makes the negative count happen.

Why missing incrementing could lead to negative count?

Why missing incrementing could lead to negative count? How do we calculate the number on web UI?

The wrong info is from the following:
          String countsStr = (editsCount - (editsSkipped + outputSink.getTotalSkippedEdits()))               + " edits, skipped " + editsSkipped + " edits.";
Here is my understanding, correct me if I am wrong:
The editsCount is the count of  all edits, editsSkipped is the count of skipped edits before sinking,  outputSink.getTotalSkippedEdits() is the skipped edits when sinking. So the later two: editsSkipped and outputSink.getTotalSkippedEdits()  are parts of editsCount.But in our current repo, we will miss incrementing editsCount when skipping  edits condition fits , as we continue and run the next loop and the increment is not executed yet.

_ Patch Compile Tests _

+1 :green_heart:
mvninstall
6m 16s
the patch passed

+1 :green_heart:
compile
1m 37s
the patch passed

+1 :green_heart:
javac
1m 37s
the patch passed

+1 :green_heart:
shadedjars
9m 14s
patch has no errors when building our shaded downstream artifacts.

-0 :warning:
javadoc
0m 53s
hbase-server in the patch failed.

_ Other Tests _

-1 :x:
unit
212m 44s
hbase-server in the patch failed.

253m 19s

Subsystem
Report/Notes

Docker
Client=19.03.12 Server=19.03.12 base: https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-2408/1/artifact/yetus-jdk11-hadoop3-check/output/Dockerfile

GITHUB PR
https://github.com/apache/hbase/pull/2408

Optional Tests
javac javadoc unit shadedjars compile

uname
Linux 0293133b98bf 4.15.0-112-generic #113-Ubuntu SMP Thu Jul 9 23:41:39 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/hbase-personality.sh

git revision
master / a918bf0d7b

Default Java
2020-01-14

javadoc
https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-2408/1/artifact/yetus-jdk11-hadoop3-check/output/branch-javadoc-hbase-server.txt

javadoc
https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-2408/1/artifact/yetus-jdk11-hadoop3-check/output/patch-javadoc-hbase-server.txt

unit
https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-2408/1/artifact/yetus-jdk11-hadoop3-check/output/patch-unit-hbase-server.txt

Test Results
https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-2408/1/testReport/

Max. process+thread count
3358 (vs. ulimit of 12500)

modules
C: hbase-server U: hbase-server

Console output
https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-2408/1/console

versions
git=2.17.1 maven=(cecedd343002696d0abb50b32b541b8a6ba2883f)

Powered by
Apache Yetus 0.11.1 https://yetus.apache.org

This message was automatically generated.


Error 1050: Table 'migration_version' already exists

I'm running Drone in a Docker container and I've got it linked to a MySQL container. If I try to re-run the image, I get the following error and the container stops:
2015-06-13T19:49:44.903647213Z panic: Could not get DB version: Error 1050: Table 'migration_version' already exists
2015-06-13T19:49:44.903647213Z
2015-06-13T19:49:44.903647213Z goroutine 16 [running]:
2015-06-13T19:49:44.903647213Z runtime.panic(0xaac3c0, 0xc208170440)
2015-06-13T19:49:44.903647213Z 	/usr/local/go/src/pkg/runtime/panic.c:279 +0xf5
2015-06-13T19:49:44.903647213Z github.com/drone/drone/server/datastore/database.MustConnect(0xc208135fd8, 0x5, 0xc208161520, 0x1e, 0x0)
2015-06-13T19:49:44.903647213Z 	/var/cache/drone/src/github.com/drone/drone/server/datastore/database/database.go:52 +0x8a
2015-06-13T19:49:44.903647213Z main.main()
2015-06-13T19:49:44.903647213Z 	/var/cache/drone/src/github.com/drone/drone/server/main.go:104 +0x274
2015-06-13T19:49:44.903647213Z
2015-06-13T19:49:44.903647213Z goroutine 19 [finalizer wait]:
2015-06-13T19:49:44.903647213Z runtime.park(0x4a8630, 0x11bcf58, 0x11a79a9)
2015-06-13T19:49:44.903647213Z 	/usr/local/go/src/pkg/runtime/proc.c:1369 +0x89
2015-06-13T19:49:44.903647213Z runtime.parkunlock(0x11bcf58, 0x11a79a9)
2015-06-13T19:49:44.903647213Z 	/usr/local/go/src/pkg/runtime/proc.c:1385 +0x3b
2015-06-13T19:49:44.903647213Z runfinq()
2015-06-13T19:49:44.903647213Z 	/usr/local/go/src/pkg/runtime/mgc0.c:2644 +0xcf
2015-06-13T19:49:44.903647213Z runtime.goexit()
2015-06-13T19:49:44.903647213Z 	/usr/local/go/src/pkg/runtime/proc.c:1445
2015-06-13T19:49:44.903647213Z
2015-06-13T19:49:44.903647213Z goroutine 22 [syscall]:
2015-06-13T19:49:44.903647213Z os/signal.loop()
2015-06-13T19:49:44.903647213Z 	/usr/local/go/src/pkg/os/signal/signal_unix.go:21 +0x1e
2015-06-13T19:49:44.903647213Z created by os/signal.init·1
2015-06-13T19:49:44.903647213Z 	/usr/local/go/src/pkg/os/signal/signal_unix.go:27 +0x32
2015-06-13T19:49:44.903647213Z
2015-06-13T19:49:44.903647213Z goroutine 24 [chan receive]:
2015-06-13T19:49:44.903647213Z database/sql.(*DB).connectionOpener(0xc208050600)
2015-06-13T19:49:44.903647213Z 	/usr/local/go/src/pkg/database/sql/sql.go:583 +0x48
2015-06-13T19:49:44.903647213Z created by database/sql.Open
2015-06-13T19:49:44.903647213Z 	/usr/local/go/src/pkg/database/sql/sql.go:442 +0x27c
2015-06-13T19:49:44.903647213Z
2015-06-13T19:49:44.903647213Z goroutine 17 [syscall]:
2015-06-13T19:49:44.903647213Z runtime.goexit()
2015-06-13T19:49:44.903647213Z 	/usr/local/go/src/pkg/runtime/proc.c:1445

This might be more of an issue with the migration library not being able to handle this case, but it's the last issue I'm having with what is otherwise an awesome CI setup. Thank you.

@ianwalter the migration library will attempt to run the following query: SELECT version FROM migration_version. If that query fails or returns zero results it will attempt to create the migration table. If the migration table exists there should always be at least one entry (with migration number 0) in the table.
You can see the logic here:
https://github.com/drone/drone/blob/master/server/datastore/migrate/version.go#L10
I'm wondering what would cause this query to fail. Did you do any manual database manipulation at some point? For example, deleting rows from the migration table in an attempt to start fresh?

I haven't done any manual database manipulation other than dropping the entire database and recreating it so that I could get Drone to work again (after running into this issue). Could it be that this issue is coming from setVersion instead of getVersion? Maybe the error is from trying to run the update query?

What is the state of the database? can you see any of the other tables (ie repos, users, etc)? Does the migration table exist? If yes, what version number was inserted?
Unfortunately I'm unable to repeat the issue, so we'll need to troubleshoot from your machine

mysql> show tables;
+-------------------+
| Tables_in_drone   |
+-------------------+
| blobs             |
| commits           |
| migration_version |
| perms             |
| repos             |
| users             |
+-------------------+

mysql> select * from migration_version;
+---------+
| version |
+---------+
|       3 |
+---------+

I'll try to reproduce in a local environment so that I can debug it. Thanks.

Thanks, I really appreciate you digging deeper into this. Let me know if you can reproduce locally

closing since I haven't heard anything. I also switched migration engine from burntshshi/migration to rubenv/sql-migrate which hopefully resolves any lingering issues as well. If we find an issue with sql-migrate we can re-open


Should clerkMiddleware be fed async function and use auth.protect() instead of auth().protect()?

I am having issues reproducing the route protection step.
With https://github.com/WebDevSimplified/parity-deals-clone/blob/3661f28d75205d3db84d4b86c82ae535acd11272/src/middleware.ts#L12
I am getting TypeError: auth(...).protect is not a function.
And with auth.protect() instead I get
 ⨯ unhandledRejection: Error: NEXT_REDIRECT
    at nextjsRedirectError (webpack-internal:///(middleware)/./node_modules/@clerk/nextjs/dist/esm/server/nextErrors.js:30:17)
    at redirectToSignInError (webpack-internal:///(middleware)/./node_modules/@clerk/nextjs/dist/esm/server/nextErrors.js:37:3)
    at eval (webpack-internal:///(middleware)/./node_modules/@clerk/nextjs/dist/esm/server/clerkMiddleware.js:144:72)
    at handleUnauthenticated (webpack-internal:///(middleware)/./node_modules/@clerk/nextjs/dist/esm/server/protect.js:24:16)
    at eval (webpack-internal:///(middleware)/./node_modules/@clerk/nextjs/dist/esm/server/protect.js:35:14)
    at Function.eval [as protect] (webpack-internal:///(middleware)/./node_modules/@clerk/nextjs/dist/esm/server/clerkMiddleware.js:153:145)
    at eval (webpack-internal:///(middleware)/./src/middleware.tsx:17:14)
    at eval (webpack-internal:///(middleware)/./node_modules/@clerk/nextjs/dist/esm/server/clerkMiddleware.js:99:50)
    at AsyncLocalStorage.run (node:internal/async_local_storage/async_hooks:91:14)
    at eval (webpack-internal:///(middleware)/./node_modules/@clerk/nextjs/dist/esm/server/clerkMiddleware.js:97:75) {
  digest: 'NEXT_REDIRECT;replace;http://localhost:3000/dashboard;307;',
  clerk_digest: 'CLERK_PROTECT_REDIRECT_TO_SIGN_IN',
  returnBackUrl: 'http://localhost:3000/dashboard'

Looked up the Clerk doc at https://clerk.com/docs/references/nextjs/clerk-middleware and it seems they recommend:

auth.protect()
AND feed clerkMiddleware an asyn function

From https://clerk.com/docs/references/nextjs/clerk-middleware:
import { clerkMiddleware, createRouteMatcher } from '@clerk/nextjs/server'

const isProtectedRoute = createRouteMatcher(['/dashboard(.*)', '/forum(.*)'])

export default clerkMiddleware(async (auth, req) => {
  if (isProtectedRoute(req)) await auth.protect()
})

export const config = {
  matcher: [
    // Skip Next.js internals and all static files, unless found in search params
    '/((?!_next|[^?]*\\.(?:html?|css|js(?!on)|jpe?g|webp|png|gif|svg|ttf|woff2?|ico|csv|docx?|xlsx?|zip|webmanifest)).*)',
    // Always run for API routes
    '/(api|trpc)(.*)',
  ],
}

or maybe the current code is fine ifauth is also imported from @clerk/nextjs/server ?

Aync function needs to fed and auth.protect() should be used in place of auth().protect()

Async function needs to fed and auth.protect() should be used in place of auth().protect()

await auth.protect();


Keep focus on last pressed column header through loading state

Closes https://github.com/adobe/react-spectrum/issues/4219
✅ Pull Request Checklist:

[ ] Included link to corresponding React Spectrum GitHub Issue.
[ ] Added/updated unit tests and storybook for this change (for new code or code which already has tests).
[ ] Filled out test instructions.
[ ] Updated documentation (if it already exists for this component).
[ ] Looked at the Accessibility Practices for this feature - Aria Practices

📝 Test Instructions:

Was unable to write a test in jest as I think jest doesn't mimic the browser focus behavior.
Created story in TableView > column header focus after loading.
Steps:

Turn on NerdeFocus in dev console
Click the Height column to sort and observe focus goes to header
Table state will change to loading and focus should stay on column header
Table finishes loading and focus still on column header
Press enter on the (focused) column header again and note the tableview goes into a loading state
After the table finishes loading, observe the focus ring is around the empty tableview body

🧢 Your Project:

Adobe/Quarry

I'm now able to focus the header when the table is empty
https://reactspectrum.blob.core.windows.net/reactspectrum/3c9213264ff074875c394b1284f3edb4ea7c9443/storybook/index.html?path=/story/tableview--empty-state-story&providerSwitcher-express=false

show the items by pressing toggle items
keyboard navigate to the column header for the first column
shift tab to toggle items and press it
tab back to empty table

I expect the tab back to the empty table to go directly to the link in the empty view, but instead it's going through the column header

Note https://github.com/adobe/react-spectrum/pull/4249/commits/a1180b98e424754ddacfc2f396d4429c892af3eb was introduced because if you check the build just before and keyboard navigate the entire flow instead of using the mouse, the focus ring around the entire collection gets clipped.
Build with focus ring clipping: https://github.com/adobe/react-spectrum/pull/4249#issuecomment-1685407839


C++ compilation gets an error when you run it for Japanese version of Microsoft Visual Studio 2019

Expected Behavior
It should compile a source code.
Current Behavior
Any try of compilation gets the following error.
/*
FAILURE: Build failed with an exception.

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

com.google.gson.stream.MalformedJsonException: Invalid escape sequence at line 16 column 39 path $[0].description

Try:
Run with --info or --debug option to get more log output. Run with --scan to get full insights.

Exception is:
... (omitted) ...
Caused by: com.google.gson.stream.MalformedJsonException: Invalid escape sequence at line 16 column 39 path $[0].description
at com.google.gson.stream.JsonReader.syntaxError(JsonReader.java:1568)
at com.google.gson.stream.JsonReader.readEscapeCharacter(JsonReader.java:1559)
at com.google.gson.stream.JsonReader.skipQuotedValue(JsonReader.java:1109)
at com.google.gson.stream.JsonReader.skipValue(JsonReader.java:1252)
at org.gradle.nativeplatform.toolchain.internal.msvcpp.version.CommandLineToolVersionLocator.readInstall(CommandLineToolVersionLocator.java:129)
at org.gradle.nativeplatform.toolchain.internal.msvcpp.version.CommandLineToolVersionLocator.parseJson(CommandLineToolVersionLocator.java:100)
... 147 more
*/

Context

Steps to Reproduce
"gradle tasks" command with build.gradle below:
plugins {id 'cpp-application'}
version = '1.2.1'
application {
}
Your Environment
Microsoft Visual Studio 2019 Japanese version
Windows 10 Home edition Japanese version
Fix up
If you apply the following change, it works perfectly.
org.gradle.nativeplatform.toolchain.internal.msvcpp.version.CommandLineToolVersionLocator(Line: 58)
before: List args = Lists.newArrayList("-all", "-legacy", "-format", "json");
after: List args = Lists.newArrayList("-all", "-legacy", "-format", "json", "-utf8");
It seems the default output character code of Microsoft Visual Studio/Installer/vswhere.exe is MS932(Shift_JIS) rather than UTF-8 unless "-utf8" is specified.

Thanks for this great issue. Usually, native issues are handled on https://github.com/gradle/gradle-native. I'm sure someone from the Gradle team can move the issue. I will consider this as part of the Nokee plugins.


Adding force flag for recursive acls

ForceFlag will be exposed by setting it in the AccessControlChangeOptions, and passing the options to the methods
(I also regenerated off the current version of swagger)

https://dev.azure.com/azure-sdk/public/_build/results?buildId=437979&view=logs&j=b70e5e73-bbb6-5567-0939-8415943fadb9&t=e75da802-0139-5977-bd1e-91175bec9059&l=485
I think CI wanted one of the scripts run.

Re-running the failed CI step, we have a couple flaky tests.


setup mocha configuration

My First Pull Request to workshop-api-testing-js
Have a nice day :D

Remember to delete the branch, I see that you already created a PR with a new branch


added black

Description
Adding black.

I like this, but it got a little stale, #980 should cover it


In-app multi-account management final wiring

Overview
Wire up all of the components and functionality so users can manage their accounts in the app after they have connect their wallet to the app.
References and additional details
https://www.figma.com/proto/VEKmwSuhnZVghkUl0VSvN2/Ledger-UX?type=design&node-id=612-980&t=rnvOVFBzSPwg5Pjq-1&scaling=scale-down&page-id=75%3A3202&starting-point-node-id=612%3A980&mode=design
Acceptance Criteria
Only multi-account wallets can enter this flow (i.e not metamask).
Needs to work on all multi-account wallets - test on all of them.
Excludes walletconnect.
Need By Date
No response
Screenshots/Mockups
No response
Estimated effort
No response

Additional observations regarding MM snaps
https://github.com/shapeshift/web/pull/6733#pullrequestreview-2019893668

@woodenfurniture authored as a separate issue in https://github.com/shapeshift/web/issues/6991 so we don't forget this guy: #6733 (review)

Same issue as above for EVM chains, although in this case it's an actual bug, since MM with snaps should have accounts management - we're using MM native functions vs. the snaps entropy derivation, meaning we also don't have access to accounts > 0. We should probably disable EVM chains for MM with snaps (in addition to disabling the whole Manage Accounts flow altogether for MM without snaps)

Looks like this issue can now be closed as it's done in the board?


Convert README.md to README.rst

It will if you use the more verbose syntax:
Look at this code:

.. code-block:: python

    def foo():
        return "bar"


how to dismiss all open modals?

I'm submitting a ...
[ ] bug report
[x] feature request
[x] question about the decisions made in the repository

Do you want to request a feature or report a bug?
feature... maybe.

What is the current behavior?
I cannot find a way to close all open modals.

What is the expected behavior?
In ui-bootstrap for AngularJS 1, I was able to dismiss all modals using the dismissAll function on the $uibModalStack service.

What is the motivation / use case for changing the behavior?
When the route changes, I would like to dismiss all open modals.  If I don't do this, the modals will stay open and the route will change behind the modal.

Please tell us about your environment:

angluar2-modal version: 2.0.3
Angular version: 2.3.1
Browser: [ all ]

Other information (e.g. detailed explanation, stacktraces, related issues, suggestions how to fix, links for us to have context, eg. stackoverflow, gitter, etc)
It would be nice to have a service that I can inject that will give me access to all open modals.  It could even have a convenience method for dismissAll.  I see that there is already a DialogRefStack class.  It would be enough to just be able to access an instance of that class using the public API.

Any update on this problem?

Same need here.Close all cascading modal programmatically.

@shlomiassaf
Any updated on this issue? It's been over 5 months. even a workaround we can use for now would be great

implemented, version 4.0.0-beat.3 / 3.0.4
See demo (bootstrap / vex) for implementation


Custom virtual text highlight

How can I customize the colour of the virtual text?

Hi! There’s currently no highlight support, but I will be adding it soon.

Added in v0.0.3. Check out the docs for more info &mdash :help incline-config-render.


"I ran into an error while running this command."

Command that caused the error
gif image: [attachment] togif: true"
Image that caused the error
No response
Steps to reproduce

Go to '...'
Click on '....'
Scroll down to '....'
See error

Self-hosted instance?
Yes
Error file

Additional context
No response

Please attach a proper error file.


Just a little bug..no big deal

😸

Just waiting on tests to pass....

Closing out PR from workshop.


Changed dockerfile to create container for Power

Hi ,
I have updated dockerfile to create container for Power as well. while building container below "arch" parameter can be used to select architecture.
Command to build for Power -
docker build --no-cache --build-arg arch=ppc64le -t s2i .
Command to build for Intel -
docker build --no-cache --build-arg arch=amd64 -t s2i .
Thanks,
Snehlata Mohite,

/assign @adambkaplan

/ok-to-test
Let's see if this works with our CI (powered by OpenShift). At one point there was a bug preventing build args from being used in builds, but that issue should be fixed.
IMO we shouldn't be setting GOARCH in the Dockerfile - this should be set in the underlying base builder image, and our scripts should copy the built binary to a platform-agnostic location.

@adambkaplan - Yeah , Ideally that is the correct way however in multistage dockerfile its not able to select ENV variable in COPY statement hence I have used ARG which default points to amd64 hence GOARCH will also point to amd64 by default. For creating power container, we need to override it by passing build arg to docker command like docker build --no-cache --build-arg arch=ppc64le -t s2i .
Error when underlying arch is used to GOARCH/ARCH -
---> 0a8f09f43143
Step 12/14 : COPY --from=builder /tmp/source-to-image/_output/local/bin/linux/${ARCH}/s2i  /usr/local/bin/s2i
COPY failed: stat /var/lib/docker/overlay2/80d8577ae9c01c4bb4cfca8ca081fa0e97397097cc7197e68afbe3d7653fda47/merged/tmp/source-to-image/_output/local/bin/linux/s2i: no such file or directory

@adambkaplan - Thanks , I will implement potential alternate solution and will revert.

/do-not-merge
Please do not merge, this is not how multi-arch enablement works, and will only make downstream productization more difficult.

@yselkowitz  - Community suggested this approach, we will implement it in coming sprint  - https://github.com/openshift/source-to-image/issues/1044

Can this be closed with #1046 merged?

No longer needed.


Simulated Temperature Sensor not configured correctly

Azure IoT Edge Tools for VS 2019 Version 1.7.0
Visual Studio 2019 Version 16.7.0 Preview 6.0
When I create a new Azure IoT Edge (Linux amd64) project and immediately add the Simulated Temperature Sensor module from Microsoft via the Azure Marketplace (all still in the configure new project wizard) the module does not get configured correctly e.g. its image location is not added to the deployment file.
If I add the Simulated Temperature Sensor after the initial project has been created all works as expected.

@michaelvach Can you check if deploying tempSensor edge module from IoT Hub has the same symptom?

Hi @MichaelVach
We will close this item as we have not heard from you. Feel free to re-open or open a new issue if this still reproes and blocking you.

Hi @MichaelVach
We will close this item as we have not heard from you. Feel free to re-open or open a new issue if this still reproes and blocking you.


Fix RequiredResourceAccess cannot be an array issue in Set-AzureADMSApplication

Why we have this PR
When using Set-EntraApplication -ApplicationId $application.Id -RequiredResourceAccess $requiredResourceAccess, the $requiredResourceAccess could be an array. For example:
$requiredResourceAccess = @(
    @{resourceAppId = '00000003-0000-0000-c000-000000000000'
        resourceAccess = @(
        @{
            id = 'c79f8feb-a9db-4090-85f9-90d820caa0eb'
            type = 'Scope'
        },
        @{
            id = '9a5d68dd-52b0-4cc2-bd40-abcf44ac3a30'
            type = 'Role'
        })
    },
    @{resourceAppId = '11111111-0000-0000-c000-000000000000'
        resourceAccess = @(
        @{
            id = '11111111-a9db-4090-85f9-90d820caa0eb'
            type = 'Scope'
        },
        @{
            id = '11111111-52b0-4cc2-bd40-abcf44ac3a30'
            type = 'Role'
        })
    }
)
Set-EntraApplication -ApplicationId $application.Id -RequiredResourceAccess $requiredResourceAccess

In current logic, the input array will be converted into a single json string. However, the Set-EntraApplication is actually calling Update-MgApplication command, which requires input -RequiredResourceAccess <IMicrosoftGraphRequiredResourceAccess[]>. Reference here. This single string cannot be converted into IMicrosoftGraphRequiredResourceAccess[], causing the following error:

How to fix in the PR
We convert the parameter into string[], each json string can be converted into IMicrosoftGraphRequiredResourceAccess correctly.

Thank you so much, @PenguinCats, for your valuable contribution! We truly appreciate it and are currently reviewing your suggestion.

@PenguinCats: I have run some tests, and the new change is working perfectly. Thank you for the contribution.

Thank you for the quick review.

@KenitoInc: Build pipeline also passed.


Move to team blog site

Move text to https://cdu-data-science-team.github.io/team-blog/ and archive this repo

Published as posts in the team blog.


Proof of contribution

MRC28
MRC28 Thread
Link to prototype

Thanks. Is this related to work on the Morpheus local install 0.0.8?

Let me know when the work is complete. This is related to the MRI maintained by @LachsBagel

This work is done.
Closed.
On Sun, Jun 9, 2024 at 10:38 PM David Johnston @.***>
wrote:

Let me know when the work is complete. This is related to the MRI
maintained by @LachsBagel https://github.com/LachsBagel
—
Reply to this email directly, view it on GitHub
https://github.com/MorpheusAIs/Docs/pull/243#issuecomment-2156780630,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ARBCQGWLZEMVG2BESKUHGKLZGS4NPAVCNFSM6AAAAABHIUAVGKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNJWG44DANRTGA
.
You are receiving this because you authored the thread.Message ID:
@.***>


Some check_consistent_sizes are in the wrong place

Description
There are a few cases in which we do a check_greater before a check_consistent_sizes. If the sizes of the arguments being tested is inconsistent, this may lead to an assertion from Eigen.
Example
In stan/math/prim/prob/uniform_lpdf.hpp, we currently have:
https://github.com/stan-dev/math/blob/044cbcb1932116c8905e4e2232a2ccce6f400e6c/stan/math/prim/prob/uniform_lpdf.hpp#L53-L56
Executing this code:
Eigen::VectorXd v(2);
Eigen::VectorXd w(4);
v << 1, 2;
w << 2, 3, 4, 5;
stan::math::uniform_lpdf(4, v, w);

produces
uniform_test: lib/eigen_3.3.3/Eigen/src/Core/DenseCoeffsBase.h:162:
Eigen::DenseCoeffsBase<type-parameter-0-0, 0>::CoeffReturnType Eigen::DenseCoeffsBase<Eigen::Matrix<double, -1, 1, 0, -1, 1>, 0>::operator[](Eigen::Index) const [Derived = Eigen::Matrix<double, -1, 1, 0, -1, 1>, Level = 0]:
Assertion `index >= 0 && index < size()' failed.
Aborted (core dumped)

Expected Output
By switching the two checks, we get a meaningful error message:
unknown file: Failure
C++ exception with description "uniform_lpdf: Lower bound parameter has dimension = 2, expecting dimension = 4;
a function was called with arguments of different scalar, array, vector, or matrix types, and they were not consistently sized;
all arguments must be scalars or multidimensional values of the same shape." thrown in the test body.

Current Version:
v3.1.0

Nice catch.  We definitely don't want Eigen assertions or segfaults popping up.
Don't we turn off the Eigen assertions when running?  (That doesn't mean this doesn't need to be fixed---it just means we might get segfault errors instead of assert errors.)


[TW#15175] flash read err, 1000

Hi,
Already read the issue #117 related to this issue.
But with the help of this I,am not able to get rid of this err,
With the help of msys32 must working ok because I can disable in the menu the "Security features and  " which i did.
When I want to run espefuse.py burn_efuse FLASH_CRYPT_CNT  in the directory where espsecure.py and esptool.py are situated I get the measage "Theofast@Theofast-PC MINGW32 ~/esp-idf/components/esptool_py/esptool
$ espsecure.py burn_efuse FLASH_CRYPT_CNT
-bash: espsecure.py: command not found
Where do I go wrong?
Make menuconfig in folder blink in esp folder.
I,am working with a esp32-vroom-32
The problem I have is that the esp wil not hold data in his nvs memory.
Any help is appreciated.
Kind regards,
Theo

Hi,
this error is related to a missing espsecure.py script.
Two ways to resolve the problem (if this is the only problem):

Add the path to the PATH variable: export PATH=$PATH:/home//esp-idf/components/esptool_py
Call the script differently: $ **./**espsecure.py burn_efuse FLASH_CRYPT_CNT

There was another issue if you have further problems: #113
Best regards

Hi Benjamin,
Thanks for your reply.
To the best of my knowledge I made a script. With the following text...
export PATH="C:/msys32/home/Theo/esp-idf/components/esptool_py/esptool"
I named the script export_idf_flash_path.sh   properties mentioned Shell Script (.sh)
Unfortunately it didn,t work.
in this folder "esptool"  there are esptool,espefuse,espsecure python files among others.
I  still get the same measage   -bash: espsecure.py: command not found
I do realise it is very difficult on distance to see what is going wrong.
Where can I read the docs. which explain the making of the script? Maybe this will help.
As far as I know f.i. installing the esp-idf do not mention making a script neither nor in the issues. So I,am a bit confused.
Dealing with this error is advisable to read the docs. in order to understand what is flash encription.
Like to hear.
Kind regards
ps. I remain looking for a methode to solve this flash read err, 1000

Try to call the script from the esp-idf/components/esptool_py/esptool path with following command:
python ./espsecure.py
If you get something like "usage: espsecure [-h] ...."
than at least the script is working and you can continue with removing the secure boot (see other issues).
If there is something like "Python: command not found", you have to install python in a correct way (I cannot assist you on this topic, I don't use msys/cygwin).
Best regards

Hi, Benjamin,
Thanks for your swift reply.
I indeed checked the above mentioned test and is posifive.
I do get the conformation that the script is running.
$ python ./espsecure.py
usage: espsecure [-h]
{digest_secure_bootloader,generate_signing_key,sign_data,verify   _signature,extract_public_key,digest_private_key,generate_flash_encryption_key,d   ecrypt_flash_data,encrypt_flash_data}
...
espsecure: error: too few arguments
As far as I understand and know I realy lack of python program skills. Sorry by that.
Howe ever I,am using this esp32 chip in the internet radio ( which I like very much ) with the err it is not possible to read the SD card most probably caused by the flash err.
So I now will go on further with your proposal for cont. with removing the secure boot........
Thanks
Keep my result posted.
Kind regards,
Theo
ps. my guide is the espressif idf programming guide
What is the diff between  msys2 and mingw32

Hi,
After further tests and RTFM I experienced that when I use "" python ./espefuse.py --port COM14 summary
It connects to the esp32 and give this as output...
Theofast@Theofast-PC MINGW32 ~/esp-idf/components/esptool_py/esptool
$ python ./espefuse.py --port COM14 summary
espefuse.py v2.1
Connecting........_
Security fuses:
FLASH_CRYPT_CNT        Flash encryption mode counter                     = 0 R/W (0x0)
FLASH_CRYPT_CONFIG     Flash encryption config (key tweak bits)          = 0 R/W (0x0)
CONSOLE_DEBUG_DISABLE  Disable ROM BASIC interpreter fallback            = 0 R/W (0x0)
ABS_DONE_0             secure boot enabled for bootloader                = 0 R/W (0x0)
ABS_DONE_1             secure boot abstract 1 locked                     = 0 R/W (0x0)
JTAG_DISABLE           Disable JTAG                                      = 0 R/W (0x0)
DISABLE_DL_ENCRYPT     Disable flash encryption in UART bootloader       = 0 R/W (0x0)
DISABLE_DL_DECRYPT     Disable flash decryption in UART bootloader       = 0 R/W (0x0)
DISABLE_DL_CACHE       Disable flash cache in UART bootloader            = 0 R/W (0x0)
BLK1                   Flash encryption key
= 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 R/W
BLK2                   Secure boot key
= 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 R/W
BLK3                   Variable Block 3
= 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 R/W
Efuse fuses:
WR_DIS                 Efuse write disable mask                          = 0 R/W (0x0)
RD_DIS                 Efuse read disablemask                            = 0 R/W (0x0)
CODING_SCHEME          Efuse variable block length scheme                = 0 R/W (0x0)
KEY_STATUS             Usage of efuse block 3 (reserved)                 = 0 R/W (0x0)
Config fuses:
XPD_SDIO_FORCE         Ignore MTDI pin (GPIO12) for VDD_SDIO on reset    = 0 R/W (0x0)
XPD_SDIO_REG           If XPD_SDIO_FORCE, enable VDD_SDIO reg on reset   = 0 R/W (0x0)
XPD_SDIO_TIEH          If XPD_SDIO_FORCE & XPD_SDIO_REG, 1=3.3V 0=1.8V   = 0 R/W (0x0)
SPI_PAD_CONFIG_CLK     Override SD_CLK pad (GPIO6/SPICLK)                = 0 R/W (0x0)
SPI_PAD_CONFIG_Q       Override SD_DATA_0 pad (GPIO7/SPIQ)               = 0 R/W (0x0)
SPI_PAD_CONFIG_D       Override SD_DATA_1 pad (GPIO8/SPID)               = 0 R/W (0x0)
SPI_PAD_CONFIG_HD      Override SD_DATA_2 pad (GPIO9/SPIHD)              = 0 R/W (0x0)
SPI_PAD_CONFIG_CS0     Override SD_CMD pad (GPIO11/SPICS0)               = 0 R/W (0x0)
DISABLE_SDIO_HOST      Disable SDIO host                                 = 0 R/W (0x0)
Identity fuses:
MAC                    MAC Address                                       = 22:00:cc:00:cc:00 R/W
CHIP_VERSION           Chip version                                      = 0 R/W (0x0)
CHIP_PACKAGE           Chip package identifier                           = 0 R/W (0x0)
Flash voltage (VDD_SDIO) determined by GPIO12 on reset (High for 1.8V, Low/NC for 3.3V).
Which looks to me all ok. all zero,s   " 0 "
Remains the err. flash read err, 1000 after 2nd start of the esp32?????
Keep surging.
Regards,
Theo

If you have flash read err, 1000 error continuously after reset, please check that you don't have any external signals connected to SPI flash pins of the ESP32 (pins 6-11). If you don't have anything connected to these pins, it means that your SPI flash chip may have been damaged.

Hi, @igrr
Ok, I will check.
Question if I made a encrypt summary I read all figures 0 "zero" expect the mac.adres from the chip
is this correct?
Kind regards,
Theo
ps. above reply from Benjamin realy helped my to find my way

MAC address value in espefuse.py summary looks incorrect. Unless you have modified the output for presentation purposes, MAC address of an ESP32 should start with one of prefixes listed here.

In addition to what @igrr says, because FLASH_CRYPT_CNT and ABS_DONE_0 efuses are both 0 this suggests that secure boot and flash encryption were never enabled and are not currently enabled. Unless you turned these options on in menuconfig and manually & explicitly flashed a bootloader, that's the case (they don't accidentally get turned on.)
For this reason, I do not recommend trying to burn any flash encryption efuses in this case, as you will enable (rather than disable) flash encryption!
If you can explain some more about your hardware setup, etc. then we may be able to help you diagnose the underlying problem. (As @igrr says, the MAC value looks very unusual and incorrect.)

Hi,
@iggr  the mac adres I did myself .
@projectgus  Also many thanks for reply.
I made a drawing howe I connect the radio/esp32
This is the ESP32 internet radio from ED Zelf  ( very nice project )
Enclosed you will find the drawing

From a powersupply 230/50Hz sec. 6VDC 400mA ( regilated I feeding a 3.3 volt regulator on the 3.3 volt side about 1160 micro Farad elco capacitors. I have the ideer the power supply is ok.
Draw about 250 milli amps@3,3 volt
Indeed I hesistate to burn efuses.
Because the summary showed all 0  zero,s  which must be ok.
The mac adres is changed by myself. ( security)
I suffer from the "flash read err, 1000 " which after upload is not present only after I started the radio by the on/off switch the error ocure.
Which on his turn do not tart the SD card.
This ESP32 devboard I played with several scketches for gaining some experience. Like simple server. etc.
A second radio with a similair setup and  out of the box ESP32 give no problem.
So either a HW or Sw fault I,am looking for.
Software is most likely out of suspection.
HW bad powersupply or firmware setting corrupt must be the problem.
Like to hear.
Theo

Hi,
In addition to former meassage I enclose debug list from start-up esp32
first start after update of the software from the default page (NVS)
second start after start  by means of push the EN button on devkit board
First the SD card is accessible.
Second start SD card not accessible and flash read err, 1000 error.
ESP32 reset met html page config.txt
ESP32 opstart na reset with EN.txt

https://github.com/espressif/esp-idf/issues/113#issuecomment-268698113
https://github.com/espressif/esp-idf/issues/113#issuecomment-303186904
Both your logs say

D: Locate mp3 files on SD, may take a while...
D: 11 tracks on SD

Hi, @-negativekelvin
Cool to notice.
Apart from this sd card can`t be read with the flash read err,1000 after startup with poweron.
I will make a new printout.
So # 113 deals also with this flash read err. I will read carefully.
Btw I,am redesighn my pcb to by shure to work with a spoton powersupply.
Kind regards,
Theo

Are you able to remove the DEVKIT V1 board from the rest of the hardware entirely, and see if it programs & boots successfully connected with only USB connected?

Hi, all
In reaction of your all reply,s I report as follow, after exchange my esp32 devboard it is defenetely a hardware fault in my pcb.
I changed a "good" esp32 into my faulty radio and the fault remains.
I inserted my "faulty" esp32 into my good radio and the fault was not noticed.
So I have a seriuos hardware fault in my radio.
Last weekend I already cleared up my wiring and checked the pcb for faults visual no adnormalities found.
So I have a job to do.
Hopefully this takes away some smoke around the flash read err, 1000 error.
Keep you posted.
All I do realy appreciate the contribution in reply on my post.
Kind regards,
Theo
Again I like to mention the wonderfull project EdZelf has made where I use my ESP32
@projectgus yes I am able to just single test my both ESP32 and they where possible to program.
@-negativekelvin again I tested the printout and the same result however the flash fault and SD card was read It is not possible from http and the display mentioned sd card mount failed.

Hi,
After  further testing and fault finding I concluded that a micro SD card from 1G is the faulty part.
I placed a new 4G micro SD card in the SD adapter and tested both radio,s correct functioning.
I noticed during testing that my ceramic capaciters in my powersupply do there work.
Before my LD33CV I soldered a 470nF and after a 100nF capaciter. Glitsing which happened plugging the USB plug is not anylonger noticed.
All of you who contribute to this issue many thanks.
Kind regards,
Theo
I closed this issue

Although this is a solved issue, it is worth mentioning here another variant, for those coming here via Google.
If you plug your ESP32 into a board that you made, and you see the 'flash read err, 1000', but it works fine when you unplug it from your board, then here is a case which would trigger this:
Basically, if you have a tiny solder bridge between GND and one of the FLASH pins (GPIO6, 7, 8, 9, 10, 11), this will happen.
To solve it inspect your board with a magnifying glass carefully.


Tracked Pose Driver [New Input System] Not working for HDM Tracking Data

It would not track my HMD at all (Valve Index)
Using the old Tracked Pose Driver fixed the issue, no matter what "position action" or rotation action i would use, no tracking for the HMD.

@Kinami37 my controller and HMD seems to update the position but not rotation. I have already setup an XR Rig using old Trackedpose Driver, I was hoping to switch to the Action Based setup.
my reference: https://www.youtube.com/watch?v=UlqdHrfXppo
I want to have a XR rig that could be used with keyboard and mouse, this setup seemed time saving and doable. The keyboard mouse works but when I connect the rift only position updates not the rotation.


dozenal: init at version v12010904

Motivation for this change
dozenal is a toolsuite for working with base twelve instead of base ten that I use on a daily basis.
hdate is a library for working with hebraic date, I do not use it but dozenal depends on hdate, so I added an hdate derivation too. The hdate utilities works too, maybe it can be useful to others.
Things done

Added a hdate derivation, which is a dozenal depency
Added the dozenal derivation
Added myself in the list of maintainers
[ ] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS)
Built on platform(s)

[X] NixOS
[ ] macOS
[X] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[X] Tested execution of all binary files (usually in ./result/bin/)
[X] Fits CONTRIBUTING.md.

@GrahamcOfBorg build dozenal

@GrahamcOfBorg build hdate dozenal

Needs a rebase

@joachifm thanks for your review. I think I took care of what you pointed out.

@GrahamcOfBorg build hdate dozenal

Failure on x86_64-darwin (full log)
Attempted: hdate, dozenal
Partial log (click to expand)
         ^~~~~~~~~
1 warning and 1 error generated.
make[2]: *** [Makefile:409: hdate.o] Error 1
make[2]: Leaving directory '/private/tmp/nix-build-hdate-1.6.02.drv-0/libhdate-1.6.02/examples/hcal'
make[1]: *** [Makefile:321: all-recursive] Error 1
make[1]: Leaving directory '/private/tmp/nix-build-hdate-1.6.02.drv-0/libhdate-1.6.02/examples'
make: *** [Makefile:440: all-recursive] Error 1
builder for '/nix/store/369waqdi6xwqcfxsp04mj0lsls9sl8kq-hdate-1.6.02.drv' failed with exit code 2
cannot build derivation '/nix/store/6clb12aamszy6v4d3pgr6za88prpz2lj-dozenal-12010904.drv': 1 dependencies couldn't be built
error: build of '/nix/store/369waqdi6xwqcfxsp04mj0lsls9sl8kq-hdate-1.6.02.drv', '/nix/store/6clb12aamszy6v4d3pgr6za88prpz2lj-dozenal-12010904.drv' failed

Success on x86_64-linux (full log)
Attempted: hdate, dozenal
Partial log (click to expand)
shrinking /nix/store/nw2rdxgqys2dqr65lfpnaabyr7mxqww2-dozenal-12010904/bin/dozstring
shrinking /nix/store/nw2rdxgqys2dqr65lfpnaabyr7mxqww2-dozenal-12010904/bin/dozword
shrinking /nix/store/nw2rdxgqys2dqr65lfpnaabyr7mxqww2-dozenal-12010904/bin/tgmconv
gzipping man pages under /nix/store/nw2rdxgqys2dqr65lfpnaabyr7mxqww2-dozenal-12010904/share/man/
strip is /nix/store/553rihc190vsyy8b22iqcq25a6489h8y-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/nw2rdxgqys2dqr65lfpnaabyr7mxqww2-dozenal-12010904/bin
patching script interpreter paths in /nix/store/nw2rdxgqys2dqr65lfpnaabyr7mxqww2-dozenal-12010904
checking for references to /build in /nix/store/nw2rdxgqys2dqr65lfpnaabyr7mxqww2-dozenal-12010904...
/nix/store/pvgqy8pn41nkwfnrzqrlaaqj0pwmmahh-hdate-1.6.02
/nix/store/nw2rdxgqys2dqr65lfpnaabyr7mxqww2-dozenal-12010904

Success on aarch64-linux (full log)
Attempted: hdate, dozenal
Partial log (click to expand)
shrinking /nix/store/sisv8nh7vrw8lvp2if6v7p7hgzpjcxam-dozenal-12010904/bin/tgmconv
shrinking /nix/store/sisv8nh7vrw8lvp2if6v7p7hgzpjcxam-dozenal-12010904/bin/dozdc
shrinking /nix/store/sisv8nh7vrw8lvp2if6v7p7hgzpjcxam-dozenal-12010904/bin/dec
gzipping man pages under /nix/store/sisv8nh7vrw8lvp2if6v7p7hgzpjcxam-dozenal-12010904/share/man/
strip is /nix/store/4md2i310zklkkl5j41yw70gcwgn4kav5-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/sisv8nh7vrw8lvp2if6v7p7hgzpjcxam-dozenal-12010904/bin
patching script interpreter paths in /nix/store/sisv8nh7vrw8lvp2if6v7p7hgzpjcxam-dozenal-12010904
checking for references to /build in /nix/store/sisv8nh7vrw8lvp2if6v7p7hgzpjcxam-dozenal-12010904...
/nix/store/cyc48wn542i76rm3vblli57zhn667kdm-hdate-1.6.02
/nix/store/sisv8nh7vrw8lvp2if6v7p7hgzpjcxam-dozenal-12010904


Navigator: undefined is not an object (evaluating sceneConfig.animationInterpolators)

During fast pushing screens to a Navigator with sceneConfig "PushFromRight" alternating with "FadeAndroid" I get an error
undefined is not an object (evaluating sceneConfig.animationInterpolators). Screenshot of error stack:

Hey, thanks for reporting this issue!
It looks like your description is missing some necessary information. Can you please add all the details specified in the template? This is necessary for people to be able to understand and reproduce the issue being reported.
I am going to close this, but feel free to open a new issue with the additional information provided. Thanks!

@SamakaCD So How do you fix it ? I have met the same crash , crazying ~

same +1

Same here

Is there an update to this issue? I am seeing the same crash. I popToTop() and that takes me to ComponentX. When in ComponentX I try to push another component, it gives me this error.

The issue was closed due to lack of information. Please open a new issue.

same here!!!


leak chain name for performance

closes https://github.com/shotover/shotover-proxy/issues/1394
Putting an Owned string for the chain name into Wrapper is quite expensive.
It means that for each message batch shotover processes it will allocate and deallocate a string just to store it in the wrapper.
Additionally we then clone it in many cases.
Since chain names are set by the config once and then never changed we can simply leak the string and then never have to clone it again as we can hold a &'static reference to it.
This PR does the following:

Refactors chain_name such that it is set by the chain itself, this has no performance impact just better isolates the chain name logic from the rest of the code base.
chain_name is always stored as a &'static str, it is converted from a String via leak at the point where the chain is parsed from the yaml.

This PR gives a 25% win in loopback benchmark:

In reality it wont be this high as https://github.com/shotover/shotover-proxy/pull/1401 already removes some of those clones. But I expect it to still keep the improvement from non-metric clones.

I've rebenched this PR, it gives us a 15% win on top of https://github.com/shotover/shotover-proxy/pull/1401

Very nice!


Line under H1 not showing

Hi. Here's a screenshot of my Obsidian 1.1.16 using your theme:

It seems that Obsidian is not rendering the theme correctly. Do you happen to know why the bottom border is not showing in Heading 1?

Hi. Sorry about the rendering issue. I am not sure why the border is not visible in this instance, but I am aware that it does disappear in edit mode (in the screenshot, it appears that you are in reading mode, though). I think it's because I only put the styles under h1 instead of something more specific, like .markdown-rendered h1. I apologize for this theme being so messy--when I made it, I didn't know css and was just messing around.  I am currently redoing this theme from scratch, though, so rendering problems will soon be fixed.

I'll also let you know when I update the theme to the new version.

Don't be sorry. It's not a big deal. I just wanted to understand why the CSS wasn't working. And you're right, I was in editing mode, but if I change it to reading mode, the lines show up. Thank you.

Just finished remaking the theme last night, and I fixed the rendering issue. Please update to the newest version.


Add basic tests + travis-ci

adds eslint tests
adds prettier tests
minor fixes to codebase to get tests to pass
added travis-ci

This is the first of several PRs that will add some basic unit and integration tests.

Thanks @transitive-bullshit !
Can you please fix the conflicts from the dependency update merge? that would be great! :)


OCI: annotation for pulling/running OCI image

Similar to the annotation to change the stage1 (rkt.alpha.kubernetes.io/stage1-name-override) lets add an experimental annotation to pull an OCI image instead of a Docker image (pod.v1.kubernetes.io/image-type=oci).
This was out of a brief conversation with @vishh about how to support OCI before we get an agreed upon proposal for https://github.com/kubernetes/features/issues/63.

Depends on https://github.com/coreos/rkt/issues/3134

@euank this already works, that flag is to just make it more explicitly an experiment.

Gating it behind a flag is the part that is still missing. I'm going through some docker2aci backlog, I should get to that too this week.

Right, but it is working today:
https://groups.google.com/a/opencontainers.org/forum/#!topic/dev/Am7byGvLCUQ
On Tue, Oct 18, 2016 at 11:02 AM Luca Bruno<EMAIL_ADDRESS>wrote:

Gating it behind a flag is the part that is still missing. I'm going
through some docker2aci backlog, I should get to that too this week.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/kubernetes-incubator/rktlet/issues/41#issuecomment-254589347,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AACDCLtpS14qg6SNMS2_DHRun3vOIhdxks5q1Qm_gaJpZM4KZLrL
.


[staging] pythonPackages.setuptools: 44.0.0 -> 45.2.0

Motivation for this change
noticed it was out of date
python2 version is frozen at 44.0.0, version 45 dropped support
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[x] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

@GrahamcOfBorg build pythonPackages.requests
@GrahamcOfBorg build python3Packages.requests
@GrahamcOfBorg build python38Packages.requests

cc @FRidh look good to you?


 when turning trace logging on

Hey guys,
I have this weird problem as soon as I change the logger level on adhearsion:
<RuntimeError> can't add a new key into hash during iteration when turning trace logging on
I thought at first that maybe there was something wrong with an actor that we have for changing dynamically the logger level, but then I tried toggling the logger level using the ALARM signal and the same problem occurred.
The calls don't work for a small amount of time, but then everything seems to work normally without intervention. We discovered that after the event, the app memory usage starts to grow silently until no more threads can be created (it happened this weekend ~20 hours later after the error).
Here is a more complete log:
[2014-07-21 13:05:17.187] WARN  Adhearsion::Logging: Turning TRACE logging ON.
[2014-07-21 13:05:18.758] ERROR Adhearsion::OutboundCall: 4ad67b29-7449-4766-bde2-0a7c2d2538c1@: <RuntimeError> can't add a new key into hash during iteration
	/var/lib/octophone/shared/bundle/ruby/2.1.0/gems/logging-1.8.2/lib/logging/repository.rb:69:in `[]='
	/var/lib/octophone/shared/bundle/ruby/2.1.0/gems/logging-1.8.2/lib/logging/logger.rb:67:in `block in new'
	/var/lib/octophone/shared/bundle/ruby/2.1.0/gems/logging-1.8.2/lib/logging/logger.rb:51:in `synchronize'
	/var/lib/octophone/shared/bundle/ruby/2.1.0/gems/logging-1.8.2/lib/logging/logger.rb:51:in `new'
	/var/lib/octophone/shared/bundle/ruby/2.1.0/gems/adhearsion-2.5.4/lib/adhearsion/logging.rb:16:in `logger'
	/var/lib/octophone/shared/bundle/ruby/2.1.0/gems/adhearsion-2.5.4/lib/adhearsion/call_controller/dial.rb:186:in `block (2 levels) in prep_calls'
	/var/lib/octophone/shared/bundle/ruby/2.1.0/gems/has-guarded-handlers-1.6.0/lib/has_guarded_handlers.rb:117:in `call'
	/var/lib/octophone/shared/bundle/ruby/2.1.0/gems/has-guarded-handlers-1.6.0/lib/has_guarded_handlers.rb:117:in `call_handler'
	/var/lib/octophone/shared/bundle/ruby/2.1.0/gems/has-guarded-handlers-1.6.0/lib/has_guarded_handlers.rb:96:in `block (3 levels) in trigger_handler'
	/var/lib/octophone/shared/bundle/ruby/2.1.0/gems/has-guarded-handlers-1.6.0/lib/has_guarded_handlers.rb:91:in `catch'
	/var/lib/octophone/shared/bundle/ruby/2.1.0/gems/has-guarded-handlers-1.6.0/lib/has_guarded_handlers.rb:91:in `block (2 levels) in trigger_handler'
	/var/lib/octophone/shared/bundle/ruby/2.1.0/gems/has-guarded-handlers-1.6.0/lib/has_guarded_handlers.rb:89:in `each'
	/var/lib/octophone/shared/bundle/ruby/2.1.0/gems/has-guarded-handlers-1.6.0/lib/has_guarded_handlers.rb:89:in `find'
	/var/lib/octophone/shared/bundle/ruby/2.1.0/gems/has-guarded-handlers-1.6.0/lib/has_guarded_handlers.rb:89:in `block in trigger_handler'
	/var/lib/octophone/shared/bundle/ruby/2.1.0/gems/has-guarded-handlers-1.6.0/lib/has_guarded_handlers.rb:88:in `catch'
	/var/lib/octophone/shared/bundle/ruby/2.1.0/gems/has-guarded-handlers-1.6.0/lib/has_guarded_handlers.rb:88:in `trigger_handler'
	/var/lib/octophone/shared/bundle/ruby/2.1.0/gems/adhearsion-2.5.4/lib/adhearsion/call.rb:184:in `block in deliver_message'
	/var/lib/octophone/shared/bundle/ruby/2.1.0/gems/adhearsion-2.5.4/lib/adhearsion/foundation/exception_handler.rb:5:in `catching_standard_errors'
	/var/lib/octophone/shared/bundle/ruby/2.1.0/gems/adhearsion-2.5.4/lib/adhearsion/call.rb:183:in `deliver_message'
	/var/lib/octophone/shared/bundle/ruby/2.1.0/gems/celluloid-0.15.2/lib/celluloid/calls.rb:25:in `public_send'
	/var/lib/octophone/shared/bundle/ruby/2.1.0/gems/celluloid-0.15.2/lib/celluloid/calls.rb:25:in `dispatch'
	/var/lib/octophone/shared/bundle/ruby/2.1.0/gems/celluloid-0.15.2/lib/celluloid/calls.rb:122:in `dispatch'
	/var/lib/octophone/shared/bundle/ruby/2.1.0/gems/celluloid-0.15.2/lib/celluloid/actor.rb:322:in `block in handle_message'
	/var/lib/octophone/shared/bundle/ruby/2.1.0/gems/celluloid-0.15.2/lib/celluloid/actor.rb:416:in `block in task'
	/var/lib/octophone/shared/bundle/ruby/2.1.0/gems/celluloid-0.15.2/lib/celluloid/tasks.rb:55:in `block in initialize'
	/var/lib/octophone/shared/bundle/ruby/2.1.0/gems/celluloid-0.15.2/lib/celluloid/tasks/task_fiber.rb:13:in `block in create'
[2014-07-21 13:05:20.175] INFO  Adhearsion::OutboundCall: ebc86aa7-e61d-49b2-ab3a-640e074b4dd6@: Call ended due to busy
[2014-07-21 13:05:20.176] INFO  ComparadorPlugin::RequestActor: received ping message
[2014-07-21 13:05:20.177] INFO  Adhearsion::OutboundCall: 9639ac3d-a15c-4d32-acbc-f10ab3822223@: Call ended due to hungup
[2014-07-21 13:05:20.445] ERROR Adhearsion::OutboundCall: 9639ac3d-a15c-4d32-acbc-f10ab3822223@: <RuntimeError> can't add a new key into hash during iteration
	/var/lib/octophone/shared/bundle/ruby/2.1.0/gems/logging-1.8.2/lib/logging/repository.rb:69:in `[]='
	/var/lib/octophone/shared/bundle/ruby/2.1.0/gems/logging-1.8.2/lib/logging/logger.rb:67:in `block in new'
	/var/lib/octophone/shared/bundle/ruby/2.1.0/gems/logging-1.8.2/lib/logging/logger.rb:51:in `synchronize'
	/var/lib/octophone/shared/bundle/ruby/2.1.0/gems/logging-1.8.2/lib/logging/logger.rb:51:in `new'
	/var/lib/octophone/shared/bundle/ruby/2.1.0/gems/adhearsion-2.5.4/lib/adhearsion/logging.rb:16:in `logger'
	/var/lib/octophone/shared/bundle/ruby/2.1.0/gems/adhearsion-2.5.4/lib/adhearsion/call_controller/dial.rb:113:in `block in track_originating_call'
	/var/lib/octophone/shared/bundle/ruby/2.1.0/gems/has-guarded-handlers-1.6.0/lib/has_guarded_handlers.rb:117:in `call'
	/var/lib/octophone/shared/bundle/ruby/2.1.0/gems/has-guarded-handlers-1.6.0/lib/has_guarded_handlers.rb:117:in `call_handler'
	/var/lib/octophone/shared/bundle/ruby/2.1.0/gems/has-guarded-handlers-1.6.0/lib/has_guarded_handlers.rb:96:in `block (3 levels) in trigger_handler'
	/var/lib/octophone/shared/bundle/ruby/2.1.0/gems/has-guarded-handlers-1.6.0/lib/has_guarded_handlers.rb:91:in `catch'
	/var/lib/octophone/shared/bundle/ruby/2.1.0/gems/has-guarded-handlers-1.6.0/lib/has_guarded_handlers.rb:91:in `block (2 levels) in trigger_handler'
	/var/lib/octophone/shared/bundle/ruby/2.1.0/gems/has-guarded-handlers-1.6.0/lib/has_guarded_handlers.rb:89:in `each'
	/var/lib/octophone/shared/bundle/ruby/2.1.0/gems/has-guarded-handlers-1.6.0/lib/has_guarded_handlers.rb:89:in `find'
	/var/lib/octophone/shared/bundle/ruby/2.1.0/gems/has-guarded-handlers-1.6.0/lib/has_guarded_handlers.rb:89:in `block in trigger_handler'
	/var/lib/octophone/shared/bundle/ruby/2.1.0/gems/has-guarded-handlers-1.6.0/lib/has_guarded_handlers.rb:88:in `catch'
	/var/lib/octophone/shared/bundle/ruby/2.1.0/gems/has-guarded-handlers-1.6.0/lib/has_guarded_handlers.rb:88:in `trigger_handler'
	/var/lib/octophone/shared/bundle/ruby/2.1.0/gems/adhearsion-2.5.4/lib/adhearsion/call.rb:184:in `block in deliver_message'
	/var/lib/octophone/shared/bundle/ruby/2.1.0/gems/adhearsion-2.5.4/lib/adhearsion/foundation/exception_handler.rb:5:in `catching_standard_errors'
	/var/lib/octophone/shared/bundle/ruby/2.1.0/gems/adhearsion-2.5.4/lib/adhearsion/call.rb:183:in `deliver_message'
	/var/lib/octophone/shared/bundle/ruby/2.1.0/gems/celluloid-0.15.2/lib/celluloid/calls.rb:25:in `public_send'
	/var/lib/octophone/shared/bundle/ruby/2.1.0/gems/celluloid-0.15.2/lib/celluloid/calls.rb:25:in `dispatch'
	/var/lib/octophone/shared/bundle/ruby/2.1.0/gems/celluloid-0.15.2/lib/celluloid/calls.rb:122:in `dispatch'
	/var/lib/octophone/shared/bundle/ruby/2.1.0/gems/celluloid-0.15.2/lib/celluloid/actor.rb:322:in `block in handle_message'
	/var/lib/octophone/shared/bundle/ruby/2.1.0/gems/celluloid-0.15.2/lib/celluloid/actor.rb:416:in `block in task'
	/var/lib/octophone/shared/bundle/ruby/2.1.0/gems/celluloid-0.15.2/lib/celluloid/tasks.rb:55:in `block in initialize'
	/var/lib/octophone/shared/bundle/ruby/2.1.0/gems/celluloid-0.15.2/lib/celluloid/tasks/task_fiber.rb:13:in `block in create'
[2014-07-21 13:05:20.576] INFO  Adhearsion::OutboundCall: 37af895e-0e38-4a9a-ab82-3d069e1f44a0@: Call ended due to reject
[2014-07-21 13:05:20.577] ERROR Adhearsion::OutboundCall: c827292a-7cf0-43b5-8538-3d3e1d3c4af8@: <RuntimeError> can't add a new key into hash during iteration
	/var/lib/octophone/shared/bundle/ruby/2.1.0/gems/logging-1.8.2/lib/logging/repository.rb:69:in `[]='
	/var/lib/octophone/shared/bundle/ruby/2.1.0/gems/logging-1.8.2/lib/logging/logger.rb:67:in `block in new'
	/var/lib/octophone/shared/bundle/ruby/2.1.0/gems/logging-1.8.2/lib/logging/logger.rb:51:in `synchronize'
	/var/lib/octophone/shared/bundle/ruby/2.1.0/gems/logging-1.8.2/lib/logging/logger.rb:51:in `new'
	/var/lib/octophone/shared/bundle/ruby/2.1.0/gems/adhearsion-2.5.4/lib/adhearsion/logging.rb:16:in `logger'
	/var/lib/octophone/shared/bundle/ruby/2.1.0/gems/adhearsion-2.5.4/lib/adhearsion/call_controller/dial.rb:322:in `cleanup_calls'
	/var/lib/octophone/shared/bundle/ruby/2.1.0/gems/adhearsion-2.5.4/lib/adhearsion/call_controller/dial.rb:62:in `dial'
	/var/lib/octophone/releases/961d519e391a0c1fabeb3f1add3238bcc7ecb848/app/call/outbound/country_call_controller.rb:58:in `call_client'
	/var/lib/octophone/releases/961d519e391a0c1fabeb3f1add3238bcc7ecb848/app/call/outbound/country_call_controller.rb:24:in `run'
	/var/lib/octophone/shared/bundle/ruby/2.1.0/gems/adhearsion-2.5.4/lib/adhearsion/call_controller.rb:120:in `execute!'
	/var/lib/octophone/shared/bundle/ruby/2.1.0/gems/adhearsion-2.5.4/lib/adhearsion/call_controller.rb:95:in `block in exec'
	/var/lib/octophone/shared/bundle/ruby/2.1.0/gems/adhearsion-2.5.4/lib/adhearsion/call_controller.rb:94:in `catch'
	/var/lib/octophone/shared/bundle/ruby/2.1.0/gems/adhearsion-2.5.4/lib/adhearsion/call_controller.rb:94:in `exec'
	/var/lib/octophone/shared/bundle/ruby/2.1.0/gems/adhearsion-2.5.4/lib/adhearsion/call_controller.rb:111:in `exec_with_callback'
	/var/lib/octophone/shared/bundle/ruby/2.1.0/gems/adhearsion-2.5.4/lib/adhearsion/call_controller.rb:105:in `block (2 levels) in bg_exec'
	/var/lib/octophone/shared/bundle/ruby/2.1.0/gems/adhearsion-2.5.4/lib/adhearsion/foundation/exception_handler.rb:5:in `catching_standard_errors'
	/var/lib/octophone/shared/bundle/ruby/2.1.0/gems/adhearsion-2.5.4/lib/adhearsion/call_controller.rb:104:in `block in bg_exec'
	/var/lib/octophone/shared/bundle/ruby/2.1.0/gems/celluloid-0.15.2/lib/celluloid/thread_handle.rb:13:in `block in initialize'
	/var/lib/octophone/shared/bundle/ruby/2.1.0/gems/celluloid-0.15.2/lib/celluloid/internal_pool.rb:100:in `call'
	/var/lib/octophone/shared/bundle/ruby/2.1.0/gems/celluloid-0.15.2/lib/celluloid/internal_pool.rb:100:in `block in create'
	/var/lib/octophone/shared/bundle/ruby/2.1.0/gems/logging-1.8.2/lib/logging/diagnostic_context.rb:323:in `call'
	/var/lib/octophone/shared/bundle/ruby/2.1.0/gems/logging-1.8.2/lib/logging/diagnostic_context.rb:323:in `block in create_with_logging_context'
[2014-07-21 13:05:20.781] INFO  Adhearsion::CallController::Dial::Dial: c909150c-cc2e-4e19-a976-345da53dd9d5: #dial finished with no remaining outbound calls

Potentially related to https://github.com/adhearsion/adhearsion/issues/589.

pinging @joaquinrulin as I'm no longer involved with the project :P


merge 1.4.x into master

Proposed changes:

...

Status (please check what you already did):

[ ] made PR ready for code review
[ ] added some tests for the functionality
[ ] updated the documentation
[ ] updated the changelog
[ ] reformat files using black (please check Readme for instructions)

@wochinge can you look at the merge conflicts? I think they're both stuff you worked on and I don't want to mess them up

@erohmensing Done, can be merged as soon as travis passes

Can't be merged until someone says so 😉


AddAwaiter

AddAwaiter method for adding awaiter without send. This needed when service recovered after unexpected end.
We check our safety storage(probably it is Database) and taken from him ours messageGuids.
Then:

using var awaiter = await requestAwaiter.AddAwaiter(messageGuid);

Wait all unprocessed awaiters.

AddAwaiter(messageGuid, int bucketId, int[] partitions);


Update: Add Prerequisites

Clearly explain the prerequisites skills for documentation audience.

It looks good to me :)


CDPT-1755: To the top

Add to the top template
Replace gutenberg block in the backend

Hey @EmilyHazlehurst , what you've done looks good, but I have some doubts about weather it could be simplified.
We have quite a few files and some DOM creating and parsing, for a what is (or nearly is nearly?) a static component.
Do you think it would be possible to simplify it without losing the benefits of the standalone frontend folder & Storybook?

@EarthlingDavey thanks for the feedback.
I understand what you're saying, my thoughts were that blocks should be handled consistently so that the codebase is easy to read and understand.
I did a load speed comparison between the original component and this one and there wasn't a noticeable difference, but you're right in that it might be a problem as more blocks are made or on longer pages.
I'm going to merge this now but have made a ticket to look into this again after the static components are finished just to ensure it won't add unnecessary overheads and to look at other options.


hangouts_parser.py errors

It may be that Google Takeout has slightly altered the format of the Hangouts.json file. When I tried the code yesterday (4/11/2018), it failed. I needed to change three lines in hangouts_parser.py.
25: data.conversation_state ---> data.conversations
27: getattr(conversation_state, "conversation_state", None) ---> getattr(conversation_state, "conversation", None)
57: getattr(state, "event", None) ---> getattr(conversation_state, "events", None)
Otherwise, worked like a charm. Thanks for the great code.

Just a note that I had the same issue, however after fixing lines 25,27,57 things worked great! Thank you for that.

Thank you @onemodtwo that fixed my issues as well

Another note, I had a bunch of non-ascii characters in my hangouts export from various sources, including me (inserting an upside down exclamation mark here and there) or from automated sources.
I used the following command to scrape out all non-ascii characters:
perl -pe's/[[:^ascii:]]//g' < input.txt > output.txt