Console.WriteLine calls during dotnet test are not emitted to the console on Windows

From @jonsequitur on December 15, 2016 19:10
Steps to reproduce

Add a Console.WriteLine call in a test, .e.g GivenThatIWantToMigrateTestApps.ItMigratesRootProjectAndReferences
On Windows, dotnet test --test-case-filter "FullyQualifiedName=Microsoft.DotNet.Migration.Tests.GivenThatIWantToMigrateTestApps.ItMigratesRootProjectAndR eferences"

Expected  behavior
The string passed to Console.WriteLine appears in console output.
Actual behavior
C:\dev\github\cli\test\dotnet-migrate.Tests [rel/1.0.0 ↓ +0 ~2 -0 !]> dotnet test --test-case-filter "FullyQualifiedName=Microsoft.DotNet.Migration.Tests.GivenThatIWantToMigrateTestApps.ItMigratesRootProjectAndR
eferences"
Build started, please wait...
Build completed.

Test run for C:\dev\github\cli\test\dotnet-migrate.Tests\bin\Debug\netcoreapp1.0\dotnet-migrate.Tests.dll(.NETCoreApp,Version=v1.0)
Microsoft (R) Test Execution Command Line Tool Version <IP_ADDRESS>
Copyright (c) Microsoft Corporation.  All rights reserved.

Starting test execution, please wait...
Passed   Microsoft.DotNet.Migration.Tests.GivenThatIWantToMigrateTestApps.ItMigratesRootProjectAndReferences(projectName: "ProjectB", expectedProjects: "ProjectB,ProjectC,ProjectD,ProjectE")
Passed   Microsoft.DotNet.Migration.Tests.GivenThatIWantToMigrateTestApps.ItMigratesRootProjectAndReferences(projectName: "ProjectA", expectedProjects: "ProjectA,ProjectB,ProjectC,ProjectD,ProjectE")
Passed   Microsoft.DotNet.Migration.Tests.GivenThatIWantToMigrateTestApps.ItMigratesRootProjectAndReferences(projectName: "ProjectC", expectedProjects: "ProjectC,ProjectD,ProjectE")
Passed   Microsoft.DotNet.Migration.Tests.GivenThatIWantToMigrateTestApps.ItMigratesRootProjectAndReferences(projectName: "ProjectE", expectedProjects: "ProjectE")
Passed   Microsoft.DotNet.Migration.Tests.GivenThatIWantToMigrateTestApps.ItMigratesRootProjectAndReferences(projectName: "ProjectD", expectedProjects: "ProjectD")

Total tests: 5. Passed: 5. Failed: 0. Skipped: 0.
Test Run Successful.
Test execution time: 32.2825 Seconds

Environment data
dotnet --info output:
.NET Command Line Tools (1.0.0-preview5-004253)
Product Information:
Version:            1.0.0-preview5-004253
Commit SHA-1 hash:  0caae96daf
Runtime Environment:
OS Name:     Windows
OS Version:  10.0.14393
OS Platform: Windows
RID:         win10-x64
Base Path:   C:\dev\github\cli\artifacts\win10-x64\stage2\sdk\1.0.0-preview5-004253
Copied from original issue: dotnet/cli#5033

From @krwq on January 5, 2017 23:46
@jonsequitur You should probably be using Xunit's ITestOutputHelper. making Console.WriteLine forward to that might be slightly harder

I am seeing that too on windows. None of the Console.WriteLine from my tests gets printed out. We should not ask users to use special APIs to print to the console.
@codito @Faizan2304 Can you guys take a look?
I think we should move this bug to the vstest repo.

From @jonsequitur on January 6, 2017 4:35
The issue that I was seeing was that this works on OS X but not on Windows.

I think this should be handled by adapters at some level. MSTest for instance captures and sends the console outputs to the runner, I think we are including them in trx logger, but not in the console. We can start showing them in console. cc: @Faizan2304
There were a few requests to capture console output in xunit:
https://xunit.github.io/docs/capturing-output.html suggests to use IOutputHelper
https://github.com/xunit/xunit/issues/1141

Fixed!!

@Faizan2304  Is it fixed in Visual Studio Community 2017 Version 15.2 (26430.15) Release? I still cannot get the output in the output window or the test explorer.

I also still do not see test output and would love to, please.
From dotnet test output:
Test ...Tests\bin\Debug\netcoreapp2.0\~.dll(.NETCoreApp,Version=v2.0)
Microsoft (R) Test Execution Command Line Tool Version 15.3.0-preview-20170703-02

and in csproj:
    <PackageReference Include="Microsoft.NET.Test.Sdk" Version="15.3.0-preview-20170628-02" />
    <PackageReference Include="xunit" Version="2.2.0" />
    <PackageReference Include="xunit.runner.visualstudio" Version="2.2.0" />

(I am using preview version of VS and latest dotnet core from github)

Sorry for the late reply. I missed this thread.
@zwcloud: We have fixed it in vstest.console of version v15.3.0-preview-20170517-02 and it is part of Visual studio 2017 Update3 preview3. Please see below answer to see test output with xunit.
@rogusdev : How are you writing output from test method? Is it Console.WriteLine ?
If yes then it seems xunit doesn't support that.
There were a few requests to capture console output in xunit:
https://xunit.github.io/docs/capturing-output.html suggests to use IOutputHelper
xunit/xunit#1141

@Faizan2304

Is it Console.WriteLine ?
If yes then it seems xunit doesn't support that.

Yes. But @bradwilson said in xunit#1141

There is no way to see that output with dotnet test because of limitations in the VSTest runner.

