Git difftool ridiculously slow in Cygwin/MinGW

I noticed that git difftool is very slow. An delay of about 1..2 seconds appears between each diff invocation.
To benchmark it I have written a custom difftool command:
#!/bin/sh
echo $0 $1 $2

And configured Git to use this tool in my ~/.gitconfig
[diff]
    tool = mydiff
[difftool "mydiff"]
    prompt = false
    cmd = "~/mydiff \"$LOCAL\" \"$REMOTE\""

I tested it on the Git sources:
$ git clone https://github.com/git/git.git
$ cd git
$ git rev-parse HEAD
1bc8feaa7cc752fe3b902ccf83ae9332e40921db
$ git diff head~10 --stat --name-only | wc -l
23

When I time a git difftool with 259b5e6d33, the result is ridiculously slow:
$ time git difftool 259b5
mydiff /dev/null Documentation/RelNotes/2.6.3.txt
...
mydiff /tmp/mY2T6l_upload-pack.c upload-pack.c

real    0m10.381s
user    0m1.997s
sys     0m6.667s

By trying a simpler script it goes much faster:
$ time git diff --name-only --stat 259b5 | xargs -n1 -I{} sh -c 'git show 259b5:{} > {}.tmp && ~/mydiff {} {}.tmp'
mydiff Documentation/RelNotes/2.6.3.txt Documentation/RelNotes/2.6.3.txt.tmp
mydiff upload-pack.c upload-pack.c.tmp

real    0m1.149s
user    0m0.472s
sys     0m0.821s

What did I miss?
Here the results I got
| Cygwin | Debian | Ubuntu | Method   |
| ------ | ------ | ------ | -------- |
| 10.381 |  2.620 | 0.580  | difftool |
|  1.149 |  0.567 | 0.210  | custom   |

For the Cygwin results, I measured 2.8s spent in git-difftool and 7.5s spent in git-difftool--helper. The latter is 98 lines long. I don't understand why it is that slow.
This issue is the copy of my SO question (http://stackoverflow.com/questions/34028497/git-difftool-ridiculously-slow-in-cygwin-mingw)

@nowox This repository is just for the git-scm.com site itself; you might get a better response from the Git for Windows issue tracker at https://github.com/git-for-windows/git/issues.


feature request: add mock data dynamically

Is there a way to add the mock data dynamically in the dev proxy server? Right now from what I understand the mock response is static and baked in to the docker image. I am looking to run this as docker container in k8s cluster.

Could you please explain a bit more what you understand under "add mock data dynamically" and what you'd like to achieve? 🙂

They I want to use dev proxy is as a general purpose mock HTTP server. This gets deployed as a regular kubernetes deployment and in my test environment application uses this mock proxy server instead of making actual API calls. Right now dev proxy has --mocks-file cli flag which points to the location of the mock responses per url.
If I create a docker image I have to bake in the mock response file in to the docker image. Now lets suppose I want to add more mock responses I have to add them in the mock file, rebuild the docker image and deploy it again. Instead of this if there was a way to update the set of mock responses via lets an API call to an already running dev proxy server then this would save a lot of efforts.
Even if the above is not feasible still if we can add support for reading the mock file from lets say S3 that would still be a big help, all I need to do is to restart my dev proxy pods and they get new data from S3.
What do you feel about it?

Have you considered mounting a volume with mocks into the Docker image and having Dev Proxy use mocks from that folder? That way you could separate mocks from the image and be able to add/change them without having to rebuild the image each time. Would that work for your scenario?

Yes, that is the approach we are going with right now. We will have an init container that will populate the PV with mock data and then the dev proxy pod will start. Whenever we update the mock data we would need to restart the dev proxy pod.
In case there is any plan to have this kind of support natively in dev proxy in roadmap do let me know. Thanks!

Are you running the Docker container locally? If so, shouldn't any changes to the files in the volume be reflected automatically without having to restart the container?

Hey @waldekmastykarz , no I am running this on a k8s cluster. Every time we update the mock file we need to restart the pods to read the file again.
On a different topic is it possible to proxy gRPC APIs via dev proxy?

Hey @waldekmastykarz , no I am running this on a k8s cluster. Every time we update the mock file we need to restart the pods to read the file again.

Understood. Say we supported reading files from a different source, how would Dev Proxy know that the mocks file has changed and it should reload it?

On a different topic is it possible to proxy gRPC APIs via dev proxy?

We haven't tried it as far as I know. While we might theoretically be able to intercept requests, if I understand it correctly, we won't be able to examine them because they're binary and we've got no understanding of their shape.

Understood. Say we supported reading files from a different source, how would Dev Proxy know that the mocks file has changed and it should reload it?
Reloading can be done on demand basis. Once new data is uploaded one can restart the deployment. Or maybe one can restart a deployment at some regular interval with Pod Disruption Budget to ensure at least there is one pod running.

On the gRPC front you are right, Dev Proxy will have no idea about the shape of the object. Plus since gRPC operates with HTTP 2 I am not sure if that can also cause some problems? In case you are able to perform mocking with gRPC please do share steps for that.

Reloading can be done on demand basis. Once new data is uploaded one can restart the deployment. Or maybe one can restart a deployment at some regular interval with Pod Disruption Budget to ensure at least there is one pod running.

How would that be different from what you're doing now?
Every time we update the mock file we need to restart the pods to read the file again.

How would that be different from what you're doing now?

If Dev Proxy pull mock data from S3 (or some other source) then I don't need to use persistent volume, plus I don't need to have an init container that runs before Dev Proxy container to pull mock data into PV.

Understood, so you'd only need to restart Proxy so that it can load the latest mocks file.
Have you considered solving it outside of Proxy for example by using curl to download the file when the container starts and before you launch Proxy? If this works it would be the easiest way to go about it because it solves the problem without any Proxy-specific work, which means that you can integrate it with any service/location.
If that's not possible, another solution could be building a separate Proxy plugin that downloads a file and puts it in the right place on disk. We'd need to verify if that's still on time for Proxy to pick it up.

Closing due to lack of further response


Feature/ss design changes

Type

[ ] Bug fix
[ ] New feature
[ x] Improvement to existing feature

Related JIRA Issue(s)

https://www.ebi.ac.uk/panda/jira/browse/ENSWBSITES-254
Importance

Needs merging immediately, for July release.
Description

CSS tweaks to search panel and popular species icons
Views affected

Species Selector page only
Other effects

No test required - cosmetic changes only

[ ] I have checked any requirements for Google Analytics
[ ] I have created any required tests
[ ] The PR has as its final commit a WASM/JS update commit if any Rust files were updated.

Possible complications

None.

The grid of 42 popular species is now not evenly split into three equal-sized rows

Re the rows - doesn't it depend on your browser window size? If the design is responsive, we can't really control that kind of thing.

Re the rows - doesn't it depend on your browser window size? If the design is responsive, we can't really control that kind of thing.

We can control the maximum width of this block, so that it's 3 rows of 14 buttons in the best-case scenario (on a sufficiently wide screen) — and whatever fits the screen width on smaller screens.

Would that fall under the auspices of breakpoints? That's on my list of things to do for August (ENSWBSITES-205)

It might, but for the time being, can we tweak these values in PopularSpeciesPanel.scss, so that its width is no greater than the combined width of 14 popular species buttons plus gaps between them?
It might even be worth importing the values of popular species button dimensions into the PopularSpeciesPanel.scss.

Made additional changes as per conversation.


ensure clean state db on clean host shutdown

We should ensure that if you kill flynn-host cleanly, the state file should have no running entries.
Currently backends receive some events asynchronously from the rest of host state change commits.  This isn't a correctness problem, since cleanup proceeds normally on the next host start as if it was an unclean shutdown, but it is silly.

Flynn is unmaintained and our infrastructure will shut down on June 1, 2021. See the README for details.


More PHP versions

Drupal 7 works with all PHP versions but it seems best to stick with php 5.3 because of some modules. Is it possible to add PHP 5.3 and 5.4 to the list of versions in the VM?

@mooru - Since those versions are no longer supported by the wider PHP community, I've decided to not maintain support for them either. You can modify Drupal VM's configuration to not use one of the repositories to get an updated PHP version, though, and use either Ubuntu 12.04 or CentOS 6 to get a PHP 5.2 or 5.3 version... but I don't recommend it.
I would recommend instead finding out which modules don't work with modern PHP versions and getting those modules updated or at least posting an issue on Drupal.org requesting they be fixed.


add errorlogger that skips warnings

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

5 of 5 (100.0%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.001%) to 99.295%

Totals

Change from base Build<PHONE_NUMBER>:
0.001%

Covered Lines:
3241

Relevant Lines:
3264

💛  - Coveralls

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 5 (0.0%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.2%) to 99.142%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

errors.go
0
5
0.0%

Totals

Change from base Build<PHONE_NUMBER>:
-0.2%

Covered Lines:
3236

Relevant Lines:
3264

💛  - Coveralls


Integrated web browser authentication doesn't work reliably

When I use the OKTA_BROWSER_AUTH=true property in the config.properties file it will very often just sign me into AWS, after I select a Role. It doesn't return to the commandline where I executed the jar-file. It doesn't store a session token for me. If I repeat it many times, it will suddenly work - but only rarely.

This is the behavior I'm seeing as well. The Java browser shows up, I'm prompted to authenticate and enter my Google Authenticator MFA token, and then am presented the list of roles in the Java browser, rather than on the command line.

That's very strange. This has been rock solid for the dozens of cloud ops and devs we have using it. I suspect it's a network environmental issue or a different AWS configuration I hadn't anticipated.
Here's the code responsible for guessing that the AWS SAML signin page has been reached successfully after SAML authentication:
https://github.com/oktadeveloper/okta-aws-cli-assume-role/blob/c9909aa71338209b5eb9141ca4217acfb10452b7/src/main/java/com/okta/tools/authentication/BrowserAuthentication.java#L94-L107
It looks for a form element with an action of https://signin.aws.amazon.com/saml. A decrypting/rewriting web proxy could alter the URLs and break the heuristic there. Do your AWS SAML signins go to https://signin.aws.amazon.com/saml?
If this is AWS China or GovCloud it's quite possible that there is a different endpoint I didn't design for, because we use neither of those.

I'm encountering the same issue here. It worked for me 2, 3 times only
It prompted to authenticate and enter my Okta Authenticator MFA token, and then am presented the list of roles in the Java browser, rather than on the command line.
I'm also seeing a java error while Java browser opened
Exception in thread "JavaFX Application Thread" java.lang.NullPointerException
at com.okta.tools.authentication.BrowserAuthentication.getAwsStsSamlForm(BrowserAuthentication.java:95)
at com.okta.tools.authentication.BrowserAuthentication.getSamlResponseForAws(BrowserAuthentication.java:89)
at com.okta.tools.authentication.BrowserAuthentication.checkForAwsSamlSignon(BrowserAuthentication.java:82)
at com.okta.tools.authentication.BrowserAuthentication.lambda$start$0(BrowserAuthentication.java:69)
at com.sun.javafx.binding.ExpressionHelper$SingleChange.fireValueChangedEvent(ExpressionHelper.java:182)
at com.sun.javafx.binding.ExpressionHelper.fireValueChangedEvent(ExpressionHelper.java:81)
at javafx.beans.property.ReadOnlyObjectPropertyBase.fireValueChangedEvent(ReadOnlyObjectPropertyBase.java:74)
at javafx.beans.property.ReadOnlyObjectWrapper.fireValueChangedEvent(ReadOnlyObjectWrapper.java:102)
at javafx.beans.property.ObjectPropertyBase.markInvalid(ObjectPropertyBase.java:112)
at javafx.beans.property.ObjectPropertyBase.set(ObjectPropertyBase.java:146)
at javafx.scene.web.WebEngine$LoadWorker.updateState(WebEngine.java:1287)
at javafx.scene.web.WebEngine$LoadWorker.dispatchLoadEvent(WebEngine.java:1401)
at javafx.scene.web.WebEngine$LoadWorker.access$1200(WebEngine.java:1280)
at javafx.scene.web.WebEngine$PageLoadListener.dispatchLoadEvent(WebEngine.java:1267)
at com.sun.webkit.WebPage.fireLoadEvent(WebPage.java:2518)
at com.sun.webkit.WebPage.fwkFireLoadEvent(WebPage.java:2362)
at com.sun.webkit.network.URLLoader.twkDidFinishLoading(Native Method)
at com.sun.webkit.network.URLLoader.notifyDidFinishLoading(URLLoader.java:871)
at com.sun.webkit.network.URLLoader.lambda$didFinishLoading$105(URLLoader.java:862)
at com.sun.javafx.application.PlatformImpl.lambda$null$172(PlatformImpl.java:295)
at java.security.AccessController.doPrivileged(Native Method)
at com.sun.javafx.application.PlatformImpl.lambda$runLater$173(PlatformImpl.java:294)
at com.sun.glass.ui.InvokeLaterDispatcher$Future.run(InvokeLaterDispatcher.java:95)
at com.sun.glass.ui.win.WinApplication._runLoop(Native Method)
at com.sun.glass.ui.win.WinApplication.lambda$null$147(WinApplication.java:177)
at java.lang.Thread.run(Unknown Source)

Fixed by #130 but not yet released. A release with this fix in it should be coming soon.

Fixed in release 1.0.3.


"ShouldNotSee" does not work directly after Tap

When switching a page with "Tap" it seems that "ShouldNotSee" is true even if the new page contains the text.

We have investigated this. It turns out that "ShouldNotSee" works fine. The problem which prompted this bug report was caused by the code using QuickTest, not QuickTest itself.


GDScript should be able to manually reimport a file and wait until it's done (EditorFIleSystem.import_file doesn't do anything)

