Crash if edit:after-readline is not empty

Arch Linux, elvish-git package from AUR.
version: 0.11-143-gcda0630b
kernel: Linux 4.14.15-1-ARCH
It crashes after accepting the command.
 ~ >>> ls

runtime error: invalid memory address or nil pointer dereference
goroutine 1 [running]:
github.com/elves/elvish/sys.DumpStack(0xc420394d20, 0x1)
	/tmp/makepkg/elvish-git/src/build/src/github.com/elves/elvish/sys/dumpstack.go:10 +0xa2
github.com/elves/elvish/program/shell.rescue()
	/tmp/makepkg/elvish-git/src/build/src/github.com/elves/elvish/program/shell/shell.go:59 +0xd2
panic(0x890740, 0xbc00a0)
	/usr/lib/go/src/runtime/panic.go:491 +0x283
github.com/elves/elvish/edit.(*editorRenderer).Render(0xc42020de60, 0xc4201a8cd0)
	/tmp/makepkg/elvish-git/src/build/src/github.com/elves/elvish/edit/render.go:238 +0x2e0
github.com/elves/elvish/edit/ui.Render(0xb8c440, 0xc42020de60, 0xb3, 0xb8e280)
	/tmp/makepkg/elvish-git/src/build/src/github.com/elves/elvish/edit/ui/render.go:16 +0x10d
github.com/elves/elvish/edit.(*editor).refresh(0xc420012280, 0x7fd59c540101, 0xc420388480, 0xc420503c20)
	/tmp/makepkg/elvish-git/src/build/src/github.com/elves/elvish/edit/edit.go:262 +0x2f3
github.com/elves/elvish/edit.(*editor).CallFn(0xc420012280, 0x7fd59c54b3f0, 0xc420388480, 0xc420503c20, 0x1, 0x1)
	/tmp/makepkg/elvish-git/src/build/src/github.com/elves/elvish/edit/api.go:135 +0x2bc
github.com/elves/elvish/edit.callHooks(0xc420012280, 0xb96420, 0xc42039ecc0, 0xc420503c20, 0x1, 0x1)
	/tmp/makepkg/elvish-git/src/build/src/github.com/elves/elvish/edit/hooks.go:49 +0x87
github.com/elves/elvish/edit.init.5.func1.2(0xc4204297b0, 0x2)
	/tmp/makepkg/elvish-git/src/build/src/github.com/elves/elvish/edit/hooks.go:28 +0xda
github.com/elves/elvish/edit.(*editor).finishReadLine(0xc420012280, 0x0, 0x0)
	/tmp/makepkg/elvish-git/src/build/src/github.com/elves/elvish/edit/edit.go:336 +0x255
github.com/elves/elvish/edit.(*editor).ReadLine.func1(0xc420012280)
	/tmp/makepkg/elvish-git/src/build/src/github.com/elves/elvish/edit/edit.go:349 +0x2f
github.com/elves/elvish/edit.(*editor).ReadLine(0xc420012280, 0xc4204297b0, 0x2, 0x0, 0x0)
	/tmp/makepkg/elvish-git/src/build/src/github.com/elves/elvish/edit/edit.go:509 +0x109f
github.com/elves/elvish/program/shell.interact.func1(0xc420094a10, 0xc420431a80, 0x0, 0x0)
	/tmp/makepkg/elvish-git/src/build/src/github.com/elves/elvish/program/shell/interact.go:41 +0x2f
github.com/elves/elvish/program/shell.interact(0xc420094a10, 0xc42009a2c0, 0x13)
	/tmp/makepkg/elvish-git/src/build/src/github.com/elves/elvish/program/shell/interact.go:51 +0x221
github.com/elves/elvish/program/shell.(*Shell).Main(0xc420174400, 0xc42006a160, 0x0, 0x0, 0x0)
	/tmp/makepkg/elvish-git/src/build/src/github.com/elves/elvish/program/shell/shell.go:47 +0x19a
github.com/elves/elvish/program.Main(0xc42006a160, 0x1, 0x1, 0x0)
	/tmp/makepkg/elvish-git/src/build/src/github.com/elves/elvish/program/program.go:118 +0x18a
main.main()
	/tmp/makepkg/elvish-git/src/build/src/github.com/elves/elvish/main.go:14 +0x45

goroutine 20 [syscall]:
os/signal.signal_recv(0xb91b40)
	/usr/lib/go/src/runtime/sigqueue.go:131 +0xa6
os/signal.loop()
	/usr/lib/go/src/os/signal/signal_unix.go:22 +0x22
created by os/signal.init.0
	/usr/lib/go/src/os/signal/signal_unix.go:28 +0x41

goroutine 22 [chan receive, 13 minutes]:
github.com/elves/elvish/eval.init.11.func1()
	/tmp/makepkg/elvish-git/src/build/src/github.com/elves/elvish/eval/port.go:58 +0x67
created by github.com/elves/elvish/eval.init.11
	/tmp/makepkg/elvish-git/src/build/src/github.com/elves/elvish/eval/port.go:57 +0x49

goroutine 7243 [IO wait]:
internal/poll.runtime_pollWait(0x7fd59c542c70, 0x72, 0x0)
	/usr/lib/go/src/runtime/netpoll.go:173 +0x57
internal/poll.(*pollDesc).wait(0xc4203ec118, 0x72, 0xffffffffffffff00, 0xb8f600, 0xb8a670)
	/usr/lib/go/src/internal/poll/fd_poll_runtime.go:85 +0xae
internal/poll.(*pollDesc).waitRead(0xc4203ec118, 0xc4202b9000, 0x1000, 0x1000)
	/usr/lib/go/src/internal/poll/fd_poll_runtime.go:90 +0x3d
internal/poll.(*FD).Read(0xc4203ec100, 0xc4202b9000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
	/usr/lib/go/src/internal/poll/fd_unix.go:126 +0x18a
net.(*netFD).Read(0xc4203ec100, 0xc4202b9000, 0x1000, 0x1000, 0xc420001980, 0xc42003bb50, 0x43534f)
	/usr/lib/go/src/net/fd_unix.go:202 +0x52
net.(*conn).Read(0xc4202f6768, 0xc4202b9000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
	/usr/lib/go/src/net/net.go:176 +0x6d
bufio.(*Reader).Read(0xc42032ade0, 0xc4205789e0, 0x1, 0x9, 0x0, 0x0, 0x0)
	/usr/lib/go/src/bufio/bufio.go:213 +0x30b
io.ReadAtLeast(0xb8bdc0, 0xc42032ade0, 0xc4205789e0, 0x1, 0x9, 0x1, 0x0, 0x0, 0x0)
	/usr/lib/go/src/io/io.go:309 +0x86
io.ReadFull(0xb8bdc0, 0xc42032ade0, 0xc4205789e0, 0x1, 0x9, 0x0, 0x0, 0x3)
	/usr/lib/go/src/io/io.go:327 +0x58
encoding/gob.decodeUintReader(0xb8bdc0, 0xc42032ade0, 0xc4205789e0, 0x9, 0x9, 0xc420028d88, 0x42b1a9, 0xc400000008, 0xc420058dc0)
	/usr/lib/go/src/encoding/gob/decode.go:120 +0x63
encoding/gob.(*Decoder).recvMessage(0xc4203ec380, 0xc420028da0)
	/usr/lib/go/src/encoding/gob/decoder.go:80 +0x57
encoding/gob.(*Decoder).decodeTypeSequence(0xc4203ec380, 0x942800, 0xc4203ec380)
	/usr/lib/go/src/encoding/gob/decoder.go:144 +0x14c
encoding/gob.(*Decoder).DecodeValue(0xc4203ec380, 0x852c40, 0xc420376660, 0x16, 0x0, 0x0)
	/usr/lib/go/src/encoding/gob/decoder.go:212 +0xe6
encoding/gob.(*Decoder).Decode(0xc4203ec380, 0x852c40, 0xc420376660, 0x920601, 0xc420376660)
	/usr/lib/go/src/encoding/gob/decoder.go:189 +0x16d
net/rpc.(*gobClientCodec).ReadResponseHeader(0xc420376600, 0xc420376660, 0xc420066420, 0x9206ff)
	/usr/lib/go/src/net/rpc/client.go:223 +0x45
net/rpc.(*Client).input(0xc42032aea0)
	/usr/lib/go/src/net/rpc/client.go:109 +0xb5
created by net/rpc.NewClientWithCodec
	/usr/lib/go/src/net/rpc/client.go:201 +0xc5

goroutine 3 [select, locked to thread]:
runtime.gopark(0x9426e0, 0x0, 0x91c773, 0x6, 0x18, 0x1)
	/usr/lib/go/src/runtime/proc.go:287 +0x12c
runtime.selectgo(0xc420038f50, 0xc420014180)
	/usr/lib/go/src/runtime/select.go:395 +0x1149
runtime.ensureSigM.func1()
	/usr/lib/go/src/runtime/signal_unix.go:511 +0x220
runtime.goexit()
	/usr/lib/go/src/runtime/asm_amd64.s:2337 +0x1

goroutine 4 [chan receive]:
github.com/elves/elvish/program/shell.handleSignals.func1(0xc4200140c0)
	/tmp/makepkg/elvish-git/src/build/src/github.com/elves/elvish/program/shell/shell.go:69 +0xdf
created by github.com/elves/elvish/program/shell.handleSignals
	/tmp/makepkg/elvish-git/src/build/src/github.com/elves/elvish/program/shell/shell.go:68 +0x8a

goroutine 7241 [chan receive]:
net/rpc.(*Client).Call(0xc42032aea0, 0xc420578a00, 0xd, 0x84ba00, 0xc420503c80, 0x84ba40, 0xc4205789c0, 0xc420481000, 0x3)
	/usr/lib/go/src/net/rpc/client.go:317 +0xbc
github.com/elves/elvish/daemon.(*Client).call(0xc42014ec00, 0x91bb43, 0x6, 0x84ba00, 0xc420503c80, 0x84ba40, 0xc4205789c0, 0x0, 0x0)
	/tmp/makepkg/elvish-git/src/build/src/github.com/elves/elvish/daemon/client.go:82 +0x169
github.com/elves/elvish/daemon.(*Client).AddCmd(0xc42014ec00, 0xc4204297b0, 0x2, 0x2957, 0xc42032a780, 0xc420481000)
	/tmp/makepkg/elvish-git/src/build/src/github.com/elves/elvish/daemon/client.go:122 +0xbe
github.com/elves/elvish/edit/history.(*Fuser).AddCmd(0xc42015d2c0, 0xc4204297b0, 0x2, 0x0, 0x0)
	/tmp/makepkg/elvish-git/src/build/src/github.com/elves/elvish/edit/history/fuser.go:35 +0xb5
github.com/elves/elvish/edit.(*hist).appendHistory.func1(0xc4200583c0, 0xc4204297b0, 0x2)
	/tmp/makepkg/elvish-git/src/build/src/github.com/elves/elvish/edit/history.go:141 +0x53
created by github.com/elves/elvish/edit.(*hist).appendHistory
	/tmp/makepkg/elvish-git/src/build/src/github.com/elves/elvish/edit/history.go:140 +0x8d

execing recovery shell /bin/sh
sh-4.4$

Can you show the setup of $edit:after-readline? I use it all the time and have never experienced such a crash.

I take back my comment. After upgrading to master, I am getting the same behavior, reported in #591.

Some additional information: the problem disappears if I comment out all parts of my config that use the $edit:after-readline hooks ($edit:before-readline seems unaffected). This includes https://github.com/zzamboni/elvish-modules/blob/master/proxy.org, https://github.com/zzamboni/elvish-modules/blob/master/long-running-notifications.org, and the functions that set the terminal title before/after running commands.

Minimal example to trigger the bug (with an empty config):
~/.elvish> edit:after-readline = [ [l]{ nop } ]
~/.elvish> <press enter>

runtime error: invalid memory address or nil pointer dereference
...

The full log I get is at https://gist.github.com/c1b2ab5a059741b691a09bb4b4e7f01d


Support splitting parquet input files

Is your feature request related to a problem or challenge? Please describe what you are trying to do.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
(This section helps Arrow developers understand the context and why for this feature, in addition to  the what)
A big parquet input file should be splitted into smaller partitions, which is not currently supported.
Describe the solution you'd like
A clear and concise description of what you want to happen.
Implement ParquetExec with filename, offset and length parameters.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
does parquet2 provide better supports?
Additional context
Add any other context or screenshots about the feature request here.

DataFusion imposes the current restriction. There is an umbrella ticket containing this problem: https://github.com/apache/arrow-datafusion/issues/944. You can fix this in DataFusion.

"Enable file block granularity processing (row groups or offset range processing instead of currently per-file bases)."


Handle client IOException in chunked request body

Test flake.
java.lang.NullPointerException
	at okhttp3.RecordedResponse.assertCode(RecordedResponse.java:61)
	at okhttp3.CallTest.interceptorCallsProceedWithoutClosingPriorResponse(CallTest.java:968)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)```

Test flake.
java.lang.NullPointerException
	at okhttp3.RecordedResponse.assertCode(RecordedResponse.java:61)
	at okhttp3.CallTest.interceptorCallsProceedWithoutClosingPriorResponse(CallTest.java:968)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)```

I can make it reliably fail by peeking at the response body in the interceptor.  Still working out how to make it reliably pass!

java.lang.NullPointerException
	at okhttp3.RecordedResponse.assertCode(RecordedResponse.java:61)
	at okhttp3.CallTest.interceptorCallsProceedWithoutClosingPriorResponse(CallTest.java:967)

Would it be possible to merge this fix into the 3.x release stream?

@ehennum No current plans from me, mainly because it's not going to be clean.  What's the overall error rate like? Do you need it in 3.12? or 3.14?  Android or JDK?

JDK.  Any 3.x release will do.  It's been blocking us from upgrade because we use HEAD requests extensively (see #5447)

What's blocking upgrade to 4.x?

As I understand it, 4.x has a dependency on the Kotlin runtime.  We don't want to make that change before a major release boundary where we can take the time for thorough testing and performance profiling.
Given that Android bundles Kotlin, I understand that it's a minor concern in that environment.

OK.  No current plans from me.  Maybe pick this up after your major release then?

Android does not bundle Kotlin, for what it's worth.

So much for my Android suppositions!
Anyway, our functional tests ran without hiccup on 4.x, so that looks like the resolution for us. Thanks for the clean upgrade despite (I assume) major refactoring.


Support for oAuth 2.0 Introspection Plugin

Is there any plan to implement support for "oAuth 2.0 Introspection" plugin. Also enhanced features for the Kong Enterprise only plugin's like Rate Limiting etc.
I know Kong Enterprise comes with its own Admin ports, but unfortunately that lacks in many areas and you are definitely miles a head. Thank you for that.

@rajarameshvarma , thaks for your kind words.
It would be nice to implement premium Kong plugins in Konga but unfortunatelly I don't know how they work nor their schema.
I haven't got the chance to test things out with a Kong EE instance.
Have you tried connecting Konga to a Kong EE instance?
Don't the premium plugins and the enchanced features show up on Konga's lists? (Even us custom plugins)
If they don't appear automatically, it means that they are probably implemented in a different manner.

I haven't tried connecting Konga to a Kong EE instance. I will update the thread once I get a chance to check. Thank you for your quick response.

I tried connecting konga to a enterprise version 0.33. It looks very different.
it shows the available plugins. But does not show routes.

This version of konga is old

@pantsel this is version KONGA 0.12.0. latest in dockerhub.
The problem is not with konga. when i connect to free version routes do show up.
0.33 enterprise version do not have the services and routes feature yet.
https://docs.konghq.com/enterprise/0.33-x/getting-started/adding-your-api/

@mynameisgv , indeed. Didn't knew that. Never stumbled across a EE of Kong.
Apart from that, the versioning is totally different so features that depend on CE versioning, will not show or work as expected.

@pantsel  i tested konga with enterprise version.
most of the things work.
routes do not show up because of  the way free version and enterprise version are tagged.
0.13.1
0.33-enterprise-edition
var fver = version.split('.').slice(0, -1).join('');
and 01_layout-controllers.js for example blocks routes in the menu based on this version.
return AuthService.hasPermission('services', 'read') && $rootScope.isGatewayVersionEqOrGreater('0.13.0')
version.split('.').slice(0, -1).join(''); this returns 0 for enterprise edition.
But if i juut use the url http://localhost/#!routes things work fine.
Is this check necessary?
I am still testing other functionality.

Yes it is. Konga is designed to work with tge CE edition and the version checks are mandatory


Add CLI support for disabling Filename Analyzer

Is your feature request related to a problem? Please describe.
In the microsoft .net world, dependencies are defined via references inside .csproj files. The names of the .csproj files themselves rarely (never?) reflect a third party dependency. False positive matches can be significantly reduced if the evidence excludes .csproj filename analysis.
Describe the solution you'd like
Extend the analyzer configuration options available on the CLI to allow disabling the filename analyzer.
Describe alternatives you've considered
Manual exclusions via suppressions xml
Additional context
A recent example of where this would be useful is:
csproj filename: LoanEligibilityV2ReadModel.Tests.csproj
CPI: cpe:2.3:a:model_project:model:2.6.1:*:*:*:*:*:*:*

Thanks for the PR!


Update ios-guide.md

More instructions editing AppDelegate

replace "### 4. Proyect Setup" to "### 4. Project Setup" :)
i don't want make new pull request

