Generate debug information in release configuration

As part of making the debug configuration work the debug information was removed from the release configuration. This commit restores that setting so that some debugging of the release configuration is possible. Of course, there may be optimizations that make certain variables or code paths less visible but at least the debugger can find the files that link to the sources code.

Looks good


feat(region): set qcloud bucket policy

这个 PR 实现什么功能/修复什么问题:
feat(region): set qcloud bucket policy

是否需要 backport 到之前的 release 分支:

release/3.5
release/3.6

/area region
/cc @zexi @ioito

Codecov Report

Merging #9033 (99b5889) into master (415ab23) will increase coverage by 11.95%.
The diff coverage is n/a.

@@             Coverage Diff             @@
##           master    #9033       +/-   ##
===========================================
+ Coverage    5.89%   17.84%   +11.95%
===========================================
  Files         825       88      -737
  Lines      128484     8847   -119637
===========================================
- Hits         7575     1579     -5996
+ Misses     120230     7095   -113135
+ Partials      679      173      -506

Flag
Coverage Δ

aFlag
17.84% <ø> (+11.95%)
:arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

pkg/cloudcommon/validators/validators_cert.go

pkg/util/ansible/serializable.go

pkg/util/qemutils/qemutils.go

pkg/mcclient/options/ansibleplaybooks.go

pkg/mcclient/options/k8s/cluster.go

pkg/util/oidcutils/client/client.go

pkg/compute/models/isolated_devices.go

pkg/compute/models/loadbalanceraclresource.go

pkg/cloudcommon/db/enabledstatusinfrasresource.go

pkg/cloudcommon/db/infraresource.go

... and 725 more

Continue to review full report at Codecov.

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

/lgtm


No Proxy sites added

Porn can still be accessed from using proxy sites like hide.me and proxysite.com

You could add those to the file.
By the way, porn can also still be accessed by not using this file at all. -_-
This file is not meant to block your free will, but to make watching porns more difficult and feel like you'll act against your will by forcing the mechanism you set in place.


Looking up node by __id returns different node?!

I created a minimal test case to reproduce the issue on my schema:
query {
  node(__id: "WyJ0ZWFtcyIsMTBd"){
    __typename
    __id
  }
  teamById(id: 10) {
    __id
    __typename
  }
}

(Note base64 decode of WyJ0ZWFtcyIsMTBd is ["teams",10])
This returns
{
  "data": {
    "node": {
      "__typename": "User",
      "__id": "WyJ1c2VycyIsMTBd"
    },
    "teamById": {
      "__id": "WyJ0ZWFtcyIsMTBd",
      "__typename": "Team"
    }
  }
}

(base64 WyJ1c2VycyIsMTBd = ["users",10])
Which makes no sense - how has a Team turned into a User? They both have the same row id: 10; so could this be the reason somehow?

I've reproduced this same issue with PostGraphQL 2.0.0 and 2.1.1 and 2.2.0

Looking into this :+1:

Found the issue, to understand what was happening and to see a fix, check out https://github.com/calebmer/postgraphql/pull/192


Scan subfolder

Hello,
Given that for hard-drive management purpose we are all driven to sort things in folders, a sub-folders scanning would be highly appreciated.

Also, the possibility to link to nodes that are outside the actual scope would help to gather different locations that can be scattered around a hard-drive without possibility to be children of the same parent.
Ex :

D:\folder1\folder2\folder3
E:\folder4\folder5
F:\folder6\folder7\folder8\folder9
etc...

This would require a CFG to run the project instead of simply copying it in a folder where it's supposed to collect videos from. (and thus, it would be managed as a real program that we could install anywhere, like in C:\Program Files).

Definitely could add the subfolder scanning.
I'm not sure if I'm going to attempt getting videos from external locations. But you could always edit the output HTML file and add more files if there are just a few video or you could re-run the program in each location and merge the arrays from each file into one.

Ok I'll take the idea of merging the arrays, until we have a solution. Thanks for the quick answer ;)
By the way (and to avoid creating another topic) :

Does your program "update" the playlist if we add more videos in the folder(s) even if the playlist hasn't been fully played ?
How does it cycle when the playlist is finished ? Do you propose a loop feature ?

@Romarain now supported in v3.3.0

@jaredkotoff  Ok thank you ! ;) I appreciate.
By the way : I was thinking of improving your project by creating a kind of configuration file, for users to specify different paths to scan. I was also thinking about an interface to create different "profile" of HTML files, allowing users to select one and generate the HTML at a specific moment so they can litterally "program" their TV. Of course we could also simply create different HTML at different locations manually, but the concept was interesting to me and I was seing it as a "TV programmation hub", with buttons to select a program (a TV with a corresponding HTML), buttons to refresh folders, to add folders, etc, and finally "GENERATE" one HTML. Or even the possibility to activate one or more TV at the same time and generate several HTML managed byt several scenes in OBS.
I'm not a Javascript master, but as soon as I have time I'll take a look and see what I can do ;) Thanks again, your project is very important for the future of my channel on Twitch. Bless you 👍


OpenAPIHub - Deprecation notice of features

Send an email to OpenAPI hub users (REST API review team, management plane team) to inform about the features we are going to deprecate and alternative solutions for each of those features. This is to identify if there is any concern in deprecating any of those features like spec diff etc.

This was already completed and OpenAPIHub has been retired.


gltfpack: Replace images that can't be found or encoded with invalid URI

This change consolidates error handling for images that can't be read, written, or encoded, and uniformly emits an invalid embedded Base64 URI in these cases.
This keeps the file invalid as per glTF spec, but allows various loaders to load it. The source file in cases like this was semantically invalid so maybe this is fine.
Ideally we would probably want to remove references to the image. Unfortunately, to preserve glTF file validity, this requires transitive removal of texture references from all materials as well as image/texture array compaction...
Fixes #675

Removal of image/texture references is possible in theory. I think right now nothing prevents this from keeping the file valid. In addition to that change being much more invasive, I'm also worried about future extensions where you can't simply omit an image/texture references, eg EXT_lights_image_based has an array of 6 images, so what do we do if one fails to encode?

The effect of this change is that files that had invalid or missing images previously failed to parse when using three.js GLTFLoader, and now cleanly load with the following error in the console:

gltf.report also loads the file but has some odd error handling for cases like this:

I asked for clarifications on the official GLTF repo about GLTF asset file validity in these cases, and the result is that an invalid URI indeed makes the GLTF asset file invalid but a valid URI pointing to a missing/corrupted file is valid usage, so the produced GLTF asset file must still be valid in this case.

