Can higher optimize a non-leaf node in an inner loop?

I have a situation where I am implementing MAML but generating task-specific fast-weights (somewhat like Meta Networks does) that parameterize a model which is fine-tuned in an inner-loop. The issue is that I can't pass the generated weights to the inner_opt constructor because they are a non-leaf node.
The general flow is included below:
import higher

base_model = Model()
weight_gen_model = WeightGenerator()  # a network to generate fast-weights
meta_opt = torch.optim.SGD([
    {'params': base_model.parameters()},
    {'params': weight_gen_model.parameters()}
  ], lr=...)

for x_train, y_train, x_test, y_test in loader:

    generated_weights = weight_gen_model(x_train) # generate meta-network style fast weights
    base_model.parameterize(generated_weights)

    # Cannot initialize the optimizer with a non-leaf node here
    inner_opt = torch.optim.SGD([
         {'params': base_model.parameters()},
         {'params': [generated_weights]}
      ], lr=...)

    with higher.innerloop_ctx(base_model, inner_opt) as (fmodel, diffopt):

        # Fine-tune base_model and generated weights here
        for _ in range(n_inner_iter):
            train_loss = fmodel(x_train, y_train)
            diffopt.step(train_loss)

        test_loss = fmodel(x_test, y_test)

    # use test_loss to optimize base_model and weight generation network
    test_loss.backward()
    meta_opt.step()

Is there an easy workaround for this that I am missing? Any suggestions would be great.

I see what you are trying to do. The following code snippet should work:
import higher

base_model = Model()
weight_gen_model = WeightGenerator()  # a network to generate fast-weights
meta_opt = torch.optim.SGD([
    {'params': base_model.parameters()},
    {'params': weight_gen_model.parameters()}
  ], lr=...)

for x_train, y_train, x_test, y_test in loader:

    generated_weights = weight_gen_model(x_train) # generate meta-network style fast weights
    # leave base model with default parameters

    # Cannot initialize the optimizer with a non-leaf node here
    inner_opt = torch.optim.SGD([
         {'params': base_model.parameters()},
         {'params': [generated_weights]}
      ], lr=...)

    with higher.innerloop_ctx(base_model, inner_opt) as (fmodel, diffopt):
         # replace initial fast weights with the generate weights. This should preserve gradient paths.
         fmodel.update_params(generated_weights)

        # Fine-tune base_model and generated weights here
        for _ in range(n_inner_iter):
            train_loss = fmodel(x_train, y_train)
            diffopt.step(train_loss)

        test_loss = fmodel(x_test, y_test)

    # use test_loss to optimize base_model and weight generation network
    test_loss.backward()
    meta_opt.step()


Missing file when trying to run evaluation script

Thanks for sharing your code!
I downloaded the datasets and the 7B model ckpt from the download bash script you uploaded. I'm unable to get the run_test_eval.sh to run.
I get the error : [Errno 2] No such file or directory: './output/StructLM-13B/predictions_predict.json'

I have encountered this problem before. Later, I manually modified the code and completed the missing packages in requirements.txt.
Firstly, you should add the following sentence before that one.
os.makedirs(output_path, exist_ok=True)

Next, you should add these two packages to the requirements.txt file and execute pip install for installation.
datasets
megablocks

Finally, by using the execute script command: ./run_test_eval.sh StructLM-7B , it should be possible to evaluate.

Although I'm grateful for their contributions, it seems that they haven't provided reproducible training scripts and training tutorials. This might be a regret, perhaps. @iwinterknight

Hi, thanks for the suggestions, I'll add these to the requirements.txt. I'm continuing to test and improve this repo.


"Get extra notes pack" option when exporting datapack not working

When I pressed "Get extra notes pack", it asked me where to save it, and when I pressed save, it said "Resource pack saved successfully", but there was no resource pack in the folder

Duplicate of #299

You can get the pack here


Unable to sync settings as there are <REDACTED: user-file-path> in settings file.

LocalInvalidContent (UserDataSyncError) syncResource:settings operationId:unknown: Unable to sync settings as there are <REDACTED: user-file-path> in settings file.
at d.w [as toUserDataSyncError] in src/vs/platform/userDataSync/common/userDataSync.ts:314:11
at <anonymous> in src/vs/platform/userDataSync/common/userDataSyncServiceIpc.ts:162:53
at async h.run in src/vs/workbench/contrib/userDataSync/browser/userDataSync.ts:1115:5

Go to Errors Site

@sandy081 this should use ErrorNoTelemetry as it's expected and handled in the UI

All sync errors are handled, therefore I would not want to change. Unfortunately I am not getting enough information here. Hence closing it.


Add export functionality

Based on OWASP/www-project-integration-standards#25:

Given a REST call, add the ability to export the results into a google sheets spreadsheet which allows humans to get the mappings into a CSV format. This is already partly implemented (utils/spreadsheet_utils.py) but we haven't implemented any API plumbing for it.

In the FE, that could be implemented as a Button (see below).
It should handle CRE, pages standard pages and generic search pages.

I'm happy to work on this!


Typescript Inference is not working in Show component

Show component is awesome in the way that it can replace ugly conditional rendering. But it has one big downside.
When I use Show component for cases like 'render if some value is available', in the body of Show typescript says value can be undefined.
For example:
interface PropTypes {
    value?: string;
}
// ...
<Show if={() => props.value}>
    <CustomComponent value={props.value} /> // props.value is possibly undefined
</Show>

Is it possible to tell typescript it is not undefined?

I think this is a problem with the CustomComponent, not with Show. CustomComponent would also need to have value optional with value?: string in its props if you're using strict mode. Can you share the props interface for CustomComponent too?

Yeah CustomComponent has a required prop named value.
But my point is that in the body of Show, we are sure that props.value is not undefined, right?
I can use props.value this way without typescript error:
{props.value && (
    <CustomComponent value={props.value} />
)}

But in Show this is not the same. I should change all other places to be able to use Show.
Is it possible to infer that props.value is not undefined?

Oh I see! I don't think it's possible for TypeScript to know that value is defined based on the selector passed to a component's props. If anybody knows how to do that I would be very happy to support it! But as far as I know it's not possible.


Add a datetime picker for the eta on the carriers add/edit page

https://pub.dev/packages/flutter_datetime_picker or something similar might be helpful

#73


Hangs on AdminClient.OnLog subscription

I am unable to subscribe to AdminClient.OnLog.
This repro example was created a dotnet core app
static void Main(string[] args)
{
      using (var adminClient = new AdminClient(new AdminClientConfig() { BootstrapServers = "localhost:9092" }))
      {
        adminClient.OnLog += (s, e) => Console.WriteLine(e); // <- Hangs
      }
}

Due to this, I cannot get any debug output from LibRdKafka to supplement this issue.
When debugging in Visual studio (screenshot below) I see three threads which might be of interest in this context.

Checklist
Please provide the following information:

[x] Confluent.Kafka nuget version: 1.0.0-beta2
[x] Apache Kafka version: cp-kafka 3.3.0
[x] Client configuration: See code example
[x] Operating system: Windows 10
[ ] Provide logs (with "debug" : "..." as necessary in configuration)
[ ] Provide broker log excerpts
[ ] Critical issue

thanks @HenningRoigaard - have replicated. as a work around for the moment, you can construct an admin client from a producer instance handle.
            using (var producer = new Producer<string, string>(new ProducerConfig { BootstrapServers = "localhost:9092" }))
            using (var adminClient = new AdminClient(producer.Handle))
            {
                adminClient.OnLog += (s, e) => Console.WriteLine(e);
            }

thanks again for your detailed issue reports @HenningRoigaard. This one is now resolved in the above branch. I'll open a PR for it when #656 is in.

Closing as the fix is merged


[Bug] Injecting service not working with async variable (pool asyncpg)

Describe the bug
Unable to extract asyncpg Pool (https://magicstack.github.io/asyncpg/current/api/index.html#connection-pools) when added as a dependency, None is returned even though it is defined in the before_server_start listener (this is shown in the logs below).
Is there something special that needs to be done for async related variables? Aside from that, really love the injections/dependencies (useful for extracting user from bearer token)!
  Closing connection.
[2022-08-06 11:15:00 -0400] [60755] [DEBUG] Dispatching signal: http.lifecycle.complete

To Reproduce
Here's a code sample, you'll probably need to connect to a postgresql database to fully test it (replacing that "psql database url" string).
import asyncio
from asyncpg import Pool, create_pool
from sanic import Sanic, Request, text
from sanic_ext import Extend

app = Sanic("test")
Extend(app)

class TestClass:
    def execute(self, query: str) -> str:
        return query

@app.get("/test")
def handler_test(request: Request, pool: Pool, test_class: TestClass):
    print("pool in handler", pool)
    print("test_class in handler", test_class)
    print("request.app.ctx", request.app.ctx)

    return text("ok")

async def t():
    await asyncio.sleep(5)
    return TestClass()

@app.before_server_start
async def setup_db(app: Sanic, loop):
    pool = await create_pool("postgres://cti:V1Dwerjk9l2d@<IP_ADDRESS>:5432/ioc_manager", loop=loop, max_size=100)
    print("pool before server start", pool)
    app.ext.dependency(pool)

    test_class = await t()
    print("test_class before server start", test_class)
    app.ext.dependency(test_class)

if __name__ == "__main__":
    app.run(host="<IP_ADDRESS>",
            port=8888,
            dev=True,
            fast=False)

Expected behavior
Be able to extract pool successfully just like the test_class
Environment (please complete the following information):

OS: macOS-12.5-arm64-arm-64bit
Browser: Postman + chrome
Version: 22.3.2

Edit: changed the test with TestClass to be received from an async function, so maybe it's not related to that, I'm unsure

The interesting thing is that you see it in the request.app.ctx in _dependencies, so maybe I'm maybe missing something at the handler level or there's potentially a bug? Thanks in advance :)

It seems like the main difference is the TestClass is of type __main__.TestClass whereas the Pool is just Pool. Unsure if there's a way to get the __main__ from an instance of a class (if that's what is required)

Looking at bit more at the code, it seems like it's related to the do_cast function in the constructor.py file of the injection folder - although need to debug it more to know how it works, it seems to be related to the way it's calling the constructor? If anyone has more info, please let me know here :)

Not at a computer to check, but I've definitely had this working with asyncpg.
My initial thought is maybe
asyncpg.Pool is not async.pool.Pool

I can take a look later today though.

I did try that, as I thought the same - I'm also not close to a computer, but can double check. My conclusion yesterday seemed that I need to create a class that wrapped asyncpg, although it's a bit gross to do imo, but if you say you've got it working, I may be doing something wrong.

You absolutely should not need to wrap the class. Will try this evening.

Just tried it with async.pool.Pool and it doesn't work - and thanks for your help :)

Oh my.... I see the problem. :thinking:
>>> import asyncio
>>> from asyncpg import create_pool
>>> pool = await create_pool("<DSN>")
>>> from inspect import isawaitable
>>> isawaitable(pool)
True

The Pool object is awaitable...

This should probably be iscoroutine instead.