Next steps: make a reproduction project with a workaround and the failure case; and file a bug

Needs to be tracked in Godot Engine org.


Default site port creates preview problems under SSL

Is your proposal related to a problem?

Yes. In my experience, when running a Wagtail site in production using SSL, page previews don't work properly unless you set the site port to 443. This took me some time to figure out, and others have also experienced the same problem:

#1762
#3279

The port is configured in Settings -> Sites -> [Site] -> Port:

Describe the solution you'd like

My suggestion is to change Site.port.default from 80 to 443, considering that 443 also works in development — at least in my experience. I think it's very unlikely for new Wagtail sites to be served without SSL, so I think this would be a sensible default.
Describe alternatives you've considered

We could do any number of the following instead of or in addition to my proposed solution:

Update Site.port.help_text to inform the developer that they might have problems if using port 80 under SSL.
Throw an error or warning when running a site under SSL using something other than port 443.
Update documentation.

Additional context

I'd be happy to make a pull request if any of my suggestions make sense.

port 443 helped me too. thank you. Using wagtail 4.0.4 django 4.0.8. With ssl deployed on heroku. In my case, to get the preview panel to work, I also needed to set X_FRAME_OPTIONS = 'SAMEORIGIN' in my settings file.

+1 on the default 443!
In my case, I use full_url to populate some Open Graph protocol meta tags (a.k.a. social media cards, the ones that show up if you share a link), and they start with http:// if the port is set to 80, and https:// if set to 443, that leads to e.g. Signal not showing the image.


DbContext calls degrade over time

I have noticed all of our DbContext calls getting longer and longer in duration over time. Just after a few hours I can see the calls increasing in execution time. I began replacing all the LINQ queries with direct calls to StoredProcedures still using the DbContext to execute the StoredProcedures but still the call duration degrades over time. It is not any specific query but all DbContext calls.
If you are seeing an exception, include the full exceptions details (message and stack trace).
I do see the below warnings in the Entity logs, we are using a custom Column type
Warning:
No type was specified for the decimal column 'MyColumn' on entity type 'MyType'. This will cause values to be silently truncated if they do not fit in the default precision and scale. Explicitly specify the SQL server column type that can accommodate all the values using 'ForHasColumnType()'.

Exception message:

Stack trace:

Steps to reproduce
We are using a factory to build our DbContext that is then wrapped in a using statement so it is disposed properly.
    public interface IMyContextFactory
    {
        MyContext GetMyContext();
    }

    public class MyContextFactory : IMyContextFactory
    {
        public MyContext GetMyContext()
        {
            var contextOptions = new DbContextOptionsBuilder<MyContext>()
                .UseSqlServer(MyDatabaseConnectionString)
                .Options;

            return new MyContext(contextOptions);
        }
    }
        //  sample call to query data
        public List<MyObj> GetObjs()
        {
            using (var context = _myContextFactory.GetMyContext())
            {
               //  stored procedure call
                return context.SelectMyObjs();
            }
        }

    //  stored procedure extension method
        public static List<MyObj> SelectObjs(this MyContext context)
        {
            var objs = new List<Obj>();

            using (var reader = context.ExecuteStoredProcedure_Reader())
            {
                if (!reader.Read())
                {
                    return null;
                }

                while (reader.Read())
                {
                    objs.Add(reader.GetObj());
                }
            }

            return objs;
        }

     //  extension methods to execute the query
        public static DbDataReader ExecuteStoredProcedure_Reader(this MyContext context, List<SqlParameter> parameters,
            int commandTimeout = 0,
            IDbContextTransaction transaction = null,
            [CallerMemberName] string storedProcedureName = null)
        {
            storedProcedureName.ThrowIfNull(nameof(storedProcedureName));

            using (var command = context.Database.GetDbConnection().CreateCommand())
            {
                if (commandTimeout > 0)
                {
                    command.CommandTimeout = commandTimeout;
                }

                command.CommandType = CommandType.StoredProcedure;
                command.CommandText = $"[{context.SchemaName()}].[{storedProcedureName}]";
                command.Transaction = transaction?.GetDbTransaction();

                if (parameters != null)
                {
                    command.Parameters.AddRange(parameters.ToArray());
                }
                context.Database.OpenConnection();

                return command.ExecuteReader();
            }
        }

        public static DbDataReader ExecuteStoredProcedure_Reader(this MyContext context,
            int commandTimeout = 0,
            IDbContextTransaction transaction = null,
            [CallerMemberName] string storedProcedureName = null)
        {
            storedProcedureName.ThrowIfNull(nameof(storedProcedureName));
            return context.ExecuteStoredProcedure_Reader(null, commandTimeout, transaction, storedProcedureName);
        }

Further technical details
EF Core version: 2.1.4, TargetFramework - net471
Database Provider: Microsoft.EntityFrameworkCore.SqlServer
Operating system: Windows Server 2016 with SQL Server 2016
IDE: Visual Studio 2017 15.9.6

@bigswede74 The code above doesn't actually make use of the DbContext except as a means of creating a SqlConnection object. What do you see if you create the connection manually and remove DbContext entirely from the code path?

@ajcvickers The issue happens without StoredProcedure calls as well with direct LINQ calls against the DbContext. I have been replacing the calls with StoredProcedures to see if this fixes the issue but so far with no luck. It does slow the process down somewhat.

@ajcvickers Could the custom column type warnings be causing any issue?

@bigswede74 Understood. But can you change your code to something like this:
public class MyContextFactory : IMyContextFactory
{
    public DbConnection GetMyContext()
    {
        return new SqlConnection(MyDatabaseConnectionString);
    }
}

with appropriate changes to the other methods and test to see if you see the same results?

@bigswede74 It's unlikely it has anything to do with those warnings.

@ajcvickers I will setup this test to see if we are not cleaning up our db connections properly.

EF Team Triage: Closing this issue as the requested additional details have not been provided and we have been unable to reproduce it.
BTW this is a canned response and may have info or details that do not directly apply to this particular issue. While we'd like to spend the time to uniquely address every incoming issue, we get a lot traffic on the EF projects and that is not practical. To ensure we maximize the time we have to work on fixing bugs, implementing new features, etc. we use canned responses for common triage decisions.

@ajcvickers We have determined that our EF logger configuration was causing a new logger to be added every time the context was created. I will open a different issue to figure out how to best configure EntityFrameworkCore logging with Serilog in a windows service.


Add limited support for stdio library

At the moment the examples rely on a discrete copy of tinyprintf to add stdio-like functionality in the examples.
This has been added to the 3rdparty section of the Sources.
The goal is to add stdio support (printf, etc) into the system libraries.

It is the equivalent of adding this code to the user program or the library:
#include <stdlib.h>
#include <stdio.h>
#include <errno.h>
#include <sys/stat.h>

_ssize_t _write_r (struct _reent *ptr, int fd, const void *buf, size_t size)
{
    (void)ptr;
    if ((fd == 0) || (fd == 1) || (fd == 2))
    {
        return (_ssize_t)uart_writen(BOARD_UART, buf, size);
    }
    errno = EBADF;
    return -1;
}

int _close_r (struct _reent *ptr, int fd)
{
    (void)ptr;
    if ((fd == 0) || (fd == 1) || (fd == 2))
    {
        return 0;
    }
    errno = EBADF;
    return -1;
}
int _fstat_r (struct _reent *ptr, int fd, struct stat *st)
{
    (void)ptr;
    (void)st;
    if ((fd == 0) || (fd == 1) || (fd == 2))
    {
        return 0;
    }
    errno = EBADF;
    return -1;
}
int _getpid_r (struct _reent *ptr)
{
    (void)ptr;
    return 0;
}
int _isatty_r (struct _reent *ptr, int fd)
{
    (void)ptr;
    if ((fd == 0) || (fd == 1) || (fd == 2))
        return 1;
    errno = ENOTTY;
    return 0;
}
int _kill_r (struct _reent *ptr, int pid, int sig)
{
    (void)ptr;
    (void)pid;
    (void)sig;
    return 0;
}
_off_t _lseek_r (struct _reent *ptr, int fd, _off_t offset, int whence)
{
    (void)ptr;
    (void)offset;
    (void)whence;
    if ((fd == 0) || (fd == 1) || (fd == 2))
        return (off_t)0;
    errno = EBADF;
    return (off_t)-1;
}
void *_sbrk_r (struct _reent *ptr, ptrdiff_t diff)
{
    (void)ptr;
    (void)diff;
    return NULL;
}

Paste it in and enjoy printf without adding tinyprintf to your projects. The resultant code is larger though.

This has been implemented with a file called "Source/src/bootstrap.c".
The stdio library can safely be added to the binaries now.
To use the stdin/stdout/stderr pipes open the UART peripheral in the application before reading or writing any of the stdio pipes. The baud rate and other characteristics are set in the uart_open call:
	/* Enable the UART Device... */
	sys_enable(sys_device_uart0);
	/* Make GPIO48 function as UART0_TXD and GPIO49 function as UART0_RXD... */
	gpio_function(48, pad_uart0_txd); /* UART0 TXD */
	gpio_function(49, pad_uart0_rxd); /* UART0 RXD */

	/* Enable tfp_printf() functionality... */
	init_printf(UART0, tfp_putc);

	// Open the UART using the coding required.
	uart_open(UART0, 1, UART_DIVIDER_115200_BAUD, uart_data_bits_8, uart_parity_none, uart_stop_bits_1);

	printf("Hello, world!\r\n");