Sure; I think semantically really all of these are invalid in the same sense; glTF spec may consider some subset of these invalid cases "valid", and glTF validator may or may not disagree (for example, glTF validator will parse JPEG/PNG headers and as such a file that isn't a valid PNG can be treated as invalid by the validator).
I'm going to merge this for now as it's better than status quo; it might be better to remove image references completely after all in cases like this but this can be done separately.


Simplify tests

Main goal of this PR is to simplify the test code and make it more robust for changes.

Coverage remained the same at 80.159% when pulling 9725d828bd47b22ecb442109b490213061bd5161 on sclassen:simplifyTests into 987aa8ab8eeca4fdd3208ebcc51c5f6db098e822 on aalmiray:master.


Row hash support for Spanner

Support row level validation for Spanner databases. This should include random row validation support.

Duplicate of #283


Option to use GitHub Octicons directly in badges

:clipboard: Description
When using badges from shields do I really like to use the SVG icons from GitHub called Octicons, as the badges themself are often used in GitHub repositories and those icons fit the best for what the badges may represent.
The issue right now for me is, that I have to use the logo=data:image/svg... query parameter in the badge URL to achieve this which comes with 2 distinct problems:

The badge URL becomes quite long. While you can argue that this doesn't matter since people only would see the badge itself, do I say that the raw view of a readme - especially since you can now much easier view the raw version of markdown files - is also important, especially for new contributors, and that a large URL could be frightening to look at.
The SVGs are black by default since they don't have any specific fill color defined, this requires me to download, or at the very least copy the SVG code and insert a fill="#fff" attribute to the SVG in question, before putting it into a Base64 encoder and use the value as logo option. With shields natively supporting octicons could this become easier by having the logoColor option taking care of it.

Of course, considering support opens questions such as "How easy is it to implement?", "How much would it be used?" and "How to actually implement it?"
While I can't answer the first because I lack the coding knowledge of the framework shields uses, and can't answer the second because I don't have any statistics on how much octicons are used by people, can I give possible ideas for the third question:

Add to logo query parameter, but maybe with a octicons: prefix to avoid possible conflicts in naming (I.e. logo=octicons:alert-24 would get the Alert 24px SVG)
Add a separate octicons parameter to use (i.e. octicons=alert-24). If both octicons and logo parameter would be used would shield prioritize the logo one.

I also can't answer any real questions regarding legal parts. Octicons are Open source and licensed under MIT (GitHub Repository), so it may or may not work fine with shields CC0 licensing?
Whatever the decision is, I thank you for reading this idea and hope to hear from you soon.

Thanks but I'm going to close this as a duplicate of #7131 to avoid bifurcation of discussion


"Download all" does not include the hidden entries

For example EN_GAM.vox from LBA1 contains hidden entries for the larger intro dialog. The are not included when downloading the zip file.

@elmuerte Thanks for reporting. You can now export all entries.
Also includes:

Metadata update for _GAM.VOX files that was not being displayed;
Read files with broken entries (like Hebrew translations file);
100 entries per page instead of 50


tests: updating workflow actions to later versions

Just updating GitHub action workflows to later versions

will be added as part of bigger PR


Flux network is actually limited to 2.14G FE/t, not 9.2E FE/t

Describe the bug
Draconic Evolutions has recently been updated which means their reworked energy storage can hold actual infinite amounts of energy. This raised a problem and i decided to push my network to the limit, generating in the tens of billions of FE/t. Unfortunately, the most that a network can transfer per tick is 2.14G, or 2,147,483,647, despite going manually in the config folder and setting the default limit to 9.2E, or 9,223,372,036,854,775,808.
More Info

Using FML 40.1.84/1.18.2
Using Flux Networks 1.18.2 <IP_ADDRESS>

To Reproduce

Have a source of energy that produces more than  2,147,483,647 FE/t
Connect a face of said source to a plug, and bypass all limits
Connect a point to a face of the energy pylon from Draconic Evolution energy storage and bypass all limits

Expected behavior
Have more than  2,147,483,647 FE/t transfer.
Screenshots

Note that in the above screenshot, the transfer is over 8G FE/t, that is because i have multiple plugs and points that transfer the energy. Still, this is not as efficient as if i had a actual "limit" to said network, it being as described in the configs being "unlimited".

This is simply because FE (Forge Energy) uses 32-bit integer, so the limit would be 2^31-1.

is there any workaround?

No, since Draconic Evolution uses Forge Energy. But you can setup multiple energy pylons around one flux point.

Technically, they now use their own energy system which is called operational potential, but it seems to hook in with FE just like RF did with other mods ages ago. I guess i will just have to set up a lot of pylons and do it that way.


Azure pipeline fails on nuget restore

Describe the bug

I'm trying to configure a pipeline for a ProjectReunion solution, but on nuget restore command it crashes with the next error:
The nuget command failed with exit code(1) and error(NU1201: Project MyProjectReunion is not compatible with uap10.0.17763 (UAP,Version=v10.0.17763). Project MyProjectReunion supports: net5.0-windows10.0.19041 (.NETCoreApp,Version=v5.0)
Steps to reproduce the problem:

Create empty ProjectReunion solution
Set up a pipeline
Add nuget restore step

My sample solution: github.com/LeftTwixWand/ProjectReunionPipelines
Version Info
NuGet package version:
Microsoft.ProjectReunion - 0.5.6

Windows 10 version
Saw the problem?

Insider Build (xxxxx)

May 2020 Update (19041)
Yes

November 2019 Update (18363)

May 2019 Update (18362)

October 2018 Update (17763)

Additional context

@huichen123 can you look into this? There's a sample solution in the bug to try the repro.


Twitter

The twitter handle is wrong but goes to the right page, the handle needs to be LGROW_GVMC
The twitter hashtag that reads “#LGROWSewer” but leads you to “#sfsewer”

I'm assuming @LGROWWater is the wrong handle?
File: /app/views/sidebar/_guidelines.html.haml
Handle: line 74
Hashtag: line 78
It'd probably be best to move the Twitter handle to some sort of Global.

Our twitter is @LGROW_GVMC Instagram is @lgrow_org and our facebook is LGROW.org

Before

After

twitter handle links correctly, but the text in this pop up is incorrect. Refer to a different PR.


replace blacklist and whitelist with allowlist and denylist

If you would like me to expand on why I find blacklist and whitelist offensive and unnecessary, please let me know!

kjjjjj


mods not showing

error loading config to repository
its keeps saying this and dosnt show the mods then it says error connecting to git hub pls tell me a fix  😭😭

me also it is not showing any mod

in certain countries you will have to use a vpn or something to bypass internet restrictions. try using https://<IP_ADDRESS>


[FLINK-4355] [cluster management] Add tests for the TaskManager -> ResourceManager registration.

This adds the missing tests for [FLINK-4355].
It makes use of the testing RPC service suggested in #2394 - only the second commit (https://github.com/apache/flink/pull/2395/commits/c72b2cb34521e35a4ad949c4384eb94afd0ff99c) is hence relevant for this pull request.

Nice test cases @StephanEwen. The test cases look really succinct without much overhead with the new RPC abstraction. I like that a lot :-)
The PR currently fails because of a compilation problem. I'll fix it and if Travis gives green light, then I'll merge this PR.

Manually merged to the flip-6 branch in be80f400fbe24389a8d7a1fa9159f6bd80e3a2d9


Need depot_ tools and pdfium #118

The project I built after installing your project always fails due to missing build files. Could you please provide a successful demo of your build_ Can you provide me with the tools and pdfium source code? Thank you.

Source code and tools are part of Google's repo: https://pdfium.googlesource.com/pdfium/


Support for Y-js richtext.

Is there any way to use richtext ( Y-js share type) in this demo?

It already has support for richtext.


Progress Bars during Sampling

Is it possible to turn off the progress bars during sampling ?

Hi @LaurinLang, we are not planning on supporting this feature in our release, the best path forward would be to edit the code where the progress bars are initialized. Thanks for your interest!


Drag and Drop

Hi matt.
Do you consider to add drag-drop functionality for moving nodes ?

We could copy the code from feincms/django-mptt ( http://django-mptt.readthedocs.io/en/latest/admin.html#mptt-admin-draggablempttadmin ). It is certainly more fancy, but I'm not sure (anymore) it's more useable. What do you think?

i think it's nice feature to have. I don't think we need extra steps to move the pages.

Regarding https://github.com/matthiask/feincms3/issues/13#issue-359021569
I'd like to be convinced that there is a way to build a user friendly drag-drop solution for moving pages also with trees of hundreds of pages. The current way is admittedly cumbersome but I sort of like the obviousness of it all.
Not completely sure about jstree though -- does it work with the changelist table? Or would the reordering of pages be moved to a different page too?

Session aware collapsible(only query uncollapsed nodes) menu items and drag&drop seems good to me. Just collapse the node and move. This process can speed up the changelist i think. We don't have to use jstree or alike. we can use just vanilla js. And we should add this feature to django-tree-queries.


[Typescript Error on extensions]: This is likely not portable. A type annotation is necessary.

Bug description
When PrismaClient is extended with .$extends and withAccelerate is used in it, a typescript error is received when the declaration:true mode is turned on because the /dist/cjs(or esm)/extension file is not exported on @prisma/extension-accelerate
How to reproduce

use -> import { withAccelerate } from "@prisma/extension-accelerate"
use -> const acceleratedDb = new PrismaClient().$extends(withAccelerate())
See error: The inferred type of acceleratedDb cannot be named without a reference to .../@prisma/extension-accelerate . This is likely not portable. A type annotation is necessary.

Expected behavior
The .$extends(withAccelerate()) method should be used in the tsconfig file when the "declaration: true" mode is on, this is important for commonly used packages and distributed as libraries
! on @prisma/extension-accelerate dist/cjs(or esm)/extension file should be exported in package.json
Prisma Version
"@prisma/client": ^5.21.1
"@prisma/extension-accelerate": ^1.2.1
prisma: ^5.21.1

example tsconfig file is here (for reproduce):
{
  "$schema": "https://json.schemastore.org/tsconfig",
  "compilerOptions": {
    "esModuleInterop": true,
    "skipLibCheck": true,
    "target": "ES2022",
    "lib": ["ES2022"],
    "allowJs": true,
    "resolveJsonModule": true,
    "moduleDetection": "force",
    "isolatedModules": true,
    "incremental": true,
    "disableSourceOfProjectReferenceRedirect": true,
    "tsBuildInfoFile": "${configDir}/.cache/tsbuildinfo.json",
    "strict": true,
    "noUncheckedIndexedAccess": true,
    "checkJs": true,
    "module": "Preserve",
    "moduleResolution": "Bundler",
    "declaration": true,
    "declarationMap": true,
    "emitDeclarationOnly": true,
    "noEmit": false,
    "outDir": "${configDir}/dist"
  },
  "exclude": ["node_modules", "build", "dist", ".next", ".expo"]
}

My own working solution (I copied the package @prisma/extension-accelerate in my own application)
package.json:
{
  ...
  "exports": {
    ...
    "./extension": {
      "types": "./dist/.../accelerate-extension.d.ts",
      "default": "./src/.../accelerate-extension.ts"
    }
    ...
  }
  ...
}

Since I cannot find the @prisma/extension-accelerate package as open source, I cannot send the solution as pull request. It will be for the benefit of the community if you make the relevant arrangements and update the package.

Also experiencing this issue


feat: Add Device S7 generator script

If your build fails due to your commit message not passing the build checks, please review the guidelines here: https://github.com/edgexfoundry/edgex-compose/blob/main/.github/Contributing.md
PR Checklist
Please check if your PR fulfills the following requirements:

[ ] I am not introducing a breaking change (if you are, flag in conventional commit message with BREAKING CHANGE: describing the break)
[x] I have fully tested (add details below) this the new feature or bug fix (if not, why?)
[ ] I have opened a PR for the related docs change (if not, why?)

Testing Instructions

@jiekechoo , please fix your last commit message (amend) causing the Semantic PR check to fail.

@cherrycl , This PR doesn't impact any smoke tests, but all are failing, Please advise @jiekechoo  on how to resolve it.

@jiekechoo Please rebase and squash commits.

Another PR replace this.


FBI freezes when try to push file using servefiles

Servfiles says timeout error, fbi just freezes

Video

Do you have anything setup in your network that might be blocking port 8080?


Feature/send email to user

Targets #2563
Description

Create a query who read books by the users but some books was not commented by them.

Checklist:

[x] I have performed a self-review of my own code.

There are some file changes on the package.json?
what's the reason


Read ESP Pins

Describe wanted Enhancement !
I want to read out the other PINs on the ESP288 (Wemos D1 Mini). For example: connected with LED Stripe there is at the same time an HC-SR501 motion sensor. Via iobroker I can detect the motion when the pin shows "true" state and control single segments.
Why should we put effort in it ?
You don't need a separate ESP288 for motion sensor anymore.

I cannot do that please raised your enhancement at the WLED Projekt.
If they integrate it and expose by API this adapter can manage the values and states

i will close for now, please feel free to reopen if required

The point is that wled won't implement a pin readout as they offer mqtt interface for that. Unfortunately I don't get a successful Mqtt connection with any device. No matter if wled or not.
An option would be that this adapter adds mqtt attribute readout. Otherwise I am still trying to find the solution for my mqtt problem.

The point is that wled won't implement a pin readout as they offer mqtt interface for that. Unfortunately I don't get a successful Mqtt connection with any device. No matter if wled or not.

do you have a reference of that? It makes no sense to provide an api and mqtt but not implement data on both

That's how I understood this comment https://github.com/Aircoookie/WLED/issues/3039#issuecomment-1387059079

That's how I understood this comment Aircoookie/WLED#3039 (comment)

I legt a comment there for airkookie

@maxpd1 response in WLED issue:
However, I don't think that it is a feature that is required in most installs and worth the JSON overhead by default. WLED can in principle offer the flexibility of ESPHome or the likes, but that is what usermods are for.
So I'd propose adding the functionality of reading and outputting GPIO values via /json/info as a usermod.
implementing it as a user mod should work in current version of this Adapter

Yes, read it. Thank you.
I think most of the WLED users aren't able to write a usermod.
But I'll check further here: https://wled.discourse.group/c/usermods/11

Yes, read it. Thank you.
I think most of the WLED users aren't able to write a usermod.
But I'll check further here: https://wled.discourse.group/c/usermods/11

If you succeed, I know for sure others would be very happy if you share how 😅


infyom:rollback does not cleanup everything

The rollback command does not do a rollback of the db migration and it does not delete the migration file

we already mention that things in docs:  https://labs.infyom.com/laravelgenerator/docs/6.0/generator-commands#rollback.
you must be rollback migration by manually.

https://labs.infyom.com/laravelgenerator/docs/7.0/generator-commands
from the doc:
"If you have run migration on database, then better you rollback that migration first and then run infyom:rollback command, since it will delete migration file as well. Otherwise laravel can throw error about missing migration files."
as you can see,it is say that the migration file will be deleted, but the file is not deleted


Actually use dotenv

Right now we are loading the config from the .env file using the dotenv library. However we are still using the config defined internally in the pinning-server js file. We need to do process.env.IPFS_CONF etc instead of using the constants defined in the file.

Resolved by https://github.com/3box/3box-pinning-server/pull/42

@zachferland you can use zenhub to attach the PR to the issue!


Pinned sliver dynamic height

SliverPersistentHeader has the functionality I need, but it requires height (minExtent and maxExtent) - how do I make a sliver so that it behaves the same as SliverPersistentHeader (pinned: true, ...) and it does not need to set the height?

Hi @nikitadol
I'm not sure to understand
what behavior would you like to achieve from theSliverPersistentHeader;
here is an example of both current behaviors (pinned and floating).
Can you please explain more in details?
Thank you

@iapicca In the implementation of SliverPersistentHeaderDelegate, you must explicitly specify the height. By design, I have a widget that I have to pin when scrolling. But with the current implementation, I have to calculate the height and set to this delegate. I just want to be able to pin any widget without passing height to the delegate.

@nikitadol did you ever get anywhere with this? I'm looking for the exact same thing. Basically a SliverToBoxAdapter that can be pinned or floating

@lukepighetti
Sorry, but not. I calculate the height

@nikitadol It is possible to do but I don't have enough experience with the sliver API to knock this out. It looks like it would be trivial for someone with experience, someone like @Hixie

class _SliverPinnedBoxAdapter extends SingleChildRenderObjectWidget {
  const _SliverPinnedBoxAdapter({
    Key key,
    Widget child,
    this.pinned = true,
  }) : super(key: key, child: child);

  final bool pinned;

  @override
  RenderObject createRenderObject(BuildContext context) =>
      _RenderSliverPinnedBoxAdapter(pinned: pinned);
}

class _RenderSliverPinnedBoxAdapter extends RenderSliverSingleBoxAdapter {
  _RenderSliverPinnedBoxAdapter({RenderBox child, @required this.pinned})
      : super(child: child);

  /// If true, [success] should stay pinned at the top of the list,
  /// [success] but move back into it's original position when scrolling down
  ///
  /// If false, [success] should move out of the list, [FAILING] but move back into it's original position
  /// when scrolling down
  ///
  /// [FAILING] You should be able to place a `pinned = false` sliver above a `pinned = true` sliver
  /// and have them never overlap
  ///
  /// [FAILING] Should not react to overscrolling on iOS
  final bool pinned;
  // double lastUpwardScrollOffset = 0;

  double previousScrollOffset = 0;
  double ratchetingScrollDistance = 0;

  @override
  void performLayout() {
    child.layout(constraints.asBoxConstraints(), parentUsesSize: true);
    double childExtent = child.size.height;
    final double paintedChildSize =
        calculatePaintOffset(constraints, from: 0.0, to: childExtent);
    final double cacheExtent =
        calculateCacheOffset(constraints, from: 0.0, to: childExtent);

    assert(paintedChildSize.isFinite);
    assert(paintedChildSize >= 0.0);

    final dy = previousScrollOffset - constraints.scrollOffset;
    previousScrollOffset = constraints.scrollOffset;

    ratchetingScrollDistance =
        (ratchetingScrollDistance + dy).clamp(0.0, childExtent);

    if (pinned) {
      print(ratchetingScrollDistance);
    }

    geometry = SliverGeometry(
      scrollExtent: childExtent,
      paintExtent: paintedChildSize,
      cacheExtent: cacheExtent,
      maxPaintExtent: childExtent,
      hitTestExtent: paintedChildSize,
      hasVisualOverflow: childExtent > constraints.remainingPaintExtent ||
          constraints.scrollOffset > 0.0,
      paintOrigin: pinned
          ? constraints.scrollOffset
          : max(
              0,
              constraints.scrollOffset - childExtent + ratchetingScrollDistance,
            ),
      visible: true,
    );

    setChildParentData(child, constraints, geometry);
  }
}

CustomScrollView(
  slivers: <Widget>[
    _SliverPinnedBoxAdapter(
      pinned: false,
      child: SizedBox(
        height: 50,
        child: Placeholder(),
      ),
    ),
    _SliverPinnedBoxAdapter(
      pinned: true,
      child: SizedBox(
        height: 200,
        child: Placeholder(),
      ),
    ),

    /// Filler
    SliverList(
      delegate: SliverChildListDelegate(children),
    ),
  ],
)

@lukepighetti
Thank you very much, but if I scroll to viewport height, I got the error.
The following assertion was thrown during performLayout():
SliverGeometry has a paintOffset that exceeds the remainingPaintExtent from the constraints.
The render object whose geometry violates the constraints is the following: RenderSliverPinnedBoxAdapter#09635 relayoutBoundary=up1
...  needs compositing
...  parentData: paintOffset=Offset(0.0, 808.0) (can use size)
...  constraints: SliverConstraints(AxisDirection.down, GrowthDirection.forward, ScrollDirection.reverse, scrollOffset: 826.6, remainingPaintExtent: 812.0, crossAxisExtent: 375.0, crossAxisDirection: AxisDirection.right, viewportMainAxisExtent: 812.0, remainingCacheExtent: 1312.0, cacheOrigin: -250.0)
...  geometry: SliverGeometry(scrollExtent: 114.0, paintExtent: 0.0, paintOrigin: 826.6, maxPaintExtent: 114.0, hasVisualOverflow: true)
...    scrollExtent: 114.0
...    paintExtent: 0.0
...    paintOrigin: 826.6
...    maxPaintExtent: 114.0
...    hasVisualOverflow: true
The remainingPaintExtent is 812.0, but the paintOrigin + paintExtent is 826.6.
The paintOrigin and paintExtent must cause the child sliver to paint within the viewport, and so cannot exceed the remainingPaintExtent.

My comment has incomplete code. If you find a solution please share it. Reread my comment. Thanks and good luck.

@lukepighetti
Hi, I find a solutino, it is dont use setChildParentData, it can change SliverPhysicalParentData.paintOffset, and paintOrigin: constraints.overlap.

Can you please paste a working example?

@lukepighetti
Just no log output, ui is no diff.

@lukepighetti
Hi, I maked a demo:
https://codepen.io/yeungkc/pen/RwrNqmm?__cf_chl_jschl_tk__=62f4b0e26552095942956b930f41802e31aa6244-1591377589-0-AYJnO_xNNvg8T-QXPrxhJ6XrZPP3PmvxybgEBdm9LJGb5tXG-SEUuh4q2xmtWRluTSt9D9t8dcKL76EsN3vs3jPeZIFM640HzNt34D3OIX_Jpx3rEDxWzFCA2n6EDa75pgywu3G99WZkyZ9TqfpzAJnBX6NPDyFmhErTbGCA9auDMjUUyiF2dm-cMl07q6P950dOV61SMeEIVT6uk94ImiY26OealuE4oFXZzVGzWo1jLpvj7OurE25PmBnEfy2NZad4SY5KpBm2d2Q9OCpGmmBV0_FmH-1kmHKuG62vZTCNaR3TO_SBZzTZYIbhWPLiCB2u-Aw5fA1IoA9I7w6psg3aLHf2wJqEFaz5a2IaLQzo

@YeungKC Thank you the demo is very useful.
Any idea how to modify your custom sliver with floating instead of pinned ?
My Flutter knowledge isn't that great

Just added this widget to sliver_tools

yes, I want SliverPersistentHeaderDelegate from maxHeight to minHeight, not min to max, I don't know how to do this.
I want change pinned height by scroll.
if SliverToBoxAdapter can pinned, I can use ValueListenableBuilder to change.
But PreferredSize can not use ValueListenableBuilder. @iapicca

I have created SliverStickyHeader widget, you can pass child with dynamic height. It pinned and floating and you don't need to pass height.
You can view its result in below video.
https://gist.github.com/aarajput/d4fb5b0651d1a0d3f383596fb267ffde
https://user-images.githubusercontent.com/16102514/196989530-2e0e039e-0baf-4cd5-a324-0f13e0408931.mp4

I have created SliverStickyHeader widget, you can pass child with dynamic height. It pinned and floating and you don't need to pass height. You can view its result in below video.
https://gist.github.com/aarajput/d4fb5b0651d1a0d3f383596fb267ffde
screen_recording.mp4

YOU ARE A GENIUS! The best answer 🤗
1 year ago I was looking for this, but I wasn't able to find an answer. You should make this a package at pub.dev
P.s. How did you learn to do that?

I think this issue is covered by https://github.com/flutter/flutter/issues/18345, which has more upvotes so I am going to close this to consolidate with that issue. Thanks for all the discussion here, it looks like there are some packages listed above that support this as well. We're looking into what would be required to do this right, whether it live in the SliverPersistentHeader API or elsewhere. Please follow up in https://github.com/flutter/flutter/issues/18345. Thanks!


Splitting complex multipolygons

When thinking about how to implement an area/multipolygon split (#969), I realized a special case seems to need a different UI: Complex multipolygons with multiple independent (non nested) outer rings.
Broken normal multypolygon with separated segments of a single outer ring might fall into this special case too. Nomal area splitting has priorty, but we should think about the complex multipolygons early to avoid duplicate work and later inconsistency. Especially in case of  choosing point 1 or 2 below, the complex multipolygon split could have some impact on how to do the normal area/multipolygon split.
ID should support splitting complex multipolygons, because in some regions landuses are mapped as quite complex multipolygons. This type of mapping isn't a good idea, but it does exist, and should not prevent other users from editing in that regions. In addition the multipolygons are often broken, but fixing this seems to be too hard for most users. Therefore, the user needs to be able to split even the broken multipolygons to reduce the complexity.
An area split along a line can  potentially result in multipolygons with multile outer rings. My preference is to prevent this, but if this fails, there will be another usecase to split the generated complex multipolygons
We could offer a splitting complex multipolygons in one of the following ways:

Operation based on the selection of the multipolygon plus a linestring (one or multiple consecutive selected lines):
The linestring does define a split well if it's extended to the convex hull of the multipolygon.
Operation based on the selection of the multipolygon plus a closed linestring:
Linestring might be an outer ring of the multipolygon.
Split operation based on the selection of the multipolygon only:
Generate a a separate multipolygon from each complete outer ring, including inner members which were enclosed by the outer ring. Other members, if any, remain in the original still broken multipolygon.
Split operation based on the selection of the multipolygon and the mouse position when opening the context menu/hitting :
Generate a a separate multipolygon from the outer ring next to the mouse position, including inner members which were enclosed by the outer ring. Other members remain in the original multipolygon.
Modify the member editor for multipolygons:
Use a hierarchical display grouping ring segments and nested rings, and offer a control there to split a full group of nested rings off.

I will discuss pros and cons in later comments.

Its not clear to me why this is an issue.. The #969 split operation should probably just operate on a single outer ring.. It should be disabled if the split line crosses any inners, or if it tries to split two disjoint outers.
Anyway, can you put your thoughts on #969, instead of adding more issues?  I'm personally having a lot of trouble dealing with the iD issue backlog lately.  Thanks..

The #969 split operation should probably just operate on a single outer ring.. It should be disabled if the split line crosses any inners, or if it tries to split two disjoint outers.

In essence I agree, but here the issues with complex multipolygons start.

Usecases specific to complex multipolygons aren't covered:
Assume the forest in the screenshot is mapped as a single complex multipolgon. The desire to separate the forest into two parts, the rectangular one and the triangular one, seems to be quite natural.
How to address that is the topic of this issue.
The operation is not well defined or results in invalid multipolygons:
Assume the user splits the forest along the highway. How many multipolygons should this result in? Which one should the triangular part belong to? This regards the split operation of #969, and we might discuss it there.

The issues will likely result in quite different operations, the discussion for both issues will likely be quite complex, and I think this issue might remain after solving #969. This was my reason to make it a separate issue.


Consider a conda package

It would help teams using conda to use this library if there were a conda package on conda-forge. You can pip-install into a conda environment, but that is problematic because you will get dependencies from unpredictable locations, depending on what is already installed in the environment. I have not myself tried these instructions, so I don't know how much work this is.
Thanks
Andy

Mkapi has been added to the conda-forge by this PR.
Now you can install the package via conda install -c conda-forge mkapi.


AttributeError: module 'src.tasks' has no attribute 'Mind2Web'

After installing the requirements, I tried to run the following inside ~/AgentBench.
python -m eval --task configs/tasks/mind2web/dev.yaml --agent configs/agents/do_nothing.yaml

> [Warning] FastChat agent not available
{'module': 'src.tasks.Mind2Web', 'parameters': {'name': 'Mind2Web-dev', 'data': {'data_path': '.', 'cache_path': './data/mind2web/.cache/data', 'test_split_files': {'test_domain': '/root/work/data/data_dev/*.json'}, 'score_file': '/root/work/data/scores_all_data.pkl'}, 'train': {'neg_ratio': 0.2, 'num_candidates': 5, 'max_context_len': 512}, 'model': {'mode': 'multichoice', 'name': 'flan-t5-base', 'model_name_or_path': 'google/flan-t5-base', 'max_seq_length': 2048}, 'eval': {'topk': 10}, 'seed': 123, 'llm_prompt': 'data/mind2web/prompt/llm_prompt_cot.json'}}
{'module': 'src.agents.DoNothingAgent', 'parameters': {'name': 'Do-Nothing-Agent', 'sleep': 0.01}}
[Evaluation] Loading Agent ...
[Evaluation] Successfully loaded Agent.
[Evaluation] Loading Task ...
> [Warning] OSInteraction task not available
> [Warning] ALFWorld task not available
> [Warning] DBBench task not available
> [Warning] WebShop task not available
> [Warning] LateralThinkingPuzzle task not available
> [Warning] LateralThinkingPuzzle_zh task not available
> [Warning] Mind2Web task not available
> [Warning] KnowledgeGraph task not available
Traceback (most recent call last):
  File "/home/juyoung/.conda/envs/agentbench/lib/python3.9/runpy.py", line 197, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/home/juyoung/.conda/envs/agentbench/lib/python3.9/runpy.py", line 87, in _run_code
    exec(code, run_globals)
  File "/mnt/sda/juyoung/AgentBench/eval.py", line 99, in <module>
    main()
  File "/mnt/sda/juyoung/AgentBench/eval.py", line 81, in main
    task = assignment.task.create()
  File "/mnt/sda/juyoung/AgentBench/create_assignment.py", line 49, in create
    return getattr(mod, self.module.split(".")[-1])(**self.parameters)
AttributeError: module 'src.tasks' has no attribute 'Mind2Web'

I found the reason for this issue. Because of the ImportError, src/tasks/__init__.py did not run successfully. If install the necessary files, one can solve this issue!

Swallowing exceptions is not elegant, it's a sign of bad frameworks. Regarding AgentBench, I think it is difficult to configure each benchmark, lacks documentation, and the framework is too complicated. For example, the use of multiple processes makes the process of troubleshooting more painful.

Swallowing exceptions is not elegant, it's a sign of bad frameworks. Regarding AgentBench, I think it is difficult to configure each environment (unlike Google's big-bench which is self-contained, which can be executed immediately after cloing), lacks documentation, and the framework is too complicated. For example, the use of multiple processes makes the process of troubleshooting more painful.

Swallowing exceptions is not elegant, it's a sign of bad frameworks. Regarding AgentBench, I think it is difficult to configure each environment (unlike Google's big-bench which is self-contained, which can be executed immediately after cloing), lacks documentation, and the framework is too complicated. For example, the use of multiple processes makes the process of troubleshooting more painful.

Really thanks for your suggestions.
There is a huge trouble, that is, various environments cannot be integrated into the code of the same framework in a particularly unified way. In other words, many environments need to be created through fork or spawn.
We are planning to refactor the code in the next few weeks. We think that tasks should also be separated into server and client like what we have done on agents. For example, the structure of FastChat may be a great way for the task server.

With the below add, I was able to bypass the above problem.
Now I'm stuck with :     raise FileNotFoundError(f"No (supported) data files or dataset script found{path}")
Mind2Web Class: Make sure that task.py has a class named Mind2Web.
Import in mind2web/init.py: In the init.py file inside the mind2web directory, you should have the import statement:
Code:
from .task import Mind2Web
Import in tasks/init.py: Ensure that the main tasks package also knows about the Mind2Web task. In the tasks/init.py (this file is one level up from the mind2web directory), you should have:
CODE:
from .mind2web import Mind2Web
sys.path.append: Ensure that you have modified the eval.py as mentioned previously:
Code:
import sys
import os
sys.path.append(os.path.dirname(os.path.abspath(file)))
Create Assignment: The create_assignment.py should be correctly interpreting the

With the below add, I was able to bypass the above problem.
Now I'm stuck with : raise FileNotFoundError(f"No (supported) data files or dataset script found{path}")
Mind2Web Class: Make sure that task.py has a class named Mind2Web.
Import in mind2web/init.py: In the init.py file inside the mind2web directory, you should have the import statement:
Code: from .task import Mind2Web
Import in tasks/init.py: Ensure that the main tasks package also knows about the Mind2Web task. In the tasks/init.py (this file is one level up from the mind2web directory), you should have:
CODE: from .mind2web import Mind2Web
sys.path.append: Ensure that you have modified the eval.py as mentioned previously:
Code: import sys import os sys.path.append(os.path.dirname(os.path.abspath(file))) Create Assignment: The create_assignment.py should be correctly interpreting the

I meet the same problem...May I ask where this code ("sys.path.append(os.path.dirname(os.path.abspath(file)))") should be add in eval.py?

The primary reason for the error was the suppression of the error with just a warning message. In version 0.2, we have addressed this issue, and it no longer occurs. Feel free to give it a try!

Feel free to reopen this issue if it persists!


Go Router: Widget is rebuilding when pressed back button while dropdown field is opened

Steps to reproduce
I know that upon pressing back button our widget will rebuild again and pop the screen. But when any dropdown widget is opened by the user, upon pressing back button, the widget is rebuilding.
Expected results
The dropdown field should be closed instead of rebuilding of the widget/screen.
Actual results
The widget is rebuilding, which is resulting in resetting the state of the widget.

@MuhammadSaad420
Can you provide complete runnable reproducible code sample (ex: main.dart) without third party implementation along with platform in which you are seeing this behavior ? Also provide flutter doctor -v and plugin version.

There is no specific code that is causing the issues. The only code that i can provide is drop down widget
class DropDownFieldWithTitle extends StatelessWidget {
  DropDownFieldWithTitle({
    super.key,
    required this.dropDownList,
    this.title,
    this.focusNode,
    this.onChanged,
    this.titleIcon,
    this.initialValue,
    this.validator,
  });

  final String? title;
  final List<String> dropDownList;
  final FocusNode? focusNode;
  final Function(String?)? onChanged;
  final IconData? titleIcon;
  final String? initialValue;
  String? Function(String?)? validator;

  @override
  Widget build(BuildContext context) {
    return Column(
      crossAxisAlignment: CrossAxisAlignment.center,
      children: [
        if (title != null)
          Column(
            children: [
              Row(
                children: [
                  Flexible(
                    child: Text(
                      title!,
                      style: Theme.of(context)
                          .textTheme
                          .bodyMedium!
                          .copyWith(fontSize: 14),
                      overflow: TextOverflow.ellipsis,
                    ),
                  ),
                  const Gap(2),
                  titleIcon != null
                      ? IconWidget(
                          icon: titleIcon!,
                          color: colorPrimary,
                          size: 14,
                        )
                      : const SizedBox.shrink()
                ],
              ),
              const Gap(13),
            ],
          ),
        DropdownButtonFormField<String>(
          key: key,
          decoration: const InputDecoration(
            contentPadding: EdgeInsets.symmetric(
              vertical: 13.5,
              horizontal: 10,
            ),
          ),
          isExpanded: true,
          focusNode: focusNode,
          icon: const IconWidget(
            icon: Icons.keyboard_arrow_down_outlined,
            color: colorGrey200,
          ),
          value: initialValue,
          hint: Text(loc.select_an_option),
          validator: validator,
          items: dropDownList
              .map<DropdownMenuItem<String>>(
                (String value) => DropdownMenuItem<String>(
                  value: value,
                  child: Text(
                    value,
                    style: Theme.of(context)
                        .textTheme
                        .bodyLarge!
                        .copyWith(color: colorBlack),
                  ),
                ),
              )
              .toList(),
          onChanged: onChanged,
        ),
      ],
    );
  }
}

Platform: Android Only
Flutter Doctor:
[✓] Flutter (Channel stable, 3.19.2, on macOS 14.2 23C64 darwin-x64, locale en-US)
[!] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
✗ cmdline-tools component is missing
Run path/to/sdkmanager --install "cmdline-tools;latest"
See https://developer.android.com/studio/command-line for more details.
✗ Android license status unknown.
Run flutter doctor --android-licenses to accept the SDK licenses.
See https://flutter.dev/docs/get-started/install/macos#android-setup for more details.
[✓] Xcode - develop for iOS and macOS (Xcode 15.3)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2023.2)
[✓] VS Code (version 1.90.2)
[✓] Connected device (3 available)
[✓] Network resources