@sturmenta I had removed this instruction because I saw no need for it while using automatic installation and cocoapods. Was this step necessary for you?

Sure, while automatic installation nothing was added to AppDelegate on me.
And I think it is useful to know manual installation.
btw I had configured and working facebook login before google one.

@AndreiCalazans when I did the installation automatically, I did not see that the AppDelegate.m file was modified, but seeing AppDelegate.m in the installation example I saw that if it was modified so I assumed that a modification was needed.
I'm going to try using "react-native-google-signin" without the changes in AppDelegate.m and I'll let you know.
Thanks for understanding.

@AndreiCalazans @ms502040
My app worked perfectly without those changes in AppDelegate.m, I apologize.


Graphiql component

Feature: Graphiql component
Description:

Added Graphiql to the graphiql component to display on extension tab
Changes I Made:
Added the code from Matt D to the graphiql.tsx file to display graphiql on the react component and graphiql tab in the extension
Installed required packages graphql, graphiql and codemiror
How to Test:
npm run build
load unpacked extension from build folder
Go to developer tools
Click Apollo11 in developer tools
First tab will be the graphiql tab with the changes

Approved.


Add Dataset.dtypes property

[x] Tests added
[x] User visible changes (including notable bug fixes) are documented in whats-new.rst
[x] New functions/methods are listed in api.rst

Currently returns a Mapping from variable names to dtypes for ALL variables in the Dataset, including coordinates.
Possibly better to only return data_vars dtypes? Give me your thoughts on that, it is easy to change.

Great!
My inkling would be only data variables, given that's all we iterate over on a Dataset. We could also add this into the DatasetCoords / DataArrayCoords for completeness.
Any other thoughts?

My inkling would be only data variables, given that's all we iterate over on a Dataset.

I would have thought the same. I have updated it now.

See related discussion here: https://github.com/pydata/xarray/issues/1699
I like the idea of .dtypes only listing data variables and coords.dtypes for the rest. This would nicely generalize to DataArray.coords.dtypes

Is it intentional that DataArrayCoordinates and DatasetCoordinates are not part of api?

Is it intentional that DataArrayCoordinates and DatasetCoordinates are not part of api?

Good question, I'm not sure. They are not intended to be created by users IIUC, it's more like a "view" of the underlying coords. Does anyone have a view?

Good question, I'm not sure. They are not intended to be created by users IIUC, it's more like a "view" of the underlying coords. Does anyone have a view?

My understanding of these classes is that they are just slightly more complex mapping0like objects that we return instead of returning dicts in some cases. Sometimes they are intended to be immutable views and sometimes mutable IIUC. But I agree that they aren't intended to be instantiated directly by users.

Thank you v much @headtr1ck !


Add built-in firewall rule support

Have a question? Please checkout our Slack Community or visit our Slack Archive.

Describe the Feature
I want to be able to use resource aws_networkfirewall_firewall and its dependent resources as described in https://www.hashicorp.com/blog/announcing-support-for-aws-network-firewall-in-the-terraform-aws-provider
Expected Behavior
The ability to add a variable where I can reference a list of aws_networkfirewall_firewall arns and have them apply to each specified subnet and vpc mapping. So in other words, I can map firewall rules over the entire dynamic subnets deployment, which requires mapping the firewall behind the scenes via a network interface object.
Use Case
This would be very valuable to those who want to lock down their dynamic vpc deployments in an automated way (without having to go through the AWS GUI).
Describe Ideal Solution
See "Expected Behavior". I would need to think on this and I have no idea at the moment. But I am willing to think about it and contribute a solution.
Alternatives Considered
I don't believe there is an alternative without code changes. I could just not use cloudposse, but then where would the fun be in that? ;)
Additional Context
Automating network firewall rules is a pretty new feature (released nov, 2020), so adding it as an option to this terraform module would keep it up-to-date and relevant.

I'm committing to doing a PR for this. Stay tuned.

@StephanSalas Closing this issue as (a) stale and (b) something you can do yourself in a separate module by using the outputs of this one.


Added some simple messaging when trying to build under Cygwin

Also pushed CMake's minimum version to 2.8.4. to remove additional legacy/deprecation warnings.
While this doesn't change anything directly, it makes it more clear why CMake is actually failing and prevents situations such as the one described here.

Last time we bumped the CMake version, we had to make surr that popular Linux distroa such as Debian (stable) or Ubuntu supported the minimum requirement. Did you check that as well?

Nope, but if 5 years could still be too early, we can just go the easy way and suppress the warning with a variable. :)

Ubuntu 14.04 LTS Trusty (also Windows 10 base) - <IP_ADDRESS>
http://packages.ubuntu.com/trusty/cmake
Ubuntu 16.04 LTS Xenia - 3.5.1
http://packages.ubuntu.com/xenial/cmake
Debian 8 Jessie - 3.0.2
https://packages.debian.org/jessie/cmake
Debian 7 Wheezy - 2.8.9
https://packages.debian.org/source/wheezy/cmake
Fedora 23-24 >= 3.4.3
https://apps.fedoraproject.org/packages/cmake

Thanks @jantzeno for that info!

Wanted to test this with Cygwin, but now their website is down...

This PR has been added to my merge list, meaning it will be merged soon, unless someone raises any concerns.


chore(master): release 1.0.3

:robot: I have created a release beep boop
1.0.3 (2023-06-11)
Bug Fixes

wrong response class returned by response factory (3ff9318)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/wayofdev/laravel-symfony-serializer/releases/tag/v1.0.3 :sunflower:


NATS: use a set of NATS servers

https://github.com/ConnectEverything/nats-by-example/tree/main/examples/operations/replace-cluster-nodes/shell

NATS support has been removed with v0.3.4 🍋 [lemon]
A new Capsule application with NATS support will be developed thanks to:

https://github.com/bots-garden/capsule-host-sdk
https://github.com/bots-garden/capsule-module-sdk


trigger_error is not immediately apparent

<?php

describe('Error', function () {
    context('when a fatal error occurs', function () {
        it('should give me the error and bail', function () {
            trigger_error('This is an error. It should not pass.', E_USER_ERROR);
        });
    });
});

In this test specification, the following output occurs:
vagrant@localhost:/var/www/project$ ./vendor/bin/peridot tests/spec/Error.spec.php

  Error
    when a fatal error occurs
      ✓ should give me the error and bail

  1 passing (1 ms)

It was not immediately apparent to me why this was happening and does not seem like it should be the expected outcome of it. To solve this problem, I did some digging and realized that the Emitter event error is triggered and now have it visible by adding this to my configuration file:
return function(\Evenement\EventEmitterInterface $emitter) {
    $emitter->on('error', function ($errorNumber, $errorString, $errorFile, $errorLine) {
        throw new \Exception ("ErrorException Thrown in {$errorFile}:{$errorLine}\n -> {$errorString}", $errorNumber);
    });
};

I feel this happening is not very apparent and should be either made apparent in the documentation or corrected to show an error message when a triggered error occurs. Any thoughts on it?

Hmmm... interesting. It seemed appropriate to catch errors and make them available via an event to do just what you have done. A true fatal error would cause the tests to stop executing, but user errors would not. Does it make sense to treat E_USER_* errors differently? I see a couple of options here:

Do as you suggested and just document this
Bake this functionality in and enable via a config (maybe --verbose or some such option?)
Treat E_USER_* errors differently and let them through
A plugin that effectively does what you have added to the plugin - maybe like peridot-strict

This is what comes to mind for me at the moment, but I am definitely open to other options. In the mean time, I will update the docs to be more clear about this behavior. Thoughts?
Also - thanks for opening these issues! It goes a long way in making Peridot better.


Define key-based sequence

