"Out of Memory" error when running a historical backfill

When querying a contract, I discovered that a Ponder instance keeps crashing with
FATAL ERROR: Reached heap limit Allocation failed - JavaScript heap out of memory

Here's what happening I think:

The Ponder instance starts by doing the realtime catchup
After reaching the latest block, the instance tries to run the backfill of 10000 events
Event data is overflowing the instance memory, Ponder runs out of memory and restarts

I'm using Railway and Ponder 0.2.10.
To reproduce, index UserOperationEvent of the EntryPoint 0.6 contract since block 45_000_000.

Error log 1
12:38:25 AM INFO  realtime   Synced 3 matched logs from block 46473746 (network=polygonMumbai)
12:38:25 AM INFO  realtime   Synced 3 matched logs from block 46473758 (network=polygonMumbai)
12:38:25 AM INFO  realtime   Synced 2 matched logs from block 46473764 (network=polygonMumbai)
12:38:25 AM INFO  realtime   Synced 2 matched logs from block 46473789 (network=polygonMumbai)
12:38:25 AM INFO  realtime   Synced 3 matched logs from block 46473796 (network=polygonMumbai)
12:38:25 AM INFO  realtime   Synced 2 matched logs from block 46473805 (network=polygonMumbai)
12:39:06 AM INFO  realtime   Synced 2 matched logs from block 46473834 (network=polygonMumbai)
<--- Last few GCs --->
[10:0x390c7a0]   114539 ms: Mark-sweep 2007.7 (2088.8) -> 1999.8 (2093.8) MB, 1797.1 / 0.1 ms  (average mu = 0.550, current mu = 0.547) allocation failure; scavenge might not succeed
[10:0x390c7a0]   115844 ms: Mark-sweep 2013.5 (2093.8) -> 2008.4 (2101.6) MB, 1241.4 / 0.0 ms  (average mu = 0.400, current mu = 0.048) task; scavenge might not succeed
<--- JS stacktrace --->
FATAL ERROR: Reached heap limit Allocation failed - JavaScript heap out of memory
1: 0xab4728 node::Abort() [node]
2: 0x9a4839  [node]
3: 0xcc23e0 v8::Utils::ReportOOMFailure(v8::internal::Isolate*, char const*, bool) [node]
4: 0xcc27ab v8::internal::V8::FatalProcessOutOfMemory(v8::internal::Isolate*, char const*, bool) [node]
5: 0xea6cc5  [node]
6: 0xebb109 v8::internal::Heap::CollectGarbage(v8::internal::AllocationSpace, v8::internal::GarbageCollectionReason, v8::GCCallbackFlags) [node]
7: 0xf340ac v8::internal::ScavengeJob::Task::RunInternal() [node]
8: 0xb2d7c5 node::PerIsolatePlatformData::RunForegroundTask(std::unique_ptr<v8::Task, std::default_delete<v8::Task> >) [node]
9: 0xb2f512 node::PerIsolatePlatformData::FlushForegroundTasksInternal() [node]
10: 0x14e10ec06543  [/nix/store/hba5ja1cri7jd7gvw77dqxsvsccijhz8-libuv-1.46.0/lib/libuv.so.1]
11: 0x14e10ec198d5  [/nix/store/hba5ja1cri7jd7gvw77dqxsvsccijhz8-libuv-1.46.0/lib/libuv.so.1]
12: 0x14e10ec071c0 uv_run [/nix/store/hba5ja1cri7jd7gvw77dqxsvsccijhz8-libuv-1.46.0/lib/libuv.so.1]
13: 0x9dd9b3 node::SpinEventLoop(node::Environment*) [node]
14: 0xb020cb node::NodeMainInstance::Run(int*, node::Environment*) [node]
15: 0xb02508 node::NodeMainInstance::Run() [node]
16: 0xa6a7c5 node::LoadSnapshotDataAndRun(node::SnapshotData const**, node::InitializationResult const*) [node]
17: 0xa6e565 node::Start(int, char**) [node]
18: 0x14e10bdf5fce  [/nix/store/gqghjch4p1s69sv4mcjksb2kb65rwqjy-glibc-2.38-23/lib/libc.so.6]
19: 0x14e10bdf6089 __libc_start_main [/nix/store/gqghjch4p1s69sv4mcjksb2kb65rwqjy-glibc-2.38-23/lib/libc.so.6]
20: 0x9dade5 _start [node]
error: script "start" exited with code 6 (SIGABRT)

Error log 2
11:48:08 PM INFO  historical Completed sync in 512ms (network=polygonMumbai)
11:48:09 PM INFO  realtime   Synced 2 matched logs from block 46472401 (network=polygonMumbai)
11:48:09 PM INFO  realtime   Synced 2 matched logs from block 46472431 (network=polygonMumbai)
11:48:09 PM INFO  realtime   Synced 2 matched logs from block 46472436 (network=polygonMumbai)
11:48:09 PM INFO  realtime   Synced 3 matched logs from block 46472453 (network=polygonMumbai)
11:48:09 PM INFO  realtime   Synced 3 matched logs from block 46472460 (network=polygonMumbai)
11:48:09 PM INFO  realtime   Synced 2 matched logs from block 46472482 (network=polygonMumbai)
11:48:09 PM INFO  realtime   Synced 2 matched logs from block 46472485 (network=polygonMumbai)
11:48:09 PM INFO  realtime   Synced 2 matched logs from block 46472491 (network=polygonMumbai)
11:48:17 PM INFO  realtime   Synced 3 matched logs from block 46472505 (network=polygonMumbai)
11:48:49 PM INFO  realtime   Synced 3 matched logs from block 46472520 (network=polygonMumbai)
11:49:03 PM INFO  realtime   Synced 3 matched logs from block 46472527 (network=polygonMumbai)
11:49:20 PM INFO  realtime   Synced 2 matched logs from block 46472534 (network=polygonMumbai)
11:49:31 PM INFO  realtime   Synced 2 matched logs from block 46472540 (network=polygonMumbai)
11:49:41 PM INFO  realtime   Synced 2 matched logs from block 46472544 (network=polygonMumbai)

<--- Last few GCs --->
[10:0x46ec7a0]   142750 ms: Mark-sweep 2007.0 (2081.6) -> 1997.0 (2090.1) MB, 532.8 / 0.0 ms  (average mu = 0.699, current mu = 0.727) allocation failure; scavenge might not succeed
[10:0x46ec7a0]   143944 ms: Mark-sweep 2011.2 (2090.1) -> 2006.0 (2096.3) MB, 1140.9 / 0.0 ms  (average mu = 0.475, current mu = 0.044) task; scavenge might not succeed
<--- JS stacktrace --->
FATAL ERROR: Reached heap limit Allocation failed - JavaScript heap out of memory
1: 0xab4728 node::Abort() [node]
2: 0x9a4839  [node]
3: 0xcc23e0 v8::Utils::ReportOOMFailure(v8::internal::Isolate*, char const*, bool) [node]
4: 0xcc27ab v8::internal::V8::FatalProcessOutOfMemory(v8::internal::Isolate*, char const*, bool) [node]
5: 0xea6cc5  [node]
6: 0xebb109 v8::internal::Heap::CollectGarbage(v8::internal::AllocationSpace, v8::internal::GarbageCollectionReason, v8::GCCallbackFlags) [node]
7: 0xf340ac v8::internal::ScavengeJob::Task::RunInternal() [node]
8: 0xb2d7c5 node::PerIsolatePlatformData::RunForegroundTask(std::unique_ptr<v8::Task, std::default_delete<v8::Task> >) [node]
9: 0xb2f512 node::PerIsolatePlatformData::FlushForegroundTasksInternal() [node]
10: 0x1507b0e2f543  [/nix/store/hba5ja1cri7jd7gvw77dqxsvsccijhz8-libuv-1.46.0/lib/libuv.so.1]
11: 0x1507b0e428d5  [/nix/store/hba5ja1cri7jd7gvw77dqxsvsccijhz8-libuv-1.46.0/lib/libuv.so.1]
12: 0x1507b0e301c0 uv_run [/nix/store/hba5ja1cri7jd7gvw77dqxsvsccijhz8-libuv-1.46.0/lib/libuv.so.1]
13: 0x9dd9b3 node::SpinEventLoop(node::Environment*) [node]
14: 0xb020cb node::NodeMainInstance::Run(int*, node::Environment*) [node]
15: 0xb02508 node::NodeMainInstance::Run() [node]
16: 0xa6a7c5 node::LoadSnapshotDataAndRun(node::SnapshotData const**, node::InitializationResult const*) [node]
17: 0xa6e565 node::Start(int, char**) [node]
18: 0x1507ae01efce  [/nix/store/gqghjch4p1s69sv4mcjksb2kb65rwqjy-glibc-2.38-23/lib/libc.so.6]
19: 0x1507ae01f089 __libc_start_main [/nix/store/gqghjch4p1s69sv4mcjksb2kb65rwqjy-glibc-2.38-23/lib/libc.so.6]
20: 0x9dade5 _start [node]
error: script "start" exited with code 6 (SIGABRT)
$ ponder start

Via @0xOlias:

you could try to add this env var in railway:
NODE_OPTIONS=--max-old-space-size=6144

The above fixed the issue for me.
Posted here in case others would encounter it as well.


[RTU-01M] EIP-20 Discrepancy of Rebase-Based System

RTU-01M: EIP-20 Discrepancy of Rebase-Based System

Type
Severity
Location

Standard Conformity

RebaseTokenUpgradeable.sol:L200, L205, L209, L229

Description:
The RebaseTokenUpgradeable::_update function will incorrectly update its stated based on the input amount to be transferred as it will not ensure that the conversions it performs do not truncate.
In detail, it is possible for the amount emitted as being transferred in the Transfer event to be greater-than the actual amount transferred based on the RebaseTokenMath::toShares conversions of the RebaseTokenUpgradeable::_update and RebaseTokenUpgradeable::_transferableShares functions.
Impact:
A non-conformant EIP-20 token is considered a significant vulnerability as the token is meant to seamlessly interoperate with off-chain EIP-20 systems.
Example:
function _update(address from, address to, uint256 amount) internal virtual override {
    RebaseTokenStorage storage $ = _getRebaseTokenStorage();
    uint256 index = $.rebaseIndex;
    uint256 shares = amount.toShares($.rebaseIndex);
    if (from == address(0)) {
        uint256 totalShares = $.totalShares + shares; // Overflow check required
        _checkRebaseOverflow(totalShares, index);
        $.totalShares = totalShares;
    } else {
        shares = _transferableShares(amount, from);
        unchecked {
            // Underflow not possible: `shares <= $.shares[from] <= totalShares`.
            $.shares[from] -= shares;
        }
    }

    if (to == address(0)) {
        unchecked {
            // Underflow not possible: `shares <= $.totalShares` or `shares <= $.shares[from] <= $.totalShares`.
            $.totalShares -= shares;
        }
    } else {
        unchecked {
            // Overflow not possible: `$.shares[to] + shares` is at most `$.totalShares`, which we know fits into a
            // `uint256`.
            $.shares[to] += shares;
        }
    }

    emit Transfer(from, to, amount);
}

Recommendation:
We advise the code to instead convert the actual transferred shares back to the amount, emitting the Transfer event with the actual transferred amount rather than the initially desired one.

Possibly resolved in 75c3ebbbd88b8295c536059888fc538c2ceb99cd. Tests will follow.


Lazy Getters