Oh that's interesting, not an expert on Python's asyncs, but from your observation, I've changed the usage of isawaitable to iscoroutine here:
https://github.com/sanic-org/sanic-ext/blob/b65cd9f28c8d1e6ee0aad91685bfb84fc4925ac6/sanic_ext/extensions/injection/constructor.py#L47
and I'm now getting the pool in the handler. I can open a PR for that unless you are already in the process of doing so or have other changes in mind related to this.

Sweet, please do. If you can make a quick dummy object that causes the bahavior and thrown in a test that would be awesome also. I want to get this and some other bug fixes released this week.

Resolved by #121


[FLINK-14497][python] Support primitive data types in Python user-defined functions

What is the purpose of the change
This pr only supports primitive types for python UDF.
Brief change log
(for example:)

add some TypeSerializers
replace coder with TypeSerializers

Verifying this change
This change added tests and can be verified as follows:

add unit case in java such as BaseRowSerializerTest.test and it case in test_udf.py*

Does this pull request potentially affect one of the following parts:

Dependencies (does it add or upgrade a dependency): (no)
The public API, i.e., is any changed class annotated with @Public(Evolving): (no)
The serializers: (no)
The runtime per-record code paths (performance sensitive): (no)
Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Yarn/Mesos, ZooKeeper: (no)
The S3 file system connector: (no)

Documentation

Does this pull request introduce a new feature? (no)
If yes, how is the feature documented? (not applicable)

Thanks @hequn8128 @dianfu , I have addressed the comments at the latest push.

@HuangXingBo Thanks a lot for the update. LGTM.
Merging...


Improvement 371 - Added Catalan and Russian translations.

Also updated existing translations.

Both languages look good on iPads and small devices (iPhone 5)
No strange things seen. There were some double line buttons, but that's not an issue.
I cannot say anything on the grammatical side. if that's not something to check; This can be merged.


No way to update input parameters after initialization

Not sure if I'm missing something, but I've had a hell of a time attempting to add an option to a select input after initialization.
Code Sandbox Examples
Desired outcome is to dynamically add an option to a Leva select input. Note that hot reloads of the sandbox will cause two of the examples to function, which is a false positive.

@jorgenbuilder there: https://codesandbox.io/s/mystifying-wind-psex8?file=/src/App.tsx
To modify the structure of the Leva schema, you need to use the deps argument. The setControls function is only used to set values, not settings.


Compatibility issues

in some browser,why ripple will flash twice?plz

Hi, could you please record a video of the problem? Which browsers/OS are affected?
Thanks

flash-demo.zip
Hi,i used "div" element,the element has an "click" event.i guess,maybe
there is a conflict between ":active" and "click" event.
PS:English is not my native language,so ignore my spell,Thx.

this is the browser version.


Multifilter with multiple dropdowns, reset between choices

Hoping someone can help as I try to implement multifilter with multiple dropdowns. Here's what I'm trying to do:
Three dropdowns with completely separate lists. The selections can not be additive. When a user selects from one of the three dropdowns, the previously selected option gets reset, and the only activeFilter is the newly selected option.
I've been able to reset the select elements with javascript .change function, but can't figure out how to reset the current active filter.
Here's my script:
var containerEl = document.querySelector('[data-ref~="mixitup-container"]');

var mixer = mixitup(containerEl, {
	multifilter: {
		enable: true
	},
	animation: {
		enable: false
	},
	controls: {
		toggleLogic: 'or',
		//toggleFilterButtons: true
	},

	callbacks: {
		onMixStart: function(state, futureState) {
			console.log(futureState.activeFilter.selector);
		}
	}
});
//mixer.setFilterGroupSelectors('industry', '.wastewater');
mixer.setFilterGroupSelectors('wastewater', '.all-manufacturers-wastewater');

mixer.parseFilterGroups();

mixer.configure({
	animation: {
		enable: true
	}
});

This seems to be a similar issue as #474 but the OP solved it himself...