Add sparc64-unknown-linux-gnu to CI (with disabled tests)

Tests are disabled because qemu segfaults, see https://github.com/rust-lang/libc/issues/822
The builder is still useful to catch some errors.

@bors: r+
👍

:pushpin: Commit 9a0d37f has been approved by alexcrichton

:hourglass: Testing commit 9a0d37f5172e946a54366107dd775d65615e67f0 with merge 129fb1b67e13a8d165cf06e5957a3b4253838137...

:broken_heart: Test failed - status-travis

@bors: retry

:hourglass: Testing commit 9a0d37f5172e946a54366107dd775d65615e67f0 with merge 25fb72e35968b4a44e454f931254ec2fbf57505c...

:sunny: Test successful - status-appveyor, status-travis
Approved by: alexcrichton
Pushing 25fb72e35968b4a44e454f931254ec2fbf57505c to master...


[Android] Fix for vertical scroll in input text

Fix for this https://github.com/Microsoft/AdaptiveCards/issues/1555

@rednivrug15


[Feature Request]: Ability to download by iTunes [or Apple TV] movie ID via specific storefront

Confirmations

[X] I have checked the issues tab, and couldn't find an existing issue with my feature request.

Description
For download subtitles via any specific storefront, you would only need to set the desired storefront ID in the config file and then use the iTunes [or Apple TV] movie ID to download.

NAME
DESCRIPTION
DEFAULT VALUE

storefront.id
Download by iTunes [or Apple TV] movie ID via storefront value set in the config file.
"143441"= US storefront to return subtitles.

DATA TYPE
OPTIONAL
CONFIG FILE

INT
Yes
[storefront]id = "143441"

EXAMPLES

For download 'Godzilla x Kong: The New Empire' subtitles:

ITUNES ID
APPLE TV ID

isubrip id1733624264
isubrip umc.cmc.1bs3cq39p3x7de4j8kq8l82wz

ERROR/WARNING MESSAGE

The movie ID you've requested is incorrect or not currently available in the chosen storefront.

USAGE

OLD SYNTAX
NEW SYNTAX

isubrip  [iTunes movie URL...]
isubrip [iTunes movie URL or ID]...

