Added arm64 job for Travis-CI

Travis-CI has added support for ARM64. Added ARM64 jobs in Travis-CI.

Codecov Report

Merging #908 into master will decrease coverage by 2.75%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master     #908      +/-   ##
==========================================
- Coverage   94.05%   91.29%   -2.76%
==========================================
  Files          86       86
  Lines       11984    11903      -81
  Branches     1199     1196       -3
==========================================
- Hits        11271    10867     -404
- Misses        577      825     +248
- Partials      136      211      +75

Impacted Files
Coverage Δ

coverage/backunittest.py
35.71% <0%> (-64.29%)
:arrow_down:

coverage/phystokens.py
61.22% <0%> (-38.78%)
:arrow_down:

coverage/backward.py
64.44% <0%> (-31.12%)
:arrow_down:

coverage/context.py
47.36% <0%> (-26.32%)
:arrow_down:

coverage/execfile.py
68.36% <0%> (-16.84%)
:arrow_down:

tests/test_arcs.py
79.5% <0%> (-16.61%)
:arrow_down:

tests/test_parser.py
85.92% <0%> (-14.08%)
:arrow_down:

coverage/multiproc.py
59.67% <0%> (-11.76%)
:arrow_down:

tests/conftest.py
88% <0%> (-8.43%)
:arrow_down:

coverage/env.py
94.11% <0%> (-5.89%)
:arrow_down:

... and 43 more

Continue to review full report at Codecov.

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

hi @nedbat
I've been working with @ossdev07 on a downstream project on AArch64 (ARM64) that has coveragepy as a dependency. As you point out, coveragepy is a pure python project with a straightforward Travis-CI build job and that doesn't have a binary release. In this case, there is very little benefit in testing on alternative architectures, and this PR can probably be held in reserve until it is needed.

@rhenwood-arm Actually, coverage.py has a C extension, so it does compile code.  But I didn't realize that processor differences in that C code were likely enough to warrant the extra builds and time. Do they?

Ah! indeed - I didn't spot ctracer!
Native code provides an opportunity to break on a given platform, so testing is typically valuable. As a more general goal, I am working on figuring out how Arm can support wheels and manylinux2014 activities. So this library is a good example to pursue for me.
I clicked around and I couldn't find the Arm test so I'm unsure what the delay is. @ossdev07 do you have the test duration on AArch64?

Hi @nedbat
Modified PR, added arm64 job for just python3.8 as it has already a lot of existing tests which were taking considerable amount of time.
I think it's good to have it tested on aarch64 platform as well.

Thanks!


Cannot remove last target document with a field activated

Steps to reproduce

Import a JSON instance document for Target (might not have to be JSON)
Select one field
Click trash link to remove that document

Error

ERROR Error: Uncaught (in promise): TypeError: Cannot read property 'id' of null
TypeError: Cannot read property 'id' of null
    at MappingDefinition.push../src/app/lib/atlasmap-data-mapper/models/mapping-definition.model.ts.MappingDefinition.removeDocumentReferenceFromAllMappings (mapping-definition.model.ts:293)
    at DocumentDefinitionComponent.<anonymous> (document-definition.component.ts:302)
    at step (document-definition.component.ts:15)
    at Object.next (document-definition.component.ts:15)
    at document-definition.component.ts:15
    at new ZoneAwarePromise (zone.js:891)
    at push../src/app/lib/atlasmap-data-mapper/components/document-definition.component.ts.__awaiter (document-definition.component.ts:15)
    at ModalWindowComponent.modalWindow.okButtonHandler (document-definition.component.ts:301)
    at ModalWindowComponent.push../src/app/lib/atlasmap-data-mapper/components/modal-window.component.ts.ModalWindowComponent.buttonClicked (modal-window.component.ts:147)
    at Object.eval [as handleEvent] (ModalWindowComponent.html:24)
    at resolvePromise (zone.js:814)
    at new ZoneAwarePromise (zone.js:894)
    at push../src/app/lib/atlasmap-data-mapper/components/document-definition.component.ts.__awaiter (document-definition.component.ts:15)
    at ModalWindowComponent.modalWindow.okButtonHandler (document-definition.component.ts:301)
    at ModalWindowComponent.push../src/app/lib/atlasmap-data-mapper/components/modal-window.component.ts.ModalWindowComponent.buttonClicked (modal-window.component.ts:147)
    at Object.eval [as handleEvent] (ModalWindowComponent.html:24)
    at handleEvent (core.js:19676)
    at callWithDebugContext (core.js:20770)
    at Object.debugHandleEvent [as handleEvent] (core.js:20473)
    at dispatchEvent (core.js:17125)

One question related to this, kinda variation of #762 - should we ask user if they really want to remove the document while any of the fields is already involved in any mappings?

This is currently working - the one issue if that the popup modal window has the error window bleeding into it:

This is how it looks now:


ARROW-5447: [Ruby] Ensure flushing test gz file

I'm not sure this really fix the flaky CI failure on AppVeyor. But this will resolve this.

Codecov Report

Merging #4584 into master will increase coverage by 0.4%.
The diff coverage is n/a.

@@            Coverage Diff            @@
##           master    #4584     +/-   ##
=========================================
+ Coverage   88.57%   88.97%   +0.4%
=========================================
  Files         860      804     -56
  Lines      108022   104830   -3192
  Branches     1253     1253
=========================================
- Hits        95680    93274   -2406
+ Misses      12063    11277    -786
  Partials      279      279

Impacted Files
Coverage Δ

cpp/src/arrow/util/thread-pool-test.cc
97.66% <0%> (-0.94%)
:arrow_down:

r/R/feather.R

r/src/recordbatch.cpp

r/src/table.cpp

r/R/Table.R

r/src/array_from_vector.cpp

r/src/recordbatchwriter.cpp

r/R/parquet.R

r/src/symbols.cpp

r/src/array.cpp

... and 47 more

Continue to review full report at Codecov.

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


Is your package only for v5.4?

I'm want to switch my production project to 5.4 yet, but was looking for this mailable solution but i'm using v5.3. I know that markdown is not available in my version but i just want to have MailMessage functionality on Mailable object, is that possible with your soluction?
Best regards
GP

Unfortunately it will only work for 5.4 and above, only because it requires the Markdown classes.


Mapping to property of nested object

Hello,
I have few classes, like this:
@interface Pricing : NSObject
@property (nonatomic) NSString* locale;
@property (nonatomic) NSString* value;
@end

@implementation Pricing
@end

@interface Item : NSObject <EKMappingProtocol>
@property (nonatomic) Pricing* pricing;
@property (nonatomic) NSString* title;
@end

@implementation Item