Dear Mr. Hoffman,
Thank you for your email.
Please be kind to inform me what you are referring to.
Do you have a technical inquiry regarding a specific standard?
If this is the case, please provide us the reference number of the standard in question.
Best regards,
Marcela Gómez
Customer Service Representative
[International Electrotechnical Commission]http://www.iec.ch/
IEC - International Electrotechnical Commission | 3 rue de Varembé | PO Box 131 | CH-1211 Geneva 20 | Switzerland | T +41 22 919 0211 | e-tech magazinehttp://iecetech.org/ | websitehttp://www.iec.ch/ | webstore https://webstore.iec.ch/
From: Bryan Hoffman @.>
Sent: Tuesday, 15. June 2021 21:46
To: patrickkunka/mixitup @.>
Cc: Subscribed @.***>
Subject: [patrickkunka/mixitup] Multifilter with multiple dropdowns, reset between choices (#577)
Hoping someone can help as I try to implement multifilter with multiple dropdowns. The three dropdowns are completely separate lists, so I don't want the selections to be additive. I'd like when a user selects from one of the three dropdowns, the previously selected filter gets reset, and the only activeFilter is the newly selected option.
I've been able to reset the select elements with javascript .change function, but can't figure out how to reset the current active filter.
Here's my script:
var containerEl = document.querySelector('[data-ref~="mixitup-container"]');
var mixer = mixitup(containerEl, {
    multifilter: {

           enable: true

    },

    animation: {

           enable: false

    },

    controls: {

           toggleLogic: 'or',

           //toggleFilterButtons: true

    },

    callbacks: {

           onMixStart: function(state, futureState) {

                   console.log(futureState.activeFilter.selector);

           }

    }

});
//mixer.setFilterGroupSelectors('industry', '.wastewater');
mixer.setFilterGroupSelectors('wastewater', '.all-manufacturers-wastewater');
mixer.parseFilterGroups();
mixer.configure({
    animation: {

           enable: true

    }

});
This seems to be a similar issue as #474https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fpatrickkunka%2Fmixitup%2Fissues%2F474&data=04|01|sales%40iec.ch|e91e4ff98c58480cfc9a08d9303636e6|a7637f093d864148997bedcd40bee856|0|0|637593831679779686|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=jDMY2gzBhTAiB%2FYXPETcgS2T0BYrWJpYqPzoxEX%2FUec%3D&reserved=0 but the OP solved it himself...

You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHubhttps://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fpatrickkunka%2Fmixitup%2Fissues%2F577&data=04|01|sales%40iec.ch|e91e4ff98c58480cfc9a08d9303636e6|a7637f093d864148997bedcd40bee856|0|0|637593831679779686|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=yuWMAxbUloNIwvYVwszCEN8EJY06dJMlRm6mdeTA8GY%3D&reserved=0, or unsubscribehttps://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FABMNT4TIHI7R7YHQHIMY3PTTS6UXZANCNFSM46X5TQCQ&data=04|01|sales%40iec.ch|e91e4ff98c58480cfc9a08d9303636e6|a7637f093d864148997bedcd40bee856|0|0|637593831679789645|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=9%2Ff5hBjURAxCwo6oCIMWJYiuf8dH9t5z9HDrIdCqPXc%3D&reserved=0.


[QUESTION] How to pass stderr/stdout back to the console after starting

The reason I want to do this, is that I use loguru with colored logs, which are not displayed correctly.

Check out the rich terminal! It supports color output.

Yeah, I had taken a look at it just now, doesn't seem to work very good with loguru, except for bold

Also just noticed, that Gooey is consuming the whole stdout/stderr, so the console remains silent - Either I would like to get Gooeys terminal to work with the coloring of https://github.com/Delgan/loguru or detach Gooey from stdout/stderr, to at least get the colored prints in the terminal - Furthermore - if detaching/closing Gooey until the script finished running, we would be able to use input() again.

Any news on this one? Its quite a no go for me if I cant get the colored logging loguru provides. Can we pass stdout/stderr back to the console in any way?

@chriskiehl any ideas?

Try setting colorize in the logger configuration

Try setting colorize in the logger configuration

Thats active by default.

Try setting colorize in the logger configuration
Thats active by default & the output is properly colorized inside the console of course, just not in Gooey.

It is possible that loguru has different defaults in place when running in the console and running inside Gooey. Try setting colorize in the logger configuration.

Of course I have already tried that with the same result


codeunit 5632 FA Jnl.-Post Line - procedures scope

Please, could you change the scope to public for these methods?

PostReverseType
SetResultOnDisposal
PostGLBalAcc

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.


[Impeller] allow creation of ImageFilter objects from fragment shaders.

Background
The FragmentProgram API allows developers to provide new color sources to use with their applications. For example, a gradient that interpolates in a different color space or a pixelation image rendering effect. We've seen a ton of cool things with this API, and we want to make it more useful.
In the https://github.com/jonahwilliams/flutter_shaders/ , I created (hacked together) a widget that emulates support for applying shaders as compositing effects. For example, you might use this to apply a glitch effect to the entire application:
https://github.com/jonahwilliams/flutter_shaders/assets/72284940/7d16b50f-faaa-4330-919e-86f73bb8ba32
(from https://github.com/jonahwilliams/flutter_shaders/issues/21)
An example of what the code looks like might be something like:
class SampledText extends StatelessWidget {
  const SampledText({super.key, required this.text, required this.value});

  final String text;
  final double value;

  @override
  Widget build(BuildContext context) {
    return ShaderBuilder((context, shader, child) {
      return AnimatedSampler((image, size, canvas) {
        shader.setFloatUniforms((uniforms) {
          uniforms
            ..setFloat(value)
            ..setFloat(value)
            ..setSize(size);
        });

        shader.setImageSampler(0, image);

        canvas.drawRect(
          Rect.fromLTWH(0, 0, size.width, size.height),
          Paint()..shader = shader,
        );
      }, child: Text(text, style: TextStyle(fontSize: 20)));
    }, assetKey: 'packages/flutter_shaders/shaders/pixelation.frag');
  }
}

With the associated fragment shader:
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#version 460 core

precision highp float;

#include <flutter/runtime_effect.glsl>

layout(location = 0) uniform vec2 uPixels;
layout(location = 1) uniform vec2 uSize;
layout(location = 2) uniform sampler2D uTexture;

out vec4 fragColor;

void main() {
  vec2 uv = FlutterFragCoord().xy / uSize;
  vec2 puv = round(uv * uPixels) / uPixels;
  fragColor = texture(uTexture, puv);
}

Problems
There are a number of problems/limitations with this API that can't be fixed without new engine features:

Unlike "regular" composition (ImageFiltered, opacity, blurs), the framework needs to manage the creation of the render target and texture lifecycle. This is actually pretty tricky to manage, and we sitll probably have bugs here: https://github.com/flutter/flutter/issues/131524

The way that toImageSync works while good for caching isn't great when we plan to composite on each frame, as we end up more or less processing two raster frames per UI frame - which can cause churn in places like the glyph atlas cache.

The AnimatedSampler cannot apply backdrop effects, limiting the usecases compared to normal compositing: https://github.com/jonahwilliams/flutter_shaders/issues/26

Minor point but the fragment shaders used with AnimatedSampler are non optimal as they require computing UVs in the fragment stage instead of the vertex stage.

Overview
Add a new constructor to the ui.ImageFilter type which accepts a developer provided fragment shader (see discussion below for semantcs). This image filter object would be usable wherever image filters are today and to the framework would work more or less the same as other filters.
Widget build(BuildContext context) {
  return ImageFiltered(ui.ImageFilter.fromFragmentProgram(myProgram), child: ...);
}

// or

Widget build(BuildContext context) {
  return BackdropFilter(filter: ui.ImageFilter.fromFragmentProgram(myProgram), ...)
}

Detailed Design
Similar to the runtime effect, we'll provide a standard vertex shader and fragment shader inputs. The vertex shader inputs will handle computing the texture UVs, and provide these to the fragment shader in place of coordinates. THis ensures that the engine can correctly manage the MVP while the fragment shader need only sample from the texture.
The FlutterTextureUV will provide the computed UVs, similar to how FlutterFragCoord provides the positions for color source shaders.
Engine vertex shader:
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include <impeller/conversions.glsl>
#include <impeller/types.glsl>

uniform FrameInfo {
  mat4 mvp;
  float texture_sampler_y_coord_scale;
}
frame_info;

in vec2 position;

out vec2 v_texture_coords;

void main() {
  gl_Position = frame_info.mvp * vec4(position, 0.0, 1.0);
  v_texture_coords =
      IPRemapCoords(position, frame_info.texture_sampler_y_coord_scale);
}

Developer authored fragment shader:
#version 460 core

precision highp float;

#include <flutter/runtime_effect.glsl>

uniform sampler2D uTexture;

out vec4 fragColor;

void main() {
  fragColor = texture(uTexture, FlutterTextureUV());
}

Providing other uniform data.
Additional uniform data could be provided via the ui.ImageFilter.fromFragmentProgram constructor, or via setters on the constructed object. I don't have a strong opinion here.
var filter = ui.ImageFilter.fromFragmentProgram(program, floats: [0.5], textures: [otherImage])

// or

var filter = ui.ImageFilter.fromFragmentProgram(program);
filter.setFloat(0, 0.5);
// slot 0 taken by input.
filter.setTexture(1, otherImage);

In order to be usable by the engine, the shader must have at least one sampled texture uniform. We can validate this at runtime and reject invalid shaders using the attached metadata.
Limitations on Skia backend
Skia has limited support for filtering with SkRuntimeEffect (see https://api.skia.org/SkRuntimeEffect_8h_source.html ). While we could construct some limited color filter or sk blender objcts from it, I don't believe we'd be able to realize arbitrary image filters.
Since we cannot implement a vertex stage in Skia, even if we attempted to polyfill functionality with an AnimatedSampler like approach, developers would need to write two different kinds of shaders.
Web implementation
Similar to the above, since there is no Impeller web backend this would not work on the web either. While regular image filters could be implemented using a similar hack to the AnimatedSampler object, there is no good equivalent to BackdropFilter.
Alternatives Considered
Construction from asset key
We could also let the engine manage loading/caching the fragment program as well. This might look something like:
var imageFilter = await ui.ImageFilter.fromFragmentProgram('shaders/foo.frag');

I don't really think this is any easier to use than the API approved above, and it would still need to be async so that we don't accidentally jank when loading the asset/creating the PSO.
It wouldn't be any easier to create multiple image filters, since there is no clone API.
Construction from fragment shader
The FragmentProgram/FragmentShader distinction normally comes down to the shader itself, versus the shader and some particular uniform values. If we accepted the FragmentShader, then we'd introduce the possibility of users accidentally using the same instance and re-binding uniforms meant for a different filter accidentally.
Support via custom layer type
We could instead add a new layer type to the framework/engine, rather than construct a ui.ImageFilter object. This seems like an obvious way to do it, but this has a number of draw backs. First of all, it requires a ton of code to implement a new flow layer - whereas this layer is more or less just a copy of the image filter or backdrop filter layer. Most parts of the backend don't have to care what the contents of an image filter are, its much simpler to encapsulate it.

Oh, one major caveat here:
This design would more or less prevent developers from implementing something like a blur unless we additionally provided the position and pass size. We should probably not restrict this so heavily, and instead provide all of the position information as well.


feat(v2): v2 of plugins

V2 introduces a crucial change to the build, as it was using a fat jar so was problematic to use
Added app.yaml/conf

Hey, there are some conflicts from some maintenance I was doing earlier.  I'll revert them now so these changes can override.


Remove dependency on Foundation

I have been looking into removing the dependency on Foundation from soto and soto-core. I got really far without too much trouble, but then realized that this library has a pretty strong dependency on Foundation that is not easily resolvable as many of the types used here are not available in FoundationEssentials. Such as NSNumber, NSNull, JSONSerialization.
Not sure what the best approach would be, maybe it would be better to instead use a different JSON library such as IkigaJSON.

It might just be better to write a JSON parser specifically for the library. Ikiga includes a load of extra stuff we wouldn't need. A JSON parser is fairly easy to write. We could probably ditch the NSNull stuff after that as that is a requirement for parsing output of JSONSerialization. Not so sure about NSNumber as it used as a general wrapper for a number type.

I can see a way around the uses of NSNumber

We could also just "rip out" the json parser from Foundation-Essentials. There is also @tayloraswift's https://github.com/tayloraswift/swift-json

We could also just "rip out" the json parser from Foundation-Essentials. There is also @tayloraswift's https://github.com/tayloraswift/swift-json

That's kinda what I was thinking. I'd probably go with FoundationEssentials.
If you have soto-core changes I'd love to see them in a draft.

datetime date format is the one thing I can think of that isn't supported by FoundationEssentials
There a couple of places where I've added foundation APIs.
Even a PR that gets halfway would be better than nothing

check the links above, the show the WIP commits in my forks. I can open WIP PRs of course!

I have not updated the code generator but just brute-force updates the generated files in place

I had a look at JSONScanner from Foundation. It's really clever. The scanner just works out the ranges of everything. There is no parsing of values that is done inside the decoder. This means you only convert the values you need. For JMESPath that's great as you don't need to convert most of the file.
Actually getting it to work with JMESPath is quite a bit of work though.

#11 gets rid of Foundation for loading json. Now need to get rid of writing json and work out how I'm going to keep the Data APIs.

Nice!
Data is in FoundationEssentials though or do you want to get fully independent?

Data is in FoundationEssentials though or do you want to get fully independent?

Ah didn't realise that. Would be nice to have one entry point which takes a generic. Might be able to use the ContiguousBytes protocol.


Component: Notifications

Build the notifications (toasts) component. Growl-like notifications that appear on the screen, and then disappear after a duration.
Material Design toast
https://www.google.com/design/spec/components/snackbars-toasts.html#snackbars-toasts-usage
Material Lite
https://www.getmdl.io/components/index.html#snackbar-section
SalesForce notification
https://www.lightningdesignsystem.com/components/notifications

Not needed this early. Revisit when getting towards the end of the component list. Could be a good React component test case.


NPSP Accounting using Payments/Opportunities

From the Seattle Sprint in conjunction with @njjc
NPSP Accounting
• Work with predominantly Opps/Payments, except genuine Recurring (remove Pledges from it)
• NPSP needs a lever to switch between Cash/Accrual
o   This defines Opp Stage, Picklist, and other settings with a configuration recommendation for SysAdmins
o   Explains these data structures accordingly
• Created default reports to support either method

**lurch: attach W-008191

Tracking W-008191

NPSP now has an integration with the Accounting Subledger product which provides the ability to create custom data-modelled Accounting Sets for specific organization accounting processes.

https://powerofus.force.com/s/article/ASL-How-Accounting-Subledger-Runs-the-Numbers
https://www.salesforce.org/accounting-subledger/


Django support

For projects using Django rather than Girder, having a Django app that adds a tile server and other large_image support is desired.
This can be added in parts.  At the core, we need to decide how to add a model mixin or field extension so that a file field can be used as a large image.  As part of this, we may need to convert an existing file to a file that can be used directly, so this needs some way to store a converted file and associate it with the original (deleting it when the original is deleted).
The functionality of the Girder plugin can be reproduced in stages rather than all at once.  A potential order for doing this would be:

[ ] endpoint or method to make / unmake a Django file field into a large_image item
[ ] endpoints for metadata (/tiles, /tiles/internal_metadata)
[ ] endpoints for serving tiles (/tiles/zxy, /tiles/fzxy)
[ ] cache management - tile sources should be cached so that we don't open a file for each tile
[ ] fuse-like ability to access filefields as os-level files (until implemented, s3 files will need to be pulled locally to serve them, which is inefficient)
[ ] endpoint for regions
[ ] endpoint for thumbnails
[ ] endpoints for associated images
[ ] thumbnail caching (of both WSI and associated images)
[ ] endpoint for individual pixels
[ ] endpoint for histograms
[ ] some diagnostic and settings endpoints (list available sources, set whether to automatically use large_images and the size of small images that can be used)
[ ] ability to precache thumbnails (the thumbnail jobs endpoints)
[ ] ability to convert images via large_image_converter
[ ] endpoints for serving tiles in deepzoom format

To complete the girder plugin functionality, we also need to consider UI extensions for item views and item lists.
This does not include the Girder large image annotation plugin features.

Much of this is available in RGD at this point. Should we revisit this and see what is still missing and/or make sure this functionality is reusable?

I've begun creating a new django-large-image App in https://github.com/ResonantGeoData/django-large-image
This is currently experimental, but I plan to implement most of the items on the checklist here.
The app abstracts file management so that downstream projects/apps must implement their own file management which greatly simplifies the scope of the new package

Awesome.  Once you think that is far enough along, we should close this issue and handle everything in that repo.  Would it be clearer if we transferred that repo from the ResonantGeoData to girder GitHub organizations?

django-large-image is in a working state! I think it's time we close this issue and follow up with new issues in that repository.

Would it be clearer if we transferred that repo from the ResonantGeoData to girder GitHub organizations?

I think we should. Will follow up internally

Awesome.


[Export Refactor][Transformers] Enable loading SparseModels

Feature Description
The main functionality introduced by this PR enables loading and applying the recipe in the new format to the text-generation models.
The notable changes are:
src/sparseml/export/export.py -> allowing the user to provide recipe explicitely to the exporter. If the recipe is not provided, but the recipe.yaml is located side-by-side with the model, there will be an attempt to load it automatically
src/sparseml/pytorch/model_load/helpers.py -> moving the log_model_load out of the transformers.SparseModel, otherwise we would get nasty import dependencies. Plus, it just make sense for it to be more general function.
src/sparseml/transformers/integration_helper_functions.py -> simplifying the create_model function and adapting it to the new changes
src/sparseml/transformers/utils/helpers.py -> just adding an extra transformer-specific wrapper around the general apply_recipe_structure_to_model method. Just in case we need some transformer-specific functionalities.
src/sparseml/transformers/utils/initializers.py -> refactoring initialize_model, so now it becomes a comprehensive, main entry point for loading a SparseModel.
src/sparseml/transformers/utils/load_task_model.py -> look above, this function is an extension of initialize_model (now initialize_sparse_model)
Testing
Tests in tests/sparseml/export/transformers/test_generative_transformers.py demonstrate the current capabilities of the new export module in the context of LLMs.

Oh one other issue I see: the new text_generation.py v2 finetuning script uses the pretrained_from_distil function, that needs to be updated

Yes


Failure without error code

I'm trying to deploy my built page to pages, but this action seems to fail without any error code, just "Try again later".
Config:
name: Build and Deploy
on:
  push:
    branches:
      - main
jobs:
  build:
    concurrency: ci-${{ github.ref }}
    runs-on: ubuntu-latest
    steps:
      - name: Checkout
        uses: actions/checkout@v2
      - name: Setup Node.js
        uses: actions/setup-node@v2
        with:
          node-version: 16.x
      - name: Install and Build
        run: |
          npm ci
          npm run build
      - name: Upload artifact
        uses: actions/upload-artifact@v2
        with:
          name: github-pages
          path: ./dist
          if-no-files-found: warn
  deploy-to-pages:
    runs-on: ubuntu-latest
    name: Deploy to Pages
    needs: build
    permissions:
      id-token: write
      contents: read
      pages: write
    environment:
      name: github-pages
      url: ${{ steps.deployment.outputs.page_url }}
    steps:
      - name: Deploy artifact
        id: deployment
        uses: actions/deploy-pages@v1-beta

The result:

Actor: Anna-Dan
Action ID:<PHONE_NUMBER>
Artifact URL: https://pipelines.actions.githubusercontent.com/5hihSr89L1pjn3eRto3775mYg7aBQ4fzNhi7FrUXnmaqcyGjxl/_apis/pipelines/workflows/1756432244/artifacts?api-version=6.0-preview
{"count":1,"value":[{"containerId":11236909,"size":818739,"signedContent":null,"fileContainerResourceUrl":"https://pipelines.actions.githubusercontent.com/5hihSr89L1pjn3eRto3775mYg7aBQ4fzNhi7FrUXnmaqcyGjxl/_apis/resources/Containers/11236909","type":"actions_storage","name":"github-pages","url":"https://pipelines.actions.githubusercontent.com/5hihSr89L1pjn3eRto3775mYg7aBQ4fzNhi7FrUXnmaqcyGjxl/_apis/pipelines/1/runs/23/artifacts?artifactName=github-pages","expiresOn":"2022-04-27T15:53:58.0671261Z","items":null}]}
Creating deployment with payload:
{
"artifact_url": "https://pipelines.actions.githubusercontent.com/5hihSr89L1pjn3eRto3775mYg7aBQ4fzNhi7FrUXnmaqcyGjxl/_apis/pipelines/1/runs/23/artifacts?artifactName=github-pages&%24expand=SignedContent",
"pages_build_version": "de8e11ae6f4ebfee2c48f33c613aee996d97aea1",
"oidc_token": "***"
}
Created deployment for de8e11ae6f4ebfee2c48f33c613aee996d97aea1
{"page_url":"https://anna-dan.github.io/mesto/","status_url":"https://api.github.com/repos/Anna-Dan/mesto/pages/deployment/status/de8e11ae6f4ebfee2c48f33c613aee996d97aea1"}
Current status: deployment_queued
Error: Deployment failed, try again later.
Sending telemetry for run id<PHONE_NUMBER>

Hello,
We don't support quiet exactly what you are trying to do yet and as such it is not documented and errors are not obvious neither.
In your case here, we need the artifact to be a single tar archive. You should be able to create such a save archive with something like that (roughly):
cd ./dist && touch artifact.tar && tar --dereference --hard-dereference -cvf artifact.tar --exclude=.git --exclude=artifact.tar .

Closing now but please let us know if you hit further issues.

I also ran into this, and the only reason I can offer is that there was another artifact (by a different artifact name) built in an earlier job.
I was able to mitigate this by combining two jobs so I didn't need to upload an artifact other than github-pages (artifact.tar)


.NET Exception loading a package

I am running Windows 11 here.
There seems to be no check on whether or not a file actually exists before trying to unzip it.
      ]tatin.loadPackages -verbose  'Dist\bkaw-JWTAPL-0.1.0.zip'
  Attempting to install Dist\bkaw-JWTAPL-0.1.0.zip...
  Establish dependencies...
  Dependency bkaw-JWTAPL-0.1.0 identified...
* Command Execution Failed: EXCEPTION: A .NET exception has occurred. Check ⎕EXCEPTION for details

      ]tatin.loadPackages -verbose    'JWTAPL\Dist\bkaw-JWTAPL-0.1.0.zip'
  Attempting to install JWTAPL\Dist\bkaw-JWTAPL-0.1.0.zip...
  Establish dependencies...
  Dependency bkaw-JWTAPL-0.1.0 identified...
  1 dependency identified
    Unzipping JWTAPL/Dist/bkaw-JWTAPL-0.1.0.zip...
    Add bkaw-JWTAPL-0.1.0 to dependency file...
    Saving build list...
  Establish references to dependencies...
1 package loaded into #

Perhaps Tatin should throw an error with a message saying something like "That file does not exist!"

In the comming version 0.115.0 this will happen:
]tatin.loadPackages -verbose  'Dist\bkaw-JWTAPL-0.1.0.zip'
  Attempting to install Dist\bkaw-JWTAPL-0.1.0.zip...
  Establish dependencies...
  Dependency bkaw-JWTAPL-0.1.0 identified...
