ARROW-4340: [C++][CI] Build IWYU for LLVM 7 in iwyu docker-compose job

Following the instructions in docker-compose.yml gives me a working IWYU build now
export PYTHON_VERSION=3.6
docker-compose build cpp
docker-compose build python
docker-compose build lint
docker-compose run iwyu

+1. I tested this locally. This isn't run in CI and the linter passed so I'll merge
see output here https://gist.github.com/wesm/d3ea882af3b64b43a31ae1b2d2602877


How to deploy your project on Netlify?

Hello,
How are you?
I just cloned your repo.
And I am going to deploy that on Netlify.
And then, I am getting this error:

Of course, I followed all steps as your readme.
And also, I run your project in my local successfully.
When I deploy your project on Netlify, I set all Necessary Environment Variables including GITHUB_ID, GITHUB_SECRET, NEXTAUTH_SECRET, NEXTAUTH_URL.

What is wrong yet?
How to solve this problem?
Please help me kindly.
Best regards.

One more.
As you can see here, I can see login page.

But When I click the "Continue With Email" Button, I am getting current error.
Best

Hello, How are you? I just cloned your repo. And I am going to deploy that on Netlify. And then, I am getting this error:

Hey, can you share the server logs from netlify while logging in?

Hello, How are you? I just cloned your repo. And I am going to deploy that on Netlify. And then, I am getting this error:

Hey, can you share the server logs from netlify while logging in?

Here it is:
Aug 8, 03:32:42 AM: 8eb0da64 ERROR  [auth][error] UntrustedHost: Host must be trusted. URL was: https://phrasly-fork.netlify.app/api/auth/error. Read more at https://errors.authjs.dev#untrustedhostAug 8, 03:32:42 AM: 8eb0da64 ERROR      at /var/task/.next/server/chunks/925.js:393:46983
    at iq (/var/task/.next/server/chunks/925.js:393:49661)
    at async /var/task/node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js:6:34666
    at async eS.execute (/var/task/node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js:6:25813)
    at async eS.handle (/var/task/node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js:6:35920)
    at async doRender (/var/task/node_modules/next/dist/server/base-server.js:1377:42)
    at async cacheEntry.responseCache.get.routeKind (/var/task/node_modules/next/dist/server/base-server.js:1599:28)

Oh, Yea!
I just found the solution.
I solved the error by adding New Environment Variable on Netlify.
AUTH_TRUST_HOST="https://phrasly-fork.netlify.app"
And After Redeployed, everything works well.
Thanks.


Cherrypick: chore: Update leader-election-role name (#2296)

Cherrypicks: #2296
Also the install yaml files for the release were updated to include the changes as well as missing changes from https://github.com/kserve/kserve/commit/68abde756571704099895e980a7aa291e4e857fe.

/lgtm
/approve


Toolbar refactoring: Ontap buttons

Toolbar button ids
Toolbar button classes created

ontap_storage_system_statistics, ontap_storage_volume_statistics, ontap_file_share_statistics
Ontap < Basic

ontap_logical_disk_perf
OntapLogicalDiskPerf < Basic

ontap_logical_disk_statistics
OntapLogicalDiskStatistics < Ontap

TODO: find the buttons in UI.
Links
Parent issue: #6259
Related issue: #6554
Pivotal Tracker: https://www.pivotaltracker.com/story/show/135544583

@miq-bot add_label ui, refactoring, wip

Waiting for #13052

@miq-bot remove_label wip

@miq-bot remove-label wip

@miq-bot remove_label wip

I was also unable to find these buttons in UI, but code looks OK.
Wonder if anybody actually uses them.

@miq-bot remove_label wip

Please re-create PR in https://github.com/ManageIQ/manageiq-ui-classic


What is the behaviour if maxSize is not specified?

Is it just the same as a Data.Map in that case?

Mostly, except it still retains LRU ordering.  You'd use it without a max size if you care about being able to use pop to get rid of the oldest entry or use toList to get insertion order, but don't care about automatically evicting the oldest entries.


Bug: text size constantly changing, smooth scrolling, selected item not visible after layout stops transitioning

Thanks for this useful doc set!
I see some very odd behaviour which could be related to CSS transitions or JavaScript?
The text size constantly changes and there seems to be some sort of smooth scroll happening?
This means that it takes a while for the selected item to come into view, and more often than not after the text resizing the selected item is not on screen so I have to search for it a second time to make it appear on screen.
I think static text size and no smooth scrolling would be preferable.
Also, I've not seen any other docsets where this happens.
Screen recording
https://github.com/user-attachments/assets/0b6db5e3-2745-46f6-96f3-c1328b415b40

This issue has been present since the first version. The project only crawls the entire website and creates the corresponding dash index for easy navigation. During this process, no modifications are made to the source web pages. Therefore, when you open a page, the JavaScript scripts and CSS animations from the source web pages will run again, which may cause some discomfort.

Update: The official website Qt for Python has been updated to a new CSS style, but this project is adapted to the old style. This means that the project cannot function correctly at this stage.

Thanks, that explains it.
I notice that there is a PR to update the project to the new format. Hopefully that can be merged soon and new docset issues. Cheers!

Thanks for merging the PR.
Is there an additional process required to make an new/updated new docset appear in Dash app?


Failure to render Khronos Brain Stem sample glTF

<model-viewer> cannot render the Khronos Brain Stem sample glTF. It fails with the following exception before anything is drawn:

The failure is on a call to update the model's skeleton: object.skeleton.update();.
Notably, this is a sample model with a built-in animation.
This bug was discovered while pursuing #360

This same issue occurs when trying to load the Khronos Cesium Man sample glTF. It's probably animation related.

Ditto: Khronos Monster sample glTD

Looks like we have a SkinnedMesh without any skeleton


Make enums optional

Hey!
Awesome project you have, I love it, used for typescript and c#, however I would like to have the feature to toggle if it should generate enums or just put "string". Here is an example:

I have provided a sample data of about 50 entries, and I don't want to be limited to these colors for example. Right now I manually have to replace everything with string, but would be nice if it was a toggle to use enums or strings.
Thanks, best regards
Philip

I just want to reignite the discussion since we generate schemas from numerous sources and aim to avoid enum generation. It would also be beneficial to have the ability to specify field names for which we do not want to generate enums.


Anti-virus warning on built apps with 5.0.102

Description
Applications built with 5.0.102 result in a warning from ESET anti-virus for a trojan called WIN64/Trojan.Patched.U
This detection is also on MSBuild.exe when trying to build applications using the latest available SDK (5.0.102)
Configuration
dotnet --version
5.0.102
Regression?
Building with any other version of the SDK doesn't result in the binaries being detected as malicious.
Other information
Visual Studio 2019
16.8.4

Related: https://github.com/dotnet/runtime/issues/35167, https://github.com/dotnet/runtime/issues/33745
I'll see if anybody here has some contact information for ESET so that we can resolve this with them. Thanks for the report!

Related: https://github.com/dotnet/runtime/issues/35167, https://github.com/dotnet/runtime/issues/33745
I'll see if anybody here has some contact information for ESET so that we can resolve this with them. Thanks for the report!

Looks like this was already reported to ESET. This should be resolved as of their latest AV definitions. See https://github.com/NuGetPackageExplorer/NuGetPackageExplorer/issues/1218 for some further discussion.

Looks like this was already reported to ESET. This should be resolved as of their latest AV definitions. See https://github.com/NuGetPackageExplorer/NuGetPackageExplorer/issues/1218 for some further discussion.

Thanks for the reply, yes the issue was only for like 6 hours. Thanks for the swift reply.

Thanks for the reply, yes the issue was only for like 6 hours. Thanks for the swift reply.


json body POST

Hi,
I've been doing some more testing and think I've worked out the reason I'm getting 400 responses from server when I do a post.
I set up a basic echo server to watch what was being posted. This what should be sent, I used a REST client to make the request here:
{
  "ip": "<IP_ADDRESS>",
  "time":<PHONE_NUMBER>126,
  "method": "POST",
  "url": "/vedsdk/authorize/",
  "body": "{\n  \"Username\": \"admin\",\n  \"Password\": \"Passw0rd\"\n}",
  "headers": {
    "content-type": "application/json",
    "host": "<IP_ADDRESS>:5000",
    "connection": "close",
    "user-agent": "Paw/2.1.1 (Macintosh; OS X/10.10.2) GCDHTTPRequest",
    "content-length": "51"
  },
  "meta": {
    "num": 9,
    "live": 1,
    "status": 200,
    "delay": 0
  }
}

This is what the webhooks cookbook is sending:
{
  "ip": "<IP_ADDRESS>",
  "time":<PHONE_NUMBER>264,
  "method": "POST",
  "url": "/",
  "body": "Username=admin&Password=Passw0rd",
  "headers": {
    "accept-encoding": "gzip;q=1.0,deflate;q=0.6,identity;q=0.3",
    "accept": "*/*",
    "user-agent": "Ruby",
    "content-type": "application/json",
    "host": "<IP_ADDRESS>:5000",
    "content-length": "32"
  },
  "meta": {
    "num": 10,
    "live": 1,
    "status": 200,
    "delay": 0
  }
}

So the json for the body "body": "Username=admin&Password=Passw0rd", is not created as it should be. Heres my webhooks block:
webhooks_request "Get TPP API Key" do
  uri "<IP_ADDRESS>/"
  uri_port 5000
  ssl_validation false
  use_ssl false
  follow_redirect true
  post_data (
                { 'Username' => 'admin', 'Password' => 'Passw0rd'}
            )
  header_data (
                  { 'content-type' => 'application/json'}
              )
  expected_response_codes [ 200, 201, 301 ]
  action :post
end

So it seems that it could be ignoring the "content-type": "application/json" header.

So I worked out what was happening here and changed this line in the provider file:
#req.set_form_data( @current_resource.post_data )  #set the form data
req.body =<EMAIL_ADDRESS>#set the body data

Which obviously sends it as JSON instead of form data.
I think it would be worth trying to deal with this using the attributes.

Hey!
Yes, this is a good find.  The original intent was just to pass the data as a typical POST, seems you have found one shortcoming.  I'll add the ability to send JSON and even XML data as well.  Thanks for the find and a great addition to this cookbook!

Doing some major work on this cookbook.  I should be able to get this in by Monday.

Fixed in v0.1.3


Modal gets stuck visible when rendered in Storybook on iOS

(works fine with default RN modal)
Environment
System:
    OS: macOS 11.4
    CPU: (16) x64 Intel(R) Core(TM) i9-9880H CPU @ 2.30GHz
    Memory: 25.61 MB / 16.00 GB
    Shell: 3.2.57 - /bin/bash
  Binaries:
    Node: 14.16.0 - ~/.nvm/versions/node/v14.16.0/bin/node
    Yarn: 1.22.10 - ~/.nvm/versions/node/v14.16.0/bin/yarn
    npm: 6.14.11 - ~/.nvm/versions/node/v14.16.0/bin/npm
    Watchman: 2<IP_ADDRESS> - /usr/local/bin/watchman
  Managers:
    CocoaPods: 1.10.1 - /Users/brian/.rbenv/shims/pod
  SDKs:
    iOS SDK:
      Platforms: iOS 14.5, DriverKit 20.4, macOS 11.3, tvOS 14.5, watchOS 7.4
    Android SDK:
      API Levels: 23, 28, 29, 30
      Build Tools: 29.0.2, 30.0.3
      System Images: android-30 | Google APIs Intel x86 Atom
      Android NDK: Not Found
  IDEs:
    Android Studio: 4.2 AI-202.76<IP_ADDRESS>51085
    Xcode: 12.5.1/12E507 - /usr/bin/xcodebuild
  Languages:
    Java: 1.8.0_292 - /usr/bin/javac
  npmPackages:
    @react-native-community/cli: Not Found
    react: 17.0.1 => 17.0.1
    react-native: 0.64.2 => 0.64.2
    react-native-macos: Not Found
  npmGlobalPackages:
    *react-native*: Not Found

Platforms
iOS
Versions

iOS:  14.5
react-native-modal: 12.0.2
react-native: 0.65.2
react: 17.0.1

Description
This seems similar to an issue I've had with this library (and the RN Modal for years now) - It seems like it can often cause soft locks, especially when other native views are involved. BUT, I don't think that is the case here. I'm not totally sure what storybook does under the hood, but seems to break this and not the Modal component in react native
Reproducible Demo
I will see if I can get to this :-)