Hey @rDamascena, thank you for the suggestion.
Implementing this seems to unnecessarily complicate things, both from a coding perspective (detecting whether the input string is an ID or URL, then whether the ID is for AppleTV / iTunes, and using config storefront for ID inputs. Basically having 2 different code-flows for URL / ID inputs.) and user-experience (most users don't know how to acquire an ID of a movie, and what the difference is between storefronts).
So I'm leaning towards a "won't be implemented", but I will give you a chance to change my mind before closing this, since I might not fully understand the use-case for this.
In what case would you prefer to select & copy specifically just the ID from the URL, and (if needed to be changed) update the storefront you want to download from in the config, instead of just simply copy & pasting the URL?

Ok, @MichaelYochpaz. I thought it was something simpler to implement. The intention was to use my country's storefront as a default and, in a simple search, where many times the first results are URLs from other countries (or only other countries), copy only the movie ID and download directly from the storefront I chose, consequently I would also know if there is any playlist available, especially in new releases.

@rDamascena It's not too complicated to implement, it just adds unnecessary complexity (for both users & code) and maintenance (with potential bugs & issues reported by users) for a feature I doubt many users will use.
For the use-case you mentioned, you can always just replace the country code in the URL you are sending to iSubRip.
For example, if the storefront for the URL you are using is US, and you'd like to download from the GB storefront, when pasting to iSubRip, use:
https://tv.apple.com/gb/movie/godzilla-x-kong-the-new-empire/umc.cmc.1bs3cq39p3x7de4j8kq8l82wz
instead of:
https://tv.apple.com/us/movie/godzilla-x-kong-the-new-empire/umc.cmc.1bs3cq39p3x7de4j8kq8l82wz
I'm closing this suggestion for now.
Feel free to leave a comment if you have any additional thought.


The mfussenegger/nvim-treehopper is missing from the list of plugins in the documentation.

Version confirmation

[X] Confirm

Following prerequisites

[X] Confirm

Not a user config issue

[X] Confirm

Neovim version
NVIM v0.9.1
Operating system/version
Ubuntu 22.04
Terminal name/version
ubuntu terminal
$TERM environment variable
No response
Branch info
main (Default/Latest)
Fetch Preferences
SSH (use_ssh = true)
How to reproduce the issue
The mfussenegger/nvim-treehopper is missing from the list of plugins in the documentation, but it is indeed installed.
Expected behavior
fix it?
Actual behavior
No response
Additional information
No response

Updated.


DataFrame columns should return a type containing Hashable elements

Broke this out of #361 so that each issue is more single-purpose. Currently, DataFrame.columns returns an Index. If you cast it to a List, you get a List[Unknown]. I am thinking we need to override __iter__() on Index and make Iterator a generic (Iterator[Hashable]). Need to look into further, but here is the offending code:
    import pandas as pd
    df = pd.DataFrame(data={"col1": [1, 2], {2: ["a", "b"]})
    test = list(df.columns)
    reveal_type(test)   # List[Unknown]

This was sort of changed in https://github.com/pandas-dev/pandas-stubs/pull/15. I'm not sure if Scalar is exhaustive here or not. At a minimum, calling list on df.columns should give you back a List[Scalar], then.


BUG: Missing writing of the nifti descrip field.

The nifti descrip field is currently only read and exposed via the ITK_FileNotes metadata dictionary variable. Setting the ITK_FileNotes via the metadata dictionary has no effect while writing. This commit writes the contents of the ITK_FileNotes variable if it is found in the metadata dictionary.

Hi @dzenanz, please rerun the failed test if needed (it isn't related to this change) and merge when it passes. Thanks.

This will need to be rebased on top of #4811, after it gets merged. I plan to merge that as soon as its CI finished.

@dzenanz I did a quick search and didn't find it. But for patches for 5.4 what is the order of merging for master, release, releaes-5.4?

I think merge into most specific first. So first merge topic branch into release-5.4, then merge release-5.4 into release, and finally merge release into master.

#4811 has now been merged. A plain rebase should be sufficient for a green CI.

Rebased and force pushed.

I merged it to release and master branches.

Thanks. Much appreciated.


add gt、lt、ge、le and equal etc.

Hello guys!
I forked this package cause owner disappeared. Hope, he will be back, but it would be easier to merge these changes back if he is back
Link to my repo: create issue there and we'll discuss it.


reverse AST to source

In the Parsing you stated “This means our original source is fully represented in this tree, and can be printed back out exactly.”
How do you get this to print back to source? I see no implementation for that.
Would you consider a biparsing solution similar to the one outlined in https://github.com/BebeSparkelSparkel/biparsing/blob/master/papers/1902.06950.pdf ?

You'd do the same thing we do for the PureScript compiler here: https://github.com/purescript/purescript/blob/781e9401f78c1f1d0b33643809048c63922db85a/lib/purescript-cst/src/Language/PureScript/CST/Flatten.hs
All source tokens are represented in the CST, so you collect all of them and then print the tokens concatenating the result.

You'd do the same thing we do for the PureScript compiler here: https://github.com/purescript/purescript/blob/781e9401f78c1f1d0b33643809048c63922db85a/lib/purescript-cst/src/Language/PureScript/CST/Flatten.hs
All source tokens are represented in the CST, so you collect all of them and then print the tokens concatenating the result.

@kritzcreek is correct. This could use additional documentation.

Lexing: String -> List Token
Parsing: List Token -> CST

Reprinting would mean lowering down CST -> List Token and then List Token -> String.
It is a goal of this project to use very straightforward and understandable techniques. I appreciate the flexibility of more exotic methods, but I do not think they serve the pedagogical goals of this project.

@kritzcreek is correct. This could use additional documentation.

Lexing: String -> List Token
Parsing: List Token -> CST

Reprinting would mean lowering down CST -> List Token and then List Token -> String.
It is a goal of this project to use very straightforward and understandable techniques. I appreciate the flexibility of more exotic methods, but I do not think they serve the pedagogical goals of this project.

@kritzcreek  Thanks for the link that helps.
@natefaubion simplicity is good.

@kritzcreek  Thanks for the link that helps.
@natefaubion simplicity is good.


[FEATURE] Add functionality to pass a path to templatized src code

Is your feature request related to a problem? Please describe.
I think it would be useful to be able to write your own templates and then you can generate the template files using a user-defined src file.
Describe the feature you'd like
generate-feature <featureName> <path/to/features/folder> <path/to/src/template/folder>
Describe alternatives you've considered
There is none.

This will be the most useful feature by far. This will essentially allow users to create their own templates to generate whenever they would like. Allowing full customization of the code that is created

This feature will also enable the ability for contributors to create new "default features" that could be called by option flags or special command names.
Ex.
generate-feature <featureName> <path/to/features/folder> -df student-class
generate-feature <featureName> <path/to/features/folder> -df teacher-class


editline: add redisplay patch

Motivation for this change
This fixes Cltr-L for nix-2.2.
Things done

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

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

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Assured whether relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

LGTM, good work! Thanks!


celdaTsne defaults

Change max.iter = 2500 and distance = "hellinger". Produces cleaner tSNEs

Also, need to add the line:
"distance = match.arg(distance)"
to error check this parameter

Implemented as of #253


Host based to Path based Ingress for Viya Monitoring and Logging

Can some one pls add the functionality of converting the Host based Ingress to Path based Ingress for Logging and Monitoring, when we run the cluster-monitoring and cluster-logging using the ansible-playbook method with viya-deployment github code. This will be very helpful for Customers who will not need to make more DNS changes for Logging and Monitoring.
Example:
rules:

host: dashboards.nachai2ns.stic.unx.sas.com
http:
paths:
path: /

To
rules:

host: nachai2ns.stic.unx.sas.com
http:
paths:
path: /dashboards

Path-based routing for V4M was added under PR #386. The V4M_ROUTING configuration variable was added in release 6.4.0 - March 30, 2023 to provide a choice of ingress options. Using that variable it is possible to select either host-based(the default) or path-based routing when using DAC to deploy Viya Monitoring and Logging.


indentation not clear

while visually my indentations appear aligned (with the lines), when i look at the column number, they are different, which makes it very complicated to work with python because i'm getting indentation errors every time i run something

Hey. You can set the 'render white space' option to boundary or all to better see the white space characters.


Docs - ApiResource Scoped Client Confusion

In the docs, two ApiResource's are configured:
public static IEnumerable<ApiResource> GetApis()
{
    return new[]
    {
        new ApiResource("api1", "Some API 1"),

        new ApiResource
        {
            Name = "api2",

            ...

            Scopes =
            {
                new Scope()
                {
                    Name = "api2.full_access",
                    DisplayName = "Full access to API 2",
                },
                new Scope
                {
                    Name = "api2.read_only",
                    DisplayName = "Read only access to API 2"
                }
            }
        }
    };
}

note: since the overloaded constructor isn't being used to set the Name of the ApiResource like in api1,  api2 is not a scope of itself
And on the next page a client is configured:
var jsClient = new Client
{
    ClientId = "js",
    ...
    AllowedGrantTypes = GrantTypes.Implicit,
    ...
    AllowedScopes =
    {
        ...

        "api1", "api2"
    }
};

Looking through the source for identityserver4, it's not apparant where the relationship between the Name of the ApiResource and  the AllowedScopes of the Client cross paths, other than the note mentioned above.
Initially when I looked at the examples I assumed that the jsClient, by virtue of being scoped to api2, would be able to issue identity tokens scoped with api2.full_access and/or api2.read_only but now I'm a little confused.  Is this just a typo in the docs and the jsClient should explicitly be setting api2.full_access and/or api2.read_only or is there something else I'm missing?
Thanks for your time.

I agree this is confusing. Will fix it.

cheers
Dominick Baier
On Thu, Dec 15, 2016 at 2:07 AM +0100, "Stewart Noll"<EMAIL_ADDRESS>wrote:
In the docs, two ApiResource's are configured:
public static IEnumerable GetApis()
{
return new[]
{
new ApiResource("api1", "Some API 1"),
    new ApiResource
    {
        Name = "api2",

        ...

        Scopes =
        {
            new Scope()
            {
                Name = "api2.full_access",
                DisplayName = "Full access to API 2",
            },
            new Scope
            {
                Name = "api2.read_only",
                DisplayName = "Read only access to API 2"
            }
        }
    }
};

}
note: since the overloaded constructor isn't being used to set the Name of the ApiResource like in api1,  api2 is not a scope of itself
And on the next page a client is configured:
var jsClient = new Client
{
ClientId = "js",
...
AllowedGrantTypes = GrantTypes.Implicit,
...
AllowedScopes =
{
...
    "api1", "api2"
}

};
Looking through the source for identityserver4, it's not apparant where the relationship between the Name of the ApiResource and  the AllowedScopes of the Client cross paths, other than the note mentioned above.
Initially when I looked at the examples I assumed that the jsClient, by virtue of being scoped to api2, would be able to issue identity tokens scoped with api2.full_access and/or api2.read_only but now I'm a little confused.  Is this just a typo in the docs and the jsClient should explicitly be setting api2.full_access and/or api2.read_only or is there something else I'm missing?
Thanks for your time.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.

done on dev


Inappropriate (?) Reference to 'Microsoft' in "Live Output"

Please confirm these before moving forward.

[X] I have searched for my feature proposal and have not found a work-in-progress/duplicate/resolved/discarded issue.
[X] This improvement refers to an existing feature. If you want to suggest a new feature, please use this template.
[X] This improvement is not a bug. If you want to report a bug, please use this template.

Describe the improvement
Given the re-branding of UniGet, the reference to MS not granting licences or supporting 3rd party products in "Live Output",  seems inappropriate.
Perhaps the reference should be to 'UniGet' or something more generic, or removed completely?
Describe how this improvement could help users
Completing the re-branding, and avoid confusion.

This is the output from WinGet cli, and it does not make sense to change it.


Tests fail if ACQUIRE_HOST not set

When running most tests, these will fail with an error that ACQUIRE_HOST is not set.
For example (I was creating a new test):
$ pytest -v tests/retrieve/test_access.py::test_timeslice_slices_correctly_exclusive
FAILED tests/retrieve/test_access.py::test_timeslice_slices_correctly_exclusive - ValueError: No ACQUIRE_HOST environment variable set

This can be temporarily bypassed (until terminal etc restarts) by setting ACQUIRE_HOST to be anything e.g.
$ export ACQUIRE_HOST=0
but this does need to be fixed as user shouldn't need to do this to be able to run the tests.

This is done with #184.

I've pulled the latest version of devel and I still get this error if I try and run the tests using pytest. For reference to run all the tests, I ran the following command in a terminal through VS Code on BP1 from within the openghg repository.
$ module load lang/python/anaconda/3.8.8-2021.05-2.5
$ source /user/home/rt17603/work/environments/openghg_env/bin/activate
$ pytest -v


rename response limiting plugin to Quotas

If this is being implemented, also the schema needs to change.
From:
config.limits.{limit_name}.second

to
config.quotas.{quota_name}.second


Interaction method case sensitivity

When using the verifier on some pact.json generated by another pact implementation, the method may not be all upper case. I am not sure if this is per specification or not but maybe it should be insensitive to the case.
https://github.com/GooRiOn/Pactify/blob/f75774707b3c7e2d8f30af49b97b107d05036203/src/Pactify/Verifiers/HttpInteractionVerifier.cs#L126

@GooRiOn Can I offer you a pull request?

@vedeja  sure, go ahead :)

@GooRiOn , I'm new at github contribution, but I think you need to give me permissions to push.

@vedeja you need to do a pull request ;) Simply create a branch from master and once you finish, go to Pull Requests and create one


Change markers style for draw Rectangle

How can I change style for markers for draw Rectangles?

If you mean the vertex-markers, you can simply change the css:
https://github.com/geoman-io/leaflet-geoman/blob/ec9e647f83edbc25c1e4fe9336abf9a32d0f7c12/src/css/layers.css#L1-L11


Toggle between Cesium imagery and Google 3d tileset

Hello, I want to know which is the best way to switch within the app between Cesium ION imagery and Google 3d tileset. I am trying to show at a specific zoom, around 1000 meters, the Google 3d tileset so the user can fly around buildings and mountains. But I have this doubt about resource consumption, I want to know how is the best way to save resources in ION and Google API. What Cesium documentation says is that Viewer prop globe should be in false but this is throwing an error, I don't believe is necessary either to put globe=false. What I am doing at the moment of switching to Google 3d API is adding imageryProvider={false} in the Viewer component so when the camera moves it stops requesting ION tiles, but I am not sure about that, and when switching to ION again I am removing Google 3d tiles. What would you say is the best way to save resources? To make it more scalable?

Hi !
Do you know if the imageryProvider property was deprecated ?
I see the property in the documentation but it is not in the typescript types and i cant find it in the src code neither.
When i try to render google 3d tiles without the ion globe it throws errors because resium its trying to access imageryLayer in the provide function:
https://github.com/reearth/resium/blob/main/src/Viewer/Viewer.ts#L186


Don't fetch txns that are pending pool import

Describe the feature
Announcements should be filtered w.r.t to transactions_by_peers which maps all transactions that are currently pending import to pool in context of TransactionsManager.
https://github.com/paradigmxyz/reth/blob/a79db0f83989865eb51be4444bafdef9684d7b6c/crates/net/network/src/transactions/mod.rs#L224-L228
This should be done as second step here.
https://github.com/paradigmxyz/reth/blob/a79db0f83989865eb51be4444bafdef9684d7b6c/crates/net/network/src/transactions/mod.rs#L693
Additional context
No response

will take a look

will take a look

already have a fix for this @justcode740, wanted to observe it on mainnet asap


Popouts: Sometimes stylesheets don't get copied over correctly to new window

Describe the bug
Sometimes when styling components and combining shorthand properties with css variables and adding other related longhand properties to override something, document.stylesheet produces unexpected results that are then copied over to popout window and wrong styles are getting applied.
One example being:
.border-test {
  --border-color: red;
  border: 5px solid var(--border-color);
  border-bottom: 5px solid blue;
  height: 20px;
  width: 100px;
}

In main window it looks like so:

And when popping out to new window, this gets produced upon inspecting:

One interesting thing is that it works correctly when I use static value instead of variable or when I remove border-bottom.
This seems to be intended spec behavior that serializes cssText property like that. I found this chromium rejected issue:
https://issues.chromium.org/issues/40804066 and spec was linked to indicate intended behavior: https://drafts.csswg.org/css-variables/#pending-substitution-value
To Reproduce

Add a simple div to a widget that can popout with a classname that defines the following styles:.border-test {
  --border-color: red;
  border: 5px solid var(--border-color);
  border-bottom: 5px solid blue;
  height: 20px;
  width: 100px;
}

Open application, note applied borders for that div inside a widget, all 4 of them are applied with bottom one being different color.
Popout that widget.
Notice how only bottom border is applied.
Open devtools, inspect that div and note that stylesheets have deformed and lost information on remaining 3 borders.

Expected Behavior
It is expected that when popping out widgets to a new window, all styles should be preserved as is and should not lose information. In this case it is expected that all borders retain same css properties as it had in main window.
Screenshots
No response
Desktop (please complete the applicable information)
OS: Windows 11
Browser: Microsoft Edge
Browser version: Version 126.0.2592.68 (Official build) (64-bit)
Appui version: 4.15.0 (reproduced on source)
Additional context
I debugged source at CopyStyles.ts and noticed deformation was happening there. In my case I worked around this issue by being very verbose with longhand css properties and it seemed to work, but it can still cause issues as we just haven't discovered problems in other areas, maybe even in external code that we can't control.

Related issue: https://github.com/iTwin/iTwinUI/issues/1584

I was looking into this issue, and it's wild that this is considered to be "working as intended" by the spec and by browsers. I'm not sure that there is even a way around it.
@Juliakas What components have you faced this issue in? Is it only in your own custom CSS? We can at least use the longhands in library code.

I guess the explanation could be that css variables could be anything (either color, number of pixels, border style keyword) and when converting to longhands it is not clear how to parse them, shorthands are very lenient on what order you write your properties like border: solid 1px blue or border: thick double #32a1ce. But it is still strange... why not simply preserve whatever was written in <style> tags or something.
So far only noticed in my own component, I needed different border stylings to achieve effect I wanted.
The only other idea I have is instead of parsing document.stylesheets is cloning all <style> and <link rel="stylesheet"> tags in <head> to another window. I have no idea if there is any other place where styles can be hidden (apart from inline).

The only other idea I have is instead of parsing document.stylesheets is cloning all <style> and <link rel="stylesheet"> tags in <head> to another window.

Yeah I was thinking this too; we would need to ensure there is no extra network request happening when cloning a <link>.

I have no idea if there is any other place where styles can be hidden (apart from inline).

There is document.adoptedStyleSheets and <style> tags inside shadow DOM. I guess both can be solved if they are re-initialized for every new window. We can investigate this together with #892.

For styleSheets this sounds nice, will need to make sure it handles everything right.
I was reading and playing around with adoptedStyleSheets and also couldn't figure out a way. I guess they are needed for shadow dom anyway, which will be reconstructed.
What actually happens with shadow dom styles when its dom gets transferred? Did you figure out why they disappear?

Just to clarify, I'm talking about document.adoptedStyleSheets, which aren't necessarily related to shadow DOM. We used this feature in iTwinUI v2, and might use it again in the future in iTwinUI v3.
For shadow DOM we also use adoptedStyleSheets, but that's a different issue (#892). It will need some more investigation, but in any case I don't expect AppUI to automatically handle it, which is why I suggested the coordination approach using a custom event.


Add resource_type value and unit tests for guardduty AWSObjects

Unit tests confirm construction of these objects and ensure that the
Type field is set properly in the output dict to prevent regressions.
See: https://github.com/cloudtools/troposphere/issues/944

Nice catch! Thanks!


Queries with a 'where' column cause a parsing error

What happened?
Any query that contains a 'where' column causes a parsing error. For example, the attached DQL code results in the follwing error message:
Dataview: Error:
-- PARSING FAILED --------------------------------------------------

> 1 | table what, where, when
    |                  ^
  2 | from #example

Expected:

variable

DQL
table what, where, when
from #example

JS
No response
Dataview Version
0.5.28
Obsidian Version
0.14.15
OS
MacOS

Use row["where"] as where instead of where
WHERE is a specific command. It's the same with from, group, flatten.
table what, row["where"] as where, when
from #example

Yes, use row.where AS where - the dataview query parser does not do look-ahead when parsing and so cannot disambiguate these cases.
I am adding a new "Frequently Asked Questions" section to the docs which includes this answer; hopefully that will help for other people who are confused: https://blacksmithgu.github.io/obsidian-dataview/query/faq/.

An additional issue related to this https://github.com/blacksmithgu/obsidian-dataview/projects/13#card-86491106, where it was suggested using contains(file, "some-field"). However, they wanted to check if a field was defined on the file being queried.
In other words what would you use instead of this to refer to the object of the current file in a query? Is there any variant allowing for contains( ???, "some-field") to refer to the object of the file being queried? I naively tried doing contains(row, "some-field") but row is empty it seems until you try to do something like row["where"].


feature (client-specific-config): add iroute-ipv6 parameter support.

@luxflux not quite sure why the build is failing. Any ideas?

Please merge master, it contains a fix for the failing build.

rebased on master


Add support for edge

It would be nice, if edge would be supported by you :)