* Command Execution Failed: File not found: Dist\bkaw-JWTAPL-0.1.0.zip


Added property endpoint to sender

To make it easier to redirect on tests when used by external applications using fake gcm services.

Any chance this could be included ?.

:+1: we did this as well for our testing


Runtime error in BeamDyn unit test, test_BD_GravityForce()

When compiling in debug mode and running the BeamDyn unit test, I am seeing the following error:
Start: <test_BD_GravityForce_suite.test_BD_GravityForce>
At line 2682 of file /Users/Michael/NREL/OpenFAST/modules-local/beamdyn/src/BeamDyn.f90
Fortran runtime error: Index '7' of dimension 1 of array 'p%qp%mmm' above upper bound of 6

Fixed by #135


Add UTF-8 support to Oracle driver and cert subject, fix some bugs

Coverage decreased (-3.6%) to 44.25% when pulling 30526d8cc9632cdbafe24940e177a10b66c3bf65 on maxhq:develop-maxhq into 15b3e5b9fece661212a61ed50c5bdaba751f65a7 on openxpki:develop.


Add GitHub/Gitlab notifications action

added new action to fetch github notification service to view if you got new notifications in your projects or Merge requests (or for what github use this feature also).
EDIT: added Gitlab Todo pendant too.
Hope you enjoy and feel free to squash my commit mess ;)

@pwnyprod thanks for the PR, I hope I can review it during the weekend, but looks really nice.

@pwnyprod merged! Hope that in a few days it will available in the Stream Deck store 🎉

DevOps for StreamDeck has been updated in the Store!


Member script injected when url:false is set

Issue Summary
The issue  #12865  seems to be back ... since the 5.104.0 or maybe before.
When "false" is used as URL like described in the documentation : https://ghost.org/docs/config/
"The script can be relocated by changing the URL, or disabled entirely by setting "url": false."
The member script is injected in the page with "false" as a URL creating 404 error on web spiders :
<script defer src="false" data-i18n="true" data-ghost="https://www.geeek.org/" data-key="xxxxx" data-api="https://www.geeek.org/ghost/api/content/" data-locale="fr" crossorigin="anonymous"></script>
Steps to Reproduce
Disable the portal in the config file
  "portal": {     "url": false   },
Ghost Version
5.105.0
Node.js Version
18.20.5
How did you install Ghost?
Linux Ubuntu self hosting
Database type
MySQL 5.7
Browser & OS version
No response
Relevant log / error output
No response
Code of Conduct

[X] I agree to be friendly and polite to people in this repository

@kevinansfield : Documentation issue ?
"The script can be relocated by changing the URL, or disabled entirely by setting "url": false."
https://ghost.org/docs/config/

If found my issue, recommandations needs to be disabled to avoid to load the portal JS helper in the header.
if (!settingsCache.get('members_enabled') && !settingsCache.get('donations_enabled') && !settingsCache.get('recommendations_enabled')) {
        return '';
}

The  "url": false" has no effect and should be removed from the documentation or we have to add :
if (!scriptUrl) {
        return '';
}

In the getMembersHelper function, like the getSearchHelper function.


Merge master branch to prTesting1_202001141904 branch

Docs Build status updates of commit 4ca9826:
:warning: Validation status: warnings

File
Status
Preview URL
Details

split/updateTestCon1.md
:warning:Warning

Details

split/updateTestCon1.md

[Warning] Missing attribute: author. Add the current author's GitHub ID.
[Warning] Missing attribute: title. Add a title string to show in search engine results.

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


update to match production

Updated JointGenotyping and PairedEndSingleSample wdl and json to match production wdls.
Added Header to JointGenotyping wdl.
Added comments to JointGenotyping json to match PairedEndSingleSample json format.
Added description of workflows in README.md.

wdls look good to me 👍


Console Errors: Cannot patch function. It has wrong content at line  24

When initializing Foundry with Advanced Macros enabled, the following console error is generated. This occurs when Advanced Macros is the only module active on my install.
I'm a bit unsure as to what's causing this as I have a local install (windows) for staging, where this does not occur. Any ideas?
 Cannot patch function. It has wrong content at line  24 :  undefined  !=  "invalid": /^(\/[^\s]+)/, // Any other message starting with a slash command is invalid
 parse(message){let formula='([^#]*)';formula+='(?:(?:#\\s?)(.*))?';const roll='^(\\/r(?:oll)? )';const gm='^(\\/gmr(?:oll)? )';const br='^(\\/b(?:lind)?r(?:oll)? )';const sr='^(\\/s(?:elf)?r(?:oll)? )';const any='([^]*)';const patterns={"roll":new RegExp(roll+formula,'i'),"gmroll":new RegExp(gm+formula,'i'),"blindroll":new RegExp(br+formula,'i'),"selfroll":new RegExp(sr+formula,'i'),"ic":new RegExp('^(\/ic )'+any,'i'),"ooc":new RegExp('^(\/ooc )'+any,'i'),"emote":new RegExp('^(\/(?:em(?:ote)?|me) )'+any,'i'),"whisper":new RegExp(/^(\/w(?:hisper)?\s)(\[(?:[^\]]+)\]|(?:[^\s]+))\s*([^]*)/,'i'),"reply":new RegExp('^(\/reply )'+any,'i'),"gm":new RegExp('^(\/gm )'+any,'i'),'players':new RegExp('^(\/players )'+any,'i'),"invalid":/^(\/[^\s]+)/,};let c,rgx,match;for([c,rgx]of Object.entries(patterns)){match=message.match(rgx);if(match)return[c,match];}
return["none",[message,"",message]];}

What FVTT version are you on? Your Foundry.js got something wrong because ChatLog.parse should've that line as line 24.