The way graphql_flutter implements NormalizedCache would require denormalizing data on every build call, making allocations for everything under that type for fields that may not be even relevant.
Like a list of friends and respective chat history that would require denormalizing the chat history and allocate it event if I just asked for the friends names.
I would suggest using lazy getters that use their public Map<String,dynamic> interface to interact with data.
That means type generation becomes "cost free" as the compiler would remove most of the indirection it generates and wouldn't require any allocation, dereferencing, etc.
The way I'm currently dealing with it is like this:
  # addressAutosuggest: [AddressAutosuggestResponse!]!
  addressAutosuggest {
    locationName # String!
    latitude # Float!
    longitude # Float!
  }

// generated

class AddressAutosuggestAddressAutosuggestResponse {
  AddressAutosuggestAddressAutosuggestResponse(this._d);

  final Map<String, dynamic> _d;

  String get locationName => this._d["locationName"];
  double get latitude => this._d["latitude"].toDouble();
  double get longitude => this._d["longitude"].toDouble();

}

class AddressAutosuggest {
  AddressAutosuggest(this._d);

  final Map<String, dynamic> _d;

  List<AddressAutosuggestAddressAutosuggestResponse> get addressAutosuggest =>
      (this._d["addressAutosuggest"] as List)
          .map<AddressAutosuggestAddressAutosuggestResponse>(
              (dynamic addressAutosuggestResponse) =>
                  AddressAutosuggestAddressAutosuggestResponse(
                      addressAutosuggestResponse))
          .toList();

}

Hello again @lucasavila00,
That makes sense. It's not a priority, though, given this would require redoing most of the work json_serializable does.
It makes more sense to have json_serializable (or an extension to it, or another generator like it), to support this kind of lazy read, as other projects could benefit from it, instead of recreating it here.
What do you think about requesting this behavior on json_serializable, or even starting another library to do it?

I don't think there is really a need to support more than this specific use case.
Graphql-flutter may change their implementation details and then I wouldn't see a reason to mantain this bigger scoped project.
Graphql-flutter is being used in production and works fine and I don't see why Artemis couldn't support it first class.
@comigor As I believe you like Apollo API design and graphql-flutter tries to immitate it as closely as possible there isn't a conflict here.
Personally I wouldn't be interested in mantaining another package just so Artemis works for me but would be interested in helping Artemis work with my current setup.
Is there a reason not to support graphql_flutter first class?

Sure, but first-class support is different from coupling everything in one library to make another one work. Lazy fields shouldn't be Artemis responsability, but rather something it could get from json_serializable out of the box. Also, keep in mind the goal of Artemis is to be agnostic of environment (it should work with pure Dart, without `graphql_flutter).
This lazy feature is clearly some enhancement of the way json_serializable generated classes deal with data and, as I said, other projects could benefit from this laziness. That's why it seems better to have it as an option of json_serializable or as another library/generator.
If we implement this behavior on Artemis, we'd need to basicaly stop using json_serializable and write the custom class with lazy fields, is that so? Or do you have another way of doing this in mind?

In my mind I'd put the lazy getters behind a flag and almost "fork" json_serializable for our specific needs. This would allow faster development under a smaller test suite for this specific use case.
What I hadn't considered is upstreaming the feature to json_serializable.
I'll investigate if this is possible and if the project is willing to accept this addition.


Open-source license (consider MIT)

Dear @i2vec @lsh0520, please consider adding MIT license to your open-source work.
I cannot use your work without a proper license because I would be violating copyright:

Done! Thank you for your reminder.


Adding a Dockerfile for quick start

This branch adds a Dockerfile to potentially reduce friction with installing pushup.
A Makefile recipe is added to build the docker image locally until it is hosted on an image repository.
The README.md includes a quick start section to run the Pushup CLI. It mounts the current directory and runs the container with the same user/group to preserve file permissions. The Pushup CLI should be able to create the new scaffolding for a project, build it, and run it on localhost:8080.
Since the docker container is running go without the user having a home directory, it needs to set GOCACHE to use a hidden directory .cache in the mounted volume.
All feedback is welcome.

It occurred to me that a practical reason to have a Dockerfile/container image is that Pushup requires Go at runtime to compile the generated project. Someone could use the Pushup container to build their site without needing to install Go explicitly.


Document how to add SDF icons to the map with iOS

I was able to find out how this works with the help of @hactar.
You need to pass "template-rendering-intent" : "template" or  UIImage(name: "nameOfAsset").withRenderingMode(.alwaysTemplate) to the image, then you can set the color similarly to Android.

Concrete example in Kotlin (should be easy to translate to ObjC or Swift) for those who need it:
https://github.com/sargunv/maplibre-compose/blob/36568e2141a4d15d5cc4e5529b8b9f3513fcb997/lib/maplibre-compose/src/iosMain/kotlin/dev/sargunv/maplibrecompose/core/util/util.kt#L205-L213


updated acknowledgements

Fixes #  .
Description of the Change
Checklist
Please check all that apply to your proposed changes

[ ] HTML code change
[ ] Added package dependency
[ ] Added data
[ ] Changed django model
[ ] Documentation change
[ ] Added or changed TaskRunner

Additional context

@djones1040 You pulled the trigger a bit early on this one: with the new migration-based database initialization, changing the Django fixture file is insufficient; you have to also create a migration to apply that to the database. As it is, the new acknowledgements do not actually appear on the page. I have added the necessary migration script and will push the update later today.

@djones1040 See v0.9.3. To save github action minutes, I'm pushing the image built locally and tested with the "ci" Compose profile.


[bug] open("url") also opens Terminal window

Describe the bug

  import { open, Command } from "@tauri-apps/plugin-shell";
    await open("https://www.google.com");

    // await Command.create("exit").execute()

Reproduction

  import { open, Command } from "@tauri-apps/plugin-shell";
    await open("https://www.google.com");

    // await Command.create("exit").execute()

Expected behavior
open() should open just browser not also shell terminal
Full tauri info output
[✔] Environment
    - OS: Windows 10.0.26120 x86_64 (X64)
    ✔ WebView2: 128.0.2739.67
    ✔ MSVC:
        - Visual Studio Build Tools 2019
        - Visual Studio Build Tools 2022
    ✔ rustc: 1.78.0 (9b00956e5 2024-04-29)
    ✔ cargo: 1.78.0 (54d8815d0 2024-03-26)
    ✔ rustup: 1.27.1 (54dd3d00f 2024-04-24)
    ✔ Rust toolchain: stable-x86_64-pc-windows-msvc (default)
    - pnpm: 9.1.1
    - yarn: 1.22.22
    - bun: 1.1.17

[-] Packages
    - tauri 🦀: 2.0.0-rc.10
    - tauri-build 🦀: 2.0.0-rc.9
    - wry 🦀: 0.43.1
    - tao 🦀: 0.30.0
    - @tauri-apps/api : not installed!
    - @tauri-apps/cli : 2.0.0-rc.12

[-] Plugins
    - tauri-plugin-global-shortcut 🦀: 2.0.0-rc.2
    - @tauri-apps/plugin-global-shortcut : not installed!
    - tauri-plugin-shell 🦀: 2.0.0-rc.3
    - @tauri-apps/plugin-shell : not installed!
    - tauri-plugin-autostart 🦀: 2.0.0-rc.1
    - @tauri-apps/plugin-autostart : not installed!

[-] App
    - build-type: bundle
    - CSP: unset
    - frontendDist: ../build
    - devUrl: http://localhost:1420/
    - framework: Svelte

Stack trace
No response
Additional context
not always occuring just first few times when app open
No response

Can't reproduce, please provide a minimal repro, then ping me and I will take a look.


context.js updates w/ graphQL