+ (EKObjectMapping *)objectMapping {
    return [EKObjectMapping mappingForClass:self withBlock:^(EKObjectMapping *mapping) {
        [mapping mapKeyPath:@"title" toProperty:@"title"];
        [mapping mapKeyPath:@"pricing_locale" <EMAIL_ADDRESS>        [mapping mapKeyPath:@"pricing_value" <EMAIL_ADDRESS>    }];
}

- (instancetype)init {
    self = [super init];
    if (self) {
        self.pricing = [[Pricing alloc] init];
    }
    return self;
}

@end

Then I do:
NSDictionary* representation = @{
                                     @"title":@"New item",
                                     @"pricing_locale":@"EN",
<EMAIL_ADDRESS>                                     };

Item* item = [[Item alloc] init];
[EKMapper fillObject:item fromExternalRepresentation:representation withMapping:[Item objectMapping]];

All ok -
item.title = @"New item"
item.pricing.locale = @"EN"
item.pricing.value = @"0.99"
But when I try to serialize item with this method:
[EKSerializer serializeObject:item withMapping:[Item objectMapping]]

I got exception:
*** Terminating app due to uncaught exception 'NSUnknownKeyException', reason: '[<Item 0x7af2d960> valueForUndefinedKey:]: this class is not key value coding-compliant for the key pricing.value.'

Maybe i doing something wrong?
Anyway if implement -valueForUndefinedKey: in Item class
- (id)valueForUndefinedKey:(NSString *)key {
    __block id value = nil;
    [[key<EMAIL_ADDRESS>enumerateObjectsUsingBlock:^(id key, NSUInteger idx, BOOL *stop) {
        value = value?[value valueForKey:key]:[self valueForKey:key];
    }];
    return value;
}

All ok, but i don't like this way...

I've addressed this issue in 0.9.0 release, check it out.


[1.16.1] The player remains in the air after the Atlantean effect ends

@JSJBDEV (issues are disabled on fork)
On server the player is kicked for flying when that happens

Hm.... I'll have to look into that, does the effect end because you leave the conduit area? if so I am somewhat doubtful about making the player "not fly" fast enough a fix for a server could be to turn flying on in config and might end up being the only really way of fixing it, but I'll do some testing this weekend

I think the problem is that gravity is still disabled when the effect ends

potentially, looking at a fix now

ok I found a fix to it kicking you when you run out of the effect, but you may still occasionally get kicked with the effect, but you can go right back to using it after, @Boundarybreaker you can close this issue now cuz I cant, and ill try open issues on my branch


Add contributors covenant

https://www.contributor-covenant.org/

@laura-ham I can see that there are commits and a merged PR linked to this issue. Am I right to assume that this is complete and can be closed?


Fix RBAC support in ksonnet package

This fixes a previous patch for RBAC support which missed a libsonnet file.

This change is

/lgtm
/approve


Adds auth0 integration

closes #1

Coverage decreased (-24.9%) to 58.929% when pulling 16850b97c2e122a0806084ee5eb9acfcb042a641 on 1-add-auth0 into 00f885ac14ee87e368f16cf992ce41b3dfcd3bcd on master.


Feature: Search text everywhere

Hi @MituuZ
First of all, I would like to thank you for creating a wonderful plugin inspired by telescope.nvim.
I would like to request that you add the "search text everywhere" feature in addition to the "search file" feature. This is because it is a feature that I often use when using telescope on neovim.
Thank you for reading my suggestion.
Attach image: mode search text using telescope.nvim

Hey @npduykhoa !
Glad you've liked it
You can check out previous discussion on this topic here #46 .
But the short and sweet is that Piotr is looking into creating a new plugin that would use ripgrep to provide a string search with a similar feeling by reusing some of the fuzzier code.
ripgrep seems to be the best way to do this, but I wouldn't be totally sold on adding an external dependency to a plugin that doesn't necessarily need it.
Lets see how it goes, I don't think this discussion is over yet


Circular dependency issue

I added a Formtastic form, and after a difficult installation of Rich with version issues etc. added ':as => :rich' to one field of the form. When loading the form the first time, I get a LoadError "Unable to autoload constant RichInput, expected /Users/.../.rvm/gems/ruby-2.0.0-p598/gems/rich-1.4.6/app/inputs/rich_input.rb to define it", when reloading the page I get a RunTimeError "Circular dependency detected while autoloading constant RichInput".
I researched the issue and it seems to be an autoloading issue with Rails 4 & Ruby 2 which was encountered by many gems. Many report having solved it by removing 'unloadable' from models and controllers. I am new to Rails and don't know how I can solve this issue in my app. Any help would be much appreciated! Thanks!
_ PS.  Are you requiring formtastic anywhere using require 'formtastic'?

Hi there, no I put it in the gem file. We found out what the issue was I think, something like rich not supporting formtastic 3 which was the minimum version required for our rails version. I'd be happy to hear if thatd be supported :) Thanks for you reply!
Linde
Sent from my iPhone

On 4-dec.-2015, at 08:06, Dominik Schmidt<EMAIL_ADDRESS>wrote:
Sorry for the late response. Are you requiring formtastic anywhere using require 'formtastic'?
—
Reply to this email directly or view it on GitHub.

Normally rich should support formtastic in version 3. What's the version of
rich you are using?

On Dec 4 2015, at 8:31 am, Linde Vloeberghs<EMAIL_ADDRESS>wrote:
Hi there, no I put it in the gem file. We found out what the issue was I
think, something like rich not supporting formtastic 3 which was the minimum
version required for our rails version. I'd be happy to hear if thatd be
supported :) Thanks for you reply!
Linde

Sent from my iPhone
> On 4-dec.-2015, at 08:06, Dominik Schmidt
<EMAIL_ADDRESS>wrote:
>
> Sorry for the late response. Are you requiring formtastic anywhere using
require 'formtastic'?
>
> —
> Reply to this email directly or view it on GitHub.
>

—
Reply to this email directly or [view it on GitHub](https://github.com/kreativ
gebiet/rich/issues/196#issuecomment-161898366).![](https://github.com/notifica
tions/beacon/AAT2eRKlQNOD2PdsA_ZlZQ33ALZu6ybGks5pMTjYgaJpZM4GBow3.gif)

I don't remember (I left the project), but it was something like that if I remember it correctly. Will forward this to my colleagues so they can reach out to you if they're still facing the issue! Thanks again,LindeOn Dec 04, 2015, at 08:32 AM, Dominik Schmidt<EMAIL_ADDRESS>wrote:Normally rich should support formtastic in version 3. What's the version of rich you are using?  > On Dec 4 2015, at 8:31 am, Linde Vloeberghs<EMAIL_ADDRESS>wrote:  Hi there, no I put it in the gem file. We found out what the issue was I think, something like rich not supporting formtastic 3 which was the minimum version required for our rails version. I'd be happy to hear if thatd be supported :) Thanks for you reply!  Linde   Sent from my iPhone   > On 4-dec.-2015, at 08:06, Dominik Schmidt<EMAIL_ADDRESS>wrote:  >  > Sorry for the late response. Are you requiring formtastic anywhere using require 'formtastic'?  >  > —  > Reply to this email directly or view it on GitHub.  >   >  > —  Reply to this email directly or [view it on GitHub](https://github.com/kreativ gebiet/rich/issues/196#issuecomment-161898366).![](https://github.com/notifica tions/beacon/AAT2eRKlQNOD2PdsA_ZlZQ33ALZu6ybGks5pMTjYgaJpZM4GBow3.gif) —Reply to this email directly or view it on GitHub.

Thank you! Would be nice to get in touch with them.
On Fri 4 Dec 2015 at 09:53 Linde Vloeberghs<EMAIL_ADDRESS>wrote:

I don't remember (I left the project), but it was something like that if I
remember it correctly. Will forward this to my colleagues so they can reach
out to you if they're still facing the issue! Thanks again,LindeOn Dec 04,
2015, at 08:32 AM, Dominik Schmidt<EMAIL_ADDRESS>wrote:Normally rich should support formtastic in version 3. What's the
version of rich you are using? > On Dec 4 2015, at 8:31 am, Linde
Vloeberghs<EMAIL_ADDRESS>wrote: Hi there, no I put it
in the gem file. We found out what the issue was I think, something like
rich not supporting formtastic 3 which was the minimum version required for
our rails version. I'd be happy to hear if thatd be supported :) Thanks for
you reply! Linde Sent from my iPhone > On 4-dec.-2015, at 08:06, Dominik
Schmidt<EMAIL_ADDRESS>wrote: > > Sorry for the
late response. Are you requiring formtastic anywhere using require
'formtastic'? > > — > Reply to this email directly or view it on
GitHub. > > > — Reply to this email directly or [view it on GitHub](
https://github.com/kreativ
gebiet/rich/issues/196#issuecomment-161898366).![](
https://github.com/notifica
tions/beacon/AAT2eRKlQNOD2PdsA_ZlZQ33ALZu6ybGks5pMTjYgaJpZM4GBow3.gif)
—Reply to this email directly or view it on GitHub.
—
Reply to this email directly or view it on GitHub
https://github.com/kreativgebiet/rich/issues/196#issuecomment-161911169.


Update dependencies for Senzing 3.8.0

See https://github.com/Senzing/senzing-tools/issues/137

Pull requests:

https://github.com/Senzing/serve-grpc/pull/213


White bottom border in hovered focused tab

Firstly thanks so much for such a great theme, best vscode theme I've ever used. Uninstalled all others already. 👍👍👍
Thing is, in light Noctis themes(Lux and Hibernus), when current focused tab is hovered,  a 1px #fff border appears on the bottom of it.

It felt a little, little bit mismatching to me, and I didn't found similar border in dark Nocits themes. (If I'm to pick a tiny, tiny flaw from the epic theme, this would be it.) 🤔 Anyway, I haven't got much UI experience, probably it's by design? Please let me know. 😁

Hey there, Cinder! I'm thrilled that you like Noctis theme and thank you for your great feedback.
You are right, the border should not be there. Good catch, mate! I have fixed the issue in v8.2.0. Please let me know if it's OK for you.
Cheers!


Hello,when i set pretrain=true and train,folder will be renamed and a new folder willbe created,have u met this problem???thx

If you want to continue your training progress, you can set "pretrain" to "resume". This will not create a new folder.
We regard the finetuned models as new trained models (when "pretrain" is set to "finetune" ), so a new folder will be created.

thx

thx


Add QueriesFrom* functions

Alternative №1 (implements #8)

Thank you so much for the feedback @igorhub, thanks to that I added this function to sqload<EMAIL_ADDRESS>If it wasn't for you, this function would've never been added.


modify bugsnag-js to be imported in a service worker to report errors occurred in it

Expected behavior
The expected behavior is bugsnag-js being able to be imported inside a service worker and catch errors occurred in it without having to listen the onerror event from your app.
Observed behavior
Currently the context of bugsnag-js is window so it cant be imported in a service worker
Version
4.6.3

@bengourley any update on this issue? After several reading it seems the best way to catch SW errors is from inside the SW https://stackoverflow.com/questions/37736322/how-does-global-error-handling-work-in-service-workers
Would be possible to have a plugin that offers this functionality?

Hey @Zizzamia, we still have this feature on our backlog as something we hope to look into in the future.

Thank you for the reply!
@xander-jones could be possible to have an idea when those features are planned to be worked on? The initial issue was open 23 months ago. Just looking to know if I should wait 1~2 more months or come out with a custom solution.

Hi @Zizzamia
This isn't an immediate priority for Bugsnag so we can't give an accurate ETA, but I'd say it's unlikely to be worked on during the next 3 months.

Hi all,
The browser extensions on Google Chrome are now allowed to use the Manifest V3, which essentiatly replaces the background pages with Service Workers.
Currenty, we cannot use Bugsnag in those browser extensions.
Do you still plan to resolve this issue?

Google drives Manifest V3 adoption (https://developer.chrome.com/docs/extensions/mv3/intro/) in all chrome extensions. And other browsers started to do so as well. And there, service worker will be mandatory for the background process.
Do you have any plan to support the service worker at this point? Any browser extension that uses Bugsnag soon will stop working in manifest v3 regime.

Hi @ohpyupi, thanks for raising this. We're aware that Chrome and Edge have plans to introduce strict enforcement on service worker adoption in Jan 2023. We're planning to add support for service workers before that comes into effect, and will update this issue when that is implemented.

Any update on this?

Hi @sghsri, we're still planning to add support before the enforcement comes into effect in January but I'm afraid I don't have any further updates at this time.

I ran into this issue as well. One note is that enforcement is in effect in January, but as of today all new extensions must be manifest v3. So any new app will not be able to Bugsnag in the service worker.

Hi @sb8244 - no further updates on this since Yousif's comments above, we'll continue to update this thread as appropriate 👍

Hi all! We have just published a beta version of bugsnag for web workers and service workers in order to facilitate development of web and service workers and also browser extensions with manifest v3. It’s a basic implementation which we will be adding to in future, but will enable you to send errors to Bugsnag and catch unhandled errors (with some caveats for browser extensions on Chrome).

I just migrated to Sentry today. Probably everyone else already did, 5 years is a bit too much to start implementing this feature


[dataflowengineoss] remove overriding operator semantics

Conflicting (i.e. same methodFullNamed) FlowSemantics are not currently handled by FullNameSemantics.fromList and silently it's the last entry that takes precedence. (Will create another PR for this shortly, that combines two such FlowSemantics into a single one.)
Take for example <operators>.assignmentModulo (as in x%=y). We have 2 conflicting entries for it in DefaultSemantics:

F(Operators.assignmentModulo, List((2, 1), (1, 1), (2, -1)))
F("<operators>.assignmentModulo", List((2, 1), (1, 1)))

Coincidentally, Operators.assignmentModulo is "<operators>.assignmentModulo", so it's the latter FlowSemantic that ends up being used, thus preventing the FlowMapping(2,-1) from being considered. As such, in an expression such as call(x%=2), the literal 2 doesn't taint call.
The same happens for the remaining operators being removed in this PR.

I think the root of these dupes, and that comment above them, is that some frontends produce <operators>.assignmentModulo and some <operator>.assignmentModulo. (Look for the s before >). But the constant in Operators indeed has the s, so the entries as they are now don't help at all with that problem.


Trakt Tv

Addon Manifest URL
https://2ecbbd610840-trakt.baby-beamup.club/manifest.json
Addon Description
Addon for getting Trakt's public and user lists, recommendations and watch list.

This was probably the most requested addon for the longest time.. great job!

tbh it's an honor seeing that u like it.

This is absolutely an great addon, now i hope torrentio will support trakt id too.

Great add-on and love the extra rpdb support. When I use the website link it still reports 0.2.2 rather than 0.2.4 is catalog updating?

Please include a "Up Next" feature.

It stopped working a few days ago. Is anybody else experiencing the same issue?. Thanks!

@TuupacFR  https://up-next.dontwanttos.top/configure
It would be great if the feature gets integrated into this addon, though.

Can't select any of the options buttons. Just seems to move the panels instead on the configuration page

it would be nice if an option like "Refresh Lists" is added for lists newly added to the Trakt after authentication. Also all options in the "Generic List" field seem to be enabled when we click configure even if they are disabled.
Thanks for your effort.

From the river to the sea, Palestine will be free.
huge thanks to Rab1t for histremendous help.
not sure why this has to be included ...

That slogan promotes hate. It's totally horrifying and disgusting behavior from the developer.

Disgusting Rapist apologist logo :vomiting_face:

Stfu loser, go k some babies.. that would make you feel better

That slogan promotes hate. It's totally horrifying and disgusting behavior from the developer.

 Best categories for sorting of all apps and works flawlessly! Thanks dev!!! Only issue is the drag/drop options on the setup page make it impossible to unchecked anything (popular, watchlist, etc) on a mobile phone. But no biggie just bust out the laptop to configure the addon and its good to go. But if you could give them clickable arrows instead to move things it would be appreciated 🤗

Can't select any of the options buttons. Just seems to move the panels instead on the configuration page

It's because they're sliders.... cant change settings on mobile, have to use computer.

My Trakt lists stopped working (TraktTV 0.2.7 addon)
When I re-authenticate my Trakt account in TraktTV 0.2.7 addon, my lists don't appear in the configuration page and the lists are empty in Stremio. Does anyone know how to fix this?

same here!! that suck if have to reconfigure every 3 months with tons of lists

yep, it's a pain in the neck, it would be good to be informed about it it in advance in the readme.

Loved this addon.... until trakt Auth was revoked after 3 months and all my links were deleted 😭 I understand having to re-authenticate, that I could do, but the fact that it deletes all the settings and starts from scratch really sucks and makes this unusable for me. I have switched to the mdblist add to stremio, unfortunately. Will keep an eye out for any updates. Also really hate that you can't unchecked the options when configuring on mobile

https://github.com/danamag/stremio-addons-list/issues/30#event-15703343368

@danamag, what happened?

what happened? Spam?

it was some... lets say out of pocket... comments about a flag which was present on this addon's logo and banner.


[Go Router] Popping state and re-rendering scaffold at the same time doesn't update the URL on web

Steps to reproduce
In the given sample:

Press Push on the root screen
Press push again on route A
Press "Go Back" on screen B

Expected results
The screen is popped and the URL is updated
Actual results
The screen is popped and the URL is still /#/a/b on web. This only happens if counterStream.increment(); is called just before popping. If it's omitted, then everything works as expected.
Code sample
Code sample
import 'dart:async';

import 'package:flutter/material.dart';
import 'package:go_router/go_router.dart';

class CounterStream {
  int _counter = 0;

  final _streamController = StreamController<int>.broadcast();

  Stream<int> get stateStream => _streamController.stream.asBroadcastStream();

  void increment() {
    _streamController.sink.add(++_counter);
  }

  Future<void> delayedRerender() async {
    increment();
    increment();
  }

  void dispose() {
    _streamController.close();
  }
}

final CounterStream counterStream = CounterStream();

class StreamListener extends ChangeNotifier {
  StreamListener(Stream<dynamic> stream) {
    notifyListeners();

    _subscription = stream.asBroadcastStream().listen((_) {
      notifyListeners();
    });
  }

  late final StreamSubscription<dynamic> _subscription;

  @override
  void notifyListeners() {
    super.notifyListeners();
    print("refreshing the router");
  }

  @override
  void dispose() {
    _subscription.cancel();
    super.dispose();
  }
}

void main() {
  GoRouter.optionURLReflectsImperativeAPIs = true;

  WidgetsFlutterBinding.ensureInitialized();

  runApp(const MyApp());
}

class MyApp extends StatefulWidget {
  const MyApp({super.key});

  @override
  State<MyApp> createState() => _MyAppState();
}

final _rootNavigatorKey = GlobalKey<NavigatorState>();

final GoRouter _router = GoRouter(
  initialLocation: '/',
  navigatorKey: _rootNavigatorKey,
  refreshListenable: StreamListener(counterStream.stateStream),
  routes: <RouteBase>[
    ShellRoute(
      builder: (context, state, child) {
        return GenericPage(child: child);
      },
      routes: [
        GoRoute(
          path: '/',
          builder: (BuildContext context, GoRouterState state) =>
              const GenericPage(showPushButton: true, path: 'a'),
          routes: [
            GoRoute(
              path: 'a',
              name: "a",
              builder: (BuildContext context, GoRouterState state) =>
                  const GenericPage(showPushButton: true, path: 'b'),
              routes: [
                GoRoute(
                  path: 'b',
                  name: 'b',
                  builder: (BuildContext context, GoRouterState state) =>
                      const GenericPage(showBackButton: true),
                ),
              ],
            ),
          ],
        ),
      ],
    ),
  ],
);

class _MyAppState extends State<MyApp> {
  late StreamSubscription<int> _stateSubscription;
  int _currentState = 0;

  @override
  void initState() {
    super.initState();
    _stateSubscription = counterStream.stateStream.listen((state) {
      setState(() {
        _currentState = state;
      });
    });
  }

  @override
  void dispose() {
    _stateSubscription.cancel();
    super.dispose();
  }

  @override
  Widget build(BuildContext context) {
    return MaterialApp.router(
      title: 'Flutter Demo',
      theme: ThemeData(
        primarySwatch: Colors.blue,
      ),
      routerConfig: _router,
    );
  }
}

class GenericPage extends StatefulWidget {
  final Widget? child;
  final bool showPushButton;
  final bool showBackButton;
  final String? path;

  const GenericPage({
    this.child,
    Key? key,
    this.showPushButton = false,
    this.showBackButton = false,
    this.path,
  }) : super(key: key ?? const ValueKey<String>('ShellWidget'));

  @override
  State<GenericPage> createState() => _GenericPageState();
}

class _GenericPageState extends State<GenericPage> {
  late StreamSubscription<int> _stateSubscription;
  int _currentState = 0;

  @override
  void initState() {
    super.initState();
    _stateSubscription = counterStream.stateStream.listen((state) {
      setState(() {
        _currentState = state;
      });
    });
  }

  @override
  void dispose() {
    _stateSubscription.cancel();
    super.dispose();
  }

  @override
  Widget build(BuildContext context) {
    return Scaffold(
        appBar: widget.child != null
            ? AppBar(
                title: Text('Count: $_currentState'),
              )
            : null,
        body: _buildWidget(context));
  }

  Widget _buildWidget(BuildContext context) {
    if (widget.child != null) {
      return widget.child!;
    }

    if (widget.showBackButton) {
      return TextButton(
        onPressed: () {
          // WHEN THE USER PRESSES THIS BUTTON, THE URL
          // DOESN'T CHANGE, BUT THE SCREEN DOES
          counterStream.increment(); // <- when removing this line the issue is gone
          GoRouter.of(context).pop();
        },
        child: Text("<- Go Back"),
      );
    }

    if (widget.showPushButton) {
      return TextButton(
        onPressed: () {
          GoRouter.of(context).goNamed(widget.path!);
        },
        child: Text("Push ->"),
      );
    }

    return Text('Current state: $_currentState');
  }
}

Flutter Doctor output
Doctor output
[✓] Flutter (Channel stable, 3.19.6, on macOS 14.5 23F79 darwin-x64, locale en-AU)
    • Flutter version 3.19.6 on channel stable at /Applications/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 54e66469a9 (8 weeks ago), 2024-04-17 13:08:03 -0700
    • Engine revision c4cd48e186
    • Dart version 3.3.4
    • DevTools version 2.31.1

[✓] Android toolchain - develop for Android devices (Android SDK version 32.1.0-rc1)
    • Android SDK at /Users/shady/Library/Android/sdk
    • Platform android-33, build-tools 32.1.0-rc1
    • Java binary at: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.11+0-b60-7590822)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 15.2)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 15C500b
    • CocoaPods version 1.15.2

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2021.1)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.11+0-b60-7590822)