I'm running 0.8.9 with the D&D 5e 1.4.3 system. This console error doesn't seem to appear consistently either, as I've reloaded the page a handful of times today and it's not shown up every time.


Install from HACS

I cannot find Integration on HACS

Is your HACS up to date? I can see it on HA v0.111 with HACS 1.1.0

Yes HA v0.111 with HACS 1.1.0 too.
I only see this https://github.com/ollo69/ha-smartthinq-sensors

I have the same issue. HACS 1.1.2

In the README there are 2 important lines.

You can install this component with HACS. Add the "custom repository" sampsyo/hass-smartthinq as an integration.

Here is a How To - How to add a custom repository

Authenticate with the SmartThinQ service to get a refresh token by running the WideQ example script. (Eventually, I would like to add a feature to the Home Assistant component that can let you log in through a UI, but I haven't gotten there yet.) Run this in the wideq directory.


Any Dart-specific documentation?

I want to use the Gmail API to make an email listener in Dart, but there doesn't seem to be any documentation at all for the Dart-specific API.
Can you please provide some documentation? If there already is some, can you provide a link to where the documentation may be?

The Dart-specific API is just client-side bindings in Dart for the APIs. For documentation on how to use them, there's the dartdoc: https://www.dartdocs.org/documentation/googleapis/0.40.0/index.html
The Gmail API dartdoc is here: https://www.dartdocs.org/documentation/googleapis/0.40.0/googleapis.gmail.v1/googleapis.gmail.v1-library.html, but it's only really useful if you already know the Gmail API (https://developers.google.com/gmail/api/).
I don't think we have any tutorials lying around, so please let us know if the above documentation isn't enough.

Yeah, the Gmail API page is really complicated - I'm trying to learn how to make an email listener, but I honestly have no idea where to start. I'm moving to Dart from Node.js, because the libraries there are killing me - none of the libraries work well with one another.
An example on the googleapis_examples for Gmail would be really great, if that's possible. I'll try experimenting around with the API for now, but everything's just really complex (I'm a noob to backend).


Label of button-group is dimmed

Current Behavior
I use button-groups and text nodes in a really mixed way.
Thats why i've expected that text labels of button-groups seem to be dimmed. Not only the label but also emoji icons i've put in the label. If i change the text-color by adding something like <font color="red"> to the label this color is also dimmed.

Expected Behavior
The color should not be dimmed.
In the screenshot example above the color should be white not something like gray.
Steps To Reproduce
[{"id":"517f4cd01606e746","type":"ui-text","z":"5a063c4965b355f2","group":"e2a75656db3d9f6a","order":2,"width":"3","height":"1","name":"","label":"🛋 Stehlampe led","format":"{{msg.payload}}","layout":"row-spread","style":false,"font":"","fontSize":16,"color":"#717171","wrapText":false,"className":"","x":570,"y":1400,"wires":[]},{"id":"871b27817411fce0","type":"ui-button-group","z":"5a063c4965b355f2","name":"","group":"e2a75656db3d9f6a","order":1,"width":6,"height":1,"label":"🛋 Stehlampe","className":"","rounded":true,"useThemeColors":false,"passthru":false,"options":[{"label":"","icon":"lightbulb-on","value":"ON","valueType":"str","color":"#fdde34"},{"label":"","icon":"lightbulb-off","value":"OFF","valueType":"str","color":"#4a4a4a"}],"topic":"topic","topicType":"msg","x":300,"y":520,"wires":[["4f2378ec4f27e9d3"]]},{"id":"e2a75656db3d9f6a","type":"ui-group","name":"Beleuchtung","page":"a2b46d0bd47e6940","width":"6","height":"1","order":2,"showTitle":true,"className":"","visible":"true","disabled":"false","groupType":"default"},{"id":"a2b46d0bd47e6940","type":"ui-page","name":"Home","ui":"1792a4055503e618","path":"/home","icon":"home","layout":"flex","theme":"8ad8c521246da50d","breakpoints":[{"name":"Default","px":"0","cols":"6"},{"name":"Tablet","px":"576","cols":"6"},{"name":"Small Desktop","px":"768","cols":"9"},{"name":"Desktop","px":"1024","cols":"12"}],"order":1,"className":"","visible":true,"disabled":false},{"id":"1792a4055503e618","type":"ui-base","name":"My Dashboard","path":"/dashboard","appIcon":"","includeClientData":true,"acceptsClientConfig":["ui-notification","ui-control"],"showPathInSidebar":false,"showPageTitle":true,"navigationStyle":"temporary","titleBarStyle":"default"},{"id":"8ad8c521246da50d","type":"ui-theme","name":"Default Theme","colors":{"surface":"#4e945a","primary":"#4e945a","bgPage":"#111111","groupBg":"#333333","groupOutline":"#333333"},"sizes":{"density":"comfortable","pagePadding":"12px","groupGap":"12px","groupBorderRadius":"4px","widgetGap":"12px"}}]

Environment

Dashboard version: 1.19.1
Node-RED version: 4.0.5
Node.js version: docker: nodered/node-red:4.0.5
npm version: docker: nodered/node-red:4.0.5
Platform/OS: docker/ubuntu
Browser: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:132.0) Gecko/20100101 Firefox/132.0

Have you provided an initial effort estimate for this issue?
I have provided an initial effort estimate

Confirmed to be a mismatch between ui elements. Below a picture with a switch and text element. Vanilla nodered. Only dashboard2 plugin installed. nothing else

There are also other issues with the slider for example:

The sliders have a margin-inline of 8px that moves them some pixel to the right compared to other elements.


Is linux supported now？

I think this reply can help you, thank you for your attention to this repository ❤
https://github.com/OroChippw/LightGlue-OnnxRunner/issues/23#issuecomment-1818291589

我认为这个回复可以帮助你，谢谢你对这个仓库❤的关注#23（评论）

Ok, got it. Thank you for your reply


Support of prefix.dev?

I just wondered if it's as of yet possible to use prefix links with the GH micromamba and if not, it's a feature request. :)

Please recreate this issue with https://github.com/mamba-org/setup-micromamba if it is still relevant.


Status of the scope not available via expression

Contrary to what this document claims, in my experience, result('Scope')[0]['status'] yields the status of the first action within the scope, and not the status of the scope.

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

ID: 2acbc231-08ad-e578-306a-0cf845ba810b
Version Independent ID: 7c912b95-0cd0-09e4-0baa-7aef88ef881b
Content: Group and run actions by scope - Azure Logic Apps
Content Source: articles/logic-apps/logic-apps-control-flow-run-steps-group-scopes.md
Service: logic-apps
GitHub Login: @ecfan
Microsoft Alias: estfan

@rcfoyn
Thanks for your feedback! We will investigate and update as appropriate.

HI @rcfoyn, we're still waiting on a response from the product team. Meanwhile, we've added this request to our doc backlog.

@rohithah: Can you help with this customer question about how to get the final status for the entire scope?

@rcfoyn: The response from @rohithah is to use the following expression instead for the final status of the scope:
action('scope-name')

@rcfoyn: A doc update will be published after 4 PM Pacific Time.


Update asn.py - removed deprecated functions calls

Coverage remained the same at 100.0% when pulling 148134110a8cdc4a036e298f80c563640911351b on imfede:master into ad6cbc6f4b8565ff6d7a8a80bb4f3e320d9802ca on secynic:master.

Closing this; will you open a new one?  Need to branch from/merge to the dev branch (GitFlow): http://ipwhois.readthedocs.io/en/latest/CONTRIBUTING.html#gitflow-model
I think I kept these in there for tests to pass, but it won't affect coverage according to the test results here.
Thanks!


using linq in razor template

hey,
upgraded from version 2 to 3.2
this used to work
@Model.SomeList.Sum(a =>  a.Amount)
now i get this exception:
Unable to compile template. Cannot use a lambda expression as an argument to a dynamically dispatched operation without first casting it to a delegate or expression tree type
works if i do this:
@((MySpecificModelType)Model).SomeList.Sum(a =>  a.Amount)
why does this happen? anyway of using Sum without casting?
thanks!

@coxp


If currently in snippet, send a character to buffer

I had trouble coming up with a title, so I'm assuming it's not very descriptive.
I have a problem with one plugin which is interfering with LuaSnip snippets. It's a motion plugin that allows me to jump to words/lines etc. with generated shortcuts. The problem is that when I enter a plugin and want to start naming one of the elements, the plugin runs for if one of it's keymaps is pressed.
I came up with a workaround, which check's if I'm currently in snippet and if not it runs the command, however if I'm in snippet I don't know how to forward the pressed key as normal user input so I can start editing the name of current node.
 if require('luasnip').in_snippet() then
  -- send a character to buffer at cursor as if mapping didn't exist
 else
  vim.api.nvim_cmd({ cmd = command }, {})
 end

Scenario:
'f' is a keymap to jump to word
I want to rename index to something starting with 'f', but after pressing 'f' nothing changes as the motion plugin is executed (and then cancelled by LuaSnip I assume). Using other characters works fine.

Mhmm do you need the plugin's keymaps in SELECT-mode?
If not, the easiest fix might be to set them exclusively for normal mode (:h map-modes)

From what I'm reading mapping for visual (which I also need) also maps for select mode. I currently have my mapping set like this:
vim.api.nvim_set_keymap('v', 'f', '<cmd>HopWord<cr>', {})
which still is executed when I'm in a snippet

Okay, I managed to make it work, by setting these keymaps for select mode:
vim.api.nvim_set_keymap('s', 'f', 'f', {})
vim.api.nvim_set_keymap('s', 'F', 'F', {})
vim.api.nvim_set_keymap('s', 't', 't', {})
vim.api.nvim_set_keymap('s', 'T', 'T', {})

Should I add such settings for other select modes as well? If I'm not mistaken there are three:
s        Select by character
S        Select by line
CTRL-S   Select blockwise

Nice, that also works :+1:
I think mappings via s affect all select-modes, you should be set with clearing those (but luasnip only uses charwise, so you're good either way :D).
One more alternative: you can (I think, and according to :h map-table) use x for mapping select-only, that might be cleaner :)


How to get access and identity tokens with ReactJS

Hi,
I was wondering if there are example codes on getting access and identity tokens with ReactJS.
Thanks,
Mehdi

This is not related to this example/demo nor to ReactJS, as it depends on how you store the Keycloak object in your app. There are multiple ways to do it.
For methods, how to access the tokens in the Keyclaok object, visit Keycloak documentation at https://keycloak.gitbooks.io/documentation/securing_apps/topics/oidc/javascript-adapter.html


Correct docs for CardTitle component

large is applied when the CardTitle has no avatar, not the other way around.

Thanks!


Triggers an event when the infowindow is loaded and ready

Triggers an event when the infowindow is loaded and it's been added to the dom so listeners of the layer are notified when they can interact with the infowindow.

