grpc 64 bit build error

Package: grpc:x64-windows-static
Vcpkg version: 0.0.103-unknownhash
try to install i wrote
"install grpc --triplet x64-windows-static"
and got this error
Error: Building package grpc:x64-windows-static failed with: BUILD_FAILED

CMake Error at C:/Users/davidno/Downloads/vcpkg/downloads/cmake-3.10.2-win32-x86/share/cmake-3.10/Modules/FindPackageHandleStandardArgs.cmake:137
(message):
Could NOT find ZLIB
(missing: ZLIB_LIBRARY ZLIB_INCLUDE_DIR)
Call Stack (most recent call first):
C:/Users/davidno/Downloads/vcpkg/downloads/cmake-3.10.2-win32-x86/share/cmake-3.10/Modules/FindPackageHandleStandardArgs.cmake:378 (_FPHSA_FAILURE_MESSAGE)
C:/Users/davidno/Downloads/vcpkg/downloads/cmake-3.10.2-win32-x86/share/cmake-3.10/Modules/FindZLIB.cmake:112 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
C:/Users/davidno/Downloads/vcpkg/scripts/buildsystems/vcpkg.cmake:227 (_find_package)
CMakeLists.txt:126 (find_package)

Thanks for posting this issue. Please open a new issue if this is still a problem for you.


Build should fail fast once build pod is blocked

When configuring a cnbimage with a non-exist service secret, the build and build-pod will be blocked. Patch cnbimage resource with correct configuration can't trigger new build/build-pod again.

cnbimage

spec:
  additionalTags:
  - xx.azurecr.io/app1-default:result-15
  build:
    env: []
    resources:
      limits:
        cpu: "1"
        memory: 2Gi
    services:
    - apiVersion: v1
      kind: Secret
      name: 0-7default-7default-1-1   // The secret not exist in AKS
  builder:
    apiVersion: kpack.io/v1alpha2
    kind: Builder
    name: default

Then the build-pod is blocked, shows below:
> k get pod -w
NAME                                    READY   STATUS     RESTARTS   AGE
default.fenzho-test-build-1-build-pod   0/1     Init:0/6   0          11s

> k describe pod default.fenzho-test-build-1-build-pod
......
  Warning  FailedMount  92s (x14 over 13m)  kubelet            MountVolume.SetUp failed for volume "service-binding-secret-0-7default-7default-1-1" : secret "0-7default-7default-1-1" not found
  Warning  FailedMount  27s                 kubelet            Unable to attach or mount volumes: unmounted volumes=[service-binding-secret-0-7default-7default-1-1], unattached volumes=[registry-source-pull-secrets-dir platform-dir notary-dir home-dir kube-api-access-69vxj service-binding-secret-0-7default-7default-1-1 secret-volume-0 pull-secret-volume-0 layers-dir report-dir workspace-dir]: timed out waiting for the condition

For this kind of error, the build-pod should be failed fast, make the status like CrashLoopBackOff, and the build status should be set as False. Otherwise, once the build resource status stays in Unknown, patch cnbimage with correct configuration can't trigger a new build again
But currently, the build-pod stays in "Init:0/6" status

any update?

Hi @zhoufenqin sorry for the delay, I think main issue here is that kubernetes is not putting the pod into a failed state so kpack still thinks everything is ok for the time being. Could you describe a little bit more the type of behavior you would expect in a scenario like this.

@tomkennedy513 when build pod occurs FailedMount, k8s is not set the pod into a failed status, so the pod status is still in Init:0/6, after that, when patch a cnbimage, the kpack-controller can't trigger a new build because the previous build is blocked.
So I think the expected behavior is: "If the build pod block too long time, it should be regarded as failed one and the build resource state can be set to Failed", we can use some timeout property or any other methods to control the behavior.  Not sure if it needs to be considered in Kpack.
In our product, we won't always delete a cnbimage and create one, we always patch a cnbimage to update the configuration. So if the build is blocked, it will influence some customers.

You can use image.spec.buildTimeout to configure a timeout for the build pod. Would that work for you?

@tomkennedy513 Yes, it works, I miss the configuration before. Thanks


add an option to edit one specific parameter in all materials with the same shader

For example, this can be useful if some model has many default materials and you want to change the wetness multiplier in each of them

Is useful but at the same time way too specific, I can't think about a way to implement it and at the same time be a coherent option.

I hope you find a way to do this

I agree it is too specific and I don't see it being used a lot. Maybe better of being a separate plugin or script.


Add support for Invidious

Embed Invidious player for invidio.us feeds
Add new rewrite rule to use Invidious player for Youtube feeds

Thanks a lot for this feature!


Risky rule options

Currently we are able to mark a rule as risky (meaning applying it might change code's behavior). Though this means every possible change that can be applied is considered risky.
Being able to mark only a single option of a non-risky rule would allow making rules that can apply non-risky changes by default and optionally apply risky changes. Current setup requires two separate rules.
Maybe a good use case would be #4652.

:+1:  , this would also allow for a risky-option for no_trailing_whitespace to just do it everywhere :)

maybe not close but move to discussions, I run into this a bunch of times and would be really great to have this. (not sure about the product roadmap/prio's etc. of course)

I believe idea is valid, yet not planned as a focus nowadays.
Any implementation contribution will be great ;)
(idea for moving to discussions is valid too)


ERROR: Offers returned NullType, restarting routine...

bot and launcher open successfully but this is all it says in the CMD after showing balance and wish list number of items.

i have this error too


Iterator should internally not make use of toStream() anymore

Instead we should implement stateful Iterators that achieve the same functionality.
The reason is memory-efficiency.

Closing the issue, Iterator now does not contain toStream() anymore. Thx @ruslansennov for fixing it!

Will re-open it, also Stream.ofAll(...) should not be used anymore by Iterator internally.


[BEAM-4425] Force load JDBC drivers

In some environments (known to be OSX) the JDBC drivers are not loaded by the time they are used. This is a cherry-pick from #5490 to make it easy for anyone to review just these commits.

Follow this checklist to help us incorporate your contribution quickly and easily:

[x] Format the pull request title like [BEAM-XXX] Fixes bug in ApproximateQuantiles, where you replace BEAM-XXX with the appropriate JIRA issue, if applicable. This will automatically link the pull request to the issue.
[x] If this contribution is large, please file an Apache Individual Contributor License Agreement.

It will help us expedite review of your Pull Request if you tag someone (e.g. @username) to look at it.

@dkulp @jbonofre @timrobertson100 @boyuanzz

I have not investigated at all, other than to apply the changes and run the tests.
I can confirm tests now pass on my environment (macbook pro, high Sierra 10.13.4, Java 1.8.0_172-b11).
Without them I saw:
java.sql.SQLException: No suitable driver found for jdbc:calcite
java.sql.SQLException: No suitable driver found for jdbc:beam

The tests pass without this change on Linux openjdk 1.8.0_131, OS X Sierra 10.12.6 with Java 1.8.0_141-b15, and OS X Sierra 10.12.6 upgraded to Java 1.8.0_172-b11.

Interesting @apilloud  - how are you launching the tests please to ensure we are equivalent?

I think that might be it. I am running this:  ./gradlew :beam-sdks-java-extensions-sql:test

LGTM.
 I can repro this if I ensure the JdbcDriverTest is the first thing run. That makes it an ordering issue.

w/o loading Class.forName(""), it failed on my env. paste my env: command ./gradlew :beam-sdks-java-extensions-sql:test macOS, java 1.8.0_112

OK, merging to fix build and we should track in JIRA that the service loader pattern isn't working.


Reload focusableElments at every tab keydown to fix issue #9130

Fixes #9130
Reload focusableElments at every tab keydown for the tab key to work properly when the content inside the reveal changes after opening.

This looks better to me, having it in the TAB and SHIFT_TAB handlers only will probably only have a small influence on the performance. Thanks for the update.


Add ME Auriga as mega board, update stk500-v2

Hi!
im doing a little research with an Arduino Mega modification called ME Auriga. Looks fine and can upload simple codes, so i add the productId.
Also update the stk500-v2 library to 1.0.2 (its a minor change to fix a bug when is used inside a chrome extension with browserify).
Thanks! 🎄

Coverage remained the same at 44.03% when pulling 39d18cb66c89d4a626c0f3d5efb530e1b05257bd on tocalvo:add-MEAuriga into 55b24ed5d23b8339439e10a3438335c36846c919 on noopkat:master.

hi @tocalvo! Thanks so much for this pull request! I love the Make Block boards, they are so cool! Sorry for taking so long to look at this, but I have merged it and will publish very shortly after the tests have been repaired.

Thanks! The mBot can be programmed on Bitbloq since October, and the Makeblock starter and ranger will be on January!
And available on schools with chromebooks thanks to you and the AVRGirl project! 😄 👍

oh, this is awesome, thanks for letting me know!!


[Bug]: DownloadHelper.VdhCoApp 1.6.3 does not install correctly

Brief description of your issue
DoewnloadHelper.VdhCoApp 1.6.3 installs, but after the installation, the installed version keeps 'unknown', so with the next upgrade --all the program is reinstalled again. The keeps going...
Looks like the installer does not set the correct settings.
Steps to reproduce
install it, and use winget upgrade and you will see this
Name     ID                      Version Verfügbar Quelle
---------------------------------------------------------
VdhCoApp DownloadHelper.VdhCoApp Unknown 1.6.3     winget

Expected behavior
Correct setting of the version and therefore winget is recognizing the version
Actual behavior
The version stays at unknown
Environment
Windows Package Manager (Preview) v1.2.3411-preview
Copyright (c) Microsoft Corporation. Alle Rechte vorbehalten.

Windows: Windows.Desktop v10.0.19044.1466
Paket: Microsoft.DesktopAppInstaller v1.17.3411.0

This is a issue with the Publishers Installer not setting the DisplayVersion string, not WinGet.

Since this is a GitHub package you can open a issue here https://github.com/mi-g/vdhcoapp/issues
@Trenly or @jedieaston can probably submit a PR to fix the installer, however the fix will not be out before the next version.

Thank you for the info. I've created an issue: https://github.com/mi-g/vdhcoapp/issues/118

Hi. I think I found a related problem.
When doing winget upgrade VdhCoApp is updated although having the last version.

Well.. Its the same issue.
Upgrade to WinGet Cli version 1.3.2091

Thanks @OfficialEsco. winget upgrade VdhCoApp does not reinstall the same version.
However, a winget upgrade --all have the following  result
> winget upgrade --all
No installed package found matching input criteria.
1 package(s) have version numbers that cannot be determined. Use "--include-unknown" to see all results.

Bests

Just an update. The --include-unknown option upgrade the app but also without version
$ winget upgrade --all --include-unknown
Failed in attempting to update the source: winget
Name           Id                      Version Available Source
---------------------------------------------------------------
VdhCoApp 1.6.3 DownloadHelper.VdhCoApp Unknown 1.6.3     winget
1 upgrades available.
(1/1) Found VdhCoApp [DownloadHelper.VdhCoApp] Version 1.6.3
This application is licensed to you by its owner.
Microsoft is not responsible for, nor does it grant any licenses to, third-party packages.
Downloading https://github.com/mi-g/vdhcoapp/releases/download/v1.6.3/VdhCoAppSetup-1.6.3.exe
...