Process is randomly bound to uid seq. Usage of key and its consistent mapping to  seq id allows to achieve partial ordering for given key.

uid:bind(...)


Refresh Mode for accelerated Spice AI data source

Describe the bug
Various issues when using different parameters for refreshing an accelerated dataset.
datasets:
  # ❌ Does not refresh the accelerated table
  - from: spice.ai/eth.recent_blocks
    name: eth_recent_blocks
    acceleration:
      enabled: true
      refresh_mode: full

  # ❌ Does not refresh the accelerated table
  - from: spice.ai/eth.recent_blocks
    name: eth_recent_blocks
    acceleration:
      enabled: true
      refresh_mode: append

  # ✅ Refreshes the accelerated table
  - from: spice.ai/eth.recent_blocks
    name: eth_recent_blocks
    acceleration:
      enabled: true
      refresh_mode: full
      refresh_check_interval: 10s

  # ❌ Does not refresh the accelerated table
  - from: spice.ai/eth.recent_blocks
    name: eth_recent_blocks
    acceleration:
      enabled: true
      refresh_mode: append
      refresh_check_interval: 10s

Better validation of the config should be included with a fix here too.

As of 07/07 - not started working on this.

Docs specify that for append datasets refresh_set_interval is not used.  See:
https://docs.spiceai.org/reference/spicepod/datasets
"
Optional. How often data should be refreshed. For append datasets without a specific time_column, this config is not used.
"
Examples 1 and 2 are correct.  No refresh is configured - so it loads the data once.  Append dataset has a bug that is being tracked in:
https://github.com/spiceai/spiceai/issues/1868


Prepare for OSRM v5

Adapt the OSRM wrapper for the new server API to be released in v5.

Should be usable with an OSRM server built from the current rewrite/new-api branch preparing v5.
BUT for now the route_geometry polyline is inconsistent with the rest of the output as it is encoded with the new lon,lat OSRM policy.

Waiting for the OSRM v5.0 release candidate to check before merging the feature-osrm-v5-compat branch in develop.
Timing announcements to be tracked from https://github.com/Project-OSRM/osrm-backend/issues/2126.

Both v4.9.* and v5.0.* OSRM server API should be usable. No change to stick with v4 and a new -m flag has been added to indicate use of v5 from command line.
The -m arg is the name of the profile used for routing, even if v5.0.* doesn't really take it into account at the moment.


package.json now references correct slug

[no important files changed]

Added [no important files changed]


tendrl-api: add new line to password file

The admin password is stored in /root/password file without the ending new line:
# cat password
8b725666[root@usm-server ~]#

This patch will add new line at the end of the password file.

This is the result with this patch:
[root@usm-server ~]# cat password
ed2a903d
[root@usm-server ~]#

@mbukatov good point, should be fixed now


search panel

Moves search viewlet into panel area.
This is work in progress, created a PR just so people can easily try it out.
After trying out sublime and my prototype I suggest the following:

to go into this mode we have a setting (to start), alternative is to enable DnD between viewlet and panel area, but users do not want it for other viewlets and allowing only for search feels weird
we move the X action from the right to the left so it is not so disconnected (Open Editors already has it on left)
we show 5 full line snippets for each result (like sublime), a snippet can contain multiple hits. - We can start with just showing 1 full line at least. The issue with 5 full ines is how to visually seperate them nicely in a tree

The last point is key to make sense of using all this horizontal space.
An alternative is to do a brand new design when search is horizontal.
fixes #9435

From slack discussions some things to consider:

Layouting now to save on vertical not horizontal space, put labels and input fields each on a single line
show a lot more of the line in the snippet
Show results in the same font / display as the editor
Can we with this also tackle the issue of users wanting search results in editor area. I believe yes

fyi @bpasero feedback very welcome. You can ignore changes inside the search world

This PR does the following:

Removes the assumption from search land that SearchViewlet is a Viewlet, it can now be a panel as well
Adds a configuration search.location
Adds listeners in PanelPart and ActivityBar on the changes of this configurations, so they add / remove search from their compositeBar
Adds an API in compositeBar to add and remove composites

What still needs to be done (probably march milestone):

Improve search ux in horizontal case such that the layouting uses the additional horizontal space (we have nice ideas already what to do)

What would be nice to do as debt:

Refactor search that searchService has more functionality and not that every action needs to get a hold of the SearchView. Idealy every action would go to the Service and the SearchView would update based on events coming from the Service or the model

fyi @roblourens

@isidorn not a big fan of encoding the knowledge of search settings into core workbench parts, imho this should somehow be provided by the composite (search viewlet) and not the activity bar or side bar.
I am fine to leave this for debt week, but it would be good to address this, even if we are not expanding this feature to other parts if possible.

@isidorn cool thanks

@bpasero fyi created https://github.com/Microsoft/vscode/issues/45063 for improving horizontal search in march. I think I captured all your ideas but feel free to chime in


Use stream type icon in rendered stream name in messages

The stream list in the left side bar uses a hash icon for public streams, a lock for private streams, and (in the future) a globe for world-viewable streams. At present, however, the rendered stream name in messages is always indicated with a #.
It would be helpful to indicate the stream type in rendered messages using the appropriate icon.
See CZO discussion.

@zulipbot claim

Hey @kerryja! Are you still working on this?

@zulipbot claim


Follow up question from #1479

This is a follow up question to #1479.
I passed /InIsolation and now I get a little more info on log.txt, specifically where to find vstest.*.dmp files. But I still don't get any log.host.*.txt files.
My vstes execution is crashing, probably some of my tests are making it crash, but to properly diagnose that I would like to take a look also at log.host.*.txt. But apparently they are not being generated.

If they were generated, where would they be? Same folder where log.txt is? Somewhere else?

Is it possible that they are not being generated because vstes crashes? Any alternative?

If they were generated, where would they be? Same folder where log.txt is? Somewhere else?

Log.host.*.txt gets created in same folder as log.txt.

Is it possible that they are not being generated because vstes crashes? Any alternative?

Tests runs in testhost.exe process, log.host.*.txt created by teshost.exe, It is possible vstest.console getting crashed before launching testhost or testhost crashing before creating log file.
Get more info from the eventviewer logs. and  user mode full dump.
Share log.txt, console output and repro project with us to help you.

Here's a branch in the repo you can take a look at.
I've fixed the tests so vstest is not crashing anymore, still, no log.host.*.txt.
Here's the line where I activate diagnostics and here's a successful appveyor build, you can see in the Artifacts tab that in the logs folder there's just log.txt. Here's the line that pushes everything in logs folder as an artifact.
Let me know if there's something I can do.
Thanks.

What is VS version on build agent?
Looks like the VS version < 15.5. That is the reason you are not seeing *host files. If you move to > VS 15.5, you can use /blame option to figure out which test is causing test-process to crash.


5.0.2

How can I find the  src_app_map.tar.gz file ?

@mogui105: I am closing this Pull Request because it appears you are seeking information rather than submitting code changes. I recommend that you email the m3user list with your query. Please see, https://www.cmascenter.org/help/listserves.cfm


The height of the wrapper might change!