Have you tried it? Any browser available on BrowserStack should work with the correct browser name specified. I confirmed that Edge already works, if you specify browser: "edge".


Query on Relation not working properly (notEqualTo & equalTo)

I'm trying to retrieve users in a relation that are not the  [PFUser currentUser] but for some reason since moving to the Parse-Server the result returns with the currentUser as well.
Might notEqualTo not working properly?
The query is as follow (the relation is of _User):
PFRelation *relation = [someObject relationForKey:relationKey];
query = [relation query];
[query whereKey:@"objectId" notEqualTo:[PFUser currentUser].objectId];
[query findObjectsInBackgroundWithBlock:^(NSArray *objects, NSError *error) {
if (!error) {
//current user is contained in objects array
}
}];
Apparently this is also happening if I want to check if a user is in a relation with equalTo
PFRelation *relation = [self relationForKey:key];
PFQuery *query = [relation query];
[query whereKey:@"objectId" equalTo:object.objectId];
[query countObjectsInBackgroundWithBlock:^(int count, NSError *error) {
completionBlock(count > 0, error);
}];
If a user exists this should have returned count = 1, but apparently this returns count = 6 which means the whereKey parameter is being ignored completely.
I just want to remind that this code exactly worked before the migration to Parse-Server.
Any ideas? Did this happen to anyone?

This didn't work on version 2.1.4, update to the latest version (currently 2.1.6) and this will begin working again.
Thanks everyone who's working on this project and making it a real gem!

@432player Does it work on the newest version (2.2.4) for you? It doesn't look like on my config.
But I guess you have it with an array and I have it with Relation so maybe it is related.
I think I'll try to create a detailed issue for that.


Ignore SIGPIPE during socket operations to avoid silent exits

Currently if one has problems with permissions, jattach will print
Connected to remote JVM to stdout and silently exits due to unhandled SIGPIPE signal.
Before patch:
./profiler.sh -p ... -a start
echo $?
141

After patch:
./profiler.sh -p ... -a start
Error writing to socket: Broken pipe
echo $?
1

Thank you for the fix. It would be nice to have it in https://github.com/apangin/jattach as well.


Potential issue in equation (11) of paper

Dear authors,
Thank you for the excellent paper and for sharing your code!
I believe there might be a small issue in equation (11) of the paper. From my understanding, the conditions appear to be reversed. The value 255 should be selected when I_rel(k) == 0. The stated condition in v5 is I_rel(k) == 1. Similarly, for the first row, the condition should be I_rel(k) == 1. This ensures that change maps are only created where the VLM is highly confident in the semantic segmentations of both timesteps, and locations with low confidence for at least one timestep are ignored (255).
This seems consistent with the code in the script.
Could you please confirm whether there is an error in the paper or if I have misunderstood?
Thank you!

 Thank you for pointing this out, we will correct it in a subsequent version. 😄

Thanks for the extremely fast response


Add ChannelMessageUpdate runtime function.

Resolves #641.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.1 out of 2 committers have signed the CLA.:white_check_mark: sesposito:x: zyroYou have signed the CLA already but the status is still pending? Let us recheck it.


When the dataset scale is not displaying, set the padding correctly.

If this is not done, the x value for each point is NaN and as a result, the graph does not draw.

Closing since this was fixed in #1172 as well


fix truncated value from getTotalTimeMS

Summary
Fixes #30440
FpsDebugFrameCallback.getTotalTimeMS() returns error time which may be used by apps to monitor performance.
THE CAUSE: the value from getTotalTimeMS is far less than getNumFrames() multiplied by 16.6. Because type casting operator precedes division and (mLastFrameTime - mFirstFrameTime) overflows int, then the truncated value is divided by 1,000,000 and return.
Changelog
[Android][Fixed] - Fix truncated value from getTotalTimeMS
Test Plan
None

The problem is still relevant.
Are there any plans to adopt these fixes?


Devanagari label encodings and fonts generated are not being rendered

I am using this tool to generate encodings and fonts as well for Devanagari labels. The generation for both were successful but were not being rendered.
Steps followed :

Building and running docker image in the root directory.

docker build -t positioned-glyph-font .
docker run --rm -it -v "$(pwd)":/root/ positioned-glyph-font

In container :

cd raqm/
./run.sh

raqm/labels_requiring_encoding.json used is as follows :
[
  "Rafi Ahmed Kidwai Marg",
  "रफी अहमद किदवई मार्ग",
  "Janpath",
  "जनपथ",
  "Vijay Chok",
  "विजय चोक",
  "Rajpath",
  "राजपथ",
  "Raisina Road",
  "रायसीना सड़क",
  "Motilal Nehru Marg",
  "मोतीलाल नेहरू मार्ग",
  "Kumaraswami Kamaraj Marg",
  "कुमारस्वामी कामराज मार्ग",
  "Rajaji Marg",
  "राजाजी मार्ग",
  "Teen Murti Marg",
  "तीन मूर्ति मार्ग",
  "Ashutosh Mukhejee Road",
  "आशुतोष मुखर्जी रोड",
  "Sarjapura Road",
  "ಸರ್ಜಾಪುರ ರಸ್ತೆ",
  "Inner Ring Road",
  "ಇನ್ನರ್ ರಿಂಗ್ ರೋಡ್"
]

Generated label mapping is as follow :
{
  "Rafi Ahmed Kidwai Marg": "Rafi Ahmed Kidwai Marg",
  "\u0930\u092b\u0940 \u0905\u0939\u092e\u0926 \u0915\u093f\u0926\u0935\u0908 \u092e\u093e\u0930\u094d\u0917": "\u0711\u070e\u0727 \u0700\u0717\u070f\u070b \u0724\u0703\u070b\u0713\u0702 \u070f\u0718\u0705\u0720",
  "Janpath": "Janpath",
  "\u091c\u0928\u092a\u0925": "\u0707\u070c\u070d\u070a",
  "Vijay Chok": "Vijay Chok",
  "\u0935\u093f\u091c\u092f \u091a\u094b\u0915": "\u0724\u0713\u0707\u0710 \u0706\u071e\u0703",
  "Rajpath": "Rajpath",
  "\u0930\u093e\u091c\u092a\u0925": "\u0711\u0718\u0707\u070d\u070a",
  "Raisina Road": "Raisina Road",
  "\u0930\u093e\u092f\u0938\u0940\u0928\u093e \u0938\u0921\u093c\u0915": "\u0711\u0718\u0710\u0716\u0719\u070c\u0718 \u0716\u071f\u0703",
  "Motilal Nehru Marg": "Motilal Nehru Marg",
  "\u092e\u094b\u0924\u0940\u0932\u093e\u0932 \u0928\u0947\u0939\u0930\u0942 \u092e\u093e\u0930\u094d\u0917": "\u070f\u071e\u0709\u0719\u0712\u0718\u0712 \u070c\u071d\u0717\u0722 \u070f\u0718\u0705\u0720",
  "Kumaraswami Kamaraj Marg": "Kumaraswami Kamaraj Marg",
  "\u0915\u0941\u092e\u093e\u0930\u0938\u094d\u0935\u093e\u092e\u0940 \u0915\u093e\u092e\u0930\u093e\u091c \u092e\u093e\u0930\u094d\u0917": "\u0703\u071a\u070f\u0718\u0711\u0721\u0713\u0718\u070f\u0719 \u0703\u0718\u070f\u0711\u0718\u0707 \u070f\u0718\u0705\u0720",
  "Rajaji Marg": "Rajaji Marg",
  "\u0930\u093e\u091c\u093e\u091c\u0940 \u092e\u093e\u0930\u094d\u0917": "\u0711\u0718\u0707\u0718\u0707\u0719 \u070f\u0718\u0705\u0720",
  "Teen Murti Marg": "Teen Murti Marg",
  "\u0924\u0940\u0928 \u092e\u0942\u0930\u094d\u0924\u093f \u092e\u093e\u0930\u094d\u0917": "\u0709\u0719\u070c \u070f\u071c\u0725\u0709\u0726 \u070f\u0718\u0705\u0720",
  "Ashutosh Mukhejee Road": "Ashutosh Mukhejee Road",
  "\u0906\u0936\u0941\u0924\u094b\u0937 \u092e\u0941\u0916\u0930\u094d\u091c\u0940 \u0930\u094b\u0921": "\u0701\u0714\u071b\u0709\u071e\u0715 \u070f\u071b\u0704\u0707\u0723 \u0711\u071e\u0708",
  "Sarjapura Road": "Sarjapura Road",
  "\u0cb8\u0cb0\u0ccd\u0c9c\u0cbe\u0caa\u0cc1\u0cb0 \u0cb0\u0cb8\u0ccd\u0ca4\u0cc6": "\u072d\u0734\u072e\u0731\u072b\u073b\u072c \u072c\u073a\u0732",
  "Inner Ring Road": "Inner Ring Road",
  "\u0c87\u0ca8\u0ccd\u0ca8\u0cb0\u0ccd \u0cb0\u0cbf\u0c82\u0c97\u0ccd \u0cb0\u0ccb\u0ca1\u0ccd": "\u0729\u072a\u0733\u0737 \u0738\u0728\u0735 \u0739\u072f\u0730\u0736"
}

encoded_labels.json :
[
  "Rafi Ahmed Kidwai Marg",
  "\u0711\u070e\u0727 \u0700\u0717\u070f\u070b \u0724\u0703\u070b\u0713\u0702 \u070f\u0718\u0705\u0720",
  "Janpath",
  "\u0707\u070c\u070d\u070a",
  "Vijay Chok",
  "\u0724\u0713\u0707\u0710 \u0706\u071e\u0703",
  "Rajpath",
  "\u0711\u0718\u0707\u070d\u070a",
  "Raisina Road",
  "\u0711\u0718\u0710\u0716\u0719\u070c\u0718 \u0716\u071f\u0703",
  "Motilal Nehru Marg",
  "\u070f\u071e\u0709\u0719\u0712\u0718\u0712 \u070c\u071d\u0717\u0722 \u070f\u0718\u0705\u0720",
  "Kumaraswami Kamaraj Marg",
  "\u0703\u071a\u070f\u0718\u0711\u0721\u0713\u0718\u070f\u0719 \u0703\u0718\u070f\u0711\u0718\u0707 \u070f\u0718\u0705\u0720",
  "Rajaji Marg",
  "\u0711\u0718\u0707\u0718\u0707\u0719 \u070f\u0718\u0705\u0720",
  "Teen Murti Marg",
  "\u0709\u0719\u070c \u070f\u071c\u0725\u0709\u0726 \u070f\u0718\u0705\u0720",
  "Ashutosh Mukhejee Road",
  "\u0701\u0714\u071b\u0709\u071e\u0715 \u070f\u071b\u0704\u0707\u0723 \u0711\u071e\u0708",
  "Sarjapura Road",
  "\u072d\u0734\u072e\u0731\u072b\u073b\u072c \u072c\u073a\u0732",
  "Inner Ring Road",
  "\u0729\u072a\u0733\u0737 \u0738\u0728\u0735 \u0739\u072f\u0730\u0736"
]

