[BUG] Why does my ollama show null when I write like this? Is ollama not supported for writing like this?

public class AIMessage {

    static String MODEL_NAME = "llama3.1:8b";

    @Test
    public void json_output_example() {

        // 直接使用指定的 URL
        ChatLanguageModel model = OllamaChatModel.builder()
                .baseUrl("http://localhost:11434")
                .modelName(MODEL_NAME)
                .format("json")
                .build();

        class Address {
            String street;
            Integer streetNumber;
            String city;
        }

        class Person {
            String firstName;
            String lastName;
            LocalDate birthDate;
            Address address;
        }

        interface personExtractor  {
            @UserMessage("You are a good friend of mine. Answer using slang.")
            Person extractPersonFrom(String text);
        }

        String text = """
            In 1968, amidst the fading echoes of Independence Day,
            a child named John arrived under the calm evening sky.
            This newborn, bearing the surname Doe, marked the start of a new journey.
            He was welcomed into the world at 345 Whispering Pines Avenue
            a quaint street nestled in the heart of Springfield
            an abode that echoed with the gentle hum of suburban dreams and aspirations.
            """;

        personExtractor  friend = AiServices.create(personExtractor.class,model);
        Person answer = friend.extractPersonFrom(text);
        System.out.println("AI:"+answer);
    }

}

Why does my ollama show null when I write like this? Is ollama not supported for writing like this?

Hi @Heyh520, there seems to be a mistake in the PersonExtractor interface:
interface personExtractor  {
            @UserMessage("You are a good friend of mine. Answer using slang.")
            Person extractPersonFrom(String text);
}

It sohuld probably be this instead:
interface PersonExtractor {

        @UserMessage("Extract information about a person from {{it}}")
        Person extractPersonFrom(String text);
}

Here is a full example that works:
import dev.langchain4j.model.chat.ChatLanguageModel;
import dev.langchain4j.model.ollama.OllamaChatModel;
import dev.langchain4j.service.AiServices;
import dev.langchain4j.service.UserMessage;

import java.time.LocalDate;

public class Test {

    class Address {
        String street;
        Integer streetNumber;
        String city;
    }

    class Person {
        String firstName;
        String lastName;
        LocalDate birthDate;
        Address address;
    }

    interface PersonExtractor {

        @UserMessage("Extract information about a person from {{it}}")
        Person extractPersonFrom(String text);
    }

    public static void main(String[] args) {

        ChatLanguageModel model = OllamaChatModel.builder()
                .baseUrl("http://localhost:11434")
                .modelName("llama3.1")
                .format("json")
                .logRequests(true)
                .logResponses(true)
                .build();

        String text = "In 1968, amidst the fading echoes of Independence Day,\n" +
                "            a child named John arrived under the calm evening sky.\n" +
                "            This newborn, bearing the surname Doe, marked the start of a new journey.\n" +
                "            He was welcomed into the world at 345 Whispering Pines Avenue\n" +
                "            a quaint street nestled in the heart of Springfield\n" +
                "            an abode that echoed with the gentle hum of suburban dreams and aspirations.";

        PersonExtractor friend = AiServices.create(PersonExtractor.class, model);
        Person answer = friend.extractPersonFrom(text);
        System.out.println("AI:" + answer);
    }
}

I am closing this issue for now, but feel free to reopen it and/or comment here


error before compile

i want to compile the game but i'm getting this error
Standard library not found. You may need to set your HAXE_STD_PATH environment variable
can someone help me

try reinstalling haxe

i got that error now

download the latest version of the source code and run this command on cmd
haxelib git flxanimate-doido https://github.com/DoidoTeam/flxanimate-doido

if you dont wanna redownload the engine you can go into Project.xml and change from <haxelib name="flxanimate"/> to <haxelib name="flxanimate-doido"/>


[SPARK-30412][SQL][TESTS] Eliminate warnings in Java tests regarding to deprecated Spark SQL API

What changes were proposed in this pull request?
In the PR, I propose to add the @SuppressWarnings("deprecation") annotation to Java tests for deprecated Spark SQL APIs.
Why are the changes needed?
This eliminates the following warnings:
sql/core/src/test/java/test/org/apache/spark/sql/JavaDatasetAggregatorSuite.java
    Warning:Warning:line (32)java: org.apache.spark.sql.expressions.javalang.typed in org.apache.spark.sql.expressions.javalang has been deprecated
    Warning:Warning:line (91)java: org.apache.spark.sql.expressions.javalang.typed in org.apache.spark.sql.expressions.javalang has been deprecated
    Warning:Warning:line (100)java: org.apache.spark.sql.expressions.javalang.typed in org.apache.spark.sql.expressions.javalang has been deprecated
    Warning:Warning:line (109)java: org.apache.spark.sql.expressions.javalang.typed in org.apache.spark.sql.expressions.javalang has been deprecated
    Warning:Warning:line (118)java: org.apache.spark.sql.expressions.javalang.typed in org.apache.spark.sql.expressions.javalang has been deprecated

sql/core/src/test/java/test/org/apache/spark/sql/Java8DatasetAggregatorSuite.java
    Warning:Warning:line (28)java: org.apache.spark.sql.expressions.javalang.typed in org.apache.spark.sql.expressions.javalang has been deprecated
    Warning:Warning:line (37)java: org.apache.spark.sql.expressions.javalang.typed in org.apache.spark.sql.expressions.javalang has been deprecated
    Warning:Warning:line (46)java: org.apache.spark.sql.expressions.javalang.typed in org.apache.spark.sql.expressions.javalang has been deprecated
    Warning:Warning:line (55)java: org.apache.spark.sql.expressions.javalang.typed in org.apache.spark.sql.expressions.javalang has been deprecated
    Warning:Warning:line (64)java: org.apache.spark.sql.expressions.javalang.typed in org.apache.spark.sql.expressions.javalang has been deprecated

sql/core/src/test/java/test/org/apache/spark/sql/JavaDataFrameSuite.java
    Warning:Warning:line (478)java: json(org.apache.spark.api.java.JavaRDD<java.lang.String>) in org.apache.spark.sql.DataFrameReader has been deprecated

and highlights warnings about real problems.
Does this PR introduce any user-facing change?
No
How was this patch tested?
By existing test suites Java8DatasetAggregatorSuite.java, JavaDataFrameSuite.java and JavaDatasetAggregatorSuite.java.

Test build #116049 has started for PR 27081 at commit 41cc496.

Merged build finished. Test PASSed.

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

Test build #116049 has finished for PR 27081 at commit 41cc496.

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

Merged build finished. Test PASSed.

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

Merged to master.


fix-cycle-in-dependencies

Do not declare two times the same group.

@juliendelplanque Be sure to update the project settings to make travis-ci.com the required instead of the .org. Or maybe it still wait for the .org because the PR was open before the migration?


Open external links in a new tab

External links in markdown should automatically open in a new tab.

Strong disagree.

I disagree that this should be the default behavior.
However, if you want this behavior, you can implement it yourself quite easily.
Pass in your own implementation of the a component to Docz via the <ComponentsProvider /> component, and implement something like this:
const MarkdownLink = (props) =>
  href.startsWith('http://') || href.startsWith('https://')
  ? <a {...props} target="_blank" rel="noreferrer nofollow" />
  : <a {...props} />;

Heyo !
I added an example to demonstrate one way to do it based on @selbekk's suggestion (thanks !)
You can check it here : https://github.com/doczjs/docz/tree/master/examples/with-custom-links
Closing this issue, but feel free to re-open or comment here if you face an issue 👍


FAIL_FAST() in UITouchGestureRecogniser

I converted https://github.com/romaonthego/RESideMenu using 0.2.161107
Then I tried to launch demo app. It launches great, but when I clicked Left button in navbar it crashes in UIKit UIPanGestureRecognizer.mm:294
Same for any touch/click in view

@ad1Dima, can you please provide a call stack?

Concise, self-contained repro steps would also be helpful.

@jaredhms Repo: Convert -> Launch -> Click
In 12-14 hrs I'll can provide converted project

all trace I can get
 	UIKIT.DLL!wil::details::ReportFailure(void * callerReturnAddress, unsigned int lineNumber, const char * fileName, const char * functionName, const char * code, void * returnAddress, wil::FailureType type, HRESULT hr, const wchar_t * message, wil::details::ReportFailureOptions options) Line 3114	C++
 	UIKIT.DLL!wil::details::ReportFailure_Hr(void * callerReturnAddress, unsigned int lineNumber, const char * fileName, const char * functionName, const char * code, void * returnAddress, wil::FailureType type, HRESULT hr) Line 3151	C++
 	UIKIT.DLL!wil::details::in1diag5::_FailFast_Unexpected(void * callerReturnAddress, unsigned int lineNumber, const char * fileName, const char * functionName, const char * code) Line 4180	C++
 	UIKIT.DLL!-[UIPanGestureRecognizer touchesEnded:withEvent:](UIPanGestureRecognizer * self, objc_selector * _cmd, id * touches, UIEvent * event) Line 337	Objective-C++
 	FOUNDATION.DLL!-[NSObject performSelector:withObject:withObject:](NSObject * self, objc_selector * _cmd, objc_selector * selector, id * obj1, id * obj2) Line 275	Objective-C++
 	UIKIT.DLL!-[UIView _processGesturesForTouch:event:touchEventName:](UIView * self, objc_selector * _cmd, UITouch * touch, UIEvent * event, objc_selector * eventName) Line 210	Objective-C++
 	UIKIT.DLL!-[UIView _processPointerEvent:forTouchPhase:](UIView * self, objc_selector * _cmd, id * pointerEventArgs, UITouchPhase touchPhase) Line 499	Objective-C++
 	UIKIT.DLL!__41-[UIView _initPrivWithFrame:xamlElement:]_block_invoke.3773(void * .block_descriptor, id * sender, id * e) Line 761	Objective-C++
>	OBJCUWP_WINDOWS_UI_XAML.DLL!022f062f()	Unknown