You are most likely hitting https://github.com/flutter/flutter/issues/99577 for which the response from team is as below:
https://github.com/flutter/flutter/issues/99577#issuecomment-1588228542
https://github.com/flutter/flutter/issues/99577#issuecomment-1589588241
Closing as duplicate.


intellisense always analyzing implementation, reports false errors for undefined SRWLOCK

as reported in https://github.com/GPUOpen-LibrariesAndSDKs/VulkanMemoryAllocator/issues/26, the header has a define which makes intellisense always analyze the implementation part of vk_mem_alloc.h.
This makes intellisense report false errors in win32 applications where the cpp file does not include <windows.h>(replaced by a platform abstraction like SDL), because the implementation part of VmaRWMutex will always try to use SRWLOCK, a WinAPI class.
I think that either using VK_USE_PLATFORM_WIN32_KHR or another user defined macro to check whether to allow SRWLOCK use would be good. Currently, as the below comment in vk_mem_alloc.h states, the implementation assumes <windows.h> is included.
This library includes header `<vulkan/vulkan.h>`, which in turn
includes `<windows.h>` on Windows. If you need some specific macros defined
before including these headers (like `WIN32_LEAN_AND_MEAN` or
`WINVER` for Windows, `VK_USE_PLATFORM_WIN32_KHR` for Vulkan), you must define
them before every `#include` of this library.
It may be a good idea to create a dedicate header file for this purpose, e.g. "VmaUsage.h",
that will be included in other source files instead of VMA header directly.