Then run ./run.sh in the font-maker directory, which generates fonts.
Created a new directory in examples similar to already available examples with changes in style.json and index.html and add newly generated fonts.

The web page did not render the labels and displayed nothing.
style.json for reference :
{
    "version": 8,
    "sources": {
        "encoded-labels": {
            "type": "geojson",
            "data": {
                "type": "FeatureCollection",
                "features": [
                    {
                        "type": "Feature",
                        "properties": {
                            "A": "Rafi Ahmed Kidwai Marg: रफी अहमद किदवई मार्ग  : \u0711\u070e\u0727 \u0700\u0717\u070f\u070b \u0724\u0703\u070b\u0713\u0702 \u070f\u0718\u0705\u0720"
                        },
                        "geometry": {
                            "coordinates": [
                                76.98187363723929,
                                24.697710005924648
                            ],
                            "type": "Point"
                        }
                    }
                ]
            }
        }
    },
    "layers": [

        {
            "id": "encoded-labels",
            "source": "encoded-labels",
            "type": "symbol",
            "layout": {
                "text-field": [
                    "format",
                    ["get", "A"],
                    {}
                ],
                "text-font": ["the-name"]
            }
        }
    ],
    "glyphs": "fonts/{fontstack}/{range}.pbf"
}

Oh sorry I need to clean this up a bit. I think you are using an outdated path. Will get back to you

@pankajverma04 I updated the main readme. Can you have a look at it and follow the steps?
Main changes: removed the raqm folder, and added a http server which you can request to encode labels.

Let me know if the new instructions and scripts work for you @pankajverma04


Song Author Name is almost everytime ""

Are you sure about this line 53 of code
https://github.com/lolPants/songe-converter/blob/master/src/run.go
	newInfoJSON.SongAuthorName = infoJSON.SongSubName

@Assistant can explain

Level Author didn't exist in the previous format, so everyone used Song Author for it, and Song Subname for the author.

Closing due to inactivity.


an example would be nice

an example would be nice. or a few

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

ID: 82154a26-a125-e7ea-8731-a8c4472fe735
Version Independent ID: 015533c1-6a15-3dc1-083d-3370bdc3915d
Content: Set-CsUser (skype)
Content Source: skype/skype-ps/skype/Set-CsUser.md
Service: skypeforbusiness-powershell
GitHub Login: @kenwith
Microsoft Alias: kenwith

I mean an example with using lineuri and perhaps other options as well

@officedocsbot assign @yogkumgit

Hello @WillemVerwijs thanks for your feedback.
I created a pull request to add another example to the article.
Thank you

@kenwith Please merge the PR https://github.com/MicrosoftDocs/office-docs-powershell/pull/3598

@yogkumgit PR has been merged, can you close this one? Thanks

closed


Duplicate endpoints create conflicting data types

Describe the bug
When having endpoints of the same name, eg tags/{tag}/export and labels/{label}/export, only one data type is generated (here ExportData) for all services, which is correct for the first, but wrong for all subsequent services.
To Reproduce

Create API with endpoints tags/{tag}/export and labels/{label}/export
Run script
Inspect type errors in services.gen.ts

OpenAPI spec file
routes.json
Expected behavior
Data types free of conflicts, eg ExportData, ExportData1, etc
Screenshots
If applicable, add screenshots or logs to help explain your problem.

OS: macOS v14.4
Version 1.6.3

services.gen.ts is a file generated on the @hey-api/openapi-ts side, so it falls outside the scope of this library.
This issue can likely be avoided by using operationId.

@7nohe Thanks for letting me know 🙏
I guess I'll open an issue upstream then. How exactly does operationId work? From the docs it seems to be a flag, but its default is true .. ?