$ winget list DownloadHelper.VdhCoApp
Name           Id                      Version Available Source
---------------------------------------------------------------
VdhCoApp 1.6.3 DownloadHelper.VdhCoApp Unknown 1.6.3     winget


Sending chat previews needs to safeguard against pre-1.19 versions of Minecraft

Caused by: java.lang.NoSuchMethodError: 'boolean org.bukkit.Bukkit.shouldSendChatPreviews()'

dev/dev branch:
https://github.com/JorelAli/CommandAPI/blob/c3337c6abdb00848e45e96b3fab909b2cf119d6b/commandapi-core/src/main/java/dev/jorel/commandapi/CommandAPI.java#L204-L216

Fixed in bd9c50e452d241d7dcbbe0c26b345dc6d9264812.


search_source() Function Requires Missing language Parameter in Configuration

https://github.com/google/oss-fuzz-gen/tree/main/data_prep
I have a question about project_src.py ： search_source() function requires five parameters, but the configuration in your configs list only contains four parameters. The missing parameter is language, which is required by the search_source() function but not passed in the configuration.

it seems the language parameter will receive args.result_dir as its value  .

This is by and large because the main function use of search_source has been faced out. search_source is used for benchmark generation and this is primarily done by way of these args https://github.com/google/oss-fuzz-gen/blob/5fbf0a3c9c1e1d22c7be3e888d4633466f575115/run_all_experiments.py#L236-L253 or perhaps the logic from here: https://github.com/google/oss-fuzz-gen/blob/5fbf0a3c9c1e1d22c7be3e888d4633466f575115/data_prep/introspector.py#L1031 (although I personally always use the run_all_experiments.py to generate benchmarks.
We're also trying to face out the use of search_source as it adds a fair amount of overhead for generating benchmarks. The ideal situation is if we push this logic into introspector so we can generate it dynamically on a daily basis. I think the best is to delete the main calling into search_source.


CMP: add support for genm/genp messages with id-it-caCerts

This pertains to the CMP API, the CMP app, the doc, and the tests.
Doing so, found and fixed a bug in gen_new() in cmp_msg.c checking wrong ITAVs.
The CMP client may send a genm message with infoType id-it-caCerts (using option -infotype caCerts)
requesting CA certs, which the server provides in a genp message also with infoType id-it-caCerts.
The client performs sanity checks on the obtained certs and saves them in file given with -cacertsout.
Checklist

[x] documentation is added or updated
[x] tests are added or updated

This PR is in a state where it requires action by @openssl/otc but the last update was 30 days ago

@t8m ok now?

Asking @openssl/committers for 2nd review.

Rebased to fix (trivial) merge conflict in libcrypto.num.
Ping @openssl/committers for 2nd review.

Rebased again to fix trivial merge conflicts.
Asking again @openssl/committers for 2nd review.

This PR is in a state where it requires action by @openssl/committers but the last update was 30 days ago

Can we please get this done now?
2nd approval is missing.

Fixed clashes of two CMP_R codes that came in when rebasing.

@paulidale can you do the 2nd review/approval?

A fairly superficial review, I know nothing about what this is doing...

Thank you @paulidale for anyway doing it!
I've just addressed all comments.

@paulidale can you approve now, given the above changes?

The two CI failures are unrelated.

This PR is in a state where it requires action by @openssl/committers but the last update was 30 days ago

Rebased to fix a merge conflict.

Pinging again @paulidale - ok now?

This PR is in a state where it requires action by @openssl/committers but the last update was 30 days ago

@openssl/committers, looking for a second review some someone with half a clue here.

Thank you @vdukhovni for your review comments.
I've meanwhile addressed all of them.

@openssl/committers, looking for a second review from someone with half a clue here.

I'll leave it to others to approve the PR,
and gauge whether the updated error messages are now sufficiently user-friendly.
I have no further issues to raise.

@paulidale can you approve now, since @vdukhovni is fine with the technical contents?

@vdukhovni has approval permission...

@vdukhovni has approval permission...

@vdukhovni, would you mind approving yourself?
@paulidale appears fine with your remaining concerns, namely the user-friendliness of the (updated) error messages.

Since two weeks we are in a reviewer approval deadlock on this PR.
Can any of the @openssl/committers please help out.

Rebased to fix merge conflicts

@openssl/committers, can we please get the 2nd approval done now?

Thanks a lot @paulidale for jumping in :tada:

24 hours has passed since 'approval: done' was set, but as this PR has been updated in that time the label 'approval: ready to merge' is not being automatically set.  Please review the updates and set the label manually.

Merged - thanks @t8m and @paulidale for your comments and approvals and @vdukhovni for your comments.


Error when building src/3.uart

I've successfully built src/1.startup and run the Image on D1-nezha board. However, there is a problem when building 3.uart.
~/d1-nezha-baremeta/src/3.uart$ make all TOOLPREFIX=riscv64-unknown-elf-
riscv64-unknown-elf-gcc -Wall -O2 -fno-omit-frame-pointer -ggdb -march=rv64gcvxtheadc -mabi=lp64d -mtune=c906 -MD -mcmodel=medany -ffreestanding -fno-common -nostdlib -mno-relax -I. -I printf -fno-stack-protector -fno-pie -no-pie   -c -o printf.o printf.c
cc1: error: unknown cpu 'c906' for '-mtune'
make: *** [<builtin>: printf.o] Error 1

I've successfully built src/1.startup and run the Image on D1-nezha board. However, there is a problem when building 3.uart.
~/d1-nezha-baremeta/src/3.uart$ make all TOOLPREFIX=riscv64-unknown-elf-
riscv64-unknown-elf-gcc -Wall -O2 -fno-omit-frame-pointer -ggdb -march=rv64gcvxtheadc -mabi=lp64d -mtune=c906 -MD -mcmodel=medany -ffreestanding -fno-common -nostdlib -mno-relax -I. -I printf -fno-stack-protector -fno-pie -no-pie   -c -o printf.o printf.c
cc1: error: unknown cpu 'c906' for '-mtune'
make: *** [<builtin>: printf.o] Error 1

you can download Xuantie-900-gcc-elf-newlib from https://occ.t-head.cn/community/download


Does @ErrorResponseProperty work with inheritance?

I would like to define a common base exception that provides an error code for every error response in my application. This is what I've come up with:
public class ApplicationError extends RuntimeException {

  @ResponseErrorProperty("code")
  protected final String useCaseCode;

  public ApplicationError(String useCaseCode, String message) {
    super(message);
    this.useCaseCode = useCaseCode;
  }
}

public class ResourceNotFoundException extends ApplicationError {

  public ResourceNotFoundException(String useCaseCode, Class<?> resource, String resourceId) {
    super(useCaseCode, resource.getSimpleName() + " with id " + resourceId + " not found");
  }
}

Unfortunately the code field is not being serialized. Is that a known limitation of custom error fields?

This is indeed an issue, thanks for reporting. It will be fixed in the next version. You can add a getter method and put it on the method instead of the field as a workaround.

https://github.com/wimdeblauwe/error-handling-spring-boot-starter/releases/tag/4.1.2

It works like a charm now. Thank you very much @wimdeblauwe ❤


Fixed bug with installation

Error: 404 Not Found: cordova-plugin-contacts

This is the way it will work when the tools get updated.
https://www.npmjs.com/package/cordova-plugin-contacts
This pull request is a step backwards, please close.


ClickHouse: Dashboards based on the readonly ClickHouse Playground don't work

Here's my ClickHouse connector YAML:
# clickhouse_playground.yaml
type: connector

driver: clickhouse
host: "play.clickhouse.com"
port: 443
username: play
ssl: true
settings_override: readonly=1 # Am I using this as intended?

I've created the following dashboard:
# hackernews_dashboard.yaml
type: metrics_view

title: Hackernews
connector: clickhouse_playground
table: hackernews

timeseries: time

dimensions:
  - label: Type
    column: type
  - label: By
    column: by
  - label: Text
    column: text
  - label: Url
    column: url
  - label: Title
    column: title

measures:
  - name: total_records
    label: Total records
    expression: COUNT(*)
    format_preset: humanize
    valid_percent_of_total: true

The dashboard is blank with the following error: "clickhouse [execute]:: 500 code: Code: 164. DB::Exception: Cannot modify 'max_execution_time' setting in readonly mode. (READONLY) (version <IP_ADDRESS>72 (official build))\n"

I think this was introduced in this PR : https://github.com/rilldata/rill/pull/5103
The max_execution_time settings is added directly by underlying driver.
The issue is that clickhouse playground is very restrictive and the readonly=1 was sort of a workaround. Now we may be able to circumnavigate around this issue too but longer term but longer term we need to think if we should really continue to support clickhouse playground or not.
cc : @nishantmonu51

IMO it's important to support ClickHouse Playground for demos. At least for dashboards. It's understandable if modeling (i.e. writebacks) is not supported.


Register lock when fetch_all_schemas face idle

Goal
Let user be able to use fetch_all_schemas even if the transaction state is idle
Todo

[x] replace conflict to register lock

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 1 (0.0%)  changed or added relevant line in 1 file are covered.
34 unchanged lines in 1 file lost coverage.
Overall coverage increased (+0.01%) to 98.509%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

storages/sled-storage/src/store.rs
0
1
0.0%

Files with Coverage Reduction
New Missed Lines
%

core/src/executor/aggregate/mod.rs
34
81.82%

Totals

Change from base Build<PHONE_NUMBER>:
0.01%

Covered Lines:
38267

Relevant Lines:
38846

💛  - Coveralls


[META] IngestService needs xContentRegistry for parametized models.

Please describe the end goal of this project
Currently search pipelines is able to pass xContentRegistry
https://github.com/opensearch-project/OpenSearch/blob/35c366ddc794e0600184cf406c06ae65061e28ce/server/src/main/java/org/opensearch/node/Node.java#L1311-L1320
This allows the search response/request processors to handle customized parametrized local models.
However Ingest processors have no way of having this field meaning you can not ingest documents using a model that requires parametrized arguments such as local asymmetric embedding model . The fix would be to have a contentRegistry within the ingestService class
https://github.com/opensearch-project/OpenSearch/blob/35c366ddc794e0600184cf406c06ae65061e28ce/server/src/main/java/org/opensearch/node/Node.java#L937-L946
as well as configuring the Ingest processor Parameters class to have a xcontentRegistry just how the search response/request processors have the field.
Supporting References
Taken  from my comment

https://github.com/opensearch-project/ml-commons/issues/3276#issuecomment-2542684777

Action Items in this change

https://github.com/opensearch-project/ml-commons/issues/3276#issuecomment-2546370843

Issues

[] https://github.com/opensearch-project/ml-commons/issues/3276

Related component
Plugins

@gaobinlong Hey, what do you think of this?

@gaobinlong Hey, what do you think of this?

After checking the original issue in ml-commons plugin and the code, I think it makes sense that we add a construction parameter xContentRegistry to IngestService.


REST API To Validate On-premises Active Directory Users