Would checking #ifdef SRWLOCK_INIT work? This macro seems to be defined together with SRWLOCK.

Would checking #ifdef SRWLOCK_INIT to decide whether to use SRWLOCK version work for you? This macro seems to be defined together with SRWLOCK.

Yes, that would be desirable.


MindOpt solver backend

MindOpt is a promising relatively new LP + MIP solver by Alibaba. If MindOpt is significantly faster than e.g. SCIP, it might be nice to support this solver as a solver backend.

If I were to try to implement this myself, where could I best start? Is there some documentation somewhere about adding new solver backends?

Hi @mvanaltvorst! Thanks for offering to contribute the interface, this is great!
To get started, check the contributing section here: https://www.cvxpy.org/contributing/index.html#conic-solvers
Here are two recent PRs that added new solver interfaces for reference:
https://github.com/cvxpy/cvxpy/pull/1888 [conic]
https://github.com/cvxpy/cvxpy/pull/2312 [QP]
https://github.com/cvxpy/cvxpy/pull/1894 [QP]
From checking the MindOpt page, it looks like they also support SDPs, so this interface would be in cvxpy/reductions/solvers/conic_solvers, and the first link should be most relevant.
As soon as you have some workable state, feel free to create a draft PR and we can provide feedback over there.


[#noissue] Apply GuardLogStatement for classes that execute a lot

While analyzing webflux application performance issues, I found that some pinpoint logs use a lot of CPU.
To reduce CPU usage, GuardLogStatement has been applied to classes that execute a lot.

Thanks.  :)