cc: @alonsogarciapablo @javisantana (I'm having some trouble to create an spec for this)

:es:


Update platformio.yaml for build of TLXH inverters

Description
This adds support for building a firmware for ShineWifiX with TLXH support
How Has This Been Tested?

[ ] Not applicable

Inverter type

[ ] Simulated inverter
[ ] Inverter type e.g. Growatt 1500 TL-X

Stick type

[ ] Shine X
[ ] Shine S
[ ] Lolin32
[ ] Nodemcu32

@plieven  I made it build the other board version as well and made the release build optional.

@crasu can test this end of the week earliest I am on a conference this week.

@crasu this looks fine to me. Once small glitch: You build the TLXH firmware for ShineWifiS, but later do not copy the image to the release directory.

Also tested the images on a lolin32.

@crasu this looks fine to me. Once small glitch: You build the TLXH firmware for ShineWifiS, but later do not copy the image to the release directory.

That was on purpose I do not think that someone uses the ShineWifiS with a TLX-H inverter. I will remove the build step as well.


Effect Panel appears slightly under the left sidebar

Maybe a setting to offset the horizontal position will help people fix this, or maybe be relative to the sidebar upper left corner.

Hmm. I'm not seeing this. Can you give me a full screenshot so I can have some more context?

Tested with Culprit. Seems to be a small CSS conflict with GMScreen.

Hm, okay. Might be a simple naming conflict or something. I'll investigate it but thanks for the info


Is there any way mail alert via mail relay server?

As tittle, I want send alert mail from our mail relay server instead of private email, is there any solution?

@TiaraH Well, you can use your company's mail server.

Hi, the alert mail can send by localhost not the private mail account?


Impossible to change colors

First of all - thank you for great job you did. The dashboard looks really great, but after we got used to it, we bumped into major issues:
At first it seems that primary color is defined in material-dashboard-react.jsx with name primaryColor. That looked great, but:

just below there is primaryBoxShadow which uses hard-coded RGB values of primaryColor.
same thing with primaryCardHeader - hardcoded RGB
buttonStyle.jsx - buttonStyle.primary uses hardcoded RGB for boxShadow.

Same applies for all colors.
It is practically a rewrite for someone willing to use different color palette and total mess is guaranteed when one would like to update package.
In my opinion best approach would be to use custom Material-ui theme as this is how they suggest to customize components. If that's not possible I suggest to use some color manipulation package, like https://www.npmjs.com/package/color:
const colorPrimary = Color('#ff9800');
const primaryBoxShadow = {
    boxShadow:
        `0 12px 20px -10px ${colorPrimary.alpha(0.28).rgb().string()}, 0 4px 20px 0px rgba(0, 0, 0, 0.12), 0 7px 8px -5px ${colorPrimary.alpha(0.2).rgb().string()}`
};

Sorry for criticism, but this is a main issue we decided to abandon further integration of this nice dashboard.

Hello @vbartusevicius ,
I am sorry to hear this.
At the moment we do not have time to refactor all of our code.
When we will have some spare time we will see how we can make our code more variable friendly than it is now.
Best,
Manu

This is one of my main concerns as well. That the styling doesn't use the features present in material ui (theme-ing) is a big surprise, and makes it hard to get the look-and-feel consistent when using standard material ui components along with those from this kit.
The second issue being that we can't install and use these components as a normal library dependency in a sensible way.
Love the stuff you've done with it, so if those two are fixed, it'll be a really nice addition to the material ui experience.

Hello there @kaos ,
Thank you for your interest in working with our products, and sorry for this issue.
At the moment we are stuck on some other projects, and we do not have the time needed to make major changes to these products (speaking here about the Material React products).
Best,
Manu


Bump rev so supermarket will see updates

Please bump the rev to 1.6.x or 1.7.x. There are changes such as 'server_list' that would be very useful, but only exist in master.

@rarsan has added a bunch of new things to this cookbook which is great. He may not be ready for a release to be made. If a release is ready @rarsan, I can help with that. Thanks!

This is ready for release.
Here are the list of fixes & enhancements:

     Fix CI and Kitchen Dokken

     Fix upgrade recipe

     Fix install on SUSE platform

     Add Splunk 6.6 URLs as default

     Support static list of indexers for client recipe

     Support multisite indexer clustering

     Support search head clustering

I'm currently on vacation and can take care of it upon my return first week
of July. Otherwsie, Jennifer feel free to push a release if this is needed
more urgently.
Thanks.
On Wed, Jun 14, 2017 at 2:56 AM Jennifer Davis<EMAIL_ADDRESS>wrote:

@rarsan https://github.com/rarsan has added a bunch of new things to
this cookbook which is great. He may not be ready for a release to be made.
If a release is ready @rarsan https://github.com/rarsan, I can help
with that. Thanks!
—
You are receiving this because you were mentioned.

Thanks so much @rarsan! You totally rock. Will release shortly.

This has been released as v1.7.0.


Using the file discovery method, if a slave address failed to registr…

Using the file discovery method, if a slave address failed to registry itself when the scanning the configuration file at the first time (maybe the slave's docker service donot start), the slave will not be registry itself again, even if the slave's docker service started, unless remove the slave's address from the configuration file and add it again.
So, I changed the "addEngine" function, appending a return parameter "cluster.Engine", when the parameter is null, delegating the engine registered failed, and I add a function to loop to registry it every 30s, until it registry successfully.
Signed-off-by: lokikiller<EMAIL_ADDRESS>

@lokikiller Continuous-integration error because of go format error.
You can use gofmt -s -w modified_file to format go code. Just like:
 gofmt -s -w cluster/swarm/cluster.go
Also, you don't need to create a new PR, just modify --> commit --> push again.

Please sign your commits following these rules:
https://github.com/docker/docker/blob/master/CONTRIBUTING.md#sign-your-work
The easiest way to do this is to amend the last commit:
$ git clone -b "master" git@github.com:lokikiller/swarm.git somewhere
$ cd somewhere
$ git rebase -i HEAD~2
editor opens
change each 'pick' to 'edit'
save the file and quit
$ git commit --amend -s --no-edit
$ git rebase --continue # and repeat the amend for each commit
$ git push -f

Ammending updates the existing PR. You DO NOT need to open a new one.


[Bug]: "Failed to load community plugins."

Describe the bug
When I enable obsidian git, it fails to load community plugins when I want to browse for community plugins and the same goes for the community themes too as well.
Relevant errors (if available)
No response
Steps to reproduce
*Enabling obsidian git plugin makes community themes and plugins don't load in browse menu.
Expected Behavior
No response
Addition context
No response
Operating system
Windows
Installation Method
Other
Plugin version
2.20.2

What exactly happens? Does it simply load infinitely long? Does it work when you disable the plugin again? If not, does it work after a restart of Obsidian and the plugin turned off?

I just come back from noting on obsidian(since I don't note a lot). I turned off the plugin and now the obsidian just worked fine and I can browse plugins that I haven't installed now the same goes for themes too. I tried updating the plugin

What exactly happens? Does it simply load infinitely long? Does it work when you disable the plugin again? If not, does it work after a restart of Obsidian and the plugin turned off?

I just came back taking notes on obsidian(since I don't note a lot). I turned off the plugin and the obsidian just worked fine and I can browse plugins that I haven't installed now the same goes for themes too. I tried updating the plugin and restarting obsidian after enabling the plugin. And it works fine now. I don't know what happened but updating the plugin fixed the issue. Thank you btw. Sorry for tge trouble.


Mismatch between folders in drawer and folder manager

The outbox folder has different icons in different lists. Additionally, the order in drawer and folder manager is different. See screenshots below.
Drawer:

Folder manager:

Environment
K-9 Mail version: master
Android version: LineageOS 16.0

I was leaving #3750 open as a reminder to fix this. But now we can use this issue.


support multiple columns in .orderBy()

implementation of #2874

Thank you for your contribution! Would you consider creating documentation in https://github.com/knex/documentation for it?

LGTM! @elhigu what do you think?

Everything seemed fine to me 👍


Current tab is not always selected correctly

Every now and then the correct tab is not selected when the current editor changes (seen when using the original "Open Editors" for example). The reason seems to be that we have a time delay between VS code and extension host, but this is not expressed by the API in an asynchronous function:
https://github.com/microsoft/vscode-discussions/discussions/125
Until there is a solution to the problem on the part of VS Code, I will try to solve the problem via polling as a workaround.
The separation of VS code and extension host also seems to be the reason for the somewhat poor responsiveness of the extension.

Seems to be something that will not be fixed anytime soon. :(

April 2018: TreeView.reveal on new TreeView #47153

Was fixed in May 2018 by sandy081

October 2018: Tree API: When using async getChildren of TreeDataProvider, no progress on revealing #62214

"alexr00 modified the milestones: October 2019, On Deck".
The ticket is still open. :)

April 2020: TreeView.reveal after TreeDataProvider.refresh #96089

Workaround with getChildren suggested.
But API proposal accepted.
Rejected. No 20 upvotes.

July 2022: Events and registered commands on TreeView are unreliable when refreshing treeview #153982

Bug confirmed, then nothing happened.
The ticket is still open.


fix freeing frame before handling

especially when pools are disabled

After calling di_insert_frame callback (https://github.com/litespeedtech/lsquic/blob/master/src/liblsquic/lsquic_stream.c#L1122)
LSQUIC will call lsquic_malo_put in case:
A.  return value is INS_FRAME_OK and di_own_on_ok is false (https://github.com/litespeedtech/lsquic/blob/master/src/liblsquic/lsquic_stream.c#L1148)
B. return value is different than INS_FRAME_OK (https://github.com/litespeedtech/lsquic/blob/master/src/liblsquic/lsquic_stream.c#L1171)
LSQUIC have 3 implementations of data_in_iface:

di_if_error
here, di_own_on_ok is false. but anyway the error_di_insert_frame simply returns INS_FRAME_ERR and it will be freed as in case B above
di_if_hash
this implements the function in which I removed the free line from it. in this implementation, di_own_on_ok is 0 (so the caller will free in all cases above).
In the current code, LSQUIC will double free the frame in case in case insertion rc is INS_FRAME_OK (in hash_di_insert_frame  and in the caller)
di_if_nocopy
here di_own_on_ok is true so the caller does not free it, but LSQUIC is freeing it when calling its destroy implementation nocopy_di_destroy

@litespeedtech FYI


Hud

Also, there is this in the Acceptance Test of the HUD card. I believe this just means that after the game is over, then all the game balance gets added to the total balance for each player in the list of players in the board game, and then all this data gets saved. This could maybe be a simple method being called in Update() where if gameOver==true, then add each of the player's game balance to their total balance and then save each player's data. Do whatever you see fit! :)


Make matplot++ an optional dependency

The examples are the only parts of the repo that require Matplot++, so if the user does not have or want matplot++ they should still be able to build everything else.

Testing out the project board automation with a simple pull request


Remove the string index command

C# and Java give the results as char.

Will undo this and eventually add a "char" type.


go's module cache not working with redis on my Mac.

I notice  the go redis build test is failing when run locally on my Mac:
go test -run TestTaskODSBuildGo/build_go_app_with_redis_sidecar$ github.com/opendevstack/pipeline/test/tasks -v -timeout 60m
...
=== RUN   TestTaskODSBuildGo
    check.go:42: Trying to reach the required services...
    check.go:49: Nexus reached successfully.
    check.go:49: SonarQube reached successfully.
2022/03/15 11:55:22 Create namespace hygfctml to deploy to
2022/03/15 11:55:22 Create persistent volume hygfctml
2022/03/15 11:55:22 Create persistent volume claim task-pv-claim
...
        serviceaccount/pipeline patched
=== RUN   TestTaskODSBuildGo/build_go_app_with_redis_sidecar
...
2022/03/15 11:55:31 Type: Normal, Message: Started container sidecar-sidecar
2022/03/15 11:55:32 ---------------------- Logs from step-build-go-binary -------------------------
+ set -e
+ echo -n ''
+ cache_build_key=go-linux-amd64
+ copy-build-if-cached --cache-build=false --cache-build-key=go-linux-amd64 --cache-location-used-path=/tekton/results/build-reused-from-location --working-dir=. --output-dir=docker --debug=false
Build skipping is not enabled. Continuing with a regular build (CACHE_BUILD==false)
+ build-go --working-dir=. --enable-cgo=false --go-os=linux --go-arch=amd64 --pre-test-script= --output-dir=docker --debug=false
Working on Go module in /workspace/source ...
go version go1.16.12 linux/amd64
INFO: Using gomodule cache on repo pvc
GOMODCACHE=/workspace/source/.ods-cache/deps/gomod
Filesystem      Size  Used Avail Use% Mounted on
grpcfuse        466G  393G   46G  90% /workspace/source
Checking format ...
Linting ...
golangci-lint has version 1.41.1 built from a2074809 on 2021-06-19T16:01:50Z
OK
Testing ...
Filesystem      Size  Used Avail Use% Mounted on
grpcfuse        466G  393G   46G  90% /workspace/source
=== RUN   TestExample
key value
key2 does not exist
--- PASS: TestExample (0.00s)
PASS
coverage: 55.6% of statements
ok  	go-redis	0.015s	coverage: 55.6% of statements
Building ...
Checking for sonar-project.properties ...
+ '[' false == true ']'
2022/03/15 11:57:32 Waiting for container step-scan-with-sonar from pod ods-build-go-with-sidecar-taskrun-fgpoenlb-pod-mqxg7 to be ready...
    helper.go:123: Status: True
    helper.go:124: Reason: Succeeded
    helper.go:125: Message: All Steps have completed executing
    run.go:167: unlinkat<EMAIL_ADDRESS>permission denied
=== CONT  TestTaskODSBuildGo
    common_test.go:169: Deleting namespace hygfctml
    common_test.go:169: Deleting persistent volume with name hygfctml
--- FAIL: TestTaskODSBuildGo (132.17s)
    --- FAIL: TestTaskODSBuildGo/build_go_app_with_redis_sidecar (128.00s)
FAIL
FAIL	github.com/opendevstack/pipeline/test/tasks	132.206s
FAIL

While this in the context of working on PR #462 I believe it is related to the addition of the global dependency cache. It appears to not have this issue in the GitHub build.
Another issue I noticed is that after using go task tests locally make clear-tmp-workspaces it fails with permission issues as the go module cache uses read only permissions by default.

Am I getting this right that the test failure is related to unsuccessful cleanup? So this would be the same issue as with make clear-tmp-workspaces, no?

I believe not. This happens after doing a fixed local clear-tmp-workspaces also. But perhaps there is an issue in case the tests aim to remove stuff and fails. But then it should fail for other go tests as well or?

But then it should fail for other go tests as well or?

Others do not use any 3rd party dependencies, so maybe do not trigger the problem.
On that note, @kuebler @henninggross I just realise that your changes in #404 removed the Redis test, which now means we do not have a test exercising integration of external Go modules. I think we should expand the Go sample app to download a simple Go module to bring back that confidence. We could potentially use https://pkg.go.dev/rsc.io/quote, it is used in various demos etc., and "maintained" by the Go lead so should be reliable.

I can reproduce this locally, and as far as I can tell its because the global caching prevents all cleanup later due to insufficient permissions. I'm working on a fix.


Add caching, compressing, and CORS-allowing RPC proxy middleware

It would be nice to be able to load addrman tables directly from Bitcoin Core RPC. However, accessing Bitcoin Core RPC from a Browser ins't something we want to do. Better to have a proxy that handles credentials and only ever allows access to the getrawaddrman RPC.
The proxy should:

proxy the JSON received from RPC to a requester handling e.g. the RPC credentials
it might cache responses for a few seconds (e.g. up to 60 seconds)
support multiple Bitcoin Core nodes (one proxy instance for n nodes)
take care of compressing (gzip) the response if the requester supports that (getrawaddrman JSON output is highly compressible with a factor of about 10x)
respond to requests with the Access-Control-Allow-Origin: * header set to allow cross-origin fetch requests

The caching part might not be needed in the proxy. This reduces implementation complexity. You only need a cache if you expose the proxy publicly, e.g. with nginx. At this point you can also use nginx to handle the caching.


pathogenesis

Whils inspecting annotation  for "Matrix" I have spotted vertebrate annotations to "pathogenesis"
Although  I don't think this term really belongs in GO (this is probably in another issue), only a pathogen is involved in pathogenesis.
We could add the taxon constraint
"never in mammals" (minimally), unless anyone knows of instances of  these acting as pathogens?

really I think we should remove from GO...

closing duplicate
https://github.com/geneontology/go-ontology/issues/11057
but we should remove and if this can't happen soon, add taxon constraints to begin the tidying process.


Android Rad Tools

Stolen out of Android Rad Tools... ????
http://www.youtube.com/watch?v=2t0c-x7HFJw&list=UUi6x-NyAVGV2DkpmwUcnz1g
Published 2011.
Didn't even change the source code QQ.   Wish peoiple would actually publish changes back into open source libraries instead of republishing them as their own.    Gets Old...

I am very sorry but you are wrong? I have not based this plugin on any other published code.
At the time I started working on it (2011 - https://code.google.com/p/android-code-generator-plugin/source/list) I couldn't google anything for android code generation, that was the reason why I started this project.
It's the first time I see this repository. And to be honest I don't see any code in your repo that I have copied or even could copy.
Could you please send any references to your publishings.
Best regards,
Tomasz

You took the code and made business objects and republished it as your own.    Which is what's suppose to happen, but there wasn't any credit given back or merges done with my original Google source repository.
How odd that your repo started 	Nov 30, 2011.
Once month earlier (September 1, 2011 - 23:31) I posted the source and published ---
http://marketplace.eclipse.org/content/lazy-android
2011 I published a library and the source to do the exact same thing to start out an opensource project.   Except 100 other people slightly edited it and posted on their blogs that they made a plugin or had a great idea to  make a plugin.   Some made a menu, some added similar features, some didn't edit the code at all just republished it on Git and blogged about a control they created...
I removed it from Google Source after seeing  a lot of the exact same thing with small alterations (like this link)
Within 30 days there was soooo many people that didn't contribute back, but rather took the code altered semantics and republished it as their own.
------  your first XML parser.
https://code.google.com/p/android-code-generator-plugin/source/browse/src/com/morcinek/android/codegenerator/logic/LayoutParser.java?spec=svn82e69b9288cac6f796bced0fa7b4aa3101869772&r=82e69b9288cac6f796bced0fa7b4aa3101869772
https://github.com/Yinten/AndroidRadTools/blob/master/FastAndroidDeclarations
What's the point of the social coding if it is too not make a better more robust solution.. You could have forked or recommited to get the changes like the addition of options you put in back into the original.

https://tmorcinek.wordpress.com/2012/09/05/eclipse-plugin-for-automatic-generation-of-android-code-from-xml-layout-extended/
Here's the post you wrote after you took it.   Throwing back no credit & claiming as your own.   You didn't extend or help the original open source project.
Bad Karma Bro.

I don't have a time for toll like you.
Just few people had the same idea, and worked on similar tool, happens all the time.
Can you please point reference to any published code which I presumably stole from you?
If not I am closing/deleting this issue.

I did above -
This was an open source project on Google Code on September 1, 2011.  I took it down because people like you popped up the same plugin immediately after I published the code as their own.   Add back in my copyright attribution.   It's obvious that you refactored the XMLManager into 5 different classes and removed my Apache copyright attribution.
I'm contacting legal to see how to approach a situation like this, because its getting old.   Without a doubt the timeline and the refactor is obvious.     I had 6 people look at the refactor all confirming that there is really no way you had a plugin a week after I released my source on Google and https://web.archive.org/web/20120228170218/http://www.ryangmattison.com/page/Lazy-Android-Code-Gen-Android-findViewById-carpal-tunnel-syndrome-eclipse.aspx
I've asked for a follow up with Google legal if the creator of that repository android-code-generator has ever visited the repository in Sept 2011.
https://code.google.com/p/android-code-generator-plugin/source/browse/src/com/morcinek/android/codegenerator/logic/LayoutParser.java?spec=svn82e69b9288cac6f796bced0fa7b4aa3101869772&r=82e69b9288cac6f796bced0fa7b4aa3101869772
https://github.com/Yinten/AndroidRadTools/blob/master/FastAndroidDeclarations/src/fastandroiddeclarations/popup/util/XMLManager.java

Please readd the attribution to all files -
/*
Copyright 2011 Ryan Mattison
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/

Follow the copyright.

I don't have time for this.
You haven't provide any reference to published code, that I could have stolen from you. So I am closing this issue.
To be completely honest with you, code in XMLManager that you have written is not a rocket science :). From what I see in your code you have just implemented simple recursive XML parsing.
I implemented retrieving data from the XML using XPath Expression, this implementation was in the first version of my plugin.
Please familiarise yourself with my code I have written.
I hope you will resolve the problems you have.

You took the steps and went 10 minutes further of cleaning up the demo.
On Mar 16, 2015 6:31 PM, "Tomasz Morcinek"<EMAIL_ADDRESS>wrote:

I don't have time for this.
You haven't provide any reference to published code, that I could have
stolen from you. So I am closing this issue.
To be completely honest with you, code in XMLManager that you have written
is not a rocket science :). From what I see in your code you have just
implemented simple recursive XML parsing.
I implemented retrieving data from the XML using XPath Expression, this
implementation was in the first version of my plugin.
Please familiarise yourself with my code I have written.
I hope you will resolve the problems you have.
—
Reply to this email directly or view it on GitHub
https://github.com/tmorcinek/android-codegenerator-plugin-intellij/issues/16#issuecomment-82020763
.


When I click the submit button, it will not automatically jump to the next image

Describe the bug
When I click the submit button, it will not automatically jump to the next image。And I haven't found the relevant settings either
Expected behavior
When I click on the price increase, it can automatically jump to the next image
Environment (please complete the following information):

OS: [win11]
Label Studio Version [1.8.0]

Hello Youqugit,
We need more context here. Are you in the labeling queue or the just the quick view? whats the price increase? Is it possible for a video here?

Thanks for your reply.
I have already solved this problem, but I have another problem。
I used pip to install label studio in the Conda base environment on Win11。I use the method of changing environment variables to modify hotkeys。
set EDITOR_KEYMAP={"annotation:submit":{"key": "w+e","description": "My Custom Submit Hotkey!"}}

This is successful（First shortcut key）.ScreenShot：

But when I try to modify multiple shortcut keys，failed to use the following command line。
set EDITOR_KEYMAP={"annotation:submit":{"key": "w+e","description": "My Custom Submit Hotkey!"}, {“imag:next”: {“key”: “shift+d”,“description”: “My Custom Image_next Hotkey!”}}}

Can I only modify the shortcut keys in the Labeling Interface Settings（The picture above）.
Automatically jump to the next image
When  in this mode, it cannot automatically jump。ScreenShot:（I have to cover it up）

When I click here（Red Circle）to this mode , it can automatically jump to next image.

The mode you showed on the images doesn't support jumping to the next annotation on submit


Generate flatbuffer schemas

Flatbuffers is now supported in MCAP and Foxglove Studio. However, we have not published schemas for use in Foxglove Studio.

should be closed with https://github.com/foxglove/schemas/pull/70


space character is replaced by  token (wav2vec 2.0)

Hello,
I used wav2vec's pre-trained model for fine-tuning with librispeech, then tested it, and everything worked fine. However, when I trained the model and tested it against different language (Arabic), I got a really high WER, and when I tested some audio files I found out that the space character is replaced by  token.
My transcript files are written in the same way as librispeech's. For dict.ltr.txt file, I put all the characters that appeared in the  transcripts (except for the space character) and I put a random number in front of each character.
How can I fix this problem?
Thank you

The problem is solved, I forgot to add | sperator in dict.ltr.txt . This answer helped me here

I'm just wondering, did you reverse the Arabic text on the transcript file or did you use it as it is since Arabic is a right-to-left language. I'm doing a project on Arabic and it would really be helpful if you could share how you did it


Apply filter after yielding search results

Description

Type of change

[x] Bug-fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update

References

Fixes #3664
How has this been tested?

[x] example: the test suite for my feature covers cases x, y, and z
[x] example: all tests pass with my change

Final checklist:

[x] My PR is the minimum possible work for the desired functionality
[x] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] If I included new strings, I have used trans. to make them localizable.
For more information see our translations guide.

@tlambert03 does this fix the issue?

Thanks

thanks!


Added variable objects (structs and vectors of variables) to ILAng

Also included is an alpha of some transformation functions for partitioning, zipping/unzipping, projecting, and joining certain kinds of objects. The code is correct, but I didn't include these functions in the facade because I wasn't sure about the return type of partitioning.
Also something to think about: should I go through and rename vector to array everywhere? As I've started working with CHCs, it seems to me like the model may eventually need vectors where the capacity is an SMT variable, and that may be more deserving of the name "vector". Dunno if it's worth the effort to do all that renaming on a hunch.
Third thing: the tests I added seem to add several (2-5) seconds of runtime to the total. Is that something to reduce?

Code is passing all tests on my WSL2 and Ubuntu 20.04 LTS systems. On the Ubuntu system, I needed to call sudo make install to get the ExampleCMakeBuild to pass (the test was failing on the byhuang/ILAng master branch as well, until I called the install function).

Code is passing all tests on my WSL2 and Ubuntu 20.04 LTS systems. On the Ubuntu system, I needed to call sudo make install to get the ExampleCMakeBuild to pass (the test was failing on the byhuang/ILAng master branch as well, until I called the install function).

After running valgrind on the tests, I don't think there are any memory leaks or use-after-free errors (I read that those can sometimes cause bus errors?).
The Ubuntu builds may be timing out on the TestApiObjects.Unrolling test, which checks that two virtually identical implementations of matrix-element vector multiplication are in fact the same. Granted, this isn't the easiest test, but it's restricted to a 4x4 matrix times a 4-element vector, and it takes milliseconds on my machine. The only reason I suspect that it's this one is that the others seem even less suspicious.

After running valgrind on the tests, I don't think there are any memory leaks or use-after-free errors (I read that those can sometimes cause bus errors?).
The Ubuntu builds may be timing out on the TestApiObjects.Unrolling test, which checks that two virtually identical implementations of matrix-element vector multiplication are in fact the same. Granted, this isn't the easiest test, but it's restricted to a 4x4 matrix times a 4-element vector, and it takes milliseconds on my machine. The only reason I suspect that it's this one is that the others seem even less suspicious.

Ready for review.

Ready for review.


PortAudio will not "Make"

IMPORTANT: Before you create an issue, please take a look at our Issue Reporting Guide.
Briefly summarize your issue:

Portaudio will not "make", outputs this if test -n "" ; then for dir in ""; do make -C $dir all; done ; fi
What is the expected behavior?

It should have be able to "make"
What behavior are you observing?

Crashing
Provide the steps to reproduce the issue, if applicable:

run `cd /home/pi/sdk_folder/third-party
wget -c http://www.portaudio.com/archives/pa_stable_v190600_20161030.tgz
tar zxf pa_stable_v190600_20161030.tgz
cd portaudio
./configure --without-jack
make`
Tell us about your environment:

What version of the AVS Device SDK are you using?
  Latest

Tell us what hardware you're using:

[ ] Desktop / Laptop
[x] Raspberry Pi
[ ] Other - tell us more:

Tell us about your OS (Type & version):

[ ] Linux
[ ] MacOS
[x] Raspbian Stretch
[ ] Raspbian Jessy
[ ] Other - tell us more:

Hi @Piflyer , this sounds like an environment issue. Can you post the full output from the configure and make commands, as well as the output from env.

This comment is unrelated to Portaudio but I saw that you answered "Latest" to the question "What version of the AVS Device SDK are you using?"
The latest AVS Device SDK is version 1.17 (as of December 2019). The Smart Screen SDK 2.0 does not work with version 1.17 (you can make it work but not just by following the installation instructions). The Smart Screen SDK version 2.0 has been verified with the AVS Device SDK version 1.15. Please use 2.0 together with 1.15.

Closing this due to inactivity. Please feel free to re-open if you encounter further problems.
Thanks!

I ran into the same issue, following the official guide here: https://developer.amazon.com/en-US/docs/alexa/avs-device-sdk/ubuntu.html
So the issue is basically blindly copying the commands... :)
It says  cd ../third-party before commands to download and make portaudio, however, since this is not an absolute path You might be in a different directory.
Manually navigating to /my_project/third-party/portaudio and make-ing it there, works better.

I ran into the same issue, following the official guide here: https://developer.amazon.com/en-US/docs/alexa/avs-device-sdk/ubuntu.html
So the issue is basically blindly copying the commands... :)
It says  cd ../third-party before commands to download and make portaudio, however, since this is not an absolute path You might be in a different directory.
Manually navigating to /my_project/third-party/portaudio and make-ing it there, works better.

Closing out this since information provided by @Sindar-sudo is a resolution to the issue

Closing out this since information provided by @Sindar-sudo is a resolution to the issue


Do not handle A_CYC_OPT_TEMP_SENSOR_MODE as temperature

A_CYC_OPT_TEMP_SENSOR_MODE  is wrongly converted to/from kelvin to celsius.
That metric is a state instead of a temperature.
https://github.com/hacki11/ioBroker.valloxmv/pull/12

A_CYC_OPT_TEMP_SENSOR_MODE is wrongly converted to/from kelvin to celsius.
That metric is a state instead of a temperature.
hacki11/ioBroker.valloxmv#12

tested successfully

Thank you! I'll create a new release tomorrow.


Fixes

fixed a whoopsie please approve

Btw we need to implement testing
Will wait for copilot X so it can write our tests


Add dcode

Add of dcode, a tool to convert data into timestamps .

@naacbin sorry for the late reply, we really appreciate your hard work. I wanted to allow @mandiant/commando-vm to review your PRs, as I am not familiar with most of the tool. @mandiant/commando-vm anyone with time for some PR reviewing? 😉

@naacbin I think all your PRs without discussions or changes to address are merged now. Thanks for all the hard work! 🚀


Consider removing dcat example to avoid duplication

Consider removing the dcat.dart cmdline example since the file is now found under https://github.com/dart-lang/site-www/tree/master/examples/misc (https://github.com/dart-lang/site-www/pull/1902).

@kwalrath Could I get this done?

Yes, please!


Run poetry update to get radas v2024.8.0

Removes the need for a user to have gfortran on their machine.

@tbody-cfs how about we also bump the radas requirement in the pyproject.toml such that we can ensure people won't need gfortran anymore?


keep-alive about dynamic component

Vue version
3.2.25
Link to minimal reproduction
none
Steps to reproduce
1、display

2、code
include is component name
key bind component id
  <router-view v-slot="{ Component, route }" >
    {{route.query.id}}
    <keep-alive :include="includes">
      <component :is="Component" :key="route.query.id"></component>
    </keep-alive>
  </router-view>

3、add Component
const helloWorlds = ref([
  { name: 'world-1', id: 1},
  { name: 'world-2', id: 2},
])
const addWorld = () => {
  const len = helloWorlds.value.length + 1
  helloWorlds.value.push({
    name: `world${len}`,
    id: len
  })
}

What is expected?
i want  cache is empty  when adding new component
What is actually happening?
cache is exist   when adding new component
System Info
No response
Any additional comments?
No response

please provide a reproduction link


The gradient of the scalar function for the right-hand side of the Lamé equation.

Hello. Could you please tell me how to set a right-hand side for the elasticity equation from Example 2?
My right-hand side is F=-grad(s). The scalar function s(x,y,z) is given at points of a rectangular grid.
The grid was created by MakeCartesian3D.
I have tried various ways with grad -LF integrators, but they don't work. I now pre-calculate the gradient via finite differences, and then substitute in the VectorDomainLFIntegrator. It's not beautiful.
Thank you.

You should also be able to avoid the assembly of the (Par)MixedBilinearForm by using the class GradientGridFunctionCoefficient constructed from the scalar (Par)GridFunction s. To add the minus sign you can then use ScalarVectorProductCoefficient with a double scaling factor A = -1.0.

Hi, Veselin.
Thank you for the advice, it's working great. Mark's method didn't work. Variable s_fg is of GridFunction type, while arguments of function negGrad.Mult(s_gf, F_lf) should be vectors. I think this can be easily corrected, but this method requires assembling the matrix (slow).
Another question I want to ask you. The Right hand side is defined in a file.

I don't quite understand how to create a GridFuncion for a table from an X,Y,Z,VAL     ASCII-file. I have read the tips on the forum, but there is no clear explanation (example).
I would like a simple solution.

Can I automatically create a ParGridFunction from a GridFunction so that the function values are COPIED ?

I do like this:
//FiniteElementSpace *sfespace = new ......
Vector V;
.....
GridFunction rhs(sfespace,V);
ParGridFuction *RHS=new ParFridFunction(pmesh,&rhs);  // In this case the values are not copied. partition=NULL
RHS->ProjectGridFunction(rhs);
It works for one processor, but not for more.
The RHS values are defined incorrectly.
Thank you.