Hello B2C Team,
How does one apply the seamless migration concept in a situation where the users are located in on-premises Active Directory? I have looked at user credential validation via PowerShell to query directory services but not sure how this can be exposed in a manner that will be leveraged in this case. Or at least not in a manner that will not raise security concerns. I have also looked at the AcquireToken($resource, $clientID,$userCred) but in environments where Conditional Access Policies are in place, users can get blocked if not signing in from managed devices.
In any case, I don't believe I have exhausted all options and will appreciate any help. The resources here and elsewhere talk about the user directory being in some form of DB table in the cloud but nothing around Active Directory on-premises in particular.

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

ID: 3efb0913-3c25-caf7-306b-c1ddd78439fe
Version Independent ID: b262e742-c371-ffb9-108b-67f2f5bbc297
Content: User migration approaches - Azure AD B2C
Content Source: articles/active-directory-b2c/user-migration.md
Service: active-directory
Sub-service: b2c
GitHub Login: @msmimart
Microsoft Alias: mimart

@SB-o-matic Thanks for reaching out. We will investigate and update the thread.

@SB-o-matic  On-premises Active Directory doesn't support REST protocol and uses LDAP for user validation. It is only possible with Azure AD and other DB table in the cloud which supports REST.

Thank you @amanmcse . So what is the recommended pathway in this scenario to migrate users to B2C?

@SB-o-matic  There may be multiple pathways but a convenient and supported way would be to sync On-premise users to Azure AD via AD connect and then do the migration from AAD to AAD B2C.

@amanmcse Please elaborate on how to go about that. Or point me in the direction of documentation that supports migrating from Azure AD.

@vipulsparsh @amanmcse  Please reopen this case as I am yet to get an answer.

@SB-o-matic You need to use Just in time migration for this purpose. Just in time migration flow fits when the user's password is not accessible. For example: Passwords are in HASH format. Or when passwords are stored in an identity provider, which you don't have access. Your system validates user credential by calling an identity provider web service.
just in time migration v1 - In this sample Azure AD B2C calls a REST API that validates the credential, and migrate the account with a Graph API call.
just in time migration v2 - In this sample Azure AD B2C calls a REST API to validate the credentials, return the user profile to B2C from an Azure Table, and B2C creates the account in the directory.

@amanmcse I have seen those samples and both use Azure Tables. You said this can be done with accounts in Azure AD

@SB-o-matic Yes, this can be done for accounts in Azure AD, you need to update the code for that purpose. You can reference the code provided in the documents in my previous comment. You can also export Azure AD users to Azure Tables and use above samples.
If you need any assistance with updating the code, you can engage our consultation services and work with them. I will now proceed with closure of this thread. Feel free to tag me in your reply if you have any question.

@amanmcse Please don't be in a hurry to close a thread without at least getting feedback or allowing some time to pass when you receive none.  You are still missing out the part where accounts in Azure AD are synchronized with no access to password hashes or the hash function. So an export from Azure AD is not the answer for a seamless migration. For a seamless migration in this scenario, how will a REST API that confirms credentials against Azure AD look like? There is nothing in the samples of that nature. Please reopen and engage someone else if necessary.


Tight coupling to Time

I'm wondering why the library strongly relies on time. Imagine the case of dom clicks event stream.
There is no need to introduce concept of time. Another example is the stream of sequential file read. I think time related functions should relies on time. Proposal of the simplified API:
runEffects :: Stream a -> Promise void
periodic :: Scheduler -> Period -> Stream void //order of params prepared for partial application of the common scheduler
at :: Scheduler -> Time -> a -> Stream a

Please correct me if I miss something.

@krzysztofpniak , an event is a time-value pair. That is, the value is emitted on a specific time. This is indeed true for a sequence of DOM clicks.

I want to add that the Most architecture treats everything asynchronously.  Tasks are managed by Schedulers, which provide a central notion of time for the Streams. I would suggest you to read about Schedulers, Time, Tasks and TimeLines.

@Frikki I've read the whole docs before I created this issue. I still don't understand why event is the time-value pair. Are you using timestamps of DOM clicks internally?

A stream is a serious of values over time. For examples:
stream: abc-def->

a occurs at time 0, b at time 1, and c at time 2,
no events occur at time 3,
d occurs at time 4, e at time 5, and f at time 6,
no events occur at time 7,
the pattern continues infinitely, repeating a similar pattern.

As you have already read the docs, it may be a mute point to re-iterate, but for good measure:

An event is a value that occurs at a particular instant in time. For example, a mouse click is an event.
Conceptually, you can think of an event as a (time, value) pair, where the event’s time is just as important as its value. You can’t know the value of a mouse click until the mouse button actually is clicked.

This explains why an event is a time-value pair.

An event stream is a time-ordered sequence of events. For example, all the mouse clicks in a document can be represented as an event stream.
Conceptually, you can think of an event stream as an array of (time, value) pairs. However, whereas an array is ordered by index, an event stream is ordered by its events’ occurrence times. You can’t observe the second mouse click until after you’ve observed the first one.
Event streams may be infinite, finite, or may fail.

I hope that explains.

I forgot to address this question:

Are you using timestamps of DOM clicks internally?

Yes. The type Time is an essential part of Schedulers. It is an instance in time, which can be a world-clock time or virtual time, depending on the Scheduler in use.  You can check the scheduler package’s source files to see how Time is used. For example, see how clock is implemented.

Imagine the case of dom clicks event stream. There is no need to introduce concept of time.

Indeed, with such a source like dom events, the exact physical time of origin is irrelevant since it is not accessible anyway in browsers which just expose low precision timers. (The time resolution is a ridiculously coarse 1msec on CPUs with a GHz clock rate.)
Nevertheless it is valuable for a reactive library to align dom events not just in a time-independent sequence but to assign something time-related with the events.
How else would you combine time effects like rate limiting then?
throttle(50, click(button))


Validation set accuracies (without human36 data)

Hi there,
I just wondered if you could paste validation set accuracies when training from scratch without the human3.6m data...
I ran an experiment over the weekend (50 epochs, batch_size 16, learning rate 3e-4) and get (for example) on up-3d:
Shape Error (NonParam):<PHONE_NUMBER>267133
Shape Error (Param):<PHONE_NUMBER>344197
This is considerably worse than downloaded model file 'data/models/model_checkpoint_h36m_up3d_extra2d.pt' which I assume has also been trained on human36m.
Shape Error (NonParam): 96.80226868738498
Shape Error (Param): 98.1649226233573
Do you think performance without human3.6m data should degrade this much?

Unfortunately I don't have the numbers for that, but the error seems very high. H36M data are crucial to achieve good numbers on H36M  but they should not be crucial to get good results on the "in-the-wild" datasets. How do the results look visually?

Example results:

And loss function which definitely still seems to be decreasing:

Hmm, if these are training set results, then it's still early in training, because both the shape and the alignment is not very good. Can you let it train for double the number of iterations and report the numbers again?


[RFC] Integration with AndroidNN

Problem statement
Our team use mxnet for training and for inference. In recent time we have intention to run inference on Android devices so we compile mxnet using android ndk and it works fine. Now we have intention to accelerate inference on mobile devices using android NN Api which android support since version 8.1. This Api serve as common interface to hardware GPU/Accelerator drivers and provide api in the form of operators ( ANEURALNETWORKS_CONV_2D, ANEURALNETWORKS_AVERAGE_POOL_2D...).
Proposed solutions
My task is to implement a proxy between mxnet and android nn using subgraph api and actually i already on half a way. I already implement selector, subgraph property, register opearator, and impement addition of major operator to android nn model based on partitioned graph. The design is similar to TensorRT subgraph but we don't use onnx as interim. So the question is, is it wise to implement subgraph for running inference on mobile device using framework which initially not have intention to run inference on mobile. I mean mxnet size in apk is about 150 MB that is pretty thick. I use mxnet 1.7. Will there a lightweight version of mxnet in future like TFlite for tensorflow? Also, any suggestions and thoughts about more appropriate solution for our problem are welcome!

I mean mxnet size in apk is about 150 MB that is pretty thick. I use mxnet 1.7. Will there a lightweight version of mxnet in future like TFlite for tensorflow?

It would be nice to have a lightweight version, but no-one is working on it currently. One workaround is to manually delete the operator implementation files that you don't need.

I did a quick set of builds from v1.x using make with different flags and looked at the size of libmxnet.so. Each subsequent row adds new build flags to the previous.

Build Flags
libmxnet.so size [bytes]

None
168573168

+USE_MKLDNN=0
131479368

+USE_INTGEMM=0
131251704

+USE_INT64_TENSOR_SIZE=0
131251704

+USE_CPP_PACKAGE=0 USE_DIST_KVSTORE=0
131251704

+USE_OPENCV=0
130949000

+USE_TVM_OP=0
130949000

+USE_NNPACK=0
130949000

Hi, we've built excluding not used operators and reached ~20MB size. But the main objective is performance. We believe that AndroidNN allows to compute mnxet models on GPU.
The size should be minimal as well, coz a lot of operators just translated to AndroidNN calls.

Using this set of build flags I removed diff sets of ops in v1.x on x86 and measured the libmxnet.so size. Each subsequent row removes additional ops from the previous.
make USE_MKLDNN=0 USE_INTGEMM=0 USE_INT64_TENSOR_SIZE=0 USE_DIST_KVSTORE=0 USE_CPP_PACKAGE=0 USE_OPENCV=0 USE_TVM_OP=0 USE_NNPACK=0 -j

Ops removed
libmxnet.so size [bytes]

top-level src/operator
122415272

quantization
121641000

image
121023728

numpy
77072424

fusion
77031648

tvmop
77031608

nnpack
77031568

custom
76693704

Trying to remove any more from nn or tensor is a fluster cluck, all those are ops are used all over the place in other MXNet sources.

Disentangling MXNet ops would be a good refactoring work. But it would be a lot of work. We may have to do it anyway to satisfy the licensing issue with Apache/Nvidia, so it might be worth doing. But like  @leezu pointed out no-one is currently working on this.

@dmitry-markeshov @AlexanderSerov the other thing you can do is run your subgraphing pass on x86 and remove the operators that will be executed by your custom backend. Then when you load optimized model on android you dont need to have those operators compiled in the mxnet build.

long term what would we want to do to exclude ops from the build? Would we want to do something like this:
https://github.com/samskalicky/incubator-mxnet/commit/f2184ceab711bf1081165d6e0c5dbca958111dae
Where we set a flag like __EXCLUDE_ALL_OPS__ and then set flags specifically for the ops we want to include like __INCLUDE_OP_NORM__

How about we just build and load the ops externally and people can just delete the ones they don't want - based on your external operator system. So we no longer embed them into the main .so file but have them alongside

Yes, currently the structure we have is

operator_name.cc which contains operator definition (+ all the infershape/type etc.) and FCompute<cpu>
operator_name.cu which contains just FCompute<gpu>

We should change that to something like:

src/operator/operator_name.cc which contains all the device independent operator definition
src/operator_impl/cpu/operator_name.cc which contains just FCompute<cpu>
src/operator_impl/cuda/operator_name.cu which contains just FCompute<gpu>

This would make it possible to have a subgraph backend replace whatever they need, as all the operator definitions would still exist. And I agree, together with the external ops functionality we could make it so libmxnet.so contains just the operator definitions, while separate .so would contains the actual implementations for different platforms.

How much of the binary size comes from FCompute and associated functions versus the other Operator functions (attribute parsing, inputs/outputs, shape/type/storageType inference, etc)? Any guesses?