[✓] IntelliJ IDEA Ultimate Edition (version 2024.1.3)
    • IntelliJ at /Users/shady/Applications/IntelliJ IDEA Ultimate.app
    • Flutter plugin version 80.0.2
    • Dart plugin version 241.17890.8

[✓] VS Code (version 1.89.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension can be installed from:
      🔨 https://marketplace.visualstudio.com/items?itemName=Dart-Code.flutter

[✓] VS Code (version 1.86.0-insider)
    • VS Code at /Applications/Visual Studio Code - Insiders.app/Contents
    • Flutter extension can be installed from:
      🔨 https://marketplace.visualstudio.com/items?itemName=Dart-Code.flutter

[✓] Connected device (2 available)
    • macOS (desktop)              • macos                     • darwin-x64     • macOS 14.5 23F79
      darwin-x64
    • Chrome (web)                 • chrome                    • web-javascript • Google Chrome
      125.0.6422.142

[✓] Network resources
    • All expected network resources are available.

Thanks for the report. The reported behavior occurs with latest versions in web platform.

 stable, master flutter doctor -v
[!] Flutter (Channel stable, 3.22.2, on macOS 12.2.1 21D62 darwin-x64, locale
    en-GB)
    • Flutter version 3.22.2 on channel stable at
      /Users/dhs/documents/fluttersdk/flutter
    ! Warning: `flutter` on your path resolves to
      /Users/dhs/Documents/Fluttersdk/flutter/bin/flutter, which is not inside
      your current Flutter SDK checkout at
      /Users/dhs/documents/fluttersdk/flutter. Consider adding
      /Users/dhs/documents/fluttersdk/flutter/bin to the front of your path.
    ! Warning: `dart` on your path resolves to
      /Users/dhs/Documents/Fluttersdk/flutter/bin/dart, which is not inside your
      current Flutter SDK checkout at /Users/dhs/documents/fluttersdk/flutter.
      Consider adding /Users/dhs/documents/fluttersdk/flutter/bin to the front
      of your path.
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 761747bfc5 (33 hours ago), 2024-06-05 22:15:13 +0200
    • Engine revision edd8546116
    • Dart version 3.4.3
    • DevTools version 2.34.3
    • If those were intentional, you can disregard the above warnings; however
      it is recommended to use "git" directly to perform update checks and
      upgrades.

[!] Xcode - develop for iOS and macOS (Xcode 12.3)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    ! Flutter recommends a minimum Xcode version of 13.
      Download the latest version or update via the Mac App Store.
    • CocoaPods version 1.11.2

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] VS Code (version 1.62.0)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.21.0