(Tentative for #125)
@ndimatteo  this is how far I managed to get but I'm scratching my head with SiteContextProvider :(
In this current state, the project builds and deploys. But products are stuck on "loading" (see my branch preview).
I think that there's a tiny bit missing in SiteContextProvider to get this to work. I have tested all the queries and they're working.
Any insights or guidance you could provide to help me finish shipping this would be greatly appreciated 🙏

Hey there @jpvalery, I appreciate the work you put into this! I checked your branch preview, but I'm not seeing any console errors (aside from some vercel.live api calls).
It's a bit hard for me to decipher what's going on in your PR, both in terms of switching things to cart creation with graphQL as opposed to checkout creation with the buy sdk, as well as the formatting for the file being incorrect (looks like you didn't have prettier set up to match the project settings?).
I truly do not have the capacity to dig into this further right now, and like I mentioned before– I have plans to switch to hydrogen-react for managing all the cart interactions, which will remove the SiteContextProvider feature from HULL completely.
I hope you can understand, and if you are able to debug this on your own (and get the formatting fixed up), I'm happy to test and merge!

@ndimatteo you're welcome! Totally understand the lack of bandwidth 👍
Apologies for the prettier mixup. I've updated that branch to use your config.
I'll keep hacking at this in the hope I can fix it. Worst case scenario, the queries above might help your migration.

So after a lot of head-scratching, I started from scratch (no pun intended). I got something working pretty flawlessly BUT, I don't know if it should be merged as is.

I've left most of the existing code for reference and commented it out where possible.
I couldn't get the setContext to work as I wanted so I did quite a few workarounds that work for me—but unsure if you wanna use that approach yourself
On the Cart, I chose speed over quality and replaced the  by an  with the picture coming from Shopify directly

These caveats being outlined, this works: products (including bundles) can be added/updated/removed. The cart persists.

I'll leave that PR and branch available should anyone face the same issue :v:
I appreciate your availability and feedback!

please i am a starter in the web design and can i get someone to help me learn  more


Missing Public Cloud URL

URL's for government cloud include: graph.windows.net
Public URL's do not include this URL. Cx has indicated that when connecting to Public Cloud, Azure Migrate appliance also reaches out to graph.windows.net and not having this URL allowed results in connection failure.

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

ID: 7a4a21a9-fcda-355f-6668-21cd3adf25af
Version Independent ID: 659ad43a-882f-1510-36df-dd1d994b6a09
Content: Azure Migrate appliance - Azure Migrate
Content Source: articles/migrate/migrate-appliance.md
Service: azure-migrate
GitHub Login: @Vikram1988
Microsoft Alias: vibansa

@nireshb Thanks for the comment. We will investigate this issue and get back to you with an update soon.

@nireshb Could you please provide a screenshot of failure message?

Hi,
I have reached out to my customer requesting.
Thanks
Nireshen
Get Outlook for iOShttps://aka.ms/o0ukef

From: SadiqhAhmed-MSFT<EMAIL_ADDRESS>Sent: Tuesday, December 8, 2020 6:23:25 PM
To: MicrosoftDocs/azure-docs<EMAIL_ADDRESS>Cc: nireshb<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>Subject: Re: [MicrosoftDocs/azure-docs] Missing Public Cloud URL (#67306)
@nireshbhttps://github.com/nireshb Could you please provide a screenshot of failure message?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/MicrosoftDocs/azure-docs/issues/67306#issuecomment-740734599, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AG5IUOR3HUOVBYQLSVDDSS3STZHH3ANCNFSM4URZW73A.

Hi,
List of URLs customer saw on their proxy.
<EMAIL_ADDRESS>Thanks
Nireshen
From: Nireshen Beerbul<EMAIL_ADDRESS>Sent: Tuesday, 08 December 2020 19:29
To: MicrosoftDocs/azure-docs<EMAIL_ADDRESS>MicrosoftDocs/azure-docs<EMAIL_ADDRESS>Nireshen Beerbul<EMAIL_ADDRESS>Cc: Mention<EMAIL_ADDRESS>Subject: [EXTERNAL] Re: [MicrosoftDocs/azure-docs] Missing Public Cloud URL (#67306)
Hi,
I have reached out to my customer requesting.
Thanks
Nireshen
Get Outlook for iOShttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Faka.ms%2Fo0ukef&data=04|01|nireshb%40microsoft.com|b33d307487854b9d5f5c08d89b9ec72f|72f988bf86f141af91ab2d7cd011db47|1|0|637430453536929588|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=Zp3%2B9OmO%2BhYaxftQf87mJD1FknZeRNLXmwkxrrqzZxY%3D&reserved=0

From: SadiqhAhmed-MSFT <notifications<EMAIL_ADDRESS>Sent: Tuesday, December 8, 2020 6:23:25 PM
To: MicrosoftDocs/azure-docs <azure-docs<EMAIL_ADDRESS>Cc: nireshb <nireshen<EMAIL_ADDRESS>Mention <mention<EMAIL_ADDRESS>Subject: Re: [MicrosoftDocs/azure-docs] Missing Public Cloud URL (#67306)
@nireshbhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnireshb&data=04|01|nireshb%40microsoft.com|b33d307487854b9d5f5c08d89b9ec72f|72f988bf86f141af91ab2d7cd011db47|1|0|637430453536929588|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=pwJp%2FMCTGZIB%2FP5CuaflSSP4BAxCIozbY16baEP6MI0%3D&reserved=0 Could you please provide a screenshot of failure message?

You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FMicrosoftDocs%2Fazure-docs%2Fissues%2F67306%23issuecomment-740734599&data=04|01|nireshb%40microsoft.com|b33d307487854b9d5f5c08d89b9ec72f|72f988bf86f141af91ab2d7cd011db47|1|0|637430453536939549|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=XZc5zZrfg9MYhXq0EQUKz2Z6Wx9NSlvxWC9MTn0ZWwo%3D&reserved=0, or unsubscribehttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAG5IUOR3HUOVBYQLSVDDSS3STZHH3ANCNFSM4URZW73A&data=04|01|nireshb%40microsoft.com|b33d307487854b9d5f5c08d89b9ec72f|72f988bf86f141af91ab2d7cd011db47|1|0|637430453536939549|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=c%2Bmd%2FepT1wfxYvzRzvmr3KTorlaStLsOJIDKFF5LlFY%3D&reserved=0.

@nireshb Please post snippet, the image you shared isn't opening.
FYI: As mentioned in the Public URLs documentation for appliance, customer needs to allow access to *.windows.net which includes the graph.windows.net already. Let us know if the customer is still facing any issue.

Thanks for the update - cx felt that *.windows.net was too permissive and didn’t configure.
You are correct and so are the docs - the public url detailed covers graph.
Get Outlook for iOShttps://aka.ms/o0ukef

From: SadiqhAhmed-MSFT<EMAIL_ADDRESS>Sent: Wednesday, December 9, 2020 8:53:12 AM
To: MicrosoftDocs/azure-docs<EMAIL_ADDRESS>Cc: nireshb<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>Subject: Re: [MicrosoftDocs/azure-docs] Missing Public Cloud URL (#67306)
@nireshbhttps://github.com/nireshb Please post snippet, the image you shared isn't opening.
FYI: As mentioned in the Public URLshttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Fmigrate%2Fmigrate-appliance%23public-cloud-urls&data=04|01|Sadiqh.Ahmed%40microsoft.com|7987646ae877427f5fd408d89bfbe975|72f988bf86f141af91ab2d7cd011db47|1|0|637430853663378834|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=rOoWM6t%2B6AAQYeF922OIPh07%2FdwIlIBiVP9OVaj9KeQ%3D&reserved=0 documentation for appliance, customer needs to allow access to *.windows.net which includes the graph.windows.net already. Let us know if the customer is still facing any issue.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/MicrosoftDocs/azure-docs/issues/67306#issuecomment-741573524, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AG5IUOSB5VWRPKEXH7H7T4TST4NFRANCNFSM4URZW73A.

@nireshb Thanks for confirming. We will now proceed to close this thread. If there are further questions regarding this matter, please tag me in your reply. We will gladly continue the discussion and we will reopen the issue.


Add MSYS2 jobs to continuous integration workflows

In this PR, MSYS2 jobs are added to the Implementation and Processor workflows. In both cases, tools are installed on MINGW32 and MINGW64. In the Processor workflow, the VUnit testbench is executed. In the Implementation workflow, examples are synthesised.
I believe these jobs are useful for didactic purposes, since they show how Windows users can install and use the tools, for either simulation or synthesis. In fact, this is how I use NEORV32. Moreover, these jobs are are also useful for detecting regressions issues on Windows. However, they can be considered redundant, since the tasks are the same as the ones executed on containers.
Therefore, I think it might be interesting to either:

reduce the number of examples that are tested on MSYS2.
or, create an specific workflow for MSYS2, including both implementation and processor jobs, which is executed periodiocally (maybe once a week?).

@stnolting, what do you think?
edit
See execution: https://github.com/umarcor/neorv32/actions/runs/929208199 and https://github.com/umarcor/neorv32/actions/runs/929208200.

That's really great! Especially for Windows fanboys like me 😅

or, create an specific workflow for MSYS2, including both implementation and processor jobs, which is executed periodiocally (maybe once a week?).

Even though I like having "all in one place" I think you are right regarding a new/specific workflow. 🤔

Done. The Windows workflow will be executed one a week, manually (through workflow_dispatch) or when new commits are pushed to master.

Wow, the matrix job is really great! :+1:

Maybe we should use a specialized trigger or even just a manual trigger. I don't think it is required to run this on every new commit. The "Implementation" workflow seems sufficient to test if rtl modifications do still run.
What do you think?

Yeah. Up to you. The workflow dispatch and the weekly cron job  are enough. I added the push event so that you could see it run and decide what to do.


extend and to_interval_set panic if input isn't sorted

Minimal working example:
use gcollections::ops::*;
use interval::interval_set::*;
use interval::interval::*;

fn main() {
    let pairs = vec![
        (2, 6),
        (1, 5),
    ];

    // panic #1 happens here
    let panic1 = pairs.clone().to_interval_set();

    let mut panic2 = IntervalSet::empty();
    // panic #2 happens here
    panic2.extend(pairs.iter().map(|pair| pair.to_interval()));

    println!("{}", panic1);
    println!("{}", panic2);
}

If you run this example, you'll see that you get a panic from the call to to_interval_set. If you comment out that line, you'll find a second panic caused by the call to extend.
I implied in the issue title that the input needs to be sorted, but actually that's not exactly right. The first element of the pairs needs to be sorted, but the second elements can come in any order - so vec![(1, 6), (1, 4)] will not cause a panic, but vec![(6, 1), (4, 1)] would.
I've had a look into the source, and it seems that to_interval_set iterates through it's argument, each time calling extend to insert the elements. So the issue is that that calling to_interval_set on a Vec<(Bound, Bound)> (or calling extend on an iterator) ends up calling the internal function join_or_push which expects the first elements to come in order.
I'd be happy to attempt to put together a PR to fix this if that would be welcome?

@ptal ah yes, I got so caught up in digging into the code that I almost forgot we're working with intervals and gave a strange example of vec![(6, 1), (4, 1)]. I'll work on a PR, try to get something reasonable put together in the next few days.
From skimming the codebase it seemed like extend was only used in two places - exposed as part of the public interface, and then called in the implementation of to_interval_set. In any case, perhaps it would be best to have an internal helper function (call it something like extend_unsafe) which does what the current extend function does (so it does no sorting, it relies on the invariant being upheld of the elements being in the right order). Then the user-facing functions extend and to_interval_set could do a sort and then call extend_unsafe to do the rest.

Fixed by #26


Drop titles of reply needs in favor of first text (in request/connection message)

Instead of:

Do:

I think this would help people recognizing the conversation. We might ignore new-lines for the text-snippet and just crop after a set number of characters (or replace newlines with "<first line> // <second line>" or any other similar typographic measure). We could also use the latest chat-message, but that one will probably change quite often making memorization harder. On the other hand though, it will probably be related to the most recent thing ppl might remember about that conversation.

i would even go as far as to say we should show the last message (includes the connect message as well) instead of the counterpart need title

result of offline discussion: the last renderable message. which currently means the last message with won:hasTextMessage. In the future we might need components/functions that render a line of text from any of the arbitrary message types we might have (e.g. location => address-string)

we also can't forget to call "connections__showLatestMessages" otherwise the connection might not have any loaded messages yet (especially when reloading the page)
also try to prefix the message with You: and Them: depending on the originator of the message

hm, that's a problem. showLatestMessages has a rather large performance cost. so basically the server would need to pass this along with the connection. or there needs to of batch-loading all latest events for all connections in one roundtrip.

I like the direction this is taking but I think it's a marginal improvement - something we should leave for later. It opens a few new problems we don't know how to solve yet, and for the time being, we need to focus on things happening earlier in the user flow, such as search vs is/seeks

@fkleedorfer i do not agree that this will only be a marginal improvement, as this would fix the issue #1790 as well, since we do not parse any connection message after a login and that results into the user not knowing that anything has happened in the conversation (especially a problem if the user has plenty of needs)


"quick starts" -> "quickstarts"

Consistency

@andresnava : Thanks for your contribution to the Azure documentation! The author, @kamathsun, has been notified to review your proposed change.

#sign-off

#sign-off


Add configure

Use vcloud configure to generate your global Vagrantfile snippet with your vCloud settings.

Sorry, wrong target repo.


fix(local-proxy): don't perform version check from CI

WIP

(closing, made a mess due to the github outage just now :/ )


Delay service restart time to not trigger as quickly

I am running into an issue where I need RabbitMQ running for my service. The issue is even if I require RabbitMQ as a startup service for my worker, I still have an issue where RabbitMQ is not stable in that amount of time and my service crashes. With slightly slower restarts my service is able to start successfully once RabbitMQ stabilizes.

I certainly would not have my service restart being delayed only for one specific use case. Some may have a timer to check the service after restart which might break due to the forced delay. If you need that, make it configurable, but keep this setting off by default.

Uhm right. Sorry my bad. The default value is 100ms which can cause the error counter to reach the limit pretty fast if your service fails fast. Setting the restart value to something reasonable (like in your case) helps.
I would still recommend to make this value configurable and leave it at its default value if not configured.

I am okay with making it configurable, @crohr do you have any preference on how I would go about implementing that?

Our team has since since solved this in my application by making it more resilient to failures on initial startup. With that said, this feature may still be useful for some people, would there be interest in this PR still or should I just close it?


Reading Text Via Code Binding

Would have been nice to have a blurb about how to get the text from the text box into Code Behind because it is not obvious to new UWP developers.

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

ID: f0f75576-743f-742f-17a7-4db97dd52f2a
Version Independent ID: ee00014e-f666-fb6e-d0da-29a38d6d2f00
Content: Text box - Windows UWP applications
Content Source: windows-apps-src/design/controls-and-patterns/text-box.md
Product: uwp
GitHub Login: @jwmsft
Microsoft Alias: jimwalk

hi @jsmcneal : topic has been updated with a new snippet.


3.5.0 regression - cannot compile with -Werror -Wextra

Describe the bug
Compiling anything including zephyr/net/wifi.h on zephyr 3.5.0 with -Werror -Wextra fails to compile. This worked on 3.4.0.
To Reproduce
Steps to reproduce the behavior:

Add #include <zephyr/net/wifi.h> to samples/net/wifi/src/wifi_test.c
Add target_compile_options(app PRIVATE -Werror -Wextra) to samples/net/wifi/CMakeLists.txt
Attempt to compile the sample

Logs and console output
In file included from zephyr/samples/net/wifi/src/wifi_test.c:8:
zephyr/include/zephyr/net/wifi.h:59:1: error: type qualifiers ignored on function return type [-Werror=ignored-qualifiers]
   59 | const char *const wifi_security_txt(enum wifi_security_type security);
      | ^~~~~
zephyr/include/zephyr/net/wifi.h:76:1: error: type qualifiers ignored on function return type [-Werror=ignored-qualifiers]
   76 | const char *const wifi_mfp_txt(enum wifi_mfp_options mfp);
      | ^~~~~
zephyr/include/zephyr/net/wifi.h:98:1: error: type qualifiers ignored on function return type [-Werror=ignored-qualifiers]
   98 | const char *const wifi_band_txt(enum wifi_frequency_bands band);
      | ^~~~~
zephyr/include/zephyr/net/wifi.h:142:1: error: type qualifiers ignored on function return type [-Werror=ignored-qualifiers]
  142 | const char *const wifi_state_txt(enum wifi_iface_state state);
      | ^~~~~
zephyr/include/zephyr/net/wifi.h:168:1: error: type qualifiers ignored on function return type [-Werror=ignored-qualifiers]
  168 | const char *const wifi_mode_txt(enum wifi_iface_mode mode);
      | ^~~~~
zephyr/include/zephyr/net/wifi.h:200:1: error: type qualifiers ignored on function return type [-Werror=ignored-qualifiers]
  200 | const char *const wifi_link_mode_txt(enum wifi_link_mode link_mode);
      | ^~~~~
zephyr/include/zephyr/net/wifi.h:219:1: error: type qualifiers ignored on function return type [-Werror=ignored-qualifiers]
  219 | const char *const wifi_ps_txt(enum wifi_ps ps_name);
      | ^~~~~
zephyr/include/zephyr/net/wifi.h:233:1: error: type qualifiers ignored on function return type [-Werror=ignored-qualifiers]
  233 | const char *const wifi_ps_mode_txt(enum wifi_ps_mode ps_mode);
      | ^~~~~
zephyr/include/zephyr/net/wifi.h:276:1: error: type qualifiers ignored on function return type [-Werror=ignored-qualifiers]
  276 | const char *const wifi_twt_operation_txt(enum wifi_twt_operation twt_operation);
      | ^~~~~
zephyr/include/zephyr/net/wifi.h:289:1: error: type qualifiers ignored on function return type [-Werror=ignored-qualifiers]
  289 | const char *const wifi_twt_negotiation_type_txt(enum wifi_twt_negotiation_type twt_negotiation);
      | ^~~~~
zephyr/include/zephyr/net/wifi.h:312:1: error: type qualifiers ignored on function return type [-Werror=ignored-qualifiers]
  312 | const char *const wifi_twt_setup_cmd_txt(enum wifi_twt_setup_cmd twt_setup);
      | ^~~~~
zephyr/include/zephyr/net/wifi.h:397:1: error: type qualifiers ignored on function return type [-Werror=ignored-qualifiers]
  397 | const char *const wifi_ps_wakeup_mode_txt(enum wifi_ps_wakeup_mode ps_wakeup_mode);
      | ^~~~~
cc1: all warnings being treated as errors
ninja: build stopped: subcommand failed.
FATAL ERROR: command exited with status 1: /usr/bin/cmake --build zephyr/samples/net/wifi/build

I would imagine this is a compile configuration we want to always enable and support on incoming MRs as part of the safety and security WG efforts.


create a prow job for release-0.3 and release-0.4 branches

/kind cleanup
What happened?
create a prow job for release-0.3 and release-0.4 branches
location: https://github.com/kubernetes/test-infra/tree/master/config/jobs/kubernetes-sigs/ibm-powervs-block-csi-driver
What you expected to happen?
How to reproduce it (as minimally and precisely as possible)?
Anything else we need to know?:
Environment

Kubernetes version (use kubectl version):
Driver version:

/cc @yussufsh

/assign

/close


Fides Consent Banner (POC)

Code Changes

[X] Render a basic consent banner via Fides.banner()
[X] Add support for banner options via Fides.banner(options)
[X] Add basic styles for banner that support customization with CSS
[X] Skip banner initialization when fides_consent cookie exists on device
[X] Support accept all / reject all choices and save the fides_consent cookie
[ ] Save consent preferences to Fides API when a banner choice is made
[X] Support using a geolocation API to only enable banner in certain countries
[X] Add Cypress tests for all functionality

Steps to Confirm

[X] Run all Privacy Center Cypress tests with npm run cy:run
[X] Run npm run dev and load http://localhost:3000/fides-consent-demo.html to try it out

Pre-Merge Checklist

[ ] All CI Pipelines Succeeded
Documentation:

[ ] documentation complete, PR opened in fidesdocs
[ ] documentation issue created in fidesdocs

[X] Issue Requirements are Met
[ ] Relevant Follow-Up Issues Created
[ ] Update CHANGELOG.md

Description Of Changes
In the coming months we'd like to extend the Fides Privacy Center outward by supporting a consent banner that users can add to their website to prompt users for consent. This is particularly important for "opt-in" consent options, like tracking cookies for the ePrivacy Directive or GDPR!
This banner is a basic proof-of-concept to see how we might extend fides-consent.js with this functionality. Here's a quick Loom showing it in action:
https://www.loom.com/share/9cb6774142d6449f8f16f684dd2ade6d
...and a screenshot of it on our very basic demo site:

Closing this for now - helpful feedback here, as well as on this other POC branch: https://github.com/ethyca/fides/compare/ssangervasi/cookie-banner-preact
I think the right next steps for this would be:

Design doc for the overall banner implementation
Refactor this solution to extract all the "stateful" cookie manipulation out of banner() and into fides-consent.ts (e.g. remove the code smell of passing around the defaults/etc.
Swap out the banner DOM code with a clean interface with a render() entrypoint and a handful of callbacks
Swap in a Preact-based banner implementation instead
Measure and report on bundle size
etc.


Feature: Pull to refresh in the Explore section of the commons app

Summary:
It would be nice to have a pull to refresh feature in the explore section of the app.
Would you like to work on the issue?
Yes.

I personally don't think this is necessary? There's only a very low chance for items in Explore to change in the span of time that the user is browsing them, and they auto-refresh in between app sessions.
Either way, I'm happy to keep this issue around, but please be aware of the rules re: new contributors being required to work on "bug" and "good first issue" issues for their first 5 contributions. :) https://github.com/commons-app/apps-android-commons/wiki/Volunteers-welcome!

@nicolas-raoul I would like to work on this issue, IF you actually want this feature to be implemented then assign me otherwise close this issue

There might be cases where it is useful, for instance for currently happening events, or when someone just posted in a category or depiction or with some keywords and want to see their upload appear. Still very low priority, so better work on a bug Rishav, it would be more impactful in my opinion :-)


TypeScript and TSX files are showing up as Visual C# files

In VS, if you do add a new file use Add New Item, go to Scripts, you'll see TypeScript and TypeScript Jsx file listed as Visual C# files.
Shouldn't these at least be something like JavaScript files?

Is this just keyed off project type (csproj) or something?

They are in the Visual C# category because the project you're adding them to is a C# project, you see the same for CoffeeScript/JavaScript. This is not ideal, but we don't have any control over how this is displayed in the New Item Dialog.


 :)

This alone doesn't seem to fix it, so there may indeed be a syntax error. It seems to die in an earlier loop before reaching my own obviously broken code.

Since I can no longer reproduce, I suspect it's something to do with the waiting for players to join game start dialog. Looks like it's an undefined variable being used as an array/object. Anyway, this for PR as it is probably isn't needed - I see prototype has added an each method to the array prototype.

I think I'm losing it.
TypeError: BOSS_DISABLED_ABILITIES.each is not a function

FYI, this was my first attempt to rebase a branch in git. If there are no problems I'll attempt the same with #60 that's been getting more difficult to merge with upstream.

Can we get this tested?

Without looking up the documentation for either each or forEach (so I'm not sure why the change is needed), I can tell you that this seems to work (Chrome) visually. Plus:
Ran a test script in the console:
var BOSS_DISABLED_ABILITIES = ['MORALE_BOOSTER', 'GOOD_LUCK_CHARMS', 'TACTICAL_NUKE', 'CLUSTER_BOMB', 'NAPALM', 'CRIT', 'CRIPPLE_SPAWNER', 'CRIPPLE_MONSTER', 'MAX_ELEMENTAL_DAMAGE', 'REFLECT_DAMAGE','THROW_MONEY_AT_SCREEN'];
var test_each = [];
var test_forEach = [];
BOSS_DISABLED_ABILITIES.each(function(t){test_each.push(t);});
BOSS_DISABLED_ABILITIES.forEach(function(t){test_forEach.push(t);});
JSON.stringify(test_each)==JSON.stringify(test_forEach);
And got true, showing that at least 2 of the each/forEach changes work as expected.
Also tossed a console.log after the 3rd each/forEach, and the log displayed the same loot before and after implementing these changes.
Seems fine by me, at least in Chrome.

[].each is not a standard EcmaScript feature, I believe it only happens to work because the prototype.js library is adding it. What I know for certain is that when combined with #60, .each fails with a TypeError every time.

Makes perfect sense.
forEach is, at least for me, performing exactly as expected.

Looks good.


Take metadata from jpg to tiff

I'm trying to convert a input.jpg into output.tiff and take over the original metadata from input.jpg using withMetadata().
But only the output.jpg contains the original metadata but not the output.tiff (it contains only a few new data).
Is it not possible to take metadata from a jpg-file over to a tiff-file?
I'm using the following code with exiftool-vendored to extract the exif data.
const sharp = require('sharp');
sharp.cache(false);     // No cacheing from sharp for files
const exiftool = require("exiftool-vendored").exiftool

// Original exif data
exiftool
.read("D:\\temp\\input.JPG")
.then(tags => {
  console.log('EXIF Data ORIGINAL -----------------------')
  console.log(tags)
})

// Save with metadata JPG
sharp("D:\\temp\\input.JPG")
.withMetadata()
.jpeg({
  quality: 100,
})
.toFile("D:\\temp\\output.JPG")
.then(data => {
  console.log('Save output.JPG');
  exiftool
  .read("D:\\temp\\sharpWithMetadata.JPG")
  .then(tags => {
    console.log('EXIF Data JPG -----------------------')
    console.log(tags)
  })
})

// Save with metadata TIFF
sharp("D:\\temp\\input.JPG")
.withMetadata()
.tiff({
  compression: 'lzw',
  quality: 100,
})
.toFile("D:\\temp\\sharpWithMetadata.TIFF")
.then(data => {
  console.log('Save output.TIFF');
  exiftool
  .read("D:\\temp\\output.TIFF")
  .then(tags => {
    console.log('EXIF Data TIFF -----------------------')
    console.log(tags)
  })
})

Hi, libvips does not currently support EXIF in TIFF files. There's been some discussion previously at https://github.com/libvips/libvips/issues/332 that suggests it is not straightforward to support.

Hi, libvips does not currently support EXIF in TIFF files. There's been some discussion previously at https://github.com/libvips/libvips/issues/332 that suggests it is not straightforward to support.

Hi lovell ok thanks for your answer. I'm experimenting now to use either rawtherapee, gimp or darktable as child process because they can handle EXIF data and also 16 or even 32-bit TIFFs and RAW images.

Hi lovell ok thanks for your answer. I'm experimenting now to use either rawtherapee, gimp or darktable as child process because they can handle EXIF data and also 16 or even 32-bit TIFFs and RAW images.


Fix broken docs link

Previously the link to someWhere(predicate) was pointing to /docs/api/ShallowWrapper/someWHere.md.
I have changed to /docs/api/ShallowWrapper/someWhere.md.

:+1:


[FEATURE REQ] Bring back the TableEntityAdapter for Azure.Data.Tables

Library name
Azure.Data.Tables
Please describe the feature.
In the "old" SDKs such as Microsoft.WindowsAzure.Storage.Table, there was a class called TableEntityAdapter which implemented the ITableEntity interface and allowed to write and read any POCO (given some restrictions on property types are met) without having the POCO implement ITableEntity itself. See https://github.com/Azure/azure-storage-net/blob/07d66a4917ab03cb5e7262774235d2d2f7e65752/Lib/Common/Table/TableEntityAdapter.cs
As of now, I don't see any replacement for this in the new Azure.Data.Tables SDK.
The background for this request is that I'd like to define my storage entities without requiring them to have a dependency on the Azure.Data.Tables SDK.

Thank you for your feedback.  Tagging and routing to the team member best able to assist.

I would like to see this done in a way that continues to allow for the independent use of the "Flatten" and "ConvertBack" functionality.  For my use, I find it simpler to use the EntityPropertyConverter functionality without use of the TableEntityAdapter.

Any update on this? At the moment you still have to implement ITableEntity in your class...

We're considering this feature for next semester.

You can use Flatten and ConvertBack methods directly via this nuget https://www.nuget.org/packages/ObjectFlattenerRecomposer.Core
This updated version also supports collection type properties and othe unsopported types in the azure sdk.


Special case the Next.js callback URL on qs download [CLI-111]

Description

When the stack is Next.js, checks if the callback URLs contain http://localhost:3000/api/auth/callback. If not, prompts to add that URL to the callbacks while keeping http://localhost:3000 for the rest of the URLs.
Fixes the previous logic which would not prompt if any of the URLs were set. This would be the case for Next.js, if the user created the app with the CLI and added the default suggested callback URL (http://localhost:3000).
Fixes the previous logic in the case of SPAs which would not prompt to add the allowed origin and allowed web origins URLs if the callback or logout URLs were set.
Also hides the cursor when the spinner is active.

References
Fixes https://github.com/auth0/auth0-cli/issues/200
Testing

[ ] This change adds test coverage for new/changed/fixed functionality

Checklist

[ ] I have added documentation for new/changed functionality in this PR or in auth0.com/docs
[x] All active GitHub checks for tests, formatting, and security are passing
[ ] The correct base branch is being used, if not master

Thanks for the reviews!


[Surgebinding] Shardblades unique to player

I would like living shardblades to be unique to the player. This could be unique on a per-save basis, or you get the same designs across all saves.
Things to consider that could change the design:

Player UUID
World UUID(?)
Spren Radiant Order
(some way of distinguishing between spren of the same order?)

Visuals that could change:

Blade
crossguard
handle
pommel

Stats changing was also suggested, but may be more difficult compared to changing the model designs.

In way of kings prime, the shard blades shifted to match the wielder, if you were to lose your bond to one and then bond a new one, it would shift to match and you wouldn't be able to tell the difference between the two. While WOK prime isn't Canon, I do like the idea of a similar mechanism if it is not too difficult and feels it could work.

My thinking is it might be easiest for the Shardblade design to be the same across all saves

I'd really rather not have the same shardblade design across all my saves unless I was also able to customize it to whatever I wanted. What if I got a really bad design, or just one that I personally don't like? I do really like the idea of procedural generated shardblades, but only if it meant you got to customize all the model parts.
My idea is to have a typical procedural algorithm in the mod that determines a players 'default' sword, also tied to their UUID, and then allow players to customize their sword per world. The design they choose would be saved locally rather than on a remote server.
As for stat changing... I don't need to tell you my thoughts on RNG based per player advantages.

Hi. You have misunderstood a couple things.
A living blade is already able to transform. It won’t be a big deal to have it look different. But this is the default look of the Spren as a blade, which you did figure out. But having a set look on any dead shardblades is important to me.
You’re also putting too much emphasis on any supposed advantages that a given design might have. I was thinking the difference between a vanilla axe and a vanilla sword. Different swing speeds and damage, but comparable and not really better dps over each other.
thanks.

Ah I understand. Carry on then.


Disable landscape orientation for startup screen

Jira: https://openedx.atlassian.net/browse/MA-2703

@BenjiLee @danialzahid94 Please review.

Current coverage is 43.85% (diff: 100%)

Merging #781 into master will increase coverage by <.01%

@@             master       #781   diff @@
==========================================
  Files           356        356
  Lines         25253      25257     +4
  Methods           0          0
  Messages          0          0
  Branches          0          0
==========================================
+ Hits          11073      11077     +4
  Misses        14180      14180
  Partials          0          0

Powered by Codecov. Last update 3cdfaf9...c662258

👍

👍


WHAT about the lifecycle and the future of Material MWC ??

I don't get what is actually the roadmap about Material MWC ?? ... I'm not longer confident to use this design layout at thte base of my WebApp ! It's logn time we're waiting the 1.0.0 release or news about ....

Thanks for reaching out and for providing feedback - I will communicate this to the team. #2441 has more details about what's on the horizon for our roadmap, and while there isn't too much detail right now we hope that there will be updates to share soon (and they will likely be posted in that thread). Apologies and thanks in advance for your patience.


Add error clause result of rollback in multi trans

This PR adds a clause to manage errors on a failing nested rollback.

https://github.com/elixir-ecto/ecto/issues/2862

Unfortunately I don't think we should allow someone to rollback from inside a multi. The multi is about using explicit flow-control instead of non-local returns (throws). We could maybe catch the {:error, _} and raise a nice error message but I don't think we should support it. Thoughts?

Yeah, that would make sense too - provide a nice error message telling explicit rollbacks are not supported when using Multi - I'm fine with that.

Hi guys!  The issue reported seems that the user wasn't doing an explicit rollback, but something inside a Muli.run was triggering it.  The test is trying to reflect the issue but explicitly.

@ramortegui I agree and they should stop doing that. :) Maybe a better error message can help them spot the error.

Looking at the source code has been fun. I was trying to introspect the anonymous function to get something from it, but after reading a couple of blogs seems not possible. The latest commit is about raising an exception displaying the operation that doesn't match with the returns from Multi.__apply__/4.  The exception is Ecto.LocalReturnsNotSupportedOnMulti, but I'm not sure if this needs to be more general.


Color visited links in Hacker News

Makes visited links easier to visually filter out

Thank you very much, that's a great addition! However, there were two small issues for me personally:

The color is not accessible (insufficient contrast ratio)
I want to keep the regular link color within the header

I've applied both changes here: 4e6a1648369192e61c438e64edc7eccf7926653e

Thanks for the correction! Glad you found the idea useful 🙂


[SPARK-5751] [SQL] [WIP] Revamped HiveThriftServer2Suite for robustness

NOTICE Do NOT merge this, as we're waiting for #3881 to be merged.
HiveThriftServer2Suite has been notorious for its flakiness for a while. This was mostly due to spawning and communicate with external server processes. This PR revamps this test suite for better robustness:

Fixes a racing condition occurred while using tail -f to check log file
It's possible that the line we are looking for has already been printed into the log file before we start the tail -f process. This PR uses tail -n +0 -f to ensure all lines are checked.

Retries up to 3 times if the server fails to start
In most of the cases, the server fails to start because of port conflict. This PR no longer asks the system to choose an available TCP port, but uses a random port first, and retries up to 3 times if the server fails to start.

A server instance is reused among all test cases within a single suite
The original HiveThriftServer2Suite is splitted into two test suites, HiveThriftBinaryServerSuite and HiveThriftHttpServerSuite. Each suite starts a HiveThriftServer2 instance and reuses it for all of its test cases.

TODO

[ ] Starts the Thrift server in foreground once #3881 is merged (adding --foreground flag to spark-daemon.sh)

Test build #27835 has started for   PR 4720 at commit 6f14eb1.

This patch merges cleanly.

Test build #27835 has finished for   PR 4720 at commit 6f14eb1.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/27835/
Test PASSed.

@JoshRosen Using another Future to check whether the server process ends prematurely is not doable, because the Thrift server is started by spark-daemon.sh, which is asynchronous. Basically there are several cases that may fail the test suites:

Server fails to start because of port conflict
Server fails to start because of misconfigured classpath (e.g. datanucleus jars not found, etc.)
Server fails to start because another server instance was started within the same Spark home directory.
Server instance killed by kill -9
Log file missing or mark lines not found, thus causes time out

According to prior experiences, 1, 2 and 5 are most commonly seen, while 3 and 4 were not observed. In the case of 1 and 2, server instance stops gracefully and print related log lines. 5 is now fixed by the tail -n +0 -f trick. Log4j.properties issues similar to the previous jets3t case should be fixed separately. Thus I chose to check for specific log line to see whether the server instance ends prematurely.
Reusing the same server instance within a test suite also reduces undesired flakiness.

Using another Future to check whether the server process ends prematurely is not doable, because the Thrift server is started by spark-daemon.sh, which is asynchronous.

@liancheng Do you think that the foreground option proposed in #3881 could make this easier to test by removing a layer of indirection and asynchrony?  I guess we probably want to target this fix for multiple branches to decrease the overall flakiness, so we'd have to port that other patch, too.

@JoshRosen That's a good idea! Actually the first version of start-thriftserver.sh runs in foreground, and HiveThriftServer2Suite was also much simpler (without the log tailing part). Do you think we should wait for #3881 or merge this PR first and then port to #3881?

If it won't take too much time, I suppose it would be cleaner to add the foreground flag and merge that other PR into all of the maintenance branches.  We can always re-open our own PR to add the foreground flag if you want to move that along faster.

@JoshRosen OK agree, then let's get #3881 merged first.

Added WIP tag in the PR description so that this PR won't be merged prematurely by accident.

@JoshRosen Just saw 3 more build failures because of HiveThriftServer2Suite. According to @andrewor14's statistics result, this is currently the No. 1 flaky test that causes many unnecessary build failures. I think we should merge this first in the sake of saving developer time.

Observed several HiveThriftServer2Suite failures on Jenkins due to too strict timeout. According to the test failure output, everything went fine before the future hit its timeout. Relaxed from 1 minute to 2 minutes.

Test build #27890 has started for   PR 4720 at commit d6c80eb.

This patch merges cleanly.

Test build #27890 has finished for   PR 4720 at commit d6c80eb.

This patch passes all tests.
This patch merges cleanly.
This patch adds the following public classes (experimental):
class HiveThriftBinaryServerSuite extends HiveThriftJdbcTest
class HiveThriftHttpServerSuite extends HiveThriftJdbcTest
abstract class HiveThriftJdbcTest extends HiveThriftServer2Test
abstract class HiveThriftServer2Test extends FunSuite with BeforeAndAfterAll with Logging

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/27890/
Test PASSed.

Thanks a lot @liancheng. Let's test this one a few more times first to make sure it's not flaky.

Test build #615 has started for   PR 4720 at commit d6c80eb.

This patch merges cleanly.

Test build #616 has started for   PR 4720 at commit d6c80eb.

This patch merges cleanly.

Test build #617 has started for   PR 4720 at commit d6c80eb.

This patch merges cleanly.

Test build #618 has started for   PR 4720 at commit d6c80eb.

This patch merges cleanly.

Test build #619 has started for   PR 4720 at commit d6c80eb.

This patch merges cleanly.

Test build #617 has finished for   PR 4720 at commit d6c80eb.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Test build #615 has finished for   PR 4720 at commit d6c80eb.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Test build #616 has finished for   PR 4720 at commit d6c80eb.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Test build #619 has finished for   PR 4720 at commit d6c80eb.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Test build #618 has finished for   PR 4720 at commit d6c80eb.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

@andrewor14 The only test failure was caused by another test suite, seems that it's pretty stable now :)

@liancheng The thriftservice test suites failure partially due to #4611, but I believe there are still some issues we still need to solve. e.g. when a Hive ThriftService start, a pid file will be generated named /tmp/spark-{username}-org.apache.spark.sql.hive.thriftserver.HiveThriftServer2-1.pid, there would be problem if multiple test process run into the HiveThriftServer2Suites simultaneously, as the pid file will be overwritten.

@chenghao-intel Yeah, just opened #4758 to fix the PID issue, thanks!


Allow Sectioned Detail View to define sections

Enables WizardSectionsView to define sections when created.

Can the section model not handle this? section enabled / predicate which the invoker of the detail view could configure - as the sections themselves should be available via axioms.


Tests for PHP 7 and 7.1, use APCu polyfill

Enable tests for PHP 7 and 7.1.
Use APCu polyfill. This way the APC storage will work for both APC and APCu.

Solves #47, #51 and #60.
PTAL @rdohms @lcobucci
I believe this solves the APC/APCu dilemma sufficiently.

👍 thanks!


[Question]: how to get hypothethetical answer used in HyDE method in the response object?

Question Validation

[X] I have searched both the documentation and discord for an answer.

Question
I am trying to use HyDE query transform, and I need the intermediate hypothetical answer generated by the answer for embedding matching. How can I get that?

Answer generated by a 🤖
Answer
To get the hypothetical answer generated by the HyDE method, you can use the HyDEQueryTransform object's _run method on the QueryBundle object. This will return a new QueryBundle object, which contains the hypothetical document used for embedding lookup. You can access this hypothetical document using the custom_embedding_strs attribute of the QueryBundle object. Here is the code snippet:
hyde = HyDEQueryTransform(include_original=True)
query_bundle = QueryBundle(query_str=query_str)
new_query_bundle = hyde._run(query_bundle, extra_info={})
hyde_doc = new_query_bundle.custom_embedding_strs[0]

In this code, query_str is the query string you want to transform. The HyDEQueryTransform object hyde is used to transform the query string into a hypothetical document. The hypothetical document is then stored in hyde_doc.
This is demonstrated in the context provided:
new_query_bundle = hyde._run(query_bundle, extra_info={})
hyde_doc = new_query_bundle.custom_embedding_strs[0]

hyde_doc

After graduating from the Rhode Island School of Design (RISD) in 1985, Paul Graham went on to pursue a career in computer programming. He worked as a software developer for several companies, including Viaweb, which he co-founded in 1995. Viaweb was eventually acquired by Yahoo in 1998, and Graham used the proceeds to become a venture capitalist. He founded Y Combinator in 2005, a startup accelerator that has helped launch over 2,000 companies, including Dropbox, Airbnb, and Reddit. Graham has also written several books on programming and startups, and he continues to be an active investor in the tech industry.

Sources

docs/examples/query_transformations/HyDEQueryTransformDemo.ipynb
llama_index/indices/query/query_transform/base.py

This response is meant to be useful, save you time, and share context. It is not meant to be a precise solution, but rather a starting point for your own research.
Help me be more useful! Please leave a 👍 if this is helpful and 👎 if it is irrelevant.


Inner types

Suggestion

🔍 Search Terms

inner types
nested types

✅ Viability Checklist

My suggestion meets these guidelines:

[x] This wouldn't be a breaking change in existing TypeScript/JavaScript code
[x] This wouldn't change the runtime behavior of existing JavaScript code
[x] This could be implemented without emitting different JS based on the types of the expressions
[x] This isn't a runtime feature (e.g. library functionality, non-ECMAScript syntax with JavaScript output, new syntax sugar for JS, etc.)
[x] This feature would agree with the rest of TypeScript's Design Goals.

⭐ Suggestion
A kind of "syntax sugar" to merge declarations. It is equivalent to using namespace. Some possibilities:
/**
 * Classes and interfaces
 */

class Listing <T> {
    inner interface Pagination {
        page: number
        totalPages: number
        records: T[]
    }
    // `Pagination` is implicitly `Pagination<T>`
    constructor(private pagination: Pagination) {}
}

const aPagination: Listing<string>.Pagination = {
    // ...
}

/**
 * Functions.
 */

function fetch(method: fetch.Method) { // Maybe, just `fetch(method: Method)` is enough
    inner type Method = 'GET' | 'PUT' | 'POST'

    const request = // ...
}

const aMethod: fetch.Method = 'GET'

/**
 * Types.
 */
type Payload = Payload.User | Payload.Address { // Maybe, just `Payload = User | Address` is enough
    inner interface User {
        // ...
    }

    inner interface Address {
        // ...
    }
}

const aPayload: Payload = Payload.Address

Maybe inner is not the better keyword name.
Maybe a access level for classes (public, protected, private).

Seems like #7061

Also #17588

Also somewhat related: #41470.

I find the idea of "local" types declared within the implementation body to leak outside extremely unpleasant and disturbing. I hardly see any benefit and a lot of complexity.
And unfortunately the issue template for feature requests was not filled out.


[Proposal draft] Tuple literal

Tuple literal eg: '(:a 2 "b").
Unit could be replaced by the zero-element tuple '() like in scheme.
Tuples should:

Have a fixed cardinality.
Immutable.
Strict dynamic types, this means that types are asserted at runtime for type equality by using the type operator.

'(:a 5 "b")

Discarded
In the current environment, there is no practical distinction of a tuple '() from a vector [], they share the same traits, and therefore there is no reason to include two ways of doing exactly the same.
They both are:

Immutable
Fixed sized (As per immutability)
Integer-indexed table-stored (Lua internal table representation)

Therefore, as they're immutable you can only create new objects, there is no reason to enforce type check. It just does not make sense to have distinctions between tuples, vectors or lists, as their behaviours would be the same, and their storages identical.
Future
If there's a good reason in the future to include this feature, this issue can be reopened.


Make mesh/material tooling more accessible to the general populous

Filament is super cool, but getting started with the tooling to create these custom mesh/material formats is complex.
It would be nice if binary versions of the tools were made available OR some kind of website where you could process your meshes online.
Alternatives are learning your build system, not that it's impossible, but some percentage of people will just never download your repo and figure out the details of building your system
Additionally, making these tools widely available as binaries might make it easier for people to put them into 3d modelers as exporters.
All operating systems.

Thanks for the suggestion. Note that all the relevant tools are included in our release archives (matc and filamesh in particular). The tools are available for all supported operating systems as binaries in those release archives.


Unable to backup fisher history?

I have searched as best I can through the github issues and the ACT Discord, but haven't had any luck.
There doesn't seem to be a way to easily backup the Fisher module's history. i.e. I want to bring my fishing history/cast times/etc over to a new computer and I do not see a way to do this since it all seems to get stored through javascript? Would it be possible for this to be added as a feature in the future if it does not exist? Apologies if I am missing an obvious solution!
~Thank you~

I looked through discord and found: https://discord.com/channels/551474815727304704/551476873717088279/830590144033587250
That's probably the directory you're looking for, if you copy that and paste it on the new computer.  Let me know if that doesn't work.
If you want to add such a feature, I'd be happy to review the PR.

This looks very promising - thank you for responding so quickly and sorry for overlooking that. Feel free to close the item on git!!
:-)
On Dec 21, 2021, 12:51 -0500, Adrienne Walker @.***>, wrote:

I looked through discord and found: https://discord.com/channels/551474815727304704/551476873717088279/830590144033587250
That's probably the directory you're looking for, if you copy that and paste it on the new computer. Let me know if that doesn't work.
If you want to add such a feature, I'd be happy to review the PR.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.
You are receiving this because you authored the thread.Message ID: @.***>


getting blank screen after fixing from issues closed by you also

hey sir,im getting blank screen again and again after fixing all the issues . there is not a issue in yarn dev and not in yarn build all run succesfully. yet it gives me blank screen. ps; when i strat yarn build it doesnt show any files in firebase database. im doing something wrong but i dont know which part it is. kindly help

What does the console say in the browser?

did you find how to fix the problem? Because I have pretty much the same. When running yarn dev it works on localhost but when deploying on server it shows just a white blank screen.


Fix GotoTypeDefinition that contains percent-encoded characters

Simply use the provided function by Url. Do you want to propagate this upwards?
Solves: https://github.com/lapce/lapce/issues/1910
Signed-off-by: Hanif Bin Ariffin<EMAIL_ADDRESS>
[ ] Added an entry to CHANGELOG.md if this change could be valuable to users

Codecov Report

Merging #1932 (235d725) into master (a49e354) will increase coverage by 0.05%.
The diff coverage is n/a.

 Learn more


Is this project maintained?

I wonder the same question...

You might get a swifter answer on the django oscar google group https://groups.google.com/forum/#!forum/django-oscar as I'm not sure anyone is monitoring this repository frequently

I think so, no one release version since January, and django-oscar, well, slow development. And the mailing list, poor, i leave a question five days ago, and until now i haven't answer.

Tagging a few people here who made the most recent merges: @sasha0 @vdboor @maikhoepfel, would you mind letting people know what your plans are about the future of this repository?

And it will be good if they can help us with other third party packages.

Looks like nobody who wrote this code is still using it. I have put some time into making it Django 1.11 compatible in #159, but new features are unlikely to be added unless someone makes a PR.

@fghaas Hi Florian. I'm not actively using application currently, but will try to dedicate some time to review existing pull requests. Thanks.

Thanks @sasha0!


[SPARK-26566][PYTHON][SQL] Upgrade Apache Arrow to version 0.12.0

What changes were proposed in this pull request?
Upgrade Apache Arrow to version 0.12.0. This includes the Java artifacts and fixes to enable usage with pyarrow 0.12.0
Version 0.12.0 includes the following selected fixes/improvements relevant to Spark users:

Safe cast fails from numpy float64 array with nans to integer, ARROW-4258
Java, Reduce heap usage for variable width vectors, ARROW-4147
Binary identity cast not implemented, ARROW-4101
pyarrow open_stream deprecated, use ipc.open_stream, ARROW-4098
conversion to date object no longer needed, ARROW-3910
Error reading IPC file with no record batches, ARROW-3894
Signed to unsigned integer cast yields incorrect results when type sizes are the same, ARROW-3790
from_pandas gives incorrect results when converting floating point to bool, ARROW-3428
Import pyarrow fails if scikit-learn is installed from conda (boost-cpp / libboost issue), ARROW-3048
Java update to official Flatbuffers version 1.9.0, ARROW-3175

complete list here
PySpark requires the following fixes to work with PyArrow 0.12.0

Encrypted pyspark worker fails due to ChunkedStream missing closed property
pyarrow now converts dates as objects by default, which causes error because type is assumed datetime64
ArrowTests fails due to difference in raised error message
pyarrow.open_stream deprecated
tests fail because groupby adds index column with duplicate name

How was this patch tested?
Ran unit tests with pyarrow versions 0.8.0, 0.10.0, 0.11.1, 0.12.0

Currently only spark 3.0 is supported and spark 2.4 is supported

Currently only spark 3.0 is supported, and can support spark 2.4?

nope

nope this change only goes into Spark 3.0 but I think Arrow 0.12.x is still supported in Spark 2.4 too

The following error occurred in spark 2.4
[image: image.png]
[image: image.png]
Hyukjin Kwon<EMAIL_ADDRESS>于2019年5月9日周四 下午10:03写道：

nope this change only goes into Spark 3.0 but I think Arrow 0.12.x is
still supported in Spark 2.4 too
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/apache/spark/pull/23657#issuecomment-490917483, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAIXXZTDT4IQPE2QJ5BIMOTPUQVKDANCNFSM4GSPNWOQ
.

@melin I tried out your example with pyspark branch-2.4, pyarrow 0.12.1 and pandas 0.24.0 and did not reproduce the error. Your pandas version is a bit old, but I don't think that is the problem. Does the error happen in local mode or only in a cluster?

@melin, please file a JIRA or ask it to the mailing list separately.

Pyarrow version 0.12.1, arrow jar version 0.10, can run correctly. Pyarrow
version 0.121, arrow jar version 0.12, this exception occurs
Bryan Cutler<EMAIL_ADDRESS>于2019年5月15日周三 上午1:02写道：

@melin https://github.com/melin I tried out your example with pyspark
branch-2.4, pyarrow 0.12.1 and pandas 0.24.0 and did not reproduce the
error. Your pandas version is a bit old, but I don't think that is the
problem. Does the error happen in local mode or only in a cluster?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/apache/spark/pull/23657?email_source=notifications&email_token=AAIXXZTW3YGXH7NDSB3BJLTPVLWAXA5CNFSM4GSPNWO2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODVMD35Q#issuecomment-492322294,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAIXXZVPSIBZAYVTTUNYIR3PVLWAXANCNFSM4GSPNWOQ
.

In Spark 2.4, the jar should be 0.10. Can we move this topic into the mailing list, @melin?
You're talking about something orthogonal with this change at all.


Karma opa5 plugin

Hi @matz3 @TobiasOetzel,
would it be possible to develop an karma opa5 plugin (maybe based on the qunit plugin)?
I want to run the opa5 tests in an automated fashion and get back structured results via tha karma junit reporter or the CLI. With a karma opa5 plugin we could easily benefit from the existing reporters etc.
Best Regards Christian

Hi Christian,
it is already possible to run OPA5 tests with karma and the karma OpenUI5 plugin. Here is an example configuration:
module.exports = function(config) {
	config.set({
		basePath: '',
		frameworks: ['qunit','openui5'],
		files: [
			{ pattern: 'bower_components/openui5-sap.ui.core/resources/**/*', served: true, included: false, watched: false },
			{ pattern: 'bower_components/openui5-sap.m/resources/**/*', served: true, included: false, watched: false },
			{ pattern: 'bower_components/openui5-themelib_sap_bluecrystal/resources/**/*', served: true, included: false, watched: false },
			{ pattern: 'src/**/*', served: true, included: false, watched: true },
			{ pattern: 'test/**/*.qunit.js', served: true, included: true, watched: true }
		],
		preprocessors: {
			'src/**/*.js': ['coverage']
		},
		openui5: {
			path: 'bower_components/openui5-sap.ui.core/resources/sap-ui-core.js',
			useMockServer: false
		},
		client: {
			openui5: {
				config: {
					theme: 'sap_bluecrystal',
					libs: 'sap.m',
					resourceroots: {
						'sap.m': '/base/bower_components/openui5-sap.m/resources/sap/m',
						'my.namespace': '/base/src/my/namespace'
					},
					themeroots: {
						'sap_bluecrystal': '/base/bower_components/openui5-themelib_sap_bluecrystal/resources'
					}
				}
			}
		},
		reporters: ['progress', 'coverage'],
		coverageReporter: {
			type : 'html',
			dir : 'coverage'
		},
		port: 9876,
		colors: true,
		logLevel: config.LOG_INFO,
		autoWatch: true,
		browsers: ['Chrome'],
		singleRun: false
	});
};

What is done here?

Include OpenUI5 and QUnit for the tests as frameworks

Serve all OpenUI5 related files

Serve all files forom the src dicrectory

Include all test scripts

Specify that code coverage should be enabled for all JS files in the source directory

Configure the OpenUI5 plugin

To record the code coverage correctly, you cannot run the tests in an IFrame. However, you can create an arrangement, that creates a component inside the karma test page:
sap.ui.define([
	"jquery.sap.global",
	"sap/ui/test/Opa5",
	"sap/ui/core/ComponentContainer",
], function(jQuery, Opa5, ComponentContainer) {

	var oContainer = null;
	var oComponent = null;

	return Opa5.extend("my.namespace.test.opa.Arrangements", {
		iStartAComponent: function (sName) {
			if (!oContainer) {
				$body = jQuery("body");
				$body.addClass("sapUiBody").attr("role", "application");
				if ($body.find("#content").length === 0) {
					$body.append('

');
				}
				oContainer = new ComponentContainer();
				oContainer.placeAt("content");
			}
			if (oComponent) {
				oComponent.destroy();
				Opa5.getPlugin().mViews = {};
				oComponent = null;
			}
			oComponent = sap.ui.getCore().createComponent({
				name: sName,
			});
			oContainer.setComponent(oComponent);
			return this;
		}
	});
});

Your test could look like this:
sap.ui.define([
	"jquery.sap.global",
	"sap/ui/test/Opa5",
	"sap/ui/test/opaQunit",
	"my/namespace/test/opa/Arrangements"
], function(jQuery, Opa5, opaQunit, Arrangements) {

	Opa5.extendConfig({
		arrangements : new Arrangements(),
		viewNamespace : "my.namespace.app.view."
	});

	opaTest("TestApp", function(Given, When, Then) {
		Given.iStartAComponent("my.namespace.app");
	});
});

I hope this helps!
Best regards,
Christoph

Thanks a lot christoph!

Thanks a lot @cevou ! That's exactly what I was looking for. Perhaps you could add your instructions to a sub section of the README.md of this plugin, so that future visitors know about it too :)
Best Regards Christian

@cevou I have an app with Karma running my Opa tests, my app is running via a grunt server on another port and i use the proxy config so the test run.
I want to move over to using your plugin, less moving parts. A couple of changes to your code above and it works. However i cannot get the mockserver logic working, when the component sets up the model it still tries to retrieve the live service metadata.
my app uses the parameter ResponderOn=true logic to start the mockserver
is your mockeserver logic meant to be a replacement for ResponderOn? did you have issues setting the needed parameter?
cannot see an issue relating to //workaround for crossroads/mockserver issue
also how would you add you own mockrequests?

Basically the useMockServer does the same as the responderOn logic in the tdg App. I haven't had any problems yet using the mockserver integration. Have you set useMockServer to true in the karma.conf.js?

had time to debug and i got it working - had to make a couple of changes to mockserver.js to get it working
1 . the ui5config needed to go down another level
2.  the global var 'module' is undefined
(function(window) {

var config = window.__karma__.config,
	ui5config = (config && config.openui5.config) || {},  //1
	mockserverConfig = ui5config.mockserver || {};

//workaround for crossroads/mockserver issue
(function() {
	if (typeof module === undefined){    //2
		var module = '';
	}
	var original = module;
	module = undefined;
	jQuery.sap.require("sap.ui.core.util.MockServer");
	module = original;
})();

mockserverConfig.config = mockserverConfig.config ||{};

sap.ui.core.util.MockServer.config(mockserverConfig.config);

var oMockServer = new sap.ui.core.util.MockServer({
	rootUri: mockserverConfig.rootUri
});
oMockServer.simulate(mockserverConfig.metadataURL, mockserverConfig.mockdataSettings);
oMockServer.start();

})(window);

I copied the TDG app, to get it working i had to separate the app from the tests
I couldn't get the navigation tests working but that doesn't seem like a real scenario anywhere
module.exports = function(config) {
    config.set({
        basePath: '',
        frameworks: ['qunit', 'openui5'],
        files: [{
            pattern: 'bower_components/openui5-sap.ui.core/resources/**/*',
            served: true,
            included: false,
            watched: false
        }, {
            pattern: 'bower_components/openui5-sap.m/resources/**/*',
            served: true,
            included: false,
            watched: false
        }, {
            pattern: 'bower_components/openui5-sap.ui.layout/resources/**/*',
            served: true,
            included: false,
            watched: false
        }, {
            pattern: 'bower_components/openui5-themelib_sap_bluecrystal/resources/**/*',
            served: true,
            included: false,
            watched: false
        }, {
            pattern: 'webapp/**/*',
            served: true,
            included: false,
            watched: true
        }, {
            pattern: 'test/**/*',
            served: true,
            included: true,
            watched: true
        }],
        // preprocessors: {
        //     'src/**/*.js': ['coverage']
        // },
        openui5: {
            path: 'bower_components/openui5-sap.ui.core/resources/sap-ui-core.js',
            useMockServer: true
        },
        client: {
            openui5: {
                config: {
                    theme: 'sap_bluecrystal',
                    libs: 'sap.m',
                    resourceroots: {
                        'sap.m': '/base/bower_components/openui5-sap.m/resources/sap/m',
                        'sap.ui.layout': '/base/bower_components/openui5-sap.ui.layout/resources/sap/ui/layout',
                        'sap.ui.demo.tdg': '/base/webapp',
                        'sap.ui.demo.tdg.test': '/base/test'
                    },
                    themeroots: {
                        'sap_bluecrystal': '/base/bower_components/openui5-themelib_sap_bluecrystal/resources'
                    },
                    mockserver: {
                        config: {
                            autoRespond: true
                        },
                        rootUri: '/uilib-sample/proxy/http/services.odata.org/V2/(S(sapuidemobespractices))/OData/OData.svc/',
                        metadataURL: '/base/webapp/model/metadata.xml',
                        mockdataSettings: '/base/webapp/model/'
                    }
                }
            }
        },
        reporters: ['progress'], //'coverage'],
        // coverageReporter: {
        //     type: 'html',
        //     dir: 'coverage'
        // },
        port: 9876,
        colors: true,
        logLevel: config.LOG_DEBUG,
        autoWatch: true,
        browsers: ['Chrome','PhantomJS'],
        singleRun: false
    });
};

for those interested in a working example
https://github.com/jasper07/karmatest

I guess this got solved so I'm closing the issue

Hi @janmattfeld
I copied your code to my computer to test it,but I found it's unstable.I use the jenkins server to run it every two minute.In most cases,it runs successfully,but it may failed sometimes without anything changed,Jenkins reports:
Chrome 45.0.2454 (Windows 8.1 0.0.0): Executed 0 of 0 SUCCESS (0 secs / 0 secs)
Chrome 45.0.2454 (Windows 8.1 0.0.0): Executed 0 of 0 ERROR (0.001 secs / 0 secs).
I run it 72 times,it return failure 10 times.
Do you have any idea to solve it?Thank you.

@739823891 could you please open a new issue with your problem?
As you log does not show any hint, please re-run it with --log-level debug (see here to get more output.

Hi @jasper07 ,
I copied your code in my computer to test it. I have done the changes as suggested by @matz3 that is to load 'openui5' framework before 'qunit'
frameworks: ['openui5','qunit']
So there is no issue with loading of MockServer.js but mock data is not getting loaded. I have set the log level to DEBUG and nowhere I could see that the mock data json files are being loaded/served. Also, in chrome network log, there is an entry to load metadata.xml from actual service (which fails of course).
Am I doing something wrong? I can provide the debug log files if required.
Thanks in advance.


Design a Logo for Salon Website Reflecting the "Hero" Archetype

Description
The purpose of this issue is to create a logo design for our salon's website that embodies the "hero" archetype. This logo will be a central aspect of our brand identity and should convey attributes associated with the hero archetype such as bravery, adventure, and determination. The design must be versatile, suitable for various digital and print formats.
Objectives
Concept Development: Develop several conceptual designs that integrate the hero archetype into the salon's branding.
Design Execution: Create a finalized logo design based on feedback and selected concept.
Format Delivery: Ensure the final logo is provided in multiple formats suitable for web (e.g., SVG, PNG) and print.
Detailed Task List
Research and Inspiration Gathering:

Study the hero archetype and its visual representations.
Analyze competitor logos to ensure uniqueness and relevance.
Initial Concept Sketching:
Produce a minimum of three distinct conceptual sketches.
Each sketch should distinctly interpret the hero archetype.
Feedback and Concept Refinement:
Present sketches to the team for feedback.
Refine concepts based on feedback, focusing on one or two designs.
Digital Design Execution:
Develop the chosen concept(s) into a full digital design.
Experiment with color schemes, typography, and iconography that resonate with the hero archetype.
Feedback and Final Revisions:
Gather feedback on the digital designs.
Make necessary revisions to finalize the logo.
Final Logo Delivery:
Provide the final logo in different formats: SVG, PNG, JPEG, etc.
Ensure versions for different backgrounds (light, dark, transparent).

Acceptance Criteria
Adherence to the Hero Archetype:

The logo must clearly reflect attributes of the hero archetype.
Aesthetic Appeal and Brand Relevance:
The design should be aesthetically pleasing and align with our salon's brand image.

Versatility and Scalability:

The logo should be easily recognizable and legible in various sizes and formats.
Format Specifications:
Final deliverables must include digital files in SVG, PNG, and JPEG formats.

Additional Notes

The target audience for our salon is primarily young adults who value bold and inspirational branding.
The logo should avoid cliché representations of heroism and strive for a unique, modern interpretation.
Collaboration and communication with the design team are key throughout this project.

Logo structure complete with matching archetype. Refer Figma design for insights


Valid URLs returning "about:blank"

Here is an example of a valid URL that I am trying to test:
https://www.customer-site.com/hubfs/3. Client Documents/0Benefits Guide.pdf
*changed for privacy sake
But despite trying to use the least restrictive parameters here:
const sanitizedLink = URISanity.vet(url, {
              allowScriptOrDataURI: true,
              allowFileSystemURI: true,
              allowCommsAppURI: true,
              allowDBConnectionStringURI: true,
              allowBrowserSpecificURI: true,
              allowWebTransportURI: true,
              allowServiceAPIURI: true,
            });
console.log(sanitizedLink);

The URL returned is still "about:blank". Is there a reason that this URL is being flagged as suspicious? In short I want my customer to be able to use any valid URLs that don't contain malicious scripts embedded within them.

Hello @ccrawford4 , I have investigated this and a fix should be out by the second week of October as i am quite busy at this moment.
Thank you for sending in this issue.

Hello @ccrawford4 , Please download the latest version of URISanity (v0.1.5) for the fix

Hello @ccrawford4 , Please download the latest version of URISanity (v0.1.5) for the fix

Thank you @isocroft 😄 Will give it a try


Explore string_grouper for fast fuzzy matching

Maybe needs to be ported to cudf
https://github.com/Bergvca/string_grouper

This article has a good point about Levenshtein distance and how it grows quadratic
https://bergvca.github.io/2017/10/14/super-fast-string-matching.html.
Maybe we could consider to remove it for 3.0


Add phi3 support

@casper-hansen Thank you for your invitation.
This PR introduces the support for phi3 for autoawq.
Due to the fact that the phi3 hasn't been released to transformer package, I conducted experiments on the development branch, a.k.a 4.41.0.dev0
I conducted experiments on RTX4090 and evaluated the perpelexity of the quantized phi3 (microsoft/Phi-3-mini-128k-instruct).

Hey @pprp, I was trying to use this code changes for Phi-3 quantization for my use case, and getting below warning is it expected ?
Token indices sequence length is longer than the specified maximum sequence length for this model (8322 > 4096). Running this sequence through the model will result in indexing errors

Hey @pprp, I was trying to use these code changes for Phi-3 quantization for my use case, and getting below warning is it expected?
Token indices sequence length is longer than the specified maximum sequence length for this model (8322 > 4096). Running this sequence through the model will result in indexing errors

@pprp  This pull request is waiting for a review?

@vackosar Yes, or you can review until the phi-3 is formally supported by transformers library.

Hey @pprp, great job with the implementation! Would it possible to also add support for Phi-3-small at this time?
Phi-3-Small isn't implemented in transformers yet, but it is available in the HF repo. For example, Phi-3-small-8k-instruct
https://huggingface.co/microsoft/Phi-3-small-128k-instruct/blob/main/modeling_phi3_small.py

Sorry for taking so long. I was away for a month, but I'm back now.


Add rbmsg back to TRILOGY_ERR

This was previously removed when error classes were refactored, but it doesn't seem to have been done so intentionally.
When debugging a previous fix, this missing context would have helped narrow down the problem initially as the rbmsg includes where the error was originating.

I'm also curious if these lines should be changed to trilogy_auth_switch_recv
https://github.com/trilogy-libraries/trilogy/blob/004d02a638ba8cd69933feaee8808b72a7c97451/contrib/ruby/ext/trilogy-ruby/cext.c#L376-L381
While there is no trilogy_auth_switch_recv method, making the rbMsg here different than the one in authenticate would also be helpful for tracking down the line raising an error.


No apps in the output

Hi running the latest Sierra release 10.12.2. I get nothing but this:
Accounted for: 0MB.  Still unaccounted: 7291MB
I guess no known applications? Could it be something else?

I reverse engineered part of the bird index: on my system I know for most files what they do, but I couldn't figure out where some came from.  That's why I have the "Still unaccounted".  Apparently, in your case, the stray files are all in the index I haven't figured out yet.

Fair enough, will try to find some time to see if I can extend the script to understand more applications.

It could also be that the format of the index database has changed.  I'm abroad for a week, so I won't have time to check.

Hi, I have the same issue. Here is what I got back
Accounted for: 0MB.  Still unaccounted: 35125MB
MacBook-8318:~ nicolasfafchamps$

Any help, would be much appreciated. I really wonder were those 35000MB come from.

My mac is on High Sierra now, where they changed the way bird works — so I'm unable to help you out.

I am on the latest release of Sierra (not high sierra). There is still no solution ?

As I said, I reverse engineered parts of the way bird works.  Bird works differently on High Sierra than it does on Sierra.  So, no, without having access to Sierra, I can't help you.  You can try to reverse engineer it yourself, off course.

Ok I understand. Thanks for your help anyway.
I took me half an hour to figure out how to run a python script, I am very new to this. So it is way outside my abailities to reverse engineer anything.


Feature/cplp 1730/update fetch image a pi

Kindly update methods in CommonService file as discussed @nidhigarg-bmw

Fine for me, the email address of the commits in regards to eca signing is alright.


SELF-REFINE: Iterative Refinement with Self-Feedback

https://arxiv.org/pdf/2303.17651.pdf

Performance

Code Optimization: 24.8 -> 27.5 (10.8%)
Sentiment Reversal: 0 -> 43.2
Acronym Generation: 48 -> 56.4 (17.5%)

Generic feedback: like improving the efficiency of the code, lacks this precision and direction.

Influence of the Iteration

Appendix. GPT-4 Evaluation

These are essentially what you'll see in the gpt-prompt-engineer repo and the automatic evaluation metrics at my company. It appears that pair-to-pair comparison is more useful than simply using prompts for evaluation or a fine-tuned classifier.


About track2 testing

Using the required libraries versions and following the Readme for dataset pre-processing when I run the test of ReID for the Track2 using your pre-trained model, after several attempts, I always get results close to 0 as shown in the attached testing output.

Hi AntonioDeFalco,
It is because of the splitting of the dataset. The current splitting train(333)/query(1052)/gallery(798) is for the AI City Challenge. Because we do not known the car IDs in query/gallery, the output mAP shown above is meaningless. To calculate the actual mAP, you need to upload the output text file (which is in this format: https://www.aicitychallenge.org/2019-data-sets/) to the AI City Challenge evaluation server.
Optionally, you can split the train set into train/query/gallery so that you can evaluate on the known car IDs, and the mAP will be correct.


Wrap BlobTransactionSideCar in Arcs in txpool

Describe the feature
currently, we're cloning the sidecar in various places, which is pretty expensive, we also never modify these so we really should pass that around as an Arc.
this is pretty common and we should actually add a helper type like SharedBlobTransactionSidecar(Arc<BlobTransactionSidecar>) to alloy directly.
TODO

introduce helper type in alloy
transition to that type

since this type is very simple, this can also added to reth so we don't need to wait until it lands in alloy.
e.g:
https://github.com/paradigmxyz/reth/blob/ac85fc0507b2300350cb0156461f23b7a641b06b/crates/transaction-pool/src/traits.rs#L405-L408
Additional context
No response

I would like to take this

actually we can just use Arc<BlobTransactionSidecar> everywhere first
like we already do here:
https://github.com/paradigmxyz/reth/blob/0ce1dd6794a36c6cddab15a0b6d16f2195cd89df/crates/transaction-pool/src/traits.rs#L579-L579

@mattsse I am interested in some good first issues as well. But they always seem to be taken up quickly. Any other recommendations for issues which don't have the label, but might be relatively easier to get started with?

completed with #11554


Custom ActionBar.titleView crashing on iOS (Angular app)

From @NickIliev on September 29, 2017 6:44
Setting custom title view for ActionBar is throwing on iOS with
file:///app/tns_modules/tns-core-modules/ui/core/view/view.js:60:124: JS ERROR Error: onMeasure() did not set the measured dimension by calling setMeasuredDimension() ProxyViewContainer(11)

Reproducible only in Angular based application.
Steps to reproduce:
Use this test application or the following snippet

<ActionBar>
    <ActionBar.titleView>
        <StackLayout orientation="horizontal">

        </StackLayout>
    </ActionBar.titleView>
</ActionBar>

Copied from original issue: NativeScript/NativeScript#4905

Is there any plan to fix this high-severity bug?

@davidsandoz it seems we have mistakenly logged this as a bug in the first place. Property dot notation (<ActionBar.titleView>...</ActionBar.titleView>) is not a valid syntax in html so in Angular the action bar title should be set like this:
<ActionBar>
    <StackLayout orientation="horizontal">

    </StackLayout>
</ActionBar>

This is also described in the documentation here.


now mainline is the main notebook.

added both twitter and wsj sentiment data in the model

mainline.py is the main .py.


question marks -> i icon | integration tests for popups

ez pz

Codecov Report

Merging #265 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #265   +/-   ##
=======================================
  Coverage   82.15%   82.15%
=======================================
  Files          60       60
  Lines        2163     2163
=======================================
  Hits         1777     1777
  Misses        386      386

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 29b2460...b6e516f. Read the comment docs.