Thank you for your contribution.


Pre-built binaries

Right now, HIL's CI is building obmd from source, which requires installing a Go toolchain, which takes quite a while. One way we could speed up the process is by downloading pre-build obmd executables instead -- we wouldn't need the toolchain, and we wouldn't need to build anything, just download a single file (right now on my system obmd is ~7 MiB stripped).
There are some process questions here; it would be nice if we could automate this somehow; otherwise we run the risk of stuff getting out of sync.
//cc @naved001, @Izhmash

There are some process questions here; it would be nice if we could automate this somehow; otherwise we run the risk of stuff getting out of sync.

I think we can just make a tagged release here. And when we do that there's an option to upload the binary to github. In HIL's CI, we just pin down the version of obmd to use.

We should be able to get the latest tagged release too, so HIL's CI will always run against that, but we won't get the latest master obviously (there will be no binary if there's no release).

Works for me.

https://github.com/CCI-MOC/hil/pull/1019

Fixed, closing.


Add Reviewable as a code review tool

Pull Request Template
What are you trying to address

Reviewable is a better tool for reviewing GitHub PRs. The main improvements include multi-round reviews (comments aren't lost over time to rebases, renames, etc), a review dashboard, keyboard shortcuts, and powerful completion conditions that control mergeability beyond just the simple branch protection options available in GitHub.

@fahhem -- thank you for the contribution. The build seems to fail on an unrelated link in observability/profiling.md -- could you please remove the link to the below in the observability/profiling.md and submit again, and then we are ready to merge
(Java, Python, Go, Node.js) Instana

@microsoft-github-policy-service agree company="IdeaNest LLC"

@TessFerrandez done, thank you very much!


Batched dataset map throws exception that cannot cast fixed length array to Sequence

Describe the bug
I encountered a TypeError when batch processing a dataset with Sequence features in datasets package version 2.16.1. The error arises from a mismatch in handling fixed-size list arrays during the map function execution. Debugging pinpoints the issue to an if-statement in datasets/table.py, line 2093, failing to correctly process sequence lengths.
Steps to reproduce the bug
Create virtual environment and activate
virtualenv venv
source venv/bin/activate

Then install the datasets package (I'm using the latest version)
pip install datasets==2.16.1

Then run
# bug.py
from datasets import Dataset
from datasets.features import Features, Sequence, Value

data = {
    "num": [[1, 2], [3, 4]],
}
features = Features({'num': Sequence(feature=Value(dtype='int32'), length=2)})
dataset = Dataset.from_dict(data, features=features)
dataset.map(lambda x: x, batched=True, batch_size=1)

Expected behavior
I get the following stack trace
Map:  50%|█████     | 1/2 [00:00<00:00, 423.92 examples/s]
Traceback (most recent call last):
  File "/PATH/TO/BUG_PORT/bug.py", line 9, in <module>
    dataset.map(lambda x: x, batched=True, batch_size=1)
  File "/PATH/TO/BUG_PORT/venv/lib/python3.9/site-packages/datasets/arrow_dataset.py", line 592, in wrapper
    out: Union["Dataset", "DatasetDict"] = func(self, *args, **kwargs)
  File "/PATH/TO/BUG_PORT/venv/lib/python3.9/site-packages/datasets/arrow_dataset.py", line 557, in wrapper
    out: Union["Dataset", "DatasetDict"] = func(self, *args, **kwargs)
  File "/PATH/TO/BUG_PORT/venv/lib/python3.9/site-packages/datasets/arrow_dataset.py", line 3093, in map
    for rank, done, content in Dataset._map_single(**dataset_kwargs):
  File "/PATH/TO/BUG_PORT/venv/lib/python3.9/site-packages/datasets/arrow_dataset.py", line 3489, in _map_single
    writer.write_batch(batch)
  File "/PATH/TO/BUG_PORT/venv/lib/python3.9/site-packages/datasets/arrow_writer.py", line 551, in write_batch
    array = cast_array_to_feature(col_values, col_type) if col_type is not None else col_values
  File "/PATH/TO/BUG_PORT/venv/lib/python3.9/site-packages/datasets/table.py", line 1797, in wrapper
    return pa.chunked_array([func(chunk, *args, **kwargs) for chunk in array.chunks])
  File "/PATH/TO/BUG_PORT/venv/lib/python3.9/site-packages/datasets/table.py", line 1797, in <listcomp>
    return pa.chunked_array([func(chunk, *args, **kwargs) for chunk in array.chunks])
  File "/PATH/TO/BUG_PORT/venv/lib/python3.9/site-packages/datasets/table.py", line 2111, in cast_array_to_feature
    raise TypeError(f"Couldn't cast array of type\n{array.type}\nto\n{feature}")
TypeError: Couldn't cast array of type
fixed_size_list<item: int32>[2]
to
Sequence(feature=Value(dtype='int32', id=None), length=2, id=None)

After some debugging, I found that the if-statement that is actually failing is line 2093 in datasets/table.py
# datasets/table.py
                ...
2093                if feature.length * len(array) == len(array_values):
2094                    return pa.FixedSizeListArray.from_arrays(_c(array_values, feature.feature), feature.length)
                ...

Environment info
Platform: MacOS
Datasets version: datasets==2.16.1
Python version: 3.9.6

Hi ! This issue has been fixed by https://github.com/huggingface/datasets/pull/6283
Can you try again with the new release 2.17.0 ?
pip install -U datasets

Amazing! It's indeed fixed now. Thanks!


contextily_guide.ipynb missing

The notebook contextily_guide.ipynb referenced in the README.md is missing from the repository.

thanks for the report! We should probably remove that and change it to point to the main documentation website (contextily.readthedocs.io) as there's a lot more content now. Otherwise, the closest to that original notebook is over at the intro_guide. I'll try to get around it at some point but if there's any bandwith on your end, PRs are most welcome :-)


Don't outline hovered layers when box selecting

Currently when box selecting with the select tool, the hovered layer is outlined. This is confusing as other layers that are also part of the box selection are not outlined.

To fix, the hovered layer should not be outlined when box selecting. Perhaps all the layers within the current box selection should instead be highlighted. The outline comes from overlay_context.outline in the SelectToolMessage::Overlays handler.

We also want to outline the layers that are within the selection (where ending the selection immediately would cause them to become the selected layers).

Hello @Keavon and @0HyperCube . I have made changes that won't outline the hovered layers while using box selection and will outline them when simply hovering otherwise.
However, as for outlining the layers within the selection, I don't know where/how to find out which layers will be selected when the mouse is released.
The layers that get selected on releasing the mouse are outlined by this I believe:
https://github.com/GraphiteEditor/Graphite/blob/438c45eb802e75e41aad5ce0ab055c006563a334/editor/src/messages/tool/tool_messages/select_tool.rs#L393-L396
My question is, how do I find out which layers will be selected before the mouse is released

@shyamjayakannan Thanks for your work on this. The code for selecting the required layers when the mouse is released is located in the select_tool.rs file as well, specifically: https://github.com/GraphiteEditor/Graphite/blob/438c45eb802e75e41aad5ce0ab055c006563a334/editor/src/messages/tool/tool_messages/select_tool.rs#L924-L926

@Keavon and @0HyperCube please review #1727  when free


Scatterplot not rendering correctly on demo site

Expected Behavior
Scatter plot should look like a grid of circles, or symbols.
Current Behavior
Scatter plot example appears to be trying to connect the dots:

Steps to Reproduce (for bugs)

go to http://www.chartjs.org/samples/latest/
Click 'Scatter' or 'Scatter multi-axis'

http://www.chartjs.org/samples/latest/charts/scatter/basic.html
http://www.chartjs.org/samples/latest/charts/scatter/multi-axis.html

Context
We are comparing Chart.js with a couple of other charting libraries right now, so are relying on examples to make an informed decision.
Environment

Chart.js version: latest?
Browser name and version:

Firefox 53.0.3
Chromium 58.0.3029.110

Link to your project: https://github.com/apinf/api-umbrella-dashboard

Should be as simple as adding showLine: false to those datasets. The scatter chart is built on top of the line chart hence why the line is there

+1. Encountering this type of rendering was very unexpected, and I feared that 2.6.0 had more rendering bugs than I had thought...


Add support for 'rootSummary' to Grid/GridModel

Have definite use for a pinned summary row at top, analogous to what we have in HoistSencha's TreePanel.rootSummary.
Certainly AG-Grid has some support for rendering the pinned.  Would like to expose to Grid/GridModel for easy display of a non-scrolling, non-collapsing total row.

Thought about this a bit more.  Perhaps could have the following semantics:
Add a new property to GridModel
showSummary: 'top/bottom/none/[false]
If the store is a TreeStore, and it has a single root node display that as the Total.   Otherwise just display a standard ag-Grid generated total row, with ag-Grid standard aggregation handling.
Need the ability to take the total row in from the store in the case of server-side aggregations, or client-side cube aggregations.

Closed!


Add FarNet.FSharpFar to the project list.

Following #949, let me ask for adding FarNet.FSharpFar to the project list.
NB These project links are not working for me (but I am not changing them in the PR):

Tsunami - Tsunami enhances applications and workflows with the power of Type Safe Scripting
FCell - Deliver the power of .NET from within Microsoft Excel
FSharp.Formatting - F# tools for generating documentation (Markdown processor and F# code formatter)

Thanks! Sorry for letting this languish for a bit.

@baronfel Thank you and no problem at all.


Playground throws a 404

When you visit https://ampbyexample.com/playground/ the right side just shows 404 page not found.

Hi, I was able to load the page correctly.
Could you try it again? Which browser are you using?

I'm getting the same error. It resolves by using Firefox in incognito mode.

@Yelrado @Vetm Could you take a look at the solution provided in #798 and see if it fixes it?

@kul3r4 @dandv 's solution fixed it. Very strange, because I never visited the playground or ampbyexample.com before two weeks ago.
Had this problem with Chrome 58 and Firefox 53 on Arch Linux.
Sorry for the duplicate issue!


feat: Add unpack method to inbound handler

Add unpack in inbound handler

closes #301

Codecov Report

Merging #309 into master will decrease coverage by 0.01%.
The diff coverage is 90.9%.

@@            Coverage Diff             @@
##           master     #309      +/-   ##
==========================================
- Coverage   88.75%   88.74%   -0.02%
==========================================
  Files          39       39
  Lines        1975     1982       +7
==========================================
+ Hits         1753     1759       +6
- Misses        122      123       +1
  Partials      100      100

Impacted Files
Coverage Δ

pkg/didcomm/transport/http/inbound.go
81.96% <90.9%> (+0.48%)
:arrow_up:

Continue to review full report at Codecov.

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


Make sure we're good with the changes to the google calendar api v3

added in: https://github.com/inovex/CalendarSync/pull/126


Audio keeps stoping to play

Hey, nice project!
I'm trying to implement the technique you used in my personal project but I noticed that the on the listen route sometimes the audio suddenly stops playing, it usually happens after a couple of second after you connect and it requires you to refresh the tab in order to have it back running.
Do you have any ideas for the cause of such behavior?

I discovered that by increasing the chunksDuration in the AudioStreamer you can somehow stabilize this behavior. I don't know exactly how and why, but this kinda solved the problem for me. I'm now using 1-second chunk duration.


Replay class does not support GameFlow

stepForward() method throws a NullPointerException because the action type does not exist, because it is not performing any await calls and listens for feedback etc.

Fixed as part of The Big Refactoring™ #302


Align repo with opensource template

https://github.com/giantswarm/example-opensource-repo

This repository is going to be archived as we don't maintain it anymore. We are now doing etcd backups using https://github.com/giantswarm/etcd-backup-operator. Feel free to open an issue there or fork this repository.


Add new product empty (or not visible content) AppBar

What

The Appbar doesn't have a title.
If a remove the title from the content and move it to the AppBar, is-it OK?
(cc @teolemon)
Before

After

yes 👌


It is not an issue, but may be you interest :)

Hi, I recently reached your sortXml app. It is very good to simple usage.
BTW, I kindly edited it and added a UI for dummies (like me). It already works as console application. With stand-alone UI by desktop.
If you interested in, I would love to send its link to you. This is my mail adres<EMAIL_ADDRESS>Also you can input a message from our web-site, so it is: http://pspyazilim.com.tr/Contents/iletisim.
And also I need to discuss some subjects (there is nothing as precise for now) with programmers like you.
Anyway, thank you for reading this :)
as the attachment, I send a shot.

Why don't you make a pull request?

"Create Pull Request" button was disabled. So, I couldn't.


Added a program on how to detect(debug) infinite loop in a program

Some times infinite loop make debugging very difficult. Using above program not only we will debug the infinit

e loop but also we will not encounter infinite loop while debugging it.

@satyamsihare contribute here https://github.com/Ishaan28malik/Get-Dev-Resources


Error handling

This issue consists of on the one hand properly displaying errors to the user while hiding the internals of the application (such as the web assembly parts) by filtering stack traces, and on the other hand catching anything that could go wrong. A list of example code files that should be handled are found in https://github.com/dodona-edu/universal-judge/issues/19.

[ ] Hide internals (wasm, unknown file, ...)
[ ] Display errors in an expected fashion
[ ] Handle common errors properly

Relevant library to aid students and myself when print debugging: https://github.com/gruns/icecream

You might also have a look at the Rich module.

For displaying error tracebacks in user code to students, I suggest https://github.com/friendly-traceback/friendly-traceback:

Nicer formatting (optionally using Rich!)
Beginner-friendly explanations
Supports three languages and has a solid i18n framework in place, I'm sure they'd appreciate a Dutch translation!

Also, the current tracebacks don't include the user's source code, just something like File "<exec>", line 1, in <module>. To make the source code appear, you need something like this:
    filename = "my_program.py"
    linecache.cache[filename] = (
        len(code),
        0,
        [line + '\n' for line in code.splitlines()],
        filename,
    )
    code_obj = compile(code, filename, "exec")
    exec(code_obj)

Also, the current tracebacks don't include the user's source code, just something like File "<exec>", line 1, in <module>. To make the source code appear, you need something like this:
    filename = "my_program.py"
    linecache.cache[filename] = (
        len(code),
        0,
        [line + '\n' for line in code.splitlines()],
        filename,
    )
    code_obj = compile(code, filename, "exec")
    exec(code_obj)

I'll take a look at how this works along with libraries such as doctest, as I encountered some issues with that when calling exec myself. Those might be resolved or not be present in your approach.

Now that I think of it, writing directly to linecache is not necessary for you, you can just write the contents of code to a file located at filename and get the same result. It's basically the same thing but it looks less mysterious.

Now that I think of it, writing directly to linecache is not necessary for you, you can just write the contents of code to a file located at filename and get the same result. It's basically the same thing but it looks less mysterious. I originally used linecache back when futurecoder ran on a server and I had restricted filesystem access.

I believe I found an even better way to handle this case. The pyodide module provides a method eval_code_async. In JavaScript, it is not as easy to configure, but you can do this within Python itself. This allows passing a filename and other options to the compile call, without having to do anything mysterious yourself. As a bonus, this allows async code to also still work.
For example, the following code on FutureCoder#ide does not yield any output:
async def main():
    import micropip
    await micropip.install('snowballstemmer')
    import snowballstemmer
    stemmer = snowballstemmer.stemmer('english')
    print(stemmer.stemWords('go goes going gone'.split()))

main()

whereas it does yield ['go', 'goe', 'go', 'gone'] when run via eval_code_async. This might thus be something you want to integrate in FutureCoder aswell? Let me know your thought.

It seems like different things are being mixed up. I see in the PR you took the suggestion to write the source code to a file, and that solved the traceback problem (and probably the doctests issue). eval_code/eval_code_async doesn't do that, but that's fine, it's basically replacing the last two lines containing compile and exec. The 'mysterious' code that I was referring to was the linecache part, not compile.

For example, the following code on FutureCoder#ide does not yield any output:

That code isn't really supposed to work. If I run it in normal Python locally I get RuntimeWarning: coroutine 'main' was never awaited and the function doesn't actually run, even if it's just a simple print with nothing else. I think what's happening here is that eval_code_async returns the last expression which is main() and then Papyros awaits the result. Adding another expression after the main() prevents this from happening so nothing is printed. Passing return_mode='none' to eval_code_async should also prevent this.
eval_code (and thus also runPython) without the _async does the same thing, eval_code_async just allows using top level await. That means you can write await main() at the end, and that should run the function regardless of return_mode. So that feels a bit more like code that's 'supposed' to work, except of course in normal Python the top-level await would be a syntax error.

This might thus be something you want to integrate in FutureCoder aswell

I don't think eval_code_async is sufficient. On the one hand, top-level await is nice and convenient and lowers the barrier to entry. On the other hand, asyncio is confusing and mysterious (I don't quite understand it myself) and I'd be worried about adding to that confusion by teaching something that doesn't work in normal Python.
So I'd at least want to say "we've added some magic to make things easier, but in real life you need to use something like asyncio.run(main())." But that doesn't work in Pyodide either, and neither does e.g. asyncio.get_event_loop().run_until_complete or run_forever - see https://github.com/pyodide/pyodide/blob/17f675a89e28aa17d0b9c9697cf0a49402c4de53/src/py/pyodide/webloop.py. Making asyncio work 'realistically' ironically requires synchronous IO, a generalisation of the input() stuff. Hopefully that will eventually be part of Pyodide itself, but until then I imagine it being part of the generic futurecoder-Pyodide backend module I've talked about.
As for your code example, this is sufficient in futurecoder:
import snowballstemmer
stemmer = snowballstemmer.stemmer('english')
print(stemmer.stemWords('go goes going gone'.split()))