I did not do any experiments, but I would be very surprised if it is not at least 50% - you only have a few very small functions for all the infers, while you need at least 8 variants for MSHADOW_TYPE_SWITCH, and especially on the NumPy side there are functions that use those switches nested (so 64+ variants), not to mention that those functions tend to be larger.

Hi folks. I have a question to mxnet team related to previous talk. In our design of androidnn we approach a situation when we need to pass devices to androidnn backend. Usually, other backends (mkl, tensort) get a device through Context. The problem is context support limited list of devices (CPU,GPU). On the other hand, androidnn support other set of devices (cpu, gpu, npu...) with indexes specific to android and acquired via android ANeuralNetworks_getDevice api. So we need custom context and we have choices: 1) Modify existing Context by adding additional fields and defining a preprocessor flag MXNET_USE_ANDROIDNN in CMake. So if user pass USE_ANDROIDNN option to CMake he will use a custom context. This solution motivated by the fact that if there is a structure for passing devices - we should use it. Previous backends feel comfortable with provided set of devices, now, it's time to add support for new devices. 2) The second option is to pass all custom options, including device name and id, through MXOptimizeForBackend api which support options_map which was designed for passing custom options to backend and we can use it by passing all custom info required. Then use it when partition graph by adding a custom device to each subgraph as node attribute. Further, based on attribute, we will create a model in backend for a device based on this field. Thank you for response!

Hi @AlexanderSerov great question, let me try and break it down.

In our design of androidnn we approach a situation when we need to pass devices to androidnn backend. Usually, other backends (mkl, tensort) get a device through Context. The problem is context support limited list of devices (CPU,GPU). On the other hand, androidnn support other set of devices (cpu, gpu, npu...) with indexes specific to android and acquired via android ANeuralNetworks_getDevice api.

Contexts in MXNet are chosen by users with the expectation that they can run their whole model with any particular context. The MXNet community has worked hard to maintain parity between CPU and GPU contexts so that the majority of models can be executed on either context successfully. A Context in MXNet needs to be able to support executing all currently supported operators.
How operators are implemented (custom C++, BLAS libraries, or custom NN libraries like MKL) is not visible at the context level, rather these are build-time configurations. For example, an MXNet user will use the same CPU context whether or not they use MKL or OpenBLAS as the BLAS library or whether they choose to use MKLDNN/oneDNN. We consider this a huge usability feature in MXNet, rather than having many contexts to enable each feature. Most users will find the build config that works best for them and stick to that. Having a single build with all those features enabled is not what most users want, inevitably they end up trying to minimize space on disk/device memory and try and reduce the size of the MXNet binary (like our previous discussion above).

So we need custom context and we have choices:

Modify existing Context by adding additional fields and defining a preprocessor flag MXNET_USE_ANDROIDNN in CMake. So if user pass USE_ANDROIDNN option to CMake he will use a custom context. This solution motivated by the fact that if there is a structure for passing devices - we should use it. Previous backends feel comfortable with provided set of devices, now, it's time to add support for new devices.

In general adding new build flags to enable custom backends in MXNet is acceptable, especially in the case where the flag would only be enabled for a particular platform (ie. ARM or Android). Adding support for new backends that would be generally applicable for all CPU types requires much more careful consideration and testing.

The second option is to pass all custom options, including device name and id, through MXOptimizeForBackend api which support options_map which was designed for passing custom options to backend and we can use it by passing all custom info required. Then use it when partition graph by adding a custom device to each subgraph as node attribute. Further, based on attribute, we will create a model in backend for a device based on this field.

Amazon is using this 2nd option for its implementation of custom backends for the Inferentia and Elastic Inference Accelerator (EIA) devices, and also for its integration of TVM compilation for MXNet models in the SageMaker Neo service. This is the preferable way to get started. It will allow you to build your custom backend, easily stay current with MXNet versions (upgrading between versions with MXNet extensions is way easier than upgrading a custom fork of the whole MXNet codebase), and simplify your distribution of your custom backend with MXNet.
The MXNet community is currently reconsidering how MXNet has been architected for a variety of reasons (licensing issues, maintainability, etc) and looking to make the codebase more modular. So having a module backend is future-proofing your efforts as well. And it doesnt limit your contribution either, if your custom backend becomes popular you can always start a discussion on making your custom backend a default part of the MXNet codebase in the future.

Bonjour,
Je vous contacte car javais noté un échange avec vous courant décembre 2022
afin de faire le point sur vos besoins informatiques (prestation et
recrutement) pour les mois à venir.
Avez-vous un moment à maccorder à ce sujet ?
Je vous remercie,
Cordialement,
Caroline Revin
IT Resourcer
Prestation et Recrutement
24 rue Poncelet
75017 Paris
@.>
@.

Bonjour,
Je vous contacte car javais noté un échange avec vous courant mai 2023 afin
de faire le point sur vos besoins informatiques (prestation et recrutement)
pour les mois à venir.
Avez-vous un moment à maccorder à ce sujet ?
Je vous remercie,
Cordialement,
Caroline Revin
IT Resourcer
Prestation et Recrutement
24 rue Poncelet
75017 Paris
@.>
@.

Bonjour,
J'avais noté de vous contacter en juillet 2023 afin d'échanger avec vous au sujet de vos éventuels besoins informatiques.
Auriez vous un moment à m'accorder que nous puissions échanger à ce sujet ?
Aussi, voici une présentation client
Cordialement,
Thibault Duval
Artin Consulting
62 rue Smith
69002 LYON
FRANCE
Skype ID : thibaultduvalthibaultduval
<EMAIL_ADDRESS>www.artin-consulting.comhttp://www.artin-consulting.com/
Closed #19521 as not planned.
--
Reply to this email directly or view it on GitHub:
https://github.com/apache/incubator-mxnet/issues/19521#event-7671464763
You are receiving this because you are subscribed to this thread.
Message ID: @.***>


Solution: Storage Implementation

Pull Request Test Coverage Report for Build 7

0 of 59 (0.0%) changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 0.0%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

lib/quantum_storage_ets.ex
0
59
0.0%

Totals

Change from base Build 5:
0.0%

Covered Lines:
0

Relevant Lines:
59

💛  - Coveralls

Pull Request Test Coverage Report for Build 7

0 of 59 (0.0%) changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 0.0%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

lib/quantum_storage_ets.ex
0
59
0.0%

Totals

Change from base Build 5:
0.0%

Covered Lines:
0

Relevant Lines:
59

💛  - Coveralls


Bad Performance

I have downloaded the deeplabv3plus_xception_VOC2012_epoch60_all.pth，but the val result is only 0.032. Do you know what happened?

I get same issue ! And found when i try net.eval() ,the performance will be bad, but I get good performance with code "with torch.no_gard()"
So? Is some issue in BN?


Skip withMutation for ObservableState when identity is unchanged

@todd-weidler Thanks for exploring this idea! I'm going to close since we probably won't have time to explore for some time, but if you'd like to start a discussion in the TCA repo that links to this PR/branch, that'd be a good place to have a conversation about things.


Sort "list" fields before compare

Use ETL string-list compare for phousergroup and similar attributes
Expected behavior: 'A;B' == 'B;A'

nicht wichtig


New hierarchy of integers

Description
Introduce a new hierarchy of integers in the kotools.types.number package with the following types:

AnyInt representing all integers
NonZeroInt representing integers other than zero
PositiveInt representing positive integers
NegativeInt representing negative integers
StrictlyPositiveInt representing strictly positive integers
StrictlyNegativeInt representing strictly negative integers
ZeroInt representing the zero integer.

Code example
sealed interface AnyInt
sealed interface NonZeroInt : AnyInt
sealed interface PositiveInt : AnyInt
sealed interface NegativeInt : AnyInt
class StrictlyPositiveInt : NonZeroInt, PositiveInt
class StrictlyNegativeInt : NonZeroInt, NegativeInt
object ZeroInt : PositiveInt, NegativeInt

Checklist

[x] Design the hierarchy.
[x] Implement the ZeroInt type.
[x] Implement the StrictlyPositiveInt type.
[x] Implement the StrictlyNegativeInt type.
[x] Implement the NonZeroInt type.
[x] Implement the PositiveInt type.
[x] Implement the NegativeInt type.
[x] Make all types serializable.
[x] Make all types comparable with an AnyInt.
[x] Remove the old types from the kotools.types package.
[x] Refactor.
[x] Update Work in progress section in changelog.

Done.

Replace existing builders of all types of this hierarchy like the builders of NotBlankString.

Make the following types serializable:

[x] ZeroInt
[ ] AnyInt.

Update the serialization of the following types:

[x] StrictlyPositiveInt
[x] StrictlyNegativeInt
[x] NonZeroInt
[ ] PositiveInt
[ ] NegativeInt.


fix eth_accounts calls on localNetwork

Description
Since we have localWalletClient as use effect dependency we get lot of eth_accounts because of this line : https://github.com/scaffold-eth/scaffold-eth-2/blob/6370b4c49440f4aab7eff6896b43d814d6d01650/packages/nextjs/components/scaffold-eth/Faucet.tsx#L35
You can easily notice lot of eth_accounts while using SE-2 through CLI but for some reason on main it sometimes doesn't happens directly and if you add console.log("This is localWalletClient", localWalletClient) below the above permalink it will start making eth_accounts (😅 even I am confused about this behavior on main but I noticed on it on main)
Nevertheless, I think it makes  sense not to pass objects as dependency to useEffect
Solution :
Move localWalletClient outside of the component this we don't need to pass it as a dependency.
JSON.stringify doesn't work because uid is changing in  localWalletClient
{"chain" :  ........... "uid":"0f45556b091"}

Good job! 👍
Please do the same for <FaucetButton /> or use the same wallet client if possible

Please do the same for  or use the same wallet client if possible

I think we are not using useEffect in FaucetButton 😅 but moved localWalletClient outside the component at  9426ba2  🙌

yes, but it created new client on every render :)

This fixes it! Since createWalletClient is not a hook I guess we are not supposed to use it as a dep because it changes every render.
Thank all!


Feature Management and Validation

This PR adds:

a new subgraph manifest validation step which checks that no undeclared feature is in use;
a new graphQL endpoint that receives a subgraph Qm-hash and returns  a list of its detected features or a list of undeclared features.

TODO:

[X] Condition feature validation to a specific specVersion, I'll do that now.
[ ] Should we remove/refactor any code that dealt with feature management before, such as this?

@leoyvens, two things:

I forgot to condition feature validation to a specific specVersion, I'll do that now.
I'm not sure if we should remove/refactor any code that dealt with feature management before, such as this.

@tilacog Is this missing tests? What will be the testing strategy for this? I think unit tests might work fine.

Yes, there should be tests.
I think we could reuse the subgraphs we already have defined for integration tests here... and even writing new subgraphs to test new features as well.

@tilacog What about the error message returned to graph-cli? We should make sure an informative message is being returned by the deploy json-rpc and is being printed by graph-cli.

@tilacog What about the error message returned to graph-cli? We should make sure an informative message is being returned by the deploy json-rpc and is being printed by graph-cli.

I'll link a companion PR for graph-cli in this PR's description, and vice-versa.


Transition to Gitlab's api/v4

Report
Currently, danger-gitlab uses api v3 which is deprecated and gonna be dropped:

API V3 will be removed in GitLab 9.5, to be released on August 22, 2017

What did you expect to happen?
Transition to api v4
Gitlab gem has been already supporting it since 4.0.0

Totally agree

Sure, want to take a look? I'm not sure what's required on our side.
On Jul 14, 2017 08:47, "Fedor Lukyanov"<EMAIL_ADDRESS>wrote:

Totally agree
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/danger/danger/issues/860#issuecomment-315351065, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAC_jvVLOZirjJT683UbJ9sLLqcDRg4Aks5sN2NjgaJpZM4OYFvH
.

Firstly, use proper ids (iids?) from gitlab for MRs.
Full docs here: https://docs.gitlab.com/ce/api/v3_to_v4.html

Here pr to solve this.


⚠ Turnos 24x7 has degraded performance

In 73df1ea, Turnos 24x7 (https://reservas-dev.alternativasinteligentes.com/) experienced degraded performance:

HTTP code: 200
Response time: 5989 ms

Resolved: Turnos 24x7 performance has improved in 32f700e.


neutrinorpc: add getblockhash

The pr adds the ability to get a header hash of a block at a given block height from the neutrino sub-server.

@bhandras Could you please review this.

This is my first time reviewing an LND PR, but I can utACK it for now. If I get time i can test it soon(tm).

@yyforyongyu If you have time; could you please review this.

@yyforyongyu Thanks for review!
I can look into adding itests. Haven't looked into it yet. In that case I would it to all the functions in the sub-server in a separate PR.
"Looks like the new rpc is only used in cli right?" Not sure what you mean.

@yyforyongyu Will add itests when this is merged.

@yyforyongyu The method is accessible from both CLI and REST to answer your question. Just added access to them in the different commits which is a bit confusing.

@erikek, remember to re-request review from reviewers when ready

@guggero Maybe this can make it into 0.15.1?


Blurry Taskbar Icons

Eel version
Current latest version
Describe the bug
The icon displayed in taskbar is too blurry even I am using the 512x512px .ico image

I got the same problem and couldn't be able to solve it yet.

same

What OS? Windows 10?

Yes, it was Windows 10.

I have the same problem. Has a solution been found?


directory specific .tmuxinator.yml not allowing launch of any other project

if .tmuxinator.yml is present in a directory mux s another_project doesn't work but launches the directory's configuration only.
The only way to launch other config is to change the directory to one where .tmuxinator.yml isn't present.
PS: If someone can confirm that this is a valid issue, I can work on fixing it.

I can confirm that this is the case. Interestingly, it only happens when using the "s" alias; "start" works as expected.


TypeError: can't pickle _thread.RLock objects

When I use this command to test Lvis,
./scripts/dist_test.sh ./configs/refinemask/lvis/r50-refinemask-1x.py ../VOS_Model/mmdet/r50-lvis-1x.pth 8 --eval segm`

the following error occurred:
Traceback (most recent call last):
  File "/mnt/SSD/RefineMask/tools/test.py", line 152, in <module>
    main()
  File "/mnt/SSD/RefineMask/tools/test.py", line 137, in main
    outputs = multi_gpu_test(model, data_loader, args.tmpdir, args.gpu_collect)
  File "/mnt/SSD/RefineMask/mmdet/apis/test.py", line 92, in multi_gpu_test
    for i, data in enumerate(data_loader):
  File "/home/anaconda3/envs/VOS/lib/python3.6/site-packages/torch/utils/data/dataloader.py", line 291, in __iter__
    return _MultiProcessingDataLoaderIter(self)
  File "/home/anaconda3/envs/VOS/lib/python3.6/site-packages/torch/utils/data/dataloader.py", line 737, in __init__
    w.start()
  File "/home/anaconda3/envs/VOS/lib/python3.6/multiprocessing/process.py", line 105, in start
    self._popen = self._Popen(self)
  File "/home/anaconda3/envs/VOS/lib/python3.6/multiprocessing/context.py", line 223, in _Popen
    return _default_context.get_context().Process._Popen(process_obj)
  File "/home/anaconda3/envs/VOS/lib/python3.6/multiprocessing/context.py", line 284, in _Popen
Traceback (most recent call last):
  File "/mnt/SSD/RefineMask/tools/test.py", line 152, in <module>
    return Popen(process_obj)
  File "/home/anaconda3/envs/VOS/lib/python3.6/multiprocessing/popen_spawn_posix.py", line 32, in __init__
    super().__init__(process_obj)
  File "/home/anaconda3/envs/VOS/lib/python3.6/multiprocessing/popen_fork.py", line 19, in __init__
    self._launch(process_obj)
  File "/home/anaconda3/envs/VOS/lib/python3.6/multiprocessing/popen_spawn_posix.py", line 47, in _launch
    reduction.dump(process_obj, fp)
  File "/home/anaconda3/envs/VOS/lib/python3.6/multiprocessing/reduction.py", line 60, in dump
    main()
    ForkingPickler(file, protocol).dump(obj)
  File "/mnt/SSD/RefineMask/tools/test.py", line 137, in main
TypeError: can't pickle _thread.RLock objects

Have you ever encountered this problem?

When I use this command to test Lvis,
./scripts/dist_test.sh ./configs/refinemask/lvis/r50-refinemask-1x.py ../VOS_Model/mmdet/r50-lvis-1x.pth 8 --eval segm`

the following error occurred:
Traceback (most recent call last):
  File "/mnt/SSD/RefineMask/tools/test.py", line 152, in <module>
    main()
  File "/mnt/SSD/RefineMask/tools/test.py", line 137, in main
    outputs = multi_gpu_test(model, data_loader, args.tmpdir, args.gpu_collect)
  File "/mnt/SSD/RefineMask/mmdet/apis/test.py", line 92, in multi_gpu_test
    for i, data in enumerate(data_loader):
  File "/home/anaconda3/envs/VOS/lib/python3.6/site-packages/torch/utils/data/dataloader.py", line 291, in __iter__
    return _MultiProcessingDataLoaderIter(self)
  File "/home/anaconda3/envs/VOS/lib/python3.6/site-packages/torch/utils/data/dataloader.py", line 737, in __init__
    w.start()
  File "/home/anaconda3/envs/VOS/lib/python3.6/multiprocessing/process.py", line 105, in start
    self._popen = self._Popen(self)
  File "/home/anaconda3/envs/VOS/lib/python3.6/multiprocessing/context.py", line 223, in _Popen
    return _default_context.get_context().Process._Popen(process_obj)
  File "/home/anaconda3/envs/VOS/lib/python3.6/multiprocessing/context.py", line 284, in _Popen
Traceback (most recent call last):
  File "/mnt/SSD/RefineMask/tools/test.py", line 152, in <module>
    return Popen(process_obj)
  File "/home/anaconda3/envs/VOS/lib/python3.6/multiprocessing/popen_spawn_posix.py", line 32, in __init__
    super().__init__(process_obj)
  File "/home/anaconda3/envs/VOS/lib/python3.6/multiprocessing/popen_fork.py", line 19, in __init__
    self._launch(process_obj)
  File "/home/anaconda3/envs/VOS/lib/python3.6/multiprocessing/popen_spawn_posix.py", line 47, in _launch
    reduction.dump(process_obj, fp)
  File "/home/anaconda3/envs/VOS/lib/python3.6/multiprocessing/reduction.py", line 60, in dump
    main()
    ForkingPickler(file, protocol).dump(obj)
  File "/mnt/SSD/RefineMask/tools/test.py", line 137, in main
TypeError: can't pickle _thread.RLock objects

Have you ever encountered this problem?

I'm so sorry about this issue. I encountered this recently, and I found it is caused by the 'self.logger' in the LVIS-api.
Just remove the variable 'self.logger' can avoid this problem. I did not encounter this before, so I thought there was something wrong with your environment and did not respond to you.


impruve reconsidderation of Watches, Asingments, etc .. if user was removed as collaboration or from team

continue #5676
fix #5673
Include  #11003

THIS is ready for review

Codecov Report

Merging #10997 into master will decrease coverage by 0.04%.
The diff coverage is 42.85%.

@@            Coverage Diff             @@
##           master   #10997      +/-   ##
==========================================
- Coverage   43.40%   43.36%   -0.05%
==========================================
  Files         597      597
  Lines       84527    84547      +20
==========================================
- Hits        36692    36661      -31
- Misses      43311    43364      +53
+ Partials     4524     4522       -2

Impacted Files
Coverage Δ

models/repo_collaboration.go
54.59% <33.33%> (-2.46%)
:arrow_down:

models/repo_permission.go
73.80% <100.00%> (+0.20%)
:arrow_up:

services/pull/check.go
38.41% <0.00%> (-17.08%)
:arrow_down:

models/repo_mirror.go
2.12% <0.00%> (-10.64%)
:arrow_down:

modules/queue/unique_queue_disk_channel.go
53.84% <0.00%> (-1.93%)
:arrow_down:

services/mirror/mirror.go
18.75% <0.00%> (-0.66%)
:arrow_down:

models/pull.go
42.30% <0.00%> (-0.56%)
:arrow_down:

models/gpg_key.go
53.42% <0.00%> (-0.53%)
:arrow_down:

services/pull/temp_repo.go
31.62% <0.00%> (ø)

modules/log/event.go
65.64% <0.00%> (+1.02%)
:arrow_up:

... and 1 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update b252b23...b319904. Read the comment docs.

@zeripath

"...watches etc ..." -> https://github.com/go-gitea/gitea/pull/11003
similar for teams I'll do this in another pull after this got merged (generalized the function for this)

It might be better to just move them all in to this. They're all related.

@zeripath done

ping

Thanks a lot mate. Really appreciated.


Error C2664

I add all necessary files and configure project.
Visual Studio Community 2019 (version 16.10)

I'm not familiar with these Sputnik letter and cannot infer what you are trying to report? We know the project does compile on Windows, so you'll have to solve your end.


Feat: Add Proof of Inclusion Plugin

Description of change

Added tool to download PoI.json file on Block page
Added Proof of inclusion plugin to validate PoI file
Refactored Participation and Spammer plugins to utilise Plugin Service as used in Poi plugin.

Resolves https://github.com/iotaledger/node-dashboard/issues/102 .
Type of change

Enhancement (a non-breaking change which adds functionality)

Change checklist

[x] My code follows the contribution guidelines for this project
[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[x] I have made corresponding changes to the documentation
[ ] I have added tests that prove my fix is effective or that my feature works
[x] New and existing unit tests pass locally with my changes

With node-docker-setup + local node-dashboard environment, when i click

on a block, there's an error in console

Is it supposed to work with this setup, or only with embedded dashboard ?
Navigating to that resource returns:
{"error":{"code":"400","message":"missing or malformed jwt, error: code=400, message=missing or malformed jwt"}}
Maybe i skipped some JWT configuration somewhere ?
But i'm logged into dashboard so i guess it should have a JWT.

Tha lates inx-dashboard doesnt have poi routes exposed and that will be fixed in the next release. You can test using the branch feat/popi.


horizon

i try build horizon but i have errors. Please help me, my friends :)
issue
https://travis-ci.org/stellar/horizon/jobs/350571522#L601
source:
https://github.com/openbankit/horizon
system:
Debian9

Looks like it's failing to find the exact commit of one of the
dependencies; maybe updating that one to a more recent commit would work?
Have you verified that the offending package still exists and wasn't yanked
or moved?

all packages exist and they are the latest :(
https://github.com/openbankit/horizon/blob/master/vendor/manifest

The build job you posted is building from https://github.com/stellar/horizon/blob/master/vendor/manifest, and the reference it's failing on is commit ff4a55a20a86994118644bbddc6a216da193cc13, which is from https://github.com/visionmedia/go-debug, which only has a single commit, and ff4a55a20a86994118644bbddc6a216da193cc13 is not the reference for it.

Yesssss ! Thanks @tianon  :)


Create codeql-analysis.yml

Setup https://codeql.github.com/docs/codeql-overview/ Action on the repository

Going to merge, and we can address the failing check (due to this added CodeQL analysis is working!) later on.


reset and initial props doesn't work with useTransition

Seems like reset and initial props doesn't work with useTransition as expected. Try to comment out it here. I guess, bug with initial prop related to wrong initial state at this line https://github.com/react-spring/react-spring/blob/f938b667860da1ace2f13523ea7aae5a9ba2a320/src/hooks/useTransition.js#L146

Please provide a CodeSandbox if this is still an issue. Thanks! 👍

What is reset: true supposed to do when used with useTransition and initial: null?
Here's an updated sandbox: https://codesandbox.io/s/7j60194o26

Fixed in #632 🎉
When reset is true, all items will repeat their enter transition.

Fixed in #632 🎉
When reset is true, all items will repeat their enter transition.
The initial transition never repeats, even if reset is true.


How do you do the following exactly?

How do you do the following exactly? I'm so lost especially on where to put "pod 'MicrosoftAzureMobile', '~> 3.4.0'" and how to select the active scheme option.
how to select the active scheme option.  Whenever I perform "pod 'MicrosoftAzureMobile', '~> 3.4.0'", it says [!] Unknown command: MicrosoftAzureMobile,.
Integration Using CocoaPods
Add the following to your podfile to include MicrosoftAzureMobile:
pod 'MicrosoftAzureMobile', '~> 3.4.0'
Building the SDK
Set the active scheme option to Framework\iOS Device.
Build the project using Command-B. The WindowsAzureMobileServices.framework folder should be found in the build output folder under Products<build configuration>-iphoneos

Hey, @oscarrod5, can you elaborate a bit, I am not sure I understood correctly.
But, in case I got you right and the question is about integrating Azure Mobile via CocoaPods, then you might want to look at those:

Getting started with CocoaPods - how integration through cocoapods work (basically, creating textfile named Podfile, adding dependencies in format CocoaPods accepts, and running pod install)
Podfile format - description of the Podfile and what CocoaPods expect to find there
Integration steps - how to integrate Azure Mobile in specific (which seem to have been unclear to you).
Hope that helps.

Hey, @oscarrod5!
We haven't heard from you in a while, so I am going to close this conversation. Should you still have any questions, please contact us again.


Vulkan captures are not portable cross-vendor

Here's a straightforward dump, taken on Windows:
http://www.ppsspp.org/unofficial/burnout.rdc
I've sent it to someone using RenderDoc on Linux, and it crashes trying to load it.
Is cross platform dump compatibility expected?

Vulkan captures are generally not portable between even different hardware on the same platform. Things like memory type index selection and allocation offset/requirements are baked into the capture, so it won't replay correctly on a different driver that reports different memory types or requirements for resources.
You might be lucky if you capture and replay on similar nvidia GPUs, since it's the same driver on both windows and linux.
In future I'm hoping I can add some system to remap memory types, and report worst-case requirements (regardless of what the implementation reports) for resources, so that captures made on one system can be replayed on a different system. It's not a trivial issue to solve though, and until then vulkan captures are generally not portable.

Noted, makes sense.
It could be nice to bake the driver name and version into the file, and check it on load, warning the user to expect failures if they don't match the local GPU. Just UX sugar though.

The physical device params are stored, but that doesn't always mean the capture is incompatible. E.g. nv's drivers seem to be largely compatible up and down several GPU families.
Latest code on v1.x branch should at least check to see if any memory requirements are violated on replay and will gracefully fail instead of crashing - that is by far the most common cause of problems at least.

Ah, that sounds good. Thanks!

Maybe it should be possible to have some "restricted mode" when no replay is available, at least viewing the API call list and buffer states is helpful for remote debug.

I don't know what you mean by 'buffer states', but you can export the capture to XML on any machine even if you can't replay, though it's not the most user friendly way to list all the API calls.
Viewing the calls in the normal UI won't be possible as the core replay code that populates the view of the capture is intrinsically linked to being able to replay the API calls, it's not feasible to separate the two.

I see, at least there is XML


Scalability

Does not seem to be scalable

In what way? We are currently running a few instances of nocode for a userbase of around 1 million users and we are having no problems at all.

Last I checked, there are over 7 billion daily users of nocode.

To double the number of nocode containers, just run:

with your Amazon AWS or Google Cloud credentials. It scales pretty well.


Docker tags

For anyone who wants to use this "in production" it would be nice if you would provide actual release tags with the images published to hub.docker.com :)