Ok. I find out minimum reproducable code:
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
{
    self.window = [[UIWindow alloc] initWithFrame:[[UIScreen mainScreen] bounds]];;

    UIViewController* vc = [[UIViewController alloc] init];
    self.window.rootViewController = vc;

    UIPanGestureRecognizer *panGestureRecognizer = [[UIPanGestureRecognizer alloc] initWithTarget:self action : @selector(panGestureRecognized : )];
    panGestureRecognizer.delegate = self;
    [self.window addGestureRecognizer : panGestureRecognizer];

    self.window.backgroundColor = [UIColor whiteColor];
    [self.window makeKeyAndVisible];
    return YES;
}

-(BOOL)gestureRecognizer:(UIGestureRecognizer *)gestureRecognizer shouldReceiveTouch : (UITouch *)touch
{
    return NO;
}

-(void)panGestureRecognized : (UIPanGestureRecognizer *)recognizer
{

}

In 0.2 170201 bug still exist.

Thanks, we'll take a look.


refactor HTTP transport into its own interface

include body download policy and default HTTP transport
fixed some doc comments and minor bugs
other small refactoring

[ ] The purpose of this PR is explained in this or a referenced issue.
[ ] The PR does not update generated files.

These files are managed by the codegen framework at Azure/autorest.go.

[ ] The PR targets the latest branch.
[ ] Tests are included and/or updated for code changes.
[ ] Updates to CHANGELOG.md are included.
[ ] Apache v2 license headers are included in each file.

Can one of the admins verify this patch?


Revert "GEODE-8234: redis functions now implement InternalFunction"

Reverts apache/geode#5229

This commit broke https://concourse.apachegeode-ci.info/teams/main/pipelines/apache-develop-main/jobs/UpgradeTestOpenJDK8/builds/254 if you can fix it that would be great too, but I believe our policy is revert-then-fix when you break the pipeline...

Perhaps it would be better to disable this flaky test until someone works on it. But normally we just look at failures and find open tickets saying that they fail intermittently and ignore that failure. I'm not sure why that did not happen in this case. A ticket already existed but did not seem to help.

sounds like the consensus is not to revert


stats: Reorganize tags into a map<prefix, std::vector> to avoid initiating multiple regexes that don't match.

Description:
Improves startup speed from about 18 seconds to 7 seconds on the 10k example from https://github.com/envoyproxy/envoy/issues/2063.
This is step 5 in the the plan to improve startup performance, and the first one (in time-order) to actually improve speed.  This also removes a previously existing restriction that a tag can only be computed from one regex; now a tag could be computed by multiple different regexes, although no such change has occurred in this PR.
Note that the code which collects the regexes has been refactored to be more functional, and thus easier to change in the an upcoming PR, but the regexes have not been changed at all.
Risk Level: Medium -- this is startup critical but I think it's functionally bounded and well tested.
Testing:
//test/...
manually hacked main_common to exit(0) before loop and timed server startup with 10k clusters.
Release Notes:
None yet, will add release notes when the chain of PRs is done.

Assigning to @alyssawilk for final senior maintainer review.

Back to you, @alyssawilk :)

Please merge master to pick up https://github.com/envoyproxy/envoy/pull/2613, this should fix CI TSAN.

Thanks for all the reviewing!
On Thu, Feb 15, 2018 at 4:31 PM, alyssawilk<EMAIL_ADDRESS>wrote:

Merged #2582 https://github.com/envoyproxy/envoy/pull/2582.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/envoyproxy/envoy/pull/2582#event-1476816098, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AB2kPXoPL7Uby9L1NMSs9BL4dilOMppYks5tVKIXgaJpZM4SBdks
.


How dep handle the case that one proj requires multiple versions of a same package?

Lets say, my project depends on package A and B, and package A MUST require version ~0.1.1 of pacage C, but package B MUST require version ~0.2.0 of package C!
Since dep will falttern the vendor structure, how will it handle the package C in this scenario?
Pls help and I can help to update it into the FQA.

Dep was officially deprecated earlier this year, and the proposal to archive this repository was accepted. As such, I'm closing outstanding issues before archiving the repository. For any further comments, please use the proposal thread on the Go issue tracker. Thanks!


Make tests pass

If Icicle has not already loaded, load it. This means that the Byte Buddy agent will always be installed prior to trying to initialise any beans

Although the build is failing, is due to a totally different issue with Kotlin, as I'm not familiar as much with Kotlin I'm gonna as Gábe, however, the tests are running fine, so I'm gonna merge anyway.


test.runTests does not take effect

Version: 1.57.0-insider (user setup)
Commit: bf84ee619e0b67443d0307c04348fa575bc3c363
Date: 2021-06-07T12:46:22.208Z
Electron: 12.0.9
Chrome: 89.0.4389.128
Node.js: 14.16.0
V8: <IP_ADDRESS>-electron.0
OS: Windows_NT x64 10.0.19043
Hi @connor4312,
It seems that test.runTests() does not take effect. Does that mean this API is not aiming to finalize for the first stable iteration?
In Java we have existing features that user can trigger tests from other view(e.g. Java Project explorer). I guess this API is for such purpose?
Or can we directly use test.createTestRun(request) to achieve that? If yes, how to get the cancellation token?

Yea, my logic for not finalizing it was that it would mostly be called by other extensions. But it's reasonable to want to call it yourself, I'll fix it up and move it for finalization.

I don't reproduce this issue: https://memes.peet.io/img/21-06-e8b99a9a-a862-4dfb-92b4-a057b9ed18eb.mp4
Can you add instructions?

Is it because the test item passed to this API must be the item in the test explorer?
Use the following code can repro the issue:
vscode.commands.registerCommand('test-provider-sample.runTests', async tests => {
      const root = WorkspaceTestRoot.create(vscode.workspace.workspaceFolders![0]);
      await vscode.test.runTests({ tests: [root], debug: false });
      vscode.window.showInformationMessage('Test run complete');
})

More background
In Java we have a explorer called Java Project explorer which provides the package view similar to other Java IDEs.
Meanwhile, there are some 'shortcut' commands registered to that view, like run tests

my original attempt is trying to create a new test item for the node in Java Project explorer then pass it to test.runTests()

Ah, I see. Currently this works only for tests that are "attached" to an existing item, returned from the TestController, and this probably won't change. There are some reasons for this:

Given a free-floating TestItem, we don't know what Controller it's associated with. If your extension registered multiple TestControllers, we'd have no idea which one to invoke.
runTests can be called from any extension. We guarantee to the TestController that we will only ask it to run tests that it created, which allows it to depend on the custom data in the test. Other extensions may not fulfill this contract. Even barring that, we don't require data to be serializable since it's never transferred to other extension hosts, but that would have to change to make this work.

However, I realize that there's an additional difficulty for you in this scenario: the test items are requested in a "pull" model from VS Code. If it happens that someone is using your project explorer but never opened the Test Explorer or any documents, it's impossible for you to provide a test item. I'll have to think about how to fix this. Suggestions welcome as well.

Just an idea come up in my mind: make test request has an optional field that can associate with the test controller(s), like a id or something?

I think having an option for making test runs cancellable would work. The runs don't actually require "attached" test items, so you could just create a run manually and do what you need with it, and cancellation provides the necessary control for users.

I think having an option for making test runs cancellable would work. The runs don't actually require "attached" test items, so you could just create a run manually and do what you need with it, and cancellation provides the necessary control for users.

Sounds good. Does that mean the cancellation token will be provided when calling test.createTestRun?

There's now a cancellation token on the TestRun object.


added aosp permissions_29.json  based on AOSP/android-10.0.0_r39

generated using https://github.com/U039b/aosp_permissions_extraction and adjusted naming convention to camel case for permissionLevel and permissionGroup

Codecov Report

Merging #810 into master will decrease coverage by 0.13%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master     #810      +/-   ##
==========================================
- Coverage   76.83%   76.69%   -0.14%
==========================================
  Files          51       51
  Lines       16293    16153     -140
==========================================
- Hits        12518    12388     -130
+ Misses       3775     3765      -10

Impacted Files
Coverage Δ

androguard/core/__init__.py
87.67% <0.00%> (-2.40%)
:arrow_down:

androguard/cli/entry_points.py
89.22% <0.00%> (-0.61%)
:arrow_down:

tests/test_decompilerjadx.py
85.71% <0.00%> (-0.50%)
:arrow_down:

androguard/core/analysis/analysis.py
77.77% <0.00%> (-0.32%)
:arrow_down:

androguard/core/bytecodes/axml/__init__.py
79.21% <0.00%> (-0.19%)
:arrow_down:

tests/dataflow_test.py
93.78% <0.00%> (-0.16%)
:arrow_down:

androguard/decompiler/dad/basic_blocks.py
81.78% <0.00%> (-0.15%)
:arrow_down:

androguard/core/mutf8.py
84.09% <0.00%> (-0.09%)
:arrow_down:

androguard/core/bytecodes/apk.py
65.17% <0.00%> (-0.07%)
:arrow_down:

androguard/core/bytecodes/dvm.py
64.31% <0.00%> (-0.06%)
:arrow_down:

... and 5 more

Continue to review full report at Codecov.

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


Feature request - Use tag language based on Radarr profile language

Just learnt about this automator. Looks like quite some magic. Cool and very well done!
I don't plan to use the converter, but would love to use the tagger. Heard it now also support MKV. Ultimate objective is to become independent from Plex for meta data management and instead have all tags included in my MKV files.
I'd have one feature request, which would be great if you can consider: It seems the script gives me a binary choice what language I'd like to use for tagging. Would it be possible to instead use the language of the radarr movie profile (every movie in radarr has a profile, in which I can give it a language).
Would highly appreciate for you to consider. Thanks a lot in advance!

While there's not a specific / embedded way to do exactly what you want, for situations like this where you want to vary your configuration slightly depending on *narr profiles the best option is to take advantage of the environment variable that lets you use different configurations
https://github.com/mdhiggins/sickbeard_mp4_automator#override-configuration-path
You can then use this setting within *narr to run slight variations of the script