In my case, I found, that resolver of animation was not called - file modal.tsx, function open,  line 666 ( https://github.com/react-native-modal/react-native-modal/blob/master/src/modal.tsx#L666 )  :
               this.contentRef
                    .animate(this.animationIn, this.props.animationInTiming)
                    .then(() => { // this is not called !!!
                       this.isTransitioning = false;
                 ...

and because this.isTransitioning was set to true and never to false, modal can not be closed.
For some reason it is not working in storybook. In application it works well. Tested on android and ios emulator.
Versions

react-native: 0.64.2,
react: 17.0.2,
Storybook: 5.3.23

+1

After upgrading storybook ( to 6.0.1-alpha.7 ) it works well. It seems like older version of storybook has problem with Promise.

For anyone else who is still facing this problem
I was able to workaround this in stories using key prop with isVisible state
e.g. <Modal isVisible={modalShown} key={modalShown}>{content}</Modal>

For anyone else who is still facing this issue
I was able to workaround this in stories using key prop with isVisible state as value
<Modal isVisible={modalShown} key={modalShown}>{content}</Modal

For anyone else who is still facing this issue I was able to workaround this in stories using key prop with isVisible state as value <Modal isVisible={modalShown} key={modalShown}>{content}</Modal

This work for me.

For anyone else who is still facing this issue
I was able to workaround this in stories using key prop with isVisible state as value
<Modal isVisible={modalShown} key={modalShown}>{content}</Modal

Hey @Artem-Kalugin, this fixes the issue. But any idea why ?  🤔

For anyone else who is still facing this issue
I was able to workaround this in stories using key prop with isVisible state as value
<Modal isVisible={modalShown} key={modalShown}>{content}</Modal

Hey @Artem-Kalugin, this fixes the issue. But any idea why ? 🤔

Its just triggers additional rerender while changing visibility. Seems that this disables optimizations that lib uses under the hood. Also it’s disables animations too. So don’t use it directly inside your components,  use it in stories instead.


Identify collections by name

Currently, all the templatetags that refer to collections take the id of the collection as argument. This is cumbersome to work with and sometimes ids can change. It would be better, if it was possible to pass the name of the collection. But the name is not distinct. We could make it distinct. Another option would be to use the name + the parent as distinct feature and identify the collection by its full path (i.e. mytags.myentitytags.foo)

The latter would be definitely the nicer, but the parent could have a parent...so if we opt for the latter we would need the full path and additionally add a validation logic that sets the full path unique.

a validation logic that sets the full path unique

I guess if we define in the model that parent + label have to be unique, that leads to a unique full path, right?


Failing to write to loggers cause Kestrel connection processing to end abnormally

When writing to a logger fails, it crashes the request and Kestrel will not return a response. Any exception handling middleware won't be invoked:
warn: Microsoft.AspNetCore.Server.Kestrel[0]
      Connection processing ended abnormally.
System.AggregateException: An error occurred while writing to logger(s).

...

crit: Microsoft.AspNetCore.Server.Kestrel[0]
      Unexpected exception in HttpConnection.ProcessRequestsAsync.

A minimal repro looks like this:
public class Program
{
    public static void Main(string[] args) => CreateWebHostBuilder(args).Build().Run();

    public static IWebHostBuilder CreateWebHostBuilder(string[] args) =>
        WebHost.CreateDefaultBuilder(args)
            .ConfigureLogging(l => l.Services.AddSingleton<ILoggerProvider, FooLoggerProvider>())
            .Configure(app =>
            {
                app.UseDeveloperExceptionPage();
                app.Run(async (context) =>
                {
                    await context.Response.WriteAsync("Hello World!");
                });
            });
}

public class FooLoggerProvider : ILoggerProvider
{
    public ILogger CreateLogger(string categoryName) => new FooLogger();

    public void Dispose() { }
}

public class FooLogger : ILogger
{
    public IDisposable BeginScope<TState>(TState state) => NoopDisposable.Instance;

    public bool IsEnabled(LogLevel logLevel) => logLevel >= LogLevel.Information;

    public void Log<TState>(LogLevel logLevel, EventId eventId, TState state, Exception exception, Func<TState, Exception, string> formatter)
    {
        throw new InvalidOperationException("It's broken");
    }

    private class NoopDisposable : IDisposable
    {
        public static NoopDisposable Instance = new NoopDisposable();

        public void Dispose() { }
    }
}

It repro's on a netcoreapp2.1 application with the 2.1.401 SDK and 2.1.3 runtime.

The full stack-trace
Application started. Press Ctrl+C to shut down.
info: Microsoft.AspNetCore.Hosting.Internal.WebHost[1]
      Request starting HTTP/1.1 GET https://localhost:5001/
warn: Microsoft.AspNetCore.Server.Kestrel[0]
      Connection processing ended abnormally.
System.AggregateException: An error occurred while writing to logger(s). (It's broken) ---> System.InvalidOperationException: It's broken
   at WebApplication3.FooLogger.Log[TState](LogLevel logLevel, EventId eventId, TState state, Exception exception, Func`3 formatter) in C:\Users\Henk Mollema\source\repos\WebApplication3\WebApplication3\Program.cs:line 43
   at Microsoft.Extensions.Logging.Logger.Log[TState](LogLevel logLevel, EventId eventId, TState state, Exception exception, Func`3 formatter)
   --- End of inner exception stack trace ---
   at Microsoft.Extensions.Logging.Logger.Log[TState](LogLevel logLevel, EventId eventId, TState state, Exception exception, Func`3 formatter)
   at Microsoft.Extensions.Logging.Logger`1.Microsoft.Extensions.Logging.ILogger.Log[TState](LogLevel logLevel, EventId eventId, TState state, Exception exception, Func`3 formatter)
   at Microsoft.AspNetCore.Hosting.Internal.HostingApplicationDiagnostics.LogRequestStarting(HttpContext httpContext)
   at Microsoft.AspNetCore.Hosting.Internal.HostingApplication.CreateContext(IFeatureCollection contextFeatures)
   at Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http.HttpProtocol.ProcessRequests[TContext](IHttpApplication`1 application)
   at Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http.HttpProtocol.ProcessRequestsAsync[TContext](IHttpApplication`1 application)
---> (Inner Exception #0) System.InvalidOperationException: It's broken
   at WebApplication3.FooLogger.Log[TState](LogLevel logLevel, EventId eventId, TState state, Exception exception, Func`3 formatter) in C:\Users\Henk Mollema\source\repos\WebApplication3\WebApplication3\Program.cs:line 43
   at Microsoft.Extensions.Logging.Logger.Log[TState](LogLevel logLevel, EventId eventId, TState state, Exception exception, Func`3 formatter)<---

crit: Microsoft.AspNetCore.Server.Kestrel[0]
      Unexpected exception in HttpConnection.ProcessRequestsAsync.
System.AggregateException: An error occurred while writing to logger(s). (It's broken) ---> System.InvalidOperationException: It's broken
   at WebApplication3.FooLogger.Log[TState](LogLevel logLevel, EventId eventId, TState state, Exception exception, Func`3 formatter) in C:\Users\Henk Mollema\source\repos\WebApplication3\WebApplication3\Program.cs:line 43
   at Microsoft.Extensions.Logging.Logger.Log[TState](LogLevel logLevel, EventId eventId, TState state, Exception exception, Func`3 formatter)
   --- End of inner exception stack trace ---
   at Microsoft.Extensions.Logging.Logger.Log[TState](LogLevel logLevel, EventId eventId, TState state, Exception exception, Func`3 formatter)
   at Microsoft.AspNetCore.Server.Kestrel.Core.Internal.KestrelTrace.Log[TState](LogLevel logLevel, EventId eventId, TState state, Exception exception, Func`3 formatter)
   at Microsoft.Extensions.Logging.LoggerExtensions.Log(ILogger logger, LogLevel logLevel, EventId eventId, Exception exception, String message, Object[] args)
   at Microsoft.Extensions.Logging.LoggerExtensions.LogWarning(ILogger logger, EventId eventId, Exception exception, String message, Object[] args)
   at Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http.HttpProtocol.ProcessRequestsAsync[TContext](IHttpApplication`1 application)
   at Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http.HttpProtocol.ProcessRequestsAsync[TContext](IHttpApplication`1 application)
   at Microsoft.AspNetCore.Server.Kestrel.Core.Internal.HttpConnection.ProcessRequestsAsync[TContext](IHttpApplication`1 httpApplication)
---> (Inner Exception #0) System.InvalidOperationException: It's broken
   at WebApplication3.FooLogger.Log[TState](LogLevel logLevel, EventId eventId, TState state, Exception exception, Func`3 formatter) in C:\Users\Henk Mollema\source\repos\WebApplication3\WebApplication3\Program.cs:line 43
   at Microsoft.Extensions.Logging.Logger.Log[TState](LogLevel logLevel, EventId eventId, TState state, Exception exception, Func`3 formatter)<---

crit: Microsoft.AspNetCore.Server.Kestrel[0]
      ConnectionDispatcher.Execute() 0HLGAEBC3422F
System.AggregateException: An error occurred while writing to logger(s). (It's broken) ---> System.InvalidOperationException: It's broken
   at WebApplication3.FooLogger.Log[TState](LogLevel logLevel, EventId eventId, TState state, Exception exception, Func`3 formatter) in C:\Users\Henk Mollema\source\repos\WebApplication3\WebApplication3\Program.cs:line 43
   at Microsoft.Extensions.Logging.Logger.Log[TState](LogLevel logLevel, EventId eventId, TState state, Exception exception, Func`3 formatter)
   --- End of inner exception stack trace ---
   at Microsoft.Extensions.Logging.Logger.Log[TState](LogLevel logLevel, EventId eventId, TState state, Exception exception, Func`3 formatter)
   at Microsoft.AspNetCore.Server.Kestrel.Core.Internal.KestrelTrace.Log[TState](LogLevel logLevel, EventId eventId, TState state, Exception exception, Func`3 formatter)
   at Microsoft.Extensions.Logging.LoggerExtensions.Log(ILogger logger, LogLevel logLevel, EventId eventId, Exception exception, String message, Object[] args)
   at Microsoft.Extensions.Logging.LoggerExtensions.LogCritical(ILogger logger, EventId eventId, Exception exception, String message, Object[] args)
   at Microsoft.AspNetCore.Server.Kestrel.Core.Internal.HttpConnection.ProcessRequestsAsync[TContext](IHttpApplication`1 httpApplication)
   at Microsoft.AspNetCore.Server.Kestrel.Core.Internal.HttpConnectionMiddleware`1.OnConnectionAsync(ConnectionContext connectionContext)
   at Microsoft.AspNetCore.Server.Kestrel.Core.Internal.ConnectionDispatcher.Execute(ConnectionContext connectionContext)
---> (Inner Exception #0) System.InvalidOperationException: It's broken
   at WebApplication3.FooLogger.Log[TState](LogLevel logLevel, EventId eventId, TState state, Exception exception, Func`3 formatter) in C:\Users\Henk Mollema\source\repos\WebApplication3\WebApplication3\Program.cs:line 43
   at Microsoft.Extensions.Logging.Logger.Log[TState](LogLevel logLevel, EventId eventId, TState state, Exception exception, Func`3 formatter)<---

.NET Core environment info
λ dotnet --info
.NET Core SDK (reflecting any global.json):
 Version:   2.1.401
 Commit:    91b1c13032

Runtime Environment:
 OS Name:     Windows
 OS Version:  10.0.17134
 OS Platform: Windows
 RID:         win10-x64
 Base Path:   C:\Program Files\dotnet\sdk\2.1.401\

Host (useful for support):
  Version: 2.1.3
  Commit:  124038c13e

.NET Core SDKs installed:
  2.1.401 [C:\Program Files\dotnet\sdk]

.NET Core runtimes installed:
  Microsoft.AspNetCore.App 2.1.3 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
  Microsoft.NETCore.App 2.1.3 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]

Even though writing to loggers should not fail, this behavior is rather destructive and hard to debug since no exception handlers are hit. Is this by design?

@Tratcher / @halter73 - thoughts on where this issue should go? Kestrel? Hosting? Logging?

If there's action to be taken here, it should be in Logging. It's far too burdensome to expect the server/framework to handle exceptions from loggers. The type of defensive coding that would require would be unwieldy to say the least.
It's possible we could have Logging wrap ILoggers in order to catch these exceptions, but that leaves us with the question on how we report exceptions from the throwing ILogger and if/how we report the original log. Stderr?
It might be better to have guidance to not ever throw from ILoggers.

Loggers can't throw. Lets just beef up our docs. It's not really reasonable for all consumers of logging to assume a logger can throw, better to just let logging implementations know they should never throw when logging

I guess you could argue what the point is of throwing the aggregate exception here:

You could but it doesn't hurt, it just means you get N exceptions instead of the first one. Also all loggers get a chance to run currently.

You could but it doesn't hurt, it just means you get N exceptions instead of the first one. Also all loggers get a chance to run currently.

I understand. My point is that after each logger has ran any exceptions that were caught result in a aggregated error which gets thrown, but there is effectively no one to catch the error which results in a destabilized response. Writing each error to the stderr might make more sense than throwing an error.

Looks like we don't currently plan to have official docs on writing custom loggers: https://github.com/aspnet/Docs/issues/6157
And given that no product work is planned in this issue, I'm closing it.


Please open issues

Don't merge
Hi! Thanks for maintaining this fork 😄
However, since this repository is a fork, the issues section is not opened by default. Could you please open it?

谢谢佬 QwQ


Add redis password to allowed env variables

It's a good practice to use password for redis connections and most of the projects already handle all the things in different environments in env file. So it would be handy to be able to set password in .env

Thanks!


Can't create feature dependencies

It seems to be impossible to add a "" block to the feature.xml. For example I have feature A which includes plugins a, b, c and I have feature B which includes plugin d, that depends on a and b.
Currently, feature B will automatically include plugins a, b and d, but in my case I would prefer it if feature B would only include plugin d and have an additional dependency on feature A.
Is this possible?

Does a configuration like this add the <requires> tag you refer to?
platform {
    // define a feature
    feature(...) {
        ...

        // include a feature that is defined elsewhere given its ID
        includes << 'some.other.feature'
    }
}

Probably the feature will still reference a and b directly as well, so there might be changes necessary to do some processing when the feature is assembled, to check for bundles already present in included features.
Or, more comfortable, a mode where features are checked for their content and dependencies in features delegated preferably to other features. But that would very likely be a lot more work than the other option. Also, your case would not be a straightforward use case, as the dependency to the feature includes an additional dependency to c that seems to be not required for feature B.

No, that adds a  block, not a  block. See documentation here: http://help.eclipse.org/neon/index.jsp?topic=%2Forg.eclipse.platform.doc.isv%2Freference%2Fmisc%2Ffeature_manifest.html

Well, then I'm afraid there is no mechanism there right now for handling that.
Where does includes and requires make a difference? If I understand the docs correctly mainly in the aspect that requires may refer to a feature that is defined in a different update site.
I guess in that case there would be the need to be able to configure that for a feature and use the Gradle dependency mechanism to exclude those dependencies that are provided via the foreign feature from the update site.

We want to be more flexible on who provides feature A and which updatesite is hosting it. Also feature A might be available in multiple versions and including the feature seems to make the dependency more tightly coupled.

If you are willing to have a look at that, pull requests are always welcome. I'm afraid I don't really have much leisure time to work on things like this, but I am happy to provide support where I can.
If in sense of changes to the plugin adding the requires configuration for a feature is the only thing that needs to be done, that should be mainly:

supporting the configuration of a feature with the necessary information (entry point here)
include the respective section when writing the feature.xml file (FeatureUtil)

Thank you, I will take a look at that.


viewDidAppear is called prior to view controllers animating on screen.

viewDidAppear is called on the same run loop and viewWillAppear. I have added a hack piece of code that uses dispatch_after to delay this callback, BUT the better solution is to implement view containment (related: #23)

Why a dispatch_after? This is messy. Just invoking the call on the next runloop would be a better (still hacky) fix.

currently I call dispatch_after (not dispatch_async) with the delay equal to the animation time. You could also schedule in runloop after the same delay.

Ahh... the animation delay. Hmm. How would we solve that with viewController containment?

Using
automaticallyForwardAppearanceAndRotationMethodsToChildViewControllers

and
transitionFromViewController:toViewController:duration:options:animations:completion:

should coordinate the proper sending of view life cycle methods in concert with their animations.


[Minor Issue] stable tag points to 2.1.0, is 2.1.2 unstable? It seems 2.1.2 is a release..

See title :)

it doesn’t mean 2.1.2 is unstable. the stable tag is for the release that had been released for a period of time.

I'm sorry, it seemed like both 2.1.0 and 2.1.2 were pushed to repo on the
same day (github displayed the same date).
Thanks!
On Wed, 8 Aug 2018, 05:42 Guolin Ke<EMAIL_ADDRESS>wrote:

it doesn’t mean 2.1.2 is unstable. the stable tag is for the release that
had been released for a period of time.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/Microsoft/LightGBM/issues/1568#issuecomment-411265572,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AdBzCFBXBpRW2G76T1EgUE9LDwvKELEuks5uOlAogaJpZM4Vva0j
.

you should check the date in git commit log.

I'm sorry, it seemed like both 2.1.0 and 2.1.2 were pushed to repo on the
same day (github displayed the same date).

It was me. Before that day those releases were in Draft.


Impatience factors -> patience factors

The "impatience factors" in the checkConditions code are really "patience factors" and so the "I"s in the names should be changed to "P" i.e. GIF should be changed to GPF.

@llorracc I believe you've fixed this already?

Yes, I fixed it
On Tue, Dec 8, 2020 at 2:46 PM Sebastian Benthall<EMAIL_ADDRESS>wrote:

@llorracc https://github.com/llorracc I believe you've fixed this
already?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/econ-ark/HARK/issues/671#issuecomment-740926644, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AAKCK73CZ4EDYY4SBUVQXNLSTZ7CLANCNFSM4MXJGZYA
.

--

Chris Carroll


Add SubDrawTarget

See this thread.
Once #342 is merged, e-g needs a way to differentiate between a display's drawable area and a display's visible area. A suggestion in the linked thread was to add a ~TranslatedDrawTarget (name needs bikeshedding)~ SubDrawTarget to wrap another draw target in a "sub window" type object.
Note to self: read the thread again before commenting!

..add a TranslatedDrawTarget (name needs bikeshedding)...

The TranslatedDrawTarget was originally only intended to shift all drawing operations by a fixed offset. But I agree that it needs a new name, if it also changes the size of the drawing area.
One thing to keep in mind when coming up with a name is that we might introduce additional wrappers around a draw target later, for example for mirroring or rotation. So the name for TranslatedDrawTarget shouldn't be to generic to avoid confusion with these other wrappers.

It would be wise to find a name in common with whatever we decide for #281. SubImage and SubDrawTarget are my current submissions.

It would be wise to find a name in common with whatever we decide for #281. ``

Good point!

SubImage and SubDrawTarget are my current submissions.

Sounds good, let's use these.

Reminder: revisit the doc comment text mentioned in https://github.com/jamwaffles/embedded-graphics/pull/342#discussion_r434092087 to clarify dimension behaviour.

So, is this TranslatedDrawTarget basically a clipping rectangle over a DrawTarget? If so, it's awesome, because I was about to open a feature request for this :)

As I understand it, yes. Something like this:

I didn't intend this to also apply clipping. There are possible use cases to allow drawing outside the SubDrawTarget area.
Implementing a clipping DrawTarget is a good idea and could work together with the SubDrawTarget to achieve the desired result. ClippingDrawTarget would only clip drawing operations outside the Rectangle::new(Point::zero(), target.size(). Nesting the two into a ClippingDrawTarget<SubDrawTarget<T>> would then allow to clip to any rectangle.

A couple of questions from https://github.com/jamwaffles/embedded-graphics/pull/409#issuecomment-663567621:
Can sub draw targets be larger than their parent? IMO this should be possible. If not, should we convey creation failure with a Result?
Can the subtarget be resized? If so, do we want to make a variant that can't which is just an offset of the parent DrawTarget? I'm not sure this really gives any benefit and just complicates the API so I'd say we just have one that can be resized for now, IMO.
And another one:
What would a true SubDrawTarget implementation look like? Using TranslatedDrawTarget<ClippingDrawTarget> wouldn't allow the sub target to be smaller than the original display. Would we add SubDrawTarget as a third target to be used like SubDrawTarget<ClippingDrawTarget>? If this is the case, wouldn't we need yet another target like SubDrawTarget<AllowOverflowDrawTarget> to remove the clipping behaviour?

Can sub draw targets be larger than their parent? IMO this should be possible. If not, should we convey creation failure with a Result?

IMO there are arguments for and against allowing this. Can you give an example where it would be required to allow this?

Can the subtarget be resized? If so, do we want to make a variant that can't which is just an offset of the parent DrawTarget? I'm not sure this really gives any benefit and just complicates the API so I'd say we just have one that can be resized for now, IMO.

What do you mean by "resized" in this context? Allowing to change the size at all or allowing to change the size after it was constructed?

Using TranslatedDrawTarget<ClippingDrawTarget> wouldn't allow the sub target to be smaller than the original display

It would, because ClippingDrawTarget will have a clip_area or size field that defines the size of the draw target. But the correct type would be ClippingDrawTarget<TranslatedDrawTarget<T>>, because the clipping needs to be executed after the translation.

Sorry, I wasn't very clear when I originally typed that out.

IMO there are arguments for and against allowing this. Can you give an example where it would be required to allow this?

I agree. I don't think the sub should be allowed to be larger. My question here is how do we prevent that in code. Returning a Result or just panicing or...

What do you mean by "resized" in this context? Allowing to change the size at all or allowing to change the size after it was constructed?

Going back to my "window manager" example, this would be useful for resizing a window. However, when I originally wrote that comment we had different ideas on how this API should work. With your approach of short-lived subs as explained in https://github.com/jamwaffles/embedded-graphics/pull/409#issuecomment-663567621, my original question is invalid now.

It would

Ah ok, that makes sense now! Sorry to keep banging on about the same point, but how do we support non-clipping sub targets?

I agree. I don't think the sub should be allowed to be larger. My question here is how do we prevent that in code. Returning a Result or just panicing or...

panicing would be bad. Result would be an option, but I would suggest to use the same logic that is used by cairo: The new clipping area is the intersection of the old clipping area and the requested clipping area. This makes sure the new area can never be larger.

Sorry to keep banging on about the same point, but how do we support non-clipping sub targets?

I'm a bit slow today, but I think I finally understand what you mean: A sub target that translates and also sets the size, but doesn't clip. Is that correct?

The new clipping area is the intersection of the old clipping area and the requested clipping area.

That can cause some unexpected behaviour I think. The principle of least surprise would make me go with a Result.

The new clipping area is the intersection of the old clipping area and the requested clipping area.

Sgtm :+1:

I'm a bit slow today, but I think I finally understand what you mean: A sub target that translates and also sets the size, but doesn't clip. Is that correct?

No problem! Yep, that's exactly what I meant :)

No problem! Yep, that's exactly what I meant :)

And now I also start to understand my comment from June...
My suggestion would be to do the following: Change TranslatedDrawTarget in PR #409 to SubDrawTarget and add an size field to it. The current translated method can stay and will pass the same size as the base draw target to the SubDrawTarget constructor. To support the use case you mentioned an additional method can be added to DrawTargetExt that takes an offset and size or a Rectangle. What would be a good name for that method? sub_draw_target? Or are sub_draw_target and translated to different from each other?
To allow more flexible clipping ClippedDrawTarget could also be extended to allow to clip to arbitrary rectangles instead of only allowing Rectangle::new(Point::zero(), self.size()). Otherwise you would need to use SubDrawTaregt<ClippedDrawTarget<SubDrawTarget<T>>> to implement this.

That can cause some unexpected behaviour I think. The principle of least surprise would make me go with a Result.

IMO it is the expected behavior, because other APIs use the same behavior.
But I agree that there might be instances where this isn't the intended behavior. We could add additional methods, like clip_checked(...) -> Result<...> if this becomes a problem.

I have one more question: are 0 sized subtargets allowed?

I have one more question: are 0 sized subtargets allowed?

Yes. Is there a good reason not to allow them?

I'm not sure if they are useful, but I don't have much experience with canvas APIs. But in the No case the error handling would have been interesting :)

My suggestion would be to do the following.

That's a good approach. Let's see what that looks like in code and go from there.

... that takes an offset and size or a Rectangle.

Using Rectangle here is more consistent with the rest of the e-g API so I think we should go with that.

What would be a good name for that method?
...
Or are sub_draw_target and translated to different from each other?

They are very different indeed. It would be nice to be able to use the -ed suffix for both, but the only name I can come up with for sub_draw_target is clipped which isn't great. We could also perhaps go with translated_target, `sub_target?

To allow more flexible clipping

That's a very good idea. If you want to make an attempt in #409 I'd be interested to see what you come up with. We can always leave it as a standalone feature for the future though - adding it shouldn't cause any breaking changes, right?

I have one more question: are 0 sized subtargets allowed?

We allow other zero sized stuff so I think it's ok to allow this as well.

They are very different indeed. It would be nice to be able to use the -ed suffix for both, but the only name I can come up with for sub_draw_target is clipped which isn't great. We could also perhaps go with translated_target, sub_target?

translated_target would work, but is very long. Maybe cropped instead of sub_target?

Nice, translated and cropped fit well together I think so let's go with that.

Closed by PR #409.


fix: use source to avoid renovate loop

Description
Use source rather than registry for existing test infrastructure
Release required?

[x] No release
[ ] Patch release (x.x.X)
[ ] Minor release (x.X.x)
[ ] Major release (X.x.x)

Release notes content

Run the pipeline
If the CI pipeline doesn't run when you create the PR, the PR requires a user with GitHub collaborators access to run the pipeline.
Run the CI pipeline when the PR is ready for review and you expect tests to pass. Add a comment to the PR with the following text:
/run pipeline

Checklist for reviewers

[ ] If relevant, a test for the change is included or updated with this PR.
[ ] If relevant, documentation for the change is included or updated with this PR.

For mergers

Use a conventional commit message to set the release level. Follow the guidelines.
Include information that users need to know about the PR in the commit message. The commit message becomes part of the GitHub release notes.
Use the Squash and merge option.

/run pipeline

/run pipeline

/run pipeline

/run pipeline

/run pipeline

/run pipeline

Hmm, trivy failed with:
Terraform validate with trivy.............................................Failed
- hook id: terraform_trivy
- exit code: 1

2024-07-10T16:47:27Z	INFO	Misconfiguration scanning is enabled
2024-07-10T16:47:27Z	INFO	Need to update the built-in policies
2024-07-10T16:47:27Z	INFO	Downloading the built-in policies...
2024-07-10T16:47:27Z	INFO	Misconfiguration scanning is enabled
2024-07-10T16:47:27Z	INFO	Need to update the built-in policies
2024-07-10T16:47:27Z	INFO	Downloading the built-in policies...
2024-07-10T16:47:27Z	INFO	Misconfiguration scanning is enabled
2024-07-10T16:47:27Z	INFO	Need to update the built-in policies
2024-07-10T16:47:27Z	INFO	Downloading the built-in policies...
2024-07-10T16:47:27Z	INFO	Misconfiguration scanning is enabled
2024-07-10T16:47:27Z	INFO	Need to update the built-in policies
2024-07-10T16:47:27Z	INFO	Downloading the built-in policies...
74.86 KiB / 74.86 KiB [-----------------------------------------------------------] [100](https://github.com/terraform-ibm-modules/terraform-ibm-secrets-manager/actions/runs/9878184694/job/27281554456#step:6:101).00% ? p/s 0s2024-07-10T16:47:27Z	FATAL	Fatal error	filesystem scan error: scan error: unable to initialize a scanner: unable to initialize a filesystem scanner: analyzer group error: post-analyzer init error: kubernetes scanner init error: mapfs file copy error: readdirent /github/home/.cache/trivy/policy/content/policies/cloud/policies/azure/database: no such file or directory
74.86 KiB / 74.86 KiB [-----------------------------------------------------------] 100.00% ? p/s 0s2024-07-10T16:47:27Z	ERROR	Falling back to embedded checks	err="check load error: manifest file open error (/github/home/.cache/trivy/policy/content/.manifest): open /github/home/.cache/trivy/policy/content/.manifest: no such file or directory"
74.86 KiB / 74.86 KiB [-----------------------------------------------------------] 100.00% ? p/s 0s74.86 KiB / 74.86 KiB [--------------------------------------------------------] 100.00% ? p/s 100ms2024-07-10T16:47:29Z	INFO	Detected config files	num=1
2024-07-10T16:47:29Z	INFO	Detected config files	num=1
2024-07-10T16:47:32Z	INFO	Detected config files	num=4
2024-07-10T16:47:33Z	INFO	Misconfiguration scanning is enabled
2024-07-10T16:47:33Z	INFO	Misconfiguration scanning is enabled
2024-07-10T16:47:33Z	INFO	Misconfiguration scanning is enabled
2024-07-10T16:47:34Z	INFO	Detected config files	num=1
2024-07-10T16:47:34Z	INFO	Detected config files	num=1
2024-07-10T16:47:34Z	INFO	Detected config files	num=1
2024-07-10T16:47:34Z	INFO	Misconfiguration scanning is enabled
2024-07-10T16:47:35Z	INFO	Detected config files	num=1

Going to retry to see if it happens again..

/run pipeline

:tada: This issue has been resolved in version 1.16.1 :tada:
The release is available on:

GitHub release
v1.16.1

Your semantic-release bot :package::rocket:


feat: add smbclient 1.1.2 release

update smbclient with release 1.1.2

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


Complex result of real-valued function produces an incorrect reshape

On

python 2.7.12
autograd 1.2

the following:
from __future__ import print_function

import autograd.numpy as np
from autograd import jacobian

lightspeed = 299792458.
minus_two_pi_over_c = -2*np.pi/lightspeed

def complex_phase(lm, uvw, frequency):
    """ Compute complex phase """
    l = lm[:,None,None,0]
    m = lm[:,None,None,1]

    u = uvw[None,:,None,0]
    v = uvw[None,:,None,1]
    w = uvw[None,:,None,2]

    frequency = frequency[None,None,:]

    n = np.sqrt(1.0 - l**2 - m**2) - 1.0
    phase = minus_two_pi_over_c*(l*u + m*v + n*w)*frequency
    return np.exp(phase*1j)

jacob = jacobian(complex_phase, argnum=1)

lm = np.random.random((10,2))*.01
uvw = np.random.random((25,3))
frequency = np.random.random((16,))

print(uvw.dtype)

cp = complex_phase(lm, uvw, frequency)
print(cp.shape, cp.dtype)
print(jacob(lm, uvw, frequency).shape)

results in
$ python test_complex_phase.py
float64
(10, 25, 16) complex128
Traceback (most recent call last):
  File "test_complex_phase.py", line 34, in <module>
    print(jacob(lm, uvw, frequency).shape)
  File "/home/sperkins/venv/autograd/local/lib/python2.7/site-packages/autograd/wrap_util.py", line 20, in nary_f
    return unary_operator(unary_f, x, *nary_op_args, **nary_op_kwargs)
  File "/home/sperkins/venv/autograd/local/lib/python2.7/site-packages/autograd/differential_operators.py", line 55, in jacobian
    return np.reshape(np.stack(grads), jacobian_shape)
  File "/home/sperkins/venv/autograd/local/lib/python2.7/site-packages/autograd/tracer.py", line 48, in f_wrapped
    return f_raw(*args, **kwargs)
  File "/home/sperkins/venv/autograd/local/lib/python2.7/site-packages/numpy/core/fromnumeric.py", line 257, in reshape
    return _wrapfunc(a, 'reshape', newshape, order=order)
  File "/home/sperkins/venv/autograd/local/lib/python2.7/site-packages/numpy/core/fromnumeric.py", line 52, in _wrapfunc
    return getattr(obj, method)(*args, **kwds)
ValueError: cannot reshape array of size 600000 into shape (10,25,16,25,3)

Unfortunately, passing the second argument as complex128 by calling jacob(lm, uvw.astype(np.complex128), frequency) as suggested by https://github.com/HIPS/autograd/issues/27 does not work around this.

Hi, I had a similar issue where I was doing physics simulations that involved complex numbers. I got around this by using - which seems to be working okay for me but you should double check.
from autograd.core import make_vjp as _make_vjp, make_jvp as _make_jvp
from autograd.extend import primitive, defvjp_argnum, vspace
from autograd.wrap_util import unary_to_nary
from autograd.builtins import tuple as atuple

@unary_to_nary
def jacobian_pkl(fun, x):
    vjp, ans = _make_vjp(fun, x)
    ans_vspace = vspace(ans)
    jacobian_shape = ans_vspace.shape + vspace(x).shape
    grads = map(vjp, ans_vspace.standard_basis())

    grads_out = np.stack(grads)
    if(np.prod(jacobian_shape) == np.prod(grads_out.shape)):
        return np.reshape(grads_out, jacobian_shape)
    else:
        my_jacobian_shape = ans_vspace.shape + vspace(x).shape + (2,) # 2 to support real/im
        re_im_grads = np.squeeze(np.reshape(grads_out, my_jacobian_shape))
        out = re_im_grads[..., 0] + 1j * re_im_grads[..., 1]

        return out

In my case I also had some affine transformations with complex numbers. If that is what you have, you can modify your function to take in a vector with the real and imaginary components stacked, and do the complex math within the function - that way the jacobian never sees a complex number.


Pay in 3 banner flashes on product page

Describe the bug and add screenshots
When you enable "Display the 3X PayPal Payment on your site" with display of banners on a product page, it is quickly displayed on a product page even if the product is out of stock. The banner appear for about 0.5 seconds.
See the video below when I reload the page.
https://user-images.githubusercontent.com/31688689/210965079-68dbb407-63e8-44e1-8967-0200573043e6.mp4
Expected behavior
The banner "Display the 3X PayPal Payment on your site" should not be displayed on products that are out of stock, not even for a fragment of second.
Steps to reproduce
Enable Display the 3X PayPal Payment on your site
Enable the display of banners on Product Page
Set a product out of stock
Go to that product's page
Banner "Enable the display of banners" will appears for about 0.5 second
PrestaShop version(s) where the bug happened
<IP_ADDRESS>
PHP version(s) where the bug happened
7.3

Thank you to report this issue. We will try to reproduce it and add it in a next release

Hello @mrabsinthe and thank you for your report.
This issue should be fixed on the version 5.6.0.
Please tell us if the issue is correctly resolved after updating to this version or more.
You can close it if your test is correct.
Thank you.


If installing as root use different PATH from ~/.local/bin

In general root users do not have ~/.local/bin in their PATH. If the user is installing as root perhaps we should use a different PATH. I think we should also warn the user when installing as root.

In general root users do not have ~/.local/bin in their PATH. If the user is installing as root perhaps we should use a different PATH.

I think always following the XDG base directory specification is still the right approach even for the root user, since installing something as root doesn't necessarily imply that you want that installation available to all users on a system. It is true that root doesn't have $HOME/.local/bin in their PATH by default, but #42 should make that situation not really a big deal anyways. Another important thing to consider is that the Swift toolchain bundles a bunch of executables with it that are more likely to clash if installed to a directory like /usr/local/bin, and the consequences of clashing in a system-wide directory like that are a bit more serious too.

I investigated what rustup does, and what I found is:

First you curl | sh the rustup installer.
The installer downloads another installer considering your platform.
That other installer has some code to find proper rc files.
They then set up the rc files to run their env script on every login (. "$HOME/.cargo/env").

The problem is setting up swiftly's installation script to do all these is a little bit weird/hard to me. Definitely doable though.

Yeah, this is something @adam-fowler suggested a while back. I've held off on doing it so far since I didn't want to accidentally clobber a user's shell configuration, but I think it's something we'll want to do eventually. I'll investigate it as part of #42 to see how much work is involved there. If it's not too bad, we can do it as part of that and otherwise split it off and address it in the future.

We might be able to do something like this:

This is an interesting idea, but I think it's best if we stick to a simpler approach that follows the base directory specification. It's a widely known and familiar spec that makes it so handing things like this is relatively straightforward and standardized. Rust notably doesn't follow the spec right now, but I don't think their example is necessarily one we want to follow in this case (https://github.com/rust-lang/cargo/issues/1734 has 200 thumbs up). I also think that changing where the installation goes depending on the value of PATH might be surprising to some users.
So all that being said, I'm inclined to say that it's probably best that we don't do this, but that once we do #42, this issue will be less of a concern.

Now that #42 has been completed, I think we can close this.


Move chronograf to use AST types from client

Migrate any place in the UI that is using AST types defined in the UI to instead import them from the client library.

It looks like the types were removed from the client at some point. We only have the autogenerated ones left.
So I think this task would be to move these into the client, and then to start consuming them.

[ ] Move influxdb/ui AST types to client
[ ] Consume migrated types in influxdb/ui
[ ] Delete influxdb/ui local ast types


Setting lower quality increases the file size

Expected Behavior

Decrease the file size with decrement in image quality.
Current Behavior

Increase in the file size with decrement in image quality.
Steps to Reproduce
<!-- Please provide detailed steps for reproducing the issue. Or provide a small runnable code example.
![bug-report](https://user-images.githubusercontent.com/13680006/120415974-22ac2480-c37c-11eb-9498-66a310411ed5.jpg)
Here, we can see that original image forest-patrol.jpg is smaller than the processed image forest-patrol-jimp.jpg


DS: Use our own jupyter/ipykernel (MVP)

Remainder of work for supporting Raw kernel that wasn't deemed critical to need to be done before releasing to insiders.

Validated? Not sure if we want to close this or not?

Yeah, I was going to ask Jim about epics. Do they move to Sign off?


v3: helm list no longer reporting cluster not reachable

If the cluster is not reachable, helm list no longer reported that error.
This regression was introduced about a month ago.
Before this PR:
$ h3 list
NAME	NAMESPACE	REVISION	UPDATED	STATUS	CHART	APP VERSION

After:
$ h3 list
NAME	NAMESPACE	REVISION	UPDATED	STATUS	CHART	APP VERSION
Error: Kubernetes cluster unreachable

Note to maintainers
I did the simplest fix here.
However, to be thorough, let me mention that I don't quite get why there is not a if err != nil check right after the call to client.Run().  My guess is that it is an attempt to print whatever releases might have been fetched even when an error is received.  However, looking at the client.Run() code in pkg/action/list.go and digging into the 3 helm storage classes, it does not seem possible to get both an error and a list of releases.
It would then seem less error-prone to have the if err != nil check right after the client.Run()
Signed-off-by: Marc Khouzam<EMAIL_ADDRESS>

It would then seem less error-prone to have the if err != nil check right after the client.Run()

I agree. If you want to make that change, that'd be appreciated.

@bacongobbler Thanks for the quick answer. Done.

I assume that it is not possible to write a go test for this?
I could write tests in the acceptance-testing repo to check these things. However, having a 30 second timeout to try to reach the cluster for each of these tests is going to make the acceptance-testing much slower.
Is there a way to set a different timeout globally when trying to reach the cluster?


Fix buffer leak in local transport when a close triggers the close of…

… a remote peer and there are still messages in the inbound buffer.
Motivation:
We need to release all the buffers that may be put into our inbound queue since we closed the Channel to ensure we not leak any memory. This is fine as it basically gives the same guarantees as TCP which  means even if the promise was notified before its not really guaranteed that the "remote peer" will see the buffer at all.
Modifications:
Ensure we release all buffers in the inbound buffer if a doClose() is called.
Result:
No more leaks.

This fixes the leak reported in https://github.com/netty/netty/pull/6534.

Cherry-picked into 4.1 (c663a94359b70069b67b8d7f7bc9d0c43dca7674) and 4.0 (a20d1c930d33fa9a74afd25d0b75a4fb3336e0dd)


Update TabState.bt

Updated enum for carriage return type. These appeared to have been flipped. 0x01 is CRLF and 0x03 is Unix.
Windows CRLF - 0x01

Unix LF - 0x03

Added Macintosh carriage return

Hey! Sorry, I have been quite busy. Will add this now!

merged. Thanks! I will also get this fixed up and on to the official 010 repository.


Fix piecewise hazard prediction

The unit test test_estimation / TestCoxPHFitterPieces.test_predict_hazard_sans_strata fails, where i am comparing the result of predicting hazard for 1 of 5 samples to the 1 sample run by itself. This seems to be because running egrad on a matrix input isn't what we want to do (we just want to differentiate cumulative hazard along time axis). Not sure how to fix it though.
Ignore the change to pre-commit hook for the moment. It's the only way i could seem to commit files. black throws an error message i can't resolve if i leave it there. Can figure this out later...

The code look reasonable, and I can't spot a problem by looking at it. I'm going to pull this locally to see if I can figure it out.
BTW - this specific code, the cumulative hazard function for piecewise-whatever, is very complex (and lacking comments - thanks @CamDavidsonPilon...), and I am surprised you were not scared off by it.


update related files on rename file

project/panel use renamer module
renamer module provides auto-rename
auto-rename will find files in project and replace old-path with
new-path

resolve #168

@CYBAI would you like to check this implementation?

Another problem I just found is if we have a.rkt to b.rkt, we also rename xxxa.rkt to xxxb.rkt, which is unwanted!

NOTE: find-files


problem when trying to finetune a model, using resnet50 backbone

when i try to fine-tune pre_trained model (using full ckpt)  with a different dataset using following command :
!python "main_dino.py" --arch resnet50  --batch_size_per_gpu 32   --epochs=20  --data_path "/content/dataset/train" --output_dir "/content/model_checkpts"
i got this error :
size mismatch for module.head.mlp.0.weight: copying a param with shape torch.Size([4096, 2048]) from checkpoint, the shape in current model is torch.Size([2048, 2048]).
size mismatch for module.head.mlp.0.bias: copying a param with shape torch.Size([4096]) from checkpoint, the shape in current model is torch.Size([2048]).
can someone explain me the problem?
i think the problem is that full_ckpt file, does not contain full weights of mlp heads and it's kinda incomplete

Because you have a checkpoint in output_dir which will be loaded by     utils.restart_from_checkpoint , another hint is you use the arch as resent50 it's also have the Dino_head and MultiCropWrapper warp around look line 133.


GEOPHIRES-X user manual

The current user manual is for GEOPHIRES v2, obviously this is out of date and should be replaced with a GEOPHIRES-X-specific manual when possible

Largely addressed by https://github.com/NREL/python-geophires-x/pull/26

Treating this as resolved since it's addressed and now too general to be useful; will create granular issues for further improvements.


Add "Uuidable" trait based on Ramsey UUID4

Could you please take a look at Travis and fix your commits history?

@petegore Good idea! There's been an architecture overhaul started times ago and still not finished at this time. It would merely get rid of the messy trait detection and instead use proper interfaces to detect when mapping is necessary. I think it would be cool if your PR could get this right from the beginning.

Pretty neat feature! I'll integrate it into next version, after the clean up
Thank you for the PR

Thank you for the feature! :+1:
Rebased on current master in https://github.com/KnpLabs/DoctrineBehaviors/pull/450
and implemented


Add typedoc missing comments

This PR adds missing comments detected by our typedoc script. It also marks the method ReviewUniform in the CustomMaterial class as @internal. And it adds an extra check to the typedoc script to detect some comments that weren't picked up.

Please make sure to label your PR with "bug", "new feature" or "breaking change" label(s).
To prevent this PR from going to the changelog marked it with the "skip changelog" label.

Please make sure to label your PR with "bug", "new feature" or "breaking change" label(s).
To prevent this PR from going to the changelog marked it with the "skip changelog" label.

Snapshot stored with reference name:
refs/pull/14717/merge
Test environment:
https://babylonsnapshots.z22.web.core.windows.net/refs/pull/14717/merge/index.html
To test a playground add it to the URL, for example:
https://babylonsnapshots.z22.web.core.windows.net/refs/pull/14717/merge/index.html#WGZLGJ#4600
Links to test babylon tools with this snapshot:
https://playground.babylonjs.com/?snapshot=refs/pull/14717/merge
https://sandbox.babylonjs.com/?snapshot=refs/pull/14717/merge
https://gui.babylonjs.com/?snapshot=refs/pull/14717/merge
https://nme.babylonjs.com/?snapshot=refs/pull/14717/merge
To test the snapshot in the playground with a playground ID add it after the snapshot query string:
https://playground.babylonjs.com/?snapshot=refs/pull/14717/merge#BCU1XR#0


usb: webusb: Strip CDC ACM function from the code

CDC ACM is not needed in webusb, communication is going through Bulk
endpoints. Endpoint numbers stay the same only Interface number
changed, so basically only this change is needed:

   .then(() => this.device_.claimInterface(2))

   .then(() => this.device_.claimInterface(0))

this.device_.claimInterface({2,0}) apart from removing serial port
commands.
Signed-off-by: Andrei Emeltchenko<EMAIL_ADDRESS>

@nagineni Please look at the changes

Codecov Report

Merging #8328 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master    #8328   +/-   ##
=======================================
  Coverage   64.46%   64.46%
=======================================
  Files         421      421
  Lines       40163    40163
  Branches     6769     6769
=======================================
  Hits        25890    25890
  Misses      11155    11155
  Partials     3118     3118

Continue to review full report at Codecov.

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

@loicpoulain could you check this commit 3babe7523c4c2836efbddd695cf3ff1e3b1b0d56

@loicpoulain btw, in this sample when we have echoed back 1 bytes transfer this situation is possible. In usb_transfer I have not found code which would reject another transfer.

@finikorg, you're right! I missed this in the last version of transfer patches. So this is something we need to fix, the simple way is to return -EBUSY if a transfer on the same endpoint is ongoing.

@finikorg did not work for me, boards: arduino101 and frdm_k64f, webusb-serial changes:
--- a/index.html
+++ b/index.html
@@ -21,6 +21,7 @@ var serial = {};
     const filters = [
       { 'vendorId': 0xDEAD, 'productId': 0xBEEF },
       { 'vendorId': 0x8086, 'productId': 0xF8A1 },
+      { 'vendorId': 0x2fe3, 'productId': 0x0100 },
     ];
     return navigator.usb.requestDevice({ 'filters': filters }).then(
       device => new serial.Port(device)
@@ -47,7 +48,7 @@ var serial = {};
             return this.device_.selectConfiguration(1);
           }
         })
-        .then(() => this.device_.claimInterface(2))
+        .then(() => this.device_.claimInterface(0))
         .then(() => this.device_.controlTransferOut({
             'requestType': 'class',
             'recipient': 'interface',

@jfischer-phytec-iot Sorry, forgot to mention all patches needed. See: https://github.com/finikorg/webusb-serial/commits/master
I think missing patche is: 18b8f8af94ff2b417421c7987c38c1f4dcf8e7fd

@jfischer-phytec-iot I will revisit also  webusb_serial_usb_description following your changes in the next PRs.

rebase please

@nashif rebased


为什么加载数据，一直无法访问

像这样我试了好久

网址换了，可以拉取一下最新的代码。或者将地址改为：
http://lmflow.org:5000

http://lmflow.org:5000 这个地址依然无法访问

已恢复，多谢理解。
The service has been resumed. Thanks for your understanding!

This issue has been marked as stale because it has not had recent activity. If you think this still needs to be addressed please feel free to reopen this issue. Thanks

--2024-04-10 14:00:31--  http://lmflow.org:5000/alpaca.tar.gz
Resolving lmflow.org (lmflow.org)... <IP_ADDRESS>
Connecting to lmflow.org (lmflow.org)|<IP_ADDRESS>|:5000... connected.
HTTP request sent, awaiting response... 502 Server UnReachable
2024-04-10 14:00:41 ERROR 502: Server UnReachable.
好像又无法访问 http://lmflow.org:5000/ 啦

Hi, you may try our latest script, or use http://<IP_ADDRESS>:5000/ instead. Thanks for your understanding 🙏


"Valea Mare-Podgoria" is listed in the drop-down menu

Description:
"Valea Mare-Podgoria" is listed in the drop-down menu alongside its corresponding county and commune, according to the law
Precondition:
The website is up an running.

Step 1
Type "Valea Mare-Podgoria" in the search bar.

Expected results
The location is listed in the drop-down menu as "Valea Mare-Podgoria, Argeș (Ștefănești)".


MWPW-163902 Fix edge snippet fallback

Resolves: MWPW-163902

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

Project coverage is 81.01%. Comparing base (6b2c83e) to head (84f33da).
Report is 1 commits behind head on stage.

Additional details and impacted files
@@            Coverage Diff             @@
##            stage     #916      +/-   ##
==========================================
- Coverage   81.31%   81.01%   -0.30%
==========================================
  Files          49       49
  Lines        6429     6454      +25
==========================================
+ Hits         5228     5229       +1
- Misses       1201     1225      +24

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


Sounds

Missing .mp3 sounds.

Yeah, don't even know if I still have them. I'll check later.

Bump.

Can't find them.. I'll keep this issue opened til I one day decide to not be lazy and get replacement sounds or get my old laptop repaired.


How detect which version is last stable

Hello.

Hello, @hanushs you can track https://mvnrepository.com/artifact/com.qaprosoft/carina-core, we are releasing stable builds to Maven Central.

Thank. Then i was on right way!! Just was making sure!

@hanushs documentation, release notes etc should be published in Jan-18.
Press-releases supposed to be published here: http://www.carina-core.io/

@vdelendik thank you! Will wait! Would be nice guys if you could design the diagram of classes involved and they purpose on the test start up!!!


[CLI] W&B Network Usage Bug -- 1.6TB of egress charges of GCP train 4 YOLOv5n models

First raised with @AyushExel in https://github.com/ultralytics/yolov5/issues/5071 a month ago, but no progress in the intervening time period so raising this issue directly here.
I trained 4 (very small) models, only 4MB each, over 3 days on a GCP instance, and saw enormous network egress costs related to 1,600 GB of data sent from the instance. I'm assuming all of this is W&B traffic, as there were no other processes running on the instance. The egress to W&B steadily rose over the training time and by the end of the training was steadily increasing around 8 MB/s, nonstop 24/7, dropping back to zero after training completion.

Yesterday October 5th GCP charged us $67 just for that day for this network traffic:

I've also been seeing steady errors on the console related to the W&B connection:

An example run from this project that caused the above problem is here. I can't imagine what would have caused these four runs to transmit 1,600 GB of data off the instance in just 3 days. Please send this to the team for review. Thank you.
https://wandb.ai/glenn-jocher/yolov5_v6/runs/1yyym1gq?workspace=user-glenn-jocher

Hi Glenn, apologies for the delay. We have been working on this, but it doesn't look like that was communicated -- sorry about that.
We have a fix that we believe should solve this issue; it's been merged into master and awaiting release next week. Here's what you can do in the meantime:

Use wandb from a branch we've created for you (with the fix):

pip uninstall wandb
pip install --upgrade git+git://github.com/wandb/client.git@yolov5_egress#egg=wandb

Now you should have wandb with the fix we've created.

Alternatively, you can always turn off console log streaming by passing in an env variable: WANDB_CONSOLE=off python train.py

Could you give us the exact command you use to run your train script? We're having trouble reproducing the issue on GCP with your exact environment (n1-standard-8 with T4 GPUs + Docker image).

@glenn-jocher bumping @vwrj's comment

@aidanjdonohue @vwrj thanks for looking into this! The commands to reproduce this are in the W&B run as mentioned originally in https://github.com/ultralytics/yolov5/issues/5071:
https://wandb.ai/glenn-jocher/yolov5_v6/runs/1yyym1gq
train.py --data coco.yaml --batch 64 --weights '' --cfg yolov5n.yaml --epochs 300 --project yolov5_v6 --name yolov5n --img 640 --hyp hyp.scratch-low.yaml --linear --device 0

Though I don't think there's anything specific about the train command, I was assuming any train command would cause similar behavior since they all log the same information to wandb.
Is the fix in the current wandb pip package? If so I can try to verify the issue is resolved on our side.

@glenn-jocher Yes, the new version of CLI was released yesterday. The fix is in current wandb package

@AyushExel awesome thanks! I will test today.

@AyushExel @aidanjdonohue @vwrj network usage bug appears resolved now based on tests yesterday with most recent pip package. Closing issue!


add Debug implementation

I had to disable some #[derive(Debug)] code in https://github.com/warner/magic-wormhole.rs because the SPAKE2 object doesn't implement Debug, so it' be nice to have.
Let's make sure it doesn't reveal any secrets, though. Just the type and the side, I think.

landed this in 2e0fbf22e56ee9cb706a131aacee02c28891ec71 and f9d4a223c48e5f9fe161f6a9a47c806c0752835b (which added Eq and PartialEq too).


Rewrite non-MIT code

This need to be done by someone else who have not seen the current version of non-MIT code. That mean when rewriting you cannot take a look on the current version of it otherwise it is become a derived work, which required it to be a GPL license.

We may be able to use clean-room design to circumvent this. If someone want to do it let me know so I can create a detailed specifications for the component you want to work on.

Now we have removed all (L)GPL code so I'll close this.


wip: new(docker): streamline docker images

What type of PR is this?
/kind feature
Any specific area of the project related to this PR?
/area build
What this PR does / why we need it:
Which issue(s) this PR fixes:

Fixes #3165
Special notes for your reviewer:
TODO:

[ ] falcoctl must not be shipped with Falco -> for now workarounded by using rm -rf where needed
[ ] falco packages shall not have any dep (split packages in falco-kmod, falco-ebpf, and just falco (modern)), otherwise falco-debian image will ship gcc/dkms... too as deps of the Falco package
[ ] update docs

Does this PR introduce a user-facing change?:

new(docker): streamline docker images

For

falco packages shall not have any dep (split packages in falco-kmod, falco-ebpf, and just falco (modern)), otherwise falco-debian image will ship gcc/dkms... too as deps of the Falco package

We might want to install the Falco package without installing any deps, perhaps. I am not sure whether it is going to work though, but i guess it should.

Tentatively for
/milestone 0.39.0

/milestone 0.40.0

/test test-dev-packages-arm64 / test-packages

@leogr: No presubmit jobs available for falcosecurity/falco@master

In response to this:

/test test-dev-packages-arm64 / test-packages

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.

@ekoops: changing LGTM is restricted to collaborators

In response to this:

Just left a couple of comments.

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.

@ekoops: changing LGTM is restricted to collaborators

In response to this:

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.


45-base-app-logic

Fixes #45 sort of
Creator

[x] Build relevant tests if any apply
[x] Ensure there are no new warnings
[x] Upload an animated GIF showcasing the solution (if it applies)
[x] Set a relevant reviewer

Reviewer

[ ] Run test and make sure all tests pass
[ ] Review function and form on iOS
[ ] Review function and form on Android
[ ] Review function and form on Web
[ ] Review new test logic

@conrad-vanl may I merge this? It's blocking me


How to prevent the app from closing on swipe or how to make the app fixed and prevent from closing?

The mini app closes down on swipe, is there any way to make it fixed or sticky? I tried to use enableConfirmation() and useViewport() hook. But the first method just confirm the closing behavior, with the useViewport() I tried to listen to change event, but still no result, there is now way to make the app sticky and close it only on user request . I wanted to do prevent the app from being closed on swipe, when users change the viewport just to make sure the app will stay fixed

Not related to the the template. Better asking in the @devs chat


Bind super alone on release no longer works

Regression?
Yes
System Info and Version
 System/Version info
Hyprland, built from branch main at commit cf373d315e9fb060576ed407bd5ee2dfb8a6d2e2  (touch: add touch swipe invert config (6940)).
Date: Sun Jul 21 13:59:09 2024
Tag: v0.41.2-50-gcf373d31, commits: 4936

flags: (if any)

System Information:
System name: Linux
Node name: nixpc
Release: 6.9.10-zen1-1-zen
Version: #1 ZEN SMP PREEMPT_DYNAMIC Thu, 18 Jul 2024 18:05:52 +0000

GPU information:
27:00.0 VGA compatible controller [0300]: NVIDIA Corporation GA104 [GeForce RTX 3060 Ti Lite Hash Rate] [10de:2489] (rev a1) (prog-if 00 [VGA controller])
NVRM version: NVIDIA UNIX x86_64 Kernel Module  555.58.02  Tue Jun 25 01:39:15 UTC 2024

os-release: NAME="Arch Linux"
PRETTY_NAME="Arch Linux"
ID=arch
BUILD_ID=rolling
ANSI_COLOR="38;2;23;147;209"
HOME_URL="https://archlinux.org/"
DOCUMENTATION_URL="https://wiki.archlinux.org/"
SUPPORT_URL="https://bbs.archlinux.org/"
BUG_REPORT_URL="https://gitlab.archlinux.org/groups/archlinux/-/issues"
PRIVACY_POLICY_URL="https://terms.archlinux.org/docs/privacy-policy/"
LOGO=archlinux-logo

plugins:

======Config-Start======

Config File: /home/nix/.config/hypr/hyprland.conf: Read Succeeded
# #######################################################################################
#AUTOGENERATED HYPR CONFIG.

# #######################################################################################
#

# Please note not all available settings / options are set here.
# For a full list, see the wiki
#

autogenerated = 0 # remove this line to remove the warning

# See https://wiki.hyprland.org/Configuring/Monitors/
#monitor=,preferred,auto,auto
monitor=DP-1, 2560x1440@144, 0x0, 1
monitor=HDMI-A-2, 1920x1080@60, 2560x0, 1

workspace = 1, monitor:DP-1, default:true
workspace = 3, monitor:DP-1
workspace = 5, monitor:DP-1
workspace = 7, monitor:DP-1
workspace = 9, monitor:DP-1

workspace = 2, monitor:HDMI-A-2
workspace = 4, monitor:HDMI-A-2
workspace = 6, monitor:HDMI-A-2
workspace = 8, monitor:HDMI-A-2
workspace = 10, monitor:HDMI-A-2

# See https://wiki.hyprland.org/Configuring/Keywords/ for more

# Execute your favorite apps at launch
# exec-once = waybar & hyprpaper & firefox

exec-once = dunst
exec-once = /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1 &
exec-once = hyprpaper

# Fix - allow copying from xwayland to wayland
exec-once = waybar > /home/nix/Scripts/xwayland_copy.sh

# Open brave on startup so that new windows are fast to load
exec-once = [workspace 9 silent] /home/nix/Scripts/brave_start_waybar.sh

# screensharing
# https://wiki.hyprland.org/Useful-Utilities/Screen-Sharing/#screensharing
# https://gist.github.com/PowerBall253/2dea6ddf6974ba4e5d26c3139ffb7580#screen-sharing-on-hyprland--arch-linux-
exec-once=dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP

# Source a file (multi-file configs)
# source = ~/.config/hypr/myColors.conf

# Some default env vars.
#env = XCURSOR_SIZE,24
env = MOZ_ENABLE_WAYLAND,1

# from the wiki
env = LIBVA_DRIVER_NAME,nvidia
env = XDG_SESSION_TYPE,wayland
env = GBM_BACKEND,nvidia-drm
env = __GLX_VENDOR_LIBRARY_NAME,nvidia
env = WLR_NO_HARDWARE_CURSORS,1

# Theme
env = QT_QPA_PLATFORM,wayland #unsure if that's required
env = QT_QPA_PLATFORMTHEME,qt6ct

# Fix LWJGL 2 without forge
# Should now be fixed in the vanilla driver, edit: apparently isn't fully.
env = __GL_THREADED_OPTIMIZATIONS,0

#env = ELECTRON_OZONE_PLATFORM_HINT,auto

# For all categories, see https://wiki.hyprland.org/Configuring/Variables/
input {
    kb_layout = fr
    kb_variant =
    kb_model =
    kb_options =
    kb_rules =

    follow_mouse = 2

    touchpad {
        natural_scroll = no
    }

    #force_no_accel = true
    accel_profile = flat

    sensitivity = -0.4 # -1.0 - 1.0, 0 means no modification.

    numlock_by_default = true
  }

general {
    # See https://wiki.hyprland.org/Configuring/Variables/ for more

    gaps_in = 5
    gaps_out = 20
    border_size = 2
    col.active_border = rgba(33ccffee) rgba(00ff99ee) 45deg
    col.inactive_border = rgba(595959aa)

    layout = dwindle
}

decoration {
    # See https://wiki.hyprland.org/Configuring/Variables/ for more

    rounding = 10
    #blur = yes
    #blur_size = 8
    #blur_passes = 3
    #blur_new_optimizations = on

    drop_shadow = yes
    shadow_range = 4
    shadow_render_power = 3
    col.shadow = rgba(1a1a1aee)
}

animations {
    enabled = yes

    # Some default animations, see https://wiki.hyprland.org/Configuring/Animations/ for more

    bezier = myBezier, 0.05, 0.9, 0.1, 1.05

    animation = windows, 1, 7, myBezier
    animation = windowsOut, 1, 7, default, popin 30%
    animation = border, 1, 10, default
    animation = borderangle, 1, 8, default
    animation = fade, 1, 7, default
    animation = workspaces, 1, 6, default
}

dwindle {
    # See https://wiki.hyprland.org/Configuring/Dwindle-Layout/ for more
    pseudotile = yes # master switch for pseudotiling. Enabling is bound to mainMod + P in the keybinds section below
    preserve_split = yes # you probably want this
}

master {
    # See https://wiki.hyprland.org/Configuring/Master-Layout/ for more
    # TODO: CHANGED, see if good rn
    # new_is_master = true
}

gestures {
    # See https://wiki.hyprland.org/Configuring/Variables/ for more
    workspace_swipe = off
}

# Example per-device config
# REMOVED - not sure what this did
# See https://wiki.hyprland.org/Configuring/Keywords/#executing for more
#device:epic-mouse-v1 {
#    sensitivity = -0.5
#}

# Example windowrule v1
# windowrule = float, ^(kitty)$
# Example windowrule v2
# windowrulev2 = float,class:^(kitty)$,title:^(kitty)$
# See https://wiki.hyprland.org/Configuring/Window-Rules/ for more

# See https://wiki.hyprland.org/Configuring/Keywords/ for more
$mainMod = SUPER

# Example binds, see https://wiki.hyprland.org/Configuring/Binds/ for more
bind = $mainMod, Return, exec, kitty
bind = $mainMod, Q, killactive,
bind = $mainMod SHIFT, M, exit,
bind = $mainMod, E, exec, dolphin
bind = $mainMod, V, togglefloating,
bind = $mainMod, R, exec, wofi --show drun
bind = $mainMod, P, pseudo, # dwindle
bind = $mainMod, J, togglesplit, # dwindle

# Move focus with mainMod + arrow keys
bind = $mainMod, left, movefocus, l
bind = $mainMod, right, movefocus, r
bind = $mainMod, up, movefocus, u
bind = $mainMod, down, movefocus, d

# Switch workspaces with mainMod + [0-9]
bind = $mainMod, ampersand, workspace, 1
bind = $mainMod, eacute, workspace, 2
bind = $mainMod, Eacute, workspace, 2
bind = $mainMod, quotedbl, workspace, 3
bind = $mainMod, apostrophe, workspace, 4
bind = $mainMod, parenleft, workspace, 5
bind = $mainMod, minus, workspace, 6
bind = $mainMod, egrave, workspace, 7
bind = $mainMod, Egrave, workspace, 7
bind = $mainMod, underscore, workspace, 8
bind = $mainMod, ccedilla, workspace, 9
bind = $mainMod, Ccedilla, workspace, 9
bind = $mainMod, agrave, workspace, 10

# Move active window to a workspace with mainMod + SHIFT + [0-9]
bind = $mainMod SHIFT, ampersand, movetoworkspace, 1
bind = $mainMod SHIFT, eacute, movetoworkspace, 2
bind = $mainMod SHIFT, Eacute, movetoworkspace, 2
bind = $mainMod SHIFT, quotedbl, movetoworkspace, 3
bind = $mainMod SHIFT, apostrophe, movetoworkspace, 4
bind = $mainMod SHIFT, parenleft, movetoworkspace, 5
bind = $mainMod SHIFT, minus, movetoworkspace, 6
bind = $mainMod SHIFT, egrave, movetoworkspace, 7
bind = $mainMod SHIFT, Egrave, movetoworkspace, 7
bind = $mainMod SHIFT, underscore, movetoworkspace, 8
bind = $mainMod SHIFT, ccedilla, movetoworkspace, 9
bind = $mainMod SHIFT, Ccedilla, movetoworkspace, 9
bind = $mainMod SHIFT, agrave, movetoworkspace, 10

# Scroll through existing workspaces with mainMod + scroll
bind = $mainMod, mouse_down, workspace, e+1
bind = $mainMod, mouse_up, workspace, e-1

# Move/resize windows with mainMod + LMB/RMB and dragging
bindm = $mainMod, mouse:272, movewindow
bindm = $mainMod, mouse:273, resizewindow

# Added binds

# Win+F for Fullscreen
bind = $mainMod, F,fullscreen

# Win (on release) for the program starter
# bind=SUPER, SUPER_L, exec, /home/nix/dotfiles/current/rofi/launcher.sh
bindr=SUPER, SUPER_L, exec, rofi

bindr = $mainMod SHIFT, P, exec, /home/nix/dotfiles/current/rofi/powermenu.sh

# Bind only Print (first param = mod, empty) to take a screenshot
bind = , Print, exec, /home/nix/Scripts/freeze_screenshot_grimblast.sh

# Bind Ctrl+Print to take & edit a screenshot
bind = $mainMod, Print, exec, /home/nix/Scripts/freeze_screenshot_grimswappy.sh

# Blur rules
windowrule=opacity 1 .9, ^(.*)$           # All unfocused windows dimmed
windowrule=opacity .9 .85,^(Code)$                # Vscode
windowrule=opacity .95 .8,^(kitty)$               # Kitty
windowrule=opacity .9 .8,^(org.gnome.Nautilus)$   # Nautilus
windowrule=opacity .9 .8,^(org.prismlauncher.PrismLauncher)$        # Prism
windowrule=opacity .9 .85,^(discord)$               # Discord

# Floating rulezs
windowrule=tile, ^(Minecraft .*)$
windowrule=tile, ^(LiquidBounce .*)$

# Blur rofi background layer
# See https://wiki.hyprland.org/Configuring/Keywords/#blurring-layersurfaces
# Use sleep 1; hyprctl layers to get memory address
# Can otherwise use the name as the mem adress depending on the program focused
# when running it.
layerrule=blur,rofi

======Config-End========

Description
Using bindr=SUPER, SUPER_L, exec, ... (like shown in the wiki) doesn't seem to work anymore.
Using bind (without the release flag) works normally.
Using a french keyboard, but the issue seems to persist even with kb_layout set to us
How to reproduce

Add bindr=SUPER, SUPER_L, exec, rofi to your hyprland config
Press on your super key
Nothing happens

Crash reports, logs, images, videos
No response

oops, forgot to update the wiki. Drop the modifier.

done

Doesn't look like this is right, here's the behavior I get:

bind=SUPER, SUPER_L, exec, rofi works
bindr=SUPER, SUPER_L, exec, rofi doesn't work
bind=, SUPER_L, exec, rofi doesn't work
bindr=, SUPER_L, exec, rofi doesn't work

if it works then wdym no longer works

bindR does not work anymore, it worked before the aquamarine update
bind alone (no release flag) works
Rn on the wiki bindr=, SUPER_L, exec, pkill wofi || wofi  is shown, which doesn't work anymore

@fufexan said it was working IIRC...

Nope, someone else did.

@fufexan said it was working IIRC...

No idea then but it just broke right after the update for me, didn't touch anything just updated and it gone

Nope, someone else did.

yeah, I did
bindr= , SUPER_L, exec, pkill wofi || wofi

is still working as expected for me

Okay, discovered why it doesn't seem to work for anyone else.
I am setting kb_options = caps:escape,altwin:swap_lalt_lwin for my keyboard in the input section. If I remove these options, it doesn't work anymore.
Sorry about that, but maybe this helps finding the issue.

i am on hyprland-git-0.41.2.r60.cbaac6de-1:
bindr = SUPER , SUPER_L, exec, ags -t launcher (wont work)
bind = SUPER, SUPER_L, exec, ags -t launcher (works but only when press and not when released)
bindr = , SUPER_L, exec, ags -t launcher (wont work)

Okay, discovered why it doesn't seem to work for anyone else.
I am setting kb_options = caps:escape,altwin:swap_lalt_lwin for my keyboard in the input section. If I remove these options, it doesn't work anymore.
Sorry about that, but maybe this helps finding the issue.

altwin:swap_lalt_lwin does indeed seem to "fix" the problem (as long as you enjoy using alt as the win key)

I have the same problem.
Testing with wev, when I have the keybind active, Super_L keycode is not shown, so Hyprland is being able to capture it. Moreover, bindr = SUPER, ALT_L seems to work just fine, and bindr = , SUPER_L also works when using CapsLock with kb_options = caps:super, so it seems to be a problem only with the super/win key.
Also, it might be useful to note, I'm using a br-abnt2 layout, and this problem happens with both my USB and laptop keyboard, so it's not a layout specific or hardware specific problem

Having the same problem since aquamarine, currently onv0.41.2-52-gefcbcd72. I have no special keybind settings.
This doesn't work:
$mainMod = SUPER
bindr = $mainMod, SUPER_L, exec, pkill wofi || wofi

or:
bindr =, SUPER_L, exec, pkill wofi || wofi

It does work with bind.

bind is not a solution. it triggers the command when held for a combination

Indeed, I wasn't proposing it as a solution, but to make a comparison what does and doesn't work.

Same issue.  v0.41.2-94-g4beac91c
bindr =, SUPER_L, exec, pkill wofi || wofi
Does not work.

Seems to be indeed fixed thank you mr vaxryy
The wiki is wrong now tho:
bindr=, SUPER_L, exec, pkill wofi || wofi (shown in the wiki rn) doesn't work
bindr=SUPER, SUPER_L, exec, pkill wofi || wofi (like before) works

After testing a bit more, it seems like win+click/drag to move windows doesn't work anymore :/
will test if it's this commit or a previous one

works on my end?


List platform compatibility

I tried to install on Windows XP but it needs .NET 4.5, which is not available on XP.  Please list in the readme which OSes it's compatible with.

Fair request. Didn't think anyone still used XP :smile:

It's required to interface with old hardware, and IT doesn't allow it on the company network, so I'm using Syncthing over the internet to transfer files easily. :)

Fair enough!
Unfortunately .net 4.5 adds some rather useful stuff which I do rely on, so I'm afraid XP support isn't a possibility. Sorry!

That's fine; it would just be good to mention

I am not very familiar with the .net ecosystem. Does SyncTrayzor work with mono? mono is apparently supported on Windows XP.

No, only Microsoft .NET. Mono does not support the GUI framework I use.


New release?

Can you create a new release with the latest changes? Currently I'm using a locally built SNAPSHOT (which works fine) but this breaks the build on my cloud CI server ;)

OK, will do today :)

1.0.18 is now in Maven Central :)

Thanks a lot :+1:


Proximity Checks when multiple objects are owned by the server

Version Number and Operating System(s):
Latest master and develop
Currently proximity checks are done based on the sending and receiving player's proximity location.
This setup works fine if the server only owns one object. Eg. in a listen server setup where each client has one network object it owns.
This setup on the other-hand would not work if the server would own multiple objects as there is no easy way to set the correct proximity location in this case.

This feature is usually used to reduce overall networking-load by reducing the amount of packets that need to be send based on proximity. From my perspective tho it clashes a bit with this Networking Library as Forge instantiates everything automatically so the client always will have at least ALL NetworkBehaviors instantiated fully and only after that does the current Proximity-Feature reduce the amount of packets.
This is hard to handle generally - moreso for people coming into networking. Even worse: those new people are tending to become confused when coding with Forge as they see the word "Proximity" in every corner of the library - even tho it is a specialized feature for a certain use-case.
My suggestion would be to take a different route:

Remove the Proximity-Feature from the core-library altogether. It's simply clutter and creates too much confusion.
Instead provide a new "Proximity Example" with simple ProximityReceiver- and ProximityEmitter-NetworkBehaviors that equally can do the job of the current system.

This would create less maintenance and dependencies for the core-library and with every new feature we wouldn't need to feel scared to "break that certain proximity-feature again". It also allows for more customization of Proximity - rather than dictate the feature via the core-library we can simply provide a "Proximity Example" that can be changed by the user/programmer.

Happy for you to make those changes @k77torpedo 😉


Feature: Configuration options by file extension

Currently, you can have settings groups by known file types, such as "[javascript]": {...} or "[css]": {...}.  Without creating another known file type support, it would be nice to be able to simply create a configuration group by file extension, or list of extensions...
For Example:
{
  "(.txt, .ans, .asc, .msg, .rip)": {
    "editor.renderControlCharacters": true,
    "files.encoding": "cp437",
  },
}

Using parentheses instead square braces above, to avoid potential conflict with known type definitions.  Inside the parens is a comma separated list of matching file extensions for the rule, so they can be applied to multiple extensions.
I'm not certain if this is a duplicate, I did make a search in good faith, but didn't find an existing issue.

/duplicate of #35350


chore(node,payload,txpool): rm notused crates to speed up building

similar to #6882

@jsvisa can you please merge all your PRs into one and enable #![cfg_attr(not(test), warn(unused_crate_dependencies)]?

@jsvisa can you please merge all your PRs into one and enable #![cfg_attr(not(test), warn(unused_crate_dependencies)] in all crate roots?

Of course, I can cherry-pick those commits into one. but wouldn't it be too large for one PR?

Nope it's fine

@DaniPopes seems unused_crate_dependencies maybe create FP results, so I'm trying to add the cfg in another PR, and in this series, I'll rm the notused crates. Is that ok, if it is I'll see you in #6882 :)

Sure. About false positives, they should be gone with the cfg(test), if not you can remove it in that specific crate


Ignoring user-agents (bots)

Hi. There should be an option (possibly by default)  to hide certain hyper-active bots like Pingdom or UptimeRobot by User-Agent.

Hi. It's currently marked Pingdom and UptimeRobot as Uptime in the source code. Does this mean they are on the list of crawlers? I'm running Goaccess 0.9.3 and Pingdom/UptimeRobot still appear as top results in the Visitor hostnames and IPs panel.

@n0ego They're not, they are in the "Uptime" category.
I do agree that having the ability to list them on a text file would be much easier. A drawback with this would be that the size of the list is actually proportional to the run time, so having a long list could slow down the parsing. Nonetheless, feel free to open a new issue with this request so I can look into it.

I've opened a new issue https://github.com/allinurl/goaccess/issues/560. Do you know how to exclude/ignore Uptime category form the stats similar to crawler list or how the Uptime category works?
Many thanks.

@n0ego Right now you can't without doing some pre-processing. For example, you could do:
# grep -v "`cat exclude_bots_list_file`" access.log | goaccess

The upcoming filters functionality (issue #117) should be able to handle this.


Vertical velocity used in cross-flow drag calculation for AUVs

Hi Prof. Fossen,
I noticed that in this commit you included heave force and pitch moment to crossFlowDrag which are relevant for AUVs. Regarding this point, I have two questions:

Shouldn't U_v use the heave relative velocity w_r = nu_r(3) and pitch rate q = nu_r(5), i.e.: U_v = abs(w_r + xL * q) * (w_r + xL * q);, or am I missing something?

Considering that a low aspect-ratio wing approximation that takes the vehicle's angle of attack as an input is being used to compute lift/drag/pitch moment for the hull, would such effects (extra heave force and pitch moment) already be accounted for, or do they have a different nature?

Thank you in advance.
Best regards.

Thanks for sharing this.

You are right, it should be U_v = abs(w_r + xL * q) * (w_r + xL * q).

A torpedo-shaped UAV will not experience lift at low speed. At higher speeds, the lift will force the AUV upwards, and you need to account for this by using the control surfaces and/or a  ballast system. The AUV model does not include any compensation for the lift force, so you need to design an autopilot with integral action.  This will produce the necessary action to counteract the lift force. It will be observed as bias in the control surface (elevator) deflection.

Thank you for the fix, Prof. Fossen.

I apologize if my previous question was unclear. My concern is not regarding the control action required to compensate for unmodeled lift effects. Instead, I am more focused on ensuring an accurate simulation of the nonlinear damping effects, while avoiding any duplication of the same phenomenon.

The AUV model does not include any compensation for the lift force

However, if I understood your explanation correctly, the cross-flow drag on heave and pitch would be this missing part to dampen the effects from lift (and eventually pitch moment) that become more representative in higher speeds.

The model has quadratic velocity terms due to Coriolis and centripetal forces. These are caused by the rotation of the BODY frame about the NED frame, which acts as an (approximative) inertial frame. In addition, the model has nonlinear damping terms computed from the cross-flow drag principle and the lift-drag forces of a low aspect-ratio wing.
The cross-flow drag method computes a sway force and yaw moment in the horizontal plane by integrating the 2-D drag coefficient along the axis. This is the classical strip theory used for ships.  Since the AUV is modeled as a cylinder, the same principle can be used to compute the force and moment in the vertical plane to obtain the heave force and pitch moment. However, this is a decoupled approach (using two planes) since the forces and moments acting on an AUV will be coupled in the 3-D case.  Decoupling can be justified for "slender bodies" moving at high speed. For most AUVs moving at 2-3 m/s these terms will be very small and even neglected.

Thank you so much for the explanation/clarification, Prof. Fossen. It was very helpful.


Modify hw-model trait so it supports configuration of two valid pausers when  fpga-realtime model is selected

@korran , is there anything that would delete a crate binary i am using for integration tests? CARGO_BIN_EXE_fpga_realtime_mbox_pauser?