[Stream] EmplaceAllocations + ScheduleAllocations swaps resource order for multi-result dispatches

Problem Reproducer
The following IR
#map_in = affine_map<(d0, d1) -> (d0, d1)>
#map_out = affine_map<(d0, d1) -> (d0)>
#map = affine_map<(d0) -> (d0)>
func.func @forward(%arg0: tensor<4x4xf32>) -> (tensor<2x4xf32>) {
  %c0_f32 = arith.constant 0.0 : f32
  %empty_1 = tensor.empty() : tensor<4xf32>
  %empty_2 = tensor.empty() : tensor<4xf32>
  %fill_1 = linalg.fill ins(%c0_f32 : f32) outs(%empty_1 : tensor<4xf32>) -> tensor<4xf32>
  %fill_2 = linalg.fill ins(%c0_f32 : f32) outs(%empty_2 : tensor<4xf32>) -> tensor<4xf32>
  %sum, %root_out = linalg.generic {indexing_maps = [#map_in, #map_out, #map_out], iterator_types = ["parallel", "reduction"]} ins(%arg0 : tensor<4x4xf32>) outs(%fill_1, %fill_2 : tensor<4xf32>, tensor<4xf32>) {
  ^bb0(%in: f32, %out: f32, %out_2: f32):
    %add = arith.addf %in, %out : f32
    %root = math.sqrt %add : f32
    linalg.yield %add, %root : f32, f32
  } -> (tensor<4xf32>, tensor<4xf32>)

  %empty_3 = tensor.empty() : tensor<4xf32>
  %sqrt = linalg.generic {indexing_maps = [#map, #map], iterator_types = ["parallel"]} ins(%sum : tensor<4xf32>) outs(%empty_3 : tensor<4xf32>) {
  ^bb0(%in: f32, %out: f32):
    %sqrt = math.sqrt %in : f32
    linalg.yield %sqrt : f32
  } -> tensor<4xf32>

  %concat_empty = tensor.empty() : tensor<2x4xf32>
  %inserted_slice_1 = tensor.insert_slice %root_out into %concat_empty[1, 0] [1, 4] [1, 1] : tensor<4xf32> into tensor<2x4xf32>
  %inserted_slice_2 = tensor.insert_slice %sqrt into %inserted_slice_1[0, 0] [1, 4] [1, 1] : tensor<4xf32> into tensor<2x4xf32>

  return %inserted_slice_2 : tensor<2x4xf32>
}

Compiled with
iree-compile concat.mlir \
    --iree-hal-target-backends=vulkan-spirv \
    -o /tmp/concat.vmfb

iree-run-module --device=vulkan --function=forward --input="4x4xf32=1.0 2.0 3.0 4.0 5.0 6.0 7.0 8.0 9.0 10.0 11.0 12.0 13.0 14.0 15.0 16.0" --module=/tmp/concat.vmfb

gives
EXEC @forward
result[0]: hal.buffer_view
2x4xf32=[1.77828 2.2581 2.54573 2.75967][10 26 42 58]

while the correct result should be the square root of both sets of 4 values, i.e.
EXEC @forward
result[0]: hal.buffer_view
2x4xf32=[3.16228 5.09902 6.48074 7.61577][3.16228 5.09902 6.48074 7.61577]

Source of the issue
This happens because after EmplaceAllocations the result resource on the first dispatch (generic) is mapped as a read-write input resource on a slice, e.g.
func.func @forward(%arg0: !hal.buffer_view) -> !hal.buffer_view attributes {iree.abi.stub} {
  %c64 = arith.constant 64 : index
  %c16 = arith.constant 16 : index
  %c32 = arith.constant 32 : index
  %c0 = arith.constant 0 : index
  %c553648160_i32 = arith.constant 553648160 : i32
  %c1_i32 = arith.constant 1 : i32
  %c4 = arith.constant 4 : index
  hal.buffer_view.assert<%arg0 : !hal.buffer_view> message("input 0") shape([%c4, %c4]) type(%c553648160_i32) encoding(%c1_i32)
  %0 = stream.tensor.import %arg0 : !hal.buffer_view -> tensor<4x4xf32> in !stream.resource<external>{%c64}
  %1 = stream.async.transfer %0 : !stream.resource<external>{%c64} -> !stream.resource<*>{%c64}
  %2:2 = stream.async.dispatch @forward_dispatch_0::@forward_dispatch_0_generic_4x4_f32(%1[%c0 to %c64 for %c64]) : (!stream.resource<*>{%c64}) -> (!stream.resource<*>{%c16}, !stream.resource<*>{%c16})
  %3 = stream.async.dispatch @forward_dispatch_1::@forward_dispatch_1_generic_4_f32(%2#0[%c0 to %c16 for %c16]) : (!stream.resource<*>{%c16}) -> !stream.resource<*>{%c16}
  %4 = stream.async.alloca : !stream.resource<*>{%c32}
  %5 = stream.async.update %2#1, %4[%c16 to %c32] : !stream.resource<*>{%c16} -> %4 as !stream.resource<*>{%c32}
  %6 = stream.async.update %3, %5[%c0 to %c16] : !stream.resource<*>{%c16} -> %5 as !stream.resource<*>{%c32}
  %7 = stream.async.transfer %6 : !stream.resource<*>{%c32} -> !stream.resource<external>{%c32}
  %8 = stream.tensor.export %7 : tensor<2x4xf32> in !stream.resource<external>{%c32} -> !hal.buffer_view
  return %8 : !hal.buffer_view
}

becomes
func.func @forward(%arg0: !hal.buffer_view) -> !hal.buffer_view attributes {iree.abi.stub} {
  %c64 = arith.constant 64 : index
  %c16 = arith.constant 16 : index
  %c32 = arith.constant 32 : index
  %c0 = arith.constant 0 : index
  %c553648160_i32 = arith.constant 553648160 : i32
  %c1_i32 = arith.constant 1 : i32
  %c4 = arith.constant 4 : index
  hal.buffer_view.assert<%arg0 : !hal.buffer_view> message("input 0") shape([%c4, %c4]) type(%c553648160_i32) encoding(%c1_i32)
  %0 = stream.tensor.import %arg0 : !hal.buffer_view -> tensor<4x4xf32> in !stream.resource<external>{%c64}
  %1 = stream.async.transfer %0 : !stream.resource<external>{%c64} -> !stream.resource<*>{%c64}
  %2 = stream.async.alloca : !stream.resource<*>{%c32}
  %3:2 = stream.async.dispatch @forward_dispatch_0::@forward_dispatch_0_generic_4x4_f32(%1[%c0 to %c64 for %c64], %2[%c16 to %c32 for %c16]) : (!stream.resource<*>{%c64}, !stream.resource<*>{%c32}) -> (!stream.resource<*>{%c16}, %2{%c32})
  %4 = stream.async.dispatch @forward_dispatch_1::@forward_dispatch_1_generic_4_f32(%3#0[%c0 to %c16 for %c16], %3#1[%c0 to %c16 for %c16]) : (!stream.resource<*>{%c16}, !stream.resource<*>{%c32}) -> %3#1{%c32}
  %5 = stream.async.transfer %4 : !stream.resource<*>{%c32} -> !stream.resource<external>{%c32}
  %6 = stream.tensor.export %5 : tensor<2x4xf32> in !stream.resource<external>{%c32} -> !hal.buffer_view
  return %6 : !hal.buffer_view
}

however after ScheduleAllocations the second result resource is listed before the first, later causing the first and second results to be written to the wrong places.
func.func @forward(%arg0: !hal.buffer_view) -> !hal.buffer_view attributes {iree.abi.stub} {
  %c64 = arith.constant 64 : index
  %c16 = arith.constant 16 : index
  %c32 = arith.constant 32 : index
  %c0 = arith.constant 0 : index
  %c553648160_i32 = arith.constant 553648160 : i32
  %c1_i32 = arith.constant 1 : i32
  %c4 = arith.constant 4 : index
  hal.buffer_view.assert<%arg0 : !hal.buffer_view> message("input 0") shape([%c4, %c4]) type(%c553648160_i32) encoding(%c1_i32)
  %0 = stream.tensor.import %arg0 : !hal.buffer_view -> tensor<4x4xf32> in !stream.resource<external>{%c64}
  %c0_0 = arith.constant 0 : index
  %1 = stream.resource.alloc uninitialized : !stream.resource<external>{%c32}
  %2:2 = stream.resource.pack slices({
    [1, 2] = %c16
  }) : index
  %result, %result_timepoint = stream.resource.alloca uninitialized : !stream.resource<transient>{%2#0} => !stream.timepoint
  %3 = stream.cmd.execute await(%result_timepoint) => with(%0 as %arg1: !stream.resource<external>{%c64}, %1 as %arg2: !stream.resource<external>{%c32}, %result as %arg3: !stream.resource<transient>{%2#0}) {
    stream.cmd.dispatch @forward_dispatch_0::@forward_dispatch_0_generic_4x4_f32 {
      ro %arg1[%c0 for %c64] : !stream.resource<external>{%c64},
      rw %arg2[%c16 for %c16] : !stream.resource<external>{%c32},
      wo %arg3[%2#1 for %c16] : !stream.resource<transient>{%2#0}
    }
    stream.cmd.dispatch @forward_dispatch_1::@forward_dispatch_1_generic_4_f32 {
      ro %arg3[%2#1 for %c16] : !stream.resource<transient>{%2#0},
      rw %arg2[%c0 for %c16] : !stream.resource<external>{%c32}
    }
  } => !stream.timepoint
  %4 = stream.resource.dealloca await(%3) => %result : !stream.resource<transient>{%2#0} => !stream.timepoint
  %5 = stream.timepoint.join max(%4, %3) => !stream.timepoint
  %6 = stream.timepoint.await %5 => %1 : !stream.resource<external>{%c32}
  %7 = stream.tensor.export %6 : tensor<2x4xf32> in !stream.resource<external>{%c32} -> !hal.buffer_view
  return %7 : !hal.buffer_view
}

#14565 attempts to fix this by reassociating read-write bindings with the order of the results, but this collides with other expected orderings of read-write resources.

Hoping I don't need to rework the stream.async.dispatch op but I may need to as the implicit ordering (which keeps most things simple) doesn't work with what EmplaceAllocations is doing. This may mean making stream.async.dispatch always tie outputs to allocas such that EmplaceAllocations is just changing which SSA values are used but I have to look into how complex that will be.

Well, this probably will get me to finally rework the flow ops too. For now I'll send a workaround that disables EmplaceAllocations on dispatches with multiple results.

Well, this probably will get me to finally rework the flow ops too. For now I'll send a workaround that disables EmplaceAllocations on dispatches with multiple results.

Sounds good, thanks.

Thank you for finding this! Definitely want to get it fixed properly as improvements to EmplaceAllocations have been on my TODO list for ages and would only make this worse. For now with the workaround in #14581 the posted repro now passes with correct results.

For sure, and once it comes to a proper fix it would be nice to look at potentially improving small variations to other cases such as multi-use and variations on the ordering of update ops (i.e. swap the order of the updates in the above example).
(shameless feature requests :)


Make SOT optional in the Stock constructor

Codecov Report
Base: 98.33% // Head: 98.33% // No change to project coverage :thumbsup:

Coverage data is based on head (3914f08) compared to base (fbe45b0).
Patch has no changes to coverable lines.

Additional details and impacted files
@@           Coverage Diff           @@
##             main      #33   +/-   ##
=======================================
  Coverage   98.33%   98.33%
=======================================
  Files          14       14
  Lines         240      240
=======================================
  Hits          236      236
  Misses          4        4

Impacted Files
Coverage Δ

lib/src/stock.dart
100.00% <ø> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


The JS/TS language service immediately crashed 5 times.

Type: Bug
Hello,
I am facing this error when starting VSCode and I am not able to solve it by myself. Can you please advice?
Thanks in advance
Cheers
José
VS Code version: Code 1.88.1 (Universal) (e170252f762678dec6ca2cc69aba1570769a5d39, 2024-04-10T17:42:52.765Z)
OS version: Darwin arm64 23.5.0
Modes:

System Info

Item
Value

CPUs
Apple M2 Pro (12 x 24)

GPU Status
2d_canvas: enabledcanvas_oop_rasterization: enabled_ondirect_rendering_display_compositor: disabled_off_okgpu_compositing: enabledmultiple_raster_threads: enabled_onopengl: enabled_onrasterization: enabledraw_draw: disabled_off_okskia_graphite: disabled_offvideo_decode: enabledvideo_encode: enabledwebgl: enabledwebgl2: enabledwebgpu: enabled

Load (avg)
38, 26, 12

Memory (System)
32.00GB (2.46GB free)

Process Argv

Screen Reader
no

VM
0%

Extensions (6)

Extension
Author (truncated)
Version

vscode-css-modules
cli
0.5.1

vscode-eslint
dba
2.4.4

copilot
Git
1.200.0

copilot-chat
Git
0.14.1

rest-client
hum
0.25.1

code-spell-checker
str
3.0.1

Thanks for creating this issue! It looks like you may be using an old version of VS Code, the latest stable release is 1.90.0. Please try upgrading to the latest version and checking whether this issue remains.
Happy Coding!

This issue has been closed automatically because it needs more information and has not had recent activity. See also our issue reporting guidelines.
Happy Coding!


[Agreements] NI.ni-visa version 23.8.0

New package, but same license and agreement as NI.ni-packagemanager:
https://github.com/microsoft/winget-pkgs/pull/139458

[x] Have you signed the Contributor License Agreement?
[x] Have you checked that there aren't other open pull requests for the same manifest update/change?
[x] This PR only modifies one (1) manifest
[x] Have you validated your manifest locally with winget validate --manifest <path>?

[x] Does your manifest conform to the 1.6 schema?

@wingetbot run

This package installs and launches normally on a Windows 10 VM.

This package installs and launches normally on a Windows 10 VM.


Error after token sent back

Hello guys,
I am implementing my onw webhook for actions in Actions on Google Smart Home project. I successfully done OAuth 2.0 authorization but when I receive request to token exchange controller and I send back POST like that:
{"token_type":"Bearer","access_token":"TOKEN","refresh_token":"TOKEN","expires_in":86400}
Google Assistant App tells me that "Could not reach [test] AoGProject. Please try again.". Do you guys know what may I do to solve that problem? Maybe additional headers or syntax is a problem. What should I do?

Im facing the same issue, have you find the fix ?


Cosmos SDK update

Updating the Cosmos SDK to 0.50.3

closes #5; All modules and baseApp update to Cosmos SDK 0.50.3


Have an option to run Supersim as background process

Description
use https://pm2.keymetrics.io/docs/usage/quick-start/

@fainashalts @jakim929


Switch to for_each_concurrent for processing

Summary
This doesn't change any functionality just switches stream processing to be more concurrent.

I could use some advice on reducing the if-let chaining done in the closures. cc: @maplant


Tailwind/railwind support

Hey, really like what you're building here (the only  ."truly" ."rusty" template lib afaik). Curious if you've considered 1st class support of tailwind or railwind. I feel like maud+railwind (+ maybe htmx or alike) could provide nice idiomatic dev experience with top-notch performance. I'm trying to compose a full rust stack for web dev but not a fan of yew and other heavy opionated libs

I use https://twind.style/, It can run in client side, so it integerate with maud very well.

I'd like the railwind logic to run on the server though. Would I need to make some wrapper around the html macro to get things working?

To clarify, what does Tailwind support involve? I had a brief look and it seems like it's just a CSS framework.
Does support mean stripping out unused CSS classes?

Yeah, ideally it should be relatively easy to compile the used classes at least in the release profile. I've tried railwind for that but it's extremely early stage and buggy, and things become complicated once classes aren't just hardcoded like ."some-tailwind-class" but precomputed and added as variables .(VAR)
I don't know what the best angle to approach that would be, but tailwind is probably the best css tool out there and I think it would be nice to make Maud play well with it somehow

I'm using Tailwind with Maud (and Axum) with no changes to any of the projects. I use Parcel to build my CSS and JS which includes the Tailwind minimization. The only configuration I needed was to tell Tailwind also look at my Rust source files.

Looks like the problem is just with railwind, hopefully it will catch up at least with core tailwind features eventually. But on maud's end everything looks ok. I'll switch to maud+grass for now. Thanks for your attention folks

I'll switch to maud+grass for now

@edezhic I'm not sure how Grass relates to Tailwind. Have you completely given up on Tailwind?

I added the tailwind build to my build step:
// build.rs
fn main() {
    let tailwind_cmd = "npx tailwindcss -i index.css -o assets/index.css";

    let path = fs::canonicalize(".");

    let path = match path {
        Ok(p) => p,
        Err(e) => panic!("{}", e),
    };

    std::process::Command::new("zsh")
        .current_dir(path)
        .arg("-c")
        .arg(tailwind_cmd)
        .spawn()
        .expect("failed running tailwind");
}

Not the best code, but I'm still in dev, so not production code for now.
If you run cargo watch -x run it compiles on each file change.


Instantiating GPUParticles2D throws many errors

Godot version
v4.0.beta.custom_build [291add339]
System information
Windows 10, Forward+, NVIDIA GeForce GTX 1050 Ti (<IP_ADDRESS>4)
Issue description
I was testing if #69669 was solved by #70418, which it seemed to be. However, I got a wall of errors at the same time.
In the minimal reproduction project below in this Issue, I get errors when instantiating many of the same GPUParticle2D scene. In my earlier Godot 4 build (v4.0.beta.custom_build [2a04b18d3]) I did not get any errors (but got the occasional artifact as was my original issue in #69669).
I suspect the PR #70418 solved the artifact, but possibly introduced new bugs. However, I have not specifically built Godot with, and without the PR in question.
I believe this is the start and end of the errors - after which they repeat.

Steps to reproduce

Create a GPUParticle2D scene
Instantiate the scene several times
Observe the debugger get flooded with errors

Minimal reproduction project
This project only instantiates default GPUParticle2D scenes with a default particle material.
GPU_Particle_Creation_Bug.zip

Narrowing down this issue a little further. The errors do not occur if the GPUParticles2D are instantiated from the editor. In the MRP, if you add a texture to the gpu_particles.tscn particles, they appear fine and render fine. The issue only occurs in the main.tscn when the particles are instantiated in the process function


relationships serializer inference

Serializer inference on relationships can be improved.
For instance belongs_to :owner, record_type: :user uses OwnerSerializer.
In my opinion, it would make more sens to use UserSerializer.
I have a patch here: https://github.com/ThomasSevestre/fast_jsonapi/commit/46b5fdefb675159d89ec01b66cb45dea1590cbdf
It is a breaking change, I'll make a PR if you are interested.

Lets get some more feedback regarding this first.
Personally I do prefer a more explicit way to provide the type and the serializer, but I don't have a strong opinion.

I agree, this has been confusing for me a few times.  However, I haven't had the time to come up with a clear set of rules to implement.  @ThomasSevestre, do you have suggestions?

I beleive it should be the least surprising as possible. IMO the behavior should be :

use serializer option if specified
use record_type option if specified
use relation name

I'll throw in my opinion since I just created #29 which is somewhat related.
The record_type inference and serializer inference can both be misleading.  Personally, if I every need to specify one, I specify the other as well.  Here's the thing though: if it knew which serializer to use, then it should just look up the record type on the serializer.  To me, the value specified by set_type of the serializer is the Single Source of Truth.
Therefore, my opinion is that the record_type option is completely superfluous because we offer the serializer option.  I think record_type should be deprecated in favor of specifying serializer directly, and the type specified in the output should always come from the serializer.
This way there is only one thing being inferred: detecting the serializer class from the serializer option on the relationship.
If we deprecated record_type, then this is how I think we can still gracefully support it in the meantime:

If record_type is specified and serializer is not specified, simply treat the value of record_type as the serializer option instead.

If both record_type and serializer are specified, ignore record_type in favor of the serializer's.  I imagine that in all real-world usage, these match already.  If not, I think the type in the relationships hash would not match the type of the actual serialized record, which would break the JSON:API spec.

What does everyone else think?

While working on #29, I discovered this in the specs.  This is the JSON output of this test, shortened to highlight the problem:
{
  "data": [
    {
      "id": "1",
      "type": "movie",
      "attributes": {
        "name": "test movie",
        "release-year": null
      },
      "relationships": {
        "movie-type": {
          "data": {
            "id": "1",
            "type": "movie-type"
          }
        }
      }
    }
  ],
  "included": [
    {
      "id": "1",
      "type": "dash-movie-type",
      "attributes": {
        "name": "Episode"
      }
    }
  ]
}

Notice how the value for type is different in the relationships from in the included.  This JSON:API output is invalid because of how it is resolving record types and serializers.
There is even a test to make sure the type in the relationships equals movie-type, presumably because the relationship is defined as belongs_to :movie_type.  To me, this test is not correct, and the type should always be the type defined on the serializer, in this case dash-movie-type.
To me, I think all these problems disappear when we make the serializer the Single Source of Truth, and relationships specify a serializer option if it can't be inferred from the relationship name.

@christophersansone it looks goot to me !


Make typescript more strongly (optionally)

It would be nice to have type safety for the query builder.
// without type safety
const user = await User.query()
    .where({ id: 1 })
    .select('id')
    .orderBy('id', 'desc');
// with type safety
const user = await User.query()
    .where<User>({ id: 1 })
    .select<User>('id')
    .orderBy<User>('id', 'desc')

Coverage decreased (-0.1%) to 97.052% when pulling 09df3c12f4ef517ded15c8b2ddcad143e8a3220a on udanpe:patch-1 into 38973762e05a62b545e2ecd50f898cf83032af2d on Vincit:master.

Thanks for this PR, but we're about to release objection 2.0 where the types have been fully rewritten. What you are suggesting cannot be added though. You can easily have a query that has alot more columns than just the model columns.

You can easily have a query that has alot more columns

I didn't touch previous declarations. If you use where with generic you have half of functionality but with type safety. But if you don't use you can write everything. It's optionally. Its better then nothing.
class User {
   firstName: string
}
const user = await User.query().where({ firstName3232323: 1 }) // ok
const user = await User.query().where<User>({ firstName3232323: 1 }) // error

I looked v2 and it's horrible. If now i can override d.ts v2 already have generic. Any reason to do that?
declare module 'objection' {
  interface Where<QM extends Model, RM, RV> extends WhereRaw<QM, RM, RV> {
    <T>(columns: Partial<T>): QueryBuilder<QM, RM, RV>;
    <T>(column: Partial<keyof T>, op: string, value: string): QueryBuilder<QM, RM, RV>;
  }
  interface OrderBy<QM extends Model, RM, RV> {
    <T>(column: keyof T, order?: 'asc' | 'desc'): QueryBuilder<QM, RM, RV>;
    <T>(columns: (Array<{ column: keyof T; order?: 'asc' | 'desc' }>)): QueryBuilder<QM, RM, RV>;
  }
  interface ColumnNamesMethod<QM extends Model, RM, RV> {
    <T>(...columnNames: Array<Partial<keyof T>>): QueryBuilder<QM, RM, RV>;
    <T>(columnNames: Array<Partial<keyof T>>): QueryBuilder<QM, RM, RV>;
  }
}


Support for time select

It would have been nicer to have time select alongside the date itself like for input type datetime-local.

Stale issue, closing.


Fix printing of type-only imports

Type-only imports like:
import type { A } from 'b';
import { type C } from 'd';

currently emit as regular imports:
import { A } from 'b';
import { C } from 'd';

This means that if you're using swc to apply transformations to TS that don't include the typescript-to-js transform, you accidentally change the semantics of these import statements.
This PR adds tests for these cases and fixes the emitters.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


I got Error: 'apple_common' value has no field or method 'objc_proto_aspect' when install with ./BUILD_FACE_MESH_XCFRAMEWORK.sh

when I install it with ./BUILD_FACE_MESH_XCFRAMEWORK.sh I got error like below
ERROR: Traceback (most recent call last): 	File "/private/var/tmp/_bazel_tryanadityaputra/3f1a92394fe1d14256beb1af178a8a06/external/build_bazel_rules_apple/apple/internal/testing/ios_rules.bzl", line 62, column 61, in <toplevel> 		ios_ui_test_bundle = rule_factory.create_apple_bundling_rule( 	File "/private/var/tmp/_bazel_tryanadityaputra/3f1a92394fe1d14256beb1af178a8a06/external/build_bazel_rules_apple/apple/internal/rule_factory.bzl", line 950, column 55, in _create_apple_bundling_rule 		rule_attrs.append(_common_binary_linking_attrs(rule_descriptor)) 	File "/private/var/tmp/_bazel_tryanadityaputra/3f1a92394fe1d14256beb1af178a8a06/external/build_bazel_rules_apple/apple/internal/rule_factory.bzl", line 228, column 21, in _common_binary_linking_attrs 		apple_common.objc_proto_aspect, Error: 'apple_common' value has no field or method 'objc_proto_aspect' ERROR: Skipping 'mediapipe/examples/ios/facemeshioslib:FaceMeshIOSLibFramework': error loading package 'mediapipe/examples/ios/facemeshioslib': at /private/var/tmp/_bazel_tryanadityaputra/3f1a92394fe1d14256beb1af178a8a06/external/build_bazel_rules_apple/apple/ios.bzl:22:5: initialization of module 'apple/internal/testing/ios_rules.bzl' failed WARNING: Target pattern parsing failed. ERROR: error loading package 'mediapipe/examples/ios/facemeshioslib': at /private/var/tmp/_bazel_tryanadityaputra/3f1a92394fe1d14256beb1af178a8a06/external/build_bazel_rules_apple/apple/ios.bzl:22:5: initialization of module 'apple/internal/testing/ios_rules.bzl' failed INFO: Elapsed time: 1.818s INFO: 0 processes. FAILED: Build did NOT complete successfully (0 packages loaded)     currently loading: mediapipe/examples/ios/facemeshioslib tryanadityaputra@tryans-MacBook-Air MediapipeFaceMeshIOSLibrary % bazel build --copt=-fembed-bitcode --apple_bitcode=embedded --config=ios_arm64 mediapipe/examples/ios/facemeshioslib:FaceMeshIOSLibFramework
I already tried to upgrade bazel but seems no different. Is there anything I should do or it just deprecated?

download his release zip :https://github.com/swittk/MediapipeFaceMeshIOSLibrary/releases

This was (and is) only an example for others to try implement; not as something to be used in production.
Regarding this issue, maybe there are breaking changes in Bazel? I really have no idea since I haven't had the time to experiment with things (at least until I finish my residency training).


Out-of-core training

I'm sending a PR for out-of-core training on GPU. This enables you to perform training of very deep models such as ResNet, DenseNet and etc with suitable min-batch size on GPU.
One concern about GPU is its memory size. The amount of GPU memory is usually smaller than that of CPU memory, especially on server machines. And it is not so uncommon that you see a kind of out-of-memory error while training very large models on GPU.
A basic idea behind this PR is to make use of CPU memory as a swap area. So, this PR provides a new method named to_swap(). You can use the  to_swap() to move any variables on GPU memory to CPU memory. A method to_gpu() is enhanced and you can use the to_gpu() to move variables from CPU memory back to GPU memory. And this PR also provides several methods such as ancestors_to_swap(), ancestors_to_gpu(), interrupt_backward(), resume_backward(), enable_swapout(), disable_swapout() and so on that are useful to realize appropriate data movement during forward and backward propagation.
For its usage, please refer to a file examples/example_OOC.py.

I've added a few methods so that it is easier to use OOC feature.
The most important fix with this patch is a set_end_of_sub_graph() method added to the Variable class. This is a kind of hint from developers to a Chainer's runtime to let the runtime knows when to move data safely between CPU and GPU. Still, you need to modify existing models, but, thanks to the set_end_of_sub_graph() method, the amount of modification is considerably reduced, and I think now it is kind of acceptable for many developers.
For its usage, please refer to files examples/example_OOC_(simple/VGG16/ResNet152).py.

Added a method forget() to the Variable class and modified back-prop methods in order to reduce memory usage. This was implemented based on the result of discussion with Chainer developers such as Okuta-san, Tokui-san, Unno-san. Thanks for the discussion!
The attached is the effect of the out-of-core training combined with the forget() method. As you can see, GPU memory usage is greatly reduced by this and very deep network like ResNet152 can be trained with large batch size. In other words, you can deal with much deeper and larger networks than ResNet152, on a single GPU.

For its usage, please refer to files examples/example_OOC_(simple/VGG16/ResNet152).py.


App Termination

I got this error while letting the app run in Xcode.
Terminating app due to uncaught exception 'NSGenericException', reason: '*** Collection <__NSArrayM: 0x16301cf40> was mutated while being enumerated.'
This is what gets highlighted once the app terminates.
NSArray *gymsToRemove = [annotations filteredArrayUsingPredicate:[NSPredicate predicateWithFormat:@"self isKindOfClass: %@ AND self.gymID IN %@" argumentArray:@[[GymAnnotation class], self.annotationsGymsToDelete]]];
That's under the - (void)controllerDidChangeContent:(NSFetchedResultsController *)controller section

Do you have always this error ?

I close this thread.
Please open a new one if you have the same bug.


[safe-claiming-app]: voting power widget without any allocation / tokens

Overview
Currently some dummy text is displayed for addresses without any allocated tokens.
We should show a meaningful message and remove the "buy tokens" button as this was just a placeholder.
Requirements

[x] Display instead:

*Become part of Safe’s future*
Help us unlocking ownership for everyone by joining the discussions in the SafeDAO Forum and our Discord.

Verified in Epic PR


feat: new website copy

New copy for the website ahead of the redesign.
Also adds a CTA to the new publish to IPFS guide and link to pinning services
Preview

completed in #254 🥳


Holomap.overlay and default dimension

When no dimensions are specified, a HoloMap takes the dimension 'Default'. However, it is not possible anymore to overlay this dimension.
hv.HoloMap({'B':hv.Curve(([5.1,17.4], (0,0))), 'A':hv.Curve(([17.4,30], (0,0)))}, ).overlay()

---------------------------------------------------------------------------
Exception                                 Traceback (most recent call last)
<ipython-input-9-85ea22825678> in <module>()
----> 1 hv.HoloMap({'B':hv.Curve(([5.1,17.4], (0,0))), 'A':hv.Curve(([17.4,30], (0,0)))}).overlay()

/home/tenner/src/holoviews/holoviews/core/spaces.pyc in overlay(self, dimensions, **kwargs)
     34         if len(dimensions) == self.ndims:
     35             with item_check(False):
---> 36                 return NdOverlay(self, **kwargs).reindex(dimensions)
     37         else:
     38             dims = [d for d in self.kdims if d not in dimensions]

/home/tenner/src/holoviews/holoviews/core/ndmapping.pyc in reindex(self, kdims, force)
    374             kdims = [d for d in old_kdims
    375                      if not len(set(self.dimension_values(d))) == 1]
--> 376         indices = [self.get_dimension_index(el) for el in kdims]
    377
    378         keys = [tuple(k[i] for i in indices) for k in self.data.keys()]

/home/tenner/src/holoviews/holoviews/core/dimension.pyc in get_dimension_index(self, dim)
    706         except ValueError:
    707             raise Exception("Dimension %s not found in %s." %
--> 708                             (dim, self.__class__.__name__))
    709
    710

Exception: Dimension Default not found in NdOverlay.

Thanks for reporting this!
I have mixed feelings about the 'Default' dimension. The idea is to make it easier to use a HoloMap as a dictionary. Generally, I would not rely on it...but I am not really suggesting deprecating it either...

Quite often, i do not care about the dimension name (or do not want to think about it). As short term solution, I call this dimension 'a', instead of giving it a real name. Hence, I prefer to have a default dimension.

Glad to know it is of use!
User feedback on such things helps me decide whether I feel they are helpful or a hinderance.

I think this is simply a bug, rather than anything to do with default dimensions.

Indeed. The following three lines raise the same error:
hv.HoloMap({'B':hv.Curve(([5.1,17.4], (0,0))), 'A':hv.Curve(([17.4,30], (0,0)))}, ).overlay()
hv.HoloMap({'B':hv.Curve(([5.1,17.4], (0,0))), 'A':hv.Curve(([17.4,30], (0,0)))}, kdims=['Default']).overlay()
hv.HoloMap({'B':hv.Curve(([5.1,17.4], (0,0))), 'A':hv.Curve(([17.4,30], (0,0)))}, kdims=[hv.Dimension('Default')]).overlay()


Resume DDP training with a checkpoint

** Environment **
PyTorch version: 1.12.1
Torchvision version: 0.13.1
CUDA used to build PyTorch: 11.3
OS: Ubuntu 20.04.1 LTS (x86_64)
GCC version: (conda-forge gcc 10.4.0-16) 10.4.0
Clang version: Could not collect
CMake version: version 3.16.3
Libc version: glibc-2.31
Python version: 3.9.13
Python platform: Linux-5.4.0-58-generic-x86_64-with-glibc2.31
Is CUDA available: True
CUDA runtime version: 11.0.221
GPU models and configuration:
GPU 0: A100-SXM4-40GB
GPU 1: A100-SXM4-40GB
GPU 2: A100-SXM4-40GB
GPU 3: A100-SXM4-40GB
Nvidia driver version: 450.80.02
Composer information
Composer version: 0.9.0
Host processor core count: 64
Number of nodes: 1
Accelerator model name: A100-SXM4-40GB
Accelerators per node: 1
CUDA Device Count: 4
** To reproduce
Steps to reproduce the behavior:

Clone the codebase provided in the link below.
Use run.sh to resume DDP run with the checkpoint provided.
It shouldn't resume, throwing OOM error.
It doesn't throw any OOM when the training is very short (5ep or 10ep), but does when it trains for longer (40ep or 100ep). One can try testing this by changing the appropriate variables in the run.sh file

Expected behavior
It should resume with the checkpoint normally without any errors.
Additional context
codebase: link
checkpoint (100ep total training, dumped at 88ep):  link

Hi, @priyamdey, thanks for the repro repo! Interesting issue. Is there any way you can share your error logs? Also, another thing that might help is upgrading to composer v0.11. We fixed a few checkpointing related issues there.

Hi @eracah , where do I find the error logs? And you want the one when I'm loading the checkpoint? I can try shifting to v0.11, but does that change any sort of training behavior?

Hi @eracah , I tried testing the same with v0.11, unfortunately getting a similar OOM behavior there as well:
(Note: Ihad to update for some breaking changes like LogLevel, comment out missing algo check in the state.py to bypass repr error)

Details
512
[
trace]: algorithm_traces/ChannelsLast/Event.INIT:1
[trace]: algorithm_traces/BlurPool/Event.INIT:1

******************************
Config:
blurpool/num_blurconv_layers: 6
blurpool/num_blurpool_layers: 1
enabled_algorithms/BlurPool: true
enabled_algorithms/ChannelsLast: true
enabled_algorithms/HeadAdder: true
enabled_algorithms/ProgressiveResizing: true
num_gpus_per_node: 2
num_nodes: 1
rank_zero_seed: 42

******************************
ERROR:composer.cli.launcher:Rank 1 crashed with exit code 1.
Waiting up to 30 seconds for all training processes to terminate. Press Ctrl-C to exit immediately.
Global rank 1 (PID 812356) exited with code 1
----------Begin global rank 1 STDOUT----------

----------End global rank 1 STDOUT----------
----------Begin global rank 1 STDERR----------

[trace]: algorithm_traces/ChannelsLast/Event.INIT:1
[trace]: algorithm_traces/BlurPool/Event.INIT:1
Traceback (most recent call last):
  File "ddp-resume-mosaic/main.py", line 198, in <module>
    main(args)
  File "ddp-resume-mosaic/main.py", line 188, in main
    trainer.fit()
  File "python3.9/site-packages/composer/trainer/trainer.py", line 1601, in fit
    self._train_loop()
  File "python3.9/site-packages/composer/trainer/trainer.py", line 1711, in _train_loop
    self._spin_dataloaders()
  File "python3.9/site-packages/composer/trainer/trainer.py", line 1672, in _spin_dataloaders
    for _ in dataloader:
  File "python3.9/site-packages/ffcv/loader/loader.py", line 214, in __iter__
    return EpochIterator(self, selected_order)
  File "python3.9/site-packages/ffcv/loader/epoch_iterator.py", line 55, in __init__
    memory_allocations[p_id] = p.allocate_memory(self.loader.batch_size,
  File "python3.9/site-packages/ffcv/pipeline/pipeline.py", line 103, in allocate_memory
    allocated_buffer = self.allocate_query(memory_allocation,
  File "python3.9/site-packages/ffcv/pipeline/pipeline.py", line 73, in allocate_query
    partial = ch.empty(*final_shape[1:],
RuntimeError: CUDA out of memory. Tried to allocate 182.00 MiB ...

After discussing this offline, it seems like the issue was related to FFCV dataloaders. Spinning the dataloader, which sets the epoch for the distributed sampler and fetches a single sample to fix the randomness, led to OOM. I was unable to reproduce this with any other dataloader, so I am reasonably confident it is an FFCV problem.
Because of this, I'm going to close out this issue. If anything new is found, please feel free to reopen this!


2017.07.14 Production Deploy

automatic PR created to update the booster https://github.com/snowdrop/spring-boot-health-check-booster/pull/11

automatic PR created to update the booster https://github.com/openshiftio-vertx-boosters/vertx-health-checks-booster/pull/5


Deploy SuperAGI on non localhost

⚠ Check for existing issues before proceeding. ⚠

[X] I have searched the existing issues, and there is no existing issue for my problem

Where are you using SuperAGI?
Linux
Which branch of SuperAGI are you using?
Main
Do you use OpenAI GPT-3.5 or GPT-4?
GPT-3.5
Which area covers your issue best?
Installation and setup
Describe your issue.
I am trying to deploy SuperAGI on a server with no domain name. I will access it via external IP. No changes in the code. Access point via browser HTTP://:3000 . SuperAGI loaded but ai agent it still thinking with no output.

How to run SuperAGI on the external instance?
How to replicate your Issue?
No response
Upload Error Log Content
No errors in log file.

I had the same issue before a few months I just deleted it and used different projects I loved some functions that only this project had but I had like you no luck to get it to work! The project seems to be dead!

Are you seeing any error logs in celery or backend,
This executions run in celery, so can you share those logs
docker compose logs celery and docker compose logs backend


Investigate different designs for querying a running Zebra node

Is your feature request related to a problem? Please describe.
During our first alpha user studies (#1501) users mentioned that they would like to interact with zebrad to query specifc information, e.g about a particular transaction.
Describe the solution you'd like
We should investigate alternative designs for querying a running Zebra node.
For example:

a separate command line tool using RPC

some RPC methods that might also be used by a wallet command line tool

a separate command-line tool using a RocksDB secondary database object

https://docs.rs/rocksdb/0.16.0/rocksdb/struct.DBWithThreadMode.html#method.open_cf_as_secondary
https://docs.rs/rocksdb/0.16.0/rocksdb/struct.DBWithThreadMode.html

a block explorer web interface

I think this ticket is related to generic RPC, wallet, or block explorer interfaces - so I'm not sure that focusing on specific libraries is going to be helpful here.
Whatever we use, we're going to have to build our own crate.

I think this ticket is related to generic RPC, wallet, or block explorer interfaces - so I'm not sure that focusing on specific libraries is going to be helpful here.
Whatever we use, we're going to have to build our own crate.

We've decided on RPC via lightwalletd to start with, so this ticket is now obsolete.


Improved behavior for accepting EULA.

This PR changes behavior of how we acquire missing Eula. Now when azdata eula is missing, we overload the 'select' button to be 'Acquire Eula & Select' button.
Testing: End to end testing done. Still more testing beign done when the EULA acceptance toast times out. That scenario is important because downloading and reading the EULA is going to cause the timeout pretty often.
This PR fixes #12077

Pull Request Test Coverage Report for Build 261383106

4 of 35 (11.43%)  changed or added relevant lines in 4 files are covered.
2 unchanged lines in 1 file lost coverage.
Overall coverage increased (+0.001%) to 38.348%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

extensions/resource-deployment/src/services/tools/toolBase.ts
0
2
0.0%

extensions/resource-deployment/src/services/tools/azdataTool.ts
0
4
0.0%

extensions/resource-deployment/src/ui/resourceTypePickerDialog.ts
0
25
0.0%

Files with Coverage Reduction
New Missed Lines
%

extensions/resource-deployment/src/ui/resourceTypePickerDialog.ts
2
0%

Totals

Change from base Build 261307582:
0.001%

Covered Lines:
19134

Relevant Lines:
45734

💛  - Coveralls

Nit: Title of the PR doesn't make sense

@ranasaria Please include screenshots of the new experience

Nit: Title of the PR doesn't make sense

Fixed!


Fix lint issues

Explanation

For some reason, two lint violations show up on my computer when running yarn lint:eslint. I have attempted to remove node_modules, remove all dist directories, remove .eslintcache, run yarn cache clear, etc. to no avail. I think an ultimate fix here may be to upgrade ESLint packages but that would be a larger change, so as egregious as it is, this commit skirts around the issue by adding some ignore lines.
References

Intermittent lint violations have been a problem for a long time. Also see #4540.
Changelog

(N/A)
Checklist

[x] I've updated the test suite for new or updated code as appropriate
[x] I've updated documentation (JSDoc, Markdown, etc.) for new or updated code as appropriate
[x] I've highlighted breaking changes using the "BREAKING" category above as appropriate

Did you try restarting your local TypeScript language server?

@Mrtenz Yeah, I just tried closing my editor, running killall node, explicitly looking for tsserver and killing that, and when I run yarn lint:eslint I'm still getting the two violations.

Not a huge fan of this idea. This type of rule exclusion prevents us from using the reportUnusedDIsableDirectives rule, which would let us treat ESLint ignore comments more like ts-expect-error, in that it would flag cases where they're obsolete.

@Gudahtt Sure. I wanted to quickly unblock other people if they were encountering this, too, but I admit that this is probably not the best way to deal with this. Is there another way that you would suggest? Are you concerned that we don't currently have a good way to remove these later?

I'd suggest that we investigate this further and find the root cause.
I am not sure what you meant by your last question.

@Gudahtt You mentioned the use of reportUnusedDisableDirectives. This rule (as I understand it) looks for eslint-disable directives that are unnecessary (because the line that they are referring to no longer has a lint violation). If we were to enable this option and we found that the lint violations I found mysteriously went away, then reportUnusedDisableDirectives should alert us to that so that we can remove those disable directives. Is that true? Or was there some other reason that you mentioned this option?

I mentioned that rule because enabling it would require undoing this change, leaving contributors in the same state of having local lint errors.


Add Run In Terminal code lens

Motivation
Because the test controller isn't able to handle dynamically generated tests, the Run code lens is not able to run them. This means those tests are not supported by any code lens anymore, while in prior versions they could be run in the terminal.
This commits adds a new code lens Run In Terminal that will run the tests in the terminal.
(This requires https://github.com/Shopify/vscode-ruby-lsp/pull/596)
Implementation

Update the create_code_lens method so it handles more than 2 types of code lens.
Add a new type of code lens titled: Run In Terminal

Result:

Automated Tests
The existing tests have covered it.
Manual Tests

I personally would enjoy a Run In Terminal option, but I think it would be worth looking into how other language extensions deal with this kind of thing. If clicking "Run" doesn't show failed tests then that seems like a regression.
(Perhaps we should mark the Test Explorer as experimental for now?)

If clicking "Run" doesn't show failed tests then that seems like a regression.

It's not that it doesn't show failed tests. It's because we can't create test controller items for generated tests, they're not being run at all. For example, if you click Run on DocumentHighlightExpectationsTest, it only runs 1 test that's explicitly defined in the class. But yeah, I feel it's a regression.

(Perhaps we should mark the Test Explorer as experimental for now?)

I have a very mixed feeling about this:

Given the technical limitation on detecting generated tests, it'll probably stay experimental for a long time.
Generated tests should be relatively few in a project. Hiding the very convenient Test Explorer for them seems a bit of a shame.
However, not seeing generated tests in Test Explorer is pretty confusing. I had to ping @vinistock to confirm what's causing it.

btw Code Lens is still experimental, so we might want to mention that in the release notes.


DBforMySQL ismissing the required "Type" field on a resource

For reference, see this PR.
An example is Microsoft.DBforMySQL.json version 2017-12-01, servers_Administrators
This should have a type of "Microsoft.DBforMySQL/servers/Administrators, but it doesn't.
The strange thing is, the preview specification of that same resource has the type field, so somehow it's generated correctly in one of the schemas but not the other - possibly because of a difference in the underlying Swagger specifications?

@mattchr type is defined here in your example schema.

@anthony-c-martin So it is! I missed it because of the OneOf (and so did my tooling).
Do you know why that resource has a oneOf like that?
In any case this issue seems to be wrong so you can probably close it.

Closing this as actually the type is fine, I just didn't notice the field I thought should be there.


sp and sil always recognized as phonemes

This is a one-line fix that keeps prondict.py from exiting if 'sil' or 'sp' is used in a .dict file.  This allows for dictionary files with pauses within a word.

LGTM!
(I am going to make a slight edit to this after merging. It looks like phoneset is of type frozenset so reasonably, the set containing 'sp' and 'sil' ought to be as well. And I also noticed that 'sp' and 'sil' are defined as globals in utilities.py so I'm going to use those, just to be sure.)


S3

fix pio setup
add t5_47
ignore cache

added a specific boards,json for the T5_47. Since i have this board, it is verified working.
For your used S3 you can modify the S3 boards json accordingly.


Yet another Failed to locate opened application window with appId:

Hi,
I'm trying to open up Movies & TV app for a test on a remote machine, but opening up WinAppDriver also has to be done from a host machine. So I open it up using psexec by executing this command:
psexec \<IP_ADDRESS> -u TestUser -p Password -h "C:\Program Files (x86)\Windows Application Driver\WinAppDriver.exe" <IP_ADDRESS> 4723/wd/hub
I can see that the process start on remote machine. Then I push this python script to open up the app:
class ZuneTest(unittest.TestCase):
@classmethod
def setUpClass(self):
    #set up appium
    desired_caps = {}
    desired_caps["app"] = "Microsoft.ZuneVideo_8wekyb3d8bbwe!microsoft.ZuneVideo"
    desired_caps["platformName"] = "Windows"
    desired_caps["deviceName"] = "WindowsPC"
    self.driver = webdriver.Remote(
        command_executor='http://<IP_ADDRESS>:4723/wd/hub',
        desired_capabilities= desired_caps)
    self.title = "Animals"

@classmethod
def tearDownClass(self):
    self.driver.quit()

def test_initialize(self):
    self.driver.find_element_by_name("Personal").click()

    self.driver.find_element_by_name("VIDEOS").click()

    # Find specified movie title
    self.driver.find_element_by_xpath('//*[contains(@Name,"' + self.title + '")]').click()

    time.sleep(4)
    # set to full screen
    try:
        self.driver.find_element_by_name("Full Screen").click()
    except:
        print("Did not find the button for full screen")
    time.sleep(90)

if name == 'main':
suite = unittest.TestLoader().loadTestsFromTestCase(ZuneTest)
unittest.TextTestRunner(verbosity=2).run(suite)
On the remote side, I see that the Movies & TV app actually pops up, but the test errors out immediately after that with the message:
C:\Temp\test_remote_cmd>py -3 test_zune.py
ERROR
======================================================================
ERROR: setUpClass (main.ZuneTest)
Traceback (most recent call last):
File "test_zune.py", line 32, in setUpClass
desired_capabilities= desired_caps)
File "C:\Python36\lib\site-packages\appium\webdriver\webdriver.py", line 36, in init
super(WebDriver, self).init(command_executor, desired_capabilities, browser_profile, proxy, keep_alive)
File "C:\Python36\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 154, in init
self.start_session(desired_capabilities, browser_profile)
File "C:\Python36\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 243, in start_session
response = self.execute(Command.NEW_SESSION, parameters)
File "C:\Python36\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 312, in execute
self.error_handler.check_response(response)
File "C:\Python36\lib\site-packages\selenium\webdriver\remote\errorhandler.py", line 237, in check_response
raise exception_class(message, screen, stacktrace)
selenium.common.exceptions.WebDriverException: Message: Failed to locate opened application window with appId: Microsoft.ZuneVideo_8wekyb3d8bbwe!microsoft.ZuneVideo, and processId: 7724

Ran 0 tests in 5.847s
FAILED (errors=1)
If i look in the Task Manager, the process ID 7724 is Video.UI.exe which seems to be my application. I saw the post about getting a desktop session and taking control over the keyboard and opening up the app with that first, but i have no idea how to do that in python. Any input?
By the way, if i run the winappdriver.exe directly from the remote machine and then push the same test script, everything runs successfully. What should i do?
Thanks much!

You need to add the "-i" argument to psexec.  This allows the programs it executes to interact with the desktop, and WinAppDriver needs to do that.

Yup, that's what I was missing, thank you!


[T4A3][W14-A2]Melvin

Ignore "Update StorageFile.java". Not sure why it appeared in the commits.

Some comments added. Feel free to add more comment if you have any questions. Once you are done, you may close the PR after reading comments.


Feature Request: Support for Conditional Attributes

http://google.github.io/incremental-dom/#conditional-rendering/logic-in-attributes
Currently there's no way to have an attribute applied conditionally beyond using duplicate if blocks.  For example:
<p class="{value === true ? 'active' : ''}">

will be compiled as:
elementOpen("p", null, null, "class", "" + (value === true ? 'active' : '') + "")

Thus the value of the class is calculated prior to the script running and will always be the original value, rather than updating as the model changes.
It would be nice if attributes with logic would update on each patch to reflect changed states.

Hi there.
This is possible - see here
Thanks

Ah, I think this was a slightly different issue, but I just figured it out.  Interestingly, even though my model was using non-string values, I had to evaluate equality against a string.
So value === 1 was always evaluating as false, even if value was indeed the number 1, while value === '1' or value == 1 was truthy.

Strange. I'd be interested to see the compiled incremental-dom that was causing that behaviour.


Only works with 0.35?

Is it only working for 0.35? Are there hardcoded file offsets?

https://github.com/Jumboperson/Il2CppDumper/blob/master/Il2CppDumper.cpp#L362
I answered myself


object 'UMAP1' not found when running complex_featureplot

When I ran the complex_featureplot function, I encountered the following error:
complex_featureplot(object, features = genes, group = "Group", order = T)
"Error in geom_point():
! Problem while computing aesthetics.
i Error occurred in the 1st layer.
Caused by error in FUN():
! object 'UMAP1' not found
Run rlang::last_trace() to see where the error occurred."
However, my object@reductions contains UMAP information.

I used the following code to change 'umap' to 'UMAP', yet the error persists.
object@reductions$UMAP <- object@reductions$umap
How can I resolve this issue? Thank you.

Hi @pandaqiuqiu
After you did this:
object@reductions$umap <- object@reductions$UMAP

Can you do one additional steps and see if the error goes away?
colnames(object<EMAIL_ADDRESS><- c("UMAP_1", "UMAP_2")

I will fix it to make it more flexible on the dimension selection on the next release.


Cycle Through Files in Commit

A nice quality of life feature (for me) would be the ability to cycle through files in a commit (or in the PR overall, if a specific commit is not open). Then I could close the Lite Panel on the side and use a shortcut to cycle through the files per commit. Something like GHCommitNextFile, GHCommitPrevFile, GHPRNextFile, GHPRPrevFile - or just GHNextFile and GHPrevFile which calculate the next/prev file based on whether a specific commit is selected or not.

Been feeling this one too. I'll try an implementation soon


skyplane deprovision is broken for Azure

Any transfer involving Azure with --reuse-gateways followed by skyplane deprovision will leave orphaned resources. Skyplane deprovision should clean up VPNs, etc.

Can you provide an example of this? Skyplane deprovision should go and clean up associated resouces.


Question about the training and evaluation code on VCOCO dataset?

Thanks for your nice work. Could you also provide the source code for training and evaluating on VCOCO dataset since it takes too long for the training on the HICO-Det dataset? Thanks a lot.

Besides, could you also provide the source code of creating annotation and eval files (hico_test_retag_hoitr.odgt, hico_trainval_retag_hoitr.odgt, corre_hico.npy, nid2fname.json, test_hico.json, trainval_hico.json)?

You know, recently we are busy, so, probably after the submission of camera-ready materials. Thanks

Sorry for this late,
1, we have just pushed the code, including V-COCO, HOI-A.
2, we have provided annotation files for all the benchmarks, so you don't have to know how to convert, just use it. And we are preparing a visulazition tool for this format.


UdpSocket::recv eats 100% cpu

The following example:
use async_std::net::UdpSocket;

#[async_std::main]
async fn main() -> std::io::Result<()> {
    let socket = UdpSocket::bind("<IP_ADDRESS>:8080").await?;
    println!("Listening on {}", socket.local_addr()?);

    let mut buf = vec![0u8; 1024];
    loop {
        let n = socket.recv(&mut buf).await?;
        println!("Received: {:?}", &buf[..n]);
    }
}

Eats 100% cpu on macOS & Linux when idle (rustc 1.43.1)
Affected version: 1.6
On the previous 1.5 works well.

@khvzak can you check what version of smol you were using<EMAIL_ADDRESS>was just released which has some fixes that could help here.

Same issue after running cargo update (smol@0.1.11).
300% CPU according htop on macOS

thanks :(
cc @stjepang

This should be fixed in smol v0.1.12. Can you do cargo update and see if the issue is resolved?

Works fine now, thanks!


fix clipboard copy on admin tab

Ticket Link
[Groupings-1078]
List of squashed commits
Only 1 commit
Test Checklist

[X ] Unit Tests Passed:
[ X] Jasmine Tests Passed:
[ X] General Visual Inspection:

as far as code goes this seems fine. the coverage/build for the github actions isn't working, but I don't think this is related to the changes in your code. I saw that it has to do something with the jacoco bade which needs to be fixed

Im aware of the Jacoco badge error, I believe it is a known issue.


Remove exhaustiveness workaround in focus_traversal.dart

Basically undo the changes in https://github.com/flutter/flutter/pull/123242 once the underlying bug is fixed.

@jakemac53 Once we have an upstream issue, can you link it here for reference?

https://github.com/dart-lang/sdk/issues/51823 is the issue on the dart side of things


Animated icons bug in the tray

Hi,
just look the gif.

Waybar version is Waybar v0.5.1 (Apr 10 2019, branch 'master')

This should be fixed with 3273ee8b426e156e0834566c823cd36f8a1c8f25

Great! Thanks!


[Relay][Fix] Let Printer

The time complexity of the current let printing algorithm is O(n^2), where n is the number of let statments. This PR reduces it to O(n).
doc = doc_stack_.back() << doc;

The time complexity of this statement is determined by the length of doc. For the ith iteration, a new let instruction is prepended to doc, so the length of doc is O(i). They lead to the loop complexity 0+1+2...+n = O(n^2).
cc @comaniac @icemelon @yzhliu

Some rough numbers:
For 60k let statements, >1 h before change. ~20 min after change.

@tvm-bot rerun

@tvm-bot rerun

@tvm-bot rerun

@tvm-bot rerun


Discovery domain online - WLSDPLY-00005: get(null) in online mode failed

Hello,
I am trying to discover a domain online and I am getting errors detailed below.
I am using this command.
/home/soa/weblogic-deploy/bin/discoverDomain.sh -oracle_home /u01/binaries/soa/fmw/<IP_ADDRESS>.0 -domain_home /u01/soa/domain/soa_domain -archive_file /home/soa/SOADomain.zip -model_file /home/soa/SOADomainModel.yaml -domain_type SOA -java_home /u01/binaries/soa/jdk/current -variable_file /home/soa/SOADomainModel.properties -admin_user weblogic -admin_url t3://localhost:7011 -wlst_path /u01/binaries/soa/fmw/<IP_ADDRESS>.0/soa
The domain I am trying to introspect is a SOA domain 12.1.3.
####<Nov 17, 2020 7:15:58 PM>    <> <THROW
oracle.weblogic.deploy.discover.DiscoverException: WLSDPLY-00005: get(null) in online mode failed: Error occurred while performing get : Error getting attribute null : Exception occured trying to get attribute of a ModelMBean
Use dumpStack() to view the full stacktrace :w
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:526)
at org.python.core.PyReflectedConstructor.call(Unknown Source)
at org.python.core.PyJavaInstance.init(Unknown Source)
at org.python.core.PyJavaClass.call(PyJavaClass.java:891)
at org.python.core.PyObject.call(Unknown Source)
at wlsdeploy.exception.exception_helper$py.create_discover_exception$6(/home/elhsoa/weblogic-deploy/lib/python/wlsdeploy/exception/exception_helper.py:150)
at wlsdeploy.exception.exception_helper$py.call_function(/home/elhsoa/weblogic-deploy/lib/python/wlsdeploy/exception/exception_helper.py)
at org.python.core.PyTableCode.call(Unknown Source)
at org.python.core.PyTableCode.call(Unknown Source)
at org.python.core.PyFunction.call(Unknown Source)
at org.python.core.PyObject._callextra(Unknown Source)
at wlsdeploy.exception.exception_helper$py.create_exception$2(/home/elhsoa/weblogic-deploy/lib/python/wlsdeploy/exception/exception_helper.py:71)
at wlsdeploy.exception.exception_helper$py.call_function(/home/elhsoa/weblogic-deploy/lib/python/wlsdeploy/exception/exception_helper.py)
at org.python.core.PyTableCode.call(Unknown Source)
at org.python.core.PyTableCode.call(Unknown Source)
at org.python.core.PyFunction.call(Unknown Source)
at wlsdeploy.tool.util.wlst_helper$py.get$5(/home/elhsoa/weblogic-deploy/lib/python/wlsdeploy/tool/util/wlst_helper.py:90)
at wlsdeploy.tool.util.wlst_helper$py.call_function(/home/elhsoa/weblogic-deploy/lib/python/wlsdeploy/tool/util/wlst_helper.py)
at org.python.core.PyTableCode.call(Unknown Source)
at org.python.core.PyTableCode.call(Unknown Source)
at org.python.core.PyTableCode.call(Unknown Source)
at org.python.core.PyFunction.call(Unknown Source)
at org.python.core.PyMethod.call(Unknown Source)
at org.python.core.PyObject.call(Unknown Source)
at org.python.core.PyObject.invoke(Unknown Source)
at wlsdeploy.tool.discover.topology_discoverer$py._dynamic_server$28(/home/elhsoa/weblogic-deploy/lib/python/wlsdeploy/tool/discover/topology_discoverer.py:772)
at wlsdeploy.tool.discover.topology_discoverer$py.call_function(/home/elhsoa/weblogic-deploy/lib/python/wlsdeploy/tool/discover/topology_discoverer.py)
at org.python.core.PyTableCode.call(Unknown Source)
at org.python.core.PyTableCode.call(Unknown Source)
at org.python.core.PyTableCode.call(Unknown Source)
at org.python.core.PyFunction.call(Unknown Source)
at org.python.core.PyMethod.call(Unknown Source)
at org.python.core.PyObject.call(Unknown Source)
at org.python.core.PyObject.invoke(Unknown Source)
at wlsdeploy.tool.discover.topology_discoverer$py.get_servers$5(/home/elhsoa/weblogic-deploy/lib/python/wlsdeploy/tool/discover/topology_discoverer.py:157)
at wlsdeploy.tool.discover.topology_discoverer$py.call_function(/home/elhsoa/weblogic-deploy/lib/python/wlsdeploy/tool/discover/topology_discoverer.py)
at org.python.core.PyTableCode.call(Unknown Source)
at org.python.core.PyTableCode.call(Unknown Source)
at org.python.core.PyTableCode.call(Unknown Source)
at org.python.core.PyFunction.call(Unknown Source)
at org.python.core.PyMethod.call(Unknown Source)
at org.python.core.PyObject.call(Unknown Source)
at org.python.core.PyObject.invoke(Unknown Source)
at wlsdeploy.tool.discover.topology_discoverer$py.discover$3(/home/elhsoa/weblogic-deploy/lib/python/wlsdeploy/tool/discover/topology_discoverer.py:76)
at wlsdeploy.tool.discover.topology_discoverer$py.call_function(/home/elhsoa/weblogic-deploy/lib/python/wlsdeploy/tool/discover/topology_discoverer.py)
at org.python.core.PyTableCode.call(Unknown Source)
at org.python.core.PyTableCode.call(Unknown Source)
at org.python.core.PyTableCode.call(Unknown Source)
at org.python.core.PyFunction.call(Unknown Source)
at org.python.core.PyMethod.call(Unknown Source)
at org.python.core.PyObject.call(Unknown Source)
at org.python.core.PyObject.invoke(Unknown Source)
at org.python.pycode._pyx116.__discover$5(/home/elhsoa/weblogic-deploy/lib/python/discover.py:187)
at org.python.pycode._pyx116.call_function(/home/elhsoa/weblogic-deploy/lib/python/discover.py)
at org.python.core.PyTableCode.call(Unknown Source)
at org.python.core.PyTableCode.call(Unknown Source)
at org.python.core.PyFunction.call(Unknown Source)
at org.python.core.PyObject.call(Unknown Source)
at org.python.pycode._pyx116.main$15(/home/elhsoa/weblogic-deploy/lib/python/discover.py:519)
at org.python.pycode._pyx116.call_function(/home/elhsoa/weblogic-deploy/lib/python/discover.py)
at org.python.core.PyTableCode.call(Unknown Source)
at org.python.core.PyTableCode.call(Unknown Source)
at org.python.core.PyFunction.call(Unknown Source)
at org.python.pycode._pyx116.f$0(/home/elhsoa/weblogic-deploy/lib/python/discover.py:544)
at org.python.pycode._pyx116.call_function(/home/elhsoa/weblogic-deploy/lib/python/discover.py)
at org.python.core.PyTableCode.call(Unknown Source)
at org.python.core.PyCode.call(Unknown Source)
at org.python.core.Py.runCode(Py.java:1226)
at org.python.util.PythonInterpreter.execfile(Unknown Source)
at weblogic.management.scripting.WLST.main(WLST.java:171)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at weblogic.WLST.main(WLST.java:29)
Caused by: org.python.proxies.main$WLSTException$1
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:526)
at java.lang.Class.newInstance(Class.java:383)
at org.python.core.PyInstance.makeProxy(Unknown Source)
at org.python.core.PyInstance.init(Unknown Source)
at org.python.core.PyClass.call(Unknown Source)
at org.python.core.PyObject.call(Unknown Source)
at org.python.pycode._pyx4.raiseWLSTException$29(:550)
at org.python.pycode._pyx4.call_function()
at org.python.core.PyTableCode.call(Unknown Source)
at org.python.core.PyTableCode.call(Unknown Source)
at org.python.core.PyFunction.call(Unknown Source)
at org.python.pycode._pyx117.get$34(:546)
at org.python.pycode._pyx117.call_function()
at org.python.core.PyTableCode.call(Unknown Source)
at org.python.core.PyTableCode.call(Unknown Source)
at org.python.core.PyFunction.call(Unknown Source)
at wlsdeploy.tool.util.wlst_helper$py.get$5(/home/elhsoa/weblogic-deploy/lib/python/wlsdeploy/tool/util/wlst_helper.py:88)
... 58 more
Caused by: javax.management.RuntimeOperationsException: Exception occured trying to get attribute of a ModelMBean
at weblogic.utils.StackTraceDisabled.unknownMethod()
Caused by: java.lang.IllegalArgumentException: attributeName must not be null or ""
... 1 more

Could you provide the discoverDomain.log from the /logs directory. If possible the config.xml for the domain.

I will check whether I can upload those files according to internal security policies.
I think below stack trace could be useful as apparently WDT "thinks" a managed server is dynamic.
####<Nov 17, 2020 7:15:58 PM>   <_dynamic_server>
####<Nov 17, 2020 7:15:58 PM>    <> <THROW
oracle.weblogic.deploy.discover.DiscoverException: WLSDPLY-00005: get(null) in online mode failed: Error occurred while performing get : Error getting attribute null : Exception occured trying to get attribute of a ModelMBean
Use dumpStack() to view the full stacktrace :w
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:526)
at org.python.core.PyReflectedConstructor.call(Unknown Source)
at org.python.core.PyJavaInstance.init(Unknown Source)
at org.python.core.PyJavaClass.call(PyJavaClass.java:891)
at org.python.core.PyObject.call(Unknown Source)
at wlsdeploy.exception.exception_helper$py.create_discover_exception$6(/home/elhsoa/weblogic-deploy/lib/python/wlsdeploy/exception/exception_helper.py:150)
at wlsdeploy.exception.exception_helper$py.call_function(/home/elhsoa/weblogic-deploy/lib/python/wlsdeploy/exception/exception_helper.py)
at org.python.core.PyTableCode.call(Unknown Source)
at org.python.core.PyTableCode.call(Unknown Source)
at org.python.core.PyFunction.call(Unknown Source)
at org.python.core.PyObject._callextra(Unknown Source)
at wlsdeploy.exception.exception_helper$py.create_exception$2(/home/elhsoa/weblogic-deploy/lib/python/wlsdeploy/exception/exception_helper.py:71)
at wlsdeploy.exception.exception_helper$py.call_function(/home/elhsoa/weblogic-deploy/lib/python/wlsdeploy/exception/exception_helper.py)
at org.python.core.PyTableCode.call(Unknown Source)
at org.python.core.PyTableCode.call(Unknown Source)
at org.python.core.PyFunction.call(Unknown Source)
at wlsdeploy.tool.util.wlst_helper$py.get$5(/home/elhsoa/weblogic-deploy/lib/python/wlsdeploy/tool/util/wlst_helper.py:90)
at wlsdeploy.tool.util.wlst_helper$py.call_function(/home/elhsoa/weblogic-deploy/lib/python/wlsdeploy/tool/util/wlst_helper.py)
at org.python.core.PyTableCode.call(Unknown Source)
at org.python.core.PyTableCode.call(Unknown Source)
at org.python.core.PyTableCode.call(Unknown Source)
at org.python.core.PyFunction.call(Unknown Source)
at org.python.core.PyMethod.call(Unknown Source)
at org.python.core.PyObject.call(Unknown Source)
at org.python.core.PyObject.invoke(Unknown Source)
at wlsdeploy.tool.discover.topology_discoverer$py._dynamic_server$28(/home/elhsoa/weblogic-deploy/lib/python/wlsdeploy/tool/discover/topology_discoverer.py:772)
at wlsdeploy.tool.discover.topology_discoverer$py.call_function(/home/elhsoa/weblogic-deploy/lib/python/wlsdeploy/tool/discover/topology_discoverer.py)
at org.python.core.PyTableCode.call(Unknown Source)
at org.python.core.PyTableCode.call(Unknown Source)
at org.python.core.PyTableCode.call(Unknown Source)
at org.python.core.PyFunction.call(Unknown Source)
at org.python.core.PyMethod.call(Unknown Source)
at org.python.core.PyObject.call(Unknown Source)
at org.python.core.PyObject.invoke(Unknown Source)
at wlsdeploy.tool.discover.topology_discoverer$py.get_servers$5(/home/elhsoa/weblogic-deploy/lib/python/wlsdeploy/tool/discover/topology_discoverer.py:157)
at wlsdeploy.tool.discover.topology_discoverer$py.call_function(/home/elhsoa/weblogic-deploy/lib/python/wlsdeploy/tool/discover/topology_discoverer.py)
at org.python.core.PyTableCode.call(Unknown Source)
at org.python.core.PyTableCode.call(Unknown Source)
at org.python.core.PyTableCode.call(Unknown Source)
at org.python.core.PyFunction.call(Unknown Source)
at org.python.core.PyMethod.call(Unknown Source)
at org.python.core.PyObject.call(Unknown Source)
at org.python.core.PyObject.invoke(Unknown Source)
at wlsdeploy.tool.discover.topology_discoverer$py.discover$3(/home/elhsoa/weblogic-deploy/lib/python/wlsdeploy/tool/discover/topology_discoverer.py:76)
at wlsdeploy.tool.discover.topology_discoverer$py.call_function(/home/elhsoa/weblogic-deploy/lib/python/wlsdeploy/tool/discover/topology_discoverer.py)
at org.python.core.PyTableCode.call(Unknown Source)
at org.python.core.PyTableCode.call(Unknown Source)
at org.python.core.PyTableCode.call(Unknown Source)
at org.python.core.PyFunction.call(Unknown Source)
at org.python.core.PyMethod.call(Unknown Source)
at org.python.core.PyObject.call(Unknown Source)
at org.python.core.PyObject.invoke(Unknown Source)
at org.python.pycode._pyx116.__discover$5(/home/elhsoa/weblogic-deploy/lib/python/discover.py:187)
at org.python.pycode._pyx116.call_function(/home/elhsoa/weblogic-deploy/lib/python/discover.py)
at org.python.core.PyTableCode.call(Unknown Source)
at org.python.core.PyTableCode.call(Unknown Source)
at org.python.core.PyFunction.call(Unknown Source)
at org.python.core.PyObject.call(Unknown Source)
at org.python.pycode._pyx116.main$15(/home/elhsoa/weblogic-deploy/lib/python/discover.py:519)
at org.python.pycode._pyx116.call_function(/home/elhsoa/weblogic-deploy/lib/python/discover.py)
at org.python.core.PyTableCode.call(Unknown Source)
at org.python.core.PyTableCode.call(Unknown Source)
at org.python.core.PyFunction.call(Unknown Source)
at org.python.pycode._pyx116.f$0(/home/elhsoa/weblogic-deploy/lib/python/discover.py:544)
at org.python.pycode._pyx116.call_function(/home/elhsoa/weblogic-deploy/lib/python/discover.py)
at org.python.core.PyTableCode.call(Unknown Source)
at org.python.core.PyCode.call(Unknown Source)
at org.python.core.Py.runCode(Py.java:1226)
at org.python.util.PythonInterpreter.execfile(Unknown Source)
at weblogic.management.scripting.WLST.main(WLST.java:171)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at weblogic.WLST.main(WLST.java:29)
Caused by: org.python.proxies.main$WLSTException$1
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:526)
at java.lang.Class.newInstance(Class.java:383)
at org.python.core.PyInstance.makeProxy(Unknown Source)
at org.python.core.PyInstance.init(Unknown Source)
at org.python.core.PyClass.call(Unknown Source)
at org.python.core.PyObject.call(Unknown Source)
at org.python.pycode._pyx4.raiseWLSTException$29(:550)
at org.python.pycode._pyx4.call_function()
at org.python.core.PyTableCode.call(Unknown Source)
at org.python.core.PyTableCode.call(Unknown Source)
at org.python.core.PyFunction.call(Unknown Source)
at org.python.pycode._pyx117.get$34(:546)
at org.python.pycode._pyx117.call_function()
at org.python.core.PyTableCode.call(Unknown Source)
at org.python.core.PyTableCode.call(Unknown Source)
at org.python.core.PyFunction.call(Unknown Source)
at wlsdeploy.tool.util.wlst_helper$py.get$5(/home/elhsoa/weblogic-deploy/lib/python/wlsdeploy/tool/util/wlst_helper.py:88)
... 58 more
Caused by: javax.management.RuntimeOperationsException: Exception occured trying to get attribute of a ModelMBean
at weblogic.utils.StackTraceDisabled.unknownMethod()
Caused by: java.lang.IllegalArgumentException: attributeName must not be null or ""
... 1 more

I am attaching the log file.
Uploading discoverDomainMod.log…

I am attaching the configuration file.
config.xml.txt

I received your log file and config.xml and deleted them for security purpose

I can reproduce this, this only happens with a 12.1.3 domain.  Once we have a fix, we will let you know.


run test conditionally

@hansehe if you would like to consider this PR, this will make possible to turn on/off the test framework conditionally

Thanks for considering this PR!


Appveyor: cache cargo dir.

Fixes https://github.com/rusoto/rusoto/issues/402 .

Didn't work, still downloaded all the dependencies. 😢

Keep in mind, if it's like Travis CI, you'll need to run the build at least twice, before it caches anything (that said it looks like you've done that).

Keep in mind, if it's like Travis CI, you'll need to run the build at least twice, before it caches anything (that said it looks like you've done that).

I think the guide we used for the appveyor config that skipped the "build" step made it look like we didn't build anything so the cache wasn't enabled.  The docs aren't super clear on it and neither is a possibly related issue I found.
I'm trying out using separate build_script and test_script sections.

Still no love. 😢

I tried setting the cache dir in the web ui of Appveyor to what's in the appveyor config and will try another couple builds.

Reached out for help, if we don't make progress in a week or two let's close this and the issue, won't fix.

Word from Appveyor is it's not working because it's in a PR.  Let's merge this and see if subsequent master builds cache items.


LIIKUNTA-142 | Add filter list into search view

Adds a filter list into the search view.
All selected filters should be shown on a list that allows for removing them.
Array based filters will be unwrapped so that each value in the array get its own item in the filter list.
Contains refactoring to the unifiedSearch module.

Codecov Report

Merging #62 (32e7060) into main (34e0cab) will decrease coverage by 1.05%.
The diff coverage is 47.25%.

@@            Coverage Diff             @@
##             main      #62      +/-   ##
==========================================
- Coverage   66.22%   65.17%   -1.06%
==========================================
  Files          71       71
  Lines         915      982      +67
  Branches      222      237      +15
==========================================
+ Hits          606      640      +34
- Misses        308      341      +33
  Partials        1        1

Impacted Files
Coverage Δ

src/components/keyword/Keyword.tsx
20.00% <0.00%> (-5.00%)
:arrow_down:

src/pages/venues/[id].tsx
71.42% <ø> (-0.29%)
:arrow_down:

src/domain/unifiedSearch/useUnifiedSearch.ts
47.72% <47.72%> (ø)

...ch/landingPageSearchForm/LandingPageSearchForm.tsx
70.00% <50.00%> (ø)

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 34e0cab...32e7060. Read the comment docs.

Actually there seems to be a bug when I tried to remove administrative division filter. Keyword label is removed + URL is changed correctly, but when I press "Search" again, Keyword + url parameter gets applied back.


docs: Routes

Closes #
Description of the changes

Checklist

[x] I didn't over-scope my PR
[x] My PR title matches the commit convention
[x] I did not include breaking changes
[x] I made my own code-review before requesting one

I included unit tests that cover my changes

[ ] 👍 yes
[x] 🙅 no, because they aren't needed
[ ] 🙋 no, because I need help

I added/updated the documentation about my changes

[ ] 📜 README.md
[x] 📕 docs/*.md
[ ] 📓 docs.lenra.io
[ ] 🙅 no documentation needed

Technical highlight/advice

:tada: This PR is included in version 1.0.0-alpha.5 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Component list page update

This page should use the small cards component to create the page. A small card should only display the title on one line.

@B3nz01d The component list page already use small card components. Should we truncate and add 3 dots when the title is too long?


release-1.5 finalization

Finalization of release-1.5 features

Latest debug build for testing: https://app.travis-ci.com/github/Tim55667757/TKSBrokerAPI/builds/258027642
PyPI package with all implemented v1.5.* features: https://pypi.org/project/tksbrokerapi/1.5.dev115/

Final release v1.5.120 build: https://app.travis-ci.com/github/Tim55667757/TKSBrokerAPI/builds/258029771
PyPI package for release v1.5.120: https://pypi.org/project/tksbrokerapi/1.5.120/


Tribe Modification

What is this PR about
This PR is about DESTSOL SHIPS - PART 5: ADD A STATION TO YOUR MODULE, AND MAKE SOME CUSTOM PROJECTILES FOR YOUR WEAPONS
Changes Made:

Added new ship texture (since my previous ship was not up to the mark)
Changed the coordinates and the shape of the ship
Added a new station
modified the gun
shifted my gun from core to tribe (as @vampcat  told me to, because otherwise it wont be counted in the task!)

Testing
This PR can be tested by cloning it into your own repo and running it in the game
Notes
'w','a','d' to move forward and mouse to change the direction. left click to shoot (if the only one gun) else right and left click to shoot (if 2 guns)

Hooray Jenkins reported success with all tests good!

Hooray Jenkins reported success with all tests good!

Okay, so your "icons" are not really icons, they are just the same image. If you go through the wiki page, it's clearly stated that the icons have to be 32x32 black-and-white textures.
Apart from that, your ships rotate very weirdly. I have a feeling that's because your ships are not square shaped (they are mostly rectangle). So, change the sprite so that's it a square power of two (32x32, 64x64, 128x128 and so on). To do this, you can just resize the canvas without changing the actual sprite size (so if it's a 73x90 ship, take a canvas of size 128x128 and center the ship in it) and then re-trace the outline in box2d.

Hooray Jenkins reported success with all tests good!

#Changes Made

Changed the Icons of all the ships to black and white. and resized to 32x32 (Also I couldn't covert the black parts to png)
Changed the center of rotation of all the ships (except serenityStation)
Changed the gun location of all the ship (except serenityStation)

Hooray Jenkins reported success with all tests good!

Hooray Jenkins reported success with all tests good!

Hooray Jenkins reported success with all tests good!


displaying user roles

hey I want to display users in tables and each user to have is own roles displaying for owner is it possible.
and how do i do that?

I have done the following:
My cotnroller:
class UserController extends RootController
{
    public function index()
    {
        $users = User::all();
        $roles = Role::all();
        return view('admin.users.users', compact('users', 'roles'));
    }
}

My tamplate Blabe:
@foreach($users as $i=>$user)

{{ $user['name'] }}

		@foreach($roles as $role)
			@if ($users[$i]->hasRole($role['name']))
				{{ $role['display_name'] }}
			@endif
		@endforeach

@endforeach

<?php

namespace App\Http\Controllers;

use Illuminate\Http\Request;

use App\Http\Requests;
use App\User;
use App\Role;
class UserManagement extends Controller
{
    /**
     * Display a listing of the resource.
     *
     * @return \Illuminate\Http\Response
     */
    public function index()
    {
        $users = User::all();
        $roles = Role::all();
        return view('admin.user.home')->with(compact('users','roles'));
    }

above is my controller but i get this error
FatalThrowableError in 04b446061b84cf9c8485d3bd493e3559c11140b3.php line 89: Call to a member function hasRole() on boolean

You are using hesRole in tamplate blade? Use @role('admin') instead hasRole()

@role($role['name'])
instead
@if ($users[$i]->hasRole($role['name']))

I cant display any role. i get back an error class role not found.
all i want is to display all user roles

Use this code
$users = User::with("roles")->get();
return view('admin.user.home')->with(compact('users'));

Instead of
$users = User::all();
$roles = Role::all();
return view('admin.user.home')->with(compact('users','roles'));

You can show user's group
foreach( $users as $user ) {
	echo $user->name;
	echo $user->roles->get(0)->display_name;
}

or in blade
@foreach( $users as $user )
	{{ $user->name }}
	{{ $user->roles->get(0)->display_name }}
@endforeach

I believe you don't actually need to do $users = User::with("roles")->get();. It will load the relationship anyway. $users = User::all(); or whatever you do to load the model should do it!


Assertion triggered by file converted from .osm to .pbf using libosmium

We've got a .osm file converted to .pbf using libosmium.  We're using it with OSRM.
While reading the file with osrm-extract, we're hitting the following assertion:
osrm-extract: osrm-backend/third_party/libosmium/include/osmium/io/detail/pbf_parser.hpp:295: void osmium::io::detail::PBFPrimitiveBlockParser::parse_dense_node_group(const OSMPBF::PrimitiveGroup&): Assertion `v > 0' failed.

This assertion so far has only appeared when building on Ubuntu 15.04 using the packaged libosmium:
$ dpkg -l | grep osm
ii  libosmpbf-dev                          1.3.3-2build1                amd64        C headers for OpenStreetMap PBF   file format

This does not seem to trigger when running the same osrm-extract command on OSX using osmpbf binaries we've built internally.
On both platforms, we can osrm-extract just fine using the original .osm XML file.
Unfortunately, I can't share the .pbf file, it's generated from some private road network data.

To be more precise: the tool used for converting between the .osm and the .pbf file was the osmium_convert example from the libosmium 2.2.0 release.

Also, I stand corrected, osrm-extract has an internal import of libosmium, it's not using the versions linked above.
See: https://github.com/Project-OSRM/osrm-backend/tree/master/third_party/libosmium

Where is the original file (the .osm file) from? It looks like it is missing version information. Why are you converting the .osm file to .pbf first before reading into osrm?

The original .osm file is being generated from some proprietary internal map data.
.pbf loading seems significantly faster for the planet-sized OSM data, and is a lot faster to move around because of the smaller size.  We're just preparing for global-scale iterations, the .osm file works great for what we're doing initially, we just notice a problem with parsing the converted .pbf that seemed worth mentioning.

This has something to do with attributes like "version" not being set. There is some inconsistency in how libosmium handles those cases. I have to think about how to best solve these.

Workaround for us is to use use the XML files for now, but it would be nice for libosmium to barf on XML rather than silently creating a PBF that it won't parse later.

The new pbf code doesn't care any more if the version is not set. So this should work now.


Overlay header image in feed?

Hi!
I'm wondering if it's possible to include the header image in the feed generation in anyway.
The issue is, sometimes the only image you put to illustrate a post is the header image. However, for people that is subscribed to the page through the feed isn't getting those images because they aren't shown in the feed. I really don't know if it's possible to fix in anyway since the template is using jekyll-feed plugin.

You might have to build your own custom feed template if jekyll-feed plugin doesn't do what you want. That's what I do with my personal site.
The jekyll-feed plugin does support adding images I believe. They need to be specified in your front matter as:
image:
  path: path-to-your-image.jpg

Closing as this is a jekyll-feed question/issue.

Thanks!!! I just found out... sorry to bother 🙂


Create Highlighted votes carrousel

Use the highlighted votes component to create a carousel from multiple highlighted votes components.
Component image:

Hello @lukaspetrasek I am Joseph I am a frontend developer and blockchain developer and I am also an active contributor here on only dust here is my profile https://app.onlydust.com/u/josephchttps://mattedsgn.com/himebuka. This is my first time to contribute to this repo ill appreciate the opportunity to contribute. this is a couple of frontend and blockchain projects i have built https://metacrypt.vercel.app/  I'd be happy to do this

May I be assigned to this?

Can I take care of this issue? I'm Victor,  a front-end and smart contract developer, with 3 years experience in react js.

Can I contribute to this one?
Hi, my name is Georgiy, I'm a fullstack blockchain developer. I have extensive experience in developing tools for Starknet, and I've participated in almost all ODHacks, during which I worked on many projects. My OnlyDust profile: https://app.onlydust.com/u/melnikga

I would like to work on this issue

Hello, my name is nnubia nzube, I'm a full-stack developer with nearly 4 years of experience working with JavaScript, TypeScript, Reactjs, Nextjs, tailwindcss, Express.js, and recently exploring Cairo for blockchain development. I’m passionate about building robust and scalable applications while ensuring clean and maintainable code.
i would like to work on this issue and my ETA is 12-16 hours

Can I handle this task?

Is this issue still available?

I’m interested in this one.

My name is Franklin Ejezie aka Super Franky, i am a frontend developer with 3 years experience and recently graduated from web3bridge africa, the premier and biggest blockhain developer community in africa. i am well equipped to build out the highlighted votes carousel.
ETA is 1 day.

I'd like to handle this task.

Would love to contribute to this project, I'm a fan of the DAO space and love that you are building this. I have created similar smaller projects for Hackathons so I'm kind of familiar with this type of components.
I have experience as frontend developer and blockchain developer, so I believe I could solve this issue, I would take the Figma component design as the guide to create it using the color pallette.

Mind if I try this one?

Thanks @bitfalt. I'll wait until the PR with the highlighted vote component is merged in the project to make this component and submit my PR

Hey @sandragcarrillo were almost merging the component so you can start with yours, thank you so much for your patience 🙏🏻


Bot is not catching pokemons

Expected Behavior
walk, farm, catch
Actual Behavior
walk, farm
Steps to Reproduce
run bot
2016-08-09 00:06:12,530 [       cli] [INFO] Ran for 1:00:02
2016-08-09 00:06:12,530 [       cli] [INFO] Total XP Earned: 6000  Average: 5996.55/h
2016-08-09 00:06:12,530 [       cli] [INFO] Travelled 4.33km
2016-08-09 00:06:12,531 [       cli] [INFO] Visited 115 stops
2016-08-09 00:06:12,531 [       cli] [INFO] Encountered 0 pokemon, 0 caught, 0 released, 0 evolved, 0 never seen before
After some time it is only walking from lured stop to lured stop but not catching any pokemons.
 Using proxies solved this exact issue for me

It is a config file problem. Bot is full of pokemon but not recycling the worst.

As there have been many updates since this issue was posted, I'm assuming this issue has been resolved. If I'm wrong, please reopen.


Make methods unsafe if any of there parameters are pointers

Fixes #485.
This is better but this is still not correct in the general case (since we don't control all WinRT or COM interfaces that will ever pass through the code generator), and I'm not sure it's even correct in the case of Windows APIs. Take the following as an example of a COM interface method that would be marked safe by this tooling but is not safe. I've written it in Rust even though this may obviously be written in another language.
/// It is up to the caller to *never* pass `TRUE` as the `do_terrible_things` param,
unsafe fn my_method(&self, do_terrible_things: BOOL) -> HRESULT {
   if do_terrible_things.as_bool() {
      /// Literally do anything including dereferencing random memory
  }
}

This example is admittedly a bit contrived, but hopefully you get the point that pointer arguments are not the only sign of a whether a COM function is safe. It's unfortunate, but it's probably correct to mark any COM interface that has any parameters (beyond the this pointer) as unsafe.

Agreed this is not a good measure of safety.


JVM crashes after modifying the graph in TrackScheme.

It can happen that the Mastodon crashes when modifying the graph several times via its highlight or focus.
The diagnosis is as follow (based on the unify-views branch):
A graphChanged event ends up in calling the paint() method of the TrackSchemePanel.
The paint() method does mainly two things, in the following order:

It recompute the graph layout: All TrackScheme vertices get a new value for X. This calls the layout() method of the LineageTreeLayout class.
It regenerates the ScreenEntities for the new layout. This involves creating new ScreenVertexes and ScreenEdges properly linked to the TrackScheme items currently displayed. This calls the cropAndScale() method of the LineageTreeLayout class.

Between the call of layout() and cropAndScale(), the ScreenEntities are invalid. They may correspond to TrackScheme items that moved or disappeared because of the graph change event.
This issue is caused by the fact that several classes are notified when the layout() method is finished, and interrogate the ScreenEntities. For instance for this bug:

A graphChanged event ends up in calling the paint() method of the TrackSchemePanel.

The paint() method calls the layout() method of the LineageTreeLayout class.

When the layout is done, The LayoutListener of the class are notified (via `layoutChanged()).

One of these listener is the InertialScreenTransformListener. It notifies its TransformListener (via transformChanged()).

This transform listener is the InteractiveDisplayCanvasComponent`. It has several listeners it forward this event to.

One of them is the MouseHighlightHandler. Calling its transformChanged() method causes it to try an grab the currently highlighted edge or vertex.

To do so, it calls the getEdgeAt() or getVertexAt() method of the AbstractTrackSchemeOverlay class.

These two methods rely on ScreenEntities to retrieve the desired TrackScheme item, but at this time, they are not valid. They link to TrackScheme items that may have been deleted or moved. Calling a second graph modification event with these items is what causes the crash.

@tinevez thanks for finding this out!

@tinevez I have a tentative fix for this. It requires addition of a RefPool.getIfExists() method, so it touches all mastodon projects:
https://github.com/bigdataviewer/mastodon-collection/tree/safe-get-object
https://github.com/bigdataviewer/mastodon-graph/tree/safe-get-object
https://github.com/fiji/TrackMate3/tree/safe-get-object
Can you have a look? If everything is ok, I'll merge and release...

Sorry for delayed response.
Yes it works! The crash is gone!


Add IRM Test

In particular, test that logp(x) == logp_score in the case where we have one data point. This should hold since there are no cluster assignments to marginalize over (i.e. there's only one cluster, so these should be equal). Tests with multiple domains.

The reason this passes vs. Thomas' test is because R1 in Thomas' test is a binary relation on D1 x D1 (D1 repeated twice). So when you compute that on the data point {1, 2} you are actually adding two points to D1, so you have choices on how to cluster. Here, the point is such that only one thing is added to each domain.

Oh I missed that, thanks.


[TTS]ImportError: cannot import name 'CommonTaskResource' from partially initialized module 'paddlespeech.resource'

Traceback (most recent call last):
File "/home/ubuntu/yavar/PoC/text-to-speech/paddle.py", line 1, in
from paddlespeech.cli.tts.infer import TTSExecutor
File "/home/ubuntu/miniconda3/envs/paddlespeech/lib/python3.9/site-packages/paddlespeech/cli/init.py", line 16, in
from .base_commands import BaseCommand
File "/home/ubuntu/miniconda3/envs/paddlespeech/lib/python3.9/site-packages/paddlespeech/cli/base_commands.py", line 20, in
from ..resource import CommonTaskResource
File "/home/ubuntu/miniconda3/envs/paddlespeech/lib/python3.9/site-packages/paddlespeech/resource/init.py", line 14, in
from .resource import CommonTaskResource
File "/home/ubuntu/miniconda3/envs/paddlespeech/lib/python3.9/site-packages/paddlespeech/resource/resource.py", line 20, in
from ..cli.utils import download_and_decompress
File "/home/ubuntu/miniconda3/envs/paddlespeech/lib/python3.9/site-packages/paddlespeech/cli/utils.py", line 26, in
import paddle
File "/home/ubuntu/yavar/PoC/text-to-speech/paddle.py", line 1, in
from paddlespeech.cli.tts.infer import TTSExecutor
File "/home/ubuntu/miniconda3/envs/paddlespeech/lib/python3.9/site-packages/paddlespeech/cli/tts/init.py", line 14, in
from .infer import TTSExecutor
File "/home/ubuntu/miniconda3/envs/paddlespeech/lib/python3.9/site-packages/paddlespeech/cli/tts/infer.py", line 29, in
from ..executor import BaseExecutor
File "/home/ubuntu/miniconda3/envs/paddlespeech/lib/python3.9/site-packages/paddlespeech/cli/executor.py", line 27, in
from ..resource import CommonTaskResource
ImportError: cannot import name 'CommonTaskResource' from partially initialized module 'paddlespeech.resource' (most likely due to a circular import) (/home/ubuntu/miniconda3/envs/paddlespeech/lib/python3.9/site-packages/paddlespeech/resource/init.py)

Hello developers, thank you for paying attention to PaddleSpeech open source project, sorry for bringing you a bad development experience, the current open source project maintenance manpower is limited, you can try to modify the PaddleSpeech source code by yourself, or ask other developers in the open source community to help. Communication channel:：飞桨AI Studio星河社区-人工智能学习与实训社区


List category

Hi,
I've recently added an option that allows you to list the tasks based on the category.
so in addition to --list-all-steps there's also now
--list-category-steps <CATEGORY>

Part of the reason I added this in is that I'm working on a embedded rust project
and wanted to be able to show just the tasks associated with building / flashing with a simple command.
So the idea being I can add in all my build / flash tasks under a single common ESP32 category
then have an alias in my Makefile.Toml such as
[tasks.list]
description = "List all of the associated build / flash tasks - ESP32"
command = "cargo"
args = ["make", "--list-category-steps", "ESP32"]

[tasks.flashid]
description = "Get the flashid / details from the esp32"
command = "esptool"
args = ["--chip", "esp32", "-p", "${ESP32_FLASH_SERIAL}", "flash_id", "${@}"]
category = "ESP32"

@grbd just want to make sure you saw the comments in this PR

Yep spotted them, will have a look later
Just been finishing up my esp32 setup

@grbd friendly ping about this one as well :)

Ok I think I've fixed this now, let me know if it still needs to change
I'm still a bit new at the way rust handles ownership and pointers.

For my own project I've actually moved to just outputing a list of things via the coloured duckscript
so I'll add an example for that later on via a separate pull request.

That actually sounds like a really cool solution. better than this one.
would love to see it.

@grbd thanks for the PR, merging.
i'm going to do few changes but overall looks great.


Create CODE_OF_CONDUCT.md

@bryanedds:

Hundreds of times I have considered the option that I might be wrong

Well better consider again, as your conduct here doesn't line up to either the CoC or even the NCoC mentioned in your contradictory writings (e.g. "we don't care if you're liberal or conservative, black or white, straight or gay, or anything in between! In fact, we won't bring it up, or ask.").
The only reason to be excluded by the Code of Conduct is due to lack of self control or desire to treat people with decency and respect. You've demonstrated this lack to the 38 F# professionals watching this repo.

Just to make sure everyone is aware of everything is happening and doesn’t need to learn from some subtweets on Twitter.
@bryanedds is writing abusive emails to the people that disagreed with him in this thread. Below screenshot of the email I’ve got