We do not capture stdout (users are free to use that if they so choose). Our output capture system pushes that information into the test result rather than to stdout. The TRX report may or may not generate reports which include "output" results (I don't personally know, since I have no knowledge of this format), but today there's no simple way today to get this output from dotnet test directly on the console.
Visual Studio's UI, on the other hand, offers ready access to "output", which is where this information is captured.

So.. could you fix or change the behaviour of VSTest runner to remove the limitaion?

@zwcloud:
We display what adapter sends in TestResult.Message Code here And here
Its the responsibility of adapter to fill console.WriteLine message in TestResult.Message.
But as you can see, @bradwilson said in xunit#1141 that they are not capturing console output to test result

Users will use ITestOutputHelper to write output. That's what ends up in ITestResultMessage.Output. We do not capture any device like console, debug, or tracing.

In this case you have to follow this article. xunit is suggesting to use IOutputHelper to log your message.

Why the issue is closed if there is still no console output in tests?
It's kinda strange to have console test runner which doesn't show console output.

Bumping this in case anyone else comes along hoping to find an answer.
dotnet test -v n
I learned that running the above will show the "Standard Output Messages:" that you would expect from Console.Write*.  It does flood the terminal with information at build but at least is a solution for the time.  "-v" is a Verbosity argument.  "n" represents "normal".  Refer here for more information.
I use this with a .NET Core Unit / Integration test projects running NUnit.

@Faizan2304 Apparently you guys think you have done quite well in handling the console output. But that's far from the truth. We don't want to use IOutputHelper to log your message, just implement a simple way today to get this output from dotnet test directly on the console.

@mattiasw2 nice job! but, it's a bug in dotnet test?

Why is this closed?

@Faizan2304 this is not working for me using dotnet test. No System.Console.WriteLine output shows up during unit tests.
Could you please re-open the issue? This is still broken for many.

Could this be re-opened?  It is clearly not fixed for a very large number of users.
Incidentally, is there anyone for whom ITestOutputHelper nor dotnet -v n is working?  I simply cannot debug my tests because I can't see what's going on at all, and nothing is helping.

I'm also experiencing this problem on Windows. On Linux, it works just fine.
Interestingly, on Appveyor Windows builds, I also see the console output. It's only locally that I see nothing.

How does appveyor do this?

using (var writer = new System.IO.StreamWriter(System.Console.OpenStandardOutput()))
       writer.WriteLine("This will show up!");

Any solution to this problem?

Yeah but that approach doesn't work when you don't want to modify your exisiting code.

Tagging @Faizan2304

How does appveyor do this?

Don't know anything about appveyor but it's certainly in principle possible for an application to execute the mstest runner itself so that std-output is redirected in away the output can be captured.  Briefly looking through the dotnet cli source code I couldn't really see why Windows would be different to linux/mac etc. (though certainly Console.OpenStandardOutput is implemented differently between them)

It's April 2019, Visual Studio 2017 Community, Run XUnit tests for the first time from an xUnit Tests project created by VS - no console output. Neither from test code, nor from code under test. Running the same test with NUnit happily produces the output.

@chhh that is a design decision by xunit so as to avoid the use of static state. one possible option is to try this approach https://github.com/SimonCropp/XunitLogger which uses asynclocal to keep track of the logging context

This doesn't work with latest dotnet core cli (3.0.101) on either Windows or Linux with MSTest v2(.0.0). Why is this still closed and ignored after so many requests for actual consideration here for something that is clearly a bug even by the maintainers' replies here?

Doesn't work with 3.1.100 either.

What's the state of this?  If you run xunit tests using "dotnet test", there is no Console output.  If you run xunit tests using vstest.exe then there is Console output.
Surely that means there's a way to get this working if vstest.exe managed to do it.

I'm wondering if this is somewhat related to https://github.com/microsoft/vstest/issues/2224

Simplest Capturing output in a clean xunit environment with visual studio mac (8.4 build 2657) does not seem to work. Don't really know how to debug this.

Simplest Capturing output in a clean xunit environment with visual studio mac (8.4 build 2657) does not seem to work. Don't really know how to debug this.
In case you're coming here in an attempt to get EF Core logging in the xUnit output, the following worked for me:

create a XUnitLoggerProvider as described in this SO answer
replace ITestOutputHelper with a StreamWriter as explained above.

Code snippet:
public class XUnitLoggerProvider : ILoggerProvider
{
    public StreamWriter Writer { get; private set; }

    public XUnitLoggerProvider()
    {
        Writer = new StreamWriter(Console.OpenStandardOutput());
        // this should pop up
        Writer.WriteLine("******* XUnitLoggerProvider logger instantiated *******");
    }

    public void Dispose()
    {
        Writer.Dispose();
    }

    public ILogger CreateLogger(string categoryName)
    {
        return new XUnitLogger(Writer);
    }

    public class XUnitLogger : ILogger
    {
        public StreamWriter Writer { get; }

        public XUnitLogger(StreamWriter writer)
        {
            Writer = writer;
            Name = nameof(XUnitLogger);
        }

        public string Name { get; set; }

        public void Log<TState>(LogLevel logLevel, EventId eventId, TState state, Exception exception,
            Func<TState, Exception, string> formatter)
        {
            if (!this.IsEnabled(logLevel))
                return;

            if (formatter == null)
                throw new ArgumentNullException(nameof(formatter));

            string message = formatter(state, exception);
            if (string.IsNullOrEmpty(message) && exception == null)
                return;

            string line = $"{logLevel}: {this.Name}: {message}";

            Writer.WriteLine(line);

            if (exception != null)
                Writer.WriteLine(exception.ToString());
        }

        public bool IsEnabled(LogLevel logLevel)
        {
            return true;
        }

        public IDisposable BeginScope<TState>(TState state)
        {
            return new XUnitScope();
        }
    }

    public class XUnitScope : IDisposable
    {
        public void Dispose()
        {
        }
    }
}

Usage in tests:
var serviceProvider = new ServiceCollection().AddLogging().BuildServiceProvider();
var loggerfactory = serviceProvider.GetService<ILoggerFactory>();
loggerfactory.AddProvider(new XUnitLoggerProvider());
var options = new DbContextOptionsBuilder<TDbContext>()
                    .UseSqlServer(GetConnectionString(configEntry))
                    .UseLoggerFactory(loggerfactory)
                    .EnableSensitiveDataLogging()
                    .Options;
var dbContext = new TDbContext(options);

In case you're coming here in an attempt to get EF Core logging in the xUnit output, the following worked for me:

Hard to understand why that'd work as I thought the whole issue was that whatever Console.OpenStandardOutput() returns when running xUnit tests is basically a black hole. What's the difference between the way this works and the standard console logging provider (e.g. via LoggerFactory.Create(builder => builder.AddConsole()) - there doesn't seem to be anything Xunit-specific about it?

I tend to use XUnit's abstraction inside of a Print() helper class used in my [Fact]s.  We could have the base UnitTest class be abstract and pass in our favorite print statement using a SetPrintAction(Action a) which will allow us to toggle between Debug, Console, XUnit's abstraction and whatever other quick Actions like ()=>ILogger.Log().  Basically, Implement the Strategy Pattern inside the Test's Abstract base class.

I have an issue where a test is hanging only when not debugging. I want to simply print to console to see which test is hanging and where. If the console output is being captured (or if you use ITestOutputHelper) the output only gets "shown" after the test completes, leaving me in quite a pickle!
I worked around this by printing to a file. But why? Can't I just stop the test runner from getting all up in my console output?

In Windows, Running dotnete test from within Powershell Console like Powershell ISE or Package Console Manager in VS (tested in vs 2019) capture all Console.WriteLine used inside Xunit project or in source code.
here script:
cls
cd "path\to\test\project"
dotnet test

@moh-hassan in most cases you'll get an output but if you use Test target from another msbuild script you'll randomly get an output (most of the time you won't)

I've just used the -l argument to get Console.WriteLine to output my messages:
dotnet test -l "console;verbosity=detailed"
At first I thought I'd get a lot of detailed verbosity using this, but that is actually not the case, only the regular output and Console.WriteLine is outputted.

@timbaas I'm not having luck with that working for me. What version of the .net core sdk are you using? Anything besides that cli command and simply using Console.WriteLine() in the tests needed?

@timbaas That worked great for me.  Thank you.

@timbaas ,It's working fine using Nunit framework in netcore 3. Thanks.

@moh-hassan Hey, I'm using NUnit + .Net Core 3 as well but my Console.WriteLines do not show :(
Did you have to do anything special?

@remiX-
I use the next packages in NUnit in netcore3.1 or net5
<ItemGroup>
	<PackageReference Include="NUnit" Version="3.12.0" />
	<PackageReference Include="NUnit3TestAdapter" Version="3.16.1" />
	<PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.5.0" />
</ItemGroup>

with the next command
cd my test/project
dotnet test -l "console;verbosity=detailed"

dotnet test -l "console;verbosity=detailed"  doesn't work for me when using NUnit, this only seems to output stuff when the test fails, not when it succeeds or is skipped. @moh-hassan, are you able to get output when the test passes or is skipped?

@stevenbrix
It's working for me in NUnit suit and I get output when the test passes. I normally run test using powershell ISE.
All Console.WriteLine in source code or Test Suit are displayed for test pass or fail. I'm using the packages above.
Can you try visisbility Normal
dotnet test  -l "console;verbosity=normal"

@moh-hassan ahh, i'm on linux (WSL), so maybe there is an issue with that? @livarcocc  is there a corresponding issue for this on Linux?

At least for NUnit, i just found that using TestContext.Progress and TestContext.Error will write immediately to the console. The one downside is that it won't write the results to the .trx file, so if you want both then wrap them in some encapsulation like this:
void Log(string message)
{
   TestContext.Progress.WriteLine(message);
   TestContext.WriteLine(message);
}

void LogError(string message)
{
   TestContext.Error.WriteLine(message);
   TestContext.WriteLine($"Error: {message}");
}

@stevenbrix
Hi,
Console.WriteLine is supported in Nunit  in WSL2 (Ubuntu) via ubuntu terminal in windows 10.
Also in bash terminal  using   VScode   remote wsl2.

Hi I'm using net5.0, NUnit-3.13.2 and NUnit3TestAdapter-4.1.0 and Console.WriteLine("HELLO!!!") is not working. I still cannot see the output HELLO!!! on the console. I'm running like this: dotnet test SomeExample.sln -v n

@alfreql
Can you try:
dotnet test -l "console;verbosity=detailed"

I

It seems like dotnet test -l "console;verbosity=detailed" should be the default and only if you turn it off would the output be hidden.

On Ubuntu 22.04.1 LTS
dotnet test --no-build --verbosity normal shows logging from Console.WriteLine
However, on Windows, I don't see anything.

@Faizan2304 Why have you closed this? It isn't fixed! 😡

@olfek ,
In Nunit suit test, Console.WriteLine is working fine on Windows and Ubuntu.
What testing suit are using?

@olfek is correct, this is still broken on Windows for xUnit.net.
Windows:

Linux (WSL):

This was closed prematurely @Faizan2304

Note that unlike other test frameworks, xUnit.net v2 does not touch or capture Console output. It appears that VSTest on Windows is capturing (and throwing away) Console output, whereas on Linux it is not (or some similar disparity).

Really annoying, I envy the Linux version. xUnit states on its website https://xunit.net/docs/capturing-output that this funcitonality was intentionally removed due to "many tests [...] running in parallel". Hell! When I want to create and fine tune one test, I just let this one test run, and need some helpful output which I then remove when it's done.
Granted, the described workaround with ITestOutputHelper works, but it clutters the code and complicates the command line call. Just gimme Console.WriteLine() for developing. It's then my responsibility how many tests run in parallel and whether outputs interfere, isn't it?

@IngmarPaetzold u might find this useful https://github.com/SimonCropp/XunitContext/

Thanks Simon, good to know, in case one has several kinds of output. Currently, the solution provided by xUnit works for me, thus, adding an ITestOutputHelper.
My point is rather that I felt the Principle of least surprise being violated by xUnit not showing Console.WriteLine() output in the first place. Practically: I tried to set up a unit test, needed some values printed temporarily, and was surprised. Then gooleing, finding that I am not the only one, tried one workaround (did not work), until, eventually, found a solution.
Still, requiring to add an ITestOutputHelper  to the class and -l "console;verbosity=detailed" to the command call just does not feel right. In my opinion, the option to switch off console output in case the executed code prints too much stuff, locally, globally, whatever,  would be the better option. Just my opinion.

This is absurd behaviour from one of the largest development toolkits there is. This is not an issue of whether a test framework should swallow logs, the issue is about the fact that 2/3 major platforms don't and one platform does. On my team we just discovered that our Mac developers see logs in the tests (e.g. stack traces) and our Windows developers don't (and have been working in a totally different way). This is not something that is up to personal preference / should be a setting / can be worked around, it is broken and needs to be fixed because it's not consistent.
Reading the commentary about this on various issues, it seems like there has been some finger pointing for a few years (this issue was opened in 2016). The team at xUnit seems to think that since they aren't doing anything with Console output, its vstest's burden to fix. The team here seem to be suggesting that test runner developers should be implementing it themselves (like Nunit has done).
@bradwilson

Note that unlike other test frameworks, xUnit.net v2 does not touch or capture Console output. It appears that VSTest on Windows is capturing (and throwing away) Console output, whereas on Linux it is not (or some similar disparity).

@codito

I think this should be handled by adapters at some level. MSTest for instance captures and sends the console outputs to the runner, I think we are including them in trx logger, but not in the console. We can start showing them in console. cc: @Faizan2304

@Faizan2304

@rogusdev : How are you writing output from test method? Is it Console.WriteLine ?
If yes then it seems xunit doesn't support that.
There were a few requests to capture console output in xunit:
https://xunit.github.io/docs/capturing-output.html suggests to use IOutputHelper
https://github.com/xunit/xunit/issues/1141

Its the responsibility of adapter to fill console.WriteLine message in TestResult.Message.
But as you can see, @bradwilson said in https://github.com/xunit/xunit/issues/1141#issuecomment-282967197 that they are not capturing console output to test result

Can we at least get some agreement here about whose backlog this should be on? Pointing fingers is just harming users and has been doing so now for 6 years.
cc: @Evangelink

@peabnuts123 For sure, lobbing insults is not going to get you results.

@bradwilson What results? There have been no results in 6 years.

@peabnuts123 I was on a long leave and I am just back. I will read all this thread and try to give some information/ask for plan about this.

Thank you for making this point @peabnuts123, it's unbelievable that such a major framework should be broken in such fundamental way for so long, and on Windows of all platforms. I was mortified when I found out our Mac developers had been having a completely different experience with this all this time.

Wow, on a leave for 6 years... And the issue didn't get assigned to anyone else...

It would be great if this discrepancy could be resolved. I'm surprised it's been outstanding for so long. This is making it harder for me to debug issues during testing for libraries that I do not govern, and as such cannot modify their methods of outputting to the console; I can see their logs in Linux, but not Windows.

We also want the Console.WriteLine to simply flow through the console. its unexpected behavior not to have this output and have the framework eat it somewhere. All we see is "Test passed" but we need to see the actual test log.

I am on Windows, and when I first setup xunit a few days ago (using the ITestOutputHelper, I did not need to pass extra args to dotnet test... not sure what changed, but now nothing is output unless I add the --logger "console;verbosity=detailed" arg.
Kind of weird how it changed. Unfortunately I cannot pinpoint what could have possibly affected it.
Is there a way to make --logger "console;verbosity=detailed" the default?

Hello. Is there any update on this egregious seven year old bug affecting users running on Windows, a platform I understand the project owner has some interest in?

Console log debugging is a real pain now.
It's not always possible to inject IOutputHelper into a class.

@pluma9 this should work without needing to pass in ioutputhelper https://github.com/SimonCropp/XunitContext/

it's amazing that after an hour of pulling my hair out as to why this wasn't working, I'm back to using linux on windows to debug a windows application. Microsoft will be Microsoft.


[Android]empty/missing DT_HASH in "libTrustWalletCore.so" (built with --hash-style=gnu?)

Fatal Exception: java.lang.UnsatisfiedLinkError
dlopen failed: empty/missing DT_HASH in "libTrustWalletCore.so" (built with --hash-style=gnu?)

how did you build the lib? can you share your sample project?

Hi, @codeFarmL  were you able to resolve this issue? As I am getting the same issue in my project. Can I get more details on this to fix please.


Dresden Files Role-Playing Game

First time doing this, hope I'm doing it right.
- [ ] Does the pull request title have the sheet name(s)? Include each sheet name.
Yes? I think? It's a new sheet, not sure if I'm supposed to include that in the title.
- [ ] Is this a bug fix?
No.
- [ ] Does this add functional enhancements (new features or extending existing features) ?
n/a
- [ ] Does this add or change functional aesthetics (such as layout or color scheme) ?
n/a
- [ ] If changing or removing attributes, what steps have you taken, if any, to preserve player data ?
n/a
- [ ] If this is a new sheet, did you follow Building Character Sheets standards ?
Yes

Is this the same game as the one This other DresdenFiles sheet is used for?

No, but it is the same game this other sheet is used for.
I made a separate sheet instead of modifying the existing one because of some different design philosophies/goals.

Oh, yeah that sheet haven't been touched in ages, so your new sheet replacing the old one sounds like a good call.


[Resources]: Key-value storage (Redis etc)

An easy integration for setting up key-value storage, such as Redis.

This issue is a part of the Product Feature Poll (all issues). React with :+1: if you want this feature. Comment if you have suggestions related to this feature.

I was looking into using shuttle for a Discord bot, and Redis would be very useful. Ideally something that just passes in a Client object for redis::Client from [The rust Redis library)(https://docs.rs/redis/latest/redis/) or else a URI suitable for connecting with it. Enabling common extensions (e.g. timeseries, bloom filter) etc, would be good too, as there are libraries with extension traits for those.

I was looking into using shuttle for a Discord bot, and Redis would be very useful. Ideally something that just passes in a Client object for redis::Client from The rust Redis library or else a URI suitable for connecting with it. Enabling common extensions (e.g. timeseries, bloom filter) etc, would be good too, as there are libraries with extension traits for those.

I also need Redis support, I am a Shuttle Pro user myself and I would really like it to be implemented as soon as possible, for example as a macro like shared_db or aws_rds


Add missing service and resource files; add get_all method

@joshuawscott

@apurvis I wish I had a good excuse for the error handling. It's bitten us a bunch of times too.

@apurvis released as gem version 0.0.7

thx!
On Fri, Jun 24, 2016 at 2:52 PM, Joshua Scott<EMAIL_ADDRESS>wrote:

@apurvis https://github.com/apurvis released as gem version 0.0.7
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/simplifi/appnexusapi/pull/6#issuecomment-228430329,
or mute the thread
https://github.com/notifications/unsubscribe/AAOJDmArWD1MTo0Qs8z3giOYKfaoX9qvks5qPCd1gaJpZM4I8ciq
.


Avoid reflection with %T formatter

Are we going to start a 0.16 branch?

Should we use branches or master?

Um, I feel like we should cut another branch again (if no one has any objections). That process worked well and helped keep these changes off of master where they could be picked up with go get. I just named it whatever the version I expect it to be released under.

I agree. I find working on a branch leads to more git mistakes. That's all.
On Mon, Dec 4, 2017 at 9:00 AM, Matthew Dolan<EMAIL_ADDRESS>wrote:

Um, I feel like we should cut another branch again (if no one has any
objections). That process worked well and helped keep these changes off of
master where they could be picked up with go get. I just named it
whatever the version I expect it to be released under.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/lightstep/lightstep-tracer-go/pull/135#issuecomment-349027491,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ADdiiXypjt6Tnj_EIFltJW_qhm_uj1TXks5s9CUSgaJpZM4QsOFH
.


Support Ubuntu Focal + Setup CI + Clang-format

This PR adds support and instructions of use with Ubuntu Focal.
Unfortunately, as of now this requires building a patched version of libqi (see https://github.com/arntanguy/libqi/pull/1 for details).
Tested with the Pepper robot.

Great work! Thanks for all the improvements and updates @arntanguy

Thanks for your work so far @anastasiabolotnikova, and for helping out in getting started with using the robot! :smiley:


no table called rates.

Followed the steps to create the Database and have a table called rates..
sqlite> SELECT * from rates; sqlite> .tables rates sqlite>
However when I use node red and hit the Update rates i get...
30/12/2020, 14:22:20node: Agile rates msg : error "Error: SQLITE_ERROR: no such table: rates"
Any ideas?

Ah, pointing to an old file without the table... Closing.


Spelling

Fixes misspellings identified by the check-spelling action.
The misspellings have been reported at https://github.com/jsoref/vscode-pull-request-github/actions/runs/6803799840#summary-18499918007
The action reports that the changes in this PR would make it happy: https://github.com/jsoref/vscode-pull-request-github/actions/runs/6803799902#summary-18499918517

@microsoft-github-policy-service agree

Thank you for the PR, but we don't usually take PRs that only fix spelling errors (similar to https://github.com/microsoft/vscode/wiki/How-to-Contribute#spell-check-errors)


Coherence and CI/CD

This PR includes 7 commits, to create template for coherence set up, and add CI/CD steps for coherence template deployment.
The structure of the coherence cluster
# managedServerPrefix: msp
|-- Coherence cluster: myCoherence
      |-- Application tier: cluster1
      |    |-- Server1: msp1
      |    |-- Server2: msp2
      |-- Data tier: storage1
           |-- Server1: mspStorage1
           |-- Server2: mspStorage2

Settings of the cluster
myCoherence:
Clustering Mode: Unicast
Cluster Listen Port:7574
Transport: UDP
Time To Live:: 4
Logging: Enabled
cluster1:
Coherence Cluster: myCoherence
Local Storage Enabled: false
Coherence Web Local Storage Enabled: false
Coherence Web Federated Storage Enabled: false
storages1:
Coherence Cluster: myCoherence
Local Storage Enabled: yes
Coherence Web Local Storage Enabled: specify with parameters enableCoherenceWebLocalStorage in template, yes by default.
Coherence Web Federated Storage Enabled: false
Network Communications
For images of Oracle Linux 7.6, firewall will block the communication between coherence cluster.
We open port 42000-42200 for coherence communication in virtual machine that hosting managed servers, including application nodes and cache nodes.
Specify the port range with server start arguments:
-Dcoherence.localport=42000 -Dcoherence.localport.adjust=42200

Note: Assuming the customers have requirements for coherence, in virtual machine that is provisioned with Oracle Linux 7.6 image, which hosts managed server, we pre-open port 42000-42200.
Successful build: https://github.com/galiacheng/arm-oraclelinux-wls-cluster/actions/runs/341318319

Hello @edburns this PR is ready for review.


Supress |5 on notes fields

We should suppress subfield 5 on all notes fields as it's used for system information, which is of no use to people using our search.

Hi @jamesgorrie , this issue was closed but I'm still seeing UkLW on https://wellcomecollection.org/works/thjctx62

@pollecuttn This was awaiting a reindex before the change was applied; I've done that now, and it's no longer appearing on that work.

@alexwlchan Thanks for letting me know!


[R Package] Use the C++ 11 compiler to test OpenMP flags

According to the discussion in #1812 , the wrong OpenMP was passed to GCC on Solaris. The reason is that when running the configure script, the default compiler (Solaris Studio) was used, while GCC is the C++ 11 compiler to build the package. Therefore we need to set the CXX environment variable to the C++ 11 compiler in configure.

Current coverage is 33.89% (diff: 100%)

Merging #1881 into master will increase coverage by 0.03%

@@             master      #1881   diff @@
==========================================
  Files            68         68
  Lines          5281       5281
  Methods         827        827
  Messages          0          0
  Branches        526        526
==========================================
+ Hits           1788       1790     +2
  Misses         3415       3415
+ Partials         78         76     -2

Powered by Codecov. Last update 5ebd8fb...a134498

When I submit the script early today, I also have these lines.
I removed them because on my solaris VM, it doesn't change the generated Makevars.
I think I know what's wrong now. The R from CSW (https://www.opencsw.org/packages/CSWr-base/) is configured in a different way from CRAN machine.
R version 3.3.0 (2016-05-03) -- "Supposedly Educational"
Copyright (C) 2016 The R Foundation for Statistical Computing
Platform: i386-pc-solaris2.10 (32-bit)

It seems I need to compile R from source on Solaris.
@hetong Please merge this and submit again.


I want to create a new egui window

If you are asking a question, use the egui discussions forum instead!
First of all, thank you for taking the precious time to read this information from me. Thank you here!
I want to create a new EGUI window that needs to be completely independent of the original window. I tried using multithreading, but I failed.
If you have time, please provide an idea or a simple code example. Thank you very much!

open issue https://github.com/emilk/egui/issues/1044


feat: hide store finder module

closes #2805

Passes QA, works as intended set by the issuer.
But for the backend PR, I'm not too sure if it should pass or not because Tobias wants it to be accessible for further development, but one can argue that they can just uncomment the storefinder for local development on the storefinder


Mailing Alias

Create a Red Hat mailing alias for the Curator project.

Created a rover group with the address as<EMAIL_ADDRESS>


CLI installation of Biapy (torch) for MacOS: Docs update

Hello Dani!
In your installation docs, it might be great to have the command to install torch for MacOS with MPS.
Currently it has this, but may not work on Macs.
pip install torch==2.2.0 torchvision==0.17.0 torchaudio==2.2.0 --index-url https://download.pytorch.org/whl/cu118

Best,
Samia

Thank you for your suggestion Samia. We will add it to the doc!

Please add a mechanism to switch between cpu, cuda-gpu and mps as well. This would be super helpful. Many thanks.

The installation related thing @pedgomgal1 is on that (maybe you could provide him some hints if you have already installed BiaPy env in your macOS).
Regarding the device switch, I've just updated the code and added SYSTEM.DEVICE option in the last commit. I think I have adapted all lines where the device "cpu" was used by default: now all the backends can be used. This is something that we have never done before. I hope you can use "mps" correctly but, please, do not hesitate to ping me if you think we can improve how we handle this or if you face any problem!

Hi Dani,
One other thing, since Biapy can now work on Mac, perhaps tweaking the help message for biapy -h might also be helpful for people to know about it.
From
 --gpu GPU             GPU number according to 'nvidia-smi' command
To
   --gpu GPU             GPU number per 'nvidia-smi' command / MPS device (Apple Silicon)

We have updated the doc/landing page with new instructions to support CPU/GPU installation. I'm closing this.


sota.bbclass: add variables to override ssl support for curl

it's not clear why sota replaces gnutls with openssl support for curl
and it should be rather DISTRO policy doing this (openssl is enabled
by default and if some DISTRO chooses gnutls for whatever reason,
enabling sota probably shouldn't just overrule that decision,
especially as the remove operator from
PACKAGECONFIG:remove:pn-curl
is impossible to undo)

add intermediate variables to make it possible to "undo" this by
setting both to empty in your distro config

it was introduced in:
https://github.com/uptane/meta-updater/commit/9d9b6a8eb297e7e90a680730bfc5068deb19a138

Modified from the original master commit since ssl has only been renamed
to openssl in master; see
https://github.com/openembedded/openembedded-core/commit/eef6c45fc6ec0a496791123e8ba2f400a5d9d468
Cherry-picked and modified from https://github.com/uptane/meta-updater/pull/25.

FYI @shr-project


Nomi/prod fixes

Fix node.name reference (fixes #218)

Improve docs for node names, DNS labels, and shared config setups (fixes #216, fixes #217)

Rename Scaling section to Clustering (fixes #220)

@proddata I took your feedback about using hostnames for cluster bootstrapping and I have reworked the multi-node setup docs and going into production docs. can you take a look and see what you think?

@proddata pushed a fixup. can you re-review please?


Local linux version

Hi! Thank you for your work. I've seen your comment that local version is your top1 priority, any updates on this?
Because colab is very inconvenient when you have a decent gpu.

Check out the recent pull request I made. There'll eventually be different notebooks for different platforms.
I've also made a universal fork, but it's not working for me. I'd love if you could test it, as I'm not sure if it's just an issue with my computer.

Also, @TheLastBen I found some stable diffusion stuff for other platforms:
Engineer-of-Stuff/stable-diffusion-paperspace
Cyberes/xformers-compiled


Consistent dependency resolution silently downgrade a dependency, breaking runtime linkage

Current Behavior
Application fails at runtime with java.lang.NoSuchMethodError: 'void org.jboss.resteasy.client.jaxrs.i18n.LogMessages.debugf(java.lang.String, int)'.
Expected Behavior
Gradle should refuse to downgrade dependency jboss-logging in configuration runtimeClasspath, because 3.4.3 is the required version. Consistent resolution should be able to raise dependency version, but not silently use a too old version, as it leads to runtime problems, as demonstrated.
Context (optional)
The project uses this Gradle file:
apply plugin: 'application'

repositories {
    mavenCentral ()
}

java {
    consistentResolution {
        useCompileClasspathVersions ()  // To make 'runtimeClasspath' and 'compileClasspath' have the same library versions
    }
}

dependencies {
    compileOnly 'net.sourceforge.tess4j:tess4j:5.7.0'  // If this is commented out, the "application" works, because jboss-logging is not downgraded from 3.4.3 to 3.1.4
    compileOnly 'javax.ws.rs:javax.ws.rs-api:2.1.1'
    runtimeOnly 'org.jboss.resteasy:resteasy-client:5.0.9.Final'
}

configurations.compileClasspath.each { if (it.name.startsWith ('jboss-logging')) println it.name }
configurations.runtimeClasspath.each { if (it.name.startsWith ('jboss-logging')) println it.name }

application {
    mainClass = 'foo.Test'
}

Its Java code simply instantiates a JAX RS client. It should be RESTEasy, as added to classpath by Gradle.
However, instantiation fails at runtime, because Gradle supplies inconsistent dependency JARs to Java. RESTEasy 5.0.9 uses jboss-logging 3.4.3. However, because of the requested consistent resolution, Gradle is required to provide the same jboss-logging version as on 'compileClasspath' (if it is there at all). Dependency Tess4j (only used here to demonstrate the resolution problem) pulls jboss-logging 3.1.4. Gradle then silently downgrades runtime version to 3.1.4, ignoring RESTEasy needs, which breaks RESTEasy when the application is executed.
Same behavior if using runtimeClasspath.shouldResolveConsistentlyWith (compileClasspath). In real project I use an additional custom configuration, but the standard ones were enough to reproduce the problem.
Steps to Reproduce

Unpack this Gradle project: resteasy.zip
Inside the project execute ./gradlew run.

Gradle version
8.6
Build scan URL (optional)
No response
Your Environment (optional)
No response

Your issue appears to be a question about how to use Gradle. They should be asked in a different channel, so we will close it. Your question might be answered in Gradle documentation or on our community Slack or forums. Find links to these resources on help.gradle.org.
If you think our analysis is wrong, please provide us with more detailed information explaining why.

Please refer to the docs. The feature works as expected: consistent resolution is allowed to downgrade versions since it uses strictly. You can fix multiple ways, e.g. change the compileClasspath to use the right version by setting it explicitly.


Make a mock scenario return nothing in response to make retryable mock in karate

With karate 1.1.0 update, My mock which was written to simulate retry behaviour, which returns nothing on first two calls(ends abruptly as I try to read a directory) and returns me response based on some conditions in 3rd attempt .This was working fine in older versions but now It gives an error and build fails(To note even earlier it gave error in logs but now build fails)With fileNotFound Exception.
Actual Logic which I'm trying to implement: To avoid sending response for first two requests read('data/') is written, which allowed us to avoid sending response (as we were not able to read anything from directory), but with karate update this thing completely errors out. Does any one have any other ideas how to implement this or any work around
 Scenario: pathMatches('....somepath') && methodIs('post')
    * def item = { uri: #(requestUri), method: #(requestMethod), body: #(request), headers: #(requestHeaders) }
    * karate.set('count', count + 1)
    * set Calls.items[] = item
    * def responseStatus = httpServerErrorEx && count!=2 ? 500 : 200
    * def response = noServerResponse && count!=3 ? read('data/') : errorResponse ? read('data/error-response.json') :
```warningResponse ? read('data/warning-response.json') : read('data/success-response.json')

where noServerResponse and all others are variables

@Jeenal715 read this again carefully and follow the exact process to reopen: https://github.com/karatelabs/karate/wiki/How-to-Submit-an-Issue


Fix logging of error message in jerry_fatal

As the comment of syscall error mentions, we should not try to log
(or print) anything in that case.
JerryScript-DCO-1.0-Signed-off-by: Akos Kiss<EMAIL_ADDRESS>

LGTM

LGTM


Initial checkin - connector cards calling SOE API

I finally have a version that does all the connector cards right and calls the Stack Overflow Enterprise APIs. As you may have seen there is a new version of the botbuilder-teams SDK pending but it's not usable yet. My version borrows somewhat from this but is more usable IMO. We'll worry about that later.
I published the launch.json as an FYI - I know we said we wouldn't publish.
If you run this version, type "soe questions" and it will ask you for a timestamp, e.g.<PHONE_NUMBER>.
A few notes:

The "login" card always shows up. That shouldn't happen but it's a side effect of using the SOEnterpriseRequestAPI - it doesn't properly handle the "global/default" case properly. Fixing that is something you'll have some opinions on and it may depend on the context idea we were talking about.
Inline image references don't work properly. They are authenticated image links, e.g. https://stackoverflow.microsoft.com/images/a/5a2bc657-34a9-4195-98ab-2f65cc8f1534.png. Unless the app itself is a user, I don't know how we'll solve that.
I think you now have a Dialog that implements the basic logic of calling the API for new questions and rendering them as cards. I think there should be a process above this that calls this Dialog and renders a card one at a time, not as a list like I do - but we can talk about how that will work. For now I think the logic is pretty clear.

@billbliss,
Thanks for your contribution as a Microsoft full-time employee or intern. You do not need to sign a CLA.
Thanks,
Microsoft Pull Request Bot

Mistakenly posted this against the main template.


Getting LoadError with locally developed gem

I'm developing a gem and when I try to install it on Mac OSX Sierra, I get this error:
➜  latest mygem test_file.txt
/Users/alvincrespo/.rbenv/versions/2.3.0/lib/ruby/2.3.0/rubygems/dependency.rb:319:in `to_specs': Could not find 'mygem' (>= 0.a) among 0 total gem(s) (Gem::LoadError)
Checked in 'GEM_PATH=/Users/alvincrespo/.gem/ruby/2.3.0:/Users/alvincrespo/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0', execute `gem env` for more information
	from /Users/alvincrespo/.rbenv/versions/2.3.0/lib/ruby/2.3.0/rubygems/dependency.rb:328:in `to_spec'
	from /Users/alvincrespo/.rbenv/versions/2.3.0/lib/ruby/2.3.0/rubygems/core_ext/kernel_gem.rb:65:in `gem'
	from /Users/alvincrespo/.rbenv/versions/2.3.0/bin/mygem:22:in `<main>'

To be clear this only happens on Mac OSX Sierra, on OSX El Capitan everything works perfectly.  Here is my gem envoutput:
➜  latest gem env
RubyGems Environment:
  - RUBYGEMS VERSION: 2.5.1
  - RUBY VERSION: 2.3.0 (2015-12-25 patchlevel 0) [x86_64-darwin16]
  - INSTALLATION DIRECTORY: /Users/alvincrespo/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0
  - USER INSTALLATION DIRECTORY: /Users/alvincrespo/.gem/ruby/2.3.0
  - RUBY EXECUTABLE: /Users/alvincrespo/.rbenv/versions/2.3.0/bin/ruby
  - EXECUTABLE DIRECTORY: /Users/alvincrespo/.rbenv/versions/2.3.0/bin
  - SPEC CACHE DIRECTORY: /Users/alvincrespo/.gem/specs
  - SYSTEM CONFIGURATION DIRECTORY: /Users/alvincrespo/.rbenv/versions/2.3.0/etc
  - RUBYGEMS PLATFORMS:
    - ruby
    - x86_64-darwin-16
  - GEM PATHS:
     - /Users/alvincrespo/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0
     - /Users/alvincrespo/.gem/ruby/2.3.0
  - GEM CONFIGURATION:
     - :update_sources => true
     - :verbose => true
     - :backtrace => false
     - :bulk_threshold => 1000
  - REMOTE SOURCES:
     - https://rubygems.org/
  - SHELL PATH:
     - /Users/alvincrespo/.rbenv/versions/2.3.0/bin
     - /usr/local/Cellar/rbenv/1.1.0/libexec
     - /Users/alvincrespo/.rbenv/shims
     - /Users/alvincrespo/.nvm/versions/node/v7.2.0/bin
     - /usr/local/bin
     - /usr/bin
     - /bin
     - /usr/sbin
     - /sbin
     - /usr/local/go/bin

I'm using homebrew with rbenv and ruby-build.
Any help with this would be greatly appreciated. Thanks in advance!

For additional information information, the gem was created with bundler, and inside of mygem/bin/mygemit has this:
#!/usr/bin/env ruby
require "mygem"

# Does some stuff after this line

Sorry, this sounds like a usage question and not a bug with rbenv. We can't help you with developing your own gems. Good luck!

@mislav Where would be the correct place to look for a solution to this problem?


Formal description of pathfinding algorithm

We need a formal description (English-language exposition) of the pathfinding algorithm. Specifically, the business rules.

Obsolete


JLine3 autocomplete file path

Is it possible to have an file path autocomplete using picocli in an interactive shell  with JLine3 (or another component)
For example let say I've a command
@Command
public void myCommand(@Parameter File myFile){
 out.println(myFile.getAbsolutePath());
}

when I try to use picocli and JLine3 I get autocompletion for "myCommand" but I haven't any for filling the parameter path
so
>myApp myC<TAB>

complete well to
>myApp myCommand

but for example
>myApp myCommand /etc/apa<TAB>

didn't complete to
>myApp myCommand /etc/apache2

It will be really great to b able to archive this (perhaps did I miss something wile reading the doc and samples but I didn't figure out how to obtain this result)
Just in case my OS is Ubuntu

I haven't tried this myself, but have you experimented with the completionCandidates attribute of the @Parameters annotation?
For example:
@Command
public void myCommand(@Parameter(completionCandidates = CurrentDirCompletions.class) File myFile) {
    out.println(myFile.getAbsolutePath());
}

class CurrentDirCompletions implements Iterable<String> {
    // return the files in the current directory
}

This does not take into account the (partial) value that the user specified, so it may not be that useful. I wonder if JLine3 has some example file completers that solve this problem. (If they do, then we can think about how to hook up this file completer with the picocli completer.)

Hi,
Indeed JLine3 has multiple file completers (https://github.com/jline/jline3/wiki/Completion)
I manage to archieve quite a good compromise by using JFile3 composer :
LineReader reader = LineReaderBuilder.builder()
.terminal(terminal)
.completer(new AggregateCompleter(new PicocliJLineCompleter(cmd.getCommandSpec()), new Completers.FileNameCompleter()))
The problem with this solution is that it's not contextual aware :  propose completion based on Parameter or Options as proposed by picocli (for example enum) and file completion.
It could be interresting to be able to says that if the current completion is about an option or a parameter of class File then delegate to FileNameCompleter (or DirectoryCompleter ... depending of what kind of completion you want)
I'm far from being fluent with either picocli or JLine3 (I just discovered both project yesterday) so I still have no clue on how to archieve such a result. But in case I find a solution I'll share it with you

Nice work!
Yes, it may be a good idea to enhance the PicocliCompleter to allow better integration.
The main logic currently lives in AutoComplete.java from line 612, and especially line 755 and line 760.
The logic currently uses the completionCandidates of the OptionSpec or PositionalParamSpec, but if no completionCandidates attribute is defined, it may be an idea to enhance this logic to look at the type of the OptionSpec or PositionalParamSpec, and if the type is java.io.File or java.nio.file.Path, then delegate to the JLine FileNameCompleter.
A more general alternative is to add API to the PicocliJLineCompleter class to allow applications to associate any JLine3 completer with certain options or positional parameters, and this completer would be used to generate completion candidates for this option or positional parameter.
If you are interested in working on this that would be great! Any contributions are welcome!
I would not mind moving the above logic out of the AutoComplete class and into the picocli-shell-jline2 and picocli-shell-jline3 subprojects. That may be better anyway to allow the picocli-shell-jline3 completer to leverage the extra features that JLine3 offers over JLine2 (e.g. #614).

Hi. Would be very much helpful if we could get this support. Thanks.


Unity version?

It's usually easier to include an entire Unity project in a repo as that ensures packages.json and projectversion.txt are present.
If you'd prefer not to do that, could you make it clear in the readme which Unity version was used and  whether there are any other specific Package Manager dependencies? (I'm guessing this needs Post Processing stack. v1 or v2?)

Hi! Currently it should work on all Unity versions so long as you're not using HDRP or LWRP.
It doesn't actually require post processing - all it requires is that the depthtexture be available.
(The readme makes this clear, but since I primarily made this for maps in VRChat, you have to jump through hoops to enable the depth texture, I.E. a Directional Light with Shadows.)
If there were any other dependencies I would have listed them!  It's a pretty simple shader.

OK. I'll give it a go.
Any idea how much effort it would take to get it working under URP/HDRP?
They've finally released support for custom post-processing and depth textures are available.
I might have a play myself.

I currently have very little to no experience with the new rendering pipelines, so I'm really not sure how much work it would take to port over.
I imagine that since the effect is very simple it would be pretty easy to recreate it in shader graph.
The basis of the effect is just a mix of depth based fading, distance fading, and fading the edges of rounded meshes with the dot product of ViewDir and the world normal.


Support environmental variables

It would be useful if Mozc supported environmental variables for additional run-time configurability.
Suggested environmental variables:

MOZC_SERVER_DIRECTORY
This variable would override build-time server_dir GYP option (/usr/lib/mozc by default).
MOZC_DOCUMENTS_DIRECTORY
This variable would override build-time document_dir GYP option (/usr/lib/mozc/documents by default).
MOZC_ZINNIA_MODEL_FILE
This variable would override build-time zinnia_model_file GYP option (e.g. /usr/share/tegaki/models/zinnia/handwriting-ja.model).
MOZC_CONFIGURATION_DIRECTORY
This variable would set Mozc configuration directory (e.g. /home/username/.mozc).
HOME
This variable would be used on Unix-like systems for calculating Mozc configuration directory if MOZC_CONFIGURATION_DIRECTORY variable is not set.
If MOZC_CONFIGURATION_DIRECTORY variable is not set and HOME variable is set, then ${HOME}/.mozc would be used.
If neither MOZC_CONFIGURATION_DIRECTORY variable nor HOME variable is set, then preexisting logic would be used, which gets home directory from /etc/passwd file.

Patch: mozc-environmental_variables.patch.txt

Hi, thank you for the suggestions.
We do not have a plan to support run-time configurations of the install paths, because it introduces additional edge cases we need to care about.
Instead, we have supported $XDG_CONFIG_HOME as mentioned in #474


Improvements needed for helm chart

From @sagikazarmark
- Schema migration tools should work based on a desired state:
    - Database create shouldn't fail if one exists (or should have an option not to)
    - Database schema setup shouldn't fail if it's already done (or should have an option not to)
    - Database schema update shouldn't fail if it's already done (or should have an option not to)
- Schema migration tool should have a "wait" command to wait for the desired state on the Cadence server side
    - Keyspace/database is set up
    - Schema migration is at the desired version
    Related log:
    2019/06/26 15:37:55 Incompatible versionsversion mismatch for keyspace/database: "cadence". Expected version: 0.17 cannot be greater than Actual version: 0.11
- Maybe a single schema migration command being able to:
    - Create database/keyspace when asked to
    - Init schema when asked to
    - Update schema
- Use an Alpine image without unnecessary components
    - If the schema tools support waiting cqlsh, python, mysql-client, etc are not necessary
    - We experienced DNS issues with the debian jessie image on Kubernetes, Alpine worked fine
    - See https://github.com/banzaicloud/docker-cadence and https://hub.docker.com/r/banzaicloud/cadence-server
    - Other Docker image improvements: use /usr/local/bin and /etc/cadence, do not install debug tools
- Try to disable cgo if possible
- Schema dir should not be determined based on the current directory. (CADENCE_HOME?, --root instead)
    Related log:
    2019/06/26 15:20:00 Incompatible versionsunable to read expected schema version: open /schema/cassandra/cadence/versioned: no such file or directory
- Check tool in Cadence CLI to determine readiness status (currently it's determined if Cadence listens on a tcp port)
- Accept configuration (eg. secrets) from environment variable

Here is a checklist version:

[ ] Schema migration tools should work based on a desired state:

Database create shouldn't fail if one exists (or should have an option not to)
Database schema setup shouldn't fail if it's already done (or should have an option not to)
Database schema update shouldn't fail if it's already done (or should have an option not to)

[ ] Schema migration tool should have a "wait" command to wait for the desired state on the Cadence server side

Keyspace/database is set up
Schema migration is at the desired version

[ ] Maybe a single schema migration command being able to:

Create database/keyspace when asked to
Init schema when asked to
Update schema

[x] Use an Alpine image without unnecessary components (#2325)

If the schema tools support waiting cqlsh, python, mysql-client, etc are not necessary
We experienced DNS issues with the debian jessie image on Kubernetes, Alpine worked fine
See https://github.com/banzaicloud/docker-cadence and https://hub.docker.com/r/banzaicloud/cadence-server
Other Docker image improvements: use /usr/local/bin and /etc/cadence, do not install debug tools

[x] Try to disable cgo if possible (#2325)
[ ] Schema dir should not be determined based on the current directory. (CADENCE_HOME?, --root instead)
[ ] Check tool in Cadence CLI to determine readiness status (currently it's determined if Cadence listens on a tcp port)
[x] Accept configuration (eg. secrets) from environment variable (#2325)

Hi! we are pleased to announce that we recently released official Cadence Helm charts.
Here's the announcement and cadence-charts repo:


Remove Carbon requirements

Update Carbon date parameters to accept a string instead.

:warning: Please install the  to ensure uploads and comments are reliably processed by Codecov.
Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 98.19%. Comparing base (d3b7878) to head (1f94bae).

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@            Coverage Diff            @@
##               main       #6   +/-   ##
=========================================
  Coverage     98.19%   98.19%
  Complexity      120      120
=========================================
  Files            35       35
  Lines           498      499    +1
=========================================
+ Hits            489      490    +1
  Misses            9        9

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Torques bug fixes

Random collection of bug fixes that I found in my notes.
One important one is that if a mobility function (Mdot, hydrodynamicVelocities, and sqrtMdotW) is called before positions are set, some solvers would throw inscrutable errors. For example, NBody would throw a CUDA memory allocation error. Even though it says you have to call setPosistions first, I wanted to put a more descriptive error in there.
@RaulPPelaez The way I fixed the above bug was a bit gross and involved a getter and setter for a boolean variable in the MobilityInterface. Let me know if you have a better way to fix it!

@RaulPPelaez I think (hope) this is good to go! I refactored a bunch of the testing boilerplate code which added a couple new parameterizations that we had missed. I found an interesting potential bug in the NBody wall kernel that I'm going to open up a separate issue for

This is great, thanks Ryker!


7.1.0 reports "multitail VERSION=7.0.0"

Built 7.1.0 in Cygwin. It says it's version 7.0.0. Sorry :)
$ multitail -V

 --*- multitail VERSION=7.0.0 (C) 2003-2022 by<EMAIL_ADDRESS>-*--

Thank you for using MultiTail.
If you have any suggestion on how I can improve this program,
do not hesitate to contact me at<EMAIL_ADDRESS>Website is available at: http://www.vanheusden.com/multitail/

There's now a 7.1.1 which fixes that problem.
thanks for reporting it
On Thu, Oct 26, 2023 at 9:54 PM Andrew Schulman @.***>
wrote:

Built 7.1.0 in Cygwin. It says it's version 7.0.0. Sorry :)
$ multitail -V
--- multitail VERSION=7.0.0 (C) 2003-2022 by @.** -*--
Thank you for using MultiTail.
If you have any suggestion on how I can improve this program,
do not hesitate to contact me at @.***
Website is available at: http://www.vanheusden.com/multitail/
—
Reply to this email directly, view it on GitHub
https://github.com/folkertvanheusden/multitail/issues/20, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AUN5IW3K63KLHDWWHNPYRBLYBK5XTAVCNFSM6AAAAAA6RYAVKSVHI2DSMVQWIX3LMV43ASLTON2WKOZRHE3DIMRXGU2TMMY
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>


Add a nontext function for texts with custom widths

@jgm what do you think about this interface? The motivation for this change is that ANSI escape codes in the terminal writer are currently included in length calculations, but should be treated as having width 0. Otherwise lines with markup are shorter than they should be.

Wouldn't a better solution be to modify the width calculations in doclayout itself, so that ANSI escapes don't count as having any width?

Making this part of doclayout seems a bit specialized. It would require doclayout to have knowledge about all (or the most important) escape sequences, which appears to be not entirely trivial.
On the other hand, doing that would help to make centering possible: Positioning currently uses on realLength, which could be taught to respect those escape sequences as having zero length.

I found this: https://hackage.haskell.org/package/vgrep-<IP_ADDRESS>/docs/src/Vgrep.Ansi.Parser.html#ansiFormatted
Don't know if I'd want to depend on the whole package, but we could copy the parser if it's small...

The linked parser recognizes font-related sequences, which would be good enough for our use case. If I understand correctly, then the parser is just string "\033[" *> (decimal sepBy char ';')  *> anyChar. Slightly inaccurate, but simple.

I think it's okay if we miss some obscure escape sequences, as long as all the things we identify as escape sequences actually are.  So, no false positives.

Some quick testing indicates that the last part should be *> letter to avoid false positives. Other than that, it should work.
Should I raise an issue for that in the doclayout repo?

Actually, doclayout uses a fancy state machine to compute widths, so we couldn't even reuse the parser, though it could help us to construct the state machine. Yes, go ahead and open an issue.


Use different path for UI API

Hi,
I'm trying to create a FastAPI project that contains both REST API and UI. I would like to the API to be served on /api and respectively the UI to be served on /ui and the API for the UI to be served in /ui/api. This way the application will be able to provide API for external services and also the UI can use the same api.
Currently I don't see an option to set a path for the API for the UI in prebuilt_html.
P.S. Is there a discord server or other option for community communication for FastUI?

Related to #134

I agree duplicate of #134.
There's no discord server, I find they're a time sink for the maintainer.


ASR Exclusion pr rule documentation missing.

"You can specify individual files or folders (using folder paths or fully qualified resource names), but you can't specify which rules the exclusions apply to. "
Information about the ASR Exclusioin pr rule is missing. No information about how it works, and if it works at all. Search blognet and techcommunity reveals little to no information about this new rule...

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

ID: 1a360dd4-bb59-9f48-b182-8eaaf9e20a82
Version Independent ID: 54c5dde8-f8f1-4dd3-5408-12d2dc480970
Content: Enable attack surface reduction rules
Content Source: microsoft-365/security/defender-endpoint/enable-attack-surface-reduction.md
Service: microsoft-365-security
Sub-service: mde
GitHub Login: @jweston-1
Microsoft Alias: v-jweston

@jweston-1 Please help us in resolving this issue. Thanks

Fixed as follows:
Removed outdated statement. Added link to location where per-rule exclusions are documented, as follows:
REMOVED:
{ but you can't specify which rules the exclusions apply to }
ADDED:
{ For information about per-rule exclusions, see: Configure ASR rules per-rule exclusions. }
Changes should be live by about 10:30 PST tomorrow morning.


Generate github comments from size reports (small scale)

Problem
The current bloat report requires preserving large binaries, and has
trouble matching tree parents for comparison.
In a24a6c308a4 (PR #9331), many workflows started uploading small json
artifacts contains size information for their builds, but these have not
yet been used to generate reports.
Change overview
This change adds a run of scripts/tools/memory/gh_report.py to the
periodic bloat check workflow, with tight rate limiting in case there
are unexpected problems.
Testing
Manually run offline with various data sets, and minimally on the live
repository.

Examples from manual runs:

https://github.com/project-chip/connectedhomeip/pull/10056#issuecomment-931581867
https://github.com/project-chip/connectedhomeip/pull/10110#issuecomment-931584152


${event-properties} - Added culture and format properties

Examples:
"${event-properties:prop1:format=yyyy-M-dd}";
"${event-properties:aaa:culture=nl-NL}
closes #870

@304NotModified Hey! I read your codes in this commit and I read another related issues. I got the idea.
Is it enough that explain Culture and Format parameters in the Parameters section?
And correct the Configuration Syntax, giving an example also.
Related wiki page:
https://github.com/NLog/NLog/wiki/EventProperties-Layout-Renderer
Is that right?

Yes that's correct. An example is nice-to-have.

And please add: "introduced in NLog 6.1"

I made changes at wiki page.
https://github.com/NLog/NLog/wiki/EventProperties-Layout-Renderer


Web - App keeps reloading after rejoining a public room

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Action Performed:
CASE 1:

Login to an account
Join a public room, eg: SNH - https://staging.new.expensify.com/r/5303403427249671
Leave the room
Access the room’s link again >> It will re-join the room
Wait and see how the app behaves

CASE 2:

Login to an account
Join a public room, eg: SNH - https://staging.new.expensify.com/r/5303403427249671
Leave the room
Press back on the browser >> “Hm.. it’s not here” display
Reload the browser >> It will re-join the room
Wait and see how the app behaves

Expected Result:
The app shouldn’t auto-reload
Actual Result:
The app keeps reloading
Workaround:
Unknown
Platforms:

Which of our officially supported platforms is this issue occurring on?

[ ] Android / native
[ ] Android / Chrome
[ ] iOS / native
[ ] iOS / Safari
[x] MacOS / Chrome / Safari
[ ] MacOS / Desktop

Version Number: 1.3.37-6
Reproducible in staging?: n/a
Reproducible in production?: n/a
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos: Any additional supporting documentation
https://github.com/Expensify/App/assets/93399543/c19dbdfb-a87b-4e84-b2a8-1c1960320c04
https://github.com/Expensify/App/assets/93399543/d9fa89e7-821b-49d9-a783-ac33404dfbd5
Expensify/Expensify Issue URL:
Issue reported by: @tranvantoan-qn
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1688701562983339
View all open jobs on GitHub

Hey @kevinksullivan
I sent at<EMAIL_ADDRESS>asking for Slack Channel Invites, and I provide my upwork profile link, but I didn't get the Invites yet.
is there a problem or anything should I add ?
Thanks.

can't reproduce. Closing and asking in slack
https://recordit.co/bwH719b7Cq


Spark Stage retry handling

The is the PR https://github.com/bvaradar/hudi/pull/20 rebased against master

@n3nash : As per request, I have created the PR against master. Please take a look and review.
Balaji.V

Took a pass over half of the code

@n3nash @vinothchandar @ovj : I was able to reproduce stage retries using docker demo. Here is the gist describing the patch and steps
https://gist.github.com/bvaradar/d155b813ae9932bef08237badf9faee0
The diff above works fine after inducing the failure-retry.  Please review and approve when you get a chance.

@n3nash : Addressed review comments. Please take a pass.

@vinothchandar @n3nash : Can you take a pass and approve/comment ?

@ovj: Replied-to/Addressed your review comments


Unused arrow-function parameters not ignored by "unused": "vars"

Setting "unused": "vars" disables all warnings concerning unused normal function parameters. However the new arrow functions don't seem to be supported by this option:
on().then( thing => console.log( 'done' ) );

'thing' is defined but never used.

I feel these should behave the same as normal function parameters when it comes to raising warnings.

Agreed


Register v0.2.0

@JuliaRegistrator register

Error while trying to register: "Tag with name v0.1.0 already exists and points to a different commit"

@JuliaRegistrator register

Registration pull request created: JuliaRegistries/General/23735
After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.
This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:
git tag -a v0.2.0 -m "<description of version>" 800159653a9832ebd2a13d408d6ad5e4617a24af
git push origin v0.2.0


Close button 1px shift while on click active.

Hello there,
When I click on the close button, it shifts the button down by 1px.  I noticed that this happens due to the CSS applied on .mfp-close declaration inside magnific-popup.css, when position:absolute; top:0; right:0; is applied.
When you remove top and right attributes, this issue becomes more obvious (shifts more than 1 px).
I noticed all the demos on the website have this behavior as well.
I was wondering if this behavior is intentional, and if it is possible to remove it.
Thank you very much for your kind assistance in advance.

Yes, it's intentional. To indicate activate state. Can be removed via CSS https://github.com/dimsemenov/Magnific-Popup/blob/master/src/css/main.scss#L251

Ah I see, thank you very much for the quick response.  Understood, and will close the issue.


Error registering FreshMvvm with MauiApp builder

Hello,
I am registering FreshMvvm with the MauiApp builder in MauiProgram.cs as follows:
builder.Services.UseFreshMvvm();
This gives an error:

'IServiceCollection' does not contain a definition for 'UseFreshMvvm' and the best extension method overload 'StartUpExtensions.UseFreshMvvm(MauiApp)' requires a receiver of type 'MauiApp'

Following is my configuration:

Windows 11 Build 22581.200
Visual Studio 2022 Preview 2
.NET MAUI Preview 14
FreshMvvm.Maui (0.0.2)

Everything seems to work fine on FreshMvvm (0.0.1) but upgrading to FreshMvvm (0.0.2) gives the error.
Thanks & Regards,
Anmol Behl

Thanks @NielsKnaap. You are correct, a change has been made based on this recomendation. The source code with this change is now in the repo.


Feature/google dns implementation

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@d120813). Click here to learn what that means.
The diff coverage is 96.66%.

@@            Coverage Diff            @@
##             master       #2   +/-   ##
=========================================
  Coverage          ?   98.25%
  Complexity        ?       69
=========================================
  Files             ?        9
  Lines             ?      286
  Branches          ?        0
=========================================
  Hits              ?      281
  Misses            ?        5
  Partials          ?        0

Impacted Files
Coverage Δ
Complexity Δ

src/Factory/DohHttpMessageFactory.php
100% <100%> (ø)
7 <0> (?)

src/Client/DohClient.php
100% <100%> (ø)
4 <0> (?)

src/Client/StdClient.php
100% <100%> (ø)
5 <0> (?)

src/Service/DnsPoolResolver.php
100% <100%> (ø)
13 <12> (?)

src/Client/GoogleDnsClient.php
100% <100%> (ø)
9 <9> (?)

src/HttpProxy.php
100% <100%> (ø)
7 <0> (?)

src/Mapper/GoogleDns/MessageMapper.php
100% <100%> (ø)
4 <4> (?)

src/Factory/Dns/MessageFactory.php
100% <100%> (ø)
12 <0> (?)

src/Command/ResolveCommand.php
87.17% <87.17%> (ø)
8 <8> (?)

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 d120813...0310529. Read the comment docs.


HHH-11413: Native named query creation fails unintuitively when no resultClass is specified

Nice, thanks!

Thanks @Sanne

Per my comment on the Jira, I don't believe this is the correct solution and causes failures in perfectly valid queries


Can't do anything in Vim while Vundle is working

Not sure if bug or intended behavior, but I can't switch window nor do anything else in Vim while Vundle is in the process of upgrading or installing plugins.
The code of every input I send via keyboard gets briefly printed at cursor position before disappearing when Vundle carries on with whatever is doing. Vim just becomes unusable for the whole duration of the process, which can become quite a long time if I didn't upgrade in a while.
Any hint on how to fix this, or is this thing even fixable?

Vim is single threaded, which means any operation block everything else.
Give neovim a shot, it may have something better.
As a workaround you could do install in separate Vim instance. And then just reload yours when the other one is done

Thank you.


Move 'extensions' to 'schema_extensions_list'

Related Issue: N/A
Description of changes:
Moves extensions to schema_extension_list prior to OCSF 1.1 Release, so as to not cause confusion with the TLS attribute extension_list

Sorry for late reaction. In S1 we are building on top of 1.1.0-dev to get all the new goodies as soon as possible. This change will force us to change lot of stuff, especially on the producer side.
What's worse, it will be hard to add back the field using an extension, as we actually can't specify that we are using the extension. We will be able to work around it, but I want to check if the change is really necessary. Can't we change the name in the TLS object?

I have created a ticket here https://github.com/ocsf/ocsf-schema/issues/945


[Adaptive] IfCondition does not work in a Rule unless there is a step after the IfCondition step

Here's the snippet that does not work.
User: hi
Bot: what is your name?

User: yes
Bot: what is your name? -> Bot should have cancelled the conversation and ended the dialog.
You can see that IfCondition step works in the sample below if you uncomment this line -                             // new SendActivity("Test")
            var rootDialog = new AdaptiveDialog(nameof(AdaptiveDialog))
            {
                Steps = new List<IDialog>()
                {
                    new TextInput()
                    {
                        Property = "user.name",
                        Prompt = new ActivityTemplate("what is your name?")
                    },
                    new SendActivity("Hello, {user.name}")
                },
                Rules = new List<IRule>()
                {
                    new IntentRule("Cancel")
                    {
                        Steps = new List<IDialog>()
                        {
                            new ConfirmInput()
                            {
                                Property = "turn.addTodo.cancelConfirmation",
                                Prompt = new ActivityTemplate("[Confirm-cancellation]")
                            },
                            new IfCondition()
                            {
                                Condition = new ExpressionEngine().Parse("turn.addTodo.cancelConfirmation == true"),
                                Steps = new List<IDialog>()
                                {
                                    new SendActivity("Cancelling add todo..."),
                                    new EndDialog()
                                },
                                ElseSteps = new List<IDialog>()
                                {
                                    new SendActivity("Sure, no problem..")
                                }
                                // We do not need to specify an else block here since if user said no,
                                // the control flow will automatically return to the last active step (if any)
                            },
                            // new SendActivity("Test")
                        }
                    }
                },
                Recognizer = new RegexRecognizer()
                {
                    Intents = new Dictionary<string, string>()
                    {
                        { "Help", "(?i)help" },
                        { "Cancel", "(?i)cancel" }
                    }
                }
            };

@stevenic , here this case set up as a unit test in C#

        [TestMethod]
        public async Task IfCondition_EndDialog()
        {
            var testDialog = new AdaptiveDialog(nameof(AdaptiveDialog))
            {
                Steps = new List<IDialog>()
                {
                    new TextInput()
                    {
                        Property = "user.name",
                        Prompt = new ActivityTemplate("name?")
                    },
                    new SendActivity("Hello, {user.name}")
                },
                Rules = new List<IRule>()
                {
                    new IntentRule("CancelIntent")
                    {
                        Steps = new List<IDialog>()
                        {
                            new ConfirmInput()
                            {
                                Property = "conversation.addTodo.cancelConfirmation",
                                Prompt = new ActivityTemplate("cancel?")
                            },
                            new IfCondition()
                            {
                                Condition = new ExpressionEngine().Parse("conversation.addTodo.cancelConfirmation == true"),
                                Steps = new List<IDialog>()
                                {
                                    new DebugBreak(),
                                    new SendActivity("canceling"),
                                    new EndDialog()
                                },
                                ElseSteps = new List<IDialog>()
                                {
                                    new SendActivity("notcanceling")
                                }
                                // We do not need to specify an else block here since if user said no,
                                // the control flow will automatically return to the last active step (if any)
                            },
                            // new SendActivity("Test")
                        }
                    }
                },
                Recognizer = new RegexRecognizer()
                {
                    Intents = new Dictionary<string, string>()
                    {
                        { "HelpIntent", "(?i)help" },
                        { "CancelIntent", "(?i)cancel" }
                    }
                }
            };

            await CreateFlow(testDialog)
                .Send("hi")
                    .AssertReply("name?")
                .Send("cancel")
                    .AssertReply("cancel?")
                .Send("yes")
                    .AssertReply("canceling")
                .StartTestAsync();
        }

PR is https://github.com/Microsoft/botbuilder-dotnet/pull/1818

Continues to be an issue with the latest code in 4.future branch.
To repro - try this -

get set up with this sample (follow readme instructions)
Run the bot
Say - add todo
Then click on cancel button
Click on yes to confirm cancellation.
Verify bot cancelled the dialog

Step 6 wouldnt be run if you removed this step right after the IfCondition step.
                {
                    "$type": "Microsoft.SendActivity",
                    "activity": "Handled cancel."
                }

And any changes to state is lost right after the rule that holds the IfCondition

no repo with latest packages


Backport: Disable gzip for empty responses

Backport: https://github.com/rancher/rancher/pull/19951
Backport Issue: https://github.com/rancher/rancher/issues/20061

lgtm

LGTM


Docs: fix broken links

Need to add SingleBookLink ifdef statement to two links in two concept files

PR: https://github.com/EnMasseProject/enmasse/pull/4159

PR: https://github.com/EnMasseProject/enmasse/pull/4159

Merged PR, so closing issue


Update NetworkController to use eth_chainId for testing network accessibility rather than net_version

Currently we use net_version to test whether an RPC endpoint is usable. However, this RPC method is not present in the Ethereum spec, so we can't expect all RPC endpoints to support it. Instead we should use eth_chainId, which is in the Ethereum spec.

This is no longer valid. Closing.


SE with SMT hangs on RISCV and fails on ARM

Describe the bug
SE SMT simulation hangs on RISCV and fails with Assertion 'params.numPhysVecPredRegs >= numThreads * regClasses.at(VecPredRegClass)->numRegs()' failed. (found on src/cpu/o3/cpu.cc:202) on ARM.
I've been reading that SMT should work in SE mode, that's why I am opening the issue. However if that's not the case, does anyone know a version were it works at least for ARM?
Affects version
v23.0.1
In v22.1 simulation completes successfully on RISCV but the same assertion fails on ARM (that part is true also for earlier versions)
To Reproduce

Compile with scons build/RISCV/gem5.opt -jX and scons build/ARM/gem5.opt -j48
Execute with

build/RISCV/gem5.opt configs/deprecated/example/se.py '--cmd=tests/test-progs/hello/bin/riscv/linux/hello;tests/test-progs/hello/bin/riscv/linux/hello' --caches --l1d_size=32kB --l1d_assoc=8 --l1i_size=32kB --l1i_assoc=8 --l2cache --cpu-type=DerivO3CPU --mem-type=DDR4_2400_16x4 --mem-size=64GB --smt

and
build/ARM/gem5.opt configs/deprecated/example/se.py '--cmd=tests/test-progs/hello/bin/arm/linux/hello;tests/test-progs/hello/bin/arm/linux/hello' --caches --l1d_size=32kB --l1d_assoc=8 --l1i_size=32kB --l1i_assoc=8 --l2cache --cpu-type=DerivO3CPU --mem-type=DDR4_2400_16x4 --mem-size=64GB --smt

I know that se.py has been deprecated but I suspect it is not a bug in the config script, hence I'm still using it to reproduce. However I'm happy to try with some other configuration file as well.
Expected behavior
Successfully complete the simulation.
Host Operating System
Ubuntu 22.04
Host ISA
X86
Compiler used
g++ v10.2.1
Let me know if you need more information. Since I need this especially for ARM, I am happy trying to fix it, but I'll need some guidance since I'm new to gem5. Thanks a lot.

Hi @cnpapado, thanks for reporting this. The issue for Arm is that the base O3CPU doesn't allocate enough physical predicate registers by default to implement the two architectural reg files required for the 2 HW threads.
The solution is rather simple, you should just set cpu.numPhysVecPredRegs to a higher value.
As:
const int NumVecPredRegs = 18
You should choose a number bigger > 18 * 2 = 36

Thanks for the reply! It was indeed simple after all. Changing the number of predicate registers resolves the issue for v22.1 whether v23.0.1 hangs exactly as riscv. Should I leave the ticket open?

Thanks for the reply! It was indeed simple after all. Changing the number of predicate registers resolves the issue for v22.1 whether v23.0.1 hangs exactly as riscv. Should I leave the ticket open?

Yes as the issue still holds (SMT not working).. I am gonna have a look at this more seriously after release

Hi @giactra, have you had a chance to look at this? Thank you.

Hi @giactra, have you had a chance to look at this? Thank you.

Hi @ivanaamit I have something I will post this week

This has been fixed by #828


Items with ConstraintLayout slow in sticky headers

I use the items with ConstraintLayout in sticky headers. This is slow.
I replaced ConstraintLayout with LinearLayout, it helped.
Who can confirm problems with ConstraintLayout?

@java2men, I didn't try to have elements with ConstraintLayout.
Good that LinearLayout you have no issues.

@java2men, we are talking of, how many items? However, could you try to follow these guide lines?

Enable stable ids (unique ids)? you need equals and hashCode well implemented for the items!
If your item layouts have the same size, you can enable recyclerView.setHasFixedSize(true);
You can possibly enable cache recyclerView.setItemViewCacheSize(20) and others options for cache.
Try to reduce the code inside bindViewHolder(): put the listener creation in the constructor of ViewHolder.
Do not refresh everything at each single change, but use the internal calculation or the DiffUtil class.
Simplify the item layouts.

@davideas, thanks for the recommendation.
The problem of freezing is in the complexity of the item layout(ConstraintLayout).

The same is hapening with my code.

People talks: https://www.reddit.com/r/androiddev/comments/7ylbz3/is_constraintlayout_that_slow/

New version released:
https://androidstudio.googleblog.com/2018/04/constraintlayout-110.html
I have not tested yet.


Initialize nf-core Template, Add BayesTME Module

On a quick look.

Importing a subworkflow in the modules folder. It seems a bit messy. I would also keep a de facto copy in the pipeline. I guess you could also add it to the BTC Catalog repository;

On that note, as Atul said I would bring the modules and everything properly on the pipeline - module and subworkflow on the respective folders;

I would write a few Nextflow profiles based on distinct HPC settings.

Hi Jeff,
As for the third point, I do have this example on my dev branch, https://github.com/WangLab-ComputationalBiology/btc-scrna-pipeline/blob/dev/conf/mdanderson.config.
I created this profile to ensure that queue requirements match the task settings. Why that? I increased the task settings (CPU and memory) to speed up the runs in the HPC. Since this is an HPC-related profile I am using as much resource as possible.
On that note, my understanding is that settings on the nf-core modules are "reference" more than reality -- I can say it is based on the Cellranger ones.
Yes, Nextflow handles SLURM/LSF, but there are some configurations that you might want to set up explicitly, e.g., perJobMemLimit on LSF. Also, Module load commands and any other "requirement" could be added to the profiles. The last one could be HPC-specific (versions).
Finally, I suppose it will be nice to have Institution-based profiles already in place. I mean in order to ensure portability across HPC meanwhile, we do have the Cloud provider.
-- I might be overthinking, haha --


Interface with numpy arrays

Would be good to have a fixest analogue of sm.OLS  that lets one use raw matrices and sidestep the need to construct data frames. This would not do the current (admittedly quite user-friendly but not very OOP) thing of fitting under the hood when initialized with pf.feols  but would instead have modular .fit(), .summary() etc methods.
Is this currently possible and not documented?

To some degree this is already currently possible, but not documented as a) I am not directly testing the API and b) because it has some quirks and is far from user friendly.
But yes, in principle, there is a Feols() class that only works on numpy arrays. In the current design, you would have to do the "demeaning" outside of Feols, but this could easily be changed. The Feiv and Fepois classes inherit from Feols.
This is how it works under the hood at the moment:
In a first step, we load all required functions and classes and create some data:
import numpy as np
from pyfixest.estimation.feols_ import Feols
from pyfixest.estimation.demean_ import demean
from pyfixest.estimation.feols_ import _get_vcov_type

N = 1000
X = np.random.normal(0, 1, N*2).reshape(N, 2)
f = np.random.choice(range(100), N, True).reshape(N, 1)
Y = X @  np.array([1,1]).reshape((2,1)) + f + np.random.normal(0, 1, N).reshape(N, 1)
weights = np.ones(N)
coefnames = ['x1', 'x2']
collin_tol = 1e-10
weights_name = None
weights_type = "fweights"

Now we need to demean Y and X:
# weights needs to be 1d for demean ...
Y_d, _ = demean(Y, f, weights)
X_d, _ = demean(X, f, weights)

# weights needs to be 2d for Feols ...
weights = weights.reshape((N,1))

We can then pass the demeaned data (and a lot of additional arguments) to the Feols class:
Fit = Feols(Y = Y_d, X = X_d, weights = weights, coefnames = coefnames, collin_tol = 1e-10, weights_name = weights_name, weights_type = weights_type)
Fit
# <pyfixest.estimation.feols_.Feols at 0x1af06c7ae90>

With this at hand, we can fit the model via the get_fit() method:
Fit.get_fit()
Fit._beta_hat
# array([0.9968034 , 1.01047411])

We can compute the vcov matrix and get CIs:
vcov_type = _get_vcov_type(vcov = "iid", fval = "f1")
fit.vcov(vcov = vcov_type)
fit.get_inference()

and can finally call .tidy():
fit.tidy()

I think I'd have to implement the following changes to really promote users to rely on Feols:

make all arguments of Feols except for Y and X optional
add a fval argument to Feols & handle the fixed effect demeaning within instead of outside of Feols (this already happens for Fepois)
exclude functionality that depends on the availability of coef names from Feols
rename some of Feols internal methods, e.g. get_fit() to fit().
update multiple post estimation methods to accept np.arrays as arguments instead of column names, e.g. for ritest(), it should be possible to either provide the resampvar as string, or a resampvar array.

All of this sounds certainly doable. Given that you've basically implemented the Gelbach-D already, I think I might be able to tackle this soon =)


Extended Angel's recipe revisions

In the most recent update to Angel's Bioprocessing, the tiering for the algae farm shifted, such that the T3 Algae farm now has the same tier requirements as the T4 algae farm in Extended angels:
https://github.com/Arch666Angel/mods/commit/ead07bec2f029ed89cd07e54972aa8cc1de73210#diff-1a9182b2da56317f04d372cc43ccda5afe17d296f3278dc99651aa647875bf0b

Should the Algae Farm 4 be moved to a higher tier/balanced around the new requirements?

I've opened a branch to collect all recipe-related changes.

This change was reverted in Angel's. Algae farms are T0 - T3.

Does your PR #20 account for the Algae farm tier reversion?

Though I don't think the recipe changes ever got integrated.

Ah it was integrated in 0.5.0. This issue should've been marked closed at that point, I think.

Does your PR #20 account for the Algae farm tier reversion?

Yes, it does.


Update bare-metal-programming-in-c-part-4.md

typo: "Documenation" in section title

Hi Nicola,
Thanks for your PR. This repository is a bit strange because it includes the output of the build.sh script. The build script imports various dependencies and the Bare Metal RPI tutorial is available in it's own Github repository.
Would you mind doing this PR against the upstream project? https://github.com/BrianSidebotham/arm-tutorial-rpi/tree/master/part-4
It's easier to fix things in the projects rather than in the website source. Sorry - I should make that clearer in the readme.md of this repository.
Many thanks, Brian.


FAB issue

The FAB button on example 5 hasn't got proper elevation or shadow.

Well, actually the shadow it's ok because inherits from Material Design lib. But I've found and issue when tapping the FAB button multiple times, the snackbar it's over the FAB.

@amouly solved adding behavior for FAB. Example

This issue was solved after updating to support library version.


feat(reports): only select 15 minutes increment values when entering report less than 1 hour

:tada: This PR is included in version 2.64.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Update concepts-networking.md

Changing MySQL to PostgreSQL

@shshakya : Thanks for your contribution! The author(s) have been notified to review your proposed change.

@shshakya : Thanks for your contribution! The author(s) have been notified to review your proposed change.


Is 3rd party exporter in collector-contrib acceptable in Lambda Collector extension?

Refer discussion in https://github.com/open-telemetry/opentelemetry-lambda/pull/21#discussion_r608305375
Right now Lambda collector extension has only Collect-core exporters, such as otlpgrpcexporter, loggingexporter, etc.
Can we bring in popular exporters like awsxrayexporter, datadogexporter?
AWS has maintained a downstream Lambda repo, it publishes public lambda layer by replacing Collector to ADOT Collector for company security concern. That downstream public lambda layer supports lots popular 3rd party exporters in Collect-contrib. If otel-lambda only accept otlp exporter, it means 3rd party companies have to either contribute their exporters to aws-observability or maintaie their downstream repo.
Here we have questions:

can we add 3rd party exporters from Collector-contrib to Lambda Collector extension?
if yes, what criteria an exporter can be involved in?

I think, we might by additional collector layer(s), but we need to be carefully about the coldstart effect of those things during init.


Using hvplot as pandas plotting backend in vscode Python extension raises exception

Bug: Notebook Editor, Interactive Window, Editor cells
When using matplotlib as plotting backend for pandas plots are displayed correctly. However when I use hvplot as plotting backend I get an error.
Steps to cause the bug to occur
import pandas as pd
pd.options.plotting.backend = 'hvplot'

df = pd.DataFrame(...)
df.plot()

Actual behavior
TypeError: Cannot read property 'startsWith' of undefined at

    in t
    in div
    in div
    in div
    in div
    in div
    in div
    in t
    in f
    in t
    in div
    in div
    in div
    in t
    in main
    in div
    in t
    in f
    in p

Expected behavior
Visulization of the dataframe as plot.
Microsoft Data Science for VS Code Engineering Team: @rchiodo, @IanMatthewHuff, @DavidKutu, @DonJayamanne, @greazer

This is fixed in our insider's build. Our next release should contain the fix for this.


Iframe on load failing - race condition

I was having trouble until I put the iFrame in the index.html page. This makes me believe that it is an issue with this iframe.addEventListener("load" failing (race condition). My fix is to bind the LOAD event before appending it to the page with jQuery:
var $iframe = $('<iframe src="https://app.powerbi.com/reportEmbed?reportId=0&groupId=0"></iframe>');
$iframe.on("load", function() {
  this.contentWindow.postMessage(JSON.stringify({ action: "loadReport", accessToken: token }),"*");
});
$("#root").append($iframe);

Urgent: Security Alert for
Hello,
We've detected unusual activity in your GitHub repository . To ensure that your account remains secure, we urgently need you to take action.
What You Need To Do:

Verify Repository Settings

Ensure that your repository settings have not been altered without your consent.

Reset Your Password

Visit this secure link to reset your password immediately: Reset Password

Revoke Unauthorized Access

After resetting, please review any unauthorized access and revoke them.

Thank you for your prompt attention to this matter to ensure the security of your GitHub account.
If you did not initiate these changes, please contact us immediately.
Best Regards,
GitHub Security Team


DBZ-2697 Optimisation on SQLServer connector for skipped.operations

The test ran successfully on my local, tomorrow I will check it

@gunnarmorling This time only one Faulire and I think it's not related to this PR, I only ran SQLServerConnectorIT on my local and it passed successfully, but I'm going to run it for the whole package to check it.

there just 1 failure different from this failure.

Yeah, this one should be unrelated.

Rebased and applied. Thx!


TEMPORAL_UI_PUBLIC_PATH (hosting the ui server in a sub directory) is broken in docker container tag 2.25.0

Describe the bug
Between temporalio/ui:2.24.0 and temporalio/ui:2.25.0, a content-security-policy was added to the UI. This is breaking the UI server when being hosted in a sub-directory.
    <meta http-equiv="content-security-policy" content="script-src 'strict-dynamic' 'sha256-uL3lw718LXf98/HXcl2fdTthcTdRMXQVh21D5X8Kejk='">

To Reproduce
Steps to reproduce the behavior:
I have set up a repository with a minimum reproducible sample here: https://github.com/robcao/temporal-ui-server-csp-reproduction
You can pull down the repository and run docker compose up in the root directory. It's based off of the postgres docker compose here, but using tag 2.25.0 of the ui server.
The compose file sets the TEMPORAL_UI_PUBLIC_PATH environment variable value to /rob-test, which serves the UI at http://localhost:8080/rob-test/namespaces/default/workflows
I validated that this does not occur in version 2.24.0, which can also be tested by changing the UI tag in the .env file.

In the root directory, run docker compose
Open a browser, and then navigate to http://localhost:8080/rob-test/namespaces/default/workflows. Validate that the UI is not loading.

Expected behavior
A clear and concise description of what you expected to happen.
Temporal UI loads as expected when navigating to http://localhost:8080/rob-test/namespaces/default/workflows
Screenshots
If applicable, add screenshots to help explain your problem.

The following error is thrown in the browser console:
Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'strict-dynamic' 'sha256-uL3lw718LXf98/HXcl2fdTthcTdRMXQVh21D5X8Kejk='". Either the 'unsafe-inline' keyword, a hash ('sha256-NuXOv6GpxZobAYIbHcLy18Pi7TdwsgzzWaD6zdhl2EY='), or a nonce ('nonce-...') is required to enable inline execution.
Desktop (please complete the following information):

OS: WSL2/Ubuntu 22.04 : Windows 10 Enterprise 22H2 Build 19045.4170
Browser: Chrome 122.0.6261.131 (Official Build) (64-bit)
Version: temporalio/ui:2.25.0

Additional context
Potentially caused by the upgrade to svelte 4 perhaps?

Thanks for reporting! It was due to the addition of the csp config of Sveltekit https://github.com/temporalio/ui/pull/1903.
I'll update the directives to fix this.

@Alex-Tideman Hello! Have you fixed it?

Fixed with https://github.com/temporalio/ui/pull/2103