@CHE1RON
Yes, the default is true. Therefore, all you need to do is make each operationId unique.
"paths": {
    "/api/v1/boards/export": {
      "get": {
        "tags": ["boards"],
        "summary": "Returns an export of a collection of boards.",
        "operationId": "boards-export",

   "/api/v1/documents/{file}/export": {
      "get": {
        "tags": ["documents"],
        "summary": "Exports the document as a PDF with annotations included.",
        "operationId": "documents-export",

Right, but I'm referencing the URL to the JSON spec file, not a local yml file 🤔


هلا سيما

Source name
https://halacima.media/
Source language
Arabic
Describe your suggested feature
Halacima website to watch Arabic anime Turkish and foreign films and series 2024
Servers 7 views
Streamsb
Uqload
Player
Vidbem
Vidshar
Dood
Ok
Other details
No response
Acknowledgements

[X] I have searched the existing issues and this is a new ticket, NOT a duplicate or related to another open or closed issue.
[X] I have written a short but informative title.
[X] If this is an issue with the app itself, I should be opening an issue in the app repository.
[X] I have updated the app to version <IP_ADDRESS>.
[X] I will fill out all of the requested information in this form.

Source name
https://halacima.media/
Source language
Arabic
Describe your suggested feature
Halacima website to watch Arabic anime Turkish and foreign films and series 2024
Servers 7 views
Streamsb
Uqload
Player
Vidbem
Vidshar
Dood
Ok
Other details
No response
Acknowledgements

[X] I have searched the existing issues and this is a new ticket, NOT a duplicate or related to another open or closed issue.
[X] I have written a short but informative title.
[X] If this is an issue with the app itself, I should be opening an issue in the app repository.
[X] I have updated the app to version <IP_ADDRESS>.
[X] I will fill out all of the requested information in this form.


Help request: HTTP2 Ingress

I want to enable HTTP2 on traffic coming in via the Istio ingress gateways.
[client] --HTTP2--> [istio-ingressgateway] --HTTP-or-HTTP2--> [any target]
I tried configuring the gateway port protocol as HTTP2 and created a destination rules with h2UpgradePolicy, but the traffic remains on HTTP1/1.
This is an example GW/VS I have been testing
---
apiVersion: networking.istio.io/v1beta1
kind: Gateway
metadata:
  name: example
spec:
  selector:
    istio: my-nlb-ingressgateway
  servers:
  - hosts:
    - mywebsite.com
    port:
      name: http
      number: 80
      protocol: HTTP2
  - hosts:
    - mywebsite.com
    port:
      name: https
      number: 443
      protocol: HTTP2
---
apiVersion: networking.istio.io/v1beta1
kind: VirtualService
metadata:
  name: example
spec:
  exportTo:
  - istio-system
  gateways:
  - example
  hosts:
  - mywebsite.com
  http:
  - route:
    - destination:
        host: mywebsite.com.s3.us-east-1.amazonaws.com
        port:
          number: 80

And this is my destination rule
apiVersion: networking.istio.io/v1alpha3
kind: DestinationRule
metadata:
  name: example
spec:
  host: mywebsite.com
  trafficPolicy:
    connectionPool:
      http:
        h2UpgradePolicy: UPGRADE

And my test showing HTTP/1.1 still in use
curl -v -k --http2 https://mywebsite.com
*   Trying <IP_ADDRESS>:443...
* Connected to mywebsite.com (<IP_ADDRESS>) port 443 (#0)
* ALPN: offers h2,http/1.1
* (304) (OUT), TLS handshake, Client hello (1):
* (304) (IN), TLS handshake, Server hello (2):
* TLSv1.2 (IN), TLS handshake, Certificate (11):
* TLSv1.2 (IN), TLS handshake, Server key exchange (12):
* TLSv1.2 (IN), TLS handshake, Server finished (14):
* TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
* TLSv1.2 (OUT), TLS change cipher, Change cipher spec (1):
* TLSv1.2 (OUT), TLS handshake, Finished (20):
* TLSv1.2 (IN), TLS change cipher, Change cipher spec (1):
* TLSv1.2 (IN), TLS handshake, Finished (20):
* SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256
* ALPN: server did not agree on a protocol. Uses default.
* using HTTP/1.x
> GET / HTTP/1.1
> Host: mywebsite.com
> User-Agent: curl/8.1.2
> Accept: */*
>

If you got this to work and see something missing please let me know!

It is very tricky here, HTTP2 is parsed as http, so it will set http as transport protocol

curl -v -k --http2 https://mywebsite.com
*   Trying <IP_ADDRESS>:443...
* Connected to mywebsite.com (<IP_ADDRESS>) port 443 (#0)
* ALPN: offers h2,http/1.1
* ALPN: server did not agree on a protocol. Uses default.

Istio, by default, will ALWAYS offer h2 as an ALPN on ingress gateway. It cannot even be turned off. Are you 100% sure its actually hitting the istio ingressgateway, and not some other proxy in the middle?

curl -v -k --http2 https://mywebsite.com
*   Trying <IP_ADDRESS>:443...
* Connected to mywebsite.com (<IP_ADDRESS>) port 443 (#0)
* ALPN: offers h2,http/1.1
* ALPN: server did not agree on a protocol. Uses default.

Istio, by default, will ALWAYS offer h2 as an ALPN on ingress gateway. It cannot even be turned off. Are you 100% sure its actually hitting the istio ingressgateway, and not some other proxy in the middle?

Thanks for the hint, it was due to the ALPN policy of the intermediate NLB.


France data is off

Data for France is showing very detailed (metro and county level) for deaths, tests, hospitalizations, and discharged, but no data for the confirmed cases. Why is this information missing?

Hello, thanks for the issue!
Per the code at
https://github.com/covidatlas/coronadatascraper/blob/master/src/shared/scrapers/FR/index.js,
we get urls from '
https://www.data.gouv.fr/fr/organizations/sante-publique-france/datasets-resources.csv
',
And then scrape other urls.  If you can suggest other data sources to
include, please do so.  Cheers and thanks again!
Jz
El mié, may. 13, 2020 a la(s) 9:49 a. m., asarfati1985 <
<EMAIL_ADDRESS>escribió:

Data for France is showing very detailed (metro and county level) for
deaths, tests, hospitalizations, and discharged, but no data for the
confirmed cases. Why is this information missing?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/covidatlas/coronadatascraper/issues/1001, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AAMPWDJ67DWPUSBCCUPYJRTRRKQPZANCNFSM4M7YQ3ZQ
.

Hi @asarfati1985 - if you let us know where to get the data, we can include it; if not, I'll close this issue in a few days.  Thank you! jz

Closing, no response.  Au revoir, jz


Strong mode toggle on DartPad appears to be "reversed"

For example:
https://dartpad.dartlang.org/35ef608a771ee788e8edb266bab97e14
With "strong mode" off, this should have no errors (but currently has a type error).
With strong mode enabled, it should have a type error (but currently doesn't).

Note: fix still to be deployed, we will update again when that has happened.

Fixed version is now serving


Finishes, but now

Latest Additions
[Choralhandschriften der Zentralbibliothek der Wiener Franziskanerprovinz Graz](http://localhost/browser/detail/19591)
 Type: acdh:TopCollection
today Available Date: 12 Apr 2024

Yet, after opening it:
Resource does not exists!

the gui shipped with arche-localhost-utils is currently under heavy development and therefore not suitable for checking ingested results. I always use the ARCHE-API output for checking which gives us anyway a more direct view on the ingested data; something like
http://localhost/api/api/19591/metadata should work
and congrets for the successful ingestion!!!!

It seems well formed. The hierarchy is there. :-)


How to add an extra gutter before the first column and after the last column?

For a 940px fixed grid system, how can one create a custom grid system that allows for 2 more gutters - one at the beginning and one at the end. So, need the following:
@gridColumns:             X;
@gridColumnWidth:     Y;
@gridGutterWidth:         Z;
Also need to ensure gutters are added before first column and after first column (hence, number of gutters = # of grid columns + 1). Any insight on this would be really helpful.

I think it's as easy as adding:
padding-left: @gridGutterWidth;
padding-right: @gridGutterWidth;

to the .container definition in layouts.less

Yep, it's as easy as that. It automatically adjusts into a 980px fixed grid system. Thanks.


chore(package): bump dependencies

No user-facing changes, only bumper dependencies 🍫

Codecov Report

Merging #3516 into master will not change coverage.
The diff coverage is 100%.

@@           Coverage Diff           @@
##           master    #3516   +/-   ##
=======================================
  Coverage   99.82%   99.82%
=======================================
  Files         172      172
  Lines        2804     2804
=======================================
  Hits         2799     2799
  Misses          5        5

Impacted Files
Coverage Δ

src/addons/TextArea/TextArea.js
100% <ø> (ø)
:arrow_up:

src/elements/Header/Header.js
100% <ø> (ø)
:arrow_up:

src/elements/List/ListItem.js
100% <100%> (ø)
:arrow_up:

src/elements/Step/Step.js
100% <100%> (ø)
:arrow_up:

src/elements/Input/Input.js
100% <100%> (ø)
:arrow_up:

Continue to review full report at Codecov.

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


Create a command line application package to replace cobra

Cobra is a package from building cli, its recent release 0.0.4 introduced viper as its dependency and dragged in etcd due to its remote config, so it's time to move away from cobra (can still use spf13/pflags). This makes gommon more self contained (and allow us to reinvent another wheel)
TODO

[ ] chose a package name cc @arrowrowe @gaocegege
[ ] check if I can put a go.mod for cmd/gommon and void the top level go.mod to have spf13/cobra
[ ] required features

more flexible command definition, i.e. allow using interface instead of its own struct
interactive repl

[ ] survey

Ref

my notes for reading cobra's source

btw: @arrowrowe any idea for the name (我要开坑了 严肃脸


Simple test for case where organisation is missing from a payload

I wrote a test case to go along with https://github.com/quarkusio/quarkus-github-bot/pull/257, except I was too slow to catch the fix before it merged :)
This fix depends on https://github.com/quarkiverse/quarkus-github-app/pull/343, and then us pulling in a new version of GitHub app, so I will leave it in draft for a while so we're not tempted to merge it too early.
Ideally the PushToProjectsTest would be a bit more comprehensive, but this is a start that we can build on. I didn't have a payload with an organisation handy, or an issue payload, so I couldn't add the deeper tests without some effort.

This is now ready for review, since we have included a new version of quarkus-github-app.


[BUG]: Market Trend Computation Not Computing On Saturday

Should at least pull Friday's data or log error

For now log as error and alert user. Minute timeframe will not be used as much for pre-market analysis so it is not as important and a low priority issue.


Downgrade Monaco editor to fix Mermaid graph editing

Closes #1470.
A regression in Monaco editor broke editing Markdown code blocks with unknown language. @josevalim it's probably worth a patch release, wdyt?

Agreed on the patch release.


Use fast poll after sending an MLE Data Request.

Resolves #1459.

Codecov Report

Merging #1551 into master will decrease coverage by 0.01%.
The diff coverage is 85.71%.

@@            Coverage Diff             @@
##           master    #1551      +/-   ##
==========================================
- Coverage   69.05%   69.03%   -0.02%
==========================================
  Files         152      156       +4
  Lines       20210    22764    +2554
  Branches     2478     3078     +600
==========================================
+ Hits        13956    15716    +1760
- Misses       5314     6041     +727
- Partials      940     1007      +67

Impacted Files
Coverage Δ

src/core/thread/mle.cpp
76.99% <85.71%> (-3.89%)
:arrow_down:

src/core/thread/mle_router_ftd.hpp
50% <0%> (-50%)
:arrow_down:

src/core/common/crc16.cpp
77.77% <0%> (-22.23%)
:arrow_down:

src/core/thread/key_manager.hpp
81.25% <0%> (-18.75%)
:arrow_down:

src/core/common/message.hpp
82.35% <0%> (-14.32%)
:arrow_down:

src/core/thread/network_data_leader.cpp
65.79% <0%> (-14.31%)
:arrow_down:

src/core/mac/mac.hpp
82.75% <0%> (-11.36%)
:arrow_down:

src/core/net/netif.hpp
63.41% <0%> (-8.59%)
:arrow_down:

src/core/mac/mac.cpp
73.14% <0%> (-5.75%)
:arrow_down:

src/core/mac/mac_blacklist.cpp
10.71% <0%> (-4.29%)
:arrow_down:

... and 32 more

Continue to review full report at Codecov.

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


Handles large amounts of data ingestion

BackGround

When data integration is performed from a tenant with over 200 registered applications, an error occurs in the API call.

What we did.

Implement a limit on the number of concurrent executions
Implement a mechanism to reduce the number of target data

I tested with over 200 apps & 1 app have  over 2000 accounts.

@peter-asztalos-mf can you check again  please? 😸

This PR has been merged into the following PR.
#5


Fix: Remove full stop

This PR

[x] removes a full stop from README.md

Codecov Report

Merging #5 (904c2c4) into main (6fdd18d) will not change coverage.
The diff coverage is n/a.

@@             Coverage Diff             @@
##                main        #5   +/-   ##
===========================================
  Coverage     100.00%   100.00%
  Complexity        18        18
===========================================
  Files              5         5
  Lines             51        51
===========================================
  Hits              51        51

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 6fdd18d...904c2c4. Read the comment docs.


for changed checkboxes touched/visited props are not present on FF

They are present on Chrome, but not FF. I haven't had time to setup an isolated test (suppose it could be something in my app, but can't think of what it would be). It does work as intended in Chrome.
Happens on El Capitan, FF 44.0.2
redux form 4.2.0 and 4.1.0

I'm unable to reproduce the bug. Can you please provide a minimal reproducible example and then reopen the issue ? My best bet is that onFocus and onBlur are not correctly propagated.


Stack Overflow during model creation

I have a large-ish model, consisting of 452 entities and 1153 relationships. Today I added one more unmapped get-only property to each entity, and subsequently received a stack overflow exception during model creation, in one of the lines that look like
builder.HasOne(t => t.User).WithMany("AdrUserMandantUserCollection").HasForeignKey("User_Seqnr").OnDelete(DeleteBehavior.Restrict);
Changing the order of Fluent API calls changes the exact line that throws the exception, and removing most (but not necessarily all) of the new properties causes the exception to not occur. Alternatively, replacing the properties with functions also causes the exception to not occur.
So, the only conclusion I can draw is that the stack usage during model creation is proportional to the number of properties on my mapped entity classes. Is this working as intended, and is there a way to reduce the stack usage? My model can only grow in the future, and increasing the stack size is somewhat inconvenient in this particular application.

EF Team Triage: This issue is lacking enough information for us to be able to effectively triage it. In particular, it is missing the following information requested in the new issue template. Can you please provide this information?
Further technical details
EF Core version: (found in project.json or packages.config)
Database Provider: (e.g. Microsoft.EntityFrameworkCore.SqlServer)
Operating system:
IDE: (e.g. Visual Studio 2015)
BTW we're not just doing this to be mean :smile:... we get a lot traffic on this project and it takes time to attempt to reproduce an issue based on fragments of information. In addition, our attempt is often unsuccessful as the exact conditions required to hit the issue are often not explicitly included in the code provided. To ensure we maximize the time we have to work on fixing bugs, implementing new features, etc. we ask that folks give us a self-contained way to reproduce an issue.
For a guide on submitting good bug reports, read Painless Bug Tracking.
BTW this is a canned response and may have info or details that do not directly apply to this particular issue. While we'd like to spend the time to uniquely address every incoming issue, we get a lot traffic on the EF projects and that is not practical. To ensure we maximize the time we have to work on fixing bugs, implementing new features, etc. we use canned responses for common triage decisions.

Apologies, here are more details.
EF Core version: 1.1.2
Database Provider: Devart.Data.Oracle 9.4.299.0
Operating system: Windows 10 Pro version 1607
IDE: Visual Studio 2017
The stack trace in the actual exception is null (I don't understand why), but I can give you Visual Studio's call stack (attached as a file because it's huge):
stack.txt

@Wain123 There have been big improvements in this area for 2.0--conventions now use a lot less stack space, so I'm going to close this a fixed. Please try it with 2.0 preview2 or the nightly builds as soon as you can and feel free to re-open if the issue still repros.


verification: revamp verification scripts and add check for expiration

Signed-off-by: Asra Ali<EMAIL_ADDRESS>
Summary

Adds the ability to verify against a remote GCS repository as well as pre-existing local file repository
Adds a valid-until flag to expires that will check if any metadata expires before valid-until.
Prints out client state after verification (metadata versions and expires)

Ticket Link

Part of https://github.com/sigstore/root-signing/issues/96
Release Note

For e.g. we can detect metadata expiring before 02/28:
$ ./verify repository --repository sigstore-tuf-root  --root ceremony/2021-06-18/repository/root.json --gcs --valid-until 2022/02/28
Client successfully initialized, updating and downloading targets...
Client updated to...
	root.json version 2, expires 2022/05/11
	timestamp.json version 13, expires 2022/02/22
	snapshot.json version 13, expires 2022/02/22
	targets.json version 2, expires 2022/05/11

Retrieved target rekor.pub...
[...]

error: timestamp.json will expire on 2022/02/22

cc @priyawadhwa

ty @asraa!


Adding "nil" to bibliography entry

Describe the bug
The word "nil" is added to a bibliography entry after "U.S.C" when citing legislation.
Additional information

TeX distribution: TeX Live 2024 - MacOS
Package citation-style-language version: v0.4.7
LaTeX engine: lualatex

To Reproduce
\documentclass{article}

\begin{filecontents}[overwrite, noheader]{\jobname.json}
[
	{
		"id": "AmericaCOMPETESAct2010",
		"type": "legislation",
		"abstract": "To invest in innovation through research and development, and to improve the competitiveness of the United States.",
		"chapter-number": "111",
		"container-title": "U.S.C",
		"language": "English (United States)",
		"number": "111-358",
		"section": "525",
		"title": "America Creating Opportunities to Meaningfully Promote Excellence in Technology, Education, and Science Reauthorization Act of 2010",
		"URL": "https://www.govinfo.gov/content/pkg/PLAW-111publ358/html/PLAW-111publ358.htm",
		"volume": "42",
		"author": [
			{
				"literal": "111th Congress"
			}
		],
		"issued": {
			"date-parts": [
				[
					"2011"
				]
			]
		}
	}
]

\end{filecontents}

\usepackage[style = apa]{citation-style-language}
\addbibresource{\jobname.json}
\usepackage{hyperref}

\begin{document}
\cite{AmericaCOMPETESAct2010}
\printbibliography
\end{document}

Screenshots

This bug is already fixed in latest v0.4.9.
https://github.com/zepinglee/citeproc-lua/blob/e3eb0d52b9bf2d8f4a42a29c0fa03dcacc3151e5/tests/latex/luatex-1/issue-63.tlg#L18

Thank you for the information. After building the latest version of citeproc-lua and using it, the error went away.


Feedback from Alizarine @jusdekiwi

Problem
### Tasks
- [ ] Add a draft title or issue reference here
- [ ] no generic name on mobile
- [ ] Nutrition table image not visible to edit values on mobile -> makes completion difficult from an image
- [ ] photo dates not visible on mobile, difficult to know the most up-to-date version
- [ ] detail of ingredient analysis: unrecognized ingredients are not visible on mobile (visible in bold on the web app)
- [ ] missing production location on the mobile app
- [ ] robotoff questions: always appears twice: bug?
- [ ] no Best Before date on mobile
- [ ] to enter packaging components: intermediate validation is missing for each added element (OK button which folds the completed packaging)
- [ ] calculation of nutriscore impossible -> does not specify why on mobile
- [ ] path to follow: more support to guide the contributor to the missing information
- [ ] make products with obsolete data visible

Part of

#525

@jusdekiwi


Add border and zindex for neovim's floating_win

Is it possible to make the border optional? With the background shadow & different background colors it's not really necessary to have it.

@romgrk Thanks for the reminder, I have applied g:clap_popup_border for neovim's floating win as well, even though the name is not exactly precise.

Sounds good :)


ERROR: com.castlemock.web.basis.support.HttpMessageSupport - Error occurred when extracting HTTP response body

Hi,
I use CastleMock to isolate my containerized environment from testing-environments. I do this with forwarding webapi requests from a containerized application to a testing-environment. This works quite well for most of the WebApi's until now.
on a specific WebApi i get the following exception:
ERROR: com.castlemock.web.basis.support.HttpMessageSupport - Error occurred when extracting HTTP response body
java.lang.NullPointerException
	at java.io.Reader.<init>(Reader.java:78)
	at java.io.InputStreamReader.<init>(InputStreamReader.java:97)
	at com.castlemock.web.basis.support.HttpMessageSupport.extractHttpBody(HttpMessageSupport.java:293)
	at com.castlemock.web.mock.rest.web.mock.controller.AbstractRestServiceController.forwardRequest(AbstractRestServiceController.java:276)
	at com.castlemock.web.mock.rest.web.mock.controller.AbstractRestServiceController.process(AbstractRestServiceController.java:192)
	at com.castlemock.web.mock.rest.web.mock.controller.AbstractRestServiceController.process(AbstractRestServiceController.java:126)
	at com.castlemock.web.mock.rest.web.mock.controller.RestServiceController.postMethod(RestServiceController.java:84)
	at sun.reflect.GeneratedMethodAccessor109.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)

I suspect it has to do with a specific response-headers to be present:
HTTP/1.1 201 Created
Cache-Control: no-cache
Pragma: no-cache
Content-Length: 776
Content-Type: application/json; charset=utf-8
Expires: -1
Server: Microsoft-IIS/8.5
Access-Control-Allow-Origin: https://acc-www.xxxxxxxxxx.local
X-AspNet-Version: 4.0.30319
Request-Context: appId=cid-v1:b6dae7f9-4659-4add-a5b9-2f5666f57106
Access-Control-Expose-Headers: Request-Context
Access-Control-Allow-Headers: Authorization
Date: Tue, 19 Nov 2019 14:21:31 GMT
Strict-Transport-Security: max-age=31536000; includeSubDomains
Connection: Keep-Alive
Set-Cookie: BC_HA_XXXXXXXXXXXXXX_13087056=XXXXXXXXX; Domain=.xxxxxxxxx.local; expires=Tue, 19-Nov-19 14:51:32 GMT; Path=/

{"XXXXXEndpoint":"https://xxxxxxxxxxxxxxxxxxxxxxxx/processing","Fields":{"txntype":"sale","timezone":"Europe","txndatetime":"2019:11:19-15:21:31","hash_algorithm":"SHA256","hash":"xxxxxxxxxxxxxxxxxxxxx","storename":"xxxxxxxxxxxx","mode":"payonly","chargetotal":"1.00","currency":"978","oid":"XxxxxxxxxXXXX20191119-00014","paymentMethod":"xxxxxxxxx","responseSuccessURL":"https://acc-api.xxxxxxxxxxxxx.xxxxxx/xxxxxxxxxxxxx.WebApi/api/v1/xxxxx/update","responseFailURL":"https://acc-api.xxxxxxxxxxxx.xxxxxxx/xxxxxxxxxxx.WebApi/api/v1/xxxxx/update","source":"XxxxxxxxDIP","succesRedirectUrl":"","failRedirectUrl":"","cancelRedirectUrl":"","uncertainRedirectUrl":"","comments":"Lastname 'Tester' - EmailAddress<EMAIL_ADDRESS>

I think the issue is that "characterEncoding" is null.
else {
                // No encoding was used. Simply parse the response.
                final InputStreamReader inputStreamReader = new InputStreamReader(inputStream, characterEncoding);
                bufferedReader = new BufferedReader(inputStreamReader);
            }

#154


Readme fixes

A couple of commits fixing problems in the README, relating to Cargo.toml:

Old crate name
Doesn't build in blocking mode with config as originally listed.

Sorry for the late response, as I didn't receive a notification for this, but yes, this is fine for me


Appstudio update test-component-pac-xipv

Pipelines as Code configuration proposal

Pipelines as Code CI/test-component-pac-xipv-on-pull-request has successfully validated your commit.

StatusDurationName

✅ Succeeded
22 seconds
init

✅ Succeeded
15 seconds
clone-repository

✅ Succeeded
1 minute
build-container

✅ Succeeded
25 seconds
sanity-inspect-image

✅ Succeeded
25 seconds
deprecated-base-image-check

✅ Succeeded
3 minutes
clair-scan

✅ Succeeded
1 minute
clamav-scan

✅ Succeeded
23 seconds
sbom-json-check

✅ Succeeded
17 seconds
sanity-label-check

✅ Succeeded
17 seconds
sanity-optional-label-check

✅ Succeeded
6 seconds
show-summary

Pipelines as Code CI/test-component-pac-xipv-on-pull-request has successfully validated your commit.

StatusDurationName

✅ Succeeded
8 seconds
init

✅ Succeeded
14 seconds
clone-repository

✅ Succeeded
37 seconds
build-container

✅ Succeeded
15 seconds
deprecated-base-image-check

✅ Succeeded
15 seconds
sanity-inspect-image

✅ Succeeded
9 seconds
clair-scan

✅ Succeeded
1 minute
clamav-scan

✅ Succeeded
9 seconds
sbom-json-check

✅ Succeeded
12 seconds
sanity-label-check

✅ Succeeded
12 seconds
sanity-optional-label-check

✅ Succeeded
6 seconds
show-summary


More Page getColumns refactors

Two commits:

Adds a single int overload to Page#getColumns to avoid creating a varargs array in that scenario
Refactors more operator classes to use Page#getColumns where possible

thanks!


tf.keras.layers.TimeDistributed build method passes shapes as tuples instead of TensorShapes.

https://github.com/tensorflow/tensorflow/blob/a4dfb8d1a71385bd6d122e4f27f86dcebb96712d/tensorflow/python/keras/layers/wrappers.py#L186
This causes inconsistencies in wrapped layer.

@iiwi It looks like your Issue relates to the Keras component. Please submit it to the github.com/keras-team/keras repository instead. As (previously announced), all future development of Keras is expected to happen in the github.com/keras-team/keras repository. If your issue lies with the TF-Core area please comment back with your explanation and we can look into it further. Thanks!

Closing due to lack of recent activity. Please update the issue when new information becomes available, and we will reopen the issue. Thanks!


Page-level width/height directives

Page-level width/height directives don't work.
<!-- *width: 960px
     *height: 720px -->

Has no effect.
I needed this for a slide where the code-sample was too large and there's no other way to break it up.
I guess, ideally, something like <!-- *size: 1.2 --> might be better, as opposed to having to calculate the width/height relative to a base-resolution like 800x600.
There's no way to control the size of an individual slide?
It appears there's no way to control the font-size of a code-sample either.
I have 25 slides ready for a presentation on friday, but not sure what to do about this one slide :-/

In case anyone else is looking for a solution, here it is:
<span style="font-size:24px">

```php
class Database
{
    public function __construct($username, $password)
    {
        $this->username = $username;
        $this->password = $password;
    }
}
```
</span>

An extra line-break is required between the opening <span> and fenced code-block, or it won't work!


[BUG]: NaiveAMPModel only handles single tensor or list/tuple of tensor output.

🐛 Describe the bug
https://github.com/hpcaitech/ColossalAI/blob/65ee6dcc205abb703e09b0ef3ef6d3571d87cd14/colossalai/amp/naive_amp/naive_amp.py#L147
The NaiveAMPModel only converts single fp16 tensor or list/tuple of fp16 tensors back to fp32 tensors. This causes errors when the return type is a dict of tensors. I think NaiveAMPModel should at least handle primitive containers (e.g. tuple, list, dict) and nested containers.
Environment
colossalai version: 0.1.5+torch1.11cu10.2

Good proposal, we can support this in the next release or nightly build.

Fixed in #1102 .


Update demo screenshots

Noticed that we were missing some screenshots on the demo site.

I've noticed this too, that we're not really remembering to re-gen screenshots. Also, I think the screenshots will be slightly different depending on the platform (Mac vs. Windows vs. Linux) so it'll create a lot of diffs when different contributors create them.
I'm thinking whether we should just generate the screenshots right before pushing a new demo. The only trick is that it might be a bit more difficult to run this on our work machines. WDYT?

I've noticed this too, that we're not really remembering to re-gen screenshots. Also, I think the screenshots will be slightly different depending on the platform (Mac vs. Windows vs. Linux) so it'll create a lot of diffs when different contributors create them.
I'm thinking whether we should just generate the screenshots right before pushing a new demo. The only trick is that it might be a bit more difficult to run this on our work machines. WDYT?

Yeah it does seem like the steps to generate the screenshots are easy to automate via Github actions or something. Yes, my work machine is unfortunately pretty borked for running Mesop (need to fix that at some point...).
I do wonder if we could host the demo site on Hugging Face (would just need something to keep the Space from sleeping though)

I've noticed this too, that we're not really remembering to re-gen screenshots. Also, I think the screenshots will be slightly different depending on the platform (Mac vs. Windows vs. Linux) so it'll create a lot of diffs when different contributors create them.
I'm thinking whether we should just generate the screenshots right before pushing a new demo. The only trick is that it might be a bit more difficult to run this on our work machines. WDYT?

Yeah it does seem like the steps to generate the screenshots are easy to automate via Github actions or something. Yes, my work machine is unfortunately pretty borked for running Mesop (need to fix that at some point...).
I do wonder if we could host the demo site on Hugging Face (would just need something to keep the Space from sleeping though)

yeah, I think hosting on hugging face isn't a bad idea - let me give it a try. I think we have enough traffic that it wouldn't sleep.

Just opened #684 - I think we can close this.


First attempt at testing automatically after a successful reload

This is rough and probably shouldn't yet be merged.
Use with something like: ghcid --command="cabal repl ghcid_fasttest" --testcommand="main"
Wishlist / more features:

[ ] Render test output nicer
[ ] Interrupt (?) test output on file save
[ ] Stream test output
[ ] Interpret exit code perhaps? Fold a successful test run back into "All good"

Thanks for the code. I merged in your diff, and checked a load of it in as separate pieces and with modifications. I haven't done any of your next steps, but it does work as it stands.


some member names likely don't work right for types with "call" method

(moved from https://github.com/dart-lang/dev_compiler/issues/593)
In particular, those that are inherited from JS Functions, like "name".
We also allow shadowing methods like "call" and "apply". This may cause problems in our runtime, or in JS code that gets these objects. We should probably symbolize call/apply to avoid collision.

We needed to work around this issue to use the DDC, so I implemented a runtime fix to the issue with the name accessor until the underlying issue is fixed, if anyone's interested:

implementation
usage
tests

It's hacky and brittle and I'm not super proud of it, but it gets the job done if you really need to work around this issue.

this was fixed. callable classes are not subtypes of function types any longer, so we do not represent them the same way in JS