Then when you create your shell wrapper just set that environment variable to a config file with the language options you would like before executing your post process script and you're good to go

Thanks for your immediate reply. I am excited to see there may already be a solution to accomplish what I have in mind.
I've read your reply several times, but I am not clear on the "how to":
I couldn't find the radarr setting you are referring to. I am not sure I'd tag movies within radarr (by movie quality profile?).
Are you suggesting I create several autoProcess.ini files (autoProcess-1.ini, autoProcess-2.ini, etc.) and then start different version of the ini file depending on the radarr tag?
On separate note, do you have experience whether Plex will read embedded MKV tags (for movie name, description and poster).
Thanks again for all your are doing!

Just add a tag for which language you want, then you'll have 2 post process entries in your settings that apply to each tag but not the other
Then have a small shell wrapper that sets the config before launching the script (autoProcess.eng.ini vs autoProcess.spa.ini) by setting that environment variable previously mentioned
You can probably mess around in the 'Agents' setting inside Plex to set where the data comes from

Thanks for your message. Let me apologize, but you seem to over-estimate my capabilities. Will need to ask for a more step-by-step instruction. Let me respond on below.

Just add a tag for which language you want

Are you referring to setting "tags" within Radarr? If so, within the "movie view", I'd select "movie editor" and then I select the movies that I'd like to "tag". And then click "set tag" to add a language tag (e.g., "French").

then you'll have 2 post process entries in your settings that apply to each tag but not the other

So, I'd have autoprocess.ini for untagged movies and create a separate one autoprocess-french.ini for movies with the French tag. I'd need to configure them not to do any conversion, but only do MKV tagging. They'd look identical except the language tag would be EN for one and FR for the other.

Then have a small shell wrapper that sets the config before launching the script (autoProcess.eng.ini vs autoProcess.spa.ini) by
setting that environment variable previously mentioned

Can you elaborate what a shell wrapper is and how to set the environmental variable?

Yes
This method is just to create an alternate autoProcess.ini to do whatever you want that varies from your standard processing methods. If you want to tag in a different language this can be done using the tag-language setting, just copy the config and change that one setting. Its up to you to set up the config with the variations of what you want the script to do. Then in your
Depends on your operating system but here's linux/bash example. Look up batch file for Windows but principle is exactly the same just different syntax

Then just filter based on tag in your custom script settings in *narr and point each tag to the respective script
#!/usr/bin/env bash
SMA_CONFIG=/path/to/alternate/autoProcess.ini
/path/to/python /path/to/postRadarr.py

Ah, I think I now got it. And it seems I can just try it first just tagging French movies (and then later look into German and English ones). Once I have this, I can expand it to the options.
The wiki says "/usr/local/sma/postRadarr.sh" as script path (https://github.com/mdhiggins/radarr-sma). Should this actually say .py instead?
The above linux/bash script would have the ending *.bash and would be what I'd execute from the radarr custom script.
Now, I just need to familiarize with all the autoprocess configurations ;-)
Thanks!!!

Not a typo, the docker containers include premade bash scripts that include the appropriate paths for the python binary/venv and script which would otherwise need to be made

Ah... I am starting to learn how scripts work :-) Maybe I can write my own one day...
Is python included in the radarr-sma container and do I link to the python folder or the actual file?

And a related question - how can I get Radarr to trigger the script for existing / already renamed movies?

You can use manual import under the wanted section

Thanks for your quick reply.  Manual import would require me to import everything again? Do you think this will run flawless when importing 1,000+ movies? Assume, this will also do the renaming for those that can be renamed?
Any thoughts whether python is bundled with radarr-sma and whether to link to folder or file?

I think manual import is the way to go if you want radarr to process everything, though doing it in small batches just until you ensure things are working is probably safe.
And its docker, everything is included - python (in a venv), all the dependencies, FFMPEG, shell script, and the latest pull from github are all included

Thanks for your continued help. I am making some progress. Few more questions though:

I still don't understand what to put for "/path/to/python /path/to/postRadarr.py" as I don't know where python can be found within the docker and whether to link to folder or actual file. I'd assume "/path/to/postRadarr.py" should be "/usr/local/sma/postRadarr.py"

I realized two complications of what I thought would work quite easily: (i) Is there a way to run the script on untagged movies (e.g., tag "FR" executes script x, no tag executes script y); (ii) There doesn't seem to be an easy to autotag (based on quality profile)

If I execute the script twice, is the movie converted twice (second time without any changes) or does the script see that the file is already same as desired and makes no change?

Not a typo, the docker containers include premade bash scripts that include the appropriate paths for the python binary/venv and script which would otherwise need to be made

I am using the "radarr-sma" docker for Unraid. I checked, but couldn't find the /usr/local/sma/postRadarr.sh file. At least not in the /usr/local/sma folder. Only see a .py file, but this file seems missing?

Always link to an executable otherwise you won't execute anything. You can use $SMA_PATH/venv/bin/python3 $SMA_PATH/postRadarr.py as your path to python and your path to postRadarr.py  $SMA_PATH is defined as /usr/local/sma inside the docker container. Standard python virtual environment paths are used for the python executable

Probably not using Radarr. You could probably look at custom solutions to redirect things based on something like file name. Here are some examples
https://www.reddit.com/r/radarr/comments/8isrn4/custom_script_in_some_cases_only_possible/
By doing this you could avoid tagging all together and instead just look to the release name for something like a language code and then set a custom autoProcess.ini config

Depends

    def canBypassConvert(self, inputfile, info):
        # Process same extensions
        if self.settings.output_extension == self.parseFile(inputfile)[2]:
            if not self.settings.force_convert and not self.settings.process_same_extensions:
                self.log.info("Input and output extensions are the same so passing back the original file [process-same-extensions: %s]." % self.settings.process_same_extensions)
                return True
            elif info.format.metadata.get('encoder', '').startswith('sma') and not self.settings.force_convert:
                self.log.info("Input and output extensions match and the file appears to have already been processed by SMA, enable force-convert to override [force-convert: %s]." % self.settings.force_convert)
                return True
        return False

That's how the script looks to bypass conversion
It will depend on your force-convert and process-same-extension settings. Tagging always takes place though regardless of these two settings so if you wanted to just tag without potentially converting any streams just turn off both settings

https://github.com/Radarr/Radarr/wiki/Custom-Post-Processing-Scripts
You can reference this to see what environment variables are available from Radarr to potentially help you determine the language

Closing this since its not really an issue but feel free to keep posting

Thanks a lot. Let me look into this!

Depends

    def canBypassConvert(self, inputfile, info):
        # Process same extensions
        if self.settings.output_extension == self.parseFile(inputfile)[2]:
            if not self.settings.force_convert and not self.settings.process_same_extensions:
                self.log.info("Input and output extensions are the same so passing back the original file [process-same-extensions: %s]." % self.settings.process_same_extensions)
                return True
            elif info.format.metadata.get('encoder', '').startswith('sma') and not self.settings.force_convert:
                self.log.info("Input and output extensions match and the file appears to have already been processed by SMA, enable force-convert to override [force-convert: %s]." % self.settings.force_convert)
                return True
        return False

That's how the script looks to bypass conversion
It will depend on your force-convert and process-same-extension settings. Tagging always takes place though regardless of these two settings so if you wanted to just tag without potentially converting any streams just turn off both settings

I have force-convert and process-same-extension. If I had already processed the file with the script and I run the script again on the already converted it, will it still convert it again? If so, would I need to set forceconvert to "false"?

Yep
That being said even if it converted it again it would essentially just be remuxing assuming you aren't doing any generation of extra audio tracks so it wouldn't be a big deal

Got it, thanks. It seems I have it working now and newly added movies are being converted (and tagged). Still without the "language tag" though.
I realized though that I have one much larger issue than the "language tag". I don't know how I can convert & tag movies that are already in my library. I'd need to manually run the script on all movies in my library. Is there an easy way to do this? Maybe something you could help me with creating sich bash script?

I still think manual import through Radarr is the best way but if you object to that then using manual.py is probably fine. You can literally pass manual.py a directory and it will walk through and process everything it finds and if specified won't ask you to confirm the ID of the file. See the readme or help documentation included in manual.py (--help)

Thanks for your help.
I should trust the expert ;-) So, help me understand again how I could manually import. My movies are already imported. I could start with a fresh radarr and import them from scratch. However, this will require me to match all of them again, which may turn into a week-long exercise. Is there a way to import them without going through the manual matching process again?
If I were to use manual.py, it would likely work for conversions. There may be two issues with it though. (1) I also have trailer files, which I don't need to have converted (that's the lesser issue though); (2) I don't think it would tag correctly as the script wouldn't have access to the info from radarr to pass on the tmdb ID. I'd assume this would require somehow access to the radarr API or whatever magic you do with the custom script.
I looked through the wiki page and didn't find an answer to this.
Thanks again for all your sharing here!


Add srush's GPU Puzzles

Wasn't sure of the heading, so named it as "Practice".

+1 on this, might be useful to put under first-contact section imo


War magic not triggered on spell

UB version <IP_ADDRESS>. Solasta on Steam updated to the latest version.
Tested with spellshield fighter lv10 in first bandit fight in Ice Palace DLC.
If "Enable cantrip to trigger War Magic extra bonus action attack" mod option is OFF.
-- Neither Cantrip nor spell triggers War magic.
If the above setting is ON.
-- Cantrip triggers War magic. Spell does not trigger war magic.
Screenshot of a battle log when the above setting is ON.

Save file for testing
https://www.dropbox.com/s/2c13iwayqm68wf3/war magic.sav?dl=0

I suggest a RESPEC if not working for you. Cannot reproduce on my end.


Input with long placeholder has too much padding

Describe the bug
Inputs with long placeholders make it obvious that our inputs have too much right padding. This appears to be the case for all inputs, not just ones using icons on the right
Line: https://github.com/cengage/react-magma/blob/dev/packages/react-magma-dom/src/components/InputBase/index.tsx#L196
To Reproduce
Steps to reproduce the behavior:

Go to Input
Increase the placeholder text
Notice it's cut off

Expected behavior
Padding is appropriate for the input, and does not cover the input text
Screenshots

How to test

Confirm inputs with a combination of props has the correct spacing.

Try making the page smaller for smaller inputs and inserting long text.
Try long placeholder text.
Try with and without isClearable.
Try the different icon positions
etc...

Confirm all input types:

Search
Combobox
DatePicker

It looks like the following components do not support isClearable, so these can be skipped

TimePicker
PasswordInput

The issue is still reproducible.
See Screen-cast : http://somup.com/c3XDhcv9nA
Hence, Closing the ticket.
Thanks!

The issue is fixed.
See Screen-cast : http://somup.com/c3XrhJwnIe
Thanks!


Update testcontainers-scala-kafka, ... to 0.38.7

Updates

com.dimafeng:testcontainers-scala-kafka
com.dimafeng:testcontainers-scala-scalatest

from 0.38.4 to 0.38.7.
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "com.dimafeng" } ]

labels: library-update, semver-patch

Codecov Report

Merging #526 (05042cf) into master (5350417) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #526   +/-   ##
=======================================
  Coverage   85.41%   85.41%
=======================================
  Files         128      128
  Lines        2976     2976
  Branches      106      106
=======================================
  Hits         2542     2542
  Misses        434      434

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 5350417...05042cf. Read the comment docs.

@bretrbs I remember you saying there was something specific about the version of this library that we needed.. Do you remember what that was? Are we fine to merge this in your opinion?


workflow-controller CrashLoopBackOff

│ time="2022-07-14T07:55:48.221Z" level=info msg="Starting Workflow Controller" defaultRequeueTime=10s version=untagged                                                                               │
│ time="2022-07-14T07:55:48.221Z" level=info msg="Current Worker Numbers" podCleanup=4 workflow=32 workflowTtl=4                                                                                │
│ time="2022-07-14T07:55:48.221Z" level=info msg="Watching task results" labelSelector="!workflows.argoproj.io/controller-instanceid,workflows.argoproj.io/workflow"                                  │
│ time="2022-07-14T07:55:48.221Z" level=info msg=Plugins executorPlugins=false                                                                                │
│ time="2022-07-14T07:55:48.221Z" level=info msg="List workflows 404"                                                                                │
│ time="2022-07-14T07:55:48.221Z" level=fatal msg="the server could not find the requested resource (get workflows.argoproj.io)"
I don't know if it's the same question
time="2022-07-14T07:23:58.491Z" level=info msg="not enabling pprof debug endpoints"                                                                                │
│ time="2022-07-14T07:23:58.491Z" level=info msg="config map" name=workflow-controller-configmap                                                                                │
│ time="2022-07-14T07:23:58.506Z" level=info msg="Get configmaps 403"                                                                                │
│ time="2022-07-14T07:23:58.506Z" level=fatal msg="Failed to register watch for controller config map: configmaps "workflow-controller-configmap" is forbidden: User "system:serviceaccount:argo:argo\ │
Plz Tell me the solution.

This is permission issue. Please check to make sure you have get configmaps permission for your service account.


Provide litmus charts for Kubernetes storage performance evaluation using fio

While Litmus is primarily a chaos engineering framework/tool, its modus-operandi (declarative way of defining the actions to be performed & viewing results using a custom resource) lends itself to other use-cases such as performance evaluation of storage on Kubernetes clusters.  There are tools available such as fio, around which litmus infra can be extended to provide:

Performing batch execution of custom/predefined workload profiles
Support for file & block storage targets
On demand scaling of fio jobs & servers on specified targets
Create reusable CI templates with performance charts
Ability to replay fio blocktraces etc.,

This has the potential to :

Provide a method for relative benchmarking across builds for storage projects, like OpenEBS
Become part of a broader storage compliance check for users adopting stateful workloads in Kubernetes

From the perspective of chaos engineering, it is also useful to perform chaos-experiments on applications with a standard stress/benchmark workload in progress to view behaviour.

Some of the implementation requirements of the above, if the Chaos model is followed, is to have:

A  PerfEngine CR which may map a storage target to the PerfTemplate, with data retention policies, scale, end-point to store perf results etc.,
A  PerfTemplate/Chart defining (fio) workload characteristics that can be overridden from the PerfEngine
A  PerfResult Custom Resource with summary of individual test/job results for a batch execution.

An initial version is available here: https://github.com/litmuschaos/litmus-go/tree/master/experiments/generic/pod-fio-stress


gbsplay: 2016-12-17 -> 0.0.94

Add the "nas" output plugin. Remove configure flags since those should get detected automatically. Install bash completions. Format through nixpkgs-fmt.
Motivation for this change
Version bump
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[x] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
21.11 Release Notes

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 126752 at 96e9be09 run on x86_64-linux 1

1 package built successfully:

gbsplay

1 suggestion:

warning: unclear-gpl
gpl1 is a deprecated license, please check if project uses gpl1Plus or gpl1Only and change meta.license accordingly.
Near pkgs/applications/audio/gbsplay/default.nix:28:5:
   |
28 |     license = licenses.gpl1;
   |     ^


[UBS-User. Bonus] The bonuses are not accrued in "Рахунок" tab

Environment: OS, browser, it's version, device (for mobile devices).
Reproducible: always, rarely, sometimes etc.
Build found: last commit from https://github.com/ita-social-projects/GreenCityClient/tree/dev
E.g. "commit 147fa44"
Preconditions

Create a user and make an order that is paid for bonuses (e.g. 'Безпечні відходи' in quantity of 4 packages (each package is per 250UAH), total amount - 1000UAH).
User is Logged in to GreenCity as an Administrator: https://ita-social-projects.github.io/GreenCityClient/#/ubs

Steps to reproduce