futurecoder automatically detects the import and installs it with micropip itself. That's also a feature of the generic backend. But this doesn't work for dynamic imports or imports that happen inside other packages (see https://github.com/alexmojaki/futurecoder/issues/182). Maybe that could also be solved with synchronous IO.

Thank you for your detailed response!
For now, I think we want to allow top level awaits as they are convenient, not that I expect many people to use async/await.
The automatic importing sounds very useful and user-friendly, so I'll take a look at that aswell.

Top-level await is fine, but I do think it's important to pass return_mode='none' to eval_code_async so that await is consistently needed. The fact that main() on its own works but only as the last expression is a bug IMO.

Oh, I just tried and I see it doesn't work anymore. Probably because you're not returning from eval_code_async, so that's fine. Just update that async code example.


chore: export test and cli utilities in fuels umbrella package

I exported the utils via the fuels umbrella package and changed imports to import from fuels accordingly. The changes in this PR are exclusively tied to that and running pnpm lint:fix afterwards.

closes #2223

@maschad you searched for /test-utils which is showing results for fuels/test-utils, @fuel-ts/utils/test-utls, @fuel-ts/account/test-utils, etc. This consolidates it all to use import from fuels/test-utils.

@maschad you searched for /test-utils which is showing results for fuels/test-utils, @fuel-ts/utils/test-utls, @fuel-ts/account/test-utils, etc. This consolidates it all to use import from fuels/test-utils.

Thanks for the clarification, if you update the search to be explicit for @fuel-ts/errors/test-utils
@fuel-ts/account/test-utils and @fuel-ts/utils/test-utils you will see quite a few files. I've elaborated more here

@danielbate is right in https://github.com/FuelLabs/fuels-ts/pull/2637#pullrequestreview-2153497159.
As for the snippets and some leftovers that I didn't fix, I fixed them in https://github.com/FuelLabs/fuels-ts/pull/2637/commits/f980df50428e24509449dd11ee6dfd8109aa82f7 and https://github.com/FuelLabs/fuels-ts/pull/2637/commits/5131778d863af12360e13ebb5fbd0aba5cd9d957.


ERROR in Child compilation failed

I am using the latest release candidate 3 and facing an issue when using this plugin. every works fine but but when i want to use styleUrls in my component i get this weired errors.

ERROR in Child compilation failed:
Module build failed: Error: "extract-text-webpack-plugin" loader is used without the corresponding plugin, refer to https://github.com/webpack/extract-text-webpack-plugin for the usage example
at Object.module.exports.pitch (D:\lab\reactive-form-ng2\node_modules\extract-text-webpack-plugin\loader.js:27:9):
Error: "extract-text-webpack-plugin" loader is used without the corresponding plugin, refer to https://github.com/webpack/extract-text-webpack-plugin for the usage example

I am trying to use aot plugin with webpack. is i remove styleUrls then it build as  is should.  Here is my small repo on bitbucket.
How to reproduce this.
in src/app/app/app.component.ts uncomment the styleUrls and then build with npm run build and it will throw some errors including mentioned above but if you comment styleUrls line and build again it will success to build without any errors but then there will be no styles.

There's a PR up from the maintainer: 4189. When this is merged (should be within 1-2 days from now), this feature should work.

Kindly let us know, when will this issue get resolved? I am also experiencing the same issue @2.0.0-rc.3

@priyasam change has been merged, try pulling latest from webpack and testing out again

you can try it,I solved the problem, but I was still very surprised
// loader config for angular component styles
{
  test: /\.(scss|css)$/,
  use: ['raw-loader','sass-loader'], // don't use css-loader for ng2 （unusual）
},
// loader config for global css files
{
  test: /\.scss$/,
  exclude: [/node_modules/, /src\/app/],
  use: ExtractTextPlugin.extract({
    fallbackLoader: 'style-loader',
    use: ['css-loader','sass-loader']
  })
},

weird, i use the same settigns, but now the error is scss:
 ERROR in ./src/angular2/layout/cory-layout.scss
    Module build failed: Error: "extract-text-webpack-plugin" loader is used without the corresponding plugin, refer to https://github.com/webpack/extract-text-webpack-plugin for the usage example
      at Object.module.exports.pitch (/home/patrikx3/Projects/patrikx3/corifeus/corifeus-builder-angular2/node_modules/extract-text-webpack-plugin/loader.js:27:9)

@patrikx3 can you post your config? That error is usually thrown because an ExtractTextPlugin is not declared in the plugins array.

Pretty long though.
Thanks for looking at it.
common.js
const webpack = require('webpack');
const HtmlWebpackPlugin = require('html-webpack-plugin');
const ExtractTextPlugin = require('extract-text-webpack-plugin');

const root = require('corifeus-builder').config.root;
const folder = require('corifeus-builder/src/config/folder');

const nodeSassCssImporter = require('node-sass-css-importer');

const fileAsset = `name=assets/[name].[hash].[ext]`;

const ScriptExtHtmlWebpackPlugin = require('script-ext-html-webpack-plugin');

module.exports = (rootFolder = folder.src.root, env = 'dev') => {

    let compiler;
    if (env === 'production') {
        compiler =  {
            test: /\.ts$/,
            use: [
                {
                    loader: '@ngtools/webpack'
                }
            ]
        }
    } else {
        compiler =  {
            test: /\.ts$/,
            use: [
                {
                    loader: 'awesome-typescript-loader'
                }, {
                    loader: 'angular2-template-loader'
                }
            ]
        }
    }

    return {
        entry: {
            'bundle': `./${rootFolder}/angular2/boot.ts`,
        },

        //fixme this looks like for linked npm it needs
        resolve: {
            extensions: ['.ts', '.js', '.json'],
            modules: [root('src'), root('node_modules')]
        },

        module: {
            rules: [
                compiler,
                {
                    test: /\.json$/,
                    exclude: /node_modules/,
                    use: 'json-loader',
                    enforce: 'pre',
                },
                {
                    test: /\.html$/,
                    use: [{
                        loader : 'html-loader',
                        options: {
                            minimize: true,
                            caseSensitive: true
                        }
                    }]
                },
                {
                    test: /\.(png|jpe?g|gif|ico)$/,
                    use: `file-loader?${fileAsset}`
                },
                {
                    test: /\.css$/,
                    exclude: [
                        root(rootFolder, 'angular2'),
                    ],
//                    loader: ExtractTextPlugin.extract('style', 'css?sourceMap')
                    use: ExtractTextPlugin.extract(
                        {
                            fallback: 'style-loader',
                            use: 'css-loader'
                        }
                    )
                },
                {
                    test: /\.woff(\?v=\d+\.\d+\.\d+)?$/,
                    use: `url-loader?limit=10000&mimetype=application/font-woff&${fileAsset}`
                }, {
                    test: /\.woff2(\?v=\d+\.\d+\.\d+)?$/,
                    use: `url-loader?limit=10000&mimetype=application/font-woff&${fileAsset}`
                }, {
                    test: /\.ttf(\?v=\d+\.\d+\.\d+)?$/,
                    use: `url-loader?limit=10000&mimetype=application/octet-stream&${fileAsset}`
                }, {
                    test: /\.eot(\?v=\d+\.\d+\.\d+)?$/,
                    use: `file-loader?${fileAsset}`
                }, {
                    test: /\.svg(\?v=\d+\.\d+\.\d+)?$/,
                    use: `url-loader?limit=10000&mimetype=image/svg+xml&${fileAsset}`
                },
                {
                    test: /\.css$/,
                    include: [
                        root(rootFolder, 'angular2'),
                    ],
                    use: 'raw'
                },
                {
                    test: /\.scss$/,
                    exclude: /node_modules/,
                    use: ['raw-loader',
                        {
                            loader: 'sass-loader',
                            options: {
                                importer: nodeSassCssImporter({
                                    import_paths: []
                                })
                            }
                        }], // sass-loader not scss-loader
                }
            ]
        },
        plugins: [
            //fix some weird angular 2 error fix
            new webpack.ContextReplacementPlugin(
                // The (\\|\/) piece accounts for path separators in *nix and Windows
                /angular(\\|\/)core(\\|\/)(esm(\\|\/)src|src)(\\|\/)linker/,
                root(folder.build.browser.root), // location of your src
                { }
            ),

            new HtmlWebpackPlugin({
                template: `${rootFolder}/index.html`,
                inject: 'head'
            }),

            new ScriptExtHtmlWebpackPlugin({
                defaultAttribute: 'defer'
            })
        ]
    };
}

prod.js
const webpack = require('webpack');
const webpackMerge = require('webpack-merge');
const ExtractTextPlugin = require('extract-text-webpack-plugin');
const OptimizeCssAssetsPlugin = require('optimize-css-assets-webpack-plugin');

const root = require('corifeus-builder').config.root;
const folder = require('corifeus-builder/src/config/folder/index');

const ENV = process.env.NODE_ENV = process.env.ENV = 'production';

const AotPlugin = require('@ngtools/webpack').AotPlugin;

module.exports = (rootFolder = folder.src.root) => {
    const commonConfig = require('./common')(rootFolder, ENV);

    return webpackMerge(commonConfig, {
        devtool: 'source-map',

        output: {
            path: root(folder.build.browser.root),
            publicPath: '/',
            filename: '[name].[hash].js',
            chunkFilename: '[id].[hash].chunk.js'
        },

        plugins: [
            new AotPlugin({
                tsConfigPath: root('./tsconfig.json'),
                entryModule: 'src/angular2/application#Application'
            }),

            new webpack.DefinePlugin({
                'process.env': {
                    'ENV': JSON.stringify(ENV)
                }
            }),

            new webpack.optimize.CommonsChunkPlugin({
                name: ['bundle', /* 'vendor', 'polyfills' */],
                filename: '[name].[hash].js',
                minChunks: Infinity
            }),
            new webpack.optimize.UglifyJsPlugin({
                compress: {
                    warnings: false
                },
                // todo found out if mangle use or not
                mangle: true,
                sourceMap: false,
                comments: false,
                beautify: false
            }),
            new OptimizeCssAssetsPlugin(),
            new ExtractTextPlugin({
                filename: '[name].[hash].css',
                disable: false,
                allChunks: true
            }),
            new webpack.LoaderOptionsPlugin({
                debug: false
            }),

            new webpack.NoEmitOnErrorsPlugin(),

        ]
    })
}

You need to insantiate ExtractTextPlugin in your plugins array. adding new ExtractTextPlugin({filename: 'bundle.css'}) should make it work

Ciao!
How are you? :)))
I already have it:
new ExtractTextPlugin({
                filename: '[name].[hash].css',
                disable: false,
                allChunks: true
            }),