This is already the case, maybe partially.
Every commit is a tag in docker hub, here
Latest image is built with buildx for multiple architectures and every commit has its own image with the commit hash as a tag.
Its not the perfect but im not a developer and don't really know when should i make a "release", every commit is a release for the moment.
Fill free to suggest / help if you want to dig more into this code / image management


[IterativeClosestPoint]: transformation matrix is saved inside dataset to be used in mesh manipulation toolbox

add the icp transformation matrix inside a field data

https://i.kym-cdn.com/entries/icons/original/000/027/838/Untitled-1.jpg


Broken md links: models in subdirectories

In model-level rules, the path is currently constructed as ...files/${modl_name}.model.lkml . Need to switch to using full file path for subdirectory support

Wontfix for now as the md format is less of a focus as of v2


Odd results when using Lunr v2.3.0 with lunr-languages

Hi Oliver,
while porting Lunr.py to include the recent changes in Lunr v2.3.0 I noticed a big difference between the results when using lunr-languages on the same corpus from v2.2.1 and below.
I put together a couple of codesandboxes to showcase the issue, on both I'm using the same corpus of spanish documents and searching for the same term "imperio":

Using v2.3.0
Using v2.2.1

Note both the order and the scores are different. The difference in the scores is to be expected, but the order of the documents what's interesting. Here's a summary of the term presence in the corpus:

e contains the term in the title and 2 times in the body
d contains the term 3 times in the body
f and g contain the term once in the body

v2.2.1 returns e, d, f, g.
v2.3.0 returns d, f, g, e.
Note e scores last on v2.3.0 which is unexpected.
The results in English between the the Javascript and Python versions still match closely in v2.3.0, it's only when using language support that they diverge. Lunr.py targetting v2.3.0 with language support returns results closer to v2.2.1:
{'ref': 'd', 'score': 1.047, 'match_data': <MatchData "imperi">},
{'ref': 'e', 'score': 0.738, 'match_data': <MatchData "imperi">},
{'ref': 'f', 'score': 0.732, 'match_data': <MatchData "imperi">},
{'ref': 'g', 'score': 0.679, 'match_data': <MatchData "imperi">}

Though I'm not sure why e scores so low.
/cc @MihaiValentin

Glad you liked the test data 😄  I figured it'd be easier to understand the text if it was something familiar.
You're right, turns out I expected the stemmer to turn imperial and imperiales, the two instances in e, to imperi which is the stem of imperio, turns out it doesn't, hence e scoring lower.
After tracing both versions it appears the changes in Vector.similarity make up for all the difference, given that the results in v2.3.0 are actually more coherent I'm going to close this.
Thanks for your help 🙂

Yeah, I think the way the similarity method worked before was probably wrong. I mean, it worked, but made boosts, either at query-time or build-time, mostly ineffective.
I'm glad the new scoring/ranking seems to be more coherent, let me know if anything else crops up while your upgrading Lunr.py.

That was the only “issue” actually, everything else went smoothly. Just released 0.4.0 targeting Lunr.js 2.3.0 🙂


Error handling in Novel Info Screen

I downloaded 2 novel, was reading first novel and currently unable to open the offline reader.
First novel : Unable to open and read normally
Second novel : Able to open and read normally
Work around : using history to continue reading the novel.
What it shows :

Can you provide the source, novel and chapter name and steps to reproduce it.

Can you provide the source, novel and chapter name and steps to reproduce it.

Source : ReaLightNovel(Not very sure)
Novel : My Vampire System
Chapter : 500++
Steps to reproduce :
Open "My Vampire System" Novel via the main page(Library)
Stuck at splash screen
Quit the app
Open another novel via the Library page and went to the chapter selection page.
Do you need a video of it?

It's probably happening because ReadLightNovel is currently  broken.
Does it also happen for novels from other sources?

It's probably happening because ReadLightNovel is currently broken.
Does it also happen for novels from other sources?

Nope. It does not happen for my other novel that i downloaded via other source.
It doesnt make sense since the novel I read is downloaded offline, even if the source server is down or broken, it shouldnt show the current bug?
Anyway please at a look at the video.
https://youtube.com/shorts/jU7rBBJRDeg?feature=share

It doesnt make sense since the novel I read is downloaded 8s currently in offline mode, even if the source server is down or broken, it shouldnt show the current bug?

Yep, I should add better error handling on that screen so that even if a source is broken it should not make the app crash.

It doesnt make sense since the novel I read is downloaded 8s currently in offline mode, even if the source server is down or broken, it shouldnt show the current bug?

Yep, I should add better error handling on that screen so that even if a source is broken it should not make the app crash.

Oh wow... You really have got great understanding...
Thank you so much!!!

This issue might be resolved in v2 app


Add support for submenus

Add support for submenus to simplify the menu structure of the Git extensions '...' menu.

See #9827
I'd particularly like https://github.com/microsoft/vscode/issues/9827#issuecomment-619989638 to be catered for in the new API, so an extension can contribute a submenu whose contents are computed at display-time.

Syntax proposal:
{
	"contributes": {
		"menus": {
			"scm/title": [
				{
					"command": "git.commit",
					"group": "navigation"
				},
				{
					"submenu": "git.stage",
					"group": "navigation"
				}
			],
			"git.stage": [
				{
					"command": "git.stageAll",
					"group": "navigation"
				},
				{
					"command": "git.stageUntracked",
					"group": "navigation"
				}
			]
		},
		"submenus": [
			{
				"id": "git.stage",
				"label": "Stage"
			}
		]
	}
}

Syntax proposal:

@joaomoreno Maybe extend the syntax of submenus contribution to support submenus that call the extension at display-time to obtain their contents.

That will definitely not be in there for the first iteration. That should even be generalized for regular menus.

@jrieken Added the icon property in the submenus contribution, in order to make submenus work in toolbars. 👍

Re-opening for the finalisation process...

@jrieken I had this one created: https://github.com/microsoft/vscode/issues/103946
I leave it up to you to decide which one to keep. I won't be able to work in finalizing it since I'm out in August so after choosing the issue, pick one option:

Keep it in August and assign someone else;
Move it to September and assign myself.

I leave it up to you to decide which one to keep.

The newish flow is to have a single item that can followed through out the phases of idea, proposal, and finalization. September is good for me