[✓] Connected device (5 available)
    • SM G975F (mobile)       • RZ8M802WY0X • android-arm64   • Android 11 (API 30)
    • Darshan's iphone (mobile)  • 21150b119064aecc249dfcfe05e259197461ce23 •
      ios            • iOS 14.4.1 18D61
    • iPhone 12 Pro Max (mobile) • A5473606-0213-4FD8-BA16-553433949729     •
      ios            • com.apple.CoreSimulator.SimRuntime.iOS-14-3 (simulator)
    • macOS (desktop)            • macos                                    •
      darwin-x64     • Mac OS X 10.15.4 19E2269 darwin-x64
    • Chrome (web)               • chrome                                   •
      web-javascript • Google Chrome 98.0.4758.80

[✓] HTTP Host Availability
    • All required HTTP hosts are available

! Doctor found issues in 1 category.

[!] Flutter (Channel master, 3.23.0-13.0.pre.242, on macOS 12.2.1 21D62
    darwin-x64, locale en-GB)
    • Flutter version 3.23.0-13.0.pre.242 on channel master at
      /Users/dhs/documents/fluttersdk/flutter
    ! Warning: `flutter` on your path resolves to
      /Users/dhs/Documents/Fluttersdk/flutter/bin/flutter, which is not inside
      your current Flutter SDK checkout at
      /Users/dhs/documents/fluttersdk/flutter. Consider adding
      /Users/dhs/documents/fluttersdk/flutter/bin to the front of your path.
    ! Warning: `dart` on your path resolves to
      /Users/dhs/Documents/Fluttersdk/flutter/bin/dart, which is not inside your
      current Flutter SDK checkout at /Users/dhs/documents/fluttersdk/flutter.
      Consider adding /Users/dhs/documents/fluttersdk/flutter/bin to the front
      of your path.
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 5187cab7bd (2 days ago), 2024-06-14 23:35:34 -0400
    • Engine revision 9779c273aa
    • Dart version 3.5.0 (build 3.5.0-266.0.dev)
    • DevTools version 2.36.0
    • If those were intentional, you can disregard the above warnings; however
      it is recommended to use "git" directly to perform update checks and
      upgrades.

[!] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
    • Android SDK at /Users/dhs/Library/Android/sdk
    ✗ cmdline-tools component is missing
      Run `path/to/sdkmanager --install "cmdline-tools;latest"`
      See https://developer.android.com/studio/command-line for more details.
    ✗ Android license status unknown.
      Run `flutter doctor --android-licenses` to accept the SDK licenses.
      See https://flutter.dev/docs/get-started/install/macos#android-setup for
      more details.

[✓] Xcode - develop for iOS and macOS (Xcode 13.2.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 13C100
    • CocoaPods version 1.11.2

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] IntelliJ IDEA Ultimate Edition (version 2021.3.2)
    • IntelliJ at /Applications/IntelliJ IDEA.app
    • Flutter plugin version 65.1.4
    • Dart plugin version 213.7228

[✓] VS Code (version 1.62.0)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.29.0

[✓] Connected device (3 available)
    • Darshan's iphone (mobile) • 21150b119064aecc249dfcfe05e259197461ce23 • ios
      • iOS 15.3.1 19D52
    • macOS (desktop)           • macos                                    •
      darwin-x64     • macOS 12.2.1 21D62 darwin-x64
    • Chrome (web)              • chrome                                   •
      web-javascript • Google Chrome 109.0.5414.119

[✓] Network resources
    • All expected network resources are available.

! Doctor found issues in 1 category.

[!] Xcode - develop for iOS and macOS (Xcode 12.3)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    ! Flutter recommends a minimum Xcode version of 13.
      Download the latest version or update via the Mac App Store.
    • CocoaPods version 1.11.2

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] VS Code (version 1.62.0)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.21.0

[✓] Connected device (5 available)
    • SM G975F (mobile)       • RZ8M802WY0X • android-arm64   • Android 11 (API 30)
    • Darshan's iphone (mobile)  • 21150b119064aecc249dfcfe05e259197461ce23 •
      ios            • iOS 14.4.1 18D61
    • iPhone 12 Pro Max (mobile) • A5473606-0213-4FD8-BA16-553433949729     •
      ios            • com.apple.CoreSimulator.SimRuntime.iOS-14-3 (simulator)
    • macOS (desktop)            • macos                                    •
      darwin-x64     • Mac OS X 10.15.4 19E2269 darwin-x64
    • Chrome (web)               • chrome                                   •
      web-javascript • Google Chrome 98.0.4758.80

[✓] HTTP Host Availability
    • All required HTTP hosts are available

! Doctor found issues in 1 category.

Thanks @darshankawar - Worthy of note that this also happens on iOS and Android. By enabling debugLogDiagnostics: true I can see that the URL also doesn't change.

Hi there, I've tried to comment the notifyListeners(); code like this:
StreamListener(Stream<dynamic> stream) {
    notifyListeners();

    _subscription = stream.asBroadcastStream().listen((_) {
      // notifyListeners();
      print("d");
    });
  }

It's working.
maybe some limit in refreshListenable of GoRouter, I'll look deep into it.

@ahyangnb  @darshankawar
Hi,
May you please return the incremented value through pop and receive it on the back screen?

@ahyangnb  @darshankawar
Hi,
why don't you return the incremented value through pop and receive it on the back screen?

Hi there, Thanks for asking.
Because I see the code of the subject, it seems to implement a logic similar to state management, not only pass parameter through route.


Collect STLT reportable conditions and reportable test results/LOINC codes

User Story
As a developer on RS, I want to know find out reportable conditions per STLT (and any further details about test results/LOINC codes), so I can better prepare to route messages based on condition.
Description/Use Case
The pipeline team is already implementing a solution to route messages to STLTs based on condition. Once the UP can read a message and know what condition(s) it contains, the message will be sent to STLTs that accept that condition. We will need to know, as a next step, which STLT(s) accept which condition(s).
As an example, do we know all of the STLTs that accept flu results? And for further specificity, which STLTs accept positive and/or negative flu results? What are those specific LOINC codes that are accepted?
Open Questions

Which database(s) might this information live in?
Which condition(s) are accepted by all STLTs?
Which condition test result(s) are accepted by all STLTs?
Which STLTs accept OTC data? What specific OTC LOINC codes will they accept?

Risks/Impacts/Considerations

ReportStream will not need to comprehensively know STLT condition reporting until we onboard that specific STLT
STLT reportable conditions (and more specifically, reportable LOINC codes) will change too rapidly to capture these datapoints in the short term

Links

12275: Implement code-to-condition mapping

Acceptance Criteria

[ ] Log 15 STLT condition reporting requirements
[ ] Log 30 STLT condition reporting requirements
[ ] Log 45 STLT condition reporting requirements
[ ] Log all STLT condition reporting requirements
[ ] Add test result / LOINC code details for 15 STLTs

Ticket housekeeping!
@arnejduranovic have other people already made progress on the ACs in this ticket, or are they stale? I can update them or move this ticket to 'Done' as needed. cc @Andrey-Glazkv

Ticket housekeeping!
@arnejduranovic have other people already made progress on the ACs in this ticket, or are they stale? I can update them or move this ticket to 'Done' as needed. cc @Andrey-Glazkv

@dylansmith-Nava I'm not sure we have answers to any of the open questions documented anywhere? Also, I think this would require working with engagement team, so maybe check with their researchers?

@arnejduranovic sounds good. I'll also see if it would make more sense then to pair with / or ask an Engagement designer to take on this work.

Based on the conversation with @chris-kuryak and @arnejduranovic in Slack, if an engineer wants to know which STLTs currently accept which condition(s), they can either look at the routing rules, or get access to SmartSheet via the Engagement team. As such, the ACs are not relevant -- a list like that is "impossible to maintain" and not necessary to find "reportable conditions per STLT". As such, I will close this ticket. Thank you! cc @Andrey-Glazkv


ERROR TypeError: Cannot read property 'getAdapter' of undefined

while loading for the first time this error message shown
ERROR TypeError: Cannot read property 'getAdapter' of undefined
how to fix it.?

Hey @anandmt70 , please provide more details, what platform? Angular or plain nativescript? Also please refer to the demo projects in the report, and if you still have problems provide a reproducible sample via the NativeScript Playground.

Hey @anandmt70 , please provide more details, what platform? Angular or plain nativescript? Also please refer to the demo projects in the repo, and if you still have problems provide a reproducible sample via the NativeScript Playground.

native script angular

I also have this issue with nativescript angular

Same issue on Android with nativescript Angular (5.3), latest plugin version(4.1.0)

Hey guys, this should be resolved with the new version on npm (4.1.1)


Refactor Code Expression

Replace unused for index with an underscore.
Use items() to directly unpack dictionary values.
Merge duplicate blocks in conditional.
Use any() instead of for loop

@all-contributors add @yezz123 for code


SPA Mode fallback page contents

Hello,
I've been looking in to the SPA Mode and I'm really liking the idea, but still left wondering.... what is the fallback page actually supposed to contain? I have found no reference to its actual contents.
From the adapter-static github page:
The fallback page is a blank HTML page that loads your SvelteKit app and navigates to the correct route. For example Surge, a static web host, lets you add a 200.html file that will handle any requests that don't otherwise match.

This seems a bit vague to me and not sure how it would apply to SvelteKit specifically. In the Surge example it is simply showing the HTML file as being:
<!-- 200.html -->
<script src="app.js"></script>

What would the SvelteKit equivalent be?
Thanks!
(PS: Posting a new discussion as suggested in original thread)
Originally posted by @BillBuilt in https://github.com/sveltejs/kit/discussions/3365#discussioncomment-1999044

@BillBuilt  I was wondering for a long time about this; I tried to take it literally blank to start, and to my surprise, the fallback page IS CREATED for you by the adapter-static; it is not an input file you have to create! The documentation is quite cryptic on this subject. Do you want another surprise? Try NOT setting  prerender: { enabled: false }! You will receive an identical fallback page in every place you have a route (.svelte file). While being messy, it is surprisingly useful; you won't need special SPA settings on your web server to avoid 404 error when the user starts from anything but the / route. @dummdidumm I will reproduce my answer if @BillBuilt opens another discussion.
Originally posted in https://github.com/sveltejs/kit/discussions/3365#discussioncomment-1999937