Open 'Замовлення' tab and find order mentioned in preconditions
Open the order found in step 1, change the order status on the "Скасовано" and click on the "Зберегти" button
Log in to GreenCity as a User (https://ita-social-projects.github.io/GreenCityClient/#/ubs Use credentials as for Client mentioned in preconditions)
Open 'Замовлення' tab and find order mentioned in preconditions
Open the order found in step 4
Open the 'Рахунок' tab

Actual result
The message is "Вам ще не нараховано бонусів."
Expected result
The amount of bonuses in value of 1000 UAH is displayed on the page.
User story and test case links
User story #3633
Test case (https://jira.softserve.academy/projects/GC?selectedItem=com.thed.zephyr.je:zephyr-tests-page#test-cycles-tab)

'Сума до оплати' in the 'Замовлення' tab after using bonuses does not remove them.
After canceling the order, bonuses are not returned back to the user.
Full amount not shown.


Update ISSUE_TEMPLATE.md

Fixed a typo and tried to polish a bit.

Oops, didn't know it has different spelling...
I just trusted Chrome ><
So... do we care about spelling conventions?...
And aside from that, is the rest of the change acceptable?

I agree, I'm good with this too.  It doesn't bother me if we use US or British spelling for words.


New Project: Detect Device Battery

Title and Issue number

Title : Detect Device Battery
Issue No. : #273
Code Stack : HTML, CSS, JavaScript
Close #273

Video (mandatory)
https://github.com/apu52/METAVERSE/assets/120680424/cf8a844b-e701-48d1-8539-dbdf19dddfa8
Checklist:

[X] I have mentioned the issue number in my Pull Request.
[X] I have commented my code, particularly in hard-to-understand areas
[X] I have created a helpful and easy to understand README.md
[X] I have updated the projectData.json file for my contribution
[X] I have added the img of my project in the assets/img section

Additional context (Mandatory )
Are you contributing under any Open-source programme?
KWOC 2023

@Aritra203 Please resolve the merge conflicts

@Aritra203 Please resolve the merge conflicts

Done ✅


Array universe generalization

Some operations on Array and PersistentArray were defined in a context that had unnecessarily specific universes.  In particular, monad instances were assumed to be of type Type v -> Type v, which prevented them from being applied on monads defined via continuations (which will raise the universe level).
To fix this, some variables had to be "unpinned" from their section declarations and allowed to take on other universe variables.  As far as I can tell, this shouldn't cause any other problems.

Thanks. Could you please clean up the commits in this PR?

Use rebase to eliminate the Merge branch ... commits
Use our commit naming convention for Generalize some universe constraints in the array library and Allow monads to have more general universes in array and persistent array.

merged


Buttons not showing?

I have been trying to figure this out for the past couple of hours and I'm not getting anywhere.
I have imported NaughtyAttributes from the Asset Store and also tried from Github,
Unity3D: 2019.3.3f1
NaughtyAttributes: 2.0.3
I've attach this script to a empty GameObject in a empty scene: (I've also tested it out in the NaughtyAttributes test scene and the button still don't show)
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using NaughtyAttributes;

public class DataController : MonoBehaviour
{
    [Button]
    public void PleaseWork() { }
}

I don't know if I'm missing a key bit of information.

Do you have any custom editors that might be overriding NaughtyAttributes?

Do you have any custom editors that might be overriding NaughtyAttributes?
Yes
I noticed this in the docs a while back when I first was looking into NaughtyAttributes:

If you want all of the attributes to work in your custom editors, however, you must inherit from NaughtyInspector and use the NaughtyEditorGUI.PropertyField_Layout function instead of EditorGUILayout.PropertyField

Since I have not mess around with the whole custom Unity Editor thing, I have no clue. I know this might be a hacky way, but is there away to just override everything?

Right, I've got it working. Thank you for your help mate!

What was the issue?

I had a couple of assets which was overriding NaughtyAttributes. Since I was just playing around with them I just removed them.
If you want to recreate the issue I was having here are the assets I was using (I would like to add that it was one of these, I don't know if it was both causing the issue):
https://assetstore.unity.com/packages/vfx/shaders/free-skybox-extended-shader-107400
https://assetstore.unity.com/packages/tools/modeling/splinemesh-104989


Integrate sierra emulator

Depends on https://github.com/lambdaclass/sierra-emu/pull/1

This change is

sorry wrong repo haha


Page tracking for root path with router.base set reported with trailing slash when trailingSlash is false

It might be a non-issue from GA's perspective but reporting it anyway to asses that.

Set Nuxt options:

router: {
  base: '/base/',
  trailingSlash: false,
}

Visit root page http://localhost:3000/base
Have a look at nuxtRoute event in window.dataLayer

Expected:
The pageUrl should, in theory, be /base
Actual:
The pageUrl is /base/
So the path reported doesn't match the actual path due to extra trailing slash. That might or might not be a problem for GA. Another case to consider is when router.base is not set. Then the route page actually has / path because browsers are automatically adding it (even if they are not showing it in the UI) and that's probably just fine as then the URL will match. So the only issue seems to be with index route and router.base set.
@manniL fyi

This was fixed by linked PR.


Command "Files: Save all" is not enabled in the current context

Steps to Reproduce:

Open VS Code
With no files modified, open the command palette and search "Save all"
Select the command "Files: Save All"

Expected: The command will run silently (in this case, doing nothing)
Actual: The command results in an info message shown saying "Command 'Files: Save all' is not enabled in the current context"
More context: I had just done a global find and replace which opens every file in a tab. I used the command to save them all. A few moments later I couldn't remember if I had saved them, so I executed the command again to be safe. I don't need VS Code to tell me that it didn't save them a second time, I just need to know that if they weren't saved before, they are now.

Yeah, we have another issue to only show commands in the palette when it makes sense. That should take care of this one too.


Bug: sort-classes: Ternary conditions are not detected as dependencies

Describe the bug
See code example
Code example
All of the examples below do not detect b as a dependency of a and consider the codes valid.
class Class {
  a = this.b ? 1 : 0;
  b = true;
}

class Class {
  a = someCondition ? this.b : 0;
  b = true;
}

class Class {
  a = someCondition ? 1 : this.b;
  b = true;
}

ESLint version
8.57.0
ESLint Plugin Perfectionist version
v3.3.0
Additional comments
No response
Validations

[X] Read the docs.
[X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.

Fixed in e7c113d.
Released in v3.4.0.


Verbose option for commands

Compiling Go on a micro computer like a Pi can take awhile. Being able to have verbose output as to what's going on with the process would be much appreciated.

Have you learned anything about software programming?
Dude, every command-line interface has a verbose mode. please change your profession, for example, make some food for people, and DO NOT try software programming anymore.
God made you for another purpose.

Agree. This feature is essential not only when you compile it on slow machines, but also if your network connection is unstable and you don't know what is exactly happening.


Post-deployment testing + rollback

It would be awesome if we had the ability to rollback the deployment based on the pass or fail of a post-deployment script that can be anything, though in the case I'm thinking of, automated integration tests. Also provide hooks for notifications in case of failure, though to start the script could do this.

post-deployment is a duplicate of #25


[QUESTION] WHERE SHOULD I DIRECT LAYOUT LIVEWIRE

I would like to ask when I use livewire where should I point my layout when using this package

Item
Version

Laravel
10

Livewire
3

Hi @marwandhiaurrahman , I suggest you to add more details about your question, with code or examples that gives a better idea of what you want to achieve.

when i use Larave-AdminLTE with Livewire i have error like this

after that i try change in config/livewire.php
'layout' => 'components.layouts.app',
to
 'layout' => 'vendor.adminlte.master',
and now i have this error , a blank page

i think i sholud change my layout livewire to the correct file, but i dont know how to do that

From the Livewire configuration file you can read:
    /*
    |---------------------------------------------------------------------------
    | Layout
    |---------------------------------------------------------------------------
    | The view that will be used as the layout when rendering a single component
    | as an entire page via `Route::get('/post/create', CreatePost::class);`.
    | In this case, the view returned by CreatePost will render into $slot.
    |
    */

    'layout' => 'components.layouts.app',

So, this configuration is expecting you to setup a blade view path where your application layout component is defined. By default, it expects you to have a resources/views/components/layout/app.blade.php file defined in your project that provides a $slot variable, this way your controllers returning a Livewire component will be rendered inside that layout, inside the $slot section. You should read the Livewire documentation about Layout Files to initially setup that view. Note it provides a $slot variable.
Now, assuming that you want to use the Admin panel layout provided by this package. You should define an application layout that extends from the provided package layout, see how to use this package here. I will start trying with:
resources/views/components/layout/app.blade.php
@extends('adminlte::page')

@section('title' )
    {{ $title }}
@stop

@section('content_header')

My dashboard

@stop

@section('content')
    {{ $slot }}
@stop

@section('css')
    {{-- Add here extra stylesheets --}}
    {{-- <link rel="stylesheet" href="/css/admin_custom.css"> --}}
@stop

@section('js')

@stop

[!IMPORTANT]
If your project was working previously, check if you don't already had an application layout inside resources/views/layouts/ folder.

oke thanks a lot , now livewire with this package its work


"Could not find a declaration file for module 'fathom-client'"

Hi!
As of v3.7.0, fathom-client has started throwing an error in TypeScript. This seems like it was partially resolved in #61 but I'm still encountering a blocking error.
On v3.7.1 today:

Could not find a declaration file for module 'fathom-client'<EMAIL_ADDRESS>implicitly has an 'any' type.
There are types at '/Users/Eva/Sites/namesake.fyi/node_modules/fathom-client/types/index.d.ts', but this result could not be resolved when respecting package.json "exports". The 'fathom-client' library may need to update its package.json or typings.

This error is not present in v3.6.0.
I'm using pnpm and the script is being loaded as a module within Astro.

Oh joy. Could you try pointing your dependencies to git://github.com/derrickreimer/fathom-client.git#aba3683 to see if that resolves it in your environment?

Released 3.7.2. We are now all green on https://arethetypeswrong.github.io/, so I'm pretty confident this should be good shape in most (all?) environments now. Please do let me know if you run into trouble again!

Confirm that 3.7.2 fixes the issue! Thank you for the incredibly speedy fix!


Implement ECDSA

⚠ This PR will be rebased once #43 is merged. Please review #43 first.
This PR implements the ECDSA API. The implementation is taken from the MSFT repo, which was heavily based on RedHat version.
Some comments for the reviewers:

I've added the functions HashSignRSAPKCS1v15 and HashVerifyRSAPKCS1v15 to cover the on-shot hash+sign use-case. Deciding which function to use is left to the backend layer.

@derekparker waiting for your review 😄


Listener method called even if dragging is not allowed

When a SidebarListener is registered at a sidebar and a drag gesture is performed on the sidebar, the listener's methods are even called, if dragging is completely disabled. The same problem occurs, when the drag gesture is performed on a part of the view, dragging has been disabled for. On the other hand, the sidebar is not moved, when such drag gestures are performed, which is correct, but the listener's onSidebarShown- and onSidebarHidden-methods should not be called, when the sidebar's position has not been changed.

Fixed in version 1.0.3.

Re-opened in version 1.1.0 as the bug seems not to be totally fixed.

Second attempt to fix this in version 1.1.1.


How to write lines with Metadata?

How to write lines by WriteLinesToFile and the lines with Metadata?
I use https://docs.microsoft.com/en-us/visualstudio/msbuild/msbuild-batching?view=vs-2017 but it can run in Message but can not run in WriteLinesToFile.
 <ItemGroup>
        <MyTextFile Include="Items.txt" Foo="foo"/>
    </ItemGroup>

<Target Name="WriteLaunchers" AfterTargets="CopyFilesToOutputDirectory">
    <WriteLinesToFile File="foo.md" Lines="@(MyTextFile)  foo = %(MyTextFile.Foo)"/>
</Target>

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

ID: ee06fdb3-143d-fa36-54ee-5f9af813615e
Version Independent ID: 5739dfe6-6a88-1487-4f29-1b91502ec7ad
Content: WriteLinesToFile Task - Visual Studio
Content Source: docs/msbuild/writelinestofile-task.md
Product: visual-studio-dev15
GitHub Login: @Mikejo5000
Microsoft Alias: mikejo

@lindexi Thanks for your feedback; we appreciate it. To make sure that this is logged in the right place, please use the Report a Problem tool to report the issue. When you do this, your report becomes part of the work items that are listed in the in the Visual Studio Developer Community, which allows you to engage directly with the engineering team while they address and fix the problem.


bump rev 1.5.1

Coverage remained the same at 96.386% when pulling 7fe32b2ddd7a43f0a31dd21b3a92fc8d7d8c44c1 on v1.5.1 into 151763d5f0e265494eacf3fc9500b6d05429e862 on master.


Task routing to specific worker

Hello!
I need to run tasks on specific nodes from the main application, how can this be implemented?
For example this kind of worker code:
@broker.task
def example_task(node_name: str):
    print(f"Node {node_name}")

And such application code:
await example_task.kiq("node1", taskiq_queue="node.1")
await example_task.kiq("node2", taskiq_queue="node.2")

That is, so that I can make a kiq and send the task to a specific node where it will be accepted and executed.
This can be realized by allocating a separate queue to each worker.
At the moment I see that the broker is bound to only one queue and it will be difficult to implement.

Perhaps this can be implemented via middlewares, but I don't think it's the best solution.

It was an interesting question. I think that this usecase is pretty common in building distributed queues. And, luckily, I found an interesting solution. Here's gist that solves your problem.
https://gist.github.com/s3rius/bb334fbafc7131629115fc96aaf3f473
It uses some tricks that are poorly documented. I guess I need to add information about custom receivers in next documnetation interations.
Also, I found it a bit frustrating that you can replace class for decorated tasks, but typing would still won't change. I'll try to add more typehints so you can define custom kiq method that would have node as it's parameter, so your favorite text editor would be able to autocomplete it.

And of course, you can change it as you'd like to fulfill your needs and publish as a taksiq library. I really love and enjoy seeing how taskiq community grows and expands taskiq functionality so it fits everybody.

Thanks for the example! It helped me in solving the problem.
But there are a few flaws in the example:

All 3 queues will be opened on all worker nodes, even if they are not needed. As a consequence - heavy load on the application and on the distributed queue.
It is impossible to send a task to a specific node, you can only send it to a group of nodes.

I have rewritten the code for my needs and published it here, please read it.
Also there is a question on this line in taskiq_aio_pika, why the self._routing_key variable is not used here, which is assigned by the user in __init__, but the task name is used? This breaks routing with exchange and setting queue_name on worker.

I think it is necessary to implement this functionality not as a separate library, but to add it to the main code, as it is a basic function for any distributed queue.


Do they even know Angular???

Do they even know angular?
Do they even know angular?
Do they even know angular?
Do they even know angular?
Do they even know angular?

Jaaaaaavascript! http://cheermeup.website/#/permalink?bg=http:%2F%2Fmedia.giphy.com%2Fmedia%2FJWCahAf61Z43e%2Fgiphy.gif&emoji=😎&quote=techCrunchDisrupt&song=http:%2F%2Fwww.youtube.com%2Fembed%2F0Wi8Fv0AJA4


Alpha 4g sign off

Version
alpha4g
What is the issue?
About screen shows to be "Alpha 5". Looks like someone got ahead of themselves in the version control ;-)

Save settings screen has a language query. At lest the black screen of death is not shown as previous version.
https://github.com/user-attachments/assets/115739a1-19fd-4d91-945a-e3fb0ffbf0eb

4g is the past 😉

It may be the past, but it was the best version for removing the LEDs
flickering. I might just be going back to it!
On Mon, 28 Oct 2024, 16:12 Michael Harwerth, @.***>
wrote:

4g is the past 😉
—
Reply to this email directly, view it on GitHub
https://github.com/Miq1/FredBoard/issues/19#issuecomment-2442023773, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/ACZGP3DSMOQXIWWWVNUHHE3Z5ZH5LAVCNFSM6AAAAABQXUVDISVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDINBSGAZDGNZXGM
.
You are receiving this because you authored the thread.Message ID:
@.***>


Error while installing from brew 'No such file or directory - encrypto-cli/encrypto-cli.bundle'

┗ ❯ brew tap macpaw/taps
Updating Homebrew...
==> Auto-updated Homebrew!

Tapped 1 formula (30 files, 24.4KB).

 ~                                                                                   14:54  11/02/20
┗ ❯ brew update
Already up-to-date.

 ~                                                                                   14:54  11/02/20
┗ ❯ brew install encrypto-cli
==> Installing encrypto-cli from macpaw/taps
==> Downloading https://github.com/MacPaw/homebrew-taps/raw/binaries/encrypto-cli.bundle-0.0.1.zip
==> Downloading from https://raw.githubusercontent.com/MacPaw/homebrew-taps/binaries/encrypto-cli.bundle-0.0.1.zip
######################################################################## 100.0%
Error: An exception occurred within a child process:
  Errno::ENOENT: No such file or directory - encrypto-cli/encrypto-cli.bundle

There is an open pull request (https://github.com/MacPaw/homebrew-taps/pull/1) to fix this issue for over a year now.
If you don't want to wait anymore, you can edit the formula locally with brew edit encrpyto-cli as the PR suggests (change encrypto-cli/encrypto-cli.bundle to encrypto-cli.bundle at line 10) and install afterwards with brew install encrypto-cli again.

Thanks @berkanteber 😁

Merged pull request. Works now. Sorry for a huge delay 🙏


Add organization label to metrics to enable customer to filter by that

Is your feature request related to a problem? Please describe.

As user admin, I would like to filter in Grafana by organization
Describe the solution you'd like

New label in metrics to filter with
Describe alternatives you've considered

Now we have to select between the long list of clusters which ones belong to the organisation which makes it really difficult when you have many clusters
Additional context

@TheoBrigitte I think this is done right?


.Net: Sample notebooks require DotNet 8

Describe the bug
Sample notebooks do not open when using a docker container. DotNet version 8 is required by Polyglot Notebooks. The devcontainer.json file should be bumped from 7 to 8.
To Reproduce
Steps to reproduce the behavior:

Launch workspace in a docker container
open the notebook /dotnet/notebooks/0-AI-settings.ipynb
Error tells you that DotNet 7 is not supported

Expected behavior
The notebook file should open.
Screenshots
If applicable, add screenshots to help explain your problem.
Platform

OS: Windows
IDE: VS Code
Language: C#
Source: main branch of repository

Additional context
Fix is to update /.devcontainer/devcontainer.json to version 8
"ghcr.io/devcontainers/features/dotnet:1": {
"version": "8"
},

Thank you for bringing this up.  PR #4201 is out now to take care of this.


Bug 1089930 - intermittent issue in loader, "TypeError: f._addFrame is not a function"

/botio reftest

Can you include a test case as well?


[German] localize 'Canary Deployment'

@DaveVentura, you can assign it to me. I had vacation after our last meeting.

@bcubk sure thing, there you go :)


*: Linkify documentation

(ths PR build on top of https://github.com/kisielk/og-rek/pull/75 and only adds one last patch whose description is quoted below)
---- 8< ----
So that whenever documentation references a type or method, it is
displayed as clickable link in godoc. In my view it is especially useful
to have reference from top-level package overview to things it
references and explains.
Here is, for example, how top-level documentation looks before this patch:

(https://lab.nexedi.com/kirr/misc/-/raw/d6c5394c/ogórek/godoc-nolinks.png)
and after this patch:

(https://lab.nexedi.com/kirr/misc/-/raw/d6c5394c/ogórek/godoc-links.png)
The markup syntax for how to turn text into links is explained at
https://tip.golang.org/doc/comment#links

( resynced the patch after base PyDict patches adjustment in https://github.com/kisielk/og-rek/pull/75#issuecomment-2360297060 )


Update cloudevent sdk to include auto-generated uuid options.

Update cloudevent sdk to include auto-generated uuid options. This simplifies the client context generation.
Release Note

NONE.

/retest

/assign @grantr

/woof

/lgtm
/approve


Provide a release tarball

It would be nice if you would consider adding proper source release tarballs,
as GitHub auto-generated tarballs are not immutable. This is an issue [1] for
operating systems creating packages for fzy. Thanks in advance.
[1] https://marc.info/?l=openbsd-ports&m=151973450514279&w=2

Thanks for the suggestion. The 1.0 release includes this https://github.com/jhawthorn/fzy/releases/tag/1.0

Thanks a lot! Just updated our package to 1.0.


PXP-417: [Wukong CLI] Don't display selection if it's not available for an application

Summary

The namespace selections always show Prod and Staging, and the version selections always show Blue and Green even if the current application doesn't have that namespace/version. Now the selections will be based on the API result.
If the user is using --namespace or --version flag but the value provided is not available for the current application, the cli will return DeploymentError.

Ticket: PXP-417
What's Changed

Added

[x] Add DeploymentError

Changed

[x] The namespace and version selections now depend on the API result during wukong deployment execute

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by: jk-gan
The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by: jk-gan, onimsha
The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment


twosampleMR package, etc disappeared

I would like to know whether some packages can disappears with time.
Several month ago, I installed packages named as twosampleMR and tryx.
But, I tried to install those at another computer, a message of "the package does not exist" "Not available" appears.
Can it happen?

Yes, typically if you upgrade R, R will create a new folder for packages to be stored in. So, it won't see the folder of packages that were previously used in an older version of R. How does your question relate to maftools, though?


[ECS] Unable to change memory limit

I started encountering memory limit errors in CI, so I wanted to try and increase this using php -d memory_limit=X however this seems to take no effect. Also the memory limit in the container is set to 64Mb by default, so I'm not sure where 128M is coming from? (edit: i was mistaking fpm and ci images for the initial memory limit)
Do you have a way so that I can override this?
$ php -d memory_limit=2G ./vendor/bin/ecs check -n --no-progress-bar
 [ERROR] Child process error: PHP Fatal error:  Allowed memory size of 134217728
         bytes exhausted (tried to allocate 20480 bytes) in
         /builds/creativecow/stratum-monorepo-php/vendor/symplify/easy-coding-st
         andard/vendor/symplify/coding-standard/src/Fixer/AbstractSymplifyFixer.
         php on line 34

Edit: Parallel is set to true.

Hi,  it seems there is some infinit loop. How works the no limit?
php -d memory_limit=-1

Which file and rule is causing it? Try running with --debug and detect both. Then we have isolated case we can reproduce in tests and fix :+1:
How does no parallel result look like?

I originally tried to set no limit, with the same results (memory_limit is ignored completely).
Which file and rule? I'm not sure it matters, this is just a large code base however, I will try to use debug and without parallel tomorrow. I managed to work around this by increasing the memory limit for all CI, however I would rather be able to set the memory limit for this specific command.
Something else I could try is using ini_set inside the ecs.php?

Something else I could try is using ini_set inside the ecs.php?

I know only about the one I mentioned above. We use it for years in our Github CI.

I'm not sure it matters, this is just a large code base however.

Unless its AST/reflection analysis, these memory bugs are related to single rule and file. There is always a new edge case lurking, that some rule didn't think of and dies on loop of memory :)

Are you using parallel with this? Because it was the same error, 128M reached when passing php -d memory-limit=-1.
It's only occurring in our GitLab CI, so it will be difficult to debug but I'll do what I can.

Are you using parallel with this?

Yes, it's default since 10.0.10 (https://github.com/symplify/symplify/pull/3871).

It's only occurring in our GitLab CI, so it will be difficult to debug but I'll do what I can.

That might be a bit struggle, but --debug and narrowing scope should do. I usually ignore whole set of rules, to try if it's related with it.

I'm looking into it... it seems we'll need new optio --memory-limit to move option to parallel proceses.

@internalsystemerror It seems this will handle passing the option to nested worker parallel runs.
See https://github.com/symplify/symplify/pull/3898

Thanks @TomasVotruba! Busy times at work for me, so sorry I wasn't able to get to this in a timely fashion.


Syntax highlighting with PHP broken in latest update

VSCode Version: 1.16.0
OS Version:  Windows 10 Pro (10.0.15063 Build 15063)

Steps to Reproduce:

Launch VSCode with latest update and without extensions, use Monokai Color Theme
Start a new PHP file with some HTML between PHP tags

Reproduces without extensions: Yes
PHP syntax highlighting is broken for me on latest update (1.16.0). It looks like it thinks the PHP tags are missing or broken i.e the HTML in between should not become purple and the next PHP tag should also not be purple. I have disabled extensions. Reverting back to the previous build works. Screenshot:

Looks like this is the same case as the grammar issue, https://github.com/atom/language-php/issues/246. Triggered when the HTML portion is inside a PHP block.

Also https://github.com/Microsoft/vscode/issues/32639

@roblourens ahhh I see, thanks for that, I shall keep an eye on the atom issue.


[QUESTION] Is it possible to explicitly define named after hooks strict order?

Summary

The reason I'm asking is the following issue that I have recently faced:
I have a Ruby based test framework which is uses gem cucumber version of 3.2
In the framework I have some named After hooks
After the test is completed - after hooks are always executed in the following order:
After(@user_story)
After(@upload_image)
After@remove_user

Now I want to make an update to the latest one cucumber gem version which is 4.1.0
and I've found a side effect that order is different:
After(@upload_image)
After(@remove_user)
After(@user_story)

Such order brakes my test.  So I was looking at the way of specifying some rule for the After(@remove_user) hook, which could setup hook order as the very last one,  but I can't figure out how to do that.
Thanks ahead for your reply.

That's surprising as I would have thought Hooks would execute in the order of their definition.
Two questions to ease finding where the issue might come from:

are all the Hooks defined in a single file ?
how to you load those files ? (could you try to set Cucumber.use_legacy_autoloader to true and see if that reverts to your original behaviour (some more infos about that here )

@vincent-psarga Looks like your first suggestion has helped me, I've moved problematic tag into a separate .rb  hook file and also have reviewed how my files are required in my env.rb So I also didn't have to use Cucumber.use_legacy_autoloader


nixpkgs-manual: fix build

Description of changes
This was accidentally introduced in #225051.
Things done

[x] nix-build -A nixpkgs-manual
[x] Fits CONTRIBUTING.md.

cc @ShamrockLee

Oops! Thank you for fixing it.


python310Packages.pex: 2.1.94 -> 2.1.95

Description of changes
https://github.com/pantsbuild/pex/blob/main/CHANGES.rst#2195

Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
22.11 Release Notes (or backporting 22.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 180898 run on x86_64-linux 1

2 packages built:

python310Packages.pex
python39Packages.pex


Changelog 6.15.0

Current coverage is 97.46% (diff: 100%)

Merging #283 into master will not change coverage

@@             master       #283   diff @@
==========================================
  Files            21         21
  Lines          3991       3991
  Methods         488        483     -5
  Messages          0          0
  Branches       1167       1172     +5
==========================================
  Hits           3890       3890
  Misses           44         44
  Partials         57         57

Powered by Codecov. Last update ed13a4a...af9565c


Update README.md

Contributing to the open-source repository!

@aslams2020 @sanjay-kv requesting to merge pr


Update security section about uid scope

Add more visible note that uid scope is also a valid scope for publicly available data, as this is often misunderstood, even if there is text about this below in the same section.

Thank you for the PR -- I have some more change proposals and therefore created a new PR that anticipates this PR and the comments -- see https://github.com/zalando/restful-api-guidelines/pull/798
Please, let us close this PR and check the new PR -- thank you!

:+1:

👍

👍


Compilation error on fresh Cargo.toml that depends on near-sdk-rs 4.1.1

Compiling a fresh project depends on near-sdk-rs 4.1.1 (without a Cargo.lock), I get this error:
error: no matching package named `parity-secp256k1` found
location searched: registry `crates-io`
required by package `near-crypto v0.14.0`
    ... which satisfies dependency `near-crypto = "^0.14"` of package `near-sdk v4.1.1`
    ... which satisfies dependency `near-sdk = "^4.1.1"` of package `devhub-community-factory v0.1.0 (/Users/bo/workspace/neardevhub-contract/community-factory)`

Checking parity-secp256k1 we can see it's yanked. This possibly prevent all new projects from compiling.

I can see the master branch has upgrade to use near-crypto 0.17, which doesn't depend on parity-secp256k1, so I think what we need is a new release

I see a lot of folks are hitting this issue as well. Can we make a new near-sdk-4.x release that simply bump near-crypto to 0.17?

I hit this issue as well. This issue can also happen in GitHub CI/CD when Cargo.lock is not committed.

@ailisp I believe it's a critical issue as it fails builds completely and there is no workaround, isn't it?

There is a workaround: https://github.com/near/near-sdk-rs/issues/1126#issuecomment-1879494992
I hope we can get 5.0 release out of the door next week

@frol A minor update for 4.1.* with fixed dependencies should be valuable as well, as merging to 5.0 involves some breaking changes (so far) which is hard to handle quickly.

@fadeevab It is not possible to update 4.1.1 as the dependencies are all out of date and there is no breaking-changes-free option there.

It can be temporarily fixed until v5 is stable. Add this to Cargo.toml
[patch.crates-io]
parity-secp256k1 = { git = "https://github.com/paritytech/rust-secp256k1/", version = "0.7.0" }

This is resolved with 5.0 release.


Q&A: CallingServerClient object

For recording call function, I'm having an issue with create a new CallingServerClient object because I'm using nodejs on server side.
Anyone can help me?
https://github.com/Azure-Samples/communication-services-web-calling-hero/blob/public-preview/Calling/Controllers/CallRecordingController.cs#L61

Hello @nhannt97
Today we only support C# and Java SDKs for Call Recording
Java
https://docs.microsoft.com/en-us/azure/communication-services/quickstarts/voice-video-calling/call-recording-sample?pivots=programming-language-java
C#
https://docs.microsoft.com/en-us/azure/communication-services/quickstarts/voice-video-calling/call-recording-sample?pivots=programming-language-csharp
If you look closer at the sample branch with recording you can clearly see it is a typescript/react front-end with a C# backend.
Hopefully this helps and feel free to re-open if you have any further questions.


chore: update proto for troubletrees

I think I was doing something wrong when I made this. Closing because it's obsolete now.


synonyms for "inviable vegetative cell population"

should we add 'synthetic lethal" as related? I can imagine people typing this in to describe double mutants....

No. The "synthetic" part of synthetic lethal reflects the genotype, not the phenotype. It would look stupid when the term is viewed in any context that shows synonyms.
note to self: do need to review "lethal" in synonyms - missing from at least some population terms

many 'lethal' synonyms added

edit file: a760fa43a796d2330cd62ac432969cc41ec40ced
release: b51f1da33aae79745f62d7c2015f90d7a38c922a


build fails on AArch64, Fedora 33

(base) [jw@cn06 trafficserver]$ make VERBOSE=1 -j$(nproc)
Making all in src/tscpp/util
make[1]: Entering directory '/data/jw/apache/trafficserver/src/tscpp/util'
CXX      TextView.lo
c++: error: unrecognized command-line option '-mcx16'
make[1]: *** [Makefile:956: TextView.lo] Error 1
make[1]: Leaving directory '/data/jw/apache/trafficserver/src/tscpp/util'
make: *** [Makefile:855: all-recursive] Error 1
(base) [jw@cn06 trafficserver]$

This is an autoconf issue. It needs to be updated to not add that flag for this particular architecture / compiler. Could you do a "make V=1" to find the exact compiler and then use the "--version" flag on that for the version?

(base) [jw@cn05 trafficserver]$ make V=1
Making all in src/tscpp/util
make[1]: Entering directory '/data/jw/apache/trafficserver/src/tscpp/util'
depbase=echo TextView.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||';
/bin/sh ../../../libtool  --tag=CXX   --mode=compile c++ -DHAVE_CONFIG_H -I. -I../../../include  -Dlinux -D_LARGEFILE64_SOURCE=1 -D_COMPILE64BIT_SOURCE=1 -D_REENTRANT -D__STDC_LIMIT_MACROS=1 -D__STDC_FORMAT_MACROS=1 -I/data/jw/apache/trafficserver/include -D_GNU_SOURCE -DOPENSSL_NO_SSL_INTERN -std=c++17 -g -pipe -Wall -Wextra -Wno-ignored-qualifiers -Wno-unused-parameter -Wno-format-truncation -Wno-cast-function-type -Wno-stringop-overflow -O3 -feliminate-unused-debug-symbols -fno-strict-aliasing -Wno-invalid-offsetof -Wno-noexcept-type -mcx16  -MT TextView.lo -MD -MP -MF $depbase.Tpo -c -o TextView.lo TextView.cc &&
mv -f $depbase.Tpo $depbase.Plo
libtool: compile:  c++ -DHAVE_CONFIG_H -I. -I../../../include -Dlinux -D_LARGEFILE64_SOURCE=1 -D_COMPILE64BIT_SOURCE=1 -D_REENTRANT -D__STDC_LIMIT_MACROS=1 -D__STDC_FORMAT_MACROS=1 -I/data/jw/apache/trafficserver/include -D_GNU_SOURCE -DOPENSSL_NO_SSL_INTERN -std=c++17 -g -pipe -Wall -Wextra -Wno-ignored-qualifiers -Wno-unused-parameter -Wno-format-truncation -Wno-cast-function-type -Wno-stringop-overflow -O3 -feliminate-unused-debug-symbols -fno-strict-aliasing -Wno-invalid-offsetof -Wno-noexcept-type -mcx16 -MT TextView.lo -MD -MP -MF .deps/TextView.Tpo -c TextView.cc  -fPIC -DPIC -o .libs/TextView.o
c++: error: unrecognized command-line option '-mcx16'
make[1]: *** [Makefile:956: TextView.lo] Error 1
make[1]: Leaving directory '/data/jw/apache/trafficserver/src/tscpp/util'
make: *** [Makefile:855: all-recursive] Error 1
(base) [jw@cn05 trafficserver]$ c++ --version
c++ (GCC) 10.2.1 20201125 (Red Hat 10.2.1-9)
Copyright (C) 2020 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.
(base) [jw@cn05 trafficserver]$

Probably related #5017

Can you test if that fixes this problem? I don't have access to a machine to verify.

Tried again, still get that. Seems this compiler option has been removed 2017:
(base) [jw@cn06 trafficserver]$ make VERBOSE=1 -j$(nproc)
Making all in src/tscpp/util
make[1]: Entering directory '/data/jw/apache/trafficserver/src/tscpp/util'
CXX      TextView.lo
c++: error: unrecognized command-line option '-mcx16'
make[1]: *** [Makefile:956: TextView.lo] Error 1
make[1]: Leaving directory '/data/jw/apache/trafficserver/src/tscpp/util'
make: *** [Makefile:855: all-recursive] Error 1
(base) [jw@cn06 trafficserver]$

Can confirm #7684 fixes #5017 on openSUSE PPC64LE and ARM64

@LutzWeischerFujitsu - did you do a clean checkout? At a minimum you would need to do autoreconf to update the build.

:-)

Um, I'm not sure if you're smiling at my naivety or it's working for you now. If it's not, I'll need to see your "config.log" - the flag should only be used if autoconf successfully compiled test code using that flag. If that's correct, then there has to be a mismatch between what autoconf is using and what the actual build is using.

:-) = can close this issue. :-). Thanks for your help!

Fixed.


BUG: scipy.stats.fisher_exact strange interaction

Describe your issue.
Calling scipy.stats.fisher_exact has a strange side effect and is impacting subsequent function calls, specifically but not limited to rpy2 functionality.
In the provided code example, if print(sp.fisher_exact(n)) is left commented out, the provided R function correctly prints the dimension of the input argument as [1] 2 2 and the second element as [1] 2. However, if the line print(sp.fisher_exact(n)) is actually run prior to the provided R function, the R function will print the second element of the input dimension as NA.
Depending on whether scipy.stats.fisher_exact is called earlier in the script, this strange behavior/interaction breaks subsequent inline calls to R, including the R fisher.test.
Note this observed behavior is specific to scipy.stats.fisher_exact and does not for instance appear when calling scipy.stats.chisquare.
Reproducing Code Example
import numpy as np
from scipy import stats as sp
from rpy2 import robjects
import rpy2.robjects.numpy2ri
rpy2.robjects.numpy2ri.activate()

n = np.array( [[6, 2], [1, 12]] )

# commenting or uncommenting this line alters the behavior of what follows afterwards
print(sp.fisher_exact(n))

v = robjects.FloatVector([6, 1, 2, 4])
m = robjects.r['matrix'](v, nrow = 2)
robjects.r('''
        # create a function `f`
        fisher <- function(mat) {
            print(dim(mat))
            print(dim(mat)[2])
            # fisher.test(mat)
            return(TRUE)
        }
        ''')

r_fisher = robjects.globalenv['fisher']
r_fisher = robjects.r['fisher']
res = r_fisher(m)

Error message
No error message, just un-understood behavior.

SciPy/NumPy/Python version information
1.7.3 1.21.2 sys.version_info(major=3, minor=9, micro=7, releaselevel='final', serial=0)

@tupui thanks. I'll see if I can reproduce under a fresh environment/install and provide my procedural steps if I am successful.

@ahelmstetter any luck or shall we close this?

I'll go ahead and close this, but if you're able to reproduce it after a new install, let us know.


[Toggle] Fix elementStyle prop not being used and tests to prove

[x] PR has tests / docs demo, and is linted.
[x] Commit and PR titles begin with [ComponentName], and are in imperative form: "[Component] Fix leaky abstraction".
[x] Description explains the issue / use-case resolved, and auto-closes the related issue(s) (http://tr.im/vFqem).

Toggle component elementStyle prop was not being used due to this and this.
The test I provided fails before my change, and passes after, respectively.

I don't understand the use case, why not using the iconStyle property?

Looking at the source code, what is the point of elementStyle then? it simply gets disregarded as pointed out in the original links of the description of my PR. I see now that wrapStyles is being extended by iconStyles here and then used here, but why even elementStyle in the source code - or even bother documenting it? I feel like references to elementStyle should be removed if they are not being used. Please let me know if you would rather me take that route (If so, I can update my test to utilize the iconStyle prop instead and remove references to elementStyle).
Let me know and thanks for you time on this. I was a little concerned when using elementStyle resulted in no altered styling.

@mkralla11 I wouldn't worry that much about the v0.x version. We have been reimplementing it from scratch on the v1 version. From my perspective, it's legacy. As long as we don't introduce regression, I'm fine.

I'm going to close this then. iconStyle will suffice like you said. If I (or someone else) has time, at least removing elementStyle from the documentation could ease the pain of anyone else trying to debug this. Thanks again!

@mkralla11 Sounds great :)


Improve gdown.cached_download documentation

Hi,
I wanted to use the cached_download method yet I find the example confusing.
I am looking for a example that works, directly.
Meaning the example taking care of the generation of the md5.
Could you update the cached_download documentation for that?
Thank you :)

How it didn't work? In my env it works
>>> import gdown
...
... url = 'https://drive.google.com/uc?id=0B9P1L--7Wd2vNm9zMTJWOGxobkU'
... output = '20150428_collected_images.tgz'
... #gdown.download(url, output, quiet=False)
...
... md5 = 'fa837a88f0c40c513d975104edf3da17'
... gdown.cached_download(url, output, md5=md5, postprocess=gdown.extractall)
Cached Downloading: 20150428_collected_images.tgz
Downloading...
From: https://drive.google.com/uc?id=0B9P1L--7Wd2vNm9zMTJWOGxobkU
To: /Users/wkentaro/.cache/gdown/tmpje1y0n07/dl
44.7MB [00:04, 9.26MB/s]
Computing MD5: 20150428_collected_images.tgz
MD5 matches: 20150428_collected_images.tgz
'20150428_collected_images.tgz'

Hi, sorry did not take the time to test out your code, thank you for your reply nevertheless 👍


Update README, add new groups

Following new Telegram groups were added:

Avrupadaki Yazilimcilar
Gym Seven Yazilimcilar

@eserozvataf


Add Uniroma1

My request is to add Università sapienza Roma to the swot.
Official website: https://www.uniroma1.it/it/pagina-strutturale/home

@LIUKRAST I am sorry, the domain studenti.uniroma1.it is removed from our trusted domains list because it was abused in the past. If you are the student of this school, please enroll to GitHub Student Developer Program. Then apply for JetBrains educational subscription with your GitHub account (GitHub tab at https://www.jetbrains.com/shop/eform/students).


⚠ ClamAV has degraded performance

In b58df3f, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 445 ms

Resolved: ClamAV performance has improved in da0e8e3.


Performance issue on CPU

Version
2.3.3
Reproduction link
https://quasar-admin.firebaseapp.com/?ref=madewithvuejs.com#/
Steps to reproduce
1 Open resource monitor to see CPU usage
2. Open Chrome (All browsers have performance issues but Chrome is the worst)
3. Go to URL and first issue that page when idle process eat more CPU than normal
4. Scroll in the list to create a larger list (might be a v-for issue?)
5. my CPU ticks 1% each 10 records until 25%
What is expected?
CPU to chill!
What is actually happening?
CPU is doing lot of work.

I use this admin site as an example, since the CPU usage issues are reproduced as in my project.Making me thing that it is vue related.
Difference is that my project have multiple updates going on, and CPU are sometimes hitting 100% in Chrome, Edge: 50% and firefox 20%.
Still 20% seems to high.
I am using the latest  i7 SSD and 16gb of Ram, so computer should not be the bottleneck.

Hi @dwcy
I'm sorry that Quasar is not perfoming the way you expect it to, but this is not a topuic for the Vue issue tracker.
I understand that you think this might  have something to do with Vue itself, but we can't and won't analyse a whole Quasar app for performance issues. You should adress that in the Quasar community.
If you find a specific  behaviour of Vue, which you can reproduce with a small example (not with Quasar),
like unuusual CPU spikes or memory leaks feel free to open an issue, here again, though.

The issue was actually a CSS @keyframes animation not working well with multiple updates.
Found that after I noticed Chrome Rendering feature exists and are turned it on with paint flashing and FPS meter. Not directly an Vue problem so I will close.


[23.05] srb2: 2.2.10 -> 2.2.11

Description of changes
Backports https://github.com/NixOS/nixpkgs/pull/233085
Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
23.11 Release Notes (or backporting 23.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

Closing due to lack of interest and 2.2.13 is out now. For those that want the latest version, you can mix and match stable/unstable with Nix.


404 error "sticks"

After visiting a page that does not exist and recieving a 404 error, navigating to another page shows the content below but does not remove the error:

This particular problem was related to Vitepress issues and has already been resolved. This library has really matured a lot!
Closing 😀


Added a basic scatterplot for Magick backend

I Passed the rspec test for scatterplot for Magick backend and set up basic functions for Magick backend.
I modified the Magick backend so that it can:

Draw x and y axis
Draw markers
Draw text with rotation and size
Plot a rudimentary scatter plot

Since, GR and Magick backend uses different units for sizes, for now I have multiplied the transform function with a hard-coded value 10. I will find a suitable factor to multiply for a normalized scale for all backends. Also, no ticks are implemented in the x and y axis, I will add ticks in future.
Currently the implemented scatterplot looks like this:

Please review my changes.

Code is good overall, but you need to improve this plot. Please proceed with the rest of your project.

Have merged. You can start work on ticks and any front end changes that you might need now.


Various things.

It's a bunch of stuff I added while using Fmt. The commits are rather independent. Some are no-brainer, some are not.
I'm not fond of the operators, but they are convenient (and they have the right assoc/prio).
I tried to be consistent, naming-wise.

Ah, I missed the last commit ... strf, I didn't saw that one coming.

I dropped the operators and with_file the rest is in but is going to be massaged a bit.