When will submenu apis be stable?

With the next upcoming stable release: September 2020.

Verification
This new API should be usable without the proposed flag!

Is it possible to change the Submenu via Code? (= alter the Package.json?)


React rewrite

This is an initial Rewrite to using React as the Frontend Interface.
It is in a fairly clean state, but needs some work on the UX, @AngusP will need to talk to me so that we can coordinate on that. In the meantime, we have a half working interface.
what are people's opinions on squashing commits? because I'm quite keen.
apologies for such a large pull request, some of it just needed rewriting

!checked


Exiting: error loading config file: config file ("filebeat.yml") can only be writable by the owner but the permissions are "-rwxrwxrwx"

I don't know if this is a Windows-specific error but when running this, the filebeat container fails with the following error:
Exiting: error loading config file: config file ("filebeat.yml") can only be writable by the owner but the permissions are "-rwxrwxrwx" (to fix the permissions use: 'chmod go-w /usr/share/filebeat/filebeat.yml')

The same thing applies to the metricbeat container
Exiting: error loading config file: config file ("metricbeat.yml") can only be writable by the owner but the permissions are "-rwxrwxrwx" (to fix the permissions use: 'chmod go-w /usr/share/metricbeat/metricbeat.yml')

A workaround for this is to add the command: --strict.perms=false -e line in the docker-compose.yml file for each one of the "problematic" containers,
Would you be interested in a PR with such fix?

Sane issues on ubuntu, so its not windows specific error:
elk-metricbeat01-1  | Exiting: error loading config file: config file ("metricbeat.yml") must be owned by the user identifier (uid=0) or root

Same topic as in issue https://github.com/elkninja/elastic-stack-docker-part-one/issues/4

implemented the strict-perms for filebeat and metricbeat - albeit broken at first - but now fixed! 😄

implemented the strict-perms for filebeat and metricbeat - albeit broken at first - but now fixed! 😄


flclash: init at 0.8.62

Description of changes

Init flclash at 0.8.62
Fixes https://github.com/NixOS/nixpkgs/issues/317413

Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

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

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

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

@aucub My conversation was not solved. Post error you met while solving these problem. Anyway, I think it shouldn't be merged if we can't fetch source without ssh.

You may have misunderstood; SSH is not required for the build. The following code addresses this issue:
.overrideAttrs
      (_: {
        GIT_CONFIG_COUNT = 1;
        GIT_CONFIG_KEY_0 = "url.https://github.com/.insteadOf";
        GIT_CONFIG_VALUE_0 = "git@github.com:";
      });

For detailed information, refer to this link:
https://github.com/NixOS/nixpkgs/blob/7ec57ca0ec00766a18b26b0a49d637b721f76f45/pkgs/by-name/de/debase/package.nix#L24
Of course, this code may not be ideal, but I believe we shouldn't require upstream developers to use HTTPS. If necessary, I will continue to address these issues.

@aucub Oh I get it.


METRON-1334 Add C++11 Compliance Check to 'platform-info.sh'

Some of the module dependencies for the Management and Alerts UI must be built natively on the host.  This requires a C/C++ compiler.  In addition, some of the dependencies require a C++11 compliant compiler.  This is causing problems for users who attempt to build Metron on a system with an older version of GCC, like CentOS 6.
Not having a C++11 compliant compiler can cause some non-obvious error messages when the build fails.  This adds a version check for GCC and also a C++11 compliance check.  The compiler itself must be on the user's PATH, which is what the Node modules also require.
If the compiler is C++11 compliant, you will see the following.
--
g++
g++ (GCC) 5.3.1 20160406 (Red Hat 5.3.1-6)
Copyright (C) 2015 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

--
Compiler is C++11 compliant

If the compiler is NOT C++11 compliant, you will see the following.
--
g++
g++ (GCC) 4.4.7 20120313 (Red Hat 4.4.7-18)
Copyright (C) 2010 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

--
cc1plus: error: unrecognized command line option "-std=c++11"
Warning: Compiler is NOT C++11 compliant

This was tested manually on Mac OS X, CentOS 6, CentOS 7, and Ubuntu Trusty 64.
Pull Request Checklist

[x] Is there a JIRA ticket associated with this PR? If not one needs to be created at Metron Jira.
[x] Does your PR title start with METRON-XXXX where XXXX is the JIRA number you are trying to resolve? Pay particular attention to the hyphen "-" character.
[x] Has your PR been rebased against the latest commit within the target branch (typically master)?
[x] Have you included steps to reproduce the behavior or problem that is being changed or addressed?
[x] Have you included steps or a guide to how the change may be verified and tested manually?
[x] Have you ensured that the full suite of tests and checks have been executed in the root metron folder via:
[x] Have you written or updated unit tests and or integration tests to verify your changes?
[ ] If adding new dependencies to the code, are these dependencies licensed in a way that is compatible for inclusion under ASF 2.0?
[ ] Have you verified the basic functionality of the build by building and running locally with Vagrant full-dev environment or the equivalent?

+1, Tested on OSX and on centos 6 with and without compliant g++ installed
Thanks Nick!

Ran on a purposefully misconfigured macOS system.  Is this the expected output?
--
g++
xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun
--
xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun
Warning: Compiler is NOT C++11 compliant
--

I think that is valid

Is this the expected output?

I agree with @ottobackwards . That looks like what I would expect to see.
@JonZeolla I assume since you asked, it is not what you would expect.  What would prefer to see here?

Instead of trying to explaining my position, I threw together a quick PR to illustrate my thoughts.  Feel free to take another approach.  I tested it with g++ configured, unconfigured, and not in my PATH on macOS, as well as on a CentOS 7 with and without gcc installed, and an Ubuntu 14.04 box with an old version of gcc installed (not C++11 compliant).  All worked as expected.

+1 great stuff @nickwallen


making 'developer' default role for new users

For convenience, when creating new users, the default role should be our developer role!

:+1:


[impl] account creation and aliasing

This provides functionalities for #3.

Pull Request Test Coverage Report for Build 202

30 of 38 (78.95%) changed or added relevant lines in 3 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.01%) to 76.063%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

src/apis/init.ts
1
2
50.0%

src/backend/ethereum/index.ts
25
32
78.13%

Totals

Change from base Build 190:
0.01%

Covered Lines:
470

Relevant Lines:
606

💛  - Coveralls

Pull Request Test Coverage Report for Build 202

30 of 38 (78.95%) changed or added relevant lines in 3 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.01%) to 76.063%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

src/apis/init.ts
1
2
50.0%

src/backend/ethereum/index.ts
25
32
78.13%

Totals

Change from base Build 190:
0.01%

Covered Lines:
470

Relevant Lines:
606

💛  - Coveralls

Added account creation via keythereum. It may not work properly with parity, and it's also not very performant. We should probably build a generic version ourselves at some point, but let's go with this for now.
In the next PR I'll hook this up with double init.

Just one comment for untildify, otherwise looks good!


ctypes missing link

Did you want a link to ctype's docs?
No link reference

Updated issue to note that ctypes is missing a link.

Oops! Looks like I forgot to put in a [ctypes]: https://docs.python.org/3/library/ctypes.html at the bottom. Would you be able to fix that when you are rewording the Python section?

Yeah, I can add that as another commit.
On Aug 9, 2017 9:44 AM, "Michael Bryan"<EMAIL_ADDRESS>wrote:

Oops! Looks like I forgot to put in a [ctypes]: https://docs.python.org/3/
library/ctypes.html at the bottom. Would you be able to fix that when you
are rewording the Python section?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/Michael-F-Bryan/rust-ffi-guide/issues/23#issuecomment-321277153,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AboGxCjfclhOhl-onrq8Y_yQTQmN8Sk5ks5sWcXIgaJpZM4OyLTA
.

The same for cffi - it's just a [cffi][cffi] now.

Added as another commit. Thanks, @pravic !


Is it possible to change the application name?

I've noticed that in the CLI you can do that. meanwhile in python there's nothing on how to do that. Is it possible?

notification.application_name = "App Name"

Thank you, this works.


Accept any content type if accept header is missing

Fix issue #238. Accept any content type is the request doesn't include an "accept" header, as per RFC 7321.

Thank you!!


Destiny isn't working correctly

It seems that this logic isn't working right because you get destiny when 0 cards are in your forecast:
        case 436: // Destiny: A total of 5 cards in forecast (7 in earlier editions)
            $eligible = self::countCardsInLocation($player_id, 'forecast') >= $this->innovationGameState->usingFourthEditionRules() ? 5 : 7;
            break;

Good suspicion!


https://get.sample.com not working, but any other is okay

I am trying to broadcast url to app and faced problem - when I use url https://get.sample.com it is not working nothing visible in Android or iOS, but when I use anything else - like https://app.sample.com all works fine. Any suggestions?

It suddenly start working.....


[REFACTOR] Switch docker base image to Eclipse Temurin

[REFACTOR] Switch docker base image to Eclipse Temurin
What changes were proposed in this pull request?
To close #508 & #381
Why are the changes needed?
According to https://github.com/docker-library/openjdk/issues/505
What are the items that need reviewer attention?
Related issues.
Related pull requests.
How was this patch tested?
/cc @pan3793
/assign @main-reviewer

maybe arthas could be included in the docker image as well, WDYT? @waitinfuture @AngersZhuuuu

ping @FMX @fanyilun

Has this been tested?

Has this been tested?

I had build docker images by this Dockerfile.
I will test in kubernetes env. And pause some screenshoot later.

I meet a problem in this Dockerfile:
/bin/sh: nslookup: command not found
should we add apt install dnsutils ?

Tested In Kubernetes Cluster

Dockerfile build success
Helm Install success

It looks goot to me now, thanks.


Possible division bug in interpreter

https://github.com/iovisor/ubpf/blob/main/vm/ubpf_vm.c#L241 correctly casts the divisor to unsigned.
However https://github.com/iovisor/ubpf/blob/main/vm/ubpf_vm.c#L355 does not.  inst.imm is declared as int32_t, so this looks like a bug.
Same bug in https://github.com/iovisor/ubpf/blob/main/vm/ubpf_vm.c#L388 for modulo.

I can confirm that the behavior of uBPF matches the behavior of Linux JIT, so I believe the behavior is correct.


Upgrade to Quarkus GitHub App 1.14.0

And drop snapshot version of github-api.

Ah, didn't see your PR before writing mine (#19)... I'll append a few more changes to yours.

Merged, thanks!


Carcavelos High School

Carcavelos High School or "Escola Secundária de Carcavelos"(in Portuguese) is a high school located in Carcavelos, Lisbon. It has around 2000 students and has 3 types of courses related to science, one being science and technologies(equivalent to computer science in english).

@3faze First stage of verification passed, official domain is aecarcavelos.pt as far as I verified. This is just an informational note. Pull request is still in the review. I appreciate your patience while waiting for the final decision. Proof of domain ownership: https://www.aecarcavelos.pt/contactos/

The website domain is "aecarcavelos.pt" but the email domain is<EMAIL_ADDRESS>I didin't understand what you mean in the last sentence. Thanks for the note!

@3faze Thank you for your patience while waiting for a review and processing your request. Pull request merged.

Thanks!


fix: xl-settings for branch 'next'

Just noticed, that we only merged the fix into the master branch for Vue 2.0.
So here is the same PR for the next branch to fix package for Vue3.0