@mossaiby Thanks for that info! I knew I was probably over-thinking it.


HBASE-25054 Do not add non shaded protobuf as dependency in TableMapR…

…educeUtil for master

:confetti_ball: +1 overall

Vote
Subsystem
Runtime
Comment

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

_ Patch Compile Tests _

+1 :green_heart:
mvninstall
5m 56s
the patch passed

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

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

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

-0 :warning:
javadoc
0m 25s
hbase-mapreduce in the patch failed.

_ Other Tests _

+1 :green_heart:
unit
16m 35s
hbase-mapreduce in the patch passed.

52m 30s

Subsystem
Report/Notes

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

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

Optional Tests
javac javadoc unit shadedjars compile

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

Build tool
maven

Personality
dev-support/hbase-personality.sh

git revision
master / 9fc586a7eb

Default Java
2020-01-14

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

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

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

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

modules
C: hbase-mapreduce U: hbase-mapreduce

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

versions
git=2.17.1 maven=(cecedd343002696d0abb50b32b541b8a6ba2883f)

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

This message was automatically generated.


Lint error on new project

Please provide us with the following information:

Max OSX El Capitan 10.11.6

angular-cli: 1.0.0-beta.11-webpack.2
node: 6.2.0
os: darwin x64

ng new PROJECT_NAME
cd PROJECT_NAME
npm run lint

npm ERR! Darwin 15.6.0
npm ERR! argv "/usr/local/Cellar/node/6.2.0/bin/node" "/usr/local/bin/npm" "run" "lint"
npm ERR! node v6.2.0
npm ERR! npm  v3.10.5
npm ERR! code ELIFECYCLE
npm ERR<EMAIL_ADDRESS>lint: `tslint "src/**/*.ts"`
npm ERR! Exit status 2
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>lint script 'tslint "src/**/*.ts"'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the angular-test-cli-webpack package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     tslint "src/**/*.ts"
npm ERR! You can get information on how to open an issue for this project with:
npm ERR!     npm bugs angular-test-cli-webpack
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!     npm owner ls angular-test-cli-webpack
npm ERR! There is likely additional logging output above.

Mention any other details that might be useful.

Thanks! We'll be in touch soon.

Fixed in beta.12.


Nick already in use trigger Sailfish X reboot

When I am connecting quakenet and both my nicks are used, ask communi new nick. When I click accept new nick, communi freeze and second later Sailfish X reboot. Im not sure if problem is in Sailfish X or communi.
Also I have this problem: https://github.com/communi/communi-sailfish/issues/134
Sailfish version is <IP_ADDRESS>, phone Sony Xperia X and communi version 0.9

Unfortunately we don't have hardware to test with Sailfish X. But obviously it should NOT cause the OS to reboot. I asked for help on the mailing list, I hope we will see some hints.

Let's track the problem in #134 and close this ticket.


[Feature Request] Random Order should not show current img again as next img

Hi,
This adapter is awesome, thank you very much!  I am currently testing with just 5 images and works great so far.
As a feature request:
While testing the "random" option, it happens that the current image is being displayed again as the next image, which makes sense, since the random order function has chosen that current image as to be shown next again.
It looks to me the randomization is being done in : /src/modules/slideFS.ts
// See https://stackoverflow.com/questions/2450954/how-to-randomize-shuffle-a-javascript-array
for (let i = CurrentImages.length - 1; i > 0; i--) {
	const j = Math.floor(Math.random() * (i + 1));
	[CurrentImages[i], CurrentImages[j]] = [CurrentImages[j], CurrentImages[i]];
}

However, it would be great if this loop would remove current image object from the images array which is being randomized with above code. (and include fallback if just one image was defined, of course).
This would avoid showing the current image again as next image.
Thanks.
Happy to help with a function, if needed. Just need to further understand how the object CurrentImages  looks like.

Hey @Acgua
are you sure ? The Adapter reads all the pictures on startup in an array and is doing the randomization on this array only once.
The pictures are show from the array, which is already randomized. Maybe you have a duplicate picture in your directory ?


fix: DateTime incorrectly encoded when microsecond precision > # digits

@ruslandoga, I found this bug while investigating these errors in my application:
** (Ch.Error) Code: 457. DB::Exception: Value<PHONE_NUMBER>. 99856 cannot be parsed as DateTime64 for query parameter '$6' because it isn't parsed completely: only 11 of 17 bytes was parsed:<PHONE_NUMBER>. (BAD_QUERY_PARAMETER) (version <IP_ADDRESS> (official build))

I found a bug in our logic for encoding microsecond values. We left pad the value, but with the default space parameter rather than a 0 😅. See the failing test in the first commit for the repro.
iex(23)> d
~U[2024-05-26 20:00:46.099856Z]
iex(24)> d.microsecond
{99856, 6}

Thank you!

I've published the fix as v0.2.6: https://hex.pm/packages/ch


PHPUnit to Pest Converter

This pull request contains changes for migrating your test suite from PHPUnit to Pest automated by the Pest Converter.
Before merging, you need to:

Checkout the shift-56800 branch
Review all of the comments below for additional changes
Run composer update to install Pest with your dependencies
Run vendor/bin/pest to verify the conversion

:warning: Shift detected helper methods in the following PHPUnit tests. Currently Pest does not support namespaces. As such, these functions may result in a naming conflict.
While Shift converted these methods to functions in the new Pest test, you should review these files to see if these functions may be inlined or extracted to a custom helper.

[ ] tests/Feature/Api/PrintNode/Entity/ComputerTest.php
[ ] tests/Feature/Api/PrintNode/Entity/ComputersTest.php
[ ] tests/Feature/Api/PrintNode/Entity/PrintJobTest.php
[ ] tests/Feature/Api/PrintNode/Entity/PrintJobsTest.php
[ ] tests/Feature/Api/PrintNode/Entity/PrinterCapabilitiesTest.php
[ ] tests/Feature/Api/PrintNode/Entity/PrinterTest.php
[ ] tests/Feature/Api/PrintNode/Entity/PrintersTest.php
[ ] tests/Feature/Api/PrintNode/Entity/WhoamiTest.php
[ ] tests/Feature/Drivers/Cups/Entity/JobTest.php
[ ] tests/Feature/Drivers/Cups/Entity/PrinterTest.php
[ ] tests/Feature/Receipts/ReceiptPrinterTest.php

:information_source: Shift converted common PHPUnit assertions to Pest expectations. However, there may also be opportunities to chain your expectations together.
For example:
// Before
expect($comment)->toBeArray();
expect($comment)->toHaveCount(3);
expect($comment)->toContain('foo');

// After
expect($comment)->toBeArray()->toHaveCount(3)->toContain('foo');

:warning: Shift detected references to the PHPUnit test runner (vendor/bin/phpunit) in the following files. You should review these instances to see if they may be updated to the Pest test runner (vendor/bin/pest).

[ ] ./composer.json

:information_source: Pest is currently beta testing their Parallel Plugin. If you would like to save time by running your tests in parallel, you may install this plugin and run your tests with the -p options.
composer require pestphp/pest-plugin-parallel --dev
vendor/bin/pest -p

:alembic: This Shift is still being refined. Please report any issues or suggestions to<EMAIL_ADDRESS>Your feedback is what helps improve the experience for everyone.


Adding year to Month Display