If it does (or if there isn't text in the container by default), then we manually set the height to the wrong value (possibly zero!).

Code sample from @Amakaruk
http://codepen.io/Amakaruk/pen/YXRLbO


Tinylog usage in Android project

Hi,
I am trying to use Tinylog library for my Android project. I have added the dependencies in build.gradle and I have created the tinylog.properties file under app\src\main\resources folder with the below properties
writer          = rolling file
writer.format   = {date:yyyy-MM-dd HH:mm:ss} {class}.{method} {level}: {message}
writer.file     = logs/TINY_log.{count}.txt
writer.charset  = UTF-8
writer.policies = size: 1mb
writer.backups  = 2
I just added Logger.info("Test message"); line in my activity class
I have below questions regarding this.

Where the log file is being created?
Can I send the log file over email from my app?
is the .properties file has been placed in correct path?

Please help to resolve these. Thanks

Relative paths are not really predictable on Android. I would suggest to point to the files dir of your app /data/data/[your app package]/files/TINY_log.{count}.txt.

tinylog doesn't have any integrated email support. However, you can implement sending emails in your app by yourself of course. I personally would implement a web service that accepts log files and let the app sending logs directly to this web service.

Yes, the correct path for tinylog.properties is src/main/resources.

Thanks for the reply.
As per your point1, the file will be stored in internal storage of the device. But, in order to email that file, I have to store it external storage(sdcard) only since it should be accessible to email app which is outside of my app.
And the path of external storage is not consistent across all devices. Is there any way to set the path dynamically?

Yes. you can set the path dynamically. I suggest to use system properties for this purpose. In tinylog.properties you configure #{logs.folder}/TINY_log.{count}.txt as target log file. At startup of your app, you can set logs.folder dynamically as system property.
For example:
File folder = Environment.getExternalStoragePublicDirectory(Environment.DIRECTORY_DOCUMENTS);
System.setProperty("logs.folder", folder.getAbsolutePath());

Important is that you set the system property before any log entries is issued. I suggest tologs.folder in the onCreate() method of your main activity.

@pmwmedia Thanks for the quick responses. This works well. I will continue to use this.

Hi @pmwmedia , I'm trying to get this working with basic internal storage but it doesn't appear to be creating a file. Any ideas? I am using an emulator so maybe that is an issue.
res\tinylog.properties
writer = rolling file
writer.format = {date:yyyy-MM-dd HH:mm:ss} {class}.{method} {level}: {message}
writer.file = /data/data/com.sp.myapp/files/tiny_log_{count}.txt
writer.charset = UTF-8
writer.policies = size: 1mb
writer.backups = 2

writerlogcat = logcat

Logger.info("I am a test log " + System.currentTimeMillis());

File data = Environment.getDataDirectory();
File myLogs = new File(data, "data/" + getPackageName() + "/files/tiny_log_0.txt");
Logger.info("Does " + myLogs.getPath() + " exist? " + (myLogs.exists()));

Well I made a stupid mistake of confusing the res folder with a resources folder for the location of the properties file. Placing it in src/main/resources fixes the issue.
This library is the bomb.


Shambhala CI Fail

Currently failing on the master branch. See here - not finding make_unique (c++14 feature).

This is happening on the externalAddProject build.

Likely some problem around the arguments going into bazel for the compiler.
https://github.com/RobotLocomotion/drake-shambhala/blob/master/drake_cmake_external/CMakeLists.txt#L48

I believe the problem is that in addition to passing --cxxopt=-std=c++1y, we also need to pass --host_cxxopt=-std=c++1y.  Some data-generating tools are compiled for the host architecture, instead of local-opt, so were not using the option.

@jwnimmer-tri Thanks for the hint!


Build error with itknetlib

Hi,
I'm trying to build SimpleElastix from SuperBuild, but I'm stuck with an error, and I'm not sure what to do next.
make -j4
[  2%] Performing build step for 'ITK'
[  7%] Built target SuperBuildSimpleITKSourceReal
[  7%] Built target SuperBuildSimpleITKSource
[ 18%] Built target GTest
[ 29%] Built target virtualenv
[ 39%] Built target PCRE
[ 49%] Built target Lua
[ 59%] Built target Swig
[  0%] Built target ITKData
[  0%] Built target ITKKWIML-all
[  0%] Built target itkdouble-conversion
[  0%] Built target itksys
[  0%] Building CXX object Modules/ThirdParty/VNL/src/vxl/vcl/CMakeFiles/itkvcl.dir/vcl_deprecated.cxx.o
[  0%] Built target itknetlib
[  0%] Built target ITKFiniteDifference-all
[  0%] Built target ITKImageFilterBase-all
[  0%] Built target ITKCurvatureFlow-all
[  0%] Built target ITKImageAdaptors-all
[  0%] Built target ITKImageFunction-all
[  0%] Built target ITKImageGrid-all
[  0%] Built target ITKAnisotropicSmoothing-all
In file included from /home/dna/softwares/sitk_20170614/build/ITK/Modules/ThirdParty/VNL/src/vxl/vcl/vcl_iostream.h:5:0,
                 from /home/dna/softwares/sitk_20170614/build/ITK/Modules/ThirdParty/VNL/src/vxl/vcl/vcl_deprecated.cxx:4:
/home/dna/softwares/sitk_20170614/build/ITK/Modules/ThirdParty/VNL/src/vxl/vcl/vcl_compiler.h:79:4: error: #error "Dunno about this gcc"
 #  error "Dunno about this gcc"
    ^~~~~
[  0%] Built target ITKImageCompose-all
[  1%] Built target itkzlib
[  1%] Built target ITKImageStatistics-all
[  1%] Built target ITKImageIntensity-all
[  1%] Built target ITKThresholding-all
[  1%] Built target ITKConnectedComponents-all
[  1%] Built target ITKMathematicalMorphology-all
[  1%] Built target ITKBinaryMathematicalMorphology-all
[  1%] Built target ITKImageLabel-all
[  1%] Built target ITKNarrowBand-all
[  1%] Built target ITKDistanceMap-all
[  1%] Built target ITKFastMarching-all
[  1%] Built target ITKImageCompare-all
[  1%] Built target ITKImageGradient-all
[  1%] Built target ITKSmoothing-all
[  1%] Built target ITKImageFeature-all
[  1%] Built target ITKImageSources-all
[  1%] Built target ITKLevelSets-all
[  1%] Built target ITKSignedDistanceFunction-all
[  1%] Built target ITKAntiAlias-all
[  1%] Built target ITKClassifiers-all
[  1%] Built target ITKColormap-all
[  1%] Built target ITKFFT-all
[  2%] Built target ITKDICOMParser
[  2%] Built target ITKConvolution-all
[  2%] Built target ITKDeconvolution-all
[  2%] Built target ITKDeformableMesh-all
[  2%] Built target ITKDenoising-all
Scanning dependencies of target ITKDisplacementField-all
[  2%] Built target ITKDiffusionTensorImage-all
make[5]: *** [Modules/ThirdParty/VNL/src/vxl/vcl/CMakeFiles/itkvcl.dir/build.make:63: Modules/ThirdParty/VNL/src/vxl/vcl/CMakeFiles/itkvcl.dir/vcl_deprecated.cxx.o] Error 1
make[4]: *** [CMakeFiles/Makefile2:630: Modules/ThirdParty/VNL/src/vxl/vcl/CMakeFiles/itkvcl.dir/all] Error 2
make[4]: *** Waiting for unfinished jobs....
[  2%] Built target ITKDisplacementField-all
Scanning dependencies of target ITKEigen-all
[  2%] Built target ITKEigen-all
[ 17%] Built target itkv3p_netlib
make[3]: *** [Makefile:152: all] Error 2
make[2]: *** [CMakeFiles/ITK.dir/build.make:112: ITK-prefix/src/ITK-stamp/ITK-build] Error 2
make[1]: *** [CMakeFiles/Makefile2:225: CMakeFiles/ITK.dir/all] Error 2
make: *** [Makefile:84: all] Error 2

Addition information:
$ cmake --version
cmake version 3.8.2

CMake suite maintained and supported by Kitware (kitware.com/cmake).

$ gcc --version
gcc (GCC) 7.1.1 20170516
Copyright (C) 2017 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.

$ uname -a
Linux dna 4.10.13-1-ARCH #1 SMP PREEMPT Thu Apr 27 12:15:09 CEST 2017 x86_64 GNU/Linux

Any help is appreciated.

I think the problem was with gcc. When I installed gcc-5 from the Arch repo, and asked cmake to use that, it builds correctly.


We shouldn't use snapbox to call scarb

https://github.com/software-mansion-labs/cairo/pull/88#discussion_r1229720610

updt


Distribution of software

Not for right now. But in the long run it might be worthwhile to think about how to distribute the software. I favour Flatpak since it is cross-platform on most (if not all) Linux platforms. And that way we just package it once and be done with it (along with some USB access rules that should be interesting). Although distribution via dnf or apt would also be really cool. But that would require more maintenance and audits to get it into the main repo's. What do you think @stephendpmurphy?

I agree! I say we shoot for as many distribution methods as possible. We can go with flatpak first if you are already familiar with it. 👍


Wrong behavior with onlyOn and onlyForStage options.

Q
A

Issue Type
Bug

Deployer Version
4.1.0

Local Machine OS
linux

Remote Machine OS
linux

Description
Wrong behavior with onlyOn and onlyForStage options.
Steps to reproduce
Content of deploy.php
<?php
namespace Deployer;
require 'recipe/common.php';

localServer('s1')
    ->stage('develop');

localServer('s2')
    ->stage('production');

task('task:bad', function () {
    if (in_array('develop', get('stages'))) {
        writeln('task on develop');
    } elseif (in_array('production', get('stages'))) {
        writeln('task on production');
    }
})->desc('Task bad solution');

desc('Run task for s1 server');
task('task:s1', function () {
    writeln('task only s1');
})->onlyOn('s1');

desc('Run task for s2 server');
task('task:s2', function () {
    writeln('task only s2');
})->onlyOn('s2');

desc('Run task for develop stage');
task('task:develop', function () {
    writeln('task only develop');
})->onlyForStage('develop');

desc('Run task for production stage');
task('task:production', function () {
    writeln('task only production');
})->onlyForStage('production');

task('test', [
    'task:bad',
    'task:s1',
    'task:s2',
    'task:develop',
    'task:production',
])->desc('Test condition executing');

Output log

Run by server s1(develop)

$ dep -vvv test s1
➤ Executing task task:bad
task on develop
• done on [s1]
✔ Ok [0ms]
➤ Executing task task:s1
task only s1
• done on [s1]
✔ Ok [0ms]
➤ Executing task task:s2
✔ Ok [0ms]

Expected Executing task task:develop

Run by server s2(production)

$ dep -vvv test s2
➤ Executing task task:bad
task on production
• done on [s2]
✔ Ok [0ms]
➤ Executing task task:s1
✔ Ok [0ms]
➤ Executing task task:s2
task only s2
• done on [s2]
✔ Ok [0ms]

Expected Executing task task:production

Run by stage develop(s1)

$ dep -vvv test develop
➤ Executing task task:bad
task on develop
• done on [s1]
✔ Ok [0ms]
➤ Executing task task:s1
task only s1
• done on [s1]
✔ Ok [0ms]
➤ Executing task task:s2
✔ Ok [0ms]
➤ Executing task task:develop
task only develop
• done on [s1]
✔ Ok [0ms]

Work as expected.

Run by stage production(s2)

$ dep -vvv test production
➤ Executing task task:bad
task on production
• done on [s2]
✔ Ok [0ms]
➤ Executing task task:s1
✔ Ok [0ms]
➤ Executing task task:s2
task only s2
• done on [s2]
✔ Ok [0ms]
➤ Executing task task:production
task only production
• done on [s2]
✔ Ok [1ms]

Work as expected.
In all four cases there are indication Executing task task:s1 and Executing task task:s2 but actual output seems correct.
I suppose that:

first case should contain Executing task task:develop
second case should contain Executing task task:production
first and third cases should not contain Executing task task:s1
second and fourth cases should not contain Executing task task:s2

Am I wrong?

Hi, i'm thinkng about refactoring the whole system in v5. Now i'm thinking about better api.

Isn't this is BUG ? Why feature?
Task 'onlyOn' does not executed if deploy call by stage name

You're right. It's a bug.

Fixed in #1092.


Fixes Popup Crashes on Android API 22 and Lower

Description of Change
Fixes Popup View crashes when the Android API is set to 22 or lower. I have tested this on API 21 and API 29 see screenshot below.

While looking around on lower APIs some things appear to not work like it does on the latest and greatest versions of Android. This PR only fixes the app crash in the SetSize method and nothing else.

Bugs Fixed

Fixes #1325
Fixes #1193

API Changes
N/A
Behavioral Changes
N/A
PR Checklist

[x] Has a linked Issue, and the Issue has been approved
[ ] Has tests (if omitted, state reason in description)
[x] Has samples (if omitted, state reason in description)
[x] Rebased on top of main at time of PR
[x] Changes adhere to coding standard

[ ] Updated documentation

Since it's bugfix, can we target it to main branch?

@AndreiMisiukevich I have re-targeted this PR to the main branch and force updated my branch associated with this PR. I think this is ready for review.


Fix UML for forks

Description

Trying out from issue: https://github.com/actions/checkout/issues/551
Related Issue

[ ] Closes #
[ ] Related to #

Checklist

[ ] Checked that the pre-commit linting/style checks pass
[ ] Included tests that prove the fix is effective or that the new feature works
[ ] Added necessary documentation (docstrings and/or example notebooks)
[ ] If you are a pro: each commit corresponds to a relevant logical change

Modules affected

[ ] MMM
[ ] CLV

Type of change

[ ] New feature / enhancement
[ ] Bug fix
[ ] Documentation
[ ] Maintenance
[ ] Other (please specify):

📚 Documentation preview 📚: https://pymc-marketing--966.org.readthedocs.build/en/966/

Will try off of my fork


[QA-1949] Terra-UI test: Update dismissNotification function to avoid sleep if not needed

QA-1949
Sleeping 3 seconds is not necessary if a notification popup is found already.

This seems like it would work ok if there were only one notification. However, what if multiple notifications appear, both within the 3 second time frame but 1 second apart? It looks like this would see the first notification, close it, and then continue, leaving the second notification blocking parts of the UI.

I didn't expect that. Doesn't UI gurantees all notifications will show around the same time on landing page during log in?


Support  AppEngine Flexible environments with the Go 1.7 changes

With the Go 1.7 changes, the request can be modified in the handler for every request (using r = r.WithContext(ctx)) so that if we had middleware to grab the AppEngine context, the new request would cause a panic. I'm not sure if a fix for this will be included with the AppEngine package once it officially supports 1.7, but for those of us currently developing with 1.7 on the Flexible Environment, this is an issue. These build tag changes fixes the issue and alleviates the need for adding middleware for the flexible environment to utilize the proper context throughout the application.

Thanks for the fixes! I appreciate it.


BOSH VM Creation and Re-Creation in one run

Greetings -
We just recently upgraded our microboshes from v219 to v246 and are now using stemcell 3177 for vSphere. Since doing that upgrade, we have not been able to consistently run bosh errands - in some deployments we aren't able to at all. I tried rolling back to stemcell 3033 (the last known good one) and it didn't solve the problem, so it looks like BOSH may be the culprit.
We keep getting this error:
Error 450002: Timed out sending `update_settings' to 6fec090d-f5f8-4d3e-a1a6-183d87284f77 after 45 seconds
"45" seems to be the default timeout for the AgentClient class when it isn't fed a timeout through its options.
After doing further digging, we traced it to the "env.bosh.password" property on one of our resource pools.  When this property exists, BOSH goes through the following workflow:

Create the instance.
Change the password - and in order to do that...
a) Shut down the instance
b) Re-create the instance with the new password

The problem:  When BOSH re-creates the instance with the new password, it issues a new UUID for the bosh agent.  However, BOSH still listens for the first UUID issued (during "1) Create the instance.").  Since that bosh agent is no longer running, the timeout occurs.
So, when we remove env.bosh.password, the problem seems to go away.

Here is an example of what we see in the logs (shortened and annotated, with sensitive data redacted):
CREATE THE FIRST VM:
I, [2016-01-19T18:03:42.870144 #26066]  INFO -- : Creating vm: vm-fbd9071f-8257-4b2d-b3bc-58f2ab2d188a on <[Vim.ClusterComputeResource] domain-c8> stored in <[Vim.Datastore] datastore-97>
I, [2016-01-19T18:03:42.881412 #26066]  INFO -- : Stemcell lives on a different datastore, looking for a local copy of: sc-1a8926ab-d1f7-4649-b2e6-743ef7a4d0a9.
I, [2016-01-19T18:03:42.887621 #26066]  INFO -- : Found local stemcell replica: <[Vim.VirtualMachine] vm-10871>
I, [2016-01-19T18:03:42.887684 #26066]  INFO -- : Using stemcell VM: <[Vim.VirtualMachine] vm-10871>
I, [2016-01-19T18:03:42.944202 #26066]  INFO -- : Cloning vm: (VSphereCloud::Resources::VM (cid="sc-1a8926ab-d1f7-4649-b2e6-743ef7a4d0a9")) to vm-fbd9071f-8257-4b2d-b3bc-58f2ab2d188a
D, [2016-01-19T18:03:42.971320 #26066] DEBUG -- : Found requested resource pool: <[Vim.ResourcePool] resgroup-533>
I, [2016-01-19T18:03:50.566056 #26066]  INFO -- : Setting VM env: {"vm"=>{"name"=>"vm-fbd9071f-8257-4b2d-b3bc-58f2ab2d188a", "id"=>"vm-11504"},
"agent_id"=>"6f99c79b-cf47-457f-9005-24ccae5f471b",
"networks"=>
{"default"=>
{"ip"=>"<IP_ADDRESS>",
"netmask"=>"<IP_ADDRESS>",
"cloud_properties"=>{"name"=>"SB_PCF"},
"default"=>["dns", "gateway"],
"dns"=>["<IP_ADDRESS>"],
"gateway"=>"<IP_ADDRESS>",
"mac"=>"00:50:56:ae:57:83"}},
"disks"=>{"system"=>"0", "ephemeral"=>"1", "persistent"=>{}},
"ntp"=>["<IP_ADDRESS>", "<IP_ADDRESS>"],
"blobstore"=>
{"provider"=>"dav",
"options"=>
{"endpoint"=>"http://<IP_ADDRESS>:25250",
"user"=>"agent",
"password"=>"REDACTED"}},
"mbus"=>"nats://nats:nats@<IP_ADDRESS>:4222",
"env"=>
{"bosh"=>
{"password"=>
"REDACTED"}}}
...
PASSWORD CHANGE:
D, [2016-01-19 18:04:48 #26039] [canary_update(push-apps-manager/0 (99d94835-0e6a-4fc9-aac2-8ece3ce81625))] DEBUG -- DirectorJobRunner: env_changed? changed FROM: {} TO: {"bosh"=>{"password"=>"REDACTED"}} on instance push-apps-manager/0 (99d94835-0e6a-4fc9-aac2-8ece3ce81625)
D, [2016-01-19 18:04:48 #26039] [canary_update(push-apps-manager/0 (99d94835-0e6a-4fc9-aac2-8ece3ce81625))] DEBUG -- DirectorJobRunner: VM needs to be shutdown before it can be updated.
D, [2016-01-19 18:04:48 #26039] [canary_update(push-apps-manager/0 (99d94835-0e6a-4fc9-aac2-8ece3ce81625))] DEBUG -- DirectorJobRunner: Failed to update in place. Recreating VM
I, [2016-01-19 18:04:48 #26039] [canary_update(push-apps-manager/0 (99d94835-0e6a-4fc9-aac2-8ece3ce81625))]  INFO -- DirectorJobRunner: Deleting VM
D, [2016-01-19 18:04:48 #26039] [canary_update(push-apps-manager/0 (99d94835-0e6a-4fc9-aac2-8ece3ce81625))] DEBUG -- DirectorJobRunner: External CPI sending request: {"method":"delete_vm","arguments":["vm-fbd9071f-8257-4b2d-b3bc-58f2ab2d188a"],"context":{"director_uuid":"095aa975-c092-40c4-aa2a-2a5337a30353"}} with command: /var/vcap/jobs/vsphere_cpi/bin/cpi
...
CREATE SECOND VM:
[2016-01-19T18:05:03.638964 #26391] DEBUG -- : VM creator initialized with memory: 4096, disk: , cpu: 2, placer: (VSphereCloud::FixedClusterPlacer (cluster="(VSphereCloud::Resources::Cluster (name="FD1"))"))
D, [2016-01-19T18:05:03.745740 #26391] DEBUG -- : Looking for a ephemeral datastore in FD1 with 17408MB free space.
D, [2016-01-19T18:05:03.745989 #26391] DEBUG -- : All datastores within cluster FD1: ["STORAGE3-BLOCK (6689244MB free of 31457024MB capacity)", "STORAGE2-BLOCK (9354899MB free of 36699904MB capacity)", "STORAGE1-BLOCK (8572882MB free of 36699904MB capacity)"]
D, [2016-01-19T18:05:03.746187 #26391] DEBUG -- : Datastores with enough space: ["STORAGE3-BLOCK (6689244MB free of 31457024MB capacity)", "STORAGE2-BLOCK (9354899MB free of 36699904MB capacity)", "STORAGE1-BLOCK (8572882MB free of 36699904MB capacity)"]
I, [2016-01-19T18:05:03.746565 #26391]  INFO -- : Creating vm: vm-fa204871-c84c-4cd8-9b3e-be1832fb5745 on <[Vim.ClusterComputeResource] domain-c8> stored in <[Vim.Datastore] datastore-97>
I, [2016-01-19T18:05:03.773032 #26391]  INFO -- : Stemcell lives on a different datastore, looking for a local copy of: sc-1a8926ab-d1f7-4649-b2e6-743ef7a4d0a9.
I, [2016-01-19T18:05:03.787062 #26391]  INFO -- : Found local stemcell replica: <[Vim.VirtualMachine] vm-10871>
I, [2016-01-19T18:05:03.787209 #26391]  INFO -- : Using stemcell VM: <[Vim.VirtualMachine] vm-10871>
I, [2016-01-19T18:05:03.903580 #26391]  INFO -- : Cloning vm: (VSphereCloud::Resources::VM (cid="sc-1a8926ab-d1f7-4649-b2e6-743ef7a4d0a9")) to vm-fa204871-c84c-4cd8-9b3e-be1832fb5745
D, [2016-01-19T18:05:03.947784 #26391] DEBUG -- : Found requested resource pool: <[Vim.ResourcePool] resgroup-533>
I, [2016-01-19T18:05:11.549443 #26391]  INFO -- : Setting VM env: {"vm"=>{"name"=>"vm-fa204871-c84c-4cd8-9b3e-be1832fb5745", "id"=>"vm-11505"},
"agent_id"=>"85e712f6-95e9-429b-b812-1795bfb3024d",
"networks"=>
{"default"=>
{"ip"=>"<IP_ADDRESS>",
"netmask"=>"<IP_ADDRESS>",
"cloud_properties"=>{"name"=>"SB_PCF"},
"default"=>["dns", "gateway"],
"dns"=>["<IP_ADDRESS>"],
"gateway"=>"<IP_ADDRESS>",
"mac"=>"00:50:56:ae:2c:f5"}},
"disks"=>{"system"=>"0", "ephemeral"=>"1", "persistent"=>{}},
"ntp"=>["<IP_ADDRESS>", "<IP_ADDRESS>"],
"blobstore"=>
{"provider"=>"dav",
"options"=>
{"endpoint"=>"http://<IP_ADDRESS>:25250",
"user"=>"agent",
"password"=>"REDACTED"}},
"mbus"=>"nats://nats:nats@<IP_ADDRESS>:4222",
"env"=>
{"bosh"=>
{"password"=>
"REDACTED"}}}
at depth 0 - 20: unable to get local issuer certificate
at depth 0 - 20: unable to get local issuer certificate
I, [2016-01-19T18:05:18.108711 #26391]  INFO -- : Powering on VM: (VSphereCloud::Resources::VM (cid="vm-fa204871-c84c-4cd8-9b3e-be1832fb5745"))
...
ERROR:
Error 450002: Timed out sending `update_settings' to 6f99c79b-cf47-457f-9005-24ccae5f471b after 45 seconds

I think this issue was fixed in bosh v250.


Redirect URL in hybrid (cordova) app results in error

Core Library
MSAL.js v2 (@azure/msal-browser)
Core Library Version
2.27.0
Wrapper Library
MSAL React (@azure/msal-react)
Wrapper Library Version
1.4.3
Description
I'm trying to leverage msal-react within a hybrid app using Cordova. Web is working great but I can't figure out what redirectUri to specify to get it working in the hybrid app (web view). I've leveraged the react B2C sample, modified slightly to test this out in our hybrid app.
The issue I'm having is getting the hybrid app to recognize the redirectUri, which is specified in our App Registration under Single-Page Application Redirect URIs.
Error Message
Running the hybrid app locally with my Android device connected up to Chrome, I get a "Webpage not available" error with ERR_NAME_NOT_RESOLVED.

If I "refresh" the hybrid app in Dev Tools while on the error message screen the error goes away and my app refreshes and I'm logged in so it looks like msal-react is grabbing the hash from the location.path, just can't figure out how to handle redirectUri to prevent the initial error.
Msal Logs
No response
MSAL Configuration
auth: {
    clientId: "our-client-id",
    authority:
      "https://our-custom-b2c.domain/our-tenantid.onmicrosoft.com/b2c_1a_our-policy",
    knownAuthorities: ["https://our-custom-b2c.domain"],
    redirectUri: "https://our-app/", // which is listed in our B2C app registration
    postLogoutRedirectUri: "https://our-app/logout",
    navigateToLoginRequestUrl: true
  },
  cache: {
    cacheLocation: "sessionStorage",
    storeAuthStateInCookie: false,
    secureCookies: true
  },
  system: {
    loggerOptions: {
      loggerCallback: (level, message, containsPii) => {
        if (containsPii) {
          return;
        }
        switch (level) {
          case LogLevel.Error:
            console.error(message);
            return;
          case LogLevel.Info:
            console.info(message);
            return;
          case LogLevel.Verbose:
            console.debug(message);
            return;
          case LogLevel.Warning:
            console.warn(message);
            return;
          default:
            return;
        }
      }
    }
  }

Relevant Code Snippets
import React from "react";
import { useMsal } from "@azure/msal-react";
import { loginRequest } from "../util/authConfig";

const LogInButton = () => {
  const { instance } = useMsal();

  const handleLogin = async () => {

    instance
      .loginRedirect(loginRequest)
      .then((response) => {
        console.log("login successful", response);
      })
      .catch((error) => {
        console.log(error);
      });
  };

  return (
    <React.Fragment>
      <button
        className="btn btn-primary"
        onClick={handleLogin}
        type="button"
      >
        Login Redirect
      </button>
    </React.Fragment>
  );
};

export default LogInButton;

Reproduction Steps
Leveraging the React B2C sample app:

build app and run on android device
`cordova run android --device`

Once app opens on device, select Login Redirect button, which executes msalInstance.loginRedirect(msalConfig)

Sign in using my userid/password

B2C redirects back to app, which is when I get the error: ERR_NAME_NOT_RESOLVED

Select Refresh in DevTools, note that the app indicates I've logged in. I can navigate to the Protected sample to get see the data

Likewise, if I specify our "web" redirectUri for the hybrid apps, I'm able to login but I end up having to "refresh" or select the login button again for react to recognize that I've authenticated.
Expected Behavior
I would expect the hybrid app to handle the redirectUri like it does for the web browser.
Identity Provider
Azure B2C Custom Policy
Browsers Affected (Select all that apply)
Other
Regression
No response
Source
External (Customer)

@mpbiehn Is this domain of this domain in the picture localhost bychance?

@jasonnutter thanks for the question. Nope, the domain redacted in the screenshot is not localhost. It's the scheme://hostname we have set in config.xml of our Cordova app. I've tried several alternatives, including the domain of our web URL, without any luck.

@jasonnutter  Same problem in android and iOS i can get this log in xCode -->
2022-08-02 11:49:54.796392+0200 demo-app[6468:453896] webView:didFailProvisionalNavigation - -1004: Could not connect to the server.
2022-08-02 11:50:21.057345+0200 demo-app[6468:453896] Could not signal service com.apple.WebKit.WebContent: 113: Could not find specified service
To test  just add this lines to config.xml file in cordova application and ensure that cordova-plugin-ionic-webview is installed  and cordova-plugin-inappbrowser (cordova plugin list -->  command to show installed plugins )
Error happen also using capacitor not only Cordova.
config.xml code -->

Probably the error is when this library pick the location origin from window.location.origin. In mobile hybrid apps location origin can be fileSystem

@jasonnutter Same problem in android and iOS i can get this log in xCode -->
2022-08-02 11:49:54.796392+0200 demo-app[6468:453896] webView:didFailProvisionalNavigation - -1004: Could not connect to the server.
2022-08-02 11:50:21.057345+0200 demo-app[6468:453896] Could not signal service com.apple.WebKit.WebContent: 113: Could not find specified service
To test just add this lines to config.xml file in cordova application and ensure that cordova-plugin-ionic-webview is installed and cordova-plugin-inappbrowser (cordova plugin list --> command to show installed plugins )
Error happen also using capacitor not only Cordova.
config.xml code -->
<preference name="UseScheme" value="true" />
 <preference name="Scheme" value="https" />
 <preference name="HostName" value="mycoolApp" />
 <preference name="iosScheme" value="httpsionic" />

Probably the error is when this library pick the location origin from window.location.origin. In mobile hybrid apps location origin can be fileSystem

Same error

@jasonnutter Jason Nutter FTE thanks for the question. Nope, the domain redacted in the screenshot is not localhost. It's the scheme://hostname we have set in config.xml of our Cordova app. I've tried several alternatives, including the domain of our web URL, without any luck.

@mpbiehn Unfortunately, I'm not sure how much we can help here, given this is a network level error, and likely not caused by MSAL itself. Furthermore, we don't fully support Ionic/Cordova at this time, so there is limited expertise we can provide.

@jasonnutter bummer, would love to get this added to the feature request list. :)