Hi @DennisMatthiasScherf , I did the merge internally, enabled in 1.0.2 version


Styling of text presets section (in design panel) could be improved

Feature Description
Aesthetically, the design panel text presets doesn't look appealing or fitting for the editor's general UI. Would suggest restyling it.

Do not alter or remove anything below. The following sections will be managed by moderators only.
Acceptance Criteria
QA Instructions

@samitron7 UX Needed, I couldn't find any examples with presets in figma. It's always collapsed:

FYI - this ticket will be assigned to Victor. Will update the team when work comes

Update: Will review with Paul Thursday

Will be covered by #353


Fixed scheduler framework error with old API

Signed-off-by: Cheng, Penghui<EMAIL_ADDRESS>Type of Change
bug fix
No API changed
Description
Adapt old API to get  framework from yaml configure file
Expected Behavior & Potential Risk
we can run scheduler with yaml configure file.
How has this PR been tested?
Local test

why pre-ci doesn't catch this error?


Upgrade pika to 1.1.*.

Upgrade pika to 1.1.* and make some changes accordingly
to comply with the new version.
Closes https://github.com/zulip/zulip/issues/12899

Testing Plan:
Running tools/test-all
GIFs or Screenshots:

For changelog of pika can be found here: https://pika.readthedocs.io/en/stable/version_history.html#id4

Cool.  Pika is a somewhat sensitive library, so we'll want to test this upgrade pretty carefully on czo.  Let me know once this passes tests.

The current test failure is the one fixed by #13276. Can you rebase?

@andersk yup rebased, ping @timabbott

(just updated the commit message)

Looks reasonable, but we've had issues with pika upgrades in the past.  I just test-deployed this on chat.zulip.org.

I've seen no issues with this in chat.zulip.org production, so am merging this.  Thanks @refeed!

Merged as 447f74ae63fb753319aafadc014b908c7a174ccd, thanks @refeed!


Concurrent DAC and ADC using pigpio?

Dear all,
I was asking questions on how to generate stable 2 kHz square pulses on MCP4725 DAC via I2C.
https://github.com/joan2937/pigpio/issues/149
I must thank the forum members for their useful suggestions and my solution was to change to MCP4921 DAC via SPI. I have also changed from Python to C using Joan's pigpio library, so I can produce stable 2 kHz square pulses as I boot into CLI. If I boot into GUI, it also works but the frequency drifts if I drag/open/close any window. But I am satisfy on CLI, so it is okay.
However, I also need to capture light signals continuously from a Adafruit TSL2591 ADC via I2C concurrently. I am surprised that pigpio only allows a single instance running. So, if I have the DAC to produce the square pulses, I cannot run the ADC at the same time. I have to kill the DAC in order to run the ADC, but this is not acceptable.
Can anyone advise how to run the DAC on SPI and ADC on I2C concurrently using the pigpio?
I am including my two codes below, 1) MCP4921 DAC-SPI, 2) TSL2591 ADC-I2C.
Thank you very much!
Rolly
`#include <stdio.h>
#include <sys/ioctl.h>
#include <stdlib.h>
#include <pigpio.h>
#define B_SIZE 128
void DAC_Write(int h, int value)
{
char buf[2];
char chanBits, dataBits;
chanBits = (((value >> 8) & 0xFF) | 0b0 << 7 | 0b0 << 6 | 0b1 << 5 | 0b1 << 4);
dataBits = ( value & 0xFF);
buf[0] = chanBits;
buf[1] = dataBits;
spiXfer(h, buf, NULL, 2);
}
int main(int argc, char *argv[])
{
int i;
int buffer[B_SIZE];
int dac;
if (gpioInitialise() < 0) return 1;
dac = spiOpen(0, 4000000, 0);
for (i = 0; i < B_SIZE; ++i)
{
if (i < 63) {
buffer[i] = 0;
}
else {
buffer[i] = 4095;
}
}
for (;;)
{
for (i = 0; i < B_SIZE; ++i)
{
DAC_Write(dac, buffer[i]);
}
}
return 0;
}`
`#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <sys/ioctl.h>
#include <pigpio.h>
// ALL COMMAND TSL2591
#define TSL2591_VISIBLE           (2)       // channel 0 - channel 1
#define TSL2591_INFRARED          (1)       // channel 1
#define TSL2591_FULLSPECTRUM      (0)       // channel 0
#define TSL2591_ADDR              (0x29)
#define TSL2591_READBIT           (0x01)
#define TSL2591_COMMAND_BIT       (0xA0)    // bits 7 and 5 for 'command normal'
#define TSL2591_CLEAR_BIT         (0x40)    // Clears any pending interrupt (write 1 to clear)
#define TSL2591_WORD_BIT          (0x20)    // 1 = read/write word (rather than byte)
#define TSL2591_BLOCK_BIT         (0x10)    // 1 = using block read/write
#define TSL2591_ENABLE_POWERON    (0x01)
#define TSL2591_ENABLE_POWEROFF   (0x00)
#define TSL2591_ENABLE_AEN        (0x02)
#define TSL2591_ENABLE_AIEN       (0x10)
#define TSL2591_CONTROL_RESET     (0x80)
#define TSL2591_LUX_DF            (408.0F)
#define TSL2591_LUX_COEFB         (1.64F)   // CH0 coefficient
#define TSL2591_LUX_COEFC         (0.59F)   // CH1 coefficient A
#define TSL2591_LUX_COEFD         (0.86F)   // CH2 coefficient B
enum
{
TSL2591_REGISTER_ENABLE           = 0x00,
TSL2591_REGISTER_CONTROL          = 0x01,
TSL2591_REGISTER_THRESHHOLDL_LOW  = 0x02,
TSL2591_REGISTER_THRESHHOLDL_HIGH = 0x03,
TSL2591_REGISTER_THRESHHOLDH_LOW  = 0x04,
TSL2591_REGISTER_THRESHHOLDH_HIGH = 0x05,
TSL2591_REGISTER_INTERRUPT        = 0x06,
TSL2591_REGISTER_CRC              = 0x08,
TSL2591_REGISTER_ID               = 0x0A,
TSL2591_REGISTER_CHAN0_LOW        = 0x14,
TSL2591_REGISTER_CHAN0_HIGH       = 0x15,
TSL2591_REGISTER_CHAN1_LOW        = 0x16,
TSL2591_REGISTER_CHAN1_HIGH       = 0x17
};
typedef enum
{
TSL2591_INTEGRATIONTIME_100MS     = 0x00,
TSL2591_INTEGRATIONTIME_200MS     = 0x01,
TSL2591_INTEGRATIONTIME_300MS     = 0x02,
TSL2591_INTEGRATIONTIME_400MS     = 0x03,
TSL2591_INTEGRATIONTIME_500MS     = 0x04,
TSL2591_INTEGRATIONTIME_600MS     = 0x05,
}tsl2591IntegrationTime_t;
typedef enum
{
TSL2591_GAIN_LOW                  = 0x00,    // low gain (1x)
TSL2591_GAIN_MED                  = 0x10,    // medium gain (25x)
TSL2591_GAIN_HIGH                 = 0x20,    // medium gain (428x)
TSL2591_GAIN_MAX                  = 0x30,    // max gain (9876x)
}tsl2591Gain_t;
//Delay getFullLuminosity function
#define LUMDELAY 100000
int getFullLuminosity(void){
int fd = 0;
uint32_t vis_ir_0, vis_ir_1;
i2cWriteByteData(fd, TSL2591_COMMAND_BIT | TSL2591_REGISTER_ENABLE, TSL2591_ENABLE_POWERON | TSL2591_ENABLE_AEN | TSL2591_ENABLE_AIEN); //enable the device
i2cWriteByteData(fd, TSL2591_COMMAND_BIT | TSL2591_REGISTER_CONTROL, TSL2591_INTEGRATIONTIME_100MS | TSL2591_GAIN_LOW); //set gain and timing
//Wait for the conversion to complete
gpioDelay(LUMDELAY);
//Reads visible + IR diode from the I2C device auto
vis_ir_1 = i2cReadWordData(fd, TSL2591_COMMAND_BIT | TSL2591_REGISTER_CHAN1_LOW);
vis_ir_1 <<= 16;
vis_ir_0 = i2cReadWordData(fd, TSL2591_COMMAND_BIT | TSL2591_REGISTER_CHAN0_LOW);
vis_ir_1 |= vis_ir_0;
i2cWriteWordData(fd, TSL2591_COMMAND_BIT | TSL2591_REGISTER_ENABLE, TSL2591_ENABLE_POWEROFF); //disable the device
return vis_ir_1;
}
int main(int argc, char *argv[])
{
uint16_t ch0, ch1;
uint32_t visible_ir;
if (gpioInitialise() < 0) return 1;

int fd = i2cOpen(1, TSL2591_ADDR, 0);

while(1)
{
	visible_ir = getFullLuminosity();
    // Reads two byte value from channel 0 (visible + infrared)
    ch0 = (visible_ir & 0xFFFF);
    // Reads two byte value from channel 1 (infrared)
    ch1 = (visible_ir >> 16);
    //printf("TSL2591 Full Spectrum: %zu\n",ch0);
    //printf("TSL2591 Infrared: %zu\n",ch1);
    if ( ch0 >= ch1 )
    	printf("TSL2591 Visible: %zu\n",ch0-ch1);
    sleep(1);
}
i2cClose(fd);
return 0;

}`

Maybe a silly question but why did you abandon Python?  If you use the pigpio Python library you should be able to run both devices from either a single Python script or, I believe it should be possible, to have two independent scripts talking to pigpiod - one running your DAC, the other running TSL*.  This is a client-server architecture and why I like to use the socket interface.
This is for the case where you are accessing the Broadcom peripherals via pigpio.  If you wish to use bit-bang 'devices' then you'll run into the problem of the waveform generator as a shared resource :)

@guymcswain
Hi, I changed to C because while I look at the DAC output with an oscilloscope, the square pulse frequency is unstable compared to those produced by C. With Python, it drift from 1.5 to 2.5 kHz, but with C it is much better from 2.05 to 2.15 kHz.
Anyway, I found my solution. I have to put the spiXfer loop in the DAC_Write_Pulse function, not inside the main() in order to call the ADC. It works now and case closed.
Thanks to Joan for the kind advises.
Rolly


Replace "plans" concept with "features"

I've gotten feedback to refrain from using the term "Plans" in the UI as it may imply an associated cost and/or fixed limits as it does with traditional consumer phone plans. Instead I updated the UI to refer to capabilities as features. I'd suggest we use this same terminology in our docs.

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

ID: 641aef05-1d16-ba0d-fb48-1527583a860d
Version Independent ID: 2ca9c55d-56a7-ec67-80da-7c0337316245
Content: Quickstart - Get a phone number from Azure Communication Services
Content Source: articles/communication-services/quickstarts/telephony-sms/get-phone-number.md
Service: azure-communication-services
GitHub Login: @Prakulka
Microsoft Alias: prakulka

Thank you for your feedback, @pereiralex . This has been assigned to the content owner, @Prakulka , and will be updated as appropriate.

Alex, We have raised a PR for the author to review, after validation and merge the document will reflect the appropriate/suggested changes. Thanks again for your feedback.