Hi Jonathan,
Thank you so much for this calendar, it's been a great addition to our app! I am trying to have year display as well as Month and am having some trouble customizing/sizing. I added year to the month block component as there is no yearBlock property:
self.monthBlock = ^NSString *(NSDate *date, JTCalendar *jt_calendar){
NSCalendar *calendar = jt_calendar.calendarAppearance.calendar;
NSDateComponents *comps = [calendar components:NSCalendarUnitYear|NSCalendarUnitMonth fromDate:date];
NSInteger currentMonthIndex = comps.month;
But I am getting a display like this:

I need to be aligned and centered and still scrollable. Any help would be greatly appreciated.
Kind regards,
Karolyn

Currently you can only display the year with the month, but the scroll is still on months, there is no block yearBlock because I didn't implement the feature. If you want have the year text below the month text, I did a hack in the example in monthBlock with:
return [NSString stringWithFormat:@"%ld\n%@", year, month];


2021 Prius Prime "Openpilot Unavailable" on C3

Describe the bug
I continue to get the "openpilot unavailable, waiting for controls to start message" on fully supported 2021 Prius Prime. Don't recall the issue before openpilot 0.9.5 was released.
I have taken the following steps to troubleshoot:
-Followed various recommendations from discord on similar issues
-Reboot device multiple times each drive (sometimes it will work, others not, and never on first reset)
-Reseat all connections and cables
-Unplug for at least an hour and tried again
-Reflashed the device using AGNOS multiple times
-Replaced RJ45 cable with new
-Replaced right-angle OBD-C cable with new
Sometimes the openpilot will work while restarting the device several times and sometimes will go days without being available despite restarting the device many many times.
Provide a route where the issue occurs
233ef9dcd57e63d9/2024-02-24--18-43-20
openpilot version
0.9.5
Additional info
Dongle ID: 233ef9dcd57e63d9

I requested upload of a few drives, can you put the device on WiFi?

I brought the device inside tonight and it is currently connected to the
WiFi, please let me know if you don't get what you're looking for.
On Mon, Feb 26, 2024 at 2:33 PM Shane Smiskol @.***>
wrote:

I requested upload of a few drives, can you put the device on WiFi?
—
Reply to this email directly, view it on GitHub
https://github.com/commaai/openpilot/issues/31591#issuecomment-1965091226,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/BFPBT7BNJMS6ZJ5WXUQDOJDYVTPSNAVCNFSM6AAAAABDZEWJOKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNRVGA4TCMRSGY
.
You are receiving this because you authored the thread.Message ID:
@.***>

hey @sshane I am also having the same error message on my C3x after I performed the latest 0.9.7 update. The device still calibrated after a reinstall but not before having to restart several times.
My Dongle ID: a4653a9be878a408
Things I tried already:
I tried reseating cables and still get nothing
Reinstalled OP
restarted several times
Car:
2020 Volkswagen Jetta SEL Premium
Let me know if you want to try something else.

@zvalentine24 does this still happen?

Yes, this still happens every drive. Once I updated to 0.9.6 it normally
doesn’t take as many resets to get the device to recognize the vehicle, but
still clearly not working as it should.
On Fri, Mar 29, 2024 at 10:06 PM Shane Smiskol @.***>
wrote:

@zvalentine24 https://github.com/zvalentine24 does this still happen?
—
Reply to this email directly, view it on GitHub
https://github.com/commaai/openpilot/issues/31591#issuecomment-2027878018,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/BFPBT7CNMVUNKPR6KAF6W6LY2YM33AVCNFSM6AAAAABDZEWJOKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMRXHA3TQMBRHA
.
You are receiving this because you were mentioned.Message ID:
@.***>


Mysterious Hibernate dialect class s.a.u.AuroraPostgreSQLDialect

In https://github.com/awslabs/aws-advanced-jdbc-wrapper/blob/main/examples/HibernateExample/src/main/resources/META-INF/persistence.xml which accompanies the Hibernate example, there's a reference to this class:
        <property name="hibernate.dialect" value="software.amazon.utility.AuroraPostgreSQLDialect"/>

Unless I've missed it somewhere, this class doesn't seem present in the codebase.
Could you clarify what it's supposed to do, or if it's actually necessary after all?

Hi @dalbani, thank you for reaching out, this file is not in the source code, it only exists in the examples directory at the moment: https://github.com/awslabs/aws-advanced-jdbc-wrapper/blob/main/examples/HibernateExample/src/main/java/software/amazon/utility/AuroraPostgreSQLDialect.java

Doh, for some reason, I completely missed that the file was actually present in the repository! 🤷♂
I'm curious though why it's not shipped in the library as a "reference" dialect implementation.
What would happen if I sticked to the regular PostgreSQLDialect in my app?

Thanks a lot for this very clear and prompt response 👍

We have updated the sample code and we will be closing this issue now. Thank you again @dalbani for raising this issue.

Very nice 👍


Feat: Full support for continuous actions case

What?
This PR adds full support for continuous actions in all Mava PPO systems.
Why?
Add support for environments with continuous actions.
How?

Add continuous PPO systems using the networks and utils functions introduced in PR #999.
Add all systems and networks config.
Modify the evaluator to include transformations made on selected actions by the actor_policy.

Extra
This PR is the continuation of this #999 so it should be reviewed first 🙌

We're closing this PR since we'll adopt new ways to initialise the action's distribution in the continuous case with non-vmapped networks and avoid creating different systems files.


Add SPICE 2.0.1, Fix bug in MemmappedDataset

Adds compatibility for the latest SPICE version https://arxiv.org/pdf/2406.13112
In doing so I uncovered a couple of issues related to MemmapedDataset.
I fixed MemmapedDataset overwriting the names of processed datasets.
In particular, SPICE sets self.name as:
        arg_hash = f"{version}{subsets}{max_gradient}{subsample_molecules}"
        arg_hash = hashlib.md5(arg_hash.encode()).hexdigest()
        self.name = f"{self.__class__.__name__}-{arg_hash}"

Which gets overwritten in the MemmappedDataset constructor:
self.name = self.__class__.__name__

Causing any subsample/gradient configurations to be stored as just "SPICE.*.mmap". Probably ignoring subsample/gradient if the dataset has been already processed.
This in turn uncovered a nasty bug in the test for the ACE Dataset.
Since all instances of the Dataset are named with just self.__class__.__name__, creating two instances of ACE will simply ignore the data in the second and use what was processed in the first to a group of files just called "Ace.*.mmap".
This test should not pass but it was passing until now:
https://github.com/torchmd/torchmd-net/blob/e908988440f2e9d77029a15c41fcee8139ee8b7f/tests/test_datasets.py#L246-L299
In Ace v2 the field is called dipole_moments. But MemmappedDataset was not even trying to process the second one.
I also made some changes

Now SPICE checks the hash of the downloaded files.
Now SPICE stores files under {root}/raw/spice/ or {root}/processed/spice. Before it was storing things under {root}/raw/{version}, which could collide with other datasets.

Note that this PR will invalidate many preprocessed datasets, prompting for redownloading and reprocessing. I recommend you delete the dataset storage folder and let it redownload things.

There is one bogus molecule in the zenodo hosted 2.0.1 hdf5 file.
>>> ds = SPICE("~/data/", version="2.0.1")
Downloading https://zenodo.org/records/10975225/files/SPICE-2.0.1.hdf5
Processing...
Gathering statistics...
Molecules: 40119it [01:46, 661.97it/s]WARNING:root:Bogus molecule with id 54X VAL
WARNING:root:Found torch.Size([0]) positions, torch.Size([0]) energies and torch.Size([0]) gradients

I downloaded the file a couple times to discard a corruption on my end. Also confirmed the md5 hash coincides with the one in zenodo.
cc @peastman

@stefdoerr could you please review? this is an important one.

There is one bogus molecule in the zenodo hosted 2.0.1 hdf5 file.

Thanks!  It's only "bogus" in that there are no conformations for it.  It's a dimer that only had one conformation to begin with, and it looks like that one was excluded because the forces were too large.


Fixed "48 hash datatypes other than string cause an error"

Problems
Setting the global variable "hash_datatype" to something else than "STRING" causes several issues:

The "LOWER()" function around the calculated hash value no longer works, because it requires a STRING input
The default zero keys for hash values with "TO_BINARY()" do not work properly

Changes to Fix these Problems

hash_default_values (Snowflake):

Added the datatypes "VARCHAR", "CHAR" and "TEXT" as supported datatypes
Fixed placement of quotes inside the Zero keys for binary values
Added leading "!" for static zero keys to support usage of "as_constant" macro downstream

hash_default_values (BigQuery):

Removed filter for "STRING" datatype because datatype handling is done downstream
Added leading "!" for static zero keys to support usage of "as_constant" macro downstream

hash_default_values (Exasol):

Added leading "!" for static zero keys to support usage of "as_constant" macro downstream

hash_standardization (All adapters):

Added check for datatype to allow handling of hash datatypes other than STRING
Used "as_constant" for zero key to allow SQL operations inside zero key default values

hash (All adapters):

Added passing down the hash datatype to the concattenated_standardise macro

stage (All adapters):

Used "as_constant" to allow zero keys to have SQL operations in it

is_expression:

Added "||" as indicator of a SQL expression

Contributors

@mjahammel Thanks for finding this issue!

Hi all,
why it is not allowed to use MD5 with BINARY data type?

Hi all,
why it is not allowed to use MD5 with BINARY data type?

Hi @c1honegg ,
With this Pull Request I added support for MD5 as BINARY datatype!
Once it is closed, the support is integrated in the regular release.
Best regards,
Tim

Great, thank you very much!


BUG: adding Buhring's analytic continuation method to special.hyp2f1 (redux)

There's been no activity in #8151 for about a year. @FormerPhysicist has not been active much (according to his GH profile), and @person142 was not able to find the time to pick up the PR. I thought I'll give it a try.
Closes #8054
Closes #8083
Closes #8151
Note that https://github.com/scipy/scipy/commit/5cfdcbf94f6208777375fd5355ea9ec21fe9520b is obsolete since #12792.
Description from OP of #8151:

Overview
This pull request adds a new method of calculating the hypergeometric function hyp2f1 in the region where the standard transformation formulas for hyp2f1 fail. This method is based on the analytic continuation series given in W. Buhring, An Analytic Continuation of the Hypergeometric Series, SIAM J. Math. Anal., Vol. 18, No. 3, May 1987.
This new method is applied to the region of the complex plane given by:
0.9 <= |z| <= 1.1 and Re(z) >= 0.0 and |z-1.0| >= 0.75
Summary of what methods are used in each region of the complex plane
|z| > 1.1 ............................................................................ 1/z transformation
|z| <= 1.1 and Re(z) < 0.0 ................................................ z/(z-1) transformation
|z| < 0.9 and Re(z) >= 0.0 ................................................. defining Taylor series for hyp2f1
0.9 <= |z| <= 1.1 and |z-1.0| < 0.75 .................................. 1-z transformation
0.9 <= |z| <= 1.1 and Re(z) >= 0.0 and |z-1.0| >= 0.75 .... Buhring's analytic continuation series
Note that the transformations for hyp2f1 discussed above are given here. (They're also listed in Handbook of Mathematical Functions, M. Abramowitz and I. Stegun)
Expanded region that uses 1-z and z/(z-1) transformations
Besides implementing Buhring's series in the region where hyp2f1 was failing, I also slightly extended the region where the 1-z and z/(z-1) transformations are used so that both transformations are now used (in their appropriate regions) when |z| <= 1.1 instead of when |z| <= 1.0
My main motivation for this small expansion is the fact that the three methods that would get used in the ring 1.0 < |z| < 1.1 (i.e., Buhring's series, the 1-z and z/(z-1) transformations, see previous summary) all converge much sooner and are much faster than the 1/z transformation.
The only potential (but ultimately fixable) downside that I could find with the expansion of the 1-z region is related to the values we return for hyp2f1 on the branch cut (1, inf). Specifically, on the branch cut of hyp2f1, the 1-z transformation converges to a different branch of hyp2f1 than the 1/z transformation does.
From a mathematical point of view this is okay since hyp2f1 is essentially multi-valued on the branch cut but it does mean that if one were to plot the real/imaginary parts of hyp2f1 on the real axis (1,inf), one would see a discontinuity at x=1.1. To fix this, I've also added some code to the 1-z method so that it converges to the same branch of hyp2f1 that the 1/z transformation converges to (when z is on the branch cut). This amounts to multiplying some prefactors in the method by a constant complex value. I can give more details about this as needed.
Related issues
Closes #8054
Closes #8083

I'm still lurking around and willing to respond to reviewer comments.
As I remember, the development for all of my various hypergeometric PRs
was complete, at least in terms of functionality/implementation of the
quoted algorithms and in unit test coverage of the new algorithms.  I
was just waiting for a expert reviewer.
That said, I do think that now there are stylistic issues and other
issues that need to be addressed to get the PRs to pass
Travis/ci/circleci.  I'm not familiar with scipy's CI/CD pipelines, but
I'm guessing you guys updated something since 3 years ago when I first
opened my PRs (and when my PRs were passing Travis etc.)
In fact, over the summer I actually did try briefly to troubleshoot one
of my stale PRs*. It had a unit test from a completely unrelated module
that was failing in a specific environment in Travis.  I was never able
to reproduce the error locally in my laptop so I sorta gave up. Probably
should of reached out to the email list...
Adam (FormerPhysicist)

This one: https://github.com/scipy/scipy/pull/8548

On 12/30/2020 11:53 AM, h-vetinari wrote:

There's been no activity in #8151
https://github.com/scipy/scipy/pull/8151 for about a year.
@FormerPhysicist https://github.com/FormerPhysicist has not been
active much (according to his GH profile), and @person142
https://github.com/person142 was not able to find the time to pick
up the PR. I thought I'll give it a try.
Closes #8054 https://github.com/scipy/scipy/issues/8054
Closes #8083 https://github.com/scipy/scipy/issues/8083
Closes #8151 https://github.com/scipy/scipy/pull/8151
Note that 5cfdcbf
https://github.com/scipy/scipy/commit/5cfdcbf94f6208777375fd5355ea9ec21fe9520b
is obsolete since #12792 https://github.com/scipy/scipy/pull/12792.
Description from OP of #8151 https://github.com/scipy/scipy/pull/8151:
    Overview

This pull request adds a new method of calculating the
hypergeometric function hyp2f1 in the region where the standard
transformation formulas for hyp2f1 fail. This method is based on
the analytic continuation series given in /W. Buhring, An Analytic
Continuation of the Hypergeometric Series, SIAM J. Math. Anal.,
Vol. 18, No. 3, May 1987/.

This new method is applied to the region of the complex plane
given by:
0.9 <= |z| <= 1.1 and Re(z) >= 0.0 and |z-1.0| >= 0.75

    Summary of what methods are used in each region of the complex
    plane

|z| > 1.1
............................................................................
1/z transformation
|z| <= 1.1 and Re(z) < 0.0
................................................ z/(z-1)
transformation
|z| < 0.9 and Re(z) >= 0.0
................................................. defining Taylor
series for hyp2f1
0.9 <= |z| <= 1.1 and |z-1.0| < 0.75
.................................. 1-z transformation
0.9 <= |z| <= 1.1 and Re(z) >= 0.0 and |z-1.0| >= 0.75 ....
Buhring's analytic continuation series

Note that the transformations for hyp2f1 discussed above are given
here <http://dlmf.nist.gov/15.8>. (They're also listed in
/Handbook of Mathematical Functions, M. Abramowitz and I. Stegun/)

    Expanded region that uses 1-z and z/(z-1) transformations

Besides implementing Buhring's series in the region where hyp2f1
was failing, I also slightly extended the region where the 1-z and
z/(z-1) transformations are used so that both transformations are
now used (in their appropriate regions) *when |z| <= 1.1* instead
of when |z| <= 1.0

My main motivation for this small expansion is the fact that the
three methods that would get used in the ring 1.0 < |z| < 1.1
(i.e., Buhring's series, the 1-z and z/(z-1) transformations, see
previous summary) all converge much sooner and are much faster
than the 1/z transformation.

The only potential (but ultimately fixable) downside that I could
find with the expansion of the 1-z region is related to the values
we return for hyp2f1 on the branch cut (1, inf). Specifically, on
the branch cut of hyp2f1, the 1-z transformation converges to a
different branch of hyp2f1 than the 1/z transformation does.

From a mathematical point of view this is okay since hyp2f1 is
essentially multi-valued on the branch cut but it does mean that
if one were to plot the real/imaginary parts of hyp2f1 on the real
axis (1,inf), one would see a discontinuity at x=1.1. To fix this,
I've also added some code to the 1-z method so that it converges
to the same branch of hyp2f1 that the 1/z transformation converges
to (when z is on the branch cut). This amounts to multiplying some
prefactors in the method by a constant complex value. I can give
more details about this as needed.

    Related issues

Closes #8054 <https://github.com/scipy/scipy/issues/8054>
Closes #8083 <https://github.com/scipy/scipy/issues/8083>

    You can view, comment on, or merge this pull request online at:

https://github.com/scipy/scipy/pull/13310
https://github.com/scipy/scipy/pull/13310
    Commit Summary

BUG: fixed hyp2f1 in small region; closes #8054

DOC: updating hyp2f1 docstring

TST: added new test script for hyp2f1

DOC: adding myself to THANKS.txt

TST: changing where random.seed is set

Pulling master branch in

Merge remote-tracking branch 'FormerPhysicist/buhring-fix' into
carry_buhring

remove trailing whitespace in affected files

fix references in docstring

black scipy/special/tests/test_hyp2f1.py

blacken comments
File Changes

M scipy/special/add_newdocs.py
https://github.com/scipy/scipy/pull/13310/files#diff-20093aecd924234eb61bda0bfc21b2cf828baf1e2c315a2bb50767bf581ff54a
(32)

M scipy/special/specfun/specfun.f
https://github.com/scipy/scipy/pull/13310/files#diff-84b25a420988159fc7908a4c2afec5d18cddc33926badc8f1313717be6516a71
(172)

A scipy/special/tests/test_hyp2f1.py
https://github.com/scipy/scipy/pull/13310/files#diff-77752da733377d27ed46337b6c7be36bac647bdbd2936c9faa742794eb73df9e
(238)
Patch Links:

https://github.com/scipy/scipy/pull/13310.patch
https://github.com/scipy/scipy/pull/13310.patch

https://github.com/scipy/scipy/pull/13310.diff
https://github.com/scipy/scipy/pull/13310.diff

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/scipy/scipy/pull/13310, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AHNTI7OT3WMHVOMVUS4EQQ3SXNLHDANCNFSM4VOQI63A.

I'm still lurking around and willing to respond to reviewer comments.
As I remember, the development for all of my various hypergeometric PRs
was complete, at least in terms of functionality/implementation of the
quoted algorithms and in unit test coverage of the new algorithms.  I
was just waiting for a expert reviewer.
That said, I do think that now there are stylistic issues and other
issues that need to be addressed to get the PRs to pass
Travis/ci/circleci.  I'm not familiar with scipy's CI/CD pipelines, but
I'm guessing you guys updated something since 3 years ago when I first
opened my PRs (and when my PRs were passing Travis etc.)
In fact, over the summer I actually did try briefly to troubleshoot one
of my stale PRs*. It had a unit test from a completely unrelated module
that was failing in a specific environment in Travis.  I was never able
to reproduce the error locally in my laptop so I sorta gave up. Probably
should of reached out to the email list...
Adam (FormerPhysicist)

This one: https://github.com/scipy/scipy/pull/8548

On 12/30/2020 11:53 AM, h-vetinari wrote:

There's been no activity in #8151
https://github.com/scipy/scipy/pull/8151 for about a year.
@FormerPhysicist https://github.com/FormerPhysicist has not been
active much (according to his GH profile), and @person142
https://github.com/person142 was not able to find the time to pick
up the PR. I thought I'll give it a try.
Closes #8054 https://github.com/scipy/scipy/issues/8054
Closes #8083 https://github.com/scipy/scipy/issues/8083
Closes #8151 https://github.com/scipy/scipy/pull/8151
Note that 5cfdcbf
https://github.com/scipy/scipy/commit/5cfdcbf94f6208777375fd5355ea9ec21fe9520b
is obsolete since #12792 https://github.com/scipy/scipy/pull/12792.
Description from OP of #8151 https://github.com/scipy/scipy/pull/8151:
    Overview

This pull request adds a new method of calculating the
hypergeometric function hyp2f1 in the region where the standard
transformation formulas for hyp2f1 fail. This method is based on
the analytic continuation series given in /W. Buhring, An Analytic
Continuation of the Hypergeometric Series, SIAM J. Math. Anal.,
Vol. 18, No. 3, May 1987/.

This new method is applied to the region of the complex plane
given by:
0.9 <= |z| <= 1.1 and Re(z) >= 0.0 and |z-1.0| >= 0.75

    Summary of what methods are used in each region of the complex
    plane

|z| > 1.1
............................................................................
1/z transformation
|z| <= 1.1 and Re(z) < 0.0
................................................ z/(z-1)
transformation
|z| < 0.9 and Re(z) >= 0.0
................................................. defining Taylor
series for hyp2f1
0.9 <= |z| <= 1.1 and |z-1.0| < 0.75
.................................. 1-z transformation
0.9 <= |z| <= 1.1 and Re(z) >= 0.0 and |z-1.0| >= 0.75 ....
Buhring's analytic continuation series

Note that the transformations for hyp2f1 discussed above are given
here <http://dlmf.nist.gov/15.8>. (They're also listed in
/Handbook of Mathematical Functions, M. Abramowitz and I. Stegun/)

    Expanded region that uses 1-z and z/(z-1) transformations

Besides implementing Buhring's series in the region where hyp2f1
was failing, I also slightly extended the region where the 1-z and
z/(z-1) transformations are used so that both transformations are
now used (in their appropriate regions) *when |z| <= 1.1* instead
of when |z| <= 1.0

My main motivation for this small expansion is the fact that the
three methods that would get used in the ring 1.0 < |z| < 1.1
(i.e., Buhring's series, the 1-z and z/(z-1) transformations, see
previous summary) all converge much sooner and are much faster
than the 1/z transformation.

The only potential (but ultimately fixable) downside that I could
find with the expansion of the 1-z region is related to the values
we return for hyp2f1 on the branch cut (1, inf). Specifically, on
the branch cut of hyp2f1, the 1-z transformation converges to a
different branch of hyp2f1 than the 1/z transformation does.

From a mathematical point of view this is okay since hyp2f1 is
essentially multi-valued on the branch cut but it does mean that
if one were to plot the real/imaginary parts of hyp2f1 on the real
axis (1,inf), one would see a discontinuity at x=1.1. To fix this,
I've also added some code to the 1-z method so that it converges
to the same branch of hyp2f1 that the 1/z transformation converges
to (when z is on the branch cut). This amounts to multiplying some
prefactors in the method by a constant complex value. I can give
more details about this as needed.

    Related issues

Closes #8054 <https://github.com/scipy/scipy/issues/8054>
Closes #8083 <https://github.com/scipy/scipy/issues/8083>

    You can view, comment on, or merge this pull request online at:

https://github.com/scipy/scipy/pull/13310
https://github.com/scipy/scipy/pull/13310
    Commit Summary

BUG: fixed hyp2f1 in small region; closes #8054

DOC: updating hyp2f1 docstring

TST: added new test script for hyp2f1

DOC: adding myself to THANKS.txt

TST: changing where random.seed is set

Pulling master branch in

Merge remote-tracking branch 'FormerPhysicist/buhring-fix' into
carry_buhring

remove trailing whitespace in affected files

fix references in docstring

black scipy/special/tests/test_hyp2f1.py

blacken comments
File Changes

M scipy/special/add_newdocs.py
https://github.com/scipy/scipy/pull/13310/files#diff-20093aecd924234eb61bda0bfc21b2cf828baf1e2c315a2bb50767bf581ff54a
(32)

M scipy/special/specfun/specfun.f
https://github.com/scipy/scipy/pull/13310/files#diff-84b25a420988159fc7908a4c2afec5d18cddc33926badc8f1313717be6516a71
(172)

A scipy/special/tests/test_hyp2f1.py
https://github.com/scipy/scipy/pull/13310/files#diff-77752da733377d27ed46337b6c7be36bac647bdbd2936c9faa742794eb73df9e
(238)
Patch Links:

https://github.com/scipy/scipy/pull/13310.patch
https://github.com/scipy/scipy/pull/13310.patch

https://github.com/scipy/scipy/pull/13310.diff
https://github.com/scipy/scipy/pull/13310.diff

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/scipy/scipy/pull/13310, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AHNTI7OT3WMHVOMVUS4EQQ3SXNLHDANCNFSM4VOQI63A.

Hey Adam
Happy to close this PR if you want to pick up yours. I guess to make it seem like the PR is still active, it helps to keep it conflict-free and with green CI, but even more importantly: to respond to pings from the maintainers here (I'm not one of them). ;-)

Hey Adam
Happy to close this PR if you want to pick up yours. I guess to make it seem like the PR is still active, it helps to keep it conflict-free and with green CI, but even more importantly: to respond to pings from the maintainers here (I'm not one of them). ;-)

I actually would lean more towards just letting you push your changes to my original branch and just have one PR that we share. I won't necessarily have time to fix these issues for another couple of months.
But before we do anything, why don't I ask the developer mailing list what the procedure should be?  (If you aren't on that list, you might want to subscribe here)

I actually would lean more towards just letting you push your changes to my original branch and just have one PR that we share. I won't necessarily have time to fix these issues for another couple of months.
But before we do anything, why don't I ask the developer mailing list what the procedure should be?  (If you aren't on that list, you might want to subscribe here)

Sure, if you want to, I can push these changes to your PR (provided you make me a collaborator on your fork of scipy) - otherwise you can take the commits from this branch and push them to yours yourself.
I think there's really not much more than what I mentioned (conflict-free, green CI, responded to all review / pings), but feel free to reach out to the mailing list. Also, several devs are obviously very active on GH (holiday season notwithstanding), so you'd probably get faster feedback from pinging @rgommers or @tylerjereddy...

Sure, if you want to, I can push these changes to your PR (provided you make me a collaborator on your fork of scipy) - otherwise you can take the commits from this branch and push them to yours yourself.
I think there's really not much more than what I mentioned (conflict-free, green CI, responded to all review / pings), but feel free to reach out to the mailing list. Also, several devs are obviously very active on GH (holiday season notwithstanding), so you'd probably get faster feedback from pinging @rgommers or @tylerjereddy...

@h-vetinari I've added you as a collaborator on my fork of scipy.  You can close this PR and just push your changes to my original PR.

@h-vetinari I've added you as a collaborator on my fork of scipy.  You can close this PR and just push your changes to my original PR.

Moving this work back to #8151.


stylelint: 'declaration-block-no-ignored-properties'

stylelint: 'declaration-block-no-ignored-properties'  has been deprecated and in 8.0 will be removed.

I get this warning for fresh Phenomic setups. Should declaration-block-no-ignored-properties be removed?
UPDATE:
The latest version of stylelint is 7.8.0 which has this warning. If I install 7.2 manually there no warning.

I guess indeed. Will update the config to avoid the noize but for us it will be a breaking change as the config won't work for older versions....
Getting this warning for each file is a bit brutal :D poke @davidtheclark @jeddy3

Maybe just use "7.2.0" instead of "^7.2.0" or this will be breaking change too?

Getting this warning for each file is a bit brutal

I'm pretty sure our formatters dedupe the deprecation warnings per run. I think you'll need to use stylelint as a standalone tool, rather than an PostCSS plugin though. Perhaps https://github.com/JaKXz/stylelint-webpack-plugin would help here?

Not a solution - but - silenced warning for now by ignoring deprecated rule in new Phenomic project package.json.  Per Stylelint configuration object and Stylelint rule deprecation discussion.
"stylelint": {
    "extends": "./node_modules/phenomic/lib/stylelint-config-recommended/index.js",
    "rules": {
      "declaration-block-no-ignored-properties": null
    }

trying Phenomic for the first time and yes 40+ warnings in the terminal plus a red error in the browser on first is pretty bad... Is this silenced for most people or is this how everybody first experiences Phenomic for now?

is this how everybody first experiences Phenomic for now?

It's like that indeed since 2 weeks at least.


Update JavaFX Scene Builder to 8.0.0

Current cask for JavaFX Scene Builder is outdated. The problem is that since Java SE 8u40 Oracle does not provide updated binaries for it. Whole project is open source and there is another source where up-to-date binaries can be found: http://gluonhq.com/open-source/scene-builder/. Yet, I'm not really sure it's place is here as an update to the JavaFX Scene Builder cask or maybe as a new cask in homebrew-unofficial.

Existing cask should be removed and a new one can be created in homebrew-unofficial pointing to the GluonHQ links.
Care to submit a PR? We can help if you have questions along the way.

Yes, I will submit both PRs.

Closes in favour of the new PRs.


SR-3131: Adjust choice of decimal vs. exponential format

For each floating-point type, there is a range of integers which
can be exactly represented in that type.  Adjust the formatting
logic so that we use decimal format for integers within this
range, exponential format for numbers outside of this range.
For example, Double has a 53-bit significand so can exactly
represent every integer from -(2^53)...(2^53).  With this
change, we now use decimal format for these integers and
exponential format for values outside of this range.  This is
a relatively small change from the previous logic -- we've
basically just moved the cutoff from 10^15 to 2^53 (≈ 10^17).
The decision for using exponential format for small numbers is
not changed.
This includes edits to the test suite to adapt to the change in
behavior.
Resolves SR-3131.

@swift-ci Please smoke test

Build failed
Swift Test OS X Platform
Git Sha - ec7f7b0cad9813e987fa99fdac1760bb1e2cefff

Build failed
Swift Test Linux Platform
Git Sha - ec7f7b0cad9813e987fa99fdac1760bb1e2cefff

@swift-ci Please test

Build failed
Swift Test OS X Platform
Git Sha - ae7f7bbe30a67380ce713d8266c37763973cfdd7

Build failed
Swift Test Linux Platform
Git Sha - ae7f7bbe30a67380ce713d8266c37763973cfdd7


Update debug commands

Update the ways to invoke debug & launch commands from the solution explorer

@esweet431 : Thanks for your contribution! The author(s) have been notified to review your proposed change.

@corob-msft : Thanks for your contribution! The author(s) have been notified to review your proposed change.


Data layer saved without a name cannot be deleted.

An administrator was changing a title for a layer in seasketch.org/blueazores and somehow managed to save the layer without a name. Now, he can't edit the layer (and rename it) because there is no name to click on. I can't reproduce this issue but, for now, it would be good to programmatically apply a name (even a random one) so we can rename it.

Fixed in e6eee95bf57ef2b11b7d03e2e2ba166ee82cef7d


Unable to find build/tasks path

I am not seeing build/tasks path in my application. Should we be creating this or it will be created if we run any command.

Are you using aurelia-cli to build your app?

By all standards this can be closed.


Aligning the font to center in about section

🚀 Feature
The text is not evenly aligned on the website in about section
Pitch
It is a good developer practice to properly align the text
Add relevant screenshot or video (if any)

/assign


Database id isn't supported in v4

Issue
I'm trying to connect using socket.url with database id:
const client = createClient({
    legacyMode: false,
    socket: {
      url: 'redis://<IP_ADDRESS>:6379/3'
    }
})

But it always connects to db=0.

Environment

Node.js Version: 16
Redis Server Version: 6.2.1
Platform: Mac OS 11.6

While adding the database ID to the URL may be a good idea, in the meantime you can use client.SELECT(id) to select the correct database.
In this case you'd want to use client.SELECT(3).


Readme outdated / incomplete

It is not possible to get a local development version running using the README.md instructions without previous knowledge about Polymer, PouchDB, Vaadin Elements etc.
e.g. the mentioned <pouch-db> element is missing from overview-page.html and simly running polymer build fails with
Error: ENOENT: no such file or directory, open '/home/jonni/Downloads/expense-manager-demo/bower_components/polymer/polymer.html'

Thanks, the readme was missing the step to install bower dependencies. Should be fixed now.


validator errors

Hi, line 16 in single.php produces a duplicate class attribute.
 <article class="main-content" <?php post_class() ?> id="post-<?php the_ID(); ?>">
results in something like this . . .

Additionally there are three stray closing divs in footer.php that aren't  required.
lines 25, 26, 30

Hi,
Thanks! The duplicate class attribute error has now been fixed https://github.com/olefredrik/FoundationPress/pull/616
The closing divs in footer.php should only be applied when off-canvas is selected as the mobile menu option in customizer. Fixed in https://github.com/olefredrik/FoundationPress/pull/615


Adding solar controller and replacing AMR-Wind standin with FLORIS standin in example 07

1. Solar controller
Implementing a simple PV plant controller that trims any PV plant power output above the setpoint at each timestep. This is similar to what pysam does. The "curtailment" is applied uniformly to the entire PV plant.
Requires an input power setpoint signal, which is read in through the input file field external_data_file.
In the future, this power setpoint might be calculated internally in hercules and this controller will need to be modified to handle that input.
2. FLORIS stand-in
The AMR-Wind stand-in was causing the errors shown below.

FLORIS was determined to be a better stand-in anyway, and was easy to implement, so the FLORIS stand-in replaced the AMR-Wind stand-in.

@brookeslawski I left a handful of small comments, but perhaps I'm a little confused about the files in the 07_floris_standin_and_solar_pysam. It seems that there is a bit of a mix in there of files that are needed to run this example, and files that maybe are just carry-overs from when it was 07_amr_wind_standin_and_solar_pysam, several of which I think are no longer used.
Did you mean to leave those in? Is the intention that the user could run the example with the AMR-Wind standin, as well as with the FLORIS standin?

Hi @brookeslawski! I left a handful of small comments, but perhaps I'm a little confused about the files in the 07_floris_standin_and_solar_pysam. It seems that there is a bit of a mix in there of files that are needed to run this example, and files that maybe are just carry-overs from when it was 07_amr_wind_standin_and_solar_pysam, several of which I think are no longer used.
Did you mean to leave those in? Is the intention that the user could run the example with the AMR-Wind standin, as well as with the FLORIS standin?

Hi @misi9170 - Thank you for the review. I've deleted the amr_wind_standin files, which was just the hercules_runscript_amr_standin.py


Replace nonsense with correct statement

Replace nonsense with correct statement

@ddv239,
Thanks for your contribution as a Microsoft full-time employee or intern. You do not need to sign a CLA.
Thanks,
Microsoft Pull Request Bot