Possibly related to this is this issue for cordova-plugin-ionic-webview: https://github.com/ionic-team/cordova-plugin-ionic-webview/issues/623 -- according to that there seems that external sites may not be able to successfully do a 302 redirect (or similar) back to the cordova app.  Maybe this could be some sort of cross-site security measure.  A workaround provided there is to have a separate external web page receive the 302 redirect and use javascript there to direct the user back to your app.

or (if possible), maybe even having Azure use javascript for the redirect directly vs. an HTTP redirect.

AAD should already do this for browser scenarios, can you debug and double check?

@jasonnutter still working out some kinks but came across a react-router-sample and an Angular example that leveraged CustomNavigationClient and Cordova's InAppBrowser to get login/logout working in hybrid app. Using CustomNavigationClient's navigateExternal we can leverage cordova.InAppBrowser to capture the redirect from the auth provider and handle #state passed in the redirectUri accordingly.
Still have to test on iOS but here's a working version (happy path) of CustomNavigationClient on Android.
`
import { NavigationClient } from "@azure/msal-browser";
export class CustomNavigationClient extends NavigationClient {
constructor(history) {
super();
this.history = history;
}
/**

Navigates to other pages within the same web application
You can use the useHistory hook provided by react-router-dom to take advantage of client-side routing
@param url
@param options
*/
async navigateInternal(url, options) {
const relativePath = url.replace(window.location.origin, "");
if (options.noHistory) {
this.history.replace(relativePath);
} else {
this.history.push(relativePath);
}

return false;

}
/**

Navigates to pages outside of web application
@param url
@param options
*/
async navigateExternal(url, options) {
console.log("navigateExternal", url, options);

if (window.hasOwnProperty("cordova")) {
  let windowOptions =
    "hidenavigationbuttons=yes,hideurlbar=yes,closebuttoncaption=Close,";

  // window options vary depending on android/ios and vary based on the redirect login from Azure B2C policy
  if (appEnv.REACT_APP_PLATFORM === "android") {
    windowOptions += "location=yes,zoom=no,toolbarcolor=#9a3324";
  } else if (appEnv.REACT_APP_PLATFORM === "ios") {
    windowOptions +=
   "location=no,toolbartranslucent=false,toolbarcolor=#ffffff,toolbarposition=bottom,lefttoright=yes,closebuttoncolor=#000000";
  }

  const ref = window.cordova.InAppBrowser.open(
    url,
    "_blank",
    windowOptions
  );

  // Check if the appbrowser started a navigation
  ref.addEventListener("loadstart", (event) => {
    console.log("loadstart", event);

    if (event.url.includes("#state")) {
      //#state will be including in the redirectUri after login which Cordova can't handle OOTB (results in network error)

      // Close the in app browser
      ref.close();

      // update location.href to origin/#state=
      const myUrl = new URL(event.url);
      const newUrl = new URL(
        `${appEnv.REACT_APP_OAUTH_REDIRECT_URI}/${myUrl.hash}`
      );
      window.location.href = newUrl;
    } else if (event.url.includes("post_logout_redirect_uri")) {
      // post_logout_redirect_uri will be included in the logout redirect, which Cordova can't handle (results in network error)

      // Close the in app browser
      ref.close();

      // update location.href to post_logout_redirect_uri?client-request-id=
      const myUrl = new URL(event.url);
      const redirectUri = myUrl.searchParams.get(
        "post_logout_redirect_uri"
      );
      const clientRequestId = myUrl.searchParams.get("client-request-id");

      const newUrl = new URL(
        `${redirectUri}?client-request-id=${clientRequestId}`
      );

      window.location.href = newUrl.href;
    }
  });
} else {
  if (options.noHistory) {
    window.location.replace(url);
  } else {
    window.location.assign(url);
  }
}

return true;

}
}
`