Still I cannot get it output.
Is it an AOT problem???
With simple JIT plus UglifyJS it works.
With AOT, it is missing my CSS, with no error.

it is in my prod.js
The common is some common info. I got the ExtractTextPlugin in my plugin. It is missing :(
Bruhuhuhuhu

After upgrading to latest the error is gone however there is still one error but that belong to @ngtools/webpack so i am closing this.
here is my confuguration
{
       test: /\.css$/,
       include: path.resolve(process.cwd(), 'src', 'app'),
       use: ['to-string-loader', 'css-loader']
    },
    {
       test: /\.css$/,
       exclude: path.resolve(process.cwd(), 'src', 'app'),
       use: ExtractTextPlugin.extract({
            fallback: "style-loader",
            use: "css-loader"
        })
    }

and plugin
new ExtractTextPlugin('styles.css')
thanks for all help .... Regards

@jorawarsingh - "After upgrading to latest the error is gone" , what latest are you talking about here. Is it webpack latest version or extract-text-webpack-plugin version. Please clarify since I am confused. I am also getting the same issue in my project when i am trying to implement AOT which was JIT before to improve appllication loading time. Help will be deeply appreciated. TIA

This thread doesn't actually have the answer anywhere or document or resolve this difficult to understand err response that many people seem to have at new ExtractTextPlugin({ but still get this error.

some times mistake in the path  template: path.join(__dirname, './src/index.html')  in webpack.js file


Feature Request: EBS Optimized pricing

Add the ability to choose between EBS Optimized pricing and regular

This could be shown as an additional column, showing the additional surcharge on top of the normal price when enabling this for certain instance types.
The data can be fetched from here

@schris403 I think an additional column is better, since you can see the difference more clearly.
I also plan to use this information on another project where I need this pricing data to solve an issue


Extension regex

Adds documentation, examples, tests for the ability to use a regex in the --extension option.

great catch, thought i'm not sure it would actually happen- but just saying that ensure it would happen.


Wrong github account listed on Hackage

Hi,
Your package.yaml file lists https://github.com/githubuser/haskseg#readme as the home page for the project, making it a bit tricky to find your way here :slightly_smiling_face: .

Thanks!  Fixed.


File System 'Jitter' Results In Many Unnecessary Rebuild Triggers

editing rst files with Vim + savevers autbackup feature
this results in a file's timestamp to be changed multiple times on each save
sphinx-autobuild is triggered by the first change -> rebuild
all subsequent file system changes are already queued and get processed -> useless rebuilds
proof of concept quick and dirty hack in SphinxBuilder.call:

remember time of last call to build()
don't retrigger if delta below a certain threshold (5 seconds?)

this cures the problem, but I think this could be more cleanly addressed in the file system watchdog layer

--ignore argument resolves this I believe.

I think I have the same problem when using git:

all subsequent file system changes are already queued and get processed -> useless rebuilds

Whenever I switch branches I get a new sphinx build for each changed file into the queue, but I only need one single rebuild of the docs. Neither --delay nor --poll seem to help with this, I was hoping that polling would disable inotify (which I assume is used), and I was hoping that delaying would result in only the top queued rebuild being triggered.
If you need help fixing this please let me know, I use sphinx-autobuild on multiple projects and seem to face this everywhere.

you git repo can be excluded using -r?

From: Nicolas Kuttler<EMAIL_ADDRESS>Sent: Sunday, August 4, 2019 1:26 AM
To: GaretJax/sphinx-autobuild<EMAIL_ADDRESS>Cc: Steve Romanow<EMAIL_ADDRESS>Comment<EMAIL_ADDRESS>Subject: Re: [GaretJax/sphinx-autobuild] File System 'Jitter' Results In Many Unnecessary Rebuild Triggers (#50)
I think I have the same problem when using git:

all subsequent file system changes are already queued and get processed -> useless rebuilds

Whenever I switch branches I get a new sphinx build for each changed file into the queue, but I only need one single rebuild of the docs. Neither --delay nor --poll seem to help with this, I was hoping that polling would disable inotify (which I assume is used), and I was hoping that delaying would result in only the top queued rebuild being triggered.
If you need help fixing this please let me know, I use sphinx-autobuild on multiple projects and seem to face this everywhere.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHubhttps://github.com/GaretJax/sphinx-autobuild/issues/50?email_source=notifications&email_token=AAATKVOXEU54A4UPXXBNWCLQCZSBDA5CNFSM4CQKRIR2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD3P2YGY#issuecomment-517975067, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AAATKVNU7POXEY4DTHYEGLLQCZSBDANCNFSM4CQKRIRQ.

Did somebody comment and delete their comment? -r doesn't solve the problem at all, excluding the repository is wrong because large parts of the sphinx documentation are docstrings and such.

I did delete my comment, I apologize.  It was redundant with the --ignore info discussed above.  I'll leave this here.

Neither --ignore nor --re-ignore seem related to the problem described here. The problem seems to be that watchdog fills up the queue with events that are irrelevant to sphinx-autobuild, and that the queue should be cleared sometimes. Otherwise sphinx-autobuild will repeat the same action with the same outcome over and over and just use up system resources.
Looking at the watchdog I couldn't find a way to do this either, so perhaps I need to find an entirely different solution to build my docs.

Definitely something that needs to be fixed.

This might be fixed by #88.
Could someone try the current master (pip install https://github.com/GaretJax/sphinx-autobuild/archive/develop.zip) and confirm whether this behavior is now fixed?

I've been using this for https://github.com/pradyunsg/furo's development and I reckon this is solved now. :)


pip requirements.txt

It would be very useful to have a requirements.txt file listing required package versions. I am currently seeing a deadlock in package versions:
ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
cbpro 1.1.4 requires six==1.10.0, but you have six 1.16.0 which is incompatible.
ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
tensorflow 2.9.1 requires six>=1.12.0, but you have six 1.10.0 which is incompatible.

Any solve to this?


Branch cuts

The spheroidal eigenvalues possess branch cuts in the complex-frequency plane (see Studies in Applied Mathematics 113, 271, 2004). The package's "SpinWeightedSpheroidalEigenvalue" seems to not only choose the branch cuts going in a direction different from the direction choice in Mathematica’s in-built “SpheroidalEigenvalue” but also it seems to jump to a branch different from Mathematica’s. See, eg, the plot attached for the eigenvalue as a function of arg(\gamma) for spin=0, \ell=1, m=0, |\gamma|=10 (blue curve is the package's "SpinWeightedSpheroidalEigenvalue" and red curve is Mathematica’s “SpheroidalEigenvalue”). It might not necessarily mean that the choices of direction and branch are wrong, but it'd be good to have control over the choices and perhaps convenient to make the same choices as Mathematica’s “SpheroidalEigenvalue”.
Plot_lambda_branch.pdf

Thanks for the report, Marc. The package has had less development for complex gamma but we're keen to implement improvements.
We should (i) check that the current version gives a correct answer (but for a different branch cut than Mathematica uses) and (ii) think about how we can implement control over which branch cut is chosen

->(i) for the examples I looked at, there was always a nearby choice of l which did match suggesting that the current version does give the right answer
(iii) Could this choice affect statements about QNMs?
(an initial survey (rather low lying modes) suggests not)

The following is an example showing this problem (taken from 0e61cfb):
Module[{l = 2, m = 2, c = 2.28831099800269655020201753359287977218627929687549.74505997240401 + 5.351950938495406262518372386693954467773437550.11405704809964 I},  {N[SpheroidalEigenvalue[l, m, c], 10],    N[SpinWeightedSpheroidalEigenvalue[0, l, m, I*c] + 2*m*I*c, 10]}]

Marc's originally reported problem was fixed in 250b0531. However, the following plots show that there are still cases where the code is suddenly jumping to a different branch: branches-2.pdf, branches-1.pdf. This does not happen with Mathematica's built-in SpheroidalEigenvalue, so we may be able to learn how to fix it by studying that (via Falloon's code). These plots were generated using the following code:
Module[{l = 2, m = 2,  c = 2.288310998002696550202017533592879772186279296875`49.74505997240401 + 5.3519509384954062625183723866939544677734375`50.11405704809964 I}, Plot[{Re[N[SpinWeightedSpheroidalEigenvalue[0, l, m, I*c Exp[I \[Theta]]] + 2*m*I*c Exp[I \[Theta]], 10]], Re[N[SpinWeightedSpheroidalEigenvalue[0, l + 1, m, I*c Exp[I \[Theta]]] + 2*m*I*c Exp[I \[Theta]], 10]], Re[N[SpheroidalEigenvalue[l, m, c Exp[I \[Theta]]], 10]]}, {\[Theta], -0.2, 0.2}, PlotTheme -> "Detailed", PlotStyle -> {Automatic, Automatic, Directive[Black, Dashed]}]]

and
Module[{l = 2, m = 2,  c = 2.288310998002696550202017533592879772186279296875`49.74505997240401 + 5.3519509384954062625183723866939544677734375`50.11405704809964 I}, Plot[{Im[N[SpinWeightedSpheroidalEigenvalue[0, l, m, I*c Exp[I \[Theta]]] + 2*m*I*c Exp[I \[Theta]], 10]], Im[N[SpinWeightedSpheroidalEigenvalue[0, l + 1, m, I*c Exp[I \[Theta]]] + 2*m*I*c Exp[I \[Theta]], 10]], Im[N[SpheroidalEigenvalue[l, m, c Exp[I \[Theta]]], 10]]}, {\[Theta], -0.2, 0.2}, PlotTheme -> "Detailed", PlotStyle -> {Automatic, Automatic, Directive[Black, Dashed]}]]


[Feature] Support parallel scan on tablet for merge/agg table

What type of PR is this：

[ ] bug
[x] feature
[ ] enhancement
[ ] refactor
[ ] others

Which issues of this PR relates：
Closes #6110.
Problem Summary：

As for parallel scan on the single tablet, it splits a key range into multiple small short key ranges. Add a new LogicalSplitMorselQueue to implement this.
Modification

MorselQueue creates multiple morsels from a tablet.
As for a tablet, it splits each key range into small short key ranges.
It uses short key blocks on the non-overlapping segments of the largest segment for the current tablet to split each key range.

run starrocks_clang-format


Compromised secret

GitHub's key scanning security feature raises the following alert for three places in this repository:
Azure Storage Account Access Key
#1
Open
GitHub detected a secret 10 hours ago · Beta Give us feedback
This secret is compromised
Anyone with read access can discover secrets exposed in this repository, potentially resulting in unauthorized access to your services.
Suggested action: If this is an active Azure Storage Account Access Key, then rotate and revoke the secret to avoid any irreversible damage.

dist/save/index.js
dist/restore/index.js
dist/restore-only/index.js
dist/save-only/index.js

For security purposes, not writing the key here.  Please contact if you need further assistance resolving this issue, or if you believe it is already resolved or a non-issue.

This is safe to ignore and might be part of some azure storage package.
I could also find this at https://learn.microsoft.com/en-us/azure/storage/common/storage-configure-connection-string .


[Admin] (quick start) Update labels and sequence of tabbed instructions in the Outlook quick start.

Docs Build status updates of commit 721d21d:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/add-ins/quick-start.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

Docs Build status updates of commit 5bb5d80:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/add-ins/quick-start.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


ebook for eShop?

Previous iterations of the eShop project for the different flavours [Web, Containers etc] had an accompanying ebook that chronicled the journey in building the project; and the architectural decisions for the choices made [it also served as a list of ADRs for the project]. Will there be something similar for eShop .net 8 which is even more expansive than the previous versions.

Duplicate: https://github.com/dotnet/eShop/discussions/107


Searching two libraries, no search actually happens.

Search finally showed status after given enough time, but no status update on UI until search % was at 10%.


The exporter exports  wrong vertex color

The vertex color of the model:

Setting the vertex color of a metallic-roughness material...

Exported result:

Related Softwares:
Blender 2.79
glTF Blender Exporter 1.0
three.js r93
blender file: vertex-color.zip

Going to mark this as a duplicate of https://github.com/KhronosGroup/glTF-Blender-IO/issues/127. I'm not entirely sure it's the same issue, but it may also relate to linear vs gamma interpolation of vertex colors — the vertices themselves all appear to have the right colors, but the faces in between blend differently. That's probably not something we can fix, but it should be minimized as long as we're handling colorspace correctly.

@donmccurdy Thanks for the information.


Add trade API connectors/actions

Would appreciate a quick review so this can be used in demos.

Retest this please

Anyone? Bueller? Bueller?

Self-merging so we get this in... Please still review if you get time and let me know if anything needs changing.


Update README with require syntax

Great module! I'm a big fan of the promise support.
This is a small change to include the require syntax for importing this module:
const Instagram = require('node-instagram').default

The inclusion of default was new to me and I wanted to help anyone else not using a module bundler save a few minutes of googling.

Coverage remained the same at 100.0% when pulling 6eaf2dc506864786e78717a05b037ff955cabb25 on danthareja:patch-1 into 91b0513627a8199b28a329e20832e3eaa2d0ea37 on pradel:master.

Thank you for the change 👍