fix(deps): update module github.com/grafana/pyroscope-go/godeltaprof to v0.1.8

This PR contains the following updates:

Package
Type
Update
Change

github.com/grafana/pyroscope-go/godeltaprof
require
patch
v0.1.7 -> v0.1.8

Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.

[ ] If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

ℹ Artifact update notice
File name: go.mod
In order to perform the update(s) described in the table above, Renovate ran the go get command, which resulted in the following additional change(s):

1 additional dependency was updated

Details:

Package
Change

github.com/klauspost/compress
v1.17.3 -> v1.17.8


refactor(Notes): Split get_note into get_note and get_note_unsafe

The discussion in https://github.com/AztecProtocol/aztec-packages/issues/3123 and conversations with @LHerskind made me realize that our two big state variables, Singleton and Set, behave very differently with reading notes despite having similar APIs.
Set.get_notes() simply reads a bunch of notes and returns them. The expectation is that these notes will be immediately consumed and nullified by calling remove(). Indeed, this is how things like BalanceSet work. Failing to call remove() introduces a security issue since nullifier non-inclusion will never be proved, and the burden of this call falls on the user of Set.
Singleton.get_note() reads a note, immediately nullifies it and creates a new one with the same value. This guarantees that the value read is not nullified and get_note() is therefore always safe to use. However, this is often suboptimal: if the value was mean to be replaced with a different one then the nullification and re-creation inside get_note() was redundant and unnecessary. (the kernels actually squash note creation followed by nullification, but we're still doing a lot of useless hashing)
I think this behavior mismatch on such basic types can be extremely confusing to new users and easily lead to costly mistakes. But there's also good reasons why things are the way they are, and both current implementations are good things that should exist. I propose we take the learnings from each of these, more explicitly lay out potential pit falls, and address naming inconsistencies.

The plan is to have for both state variables a get_note variant that does what it says and is always safe (but might be suboptimal), and a get_note_unsafe variant which, if you know what you're doing, can be used to produce better results while still remaining safe.
For Singleton:

get_note would be the same as the current implementation. Example use case: some configuration value is read.
get_note_unsafe would not destroy the current note nor create a new one. Example use case: some value is read and then modified (as was being discussed in https://github.com/AztecProtocol/aztec-packages/issues/3753).

For Set:

get_note would remove all read notes from the set and then reinsert them. Example use case: some configuration values are proven to exist (e.g. a set of permissions).
get_note_unsafe would be the same as the current implementation. Example use case: a token balance in which read notes are consumed.

@LHerskind suggested that we could also extend the interface in other ways, for example by adding pop_notes to Set, which would nullify all read notes. This would provide something like BalanceSet a way to achieve the desired behavior without having to resort to the unsafe variant. A valid use case for unsafe remains however when only some of the notes returned by the oracle are consumed and the rest are simply unused, in which case the non-nullification is not a problem.

Superceded by #7834.


[TASK] Integration tests for specific workflows

Estimated story points:
Description

Acceptance criteria

I added some examples to https://github.com/reform-org/reform/blob/main/webapp/tests/selenium/workflows.test.ts so somebody else could take this on.


Reactivate dataset rivm_corona_in_nl.csv

There is data on COVID-19 case counts on the municipality level available again. We can reactivate https://github.com/J535D165/CoronaWatchNL/blob/master/data/rivm_corona_in_nl.csv. See issue #44. I'm not sure whether this was by mistake or something they will provide on a daily basis. See https://github.com/J535D165/CoronaWatchNL/blob/master/raw_data/peildatum-08-04-2020-13-55.csv

Great!

I have checked the RIVM csv files these days, and it is "In het ziekenhuis opgenomen COVID-19 patiënten", so hospitalizations, not positive-tested cases, so the file of 8/4 was probably a mistake. But as it seems they still track this data, why don't they just publish this data as a 2nd CSV file...

@mvanreek The data is available for 8-9-10. We aren't expecting changes over the weekend. So I made a new dataset with this data: https://github.com/J535D165/CoronaWatchNL/blob/master/data/rivm_NL_covid19_total_municipality.csv
One remark, I have to add the missing values.


Fixed for tables with deleted rows

So... the library wasn't parsing some filegdbs for me, here is an example (sorry, it's big)
http://www.fs.fed.us/r6/data-library/gis/okanogan/documents/Transportation.zip
I discovered that the number of records in the tablex function would sometimes return incorrect numbers (deleted rows(?)); to get the real number of rows in a table, you have to get it from the gdbtable.
Here is an example from Evan:
tablex number of rows:
https://github.com/rouault/dump_gdbtable/blob/master/dump_gdbtable.py#L171
table number of rows:
https://github.com/rouault/dump_gdbtable/blob/master/dump_gdbtable.py#L179
The code in this PR passes the gdbtable buffer into the rows function and then gets the numrows, but it could also parse the numrows first and pass that int val in...however you want to implement...

A few formating issues which are no big deal if you can't fix it can fix it when I merge.
Which will be sometime next week as I'm at the airport about to go on vacation.
(a test would be nice too if you are able to get them working)

But thank you this looks great.

I think I've messed this up...sorry. I made the fixes you suggested and also another fix for fgdb version. I probably should've created a branch for the version fix... my bad.


⚠ Samsung has degraded performance

In d335a45, Samsung (https://samsung.com) experienced degraded performance:

HTTP code: 200
Response time: 2672 ms

Resolved: Samsung performance has improved in 7c85be1.


percona-toolkit: 3.0.11 -> 3.0.12

Motivation for this change
Update percona-toolkit to ver 3.0.12
Things done

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

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

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

@GrahamcOfBorg build perlPackages.PerconaToolkit

Success on x86_64-linux (full log)
Attempted: perlPackages.PerconaToolkit
Partial log (click to expand)
Installing /nix/store/58jblb5b6p2ncmlw7gd969kgwz49fl6a-perl5.28.0-Percona-Toolkit-3.0.12/bin/pt-ioprofile
Installing /nix/store/58jblb5b6p2ncmlw7gd969kgwz49fl6a-perl5.28.0-Percona-Toolkit-3.0.12/bin/pt-deadlock-logger
Installing /nix/store/58jblb5b6p2ncmlw7gd969kgwz49fl6a-perl5.28.0-Percona-Toolkit-3.0.12/bin/pt-fifo-split
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/58jblb5b6p2ncmlw7gd969kgwz49fl6a-perl5.28.0-Percona-Toolkit-3.0.12
gzipping man pages under /nix/store/58jblb5b6p2ncmlw7gd969kgwz49fl6a-perl5.28.0-Percona-Toolkit-3.0.12/share/man/
strip is /nix/store/vcc4svb8gy29g4pam2zja6llkbcwsyiq-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/58jblb5b6p2ncmlw7gd969kgwz49fl6a-perl5.28.0-Percona-Toolkit-3.0.12/lib  /nix/store/58jblb5b6p2ncmlw7gd969kgwz49fl6a-perl5.28.0-Percona-Toolkit-3.0.12/bin
patching script interpreter paths in /nix/store/58jblb5b6p2ncmlw7gd969kgwz49fl6a-perl5.28.0-Percona-Toolkit-3.0.12
checking for references to /build in /nix/store/58jblb5b6p2ncmlw7gd969kgwz49fl6a-perl5.28.0-Percona-Toolkit-3.0.12...

Success on aarch64-linux (full log)
Attempted: perlPackages.PerconaToolkit
Partial log (click to expand)
Installing /nix/store/avm75h4rpb6mkj9qlrian67qp7s9c4cn-perl5.28.0-Percona-Toolkit-3.0.12/bin/pt-archiver
Installing /nix/store/avm75h4rpb6mkj9qlrian67qp7s9c4cn-perl5.28.0-Percona-Toolkit-3.0.12/bin/pt-align
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/avm75h4rpb6mkj9qlrian67qp7s9c4cn-perl5.28.0-Percona-Toolkit-3.0.12
gzipping man pages under /nix/store/avm75h4rpb6mkj9qlrian67qp7s9c4cn-perl5.28.0-Percona-Toolkit-3.0.12/share/man/
strip is /nix/store/p9akxn2sfy4wkhqdqa3li97pc6jaz3r1-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/avm75h4rpb6mkj9qlrian67qp7s9c4cn-perl5.28.0-Percona-Toolkit-3.0.12/lib  /nix/store/avm75h4rpb6mkj9qlrian67qp7s9c4cn-perl5.28.0-Percona-Toolkit-3.0.12/bin
patching script interpreter paths in /nix/store/avm75h4rpb6mkj9qlrian67qp7s9c4cn-perl5.28.0-Percona-Toolkit-3.0.12
checking for references to /build in /nix/store/avm75h4rpb6mkj9qlrian67qp7s9c4cn-perl5.28.0-Percona-Toolkit-3.0.12...
/nix/store/avm75h4rpb6mkj9qlrian67qp7s9c4cn-perl5.28.0-Percona-Toolkit-3.0.12


type WidgetExampleAttribute

Follow up to https://github.com/huggingface/hub-docs/pull/1023
This PR renames some typing to be more clear. Check out the files tab

merging it now. Might make the typing even stronger in subseq PR


No request tracking when using static file provider (only on 404)

Hi,
Having issues tracking requests when using a static file provider in Asp.net Core using the core Application Insights package.
Generally files are served fine in the application but only 404s are registered against Application Insights. Is this normal behaviour? Currently I am having to register successful requests in code using TrackRequest ignoring 404 in the code I've added to prevent logging twice.
app.UseStaticFiles(new StaticFileOptions               { FileProvider = FileSystemVirtualPathProvider.ConfigureMedia(fileSystem, authentication, httpContext, options, root),RequestPath = new PathString($"/{root}"),});

This may be middleware ordering issue. Have you registered Application Insights middleware before the static files one?
@pakrym will this be addressed with the new way tracking requests?

Yes, new implementation should log all request correctly.

@Noer024 please check the middleware ordering. We will be shipping the new version of SDK that does not use middleware to monitor request that should eliminate the need to order those correctly. Please check on updates

@SergeyKanzhelev placing the static file provider after the declaration for the request telemetry seems to disable the provider.
Will wait for the updated telemetry to come out for now.

Glad you got it working.
Just FYI there is a 2.0.0-beta1 package available now also.


Extension Load and unload at runtime and door lock/unlock module.

the extension load/unload looks like it would fix the loading functionality with testing scripts. Please answer the following.

was extensive testing done for the unload/load functionality.
was there any issues with an core module when using this feature.
can multiple modules be loaded/unloaded in sequence
does this work for testing other scripts ie stop/start console commands
is there specific requirements when using load/unload.

please get back with me regarding the above questions. if you would like to discuss this more please reach out so we can merge this pull.

the extension load/unload looks like it would fix the loading functionality with testing scripts. Please answer the following.

was extensive testing done for the unload/load functionality.
was there any issues with an core module when using this feature.
can multiple modules be loaded/unloaded in sequence
does this work for testing other scripts ie stop/start console commands
is there specific requirements when using load/unload.

please get back with me regarding the above questions. if you would like to discuss this more please reach out so we can merge this pull.

Yes
this does not reload individual core modules, but the extension when the resource is stopped/restarted. The problem I was facing was that when making any changes to the resource and ensuring to update it on the server, the resource gave errors when starting, as it already had registered entries that were not properly finalized.

in this first version it is not possible to stop individual core modules. the API terminates any resource entries that registered extensions when stopped/restarted.
4. Yes, this is the idea.
5. None, there is an option to force the extension to reload when the resource is restarted, if necessary.

Can you split the door lock into an extension? I'd like to keep the core bare and allow for additional features through extensions.


AsyncRoute causes "No precompiled component X found"

In angular 4.0.0-beta deferred routes are no longer working. Whenever an AsyncRoute is called the following exception is thrown:
VM64:1 EXCEPTION: No precompiled component DeferredRouteComponent found
STACKTRACE:
#0      ReflectorComponentResolver.resolveComponentSync (package:angular/src/core/linker/component_resolver.dart:35:7)
#1      getComponentAnnotations (package:angular_router/src/utils.dart:41:26)
#2      RouteRegistry.configFromComponent (package:angular_router/src/route_registry.dart:127:23)
#3      normalizeRouteConfig.loader (package:angular_router/src/route_config/route_config_normalizer.dart:12:16)
<asynchronous suspension>
#4      AsyncRouteHandler.resolveComponentType (package:angular_router/src/rules/route_handlers/async_route_handler.dart:18:43)
#5      RouteRegistry._generate.<anonymous closure> (package:angular_router/src/route_registry.dart:390:42)
#6      UnresolvedInstruction.resolveComponent (package:angular_router/src/instruction.dart:237:46)
<asynchronous suspension>
#7      Router._settleInstruction (package:angular_router/src/router.dart:209:24)
#8      Router._navigate (package:angular_router/src/router.dart:227:10)
#9      Router.navigateByInstruction.<anonymous closure> (package:angular_router/src/router.dart:204:16)
#10     _rootRunUnary (dart:async/zone.dart:1128)
#11     _ZoneDelegate.runUnary (dart:async/zone.dart:685)
#12     NgZone._runUnary (package:angular/src/core/zone/ng_zone.dart:184:21)
#13     _CustomZone.runUnary (dart:async/zone.dart:1012)
#14     _FutureListener.handleValue (dart:async/future_impl.dart:129)
#15     _Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:636)
#16     _Future._propagateToListeners (dart:async/future_impl.dart:665)
#17     _Future._addListener.<anonymous closure> (dart:async/future_impl.dart:343)
#18     NgZone._scheduleMicrotask.<anonymous closure> (package:angular/src/core/zone/ng_zone.dart:161:11)
#19     _rootRun (dart:async/zone.dart:1120)
#20     _ZoneDelegate.run (dart:async/zone.dart:675)
#21     NgZone._run (package:angular/src/core/zone/ng_zone.dart:175:21)
#22     _CustomZone.run (dart:async/zone.dart:1001)
#23     _CustomZone.runGuarded (dart:async/zone.dart:901)
#24     _CustomZone.bindCallback.<anonymous closure> (dart:async/zone.dart:926)
#25     _microtaskLoop (dart:async/schedule_microtask.dart:41)
#26     _startMicrotaskLoop (dart:async/schedule_microtask.dart:50)
#27     _ScheduleImmediateHelper._handleMutation (dart:html:53852)

ORIGINAL EXCEPTION: No precompiled component DeferredRouteComponent found

Here an example implementation:
pubspec.yaml
name: angular4_router
environment:
  sdk: '>=1.24.0 <2.0.0-dev.infinity'
dependencies:
  angular: 4.0.0-beta
  angular_router: ^1.0.1
  browser: ^0.10.0
  dart_to_js_script_rewriter: ^1.0.1
dev_dependencies:
  webdriver: ^1.2.1
transformers:
- angular:
    entry_points: web/main.dart
- $dart2js:
    commandLineOptions: [--trust-type-annotations, --trust-primitives, --show-package-warnings, --dump-info]
- dart_to_js_script_rewriter

main.dart
import 'package:angular/angular.dart';

import 'package:angular4_router/app_component.dart';

main() {
  bootstrap(AppComponent);
}

app_component.dart
import 'dart:async';

import 'package:angular/angular.dart';
import 'package:angular_router/angular_router.dart';

import 'deferred_route_component.dart' deferred as def;

Future<dynamic> loader() => def.loadLibrary().then((_) => def.DeferredRouteComponent);

@RouteConfig(const [
  const Route(
    path: '/',
    name: 'Init',
    useAsDefault: true,
    component: AppInitComponent,
  ),
  const AsyncRoute(
    path: 'doit/...',
    name: 'DoIt',
    loader: loader,
  ),
])
@Component(
  selector: 'route-app',
  template: '''<a [routerLink]="['DoIt/Done']">test</a><router-outlet></router-outlet>''',
  directives: const [Router, RouterLink],
  providers: const [ROUTER_PROVIDERS],
)
class AppComponent {}

@Component(
  selector: 'route-init',
  template: 'Init...',
)
class AppInitComponent {}

deferred_route_component.dart
import 'package:angular/angular.dart';
import 'package:angular_router/angular_router.dart';

@RouteConfig(const [
  const Route(
    name: 'Done',
    path: 'done',
    useAsDefault: true,
    component: DeferredRouteSubComponent,
  )
])
@Component(
  selector: 'deferred-route',
  template: '''<router-outlet></router-outlet>''',
  directives: const [Router],
)
class DeferredRouteComponent {}

@Component(
  selector: 'deferred-sub',
  template: 'Hello World',
)
class DeferredRouteSubComponent {}

I'm not sure if this appeared in previous alpha versions as well, because we tried to migrate from 3.1.0 to 4.0.0-beta.

@eredo Unfortunately you'll need to also invoke initReflector:
Future<dynamic> loader() => def.loadLibrary().then((_) {
  def.initReflector();
  return def.DeferredRouteComponent;
});

Thanks, is this documented anywhere?

I thought it was in https://github.com/dart-lang/angular/blob/master/doc/component_loading.md, but I see that it is not. I'll make a small update to the docs.


ROX-15411: De-emphasizing the unconnected nodes

Description
This PR adds styling to the nodes to fade out unconnected nodes when a specific node is selected

Checklist

[x] Investigated and inspected CI test results
~[ ] Unit test and regression tests added~
~[ ] Evaluated and added CHANGELOG entry if required~
~[ ] Determined and documented upgrade steps~
~[ ] Documented user facing changes (create PR based on openshift/openshift-docs and merge into rhacs-docs)~

/retest-required


Add first cut of CME Currency calendars

I took the liberty of jumping in.  A few more examples may make the design of the CMEBaseExchangeCalendar easier to settle on.
One thing I am unsure of is how to handle the seemingly sporadic observation of holidays in the currency futures markets.   I based the code in the PR on the 2022 holiday calendars, but in 2021 they are different.  For instance, 2021 Good Friday closed early at 1015 CT whereas 2022 is fully closed; the New Year's weekend in 2021 (i.e., 2021-12-31 through 2022-01-03) was fully open, whereas 2023-01-02 is fully closed.  I don't have any good intuition for what is "normal" without going back through the holiday calendars published previously by the CME.  What is the general expectation for historical accuracy?
One other thing, it looks like holidays_us.py and holidays_nyse.py have a fair bit of duplication, I expect to make it easier for someone to follow the NYSE logic, given how full and complete the NYSE calendar is.  I maintained that pattern adding Juneteenth.
Very open to feedback!
Cheers

@muttermachine  Awesome! Thank you!
Can you put this in a file called exchange_calendar_cme_globex_fx.py (keeping the same Market terms as CME). I plan to revert back the exchange_calendar_cme.py just in case anyone is using it. I'll start with exchange_calendar_cme_globex_base.py and then make a new one for each market. exchange_calendar_cme_globex_agriculture.py, etc.
I'm not sure if your changes to holidays_us.py causes anything else to break but when I was coding the NYSE calendar I punted and created the file holidays_nyse.py. You might want to pull holidays from there.
Also thank you for fixing the calendar register abstract class. I had that on my list todo.
Finally, sorry I'm reading this so late. I don't know how I missed it this morning.

I forgot to mention, for the Agriculture calendar, I still have to go back through historical calendars to make sure all the rules are being interpreted correctly.
The archived calendars are at the bottom of`this page.


Release gravity-devs/liquidity v1.4.6

Description
This PR for release liquidity v1.4.6 of gravity-devs

build: bump cosmos-sdk to v0.45.1 https://github.com/tendermint/liquidity/pull/473

Before we can merge this PR, please make sure that all the following items have been
checked off. If any of the checklist items are not applicable, please leave them but
write a little note why.

[ ] Targeted PR against correct branch (see CONTRIBUTING.md)
[ ] Linked to Github issue with discussion and accepted design OR link to spec that describes this work.
[ ] Code follows the module structure standards.
[ ] Wrote unit and integration tests
[ ] Updated relevant documentation (docs/) or specification (x/<module>/spec/)
[ ] Added relevant godoc comments.
[ ] Added a relevant changelog entry to the Unreleased section in CHANGELOG.md
[ ] Re-reviewed Files changed in the Github PR explorer
[ ] Review Codecov Report in the comment section below once CI passes

The release includes only sdk bumps without breaking changes, but it's to match the sdk version of gaia v07-Theta PR https://github.com/cosmos/gaia/pull/1219


Added DE-WBTC-WETH Weighted Pool

@cyb3rKn1ght on it now.

@cyb3rKn1ght this pool does not exist on mainnet.  Please dm me on telegram or discord for help.
I'm Tritium on the balancer discord or you can find me on tg at: https://t.me/tritium_vlk


Remove --enable-multithreading flag usage in README

Issue
$ go run main.go --enable-multithreading --enable-watch
flag provided but not defined: -enable-multithreading

-enable-multithreading flag is removed.
https://github.com/DiceDB/dice/pull/1318/files#diff-fe44f09c4d5977b5f5eaea29170b6a0748819c9d02271746a20d81a5f3efca17
Multithreading is enabled by default

@rahul-mallick-15 I see reference of --enable-multithreading flag in docs also, can you please fix that also as part of this PR?

removed references of the flag from docs folder

Hi @lucifercr07
Is it possible to run the builds/tests on the pr ?

Hi @lucifercr07 Is it possible to run the builds/tests on the pr ?

Since these are only doc changes tests are not required to be run for these.


Description missing Algorithm/Details.

Challenge Sort Arrays with sort has an issue.
The description uses
var array = [1, 12, 21, 2];
array.sort(function(a, b) {
  return a - b;
});

to "sort the elements from smallest to largest number".
But nowhere is this algorithmic concept described.

In fact, the Mozilla documentation explains better that how arguments are passed to compare,  but not how the sort algorithm works.

Do you mean that

sort can be passed a compare function as a callback. The compare function should return a negative number if a should be before b, a positive number if a should be after b, or 0 if they are equal.

... isn't an accurate description of how the sort method determine sort order? Or do you want a lower-level understanding of the mechanics of the exact algorithm sort performs using these returned values?
If the former, perhaps a link to sort on MDN as a helpful link in the instructions would be a useful addition. If the latter, this can vary from browser to browser depending on which sorting algorithm (quicksort, etc) the developers choose to implement and explaining the details of each is not feasible in the challenge format or appropriate for this level of study.

We do have wiki's explaining the concept "sort" and campers are expected to search through them for such broader concepts, challenges are targeted towards learning the algorithm.
However a link to MDN won't hurt either, also we could have a separate issue to create video challenges to teach concepts, frankly speaking adding text in the challenge won't help, because it has been a observation that campers would tend to skip long text of explanations.
Anyone up for adding a MDN link and/or videos (on YouTube) ??

I am first-timers. can I give it a try??

I love the idea of adding a youtube video link! Some learners (like me) fair better with learning by being shown rather than always having to wrap their brains around the text.

@andmckvr13 we could create separate challenges teaching that. And add them to our videos section.
Anyone up for creating a curriculum request issue on the videos (hikes) repo.

@raisedadead do you mean creating an issue in the hikes repo for something like this? or creating an actual sample curriculum?

I meant the former. The hikes team will then look into it. You can also later help in creating the curriculum if interested.


On stories filtering

.stories does not work as a function (too).
That makes it tricky to filter stories based on user input.
The reason filtering is needed is because it can help focus on specific stories and because the performance and start-up time is better the fewer stories in need to be parsed.
That said:

Either enable filtering stories based on user input natively.
Or, make .stories support a function.

Is your feature request related to a problem? Please describe.
No
Describe the solution you'd like
Pass the filter (pattern) like so ladle serve [pattern]
Describe alternatives you've considered
None
Additional context
In Storybook, I can do this sort of easily like so (since stories can be a functional):
const filter = JSON.parse(process.env.npm_config_argv).original.slice(1);

module.exports = {
  stories: !filter
    ? [`../src/**/*.stories.mdx`, `../src/**/*.stories.@(js|jsx|ts|tsx)`]
    : async () => {
        const absPath = require('path').resolve(__dirname, '..', 'src');
        const pattern = `${absPath}/**/*.stories.js*`;
        const matches  = await glob(pattern);
        return matches.filter(match => match.includes(filter));
      },
   ....

What's the end goal?
You can use
ladle serve --stories=[pattern]

@tajo To enable post-filtering based on stories filtered. If you have a large number of stories, that will help a lot in terms of start-up time, plus it would reduce the clutter in the list.
I guess one can do some wrapping based on the CLI input too, as you said.

that will help a lot in terms of start-up time

Should not really impact Ladle that much since stories are code-splitted and loaded one by one.


Support URLs for images.

Hello. Added support for image URLs. Also extended docs to show usage. Thanks.

Thanks for this! I’ve been thinking about images in general and how best to handle them. If some providers don’t support image URLs that makes this all the more interesting 😅
I’m guessing we’ll want 1 Image type and add an optional image url key to it. This means the pil image key would become optional also. This is the same pattern as an ell content block — it’s polymorphic and all keys are optional.
we’d also want eg anthropic to work when an image url is supplied instead of erroring out. In the anthropic provider, would it be possible to read the url into a PIL image?
For any provider that does support image URLs I believe that’s much more efficient in terms of tokens etc. Knowing some providers don’t support them makes it trickier to standardize on though.

hey @alex-dixon thanks for the suggestions. could you please check this? if it fits your ideas, i clean it up and write the docs.

@klvnptr looks great! exactly what i had in mind. I can see after your latest it's probably easier for providers like anthropic to interop if Image has a get_pil or get_bytes or similar that either returns the pil image or reads the image from the URL and constructs it.
@MadcowD will need to weigh in and merge from here


FileNotFound error

Have this error when I try to split audio in several chunks.

Used app.config for upload folder


Parsing response body

I tried deserializing the response body as params setting sttp.response(asParams), and I expected a [Seq[(String, String)], Nothing] to be returned. However when I read the body.right the sequence is empty, while I expecte it to contain tuples of field-value Strings. Am I using this feature in the wrong way? I'm sure the response body shouldn't be empty because I can correctly read it when I request it as String.

Could you provide an example of what's returned when reading the body as a string? If you are getting an empty sequence when using asParams this would indicate that the original was empty ... or that something is wrong :)

Closing due to lack of details :)


Update "iOS DApps" tutorial with Blockstack Connect

https://docs.blockstack.org/ios/tutorial.html
Update according to the changes made to the underlying app generator.

@yknl Any updates on this work?

PR's for this were merged a few weeks ago:
https://github.com/blockstack/blockstack-ios/pull/92
Doc: https://github.com/blockstack/docs.blockstack/pull/594


Adding execution_project to target object

resolves #4267

Description
Adding the optional execution_project param from profile.yml to the target object.
Checklist

[x] I have signed the CLA
[x] I have run this code in development and it appears to resolve the stated issue
[x] This PR includes tests, or tests are not required/relevant for this PR
[ ] I have updated the CHANGELOG.md and added information about my change to the "dbt-bigquery next" section.

Linking #67.

Closing and reopening to trigger integration tests

Thanks for the contribution @pgoslatara, this is looking good! Could I just ask you to add an entry to the top of CHANGELOG.md?

@jtcohen6 Done, hope I formatted it correctly! 17acb2b


Add Mail camera

Breaking change

Images are now stored in the component's directory in images directory. ie: /config/custom_components/mail_and_packages/images/
Proposed change

Creates camera entities automatically for USPS mail images and Amazon delivery images.
Update config flow translations for wording changes to options.
Adds a service call to manually refresh the camera images as well.
Images are now stored in the component's directory in images directory.
Added more debugging messages, update USPS tracking number pattern.
Type of change

[ ] Dependency upgrade
[ ] Bugfix (non-breaking change which fixes an issue)
[x] New feature (which adds functionality)
[x] Breaking change (fix/feature causing existing functionality to break)
[x] Code quality improvements to existing code or addition of tests
[ ] Documentation update
[ ] Adds a new shipper
[ ] Update existing shipper

Additional information

This PR fixes or closes issue: fixes #401

We can ignore the labeler check.


doc: Use a Hugo shortcode for displaying the version from a param

See: https://gohugo.io/content-management/shortcodes/#param

I took the freedom to update the change in a few more place @rodrigc , I also bumped the version to v5.0.0 since it was released yesterday :)
Thanks allot for your work.


Remove unnecessary allocations when checking splat arguments

Drops 1% of allocations when loading all model classes at Stripe. Will potentially have a further impact for all method calls with splats, beyond just class loading.
Motivation

Test plan

Build: https://go/builds/bui_NoJwP5CetUPaMi

ooc, did you get a sense for how good our test coverage is for this code? if you had messed it up, would our tests have failed? can you try intentionally breaking this code and see that a test fails, and if none do, writing a test that would have caught the problem?

ooc, did you get a sense for how good our test coverage is for this code? if you had messed it up, would our tests have failed? can you try intentionally breaking this code and see that a test fails, and if none do, writing a test that would have caught the problem?

I was planning to check and backfill a test if we don’t have one.

Drops 1% of allocations when loading all model classes at Stripe

Out of curiosity, how did you measure this?

ooc, did you get a sense for how good our test coverage is for this code? if you had messed it up, would our tests have failed? can you try intentionally breaking this code and see that a test fails, and if none do, writing a test that would have caught the problem?

I was planning to check and backfill a test if we don’t have one.

We have a test for splats that covers issues.

Added benchmark for kwargs and splats.
40% improvement in allocations and 12% improvement in runtime!!
BEFORE
bundle exec rake bench:typecheck_kwargs_splat
sig {params(s: Symbol, rest: String, x: Integer, y: Integer).void} (with kwargs plus splat): 3.172 μs
Allocations for sig {params(s: Symbol, rest: String, x: Integer, y: Integer).void} (with kwargs plus splat): 20000000

AFTER
bundle exec rake bench:typecheck_kwargs_splat
sig {params(s: Symbol, rest: String, x: Integer, y: Integer).void} (with kwargs plus splat): 2.777 μs
Allocations for sig {params(s: Symbol, rest: String, x: Integer, y: Integer).void} (with kwargs plus splat): 12000000

Drops 1% of allocations when loading all model classes at Stripe

Out of curiosity, how did you measure this?

Replied in Slack.


Double value monospace

I was confused a little about this double value of monospace when noticed it at first glance. Can anyone explain why it exists here?
59 |/**
60 | * 1. Correct the inheritance and scaling of font size in all browsers.
61 | * 2. Correct the odd `em` font sizing in all browsers.
62 | */
63 |
64 | pre {
65 | font-family: monospace, monospace; /* 1 */
66 | font-size: 1em; /* 2 */
67 | }

Origin:
base.css - line 65

Ok, I found a good explanation Please explain monospace, monospace one more time :) about this hack in source normalize.css
So will close this issue as duplicate many-many times.


question

Hi,
Thanks for sharing your paper,，
Can the methods in the paper be used to name entity recognition tasks?

FlowSeq is a seq2seq model that can be applied to any seq2seq tasks.
For NER, if you want to use FlowSeq, you need to first formulate NER to
seq2seq format, which is straightforward.
On Thu, Oct 17, 2019 at 10:54 PM ypc-stu<EMAIL_ADDRESS>wrote:

Hi,
Thanks for sharing your paper,，
Can the methods in the paper be used to name entity recognition tasks?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/XuezheMax/flowseq/issues/1?email_source=notifications&email_token=AA2S3FVM4SPEWAGWWAXURRTQPEQNFA5CNFSM4JCB4CJKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HSUBI3A,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AA2S3FSHD6S7VBHXQEWYCUTQPEQNFANCNFSM4JCB4CJA
.


Improve the prior interface for make_epi_model_inference

As the title says we should be able to improve the prior interface. The simplest improvement would be to generalise the argument name for the latent process priors to reflect that it is used across all submodules. An additional improvement would be to think more deeply about the coupling of priors to model submodules.
This issue was discussed in #44

The simplest improvement would be to generalise the argument name for the latent process priors to reflect that it is used across all submodules.

Yes, atm I just use merge on the NameTuples of each set of prior distributions.

An additional improvement would be to think more deeply about the coupling of priors to model submodules.

I'm going to try and prototype this with the easy fix as back up. It shouldn't be very hard. Basic idea is to wrap the function that makes a Turing model for each process with its priors in a struct. If you think thats cleaner than having a NamedTuple of priors lets do that.
The essential question is:

Should all the priors "live" together in code as one object?
Should the priors of a particular process "live" with the process definition as one object?

I'm going to try and prototype this with the easy fix as back up. It shouldn't be very hard. Basic idea is to wrap the function that makes a Turing model for each process with its priors in a struct. If you think thats cleaner than having a NamedTuple of priors lets do that.

Yes I think this is a nice idea.

Should the priors of a particular process "live" with the process definition as one object?

This seems cleanest to me and I think likely to have fewer failure states.


[CIDR] Debugger does not work after violated bounds error message.

fud e mlir.futil --to debugger -s verilog.data mlir.data -q
== Calyx Interactive Debugger ==
 > continue
Jun 09 03:42:00.030 WARN While loop has violated its bounds. The annotation suggests that the body should execute 3 times, but it exited after 2 iterations.
     147 |        @bound(3) while std_lt_0.out with bb0_0 {
, source: main

After running into a violated bounds attribute in https://github.com/llvm/circt/issues/3311, the debugger just hangs up, i.e., you cannot type anymore commands. It's not obvious to me why this is occurring. Trying to minimize this works as expected, e.g.,
import "primitives/core.futil";
import "primitives/binary_operators.futil";
component main<"toplevel"=1>(ext_mem0_read_data: 32, ext_mem0_done: 1, ext_mem1_read_data: 32, ext_mem1_done: 1, ext_mem2_read_data: 32, ext_mem2_done: 1, @clk clk: 1, @reset reset: 1, @go go: 1) -> (ext_mem0_write_data: 32, ext_mem0_addr0: 2, ext_mem0_write_en: 1, ext_mem1_write_data: 32, ext_mem1_addr0: 2, ext_mem1_write_en: 1, ext_mem2_write_data: 32, ext_mem2_addr0: 1, ext_mem2_write_en: 1, @done done: 1) {
  cells {
    std_add_0 = std_add(32);
    std_lt_0 = std_lt(32);
    while_0_arg0_reg = std_reg(32);
  }
  wires {
    group assign_while_0_init_0 {
      while_0_arg0_reg.in = 32'd0;
      while_0_arg0_reg.write_en = 1'd1;
      assign_while_0_init_0[done] = while_0_arg0_reg.done;
    }
    comb group bb0_0 {
      std_lt_0.left = while_0_arg0_reg.out;
      std_lt_0.right = 32'd4;
    }
    group bb0_3 {
      std_add_0.left = while_0_arg0_reg.out;
      std_add_0.right = 32'd1;
      while_0_arg0_reg.in = std_add_0.out;
      while_0_arg0_reg.write_en = 1'd1;
      bb0_3[done] = while_0_arg0_reg.done;
    }
  }
  control {
    seq {
      assign_while_0_init_0;
      @bound(1) while std_lt_0.out with bb0_0 { seq { bb0_3; } }
    }
  }
}

fud e mlir.futil --to debugger -s verilog.data mlir.data -q
== Calyx Interactive Debugger ==
 > c
Jun 09 03:48:45.981 WARN While loop has violated its bounds. The annotation suggests that the body should execute 1 times, but it has entered its 2 iteration.
     82 |      @bound while std_lt_0.out with bb0_0 {
, source: main
Jun 09 03:48:45.982 WARN While loop has violated its bounds. The annotation suggests that the body should execute 1 times, but it has entered its 3 iteration.
     82 |      @bound while std_lt_0.out with bb0_0 {
, source: main
Jun 09 03:48:45.983 WARN While loop has violated its bounds. The annotation suggests that the body should execute 1 times, but it has entered its 4 iteration.
     82 |      @bound while std_lt_0.out with bb0_0 {
, source: main
Main component has finished executing. Debugger is now in inspection mode.
Jun 09 03:48:45.984 WARN While loop has violated its bounds. The annotation suggests that the body should execute 1 times, but it exited after 4 iterations.
     82 |      @bound while std_lt_0.out with bb0_0 {
, source: main
>

Fixing the bounds check in the bigger example and just trying to run it leads to a hang-up, so unsure what the root cause is.

Ah, the hang-up is probably due to an external signal that isn't being driven. I'll re-open this if that's not the case.

Right; a hopefully useful alternative to solving the halting problem is to just detect when we've been waiting for "a while" and show where. Manually interrupting execution is one valid implementation of "a while."


Continously Monitor State of Aiven Resources

I think it would be beneficial to have some mechanism that continously monitors the state of the created aiven resources. For example: Kafka Connector Tasks may fail at some point, even after they were successfully created.
I propose the following:

split controllers into reconciliation creation/deletion/updating and state monitoring (GET+update k8s status) loops
reconciliation handles manipulating the instance at aiven and is done once the instance is running, afterwards we enter the monitoring loop and always requeue with some timeout ( like a minute, depending on the resource maybe more ) there
state monitors only listen to creation and deletion and stop monitoring once the object is being deleted

+1
Is there any chance this will will be implemented? This is an usual behavior of other operators.

Hew @kaso-mms;
I agree! Let me cc @Serpentiel @byashimov

Hey.
Continuous loop will require to implement diff comparison mechanism, like we have in terraform. This approach is provided by crossplane. I would invest in crossplane provider.

I agree. If an crossplane provider would be available I would prefer this way.

Following to a Support request, added this to Aiven ideas so that other customers may also express their interest: https://ideas.aiven.io/forums/951112-platform-experience/suggestions/47150371-kubernetes-operator-to-continuously-monitor-the-st

As discussed internally, we don’t want to expose too much the future of our Kubernetes operator. The simple reason is that it is not sustainable to use it for managing resources deployed outside the cluster. Rather we should recommend customers looking into it to consider a potential future support of crossplane: https://ideas.aiven.io/forums/951112-platform-experience/suggestions/46266543-manage-aiven-resources-with-crossplane


Delegation subgraphs as JSON and add op and goerli delegation support

Merging this @bonustrack we could remove SNAPSHOT_SUBGRAPH_URL but may have to look for ways to export JSON to the dist folder but we may break other's code, so for now leaving it like this


Feature: Adding a New Button with hover effect

What is the motivation for adding/enhancing this feature?
I want to add a New Button component inside the Buttons folder in which when the user hovers, it automatically transforms a bit and changes its color.
Need to add the component here  /seamless-ui/tree/main/Buttons/src in the Others section precisely.
What are the acceptance criteria?
Can you complete this feature request by yourself?

Yes

Additional information

https://user-images.githubusercontent.com/92919173/216624646-beae481c-64d1-4529-99dd-74a5ee03519a.mp4

@SurajPratap10 I appreciate you for suggesting this new component but we are following a proper design system, you can check out the design system of each component in their respective folder also you can check the figma design in the main readme of SeamLess UI

@SurajPratap10 I appreciate you for suggesting this new component but we are following a proper design system, you can check out the design system of each component in their respective folder also you can check the figma design in the main readme of SeamLess UI

Okay, I'm new to this project as I have been contributing to other projects so I was not aware. So, when I saw the buttons folder there are 8 templates given for say primary button and they are all already built so what to do extra on those already built buttons then if not adding?


Document to use runtime: false for rustler dependency

As noted by @hauleth in #516, the rustler dependency is only required at compile time. This PR makes that possible by expanding Rustler.construct_load_data/2 into the target module. The PR changes the documentation (and a test of the toolchain) to instruct that runtime: false can be used with rustler as a dependency.
Fix #516

I added a changelog entry and checked via rg that we refer to runtime: false everywhere:
~/tools/rustler (516-set-runtime_false ✔) rg ':rustler,'
rustler_tests/mix.exs
20:    [{:rustler, path: "../rustler_mix", runtime: false}]

prepare_release.sh
44:sed -i "s/{:rustler, \".*\"}/{:rustler, \"~> $VERSION\"}/" rustler_mix/README.md

rustler_mix/README.md
18:    {:rustler, "~> 0.29.1", runtime: false}

rustler_benchmarks/mix.exs
25:      {:rustler, path: "../rustler_mix", runtime: false}

rustler_mix/test.sh
50:  defp deps, do: [ {:rustler, path: "$rustler_mix", runtime: false} ]

rustler_mix/mix.exs
9:      app: :rustler,

The prepare release script is not correct anymore, you'll need to drop the closing } for the regex to still match.


Adjusted the default-address settings to match the current artemis defaults.

Type of change

Refactoring / Potential Bugfix

Description
Adjusted the default-address settings to match the defaults from artemis.
The removed a few defaults that were not required for the api call with the least number of args.
Checklist

[ ] Update/write design documentation in ./documentation/design
[ ] Write tests and make sure they pass
[ ] Update documentation
[ ] Check RBAC rights for Kubernetes / OpenShift roles
[ ] Try your changes from Pod inside your Kubernetes and OpenShift cluster, not just locally
[ ] Reference relevant issue(s) and close them after merging
[ ] Update CHANGELOG.md

@enmasse-ci run tests profile=isolated

@enmasse-ci run tests profile=shared

@enmasse-ci run tests profile=shared testcase=shared.standard.TopicTest test_only

:x: Test Summary :x:
TEST_PROFILE: shared
TEST_CASE: shared.standard.TopicTest
TOTAL: 13
PASS: 11
FAIL: 2
SKIP: 0
BUILD_NUMBER: 1037
BUILD_ENV: oc cluster up
:heavy_exclamation_mark: Test Failures :heavy_exclamation_mark:

testTopicWildcardsSharded in io.enmasse.systemtest.shared.standard.TopicTest
testTopicWildcardsPooled in io.enmasse.systemtest.shared.standard.TopicTest

:x: Test Summary :x:
TEST_PROFILE: shared
TEST_CASE:
TOTAL: 233
PASS: 218
FAIL: 2
SKIP: 13
BUILD_NUMBER: 1036
BUILD_ENV: oc cluster up
:heavy_exclamation_mark: Test Failures :heavy_exclamation_mark:

testScaleup in io.enmasse.systemtest.shared.standard.QueueTest
testClientsMetrics in io.enmasse.systemtest.shared.standard.web.FirefoxConsoleTest

@enmasse-ci run tests profile=shared testcase=shared.standard.QueueTest

:x: Test Summary :x:
TEST_PROFILE: shared
TEST_CASE: shared.standard.QueueTest
TOTAL: 32
PASS: 31
FAIL: 1
SKIP: 0
BUILD_NUMBER: 1038
BUILD_ENV: oc cluster up
:heavy_exclamation_mark: Test Failures :heavy_exclamation_mark:

testScaleup in io.enmasse.systemtest.shared.standard.QueueTest

Fixes the following 2 tests:
io.enmasse.systemtest.shared.standard.TopicTest.testTopicWildcardsSharded
io.enmasse.systemtest.shared.standard.TopicTest.testTopicWildcardsPooled

Note: they were reported as failed in the first run because I said testOnly.  But passed when ran the entire shared profile

The queue test was failing before, and I am pushing another PR for it.

:x: Test Summary :x:
TEST_PROFILE: isolated
TEST_CASE:
TOTAL: 172
PASS: 165
FAIL: 1
SKIP: 6
BUILD_NUMBER: 1035
BUILD_ENV: oc cluster up
:heavy_exclamation_mark: Test Failures :heavy_exclamation_mark:

testConsoleErrorOnDeleteAddressSpace in io.enmasse.systemtest.isolated.catalog.ServiceCatalogWebTest


required validator always run on fields inside optional object field?

var mongoose = require('mongoose'),
      Schema = mongoose.Schema;

var ASchema = new Schema({
    detail: {
        name: {type: String, required: 'Required field "{PATH}" is missing'},
        optionalChild: {
            requiredField: {type: String, required: 'Required field "{PATH}" is missing'}
        }
    }
});

var AModel = mongoose.model('A', ASchema);
var a = new AModel();

// this is a valid object
var sampleDetail = {
    name: 'sample 1'
};

a.detail = sampleDetail;
a.save(function(err, obj) {
    if (err) {
        // error 'Required field "detail.optionalChild.requiredField" is missing'
    }
});

What I wanted to have is that when the optionalChild is not specified, just skip the required validation on requiredField. And when the optionalChild is there, ensure that the requiredField is present.
Is there a way to do this properly?
Thanks!

You could use a custom validator.
See https://github.com/LearnBoost/mongoose/issues/2590#issuecomment-69620720 as an example.

Yeah @Swissbite is right, this is a job for a custom validator. required won't support that anytime in the near future.

Thanks for the answer, Swissbite, vkarpov15.


"too many open files" error in a large cluster

When I run a density test in a large cluster I've noticed the following error in scheduler and kubelet:
E0402 13:42:04.335868    4061 errors.go:66] apiserver received an error that is not an api.Status: Put http://<IP_ADDRESS>:4001/v2/keys/registry/pods/default/my-hostname-density30-07ce55c0-d93e-11e4-8f0b-bc30
5be02f04mlp5u?prevExist=false: dial tcp <IP_ADDRESS>:4001: too many open files
This could be either because either etcd or apiserver has too low ulimit -n

cc @wojtek-t

Since etcd is running now in a pod it has a limit for fd set to 1000000 (10e6) so I'll see if increasing this for apiserver helps.

etcd is running in a pod since yesterday afternoon.
(It was introduced first on friday evening, rolledback on sunday, and reintroduced yesterday afternoon.)
Just FYI, to help co-relate timelines..

I increased the limit for apiserver to 10e6 and started counting opened fd using a simple bash loop:
while true; do echo `date` : `ls /proc/4048/fd | wc -l`; sleep 0.2; done
where 4048 is a PID of apiserver. I haven't noticed any more "too many" errors in few consecutive runs of density test on 50 node cluster with 30 pods per node. At the same time I've noticed that number of opened fd reached ~2000.
I'm gonna send a PR to increase the limit to something more reasonable.


ImportError: FaceDetectionPipeline: DamoFdDetect: cannot import name 'Config' from 'mmcv' (unknown location)

开始训练后报这个错，我装了mvcc-full 1.7.0的版本

install both mmcv and mmcv--full ,should fix it

It's still not working for me. I installed mmcv =2.1 and mMCV-full =1.7.2 for my torch


-k option kills process but triggers error message

I'm using concurrently to run react-native start whilst I build my release app and install it on my phone. Using the -k option causes the react-native start to exit when the build finishes, as desired, but it exits with an error code which isn't very visually nice. Is there a way to cause the react-native start process to exit as cleanly as if you had hit ctrl-c?
Many thanks, and great module!

Not possible yet. -k is hardcoded to send SIGTERM, but I suppose it could be customised to send SIGINT instead, so

-k SIGINT -> sends SIGINT
-k -> sends SIGTERM

In other words: this software should not be used as all automation scripts will miserably fail currently, nice!

Hey @Yuri6037, if you don't like this behaviour you're welcome to propose a pull request to change it 😊

Well I used modded a simpler tool: https://github.com/Yuri6037/parallelshell/blob/master/index.js


neato sensor & switch components startup issue

Make sure you are running the latest version of Home Assistant before reporting an issue.
You should only file an issue if you found a bug. Feature and enhancement requests should go in the Feature Requests section of our community forum:
Home Assistant release (hass --version):
0.43.0 (also encountered in 0.42.x
Python release (python3 --version):
3.4.2
Component/platform:
neato sensor
neato switch
Description of problem:
Errors starting up sensor and switch components.  I am able to display the cleaning map.
Expected:
Proper startup
Problem-relevant configuration.yaml entries and steps to reproduce:
neato:
  username: **
  password: **

Start up hass

Traceback (if applicable):
Apr 24 18:06:41 rpi2.lan docker[16090]: ERROR:homeassistant.components.sensor:Error while setting up platform neato
Apr 24 18:06:41 rpi2.lan docker[16090]: Traceback (most recent call last):
Apr 24 18:06:41 rpi2.lan docker[16090]:   File "/usr/local/lib/python3.4/dist-packages/homeassistant/helpers/entity_component.py", line 155, in _async_setup_platform
Apr 24 18:06:41 rpi2.lan docker[16090]:     entity_platform.schedule_add_entities, discovery_info
Apr 24 18:06:41 rpi2.lan docker[16090]:   File "/usr/lib/python3.4/asyncio/futures.py", line 388, in __iter__
Apr 24 18:06:41 rpi2.lan docker[16090]:     yield self  # This tells Task to wait for completion.
Apr 24 18:06:41 rpi2.lan docker[16090]:   File "/usr/lib/python3.4/asyncio/tasks.py", line 286, in _wakeup
Apr 24 18:06:41 rpi2.lan docker[16090]:     value = future.result()
Apr 24 18:06:41 rpi2.lan docker[16090]:   File "/usr/lib/python3.4/asyncio/futures.py", line 277, in result
Apr 24 18:06:41 rpi2.lan docker[16090]:     raise self._exception
Apr 24 18:06:41 rpi2.lan docker[16090]:   File "/usr/lib/python3.4/concurrent/futures/thread.py", line 54, in run
Apr 24 18:06:41 rpi2.lan docker[16090]:     result = self.fn(*self.args, **self.kwargs)
Apr 24 18:06:41 rpi2.lan docker[16090]:   File "/usr/local/lib/python3.4/dist-packages/homeassistant/components/sensor/neato.py", line 39, in setup_platform
Apr 24 18:06:41 rpi2.lan docker[16090]:     dev.append(NeatoConnectedSensor(hass, robot, type_name))
Apr 24 18:06:41 rpi2.lan docker[16090]:   File "/usr/local/lib/python3.4/dist-packages/homeassistant/components/sensor/neato.py", line 55, in __init__
Apr 24 18:06:41 rpi2.lan docker[16090]:     self._state = self.robot.state
Apr 24 18:06:41 rpi2.lan docker[16090]:   File "/config/deps/pybotvac/robot.py", line 96, in state
Apr 24 18:06:41 rpi2.lan docker[16090]:     return self.get_robot_state().json()
Apr 24 18:06:41 rpi2.lan docker[16090]:   File "/config/deps/pybotvac/robot.py", line 72, in get_robot_state
Apr 24 18:06:41 rpi2.lan docker[16090]:     return self._message({'reqId': "1", 'cmd': "getRobotState"})
Apr 24 18:06:41 rpi2.lan docker[16090]:   File "/config/deps/pybotvac/robot.py", line 45, in _message
Apr 24 18:06:41 rpi2.lan docker[16090]:     headers=self._headers)
Apr 24 18:06:41 rpi2.lan docker[16090]:   File "/usr/lib/python3/dist-packages/requests/api.py", line 94, in post
Apr 24 18:06:41 rpi2.lan docker[16090]:     return request('post', url, data=data, json=json, **kwargs)
Apr 24 18:06:41 rpi2.lan docker[16090]:   File "/usr/lib/python3/dist-packages/requests/api.py", line 49, in request
Apr 24 18:06:41 rpi2.lan docker[16090]:     return session.request(method=method, url=url, **kwargs)
Apr 24 18:06:41 rpi2.lan docker[16090]:   File "/usr/lib/python3/dist-packages/requests/sessions.py", line 443, in request
Apr 24 18:06:41 rpi2.lan docker[16090]:     prep = self.prepare_request(req)
Apr 24 18:06:41 rpi2.lan docker[16090]:   File "/usr/lib/python3/dist-packages/requests/sessions.py", line 374, in prepare_request
Apr 24 18:06:41 rpi2.lan docker[16090]:     hooks=merge_hooks(request.hooks, self.hooks),
Apr 24 18:06:41 rpi2.lan docker[16090]:   File "/usr/lib/python3/dist-packages/requests/models.py", line 308, in prepare
Apr 24 18:06:41 rpi2.lan docker[16090]:     self.prepare_auth(auth, url)
Apr 24 18:06:41 rpi2.lan docker[16090]:   File "/usr/lib/python3/dist-packages/requests/models.py", line 492, in prepare_auth
Apr 24 18:06:41 rpi2.lan docker[16090]:     r = auth(self)
Apr 24 18:06:41 rpi2.lan docker[16090]:   File "/config/deps/pybotvac/robot.py", line 110, in __call__
Apr 24 18:06:41 rpi2.lan docker[16090]:     msg='\n'.join([self.serial.lower(), date, request.body.decode('utf8')]).encode('utf8'),
Apr 24 18:06:41 rpi2.lan docker[16090]: AttributeError: 'str' object has no attribute 'decode'
...
Apr 24 18:06:38 rpi2.lan docker[16090]: ERROR:homeassistant.components.switch:Error while setting up platform neato
Apr 24 18:06:38 rpi2.lan docker[16090]: Traceback (most recent call last):
Apr 24 18:06:38 rpi2.lan docker[16090]:   File "/usr/local/lib/python3.4/dist-packages/homeassistant/helpers/entity_component.py", line 155, in _async_setup_platform
Apr 24 18:06:38 rpi2.lan docker[16090]:     entity_platform.schedule_add_entities, discovery_info
Apr 24 18:06:38 rpi2.lan docker[16090]:   File "/usr/lib/python3.4/asyncio/futures.py", line 388, in __iter__
Apr 24 18:06:38 rpi2.lan docker[16090]:     yield self  # This tells Task to wait for completion.
Apr 24 18:06:38 rpi2.lan docker[16090]:   File "/usr/lib/python3.4/asyncio/tasks.py", line 286, in _wakeup
Apr 24 18:06:38 rpi2.lan docker[16090]:     value = future.result()
Apr 24 18:06:38 rpi2.lan docker[16090]:   File "/usr/lib/python3.4/asyncio/futures.py", line 277, in result
Apr 24 18:06:38 rpi2.lan docker[16090]:     raise self._exception
Apr 24 18:06:38 rpi2.lan docker[16090]:   File "/usr/lib/python3.4/concurrent/futures/thread.py", line 54, in run
Apr 24 18:06:38 rpi2.lan docker[16090]:     result = self.fn(*self.args, **self.kwargs)
Apr 24 18:06:38 rpi2.lan docker[16090]:   File "/usr/local/lib/python3.4/dist-packages/homeassistant/components/switch/neato.py", line 31, in setup_platform
Apr 24 18:06:38 rpi2.lan docker[16090]:     dev.append(NeatoConnectedSwitch(hass, robot, type_name))
Apr 24 18:06:38 rpi2.lan docker[16090]:   File "/usr/local/lib/python3.4/dist-packages/homeassistant/components/switch/neato.py", line 46, in __init__
Apr 24 18:06:38 rpi2.lan docker[16090]:     self._state = self.robot.state
Apr 24 18:06:38 rpi2.lan docker[16090]:   File "/config/deps/pybotvac/robot.py", line 96, in state
Apr 24 18:06:38 rpi2.lan docker[16090]:     return self.get_robot_state().json()
Apr 24 18:06:38 rpi2.lan docker[16090]:   File "/config/deps/pybotvac/robot.py", line 72, in get_robot_state
Apr 24 18:06:38 rpi2.lan docker[16090]:     return self._message({'reqId': "1", 'cmd': "getRobotState"})
Apr 24 18:06:38 rpi2.lan docker[16090]:   File "/config/deps/pybotvac/robot.py", line 45, in _message
Apr 24 18:06:38 rpi2.lan docker[16090]:     headers=self._headers)
Apr 24 18:06:38 rpi2.lan docker[16090]:   File "/usr/lib/python3/dist-packages/requests/api.py", line 94, in post
Apr 24 18:06:38 rpi2.lan docker[16090]:     return request('post', url, data=data, json=json, **kwargs)
Apr 24 18:06:38 rpi2.lan docker[16090]:   File "/usr/lib/python3/dist-packages/requests/api.py", line 49, in request
Apr 24 18:06:38 rpi2.lan docker[16090]:     return session.request(method=method, url=url, **kwargs)
Apr 24 18:06:38 rpi2.lan docker[16090]:   File "/usr/lib/python3/dist-packages/requests/sessions.py", line 443, in request
Apr 24 18:06:38 rpi2.lan docker[16090]:     prep = self.prepare_request(req)
Apr 24 18:06:38 rpi2.lan docker[16090]:   File "/usr/lib/python3/dist-packages/requests/sessions.py", line 374, in prepare_request
Apr 24 18:06:38 rpi2.lan docker[16090]:     hooks=merge_hooks(request.hooks, self.hooks),
Apr 24 18:06:38 rpi2.lan docker[16090]:   File "/usr/lib/python3/dist-packages/requests/models.py", line 308, in prepare
Apr 24 18:06:38 rpi2.lan docker[16090]:     self.prepare_auth(auth, url)
Apr 24 18:06:38 rpi2.lan docker[16090]:   File "/usr/lib/python3/dist-packages/requests/models.py", line 492, in prepare_auth
Apr 24 18:06:38 rpi2.lan docker[16090]:     r = auth(self)
Apr 24 18:06:38 rpi2.lan docker[16090]:   File "/config/deps/pybotvac/robot.py", line 110, in __call__
Apr 24 18:06:38 rpi2.lan docker[16090]:     msg='\n'.join([self.serial.lower(), date, request.body.decode('utf8')]).encode('utf8'),
Apr 24 18:06:38 rpi2.lan docker[16090]: AttributeError: 'str' object has no attribute 'decode'

Additional info:
hass is running in docker image
https://hub.docker.com/r/lroguet/rpi-home-assistant/

I have the same problem. Error trace is a bit different though:
IndexError: list index out of range
17-05-02 21:23:47 ERROR (MainThread) [homeassistant.helpers.entity] Update for sensor.neato_battery fails
Traceback (most recent call last):
File "/srv/homeassistant/homeassistant_venv/lib/python3.4/site-packages/homeassistant/helpers/entity.py", line 225, in async_update_ha_state
None, self.update)
File "/usr/lib/python3.4/asyncio/futures.py", line 388, in iter
yield self  # This tells Task to wait for completion.
File "/usr/lib/python3.4/asyncio/tasks.py", line 286, in _wakeup
value = future.result()
File "/usr/lib/python3.4/asyncio/futures.py", line 277, in result
raise self._exception
File "/usr/lib/python3.4/concurrent/futures/thread.py", line 54, in run
result = self.fn(*self.args, **self.kwargs)
File "/srv/homeassistant/homeassistant_venv/lib/python3.4/site-packages/homeassistant/components/sensor/neato.py", line 113, in update
.replace('T', ' '))
IndexError: list index out of range
17-05-02 21:23:50 ERROR (MainThread) [homeassistant.helpers.entity] Update for sensor.neato_status fails
Traceback (most recent call last):
File "/srv/homeassistant/homeassistant_venv/lib/python3.4/site-packages/homeassistant/helpers/entity.py", line 225, in async_update_ha_state
None, self.update)
File "/usr/lib/python3.4/asyncio/futures.py", line 388, in iter
yield self  # This tells Task to wait for completion.
File "/usr/lib/python3.4/asyncio/tasks.py", line 286, in _wakeup
value = future.result()
File "/usr/lib/python3.4/asyncio/futures.py", line 277, in result
raise self._exception
File "/usr/lib/python3.4/concurrent/futures/thread.py", line 54, in run
result = self.fn(*self.args, **self.kwargs)
File "/srv/homeassistant/homeassistant_venv/lib/python3.4/site-packages/homeassistant/components/sensor/neato.py", line 113, in update
.replace('T', ' '))


MQTT - multiple BMSes

Discussed in https://github.com/Louisvdw/dbus-serialbattery/discussions/145

Originally posted by nedhead8233 July  3, 2022
Hello,
I've recently added a rPi4 running Venus OS to my solar setup.  I have two batteries that have the overkill solar BMSes.  I found this driver and am thrilled.  Both batteries show up in the vrm portal and show the correct details in the remote console.  Part of the reason that I'm adding this advanced monitoring to my system is that I had an issue with one of my BMSes; the cell over voltage protection was not working properly.  On occasion, I would see a cell at 3.8 or 3.9v when the cut-off was set at 3.65.  I'd like to automate writing both batteries individual cell voltages to a database.  With MQTT enabled, using MQTT Explorer, I can only see one battery.  I believe what is happening is that both batteries are publishing data on the same topic.  They are both showing up in VRM as  "SerialBattery (LLT/JBD) v0.12".  In the MQTT Explorer, I don't see any unique identifier for the one battery that does show up.  If I watch the data in the Voltages topic update, it seems to flip back and forth between two values.  I'm wondering if there is a way to set a unique name for each battery, so that it will publish on it's own topic.   Or perhaps, I'm off and the issue is something else.      Below is a link to a screenshot of my topic tree.  https://drive.google.com/file/d/1sVjjoDN4AfiumXxl7VElnN6cQqwKC1Yr/view?usp=sharing

The link below is to a gif that shows the MQTT updates.  You can see that the value of "ConsumedAmphours" flips back and forth between ~79 and ~67.  This suggests that both batteries are publishing to this same topic.  Ideally the tree would have both a "1" and a "2" under the "battery" section.
https://drive.google.com/file/d/1CI_fjDylIdrc7XC3kmeozAKt560PJZeV/view?usp=sharing[https://drive.google.com/file/d/1CI_fjDylIdrc7XC3kmeozAKt560PJZeV/view?usp=sharing](url)


some fuzzer-identified parse failures around use of async as the name of a function

async is, alas, a legal identifier in JS, which means all of the following are valid programs:
async(...null)

null?async():null

switch(null){case async():}

But they're all rejected by the parser (or at least the version of it on Cargo).
I found these with a fuzzer; if you'd like me not to file bugs found by a fuzzer, let me know.

Thank you for fuzzing oxc! I did a basic triage and found the parser cannot distinguish whether these are async functions or not. I'll try and get a fix soon.

@bakkot I published the latest fixes
oxc_ast = "0.0.4"
oxc_parser = "0.0.4"

I couldn't try fuzz-js due to unpublished version of<EMAIL_ADDRESS>

That does seem to have fixed the async issues! Now the fuzzer gets further and has encountered another class of failures:
for(var[l=null in null]in null);

for(new null(null in null);;);

for(`${null in null}`;;);

for(new null(null in null)._ in null);

I couldn't try fuzz-js due to unpublished version of<EMAIL_ADDRESS>
Lol, whoops, I'll get that published later today.

@bakkot I published the latest fixes
oxc_ast = "0.0.5"
oxc_parser = "0.0.5"

Still waiting for<EMAIL_ADDRESS>😁

Sorry for the delay; there's some stuff blocking. I'll ping you when I get it actually released.

Well, that took an embarrassingly long time, but shift-shrink 2.0.0 is now published.

@bakkot Thank you, it's running locally.

I got it working https://github.com/Boshen/oxc-fuzz-parser


Adding split health region reports

Hi! I'm trying to add more fine-grained Canadian data to https://github.com/microcovid/microcovid and thought your API would be perfect!
For our intake, we need about 2 weeks worth of reports from each health region, a couple times a week. However, since I can't find a way to get all the health region reports together, I'm left making ~100 separate API calls for every single individual health region.
Would it be possible to allow split reports? I'd love to be able to use the following:
curl 'https://api.covid19tracker.ca/reports/regions/split'

Having a report with all dates ends up being a rather large request but if it's recent two-weeks I might be able to get you something suitable for this to minimize your calls. Let me get back to you on this.

(if it matters, it's actually 15 days of data.)
Thank you!

Hi there. I'm on the same project team as @jy2wong and just wanted to hop in and second this request. We can't seem to consistently get around your API throttling issues because of how the API is structured.
You can see the issue this causes in our log output here: https://github.com/microcovid/microcovid/runs/3392331359?check_suite_focus=true#step:7:35
We get to 62 calls and then get an error which we can't overcome.
I can get it to work locally by running the script once, caching all the results, waiting a while, then running it again and skipping over the first 62 because they are already in the cache. But I can't get GitHub actions to do the same thing because it is creating a fresh environment each time it runs the action.
If you could help us out on this, it would be greatly appreciated!

Haven't done any documentation on it but give this endpoint a try, https://devapi.covid19tracker.ca/reports/health-regions/recent


Editor display and breadcrumb is misleading when a slow FileSystemProvider is used

Issue Type: Bug
To demonstrate, modify the fsprovider-sample so that the readFile method of the memfs scheme delays 5 seconds before returning.
A branch containing a suitable amendment is at https://github.com/gjsjohnmurray/vscode-extension-samples/tree/slow-memfs-read
Launch the amended extension in the Extension Host, and use Command Palette to run "MemFS: Setup Workspace" followed by "MemFS: Create Files"
In Explorer view, expand the workspace. Double-click on "file.css" and confirm its contents load after 5 seconds.
Now doubleclick on "file.html".
Observe that a new tab gets correctly created and selected, and the breadcrumb shows the correct filename.
:bug: the contents of "file.css" continue to display in the file area until after 5 seconds the FSP returns the new contents.
:bug: the section of the breadcrumb after the filename continues to display what it was previously showing for the first tab.

VS Code version: Code - Insiders 1.63.0-insider (3bd29c1d6c6ef5b6265614def99b7257b671ae19, 2021-11-12T12:04:20.740Z)
OS version: Windows_NT x64 10.0.19043
Restricted Mode: No

Breadcrumbs update as the tab updates, the contents being wrong is a known issue

@jrieken I'm not seeing the breadcrumbs update completely. My gif show how everything up to and including the filename changes correctly as soon as the tab switches, but the part beyond file.html doesn't get cleared. Maybe that'll get fixed automatically once the contents problem gets resolved. I think the contents should initially become empty, or possibly after a debounce interval of, say, 200ms so as to avoid unnecessary flicker when the FSP is fast.

Ah, now I see what you mean... Yeah, today the symbol portion doesn't clear when getting a new file but it updates once new symbols are computed. Strictly speaking that's unrelated to file switching and can also happen when removing all content from a file or when pasting a new code over some code.

Found #34697 as the original about contents being wrong during slow load. @bpasero proposed a timeout-driven clear in https://github.com/microsoft/vscode/issues/34697#issuecomment-330859598

/duplicate https://github.com/microsoft/vscode/issues/34697

Strictly speaking that's unrelated to file switching and can also happen when...

@jrieken does it make sense to keep this one open to cover the breadcrumb problem?


Lock agent access in addDriverWatches

Related to https://github.com/docker/docker/issues/25848
Signed-off-by: Alessandro Boch<EMAIL_ADDRESS>

LGTM


undefined behavior

Isn't this undefined behavior ?
https://github.com/mmghannam/russcip/blob/cdda8e7142d7bf62769eafc5cd58fd27eb305045/src/model.rs#L21

zero-initializing a variable of reference type causes instantaneous undefined behavior
https://doc.rust-lang.org/std/mem/union.MaybeUninit.html

In general, the usage of mem::zeroed everywhere should probably be replaced with MaybeUninint.
Maybe you could add a CI check to test this library with miri ?

Thanks! I fixed this in #12. About miri, it currently doesn't support FFI, so I don't think it would be particularly helpful in this repo.

Oh, I see. Then maybe just run the tests with an address sanitizer ? https://doc.rust-lang.org/beta/unstable-book/compiler-flags/sanitizer.html
(And add test cases with more diverse resource usage patterns, solving multiple problems, dropping problems but not solutions or variables...)
And you can add a fuzzing target; that's what I did for the HiGHS bindings: https://github.com/rust-or/highs/blob/main/fuzz/fuzz_targets/fuzz_target_1.rs

@lovasoa Now with the use of ScipPtr, the type state design and the memory leak test is in the CI, do you think we can safely close this now?

Yes, the code looks much better now, @mmghannam !
I don't have the time to make a real audit, but at least the code structure is clean, I don't see any obvious safety problems.
I think we can close this, and we'll reopen specific issues if we find problems later.
I think we can resume the work on integrating with good-lp :smiley:

Great, thanks a lot for your help so far!


Typo: "New Jersy" > "New Jersey"

Hope this helps!

Also noticed "Massachusettes" > "Massachusetts"

Thanks. Fixed https://github.com/tenpages/us-level/commit/b3cfe987e3c7972b3c38d8e3294fc414f7a44d0d


Can't get "accessories" to appear, even if found on the network

Hi!
I just installed your homebridge plugin and added few lines to my config file.
When restarting home bridge, I get:
[2020-4-2 12:45:09] [Faenza] DaikinAirbase Init
[2020-4-2 12:45:09] [Faenza] Starting auto-discovery of Daikin devices for 5 seconds
[2020-4-2 12:45:14] [Faenza] Auto-discovery finished with 10 device(s) found
[2020-4-2 12:45:14] [Faenza] 404

But nothing appears in my "accessories" page of homebridge, nor in Home app on my iPhone.
Can you help me with this? I'm unsure about my Daikin network adapters model, as they were installed few years ago, but they seem to be compatible with other Daikin plugins (that I like less than yours for what yours has to offer).
Thank you!

Hi @GianniRondinini 👋
This homebridge plugin only works with the Daikin Airbase (model BRP15B61) wifi module, not the older Daikin SkyFi modules.
What app are you using on your phone to control your Daikin wifi module?

Didn't get an answer from you so I assume your problem is now solved.

Thanks for your reply.
I couldn't read it any sooner (all of us in Italy are quarantined due to Covid and kids require quite a lot of time and attention...).
I suppose mine are the older model.
I couldn't get an answer by the Daikin servicemen who installed them some years ago.
At present I'm using "Daikin Controller" to control my air conditioners.
As I have conditioners of 2 different generations (but all of them feature the same wi-fi interfaces, which have been added only some time after the installation of the conditioners), some of the features of the wifi interfaces are available only on more recent conditioners, while newer ones support all of the features.
Thank you once again for your time and attention.
Gianni.
---- Attivato gio, 02 apr 2020 13:17:38 +0200 Matthieu Di Berardino<EMAIL_ADDRESS>ha scritto ----
Hi https://github.com/GianniRondinini 👋
This homebridge plugin only works with the Daikin Airbase (model BRP15B61) wifi module, not the older Daikin SkyFi modules.
What app are you using on your phone to control your Daikin wifi module?
—
You are receiving this because you were mentioned.
Reply to this email directly, https://github.com/yenoiwesa/homebridge-daikin-airbase/issues/11#issuecomment-607783395, or https://github.com/notifications/unsubscribe-auth/APBAYED4LBJFX6E436VIK5DRKRX5FANCNFSM4L2I5ZUQ.
--
Gianni Rondinini
http://flickr.com/giannirondinini
http://myspace.com/giannirondinini
skype: bugbarbeq

@GianniRondinini thanks for your answer. Unfortunately your version would not be supported by this plugin if you use the "Daikin Mobile Controller" app on the AppStore to control your aircon. Your installation is not using a Daikin Airbase module, and the APIs are different between the different wifi modules.

Ok, I got it.
Thank you for your reply and support!
I'll may give your module a try when I replace the conditioners next time
Bye!
Gianni.
---- Attivato ven, 03 apr 2020 22:55:15 +0200 Matthieu Di Berardino<EMAIL_ADDRESS>ha scritto ----
https://github.com/GianniRondinini thanks for your answer. Unfortunately your version would not be supported by this plugin if you use the "Daikin Mobile Controller" app on the AppStore to control your aircon. Your installation is not using a Daikin Airbase module, and the APIs are different between the different wifi modules.
—
You are receiving this because you were mentioned.
Reply to this email directly, https://github.com/yenoiwesa/homebridge-daikin-airbase/issues/11#issuecomment-608653575, or https://github.com/notifications/unsubscribe-auth/APBAYEA7QROKPHZFDIENAD3RKZELHANCNFSM4L2I5ZUQ.
--
Gianni Rondinini
http://flickr.com/giannirondinini
http://myspace.com/giannirondinini
skype: bugbarbeq

I forgot to mention.
In case you're willing to add support for older models and/or adapters, I can give you some more feedback:
http://<IP_ADDRESS>/aircon/get_model_info
returns the following in my browser:
ret=OK,model=NOTSUPPORT,type=N,pv=0,cpv=0,mid=NA,s_fdir=0,en_scdltmr=1
Bye and thanks again: you don't need to get back to me anymore, but I thought this could be helpful.
Have a nice Sunday and I with you a healthy future!
Gianni.
---- Attivato ven, 03 apr 2020 22:55:15 +0200 Matthieu Di Berardino<EMAIL_ADDRESS>ha scritto ----
https://github.com/GianniRondinini thanks for your answer. Unfortunately your version would not be supported by this plugin if you use the "Daikin Mobile Controller" app on the AppStore to control your aircon. Your installation is not using a Daikin Airbase module, and the APIs are different between the different wifi modules.
—
You are receiving this because you were mentioned.
Reply to this email directly, https://github.com/yenoiwesa/homebridge-daikin-airbase/issues/11#issuecomment-608653575, or https://github.com/notifications/unsubscribe-auth/APBAYEA7QROKPHZFDIENAD3RKZELHANCNFSM4L2I5ZUQ.
--
Gianni Rondinini
http://flickr.com/giannirondinini
http://myspace.com/giannirondinini
skype: bugbarbeq


Can't use terragrunt with SSO

Describe the bug
SSO doesn't work with different errors:
with sso_region and sso_start_url in account-prod profile
Initializing the backend...
╷
│ Error: error configuring S3 Backend: no valid credential sources for S3 Backend found.
│
│ Please see https://www.terraform.io/docs/language/settings/backends/s3.html
│ for more information about providing credentials.
│
│ Error: SSOProviderInvalidToken: the SSO session has expired or is invalid
│ caused by: open /Users/xxx/.aws/sso/cache/4c5ed9249374e66604e906dea90b76966e0f58fa.json: no such file or directory

or without sso_region and sso_start_url in account-prod profile
Initializing the backend...
╷
│ Error: error configuring S3 Backend: Error creating AWS session: profile "account-prod" is configured to use SSO but is missing required configuration: sso_region, sso_start_url
│

aws cli commands work just fine:
 % aws sts get-caller-identity --profile account-prod
{
    "UserId"<EMAIL_ADDRESS>    "Account": "012345678901",
    "Arn"<EMAIL_ADDRESS>}
 % aws sts get-caller-identity --profile account-dev
{
    "UserId"<EMAIL_ADDRESS>    "Account": "012345678902",
    "Arn"<EMAIL_ADDRESS>}

To Reproduce
My setup:
<project>
    |-- account
    |---- <region1>
    |---- <region2>
    |-- account.hcl
terragrunt.hcl

in account.hcl
aws_profile: "account-prod"

In main terragrunt.hcl
...
locals {
 ....
 aws_profile  = local.merged.aws_profile
}
....
terraform {
  extra_arguments "aws_profile" {
    commands = [
      "init",
      "apply",
      "refresh",
      "import",
      "plan",
      "taint",
      "untaint"
    ]

    env_vars = {
      AWS_PROFILE = "${local.aws_profile}"
    }
  }
}

remote_state {
  ...
  config = {
    ...
    profile = "${local.aws_profile}"
  }
}

generate "provider" {
  ...
  contents
  contents  = <<EOF
provider "aws" {
  profile = "${local.aws_profile}"
}
EOF
}
...

My ~/.aws/config:
[sso-session SSO]
sso_region = us-east-1
sso_start_url = https://xxx.awsapps.com/start#/
sso_registration_scopes = sso:account:access

[profile account-prod]
sso_session = SSO
sso_account_id =<PHONE_NUMBER>01
sso_role_name = AdministratorAccess
cli_pager =
output = json
region = us-east-1

[profile account-dev]
sso_session = SSO
sso_account_id =<PHONE_NUMBER>02
sso_role_name = AdministratorAccess
cli_pager =
output = json
region = us-east-1

Expected behavior
Run terragrunt apply and it should work with proper aws profile.
Versions

Terragrunt version: 0.55.1
Terraform version: 1.5.7
Environment details (Ubuntu 20.04, Windows 10, etc.): MacOS

Hello @wiseelf,
When you login to aws with sso, the aws-cli is creating a temporary credentials under ~/.aws/sso/cache and aws-cli ablo to run but you should export AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY, AWS_SESSION_TOKEN and AWS_CREDENTIAL_EXPIRATION for terragrunt because terragrunt is not reading from ~/.aws/sso/cache
When you run aws sso login after, you should run eval "$(aws configure export-credentials --format env)" for export the AWS variables.
This is not a bug, this is a default behaviour of aws-cli.

Terragrunt works fine with AWS SSO, but it's using an older aws sdk version. So what doesn't work is just the "new" config style. Change your config and it should work fine.
[profile account-prod]
sso_region = us-east-1
sso_start_url = https://xxx.awsapps.com/start#/
sso_registration_scopes = sso:account:access
sso_account_id =<PHONE_NUMBER>01
sso_role_name = AdministratorAccess
cli_pager =
output = json
region = us-east-1

[profile account-dev]
sso_region = us-east-1
sso_start_url = https://xxx.awsapps.com/start#/
sso_registration_scopes = sso:account:access
sso_account_id =<PHONE_NUMBER>02
sso_role_name = AdministratorAccess
cli_pager =
output = json
region = us-east-1


A few 1.16 mappings

Mapped new blocks and stuff

@Shnupbups mind update to fix merge conflicts (on github)?

Mapped biome classes, added Shulker mapping from #1090

Mapped biome classes

Careful not to overlap with other PRs ;)

I hope this is merged quickly. Current yarn mappings doesn't allow game bootstrap to run successfully as some Fungi block's constructor is protected and called by Blocks.

This should be ready once that typo is fixed.


Revamping selenium tests mydatapage

Describe your changes :

I worked on the revamping my data selenium tests based on new test cases.

Type of change :

[x] Improvement

Frontend Preview (Screenshots) :

Checklist:

[x] I have read the CONTRIBUTING document.
[x] I have performed a self-review of my own.
[x] I have tagged my reviewers below.
[ ] I have commented on my code, particularly in hard-to-understand areas.
[x] My changes generate no new warnings.
[ ] I have added tests that prove my fix is effective or that my feature works.
[x] All new and existing tests passed.

Reviewers

@darth-coder00 @shahsank3t @parthp2107

PR files corrupted


Add vscode configurations to make development easier

Now you can start development on Python backend just by cloning the folder and using dev container.
Some tasks are added for configuration and build.

Rebuilt with the new changes (works!) but noticed this time around that we get a warning that "TRITON_ENABLE_ENSEMBLE" is unused.

Rebuilt with the new changes (works!) but noticed this time around that we get a warning that "TRITON_ENABLE_ENSEMBLE" is unused.

I removed the unused cmake variables.


Configure nginx server port and read timeout

This is just a small feature, which enables the user to configure the server port as well.

Is there anybody who can merge this to upstream?

I'll merge this if you rebase onto master and squash your commits.

@rhomeister rebased and squashed. also nginx read timeout is option was added on my branch, so I included it in the PR. hope it's OK.

@rhomeister fixed. do you need this commit squashed to the previous as well?


ResizeObserver (and MutationObserver) not executed while in fakeAsync

Current behavior
Example with delay (my use case) -
https://stackblitz.com/edit/angular-f8evbx?file=src/app/app.component.spec.ts
Simplified example -
https://stackblitz.com/edit/angular-f8evbx-3ak8vv?file=src/app/app.component.spec.ts
MutationObserver example -
https://stackblitz.com/edit/angular-f8evbx-6wdpmj?file=src/app/app.component.ts

Use ResizeObserver (or MutationObserver + window.onresize to polyfill) on an element
(not relevant) Handle event into an observable with debouce or some other delay thingy
Write test for it using fakeAsync

Tests using fakeAsync fail, I'm forced to use setTimeout(expectations+done, delay) which causes unexpected delays. I tried using import 'zone.js/dist/zone-patch-resize-observer'; but it didn't work.
On top of that, the timeout is flaky unless a full extra second or so is added to the delay.
Expected behavior

flush() should trigger events from ResizeObserver and MutationObserver
Other things
"zone.js": "^0.8.26"
"@angular/core": "^6.1.0",
"rxjs": "^6.2.0",
Relevant: https://github.com/angular/zone.js/pull/1012

I also tried whenStable just in case but without any hope, it didn't work either

Thanks for posting the issue, The reason MutationObserver, ResizeObserver not work in fakeAsync because they are not patched as Task like setTimeout/Promise. I will consider how to turn them into task.

Hiya, I was wondering if this is something I could try to work on, do you have an example commit showing how a patch like this is done?

@Goodwine, thanks a lot, I am working on this now, it involves MutiationObserver, ResizeObserver and some other stuff such as FileReader, I want to make a generic routine to support them in fakeAsync, and thanks again, I will let you know after I finish.

I noticed this also being commented on https://github.com/angular/zone.js/issues/1011 which is an earlier bug marked as closed/fixed, is it actually fixed? or no? would the workaround mentioned on that other Issue work here?

@Goodwine It is not, the issue is about ResizeObserver not calling Angular's change detection, but this issue is still not solved.
I am not sure how to actually test code that is dependant on ResizeObserver.

While this is not implemented, you should be able to grab the class and replace it, something like this:
let backup: typeof ResizeObserver;
let callback: () => void;
// take over ResizeObserver
beforeAll(() => {
  backup = ResizeObserver;
  (ResizeObserver as unknown) = class {
    constructor(c: () => void) {
      callback = c;
    }
    observe = jasmine.createSpy('observe');
    disconnect = jasmine.createSpy('disconnect');
  }
});
// restore ResizeObserver
afterAll(() => { (ResizeObserver as unknown) = backup });
// reset callback
beforeEach(() => {
  callback = () => {}
});
// test
it(() => {
  doSomething();
  expect(something).toBe(false);
  callback();
  expect(something).toBe(true);
});

@Goodwine That's true, the only bad thing is, that I use resize-observer-polyfill, and by importing the component containing the polyfill, it gets set to windows.ResizeObserver, by reference. I now only need to find a way to replace it sooner than the tested code gets its grasp on it. (Will probably share the solution, as I can see how others would end up in the same situation...)

It should still work with polyfilled classes, this is meant to be used on the *_test.ts file and not at a global level. And it's grabbing the "ambient" value of ResizeObserver which should be the same as window.ResizeObserver. But otherwise you can change the code to grab the value from the window instead of from the ambient/global state.
That said, this is just my workaround while we wait for the real implementation in zonejs


New changes

Edited Initial design

👷 Deploy Preview for quiet-pie-34a01b processing.

Name
Link

🔨 Latest commit
029d86b93c974d2d43cda31cb379f9a0e0998acc

🔍 Latest deploy log
https://app.netlify.com/sites/quiet-pie-34a01b/deploys/65416b93122709000863fd09


Feature Request: more options please

Feature Request
Can you add some more options?

Feature Request

potential usage output
command line options

verbose
query this repo
internal version
pre-releases
download urls

zipball vs tarball

--api

potential usage output
usage: lastversion [-hvV] [--pre] [--api|--nosniff] [--novalidate] [--assets] REPO

Get latest release from GitHub.

positional arguments:
  REPO             	GitHub repository in format owner/name

optional arguments:
# -h, --help    	show this help message and exit
  -V, --version 	show version and exit
  -v, --verbose		Show URIs being tested

  --pre		   		Include pre-releases in potential versions
  --assets			Show download URL of assets for last version
  --nosniff, --api	use api.github.com
# --novalidate

  --self        	show the latest version of 'lastversion'

command line options
verbose
Show the URIs being tested, especially in the for release in r.find_all loop.
Also useful info if --pre happens.
query this repo
Currently:
$ lastversion dvershinin/lastversion
0.0.5

$ lastversion --nosniff dvershinin/lastversion
0.0.8

$ hub api /repos/dvershinin/lastversion/releases/latest \
  | jq -r '.tag_name, .html_url, .tarball_url'
0.0.8
https://github.com/dvershinin/lastversion/releases/tag/0.0.8
https://api.github.com/repos/dvershinin/lastversion/tarball/0.0.8

New:
$ lastversion --self
0.0.8

internal version
Add an internal version number
$ lastversion --version
lastversion 0.0.8 (c) 2019 ...

Verbose mode shows binary version and repo?
$ lastversion --verbose --version
lastversion 0.0.8 (c) 2019 ...
github release: 0.0.9

pre-releases
I ended up here today, via one of the curl | jq gists because I was looking for a way to find pre-releases.  In this case:
$ lastversion mautic/mautic
2.15.1

But I'm looking for a direct download link for 2.15.2-beta... which I worked out during this post.
$ tag=$( hub api /repos/mautic/mautic/tags | jq -r '.[0].name')
$ echo $tag
2.15.2-beta
$ hub api /repos/mautic/mautic/releases/tags/${tag} | jq -r '.tag_name, .assets[].browser_download_url'
2.15.2-beta
https://github.com/mautic/mautic/releases/download/2.15.2-beta/2.15.2-beta-update.zip
https://github.com/mautic/mautic/releases/download/2.15.2-beta/2.15.2-beta.zip

$ lastversion --pre mautic/mautic
2.15.2-beta

download urls
Show download URL of assets for last version found.
Be that: .assets[].browser_download_url for correctly formatted Releases, or
.tarball_url/.zipball_url when you have to use  '/releases/:tag`
zipball vs tarball
platform check, win32 = zipball ?
--api
Because I don't under --nosniff at all :grin:

Thanks in advance.
Virgil

Good suggestions. I will implement them (some with lower priority though, because at least for me the main target is getting the last stable version and only that).
The default behavior is to just fetch HTML of releases page and parse that. Only if nothing is found there, the API call is attempted. The --nosniff option will directly use only in the GitHub API being used (no parsing), so it's more like a showcase how default GitHub API isn't working as expected.

@virgilwashere you might just do this with the new version:
wget $(lastversion --pre --assets mautic/mautic)

Then it downloads both :)
file *.zip
2.15.2-beta-update.zip: Zip archive data, at least v2.0 to extract
2.15.2-beta.zip:        Zip archive data, at least v2.0 to extract

I see it somewhat useful now, for repos which for instance having md5 checksums in separate files.

Thank you!
In combination with these shell functions, lastversion will simplify updating prerequisites for deployments!!
version_lte() { printf '%s\n%s' "${1}" "${2}" | $( command -v sort) -C -V; }
version_lt() { ! version_lte "${2}" "${1}"; }

Virgil

--self would still be nice to have.
--self        	show the latest version of 'lastversion'

Or maybe --verbose --version actually checks github releases for dvershinin/lastversion ???
Thanks for 0.1.0 release!

@virgilwashere I didn't (at least yet) add the --self because it makes parsing options code complex (for me : ) .
I'm using similar bash function in my scripts:
function version_gt() {
  test "$(printf '%s\n' "$@" | sort -V | head -n 1)" != "$1";
}

It occurred to me now that it might be useful to integrate version comparison into lastversion itself. As in maybe like this:
CURRENTLY_BUILT_VER=1.2.3 # stored somewhere, e.g. spec file in my case
LASTVER=$(lastversion repo/owner --newer-than $CURRENTLY_BUILT_VER)
if [ $? -eq 0 ]; then
  # LASTVER is newer, update and trigger build
  ....

With exit status 1 for version lookup failure and 2 for comparison failure if required to distinguish them.

Got the self working as special value of repository argument, so it's not flag, e.g.
lastversion self

Another addition is being able to lookup by a single word (search API does not allow for good caching at all, so careful with rate limits), but it's quite fun seeing this work:
lastversion linux # > 5.2
lastversion linux --pre # > 5.3rc2
lastversion ngx_pagespeed # > <IP_ADDRESS> works even though argument does not match repo name, which is incubator-pagespeed-ngx

Or this, to check if you use latest Linux kernel:
NEWER_KERNEL=$(lastversion linux -gt $(uname -r | cut -d '-' -f 1))
if [ $? -eq 0 ]; then
  echo "I better update my kernel now, because ${KERNEL} is there"
else
  echo "My kernel is latest and greatest."
fi


Incorrect types when using renderCustomizedRowChild/renderCustomizedButtonChild

When I use the renderCustomizedRowChild or renderCustomizedButtonChild function, according to the documentation, I don't need to define the rowTextForSelection/buttonTextAfterSelection. However, this is not represented in TypeScript and therefore I get the following error:
No overload matches this call.   Overload 1 of 2, '(props: SelectDropdownProps | Readonly<SelectDropdownProps>): SelectDropdown', gave the following error.     Type '{ data: MenuItemOptionValue[]; defaultValueByIndex: number; onSelect: (selectedItem: any) => void; dropdownStyle: { borderRadius: number; }; buttonStyle: { width: string; ... 5 more ...; paddingHorizontal: number; }; ... 4 more ...; renderCustomizedRowChild: (item: any, index: number) => Element; }' is missing the following properties from type 'Readonly<SelectDropdownProps>': buttonTextAfterSelection, rowTextForSelection   Overload 2 of 2, '(props: SelectDropdownProps, context: any): SelectDropdown', gave the following error.     Type '{ data: MenuItemOptionValue[]; defaultValueByIndex: number; onSelect: (selectedItem: any) => void; dropdownStyle: { borderRadius: number; }; buttonStyle: { width: string; ... 5 more ...; paddingHorizontal: number; }; ... 4 more ...; renderCustomizedRowChild: (item: any, index: number) => Element; }' is missing the following properties from type 'Readonly<SelectDropdownProps>': buttonTextAfterSelection, rowTextForSelectionts(2769)
Would it be possible to adjust the definition, so that it's possible to use renderCustomizedRowChild/renderCustomizedButtonChild without TypeScript errors?

@AdelRedaa97 @Sascha1251 I ran into this, too. I believe https://github.com/AdelRedaa97/react-native-select-dropdown/pull/109 fixes it.


Ultra blurry texts on the Example files on latest Chrome

Attach (recommended) or Link to PDF file here: https://raw.githubusercontent.com/mozilla/pdf.js/ba2edeae/web/compressed.tracemonkey-pldi-09.pdf
Configuration:

Web browser and its version: Chrome 93
Operating system and its version: Mac M1
PDF.js version: 2.9.359
Is a browser extension: nope

Steps to reproduce the problem:

Go to https://jsfiddle.net/pdfjs/wagvs9Lf/
compare it with the original PDF file using built-in Chrome PDF viewer: https://raw.githubusercontent.com/mozilla/pdf.js/ba2edeae/web/compressed.tracemonkey-pldi-09.pdf

What is the expected behavior? (add screenshot)
Texts look perfect

What went wrong? (add screenshot)

Link to a viewer (if hosted on a site other than mozilla.github.io/pdf.js or as Firefox/Chrome extension):
Added Note:
I have a program which utilizes pdf.js and end up having the same problem

I'm assuming that you can't reproduce this with the demo viewer, see https://github.com/mozilla/pdf.js#online-demo

Go to https://jsfiddle.net/pdfjs/wagvs9Lf/

Your code doesn't seem to handle HiDPI screens, which can thus result in blurriness.
You'll either have to implement that manually, or a simpler solution would be utilize the "viewer components" which handle HiDPI automatically; please refer to the examples in https://github.com/mozilla/pdf.js/tree/master/examples/components

any reference how to handle it manually?

any reference how to handle it manually?

Looking at how outputScale is handled in https://github.com/mozilla/pdf.js/blob/master/web/pdf_page_view.js might be some help, however PR #13981 might be slightly easier.


Adding prefix -loader to imports-loader

This change is required to make this loader compatible with webpack 2

@pavanpaik Thank you.
Forgot to update this part 👍


Treat Raw String Literals in Markdown Cells as Markdown

Feature: Notebook Editor, Interactive Window, Python Editor cells

Description
Right now, it's possible to create markdown cells for the Interactive Window with Python multi-line string literals. However, this only works with standard multi-line string literals: raw string literals are treated as code.
Microsoft Data Science for VS Code Engineering Team: @rchiodo, @IanMatthewHuff, @DavidKutu, @DonJayamanne, @greazer
(While I'm here, is there an issue to follow for execution latency? I'm getting high (5s-20s) latency between Run Cell command issued and VSCode response. Sometimes the cell cursor will advance, sometimes it doesn't.)

Hey @0az . Thanks for reporting this. Just to make sure you're referring to the difference between these two cells, right?
# %% [markdown]
''' # Heading '''

# %% [markdown]
r'''# Heading'''

I do see the same issue there. We'll discuss it at triage. We do have an issue or two for performance, but as I recall they are more related to slowing down over time not general latency. Are you seeing latency even from the start of a session? If so I would file a new issue for that.

Yeah, I'm referring to that difference.
As for latency:
I'm seeing abnormally long startup times relative to baseline jupyer notebook ., etc., in addition to what could be slowing down over time – I haven't really taken the time to investigate it specifically. I have noticed abnormally high memory usage, however. When I have time, I'll probably open a new issue with some more detail.

@0az Thanks for checking my assumptions there.
With regard to performance we are currently making a change where in a local case instead of starting up and connecting to a local jupyter server we will just start up a kernel process directly and talk to that. Should help with startup perf there.
For the slowdown over time we have gotten more reports on this, but it's a bit hard to track down as it seems to hit some users and not others. If you want, I do have something you could try (if this works for you it would help us narrow down on the culprit). When you start up a Interactive Window session try running this in a cell at the start:
%config Completer.use_jedi = False
This will hurt intellisense some (we combine vscode language service intellisense with jupyter intellisense and this turns off jupyter intellisense) but we have a suspicion that our interaction with jupyter intellisense might be causing the perf slowdowns.


[BUG] YAML runner appears to skip all checks if the returned value is null

Reproduction steps
See TC-TMP-2.1. Current all clusters returns null for MinMeasuredValue and MaxMeasuredValue, but the test passes despite having constraint checks for type AND for min/max.
Bug prevalence
always
GitHub hash of the SDK that was being used
e53dca89c1533b79a6ff8da8e3e9ee14e449770a
Platform
core
Platform Version(s)
No response
Anything else?
No response

And yes, I just confirmed that notValue: null does not fail if the value is in fact null.  So we need to fix that.

https://github.com/project-chip/connectedhomeip/pull/32871 should fix notValue: null.

Thanks, Boris. Ok, sounds like the runner is correct, and the test just isn't properly accounting for this case. I'll close this issue and handle it in the test itself.


Added bit by bot images

@JenniferYu8 I just added the bit by bot images to the arrays tutorial, could you check them out and let me know if I should anything?
Thanks,
Alon

The tutorial looks great! Would it be possible to add a bit by bot to the arrays demo as well (the empty space in the left quiz section)?


Fixed Ollama base URL

Following the discussion here https://github.com/k8sgpt-ai/k8sgpt/issues/1229, this PR fixes the base URL when using Ollama as backend.

Documentation still wrong and still getting problems. Remove "v1" to avoid problems.

@alansenairj this PR is here to do exactly this, but no one is taking care of reviewing it.

Thanks @ppatierno
Great Fix