@jasonnutter I've poked around for the Javascript redirect a little bit.  I'm looking at the options for the auth code endpoint and do not see one to have redirection done with Javascript rather than with an HTTP 302.  I have tried using PKCE challenges, using response_type=token or response_type=id_token, and using response_mode=fragment - but no matter what I've still been getting an HTTP 302 redirect rather than a javascript one.
I also thought maybe it had to do with my app registration configuration.  I switched the redirect URI type to be "SPA" instead of "Web", but I also received an HTTP 302 redirect in that scenario.  Am thinking maybe there is another setting hidden in here somewhere but so far have been striking out on finding other settings that could be relevant.
Can you confirm that this is where you were thinking this might be supported?  Am I just missing it?  It will be awesome if that is a solution and all that is needed is to tweak some settings rather than using the CustomNavigationClient approach above.
Thanks a bunch for the tip.

@snydergd It would be done for requests made to the authorize endpoint. It is possible the server doesn't always do a javascript-based redirect. I'll see if I can find out more.

@snydergd Looks like this behavior is done conditionally and is not something you have direct control over, unfortunately.

@jasonnutter  any news?

I would recommend trying to register the redirect URI as mobile/desktop rather than SPA or Web, given that the mobile device is technically a native public client. Although we're not seeing the server error that is my best guess on what could be the problem. It's important that the redirect URI registered as mobile/desktop isn't exactly the same as the one used for the web URL since the portal won't allow a duplicate.

@hectormmg I updated the redirect URI to be InstalledClient in the app registration which was the only one of the documented options that I didn't try previously.  This is also giving me a 302 redirect rather than a JavaScript one, though.

Reopen this issue

@hectormmg It looks like the issue has closed due to lack of a response from the original author, but it does not seem that the issue has been resolved quite yet for the others of us contributing to it.  Can it be reopened?  Also, was my last post the correct way to try what you were suggesting, or should I try something else?

Still trying to resolve the issue but now able to as the msal-openid is failing to give any response


Options Strike price for stocks with that had a recent stock split incorrect.

The strike prices for options data for companies that had a recent stock split are not reflecting the adjusted stock split strike prices. For example, AAPL and TSLA recently had a stock split and if you check the strike prices for specific expirations, they will contain records with strike prices pre- stock split and also contain record with strike prices after- stock split. How can I fix this so all strike prices for any ticker reflect the correct after stock-split strike prices?

Same issue for special dividends. Take a look at the F Sept 2023 monthly contract.

Create an issue using the new template, need more info.


In this way, we prevent some IDEs that do this by default, to generate a new commit :).

Thanks, @zalog!


Want to add my portfolio website

Hey, @RITEKROUNAK I want to add my portfolio website.

Great, Just follow the steps and raise a PR


Possible build error?

I pulled the latest archive for 0.4r4 through commit 519b000 and attempted a build. I received a build error concerning a "flag provided but not defined" error.
pi@raspberrypi ~/stratux $ make
cd dump978 && make lib
make[1]: Entering directory '/home/pi/stratux/dump978'
gcc -c -O2 -g -Wall -Werror -Ifec -fpic -DBUILD_LIB=1 dump978.c fec.c fec/decode_rs_char.c fec/init_rs_char.c
gcc -shared -lm -o ../libdump978.so dump978.o fec.o decode_rs_char.o init_rs_char.o
make[1]: Leaving directory '/home/pi/stratux/dump978'
sudo cp -f ./libdump978.so /usr/lib/libdump978.so
go get -t -d -v ./...
go build "-ldflags -X main.stratuxVersion=git describe --tags --abbrev=0 -X main.stratuxBuild=git log -n 1 --pretty=%H" main/gen_gdl90.go main/traffic.go main/ry835ai.go main/network.go main/managementinterface.go main/sdr.go main/uibroadcast.go
flag provided but not defined: -ldflags -X main.stratuxVersion
Build compiles the packages named by the import paths, along with their dependencies, but it does not install the results.
…
-ldflags usage description
...
See also: go install, go get, go clean.
Makefile:8: recipe for target 'all' failed
make: *** [all] Error 2

Update: I got it to build. I had to edit line 4 in the Makefile from:
BUILDINFO="-ldflags -X main.stratuxVersion=git describe --tags --abbrev=0 -X main.stratuxBuild=git log -n 1 --pretty=%H"
To:
BUILDINFO=-ldflags "X main.stratuxVersion=git describe --tags --abbrev=0 -X main.stratuxBuild=git log -n 1 --pretty=%H"

Sorry about that! It's an edit error on my part for a commit that got the
ci builder running. I'll submit a fix.
-joe
On Fri, Nov 13, 2015 at 4:43 PM, Axtel4<EMAIL_ADDRESS>wrote:

Update: I got it to build. I had to edit line 4 in the Makefile from:
BUILDINFO="-ldflags -X main.stratuxVersion=git describe --tags --abbrev=0
-X main.stratuxBuild=git log -n 1 --pretty=%H"
To:
BUILDINFO=-ldflags "X main.stratuxVersion=git describe --tags --abbrev=0
-X main.stratuxBuild=git log -n 1 --pretty=%H"
—
Reply to this email directly or view it on GitHub
https://github.com/cyoung/stratux/issues/117#issuecomment-156580089.

Fixed with abd4a50386a79a913245bd905a136919e07f73ea.


(feat) config function field

hey there! i've implemented (maybe quite poorly) a feature from packer.nvim where you're able to define a runtime config function right where you define what plugins to install. for example,
previously
require("paq")({

  "ribru17/bamboo.nvim",

})

require("bamboo").load()

now
require("paq")({

  {
    "ribru17/bamboo.nvim",
    config = function()
      require("bamboo").load()
    end,
  },

})

it does increase the amount of lines in the code but makes it much easier to read when you have a lot of plugins installed and have to scroll a long way in order to read both simultaneously

Hi,
Paq since uses packages from vim it doesn't really has an opinion on configuring plugins. The philosophy behind paq is to be just a convenient way to install plugins. But everything from plugin configuration and loading is up to the user or neovim.


"Targeted HTTP Cache Control“ specs supports

https://httpwg.org/specs/rfc9213.html

Before implementing this into core, i think we can already do this with header rewrite or lua plugin

Great.

Hi, I'm new here and exploring how I can use traffic server. is this something that won't get implemented in traffic server?
I'm looking for a means to support that header since I'm not sure traffic server supports s-maxage

Hi, I'm new here and exploring how I can use traffic server. is this something that won't get implemented in traffic server?
I'm looking for a means to support that header since I'm not sure traffic server supports s-maxage

Hi @pmbanugo. We do not support the Targeted Cache Control spec, but ATS does handle s-maxage. In order to verify this, I added some tests for the s-maxage feature and it passes those tests:
https://github.com/apache/trafficserver/pull/11601


[e2e]: delegator-lowperms create main default slsa3

Repo: https://github.com/slsa-framework/example-package/tree/main
Run: https://github.com/slsa-framework/example-package/actions/runs/8366219780
Workflow file: https://github.com/slsa-framework/example-package/tree/main/.github/workflows/e2e.delegator-lowperms.create.main.default.slsa3.yml
Workflow runs: https://github.com/slsa-framework/example-package/actions/workflows/e2e.delegator-lowperms.create.main.default.slsa3.yml
Trigger: workflow_dispatch
Branch: main
Date: Wed Mar 20 21:45:58 UTC 2024

Repo: https://github.com/slsa-framework/example-package/tree/v46.0.256
Run: https://github.com/slsa-framework/example-package/actions/runs/8375403781
Workflow file: https://github.com/slsa-framework/example-package/tree/main/.github/workflows/e2e.delegator-lowperms.create.main.default.slsa3.yml
Workflow runs: https://github.com/slsa-framework/example-package/actions/workflows/e2e.delegator-lowperms.create.main.default.slsa3.yml
Trigger: create
Branch: v46.0.256
Date: Thu Mar 21 13:26:01 UTC 2024
Tests are passing now. Closing this issue.


fine-tuning phase

python3 -m tools.train_net --num-gpus 8 \
        --config-file configs/PascalVOC-detection/split1/faster_rcnn_R_101_FPN_ft_all1_1shot.yaml \
        --opts MODEL.WEIGHTS $WEIGHTS_PATH

Shouldn't the novel class be used in the fine-tuning phase? Why is the all class used here?

i am also confused 。we can communicate with at qq 906922714


Update docs for inputs/outputs changes

@fchirigati if you can take a look
I notice that we don't have much docs for the "multiple runs" feature, only the approach "put everything into one script" is mentioned several times.

Yes, that's precisely why we need to update the docs -- the "multiple runs"
feature is not mentioned at all. Our users will not be aware of this if we
don't update the docs :)
I'll take a look at your update later this week.
On Wed, Jul 8, 2015 at 12:19 AM, Remi Rampin<EMAIL_ADDRESS>wrote:

@fchirigati https://github.com/fchirigati if you can take a look
I notice that we don't have much docs for the "multiple runs" feature,
only the approach "put everything into one script" is mentioned several
times.
You can view, comment on, or merge this pull request online at:
https://github.com/ViDA-NYU/reprozip/pull/125
Commit Summary

Update docs for inputs/outputs changes

File Changes

M docs/source/packing.rst
https://github.com/ViDA-NYU/reprozip/pull/125/files#diff-0 (33)

Patch Links:

https://github.com/ViDA-NYU/reprozip/pull/125.patch
https://github.com/ViDA-NYU/reprozip/pull/125.diff

—
Reply to this email directly or view it on GitHub
https://github.com/ViDA-NYU/reprozip/pull/125.

--
Fernando Chirigati
Research Assistant and Doctoral Candidate at NYU
http://bigdata.poly.edu/~fchirigati/ http://vgc.poly.edu/~fchirigati/


Lazy reading of response body

Currently, response body is read entirely and closed inside Response constructor. This prevents Response to work with stream responses, e.g. SSE.
To fix this, Response should not read entire body in constructor, but instead read it only on demand when it's needed first time, e.g. when the user invoked Text() or JSON(). This way it'll continue to work as before for regular responses and wont break with stream responses, given that the user does not try to invoke inappropriate methods on them.
We need to find all places when r.content is used in response.go and replace it with a function call which will check if response body is already read, and read it if necessary.
We should add unit test for Response that checks that body is not read until a call to Text/JSON/etc.

Hi @gavv, may I work on this?

Sure, thanks!


[MRG] add hydroshare as a repo provider

repo2docker changes:
https://github.com/jupyter/repo2docker/pull/800

@nuest @betatim - Anything else you need from me to get this merged?  The only thing I'm aware that is up for question here is what the HydroShare DOI/Resource box label should say.  I'm happy to use what you'd like.

pinging @betatim and @choldgraf. Anything left to do here before merging?

I can try to take a pass at this something this week. I'm a bit unsure of the details for hydroshare's API etc, so I'll have to take y'alls word on this. @nuest do you think this one is good to go?

This looks good to me - I'd like to get
https://github.com/jupyterhub/binderhub/pull/1017
merged, and then have this PR add some documentation about the HydroShare provider, before merging. Sounds good?

I'll be happy to update documentation once that PR is merged.  Just let me know when I can pull and I'll add a commit for HydroShare.  It looks like entries will need to be added only for doc/developer/repoproviders.rst and doc/reference/repoproviders.rst

OK, we just got #1017 merged, so can you follow the instructions here:
https://binderhub.readthedocs.io/en/latest/developer/repoproviders.html#adding-a-new-repository-provider
In particular the bit about documenting this repoprovider, and then we can merge?

Anything left to do here before merging?

The repo2docker PR is still outstanding so that needs taking care of.

I think this is not ready to merge. get_resolved_spec and get_resolved_ref_url methods are not defined and they are used during build process:
https://github.com/jupyterhub/binderhub/blob/089702b32dc0689ba432504724d82bb42ad2a94f/binderhub/builder.py#L258-L259
I think same applies for DataverseProvider PR.

Those look like they were added 10 days ago, they were not part of the RepoProvider class when I submitted.  I'll go ahead and see about implementing them along with adding the new documentation today.

ok these are both merged - I guess now we wait for this to make it into mybinder.org and see how hydroshare repos work?

Sounds good @choldgraf and thanks for merging.  I did a deploy and tested the hydroshare repo on google cloud on Friday, so I expect mybinder.org to work fine.  Let me know when it's deployed and I can run some manual tests.

OK I just merged into mybinder.org, so give it a whirl after a few minutes when it is done deploying

Thanks @sblack-usu for sticking with this one!

I was able to build from a hydroshare resource, thanks for pushing this through.

hooray! 🎉🎉🎉🎉


Not able to play audio from remote url

Configuration
The version of react native track player i am using
"react-native-track-player": "^1.1.8"
Issue
I am trying to use the library for playing sounds from remote url, for local files the library works perfect the sound is played but when i am trying to play from remote file nothing happens no audio is been played
Code
import React, {Component} from 'react';
import {
Platform,
StyleSheet,
Text,
View,
TouchableOpacity,
YellowBox
} from 'react-native';
import TrackPlayer from 'react-native-track-player';
const instructions = Platform.select({
ios: 'Press Cmd+R to reload,\n' + 'Cmd+D or shake for dev menu',
android:
'Double tap R on your keyboard to reload,\n' +
'Shake or press menu button for dev menu',
});
export default class Player extends Component {
constructor() {
super();
this.state = {
isplaying: false
};
YellowBox.ignoreWarnings(['Setting a timer']);
}

componentWillMount () {
TrackPlayer.setupPlayer();
}
componentDidMount() {
TrackPlayer.updateOptions({
waitForBuffer: true,
stopWithApp: true,
capabilities: [
TrackPlayer.CAPABILITY_PLAY,
TrackPlayer.CAPABILITY_STOP
],
compactCapabilities: [
TrackPlayer.CAPABILITY_PLAY,
]
});
}
onPlay = async () => {
const currentTrack = await TrackPlayer.getCurrentTrack();
this.setState({
isplaying: !this.state.isplaying
});
if (currentTrack == null && this.state.isplaying) {
  await TrackPlayer.reset();
  await TrackPlayer.add({
    id: "1",
    url: "https://drive.google.com/uc?export=download&id=1AjPwylDJgR8DOnmJWeRgZzjsohi-7ekj",
    title: "Track Title",
    artist: "Track Artist",
    artwork: "https://www.playradio.rs/images/play_button.png"
  });
  await TrackPlayer.setVolume(1);

  await TrackPlayer.play();
} else {
  await TrackPlayer.stop();
}
// {
//   "id": "1111",
//   "url": "https://drive.google.com/uc?export=download&id=1AjPwylDJgR8DOnmJWeRgZzjsohi-7ekj",
//   "title": "Longing",
//   "artist": "David Chavez",
//   "artwork": "https://picsum.photos/200"
// },

}
render() {
return (

Welcome to React Native!
To get started, edit App.js
{instructions}
<TouchableOpacity
style={{
marginTop: 30,
height: 70, width: 100,
backgroundColor: '#7FB3D5',
borderRadius: 10,
borderWidth: 2,
alignItems: 'center',
justifyContent: 'center'
}}
onPress={ () => this.onPlay() }
>
{ this.state.isplaying ? "Pause" : "Play" }

);
}
}
const styles = StyleSheet.create({
container: {
flex: 1,
justifyContent: 'center',
alignItems: 'center',
backgroundColor: '#F5FCFF',
},
welcome: {
fontSize: 20,
textAlign: 'center',
margin: 10,
},
instructions: {
textAlign: 'center',
color: '#333333',
marginBottom: 5,
},
});

Hi @farman05
If your browser can play the song ( Not downloading ) then It can be played in the react-native-track-player.

i tried many urls which open and play in browser, but what happens it goes in buffer state and then goes in None state

u need a url like http://exempleurl.com/music.mp3

tried with that type of url only, but still its just going in buffer mode(6) not playing.

I have the same issue,
isn't there any solution yet?

Same here, the player continues to go from "playing" to "pause" without any errors or warnings...
It doesn't work for mp3 larger than 2.5MB because the server split that files in chunk, responding with some 206 HTTP response and then the final 200 HTTP response, but the player doesn't work...
What can be the problem?

Can you show the URL you're trying to play so we can try to reproduce the problem?

I solved the issue... the problem was the file encoded with LayerII that is not supported.. Using a LayerIII mp3 worked!

What file you exactly mean? And where can I find it in the project?
Get Outlook for Androidhttps://aka.ms/ghei36

From: Mattia Rigo<EMAIL_ADDRESS>Sent: Friday, September 20, 2019 5:36:17 PM
To: react-native-kit/react-native-track-player<EMAIL_ADDRESS>Cc: Ashraf Ghanem<EMAIL_ADDRESS>Comment<EMAIL_ADDRESS>Subject: Re: [react-native-kit/react-native-track-player] Not able to play audio from remote url (#689)
I solved the issue... the problem was the file encoded with LayerII that is not supported.. Using a LayerIII mp3 worked!
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHubhttps://github.com/react-native-kit/react-native-track-player/issues/689?email_source=notifications&email_token=AHR5GPSZGWTAQZGTXFQBDSTQKTNWDA5CNFSM4IJFGFC2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD7G4OLY#issuecomment-533579567, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AHR5GPTYLH2NLCSTZQQL4KTQKTNWDANCNFSM4IJFGFCQ.

Is anyone still facing this issue? If so, can you provide a URL for testing?

I'm still facing this issue, when loading audio from urls, track player stops itself after playing the current track. But when it works perfect when using a local track. I'm getting the audios from amazon aws. I don't think the problem is with the url.

Are you adding multiple tracks to the queue at the start, or are you adding the next one when the first one finishes?

I'm adding all the audios at once. I think react-native-track-player is not handling url audio loads well. I'm now downloading the audios first with react-native-fs and then playing them, this solved my problem but it would've be very nice to directly use URLs.

Can you provide more details so we can try to reproduce the issue?

what I did was just,
add 20 tracks to queue, every track has a url of the audio.
Start playing the first audio, plays the first one, then stops after changing to the next track.

@tolgaerdonmez, are you able to reproduce this behavior in the example app, and provide us with a few of the URLs you are using so we can investigate further?

okay I'll be writing here the results as soon as I can.
I'm going to implement the same way in my own app like you guys did in the example app.

Having trouble with the daily 1 minute news from BBC's podcast rss (the url changes every half hour, see xml mp3 link). Whitelisted the domain in Xcode but still get "unsupported URL" as error. http://wsrss.bbc.co.uk/bizdev/bbcminute/bbcminute.rss

The current URL, http://wsodprogrf.bbc.co.uk/bd/tx/bbcminute/mp3/bbcminute2006121700.mp3 works for me in iOS simulator. Is it possible however you are extracting the URL from the feed is giving you an unexpected value?

I managed to make it work on android just make sure your link is https and not from localhost
THE LINK YOU NEED BASICALLY HAVE TO BE LIKE THIS
https://yourdomain/songs/songName.mp3
I know this post is old but i couldn't find an answer anywhere.

I managed to make it work on android just make sure your link is https and not from localhost
THE LINK YOU NEED BASICALLY HAVE TO BE LIKE THIS
https://yourdomain/songs/songName.mp3
I know this post is old but i couldn't find an answer anywhere.

This is my audio url... its working in IOS but not on android... this is https .
https://docs.google.com/uc?export=open&id=1DpsMxOhoaRO_9VGkf3ztTs4GaOrWtmJX\

This is my audio url... its working in IOS but not on android... this is https .
https://docs.google.com/uc?export=open&id=1DpsMxOhoaRO_9VGkf3ztTs4GaOrWtmJX

It's because of your url's content type. It's content-type: text/html; charset=UTF-8
You need to use any audio/ content type.

Is anyone still facing this issue? If so, can you provide a URL for testing?

Yes i have the URL of audio like this https://booklovers-books.s3.us-east-2.amazonaws.com/23b213a0-ae03-11eb-bf11-073157409038/4d01d500-ae04-11eb-b112-971fe76dd85e.m4a?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=ASIAQ2GPF5ESH7JHIQWL%2F20210506%2Fus-east-2%2Fs3%2Faws4_request&X-Amz-Date=20210506T114055Z&X-Amz-Expires=3600&X-Amz-Security-Token=IQoJb3JpZ2luX2VjEKT%2F%2F%2F%2F%2F%2F%2F%2F%2F%2FwEaCXVzLWVhc3QtMiJHMEUCIAGDZX8DTV%2BPuDtnS9gpXnAr7wqBJC5aFe%2Frant7bcgiAiEA5j5DuPdhhtLkKh%2FutuvVRmfnIFN4yM5XXYHNx1iYsG4q3AEILRAAGgwwNTYyNjkwNzI2NzYiDC%2FAn57W7ijLp2a3sSq5ARYV45zHQhyQZxXgWBTojX%2B3373aoG2j6zXmQlgbPgrIOPKERsoZ6Bl4DYxVcbREO5Oe%2BbxCogXT%2FsuCE9%2B2XQ2brP3WXiSyJ3lKgpLmbPAoAIKN2b8Eg5rH4FtyQj7ymik3IOd4FF8GHDItbbC%2BP6x2BI7ryhbZFZhIuhSr7hQIJyTdbDdaB0MTDHB8pEj%2Bi5W81BYiSSh15TgnZShEXwzloWHhpQklnXyWmN9L7mTceVQycrRak%2FNuMMarz4QGOuABw8yrqFBaCHlC9pnKLGbf%2B%2BASIo%2FAfCRC787huxn24jqJDYJ4CAeXOltaHVZc6WskBIfChoGX858pI7JoFB1u%2FRpT8zBa2Z3F0QBxZ52ZWlLZcWBLMaatkmnCdQCyzhhSqExAn2ItfhpBkfxowH586vqDF8B%2Bnva01f2RAT0ArLs%2Bj8FmwAbleLTUpvDAFkJCS5LzZ9%2B4uhl%2B2ki6PdejkLlf5KSmTLM9i6Un4Iam%2FbWB0BDNss7jT4%2B5VLlgho9ctl1PV1pEY%2FxyipyckTCOTJAPC9txt52541JRj6ip7BM%3D&X-Amz-Signature=694fb168328148c7b77edd3892321239b85b5d38f2574c865286618510d2530e&X-Amz-SignedHeaders=host&response-content-type=audio%2Fm4a
which is not play in ios but working in android

Hello, i have the same problem with amazon link on ios.. anyone found a solution ?

Here is another instance of this error:
https://chat.church.tools/_matrix/media/r0/download/chat.church.tools/uAMThKblxIQEOfdjVBVRZewv
The contenttype is audio/x-m4a

I have the same issue with AWS S3 pre-signed URL. Its works fine for Android but not for ios.
Anyone know solution to this?

@cj-hnadeem could not find any solution, i ended up using react-native-sound that works perfectly

I had the same issue with streamed .m4a files and after a lot of investigation discovered that the cause was because of response headers. The audio stream files were being served as response-content-type=audio/x-aac and once we switched it to response-content-type=audio/x-m4a the same audio files played properly with no issues.

I face this issue can not play url audio, please help me
Here is the link:
https://rr7---sn-42u-i5old.googlevideo.com/videoplayback?expire=1723624921&ei=eRm8ZrHoMoKKvcAPlcn2sAE&ip=<IP_ADDRESS>&id=o-AIxtjljVMTj0iBWsEj3Vt_WzGni5sDE_QARQKVGHknM0&itag=251&source=youtube&requiressl=yes&xpc=EgVo2aDSNQ%3D%3D&mh=f5&mm=31%2C26&mn=sn-42u-i5old%2Csn-un57ene6&ms=au%2Conr&mv=m&mvi=7&pcm2cms=yes&pl=20&initcwndbps=2336250&bui=AQmm2ewfXYlWYRCbQECD0a1MSlxDNMDBpX7dcWjnQBiRZJNHCQ4w9NUuw1A-iqlJAP_IFcO7bUnVrx6i&spc=Mv1m9oVz0Ht42-qlEeRV_k_SzkR_5jgInLbs_iik_3LwaX4niP1H&vprv=1&svpuc=1&mime=audio%2Fwebm&ns=xF59VChR9G_rNzGzICfT0YYQ&rqh=1&gir=yes&clen=5847793&dur=366.841&lmt=1714681945030851&mt=1723602777&fvip=4&keepalive=yes&c=WEB_CREATOR&sefc=1&txp=4502434&n=WoGWddh2dRmeFw&sparams=expire%2Cei%2Cip%2Cid%2Citag%2Csource%2Crequiressl%2Cxpc%2Cbui%2Cspc%2Cvprv%2Csvpuc%2Cmime%2Cns%2Crqh%2Cgir%2Cclen%2Cdur%2Clmt&lsparams=mh%2Cmm%2Cmn%2Cms%2Cmv%2Cmvi%2Cpcm2cms%2Cpl%2Cinitcwndbps&lsig=AGtxev0wRQIgNrV0mr1LXRpSdgGBfrsTxSZlt8udBNfVoNqIOqGvGvkCIQCD2TbXMGACE2yD82-rr77_firWCzqOf9HaA0NBuqnt7g%3D%3D&sig=AJfQdSswRgIhAL24riSz02EzE0OrcIB7VimS-CecuzVUrygY_Gh_hhf3AiEA5V9PbZTSxfflDdd_u9abeXHQL6KWCApmgawPZm0fTuQ%3D


Ensure repos compile after updating their versions.

Our UpdateRepos.ps1 script should try to compile each repo to ensure it works before pushing it.

Done in #640.


Refine WAF rules

Review our WAF logs and the suggested rules from Github issue that will rate limit individual IPs that attempt to hit the same endpoints in rapid succession
Add rule to allow specific cgi-bin for our Shib endpoints only
Write scripts to help test these behaviors on Staging

Consider adding the captcha rule (for non api endpoints)


Docker build steps occasionally fail when running in a concurrent CI environment

I'm seeing a usually rare but strange issue. Maybe once every other day a build or two fails due to messages like this:
Removing intermediate container b1b63ca1e55b
Step 4 : ADD entrypoint.sh /home/entrypoint.sh
---> 8636fdf2699f
Removing intermediate container 86091a73834a
Step 5 : ENTRYPOINT /home/entrypoint.sh
---> Running in 403e6404be05
time="2015-12-29T20:53:55Z" level=info msg="lstat /var/lib/docker/overlay/403e6404be05a62c46c9d435ec77182828f7145c5518ed19dc1c15988ad00d6b/merged/usr/share/misc: no such file or directory"

I'm also seeing a few other strange issues such as an image not being able to add a file into the container on one build, but will succeed immediately on the next build. The ADD is something very simple like this:
ADD file.txt /home/file.txt

That issue is more rare than the first but they both seem to be triggered more often when concurrent builds are running (I think). We haven't seen these issues when building locally, but I think that is a poor comparison since most of us who will build locally to test use Docker 1.9 with Docker Machine and will not run concurrent builds.
Here's my environment
CoreOS 723.3.0
Docker 1.6.2
Storage diver: overlay
Backing filesystem: extfs
Execution Driver: native-0.2
Kernel: 4.0.5
24 cores/128GB RAM
I'm running the latest version of jenkins as a container on the CoreOS host. Jenkins executes many steps of our build inside of a build container (so it's a container-in-container environment) and is set to use 8 executors at the most. I have mapped in the docker binary, libdevmapper.so.1.02, and /var/run/docker.sock to the jenkins container so that it is able to work with containers.
Any ideas on this?

If you are reporting a new issue, make sure that we do not have any duplicates already open. You can ensure this by searching the issue list for this repository. If there is a duplicate, please close your issue and add a comment to the existing issue instead.
If you suspect your issue is a bug, please edit your issue description to include the BUG REPORT INFORMATION shown below. If you fail to provide this information within 7 days, we cannot debug your issue and will close it. We will, however, reopen it if you later provide the information.
For more information about reporting issues, see CONTRIBUTING.md.
You don't have to include this information if this is a feature request
(This is an automated, informational response)

BUG REPORT INFORMATION
Use the commands below to provide key information from your environment:
docker version:
docker info:
Provide additional environment details (AWS, VirtualBox, physical, etc.):
List the steps to reproduce the issue:
1.
2.
3.
Describe the results you received:
Describe the results you expected:
Provide additional info you think is important:
----------END REPORT ---------
#ENEEDMOREINFO

No ideas, but wondering if you're able to reproduce this on the current version of docker. Point is, that if it's a bug in 1.6, chances are it's resolved already, and we don't back port fixes to older releases.

I'd have to dedicate some time at work to bring up another small cluster somewhere else running the latest version. Can't say I will be able to get to that soon, but I will try :)
Let me see if I'm good to go with upgrading the cluster that jenkins is on now. Will get back to you on this...

@aaronjwood are you okay closing this issue in the meantime? Feel free to reopen once you have more information (it's best to close it yourself, because I don't think you'll be able to reopen if I close it for you)

Sure, that's fine. I will get back to you when I can. Thanks!

I've upgraded our environment to the latest version of Docker (1.9.1) and so far things seem to be good. I will continue to monitor the situation as it was very intermittent before. Will post back here if I run into any of the original issues again.

Nice, thanks!

Moving to the newest version (1.9.1 right now) seems to have fixed the issues I was seeing. Guess they really were bugs in the older version :)
Thanks!

Great to hear! Thanks for reporting back, really appreciated


Mark Mac_ios flutter_gallery__transition_perf_e2e_ios32 as flaky

Marking Mac_ios flutter_gallery__transition_perf_e2e_ios32 as flaky based on https://github.com/flutter/flutter/wiki/Reducing-Test-Flakiness
Issue: https://github.com/flutter/flutter/issues/82940

It's this test that is currently failing at tip-of-tree, so I will land this to kick-start getting the tree back open.


Fix NUM_LIBP2P_CONNECTIONS_GAUGE to only increment if the peer does not have an active connection

At the moment we always increment upon receiving an identify message regardless of if we have a connection recorded for the peer or not.
Since we sometimes are not notified about ConnectionDropped we should only increment if the peer is not known yet (i.e. no connection to the peer is on record) otherwise we might count peers multiple times.
This does not solve the problem that we might not decrement if we don't get a ConnectionDropped, but that cannot be easily solved.
Note: Eventually we should move this gauge into the endpoint, it is weird that it is in the responsibility of identify to record this metric. But at the moment the metric depends on additional information (wire version, daemon version, environment) that is not known to the endpoint but only received in the identify message.

Why don't we just add a separate metric to the Endpoint already? Even if it doesn't have all the other information you mention it will be useful by itself.

I think it would be a good idea to move it. I'll adapt the ticket and we can create a separate one independent of the work in #2845
Originally I thought it would be better to bind the stats on connections and the stats on environment/version together so they don't diverge (which could be confusing). But I don't think that should be a problem, because the endpoint does not know more about connected/disconnected peers then identify does.
From a concern in code perspective it would be cleaner to create separate metrics.

Self-assigning to take a look at this

Why don't we just add a separate metric to the Endpoint already? Even if it doesn't have all the other information you mention it will be useful by itself.

Would we keep the existing NUM_LIBP2P_CONNECTIONS_GAUGE (maybe renamed) with all its current labels in identify, then, in order to record the connections per wire version, daemon version, and environment (should these maybe each be split into one int gauge vec per label)? Then, we could have a different metric in the endpoint just for total connections. I am still figuring out prometheus so let me know if this makes sense or doesn't.

Currently blocked on #3001

Temporary solution could be removing the authentication for the metrics endpoints.


Cypress test for issue 1433.

Cypress test for issue 1433.
Motivation and context

How has this been tested?

Checklist

[x] I submit my changes into the develop branch
[ ] I have added description of my changes into CHANGELOG file
[ ] I have updated the documentation accordingly
[ ] I have added tests to cover my changes
[ ] I have linked related issues (read github docs)
[ ] I have increased versions of npm packages if it is necessary (cvat-canvas,
cvat-core, cvat-data and cvat-ui)

License

[x] I submit my code changes under the same MIT License that covers the project.
Feel free to contact the maintainers if that's a concern.
[x] I have updated the license header for each file (see an example below)

# Copyright (C) 2020 Intel Corporation
#
# SPDX-License-Identifier: MIT

Pull Request Test Coverage Report for Build 7264

0 of 0   changed or added relevant lines in 0 files are covered.
6 unchanged lines in 1 file lost coverage.
Overall coverage decreased (-0.03%) to 69.906%

Files with Coverage Reduction
New Missed Lines
%

cvat/apps/engine/media_extractors.py
6
76.38%

Totals

Change from base Build 7253:
-0.03%

Covered Lines:
11976

Relevant Lines:
16670

💛  - Coveralls


Bluetooth: public API to query controller public address

Is your enhancement proposal related to a problem? Please describe.
When an application uses a combined Host+Controller build, the public address of the device can be known by virtue of the application itself calling bt_ctlr_set_public_addr. But when using split builds, the application running the host has no API it can use to query the public address of the controller, whether it be on another CPU core or another physical chip.
This is a problem for applications that use the Bluetooth MAC address as their primary identifier, as they currently cannot know their own ID in split builds.
Describe the solution you'd like
Promote the bt_id_read_public_addr private function to a public API.
Describe alternatives you've considered
None, the desired functionality exists, it is just not a public API.

In typical fashion you find the function you want minutes after complaining... bt_id_get.


Set min/max values before new selected date

When you change the 'min' or 'max' date but also force-select a new date, Angular's firing order caused the new date to be set first, which pickadate then correctly resets within its current bounds.
The firing order must be deterministic, which I think is best accomplished with $scope.$watchGroup() (Angular 1.3+).

:+1: Thanks !

Any change to get a new release for this? :)