Macro VBA

Hi Doug.
Thanks for you module.
I try to execute macro but I can't.
I see this post https://github.com/dfinke/ImportExcel/issues/57#issuecomment-167433059
But the option VBA don't exist in the new module. How can I execute VBA macro.
Thanks for your help.

This module reads and writes .XLSX files without using Excel.
To run a Macro you need to use COM to create and Excel Application object, and tell Excel to run your macro.
Somewhere we did have a guide for how to Add the VBA to the file being created, but run VBA, do some (but not all) calculations, render charts and pivot tables, apply filters to data and a few other things the file must be opened in Excel.

Ok. But in the example HelloWorldVBA.ps1 there is :
$xlfile = "$env:temp\test.xlsm"
Remove-Item $xlfile -ErrorAction SilentlyContinue
$Excel = ConvertFrom-Csv @"
Region,Item,TotalSold
West,screwdriver,98
West,kiwi,19
North,kiwi,47
West,screws,48
West,avocado,52
East,avocado,40
South,drill,61
North,orange,92
South,drill,29
South,saw,36
"@ | Export-Excel $xlfile -PassThru -AutoSize -Autofilter
$wb = $Excel.Workbook
$sheet = $wb.Worksheets["Sheet1"]
$wb.CreateVBAProject()
$code = @"
Public Function HelloWorld() As String
HelloWorld = "Hello World"
End Function
Public Function DoSum() As Integer
DoSum = Application.Sum(Range("C:C"))
End Function
"@
$module = $wb.VbaProject.Modules.AddModule("PSExcelModule")
$module.Code = $code
Set-ExcelRange -Worksheet $sheet -Range "h7" -Formula "HelloWorld()" -AutoSize
Set-ExcelRange -Worksheet $sheet -Range "h8" -Formula "DoSum()" -AutoSize
Close-ExcelPackage $Excel -Show
The code run without excel application installed.

I have a macro which merges the lines which have the same string in the same column.
I tried: Set-ExcelRange -Worksheet $ sheet -Range "A2: A" -Formula "Fusion()" -AutoSize
But formula is for a cell not a column. But the macro is load :

Do you have any ideas how to run a macro for one or more columns with this module?

No. That puts the code in the file. The code doesn't execute unless you load the file into excel.
You can create a user defined function, and add the VBA.  In that Set-Excel range you can set just one cell with "A2:A2" - it looks like the formula doesn't change in different cells so you don't need to use a script block there.

OK. Expect-Excel cannot execute macro on a column but only on cell.
I will search again on the web.
Thank you.


Mashup Container Profile parses JSON incorrectly in some cases

Applies to/tested on: Gateway Monitor - FromDisk
Example:

The quick and dirty workaround for this one was changing the step to:
= Table.AddColumn(#"Expanded Custom", "JsonText", each "[{" & Text.Trim(Text.Replace(Text.Combine(List.Skip(Lines.FromBinary([Content]),7)),"}","}"), ",") & "")

File in question attached (don't believe this contains anything confidential)
MashupContainerProfiles.log

Excellent project, by the way; thank you for sharing!

This appears to be more of a universal fix, at least on the files I've tried:
= Table.AddColumn(#"Expanded Custom", "JsonText", each "[" & Text.AfterDelimiter(Text.Trim(Text.Replace(Text.Combine(List.Skip(Lines.FromBinary([Content]),0)),"}","}"), ",") & "", "["))

Instead of skipping first x rows (inconsistent), get start of json by bracket
Remove the additional comma behind curly brackets (still not a good fix, may be dependent on line breaks/formatting)


Mobile Blazor with Flutter

Steve Sanderson had showed a demo of a blazor desktop app with flutter at NDC conference https://youtu.be/uW-Kk7Qpv5U?t=3300. Is There any plan to add support for Flutter components?

Hi @ansarizafar I'm familiar with @SteveSandersonMS 's project but I'm not aware of any plans to bring the Blazor + Flutter any further.
@SteveSandersonMS - do you have anything further to share on this?

Native components are limited and difficult to style. Flutter has a huge set of easy to use and beautiful ui components as Flutter controls every pixel and draw its own components on canvas. Flutter components are also cross platform. I suggest Mobile blazor team to consider flutter + blazor integration or use Flutter's approach to build a set of flutter like components using SkiaSharp. Xamarin form components are not enough for building beautiful mobile apps.

@Eilon I have just found this new C# cross platform ui framework https://github.com/Clancey/Comet Comet is using a SwiftUI like approach. Please have a look.

Hi @ansarizafar we're looking at several options for people to get the experiences they want in mobile apps. I work with @Clancey and have discussed Comet with him before. We're all collaborating on mobile app dev to come up with some exciting stuff!

I am excited about Comet. I think Comet (like flutter) is much better than Blazor/Xamarin.

This is useful feedback, thank you for sharing! I will share this with my colleagues. I'm closing this issue because there's no further action required here. Please let me know if you have any further feedback.


Minor updates to release tools

Description

Release notes tool

Put important labels at the top

Comparison tool

Arrays containing NaNs now compare equal

Slurm run output parser

Use basename of path also for reading the list of recipes, in line with what the rest of the code does

Slurm options for specific resource intensive recipes

Adjust some settings (partition, more memory) for recipes that were not runnable for release v2.9 (see #3239)

Before you get started

[ ] ☝ Create an issue to discuss what you are going to do

Checklist
It is the responsibility of the author to make sure the pull request is ready to review. The icons indicate whether the item will be subject to the 🛠 Technical or 🧪 Scientific review.

[ ] 🛠 This pull request has a descriptive title
[x] 🛠 Code is written according to the code quality guidelines
[x] 🛠 Documentation is available
[ ] 🛠 Tests run successfully
[x] 🛠 The list of authors is up to date
[ ] 🛠 All checks below this pull request were successful

To help with the number of pull requests:

🙏 We kindly ask you to review two other open pull requests in this repository

In d421b4f I added special parameters for the recipes recipe_lauer22jclim_fig3-4_zonal.yml and recipe_lauer22jclim_fig5_lifrac.yml for which I could get (almost) successful runs on largest compute nodes (1TB) at DKRZ. I will double check once Levante is online.
@bouweandela - should we add an option to generate.py to allow the release manager to specify the default number of max_parallel_tasks at the top of the script? At the moment, the release manager can only specify a custom config-user.yml file in which the number of max_parallel_tasks can be set. But future release managers will not see what previous ones used. We could have something like:
if recipe.stem in ONE_TASK_RECIPES:
    file.write(' --max_parallel_tasks=1')
elif recipe.stem in THREE_TASK_RECIPES:
    file.write(' --max_parallel_tasks=3')
else:
    file.write(' --max_parallel_tasks={default_max_parallel_tasks}')

with default_max_parallel_tasks = 8 at the top of the script. I could add that if you like.

Maybe it would be nicer to make that a bit more generic?
e.g. add a dict
MAX_PARALLEL_TASKS = {
    'recipe_bock20jgr_fig_1-4': 1,
    'recipe_lauer22jclim_fig3-4_zonal.yml': 3,
}

and use MAX_PARALLEL_TASKS.get(recipe.stem, 8) to get the number of tasks? Before we know it we will have TWO_TASK_RECIPES, FOUR_TASK_RECIPES, etc as global variables.

Sounds reasonable to me.

Yes, that would be great!

Yes, that would be great!

Attempt in 45908ff. Would that work for you?


Work around vm protocol issue

Work around an issue in the way that the VM is returning BoundVariables - they are missing their type field.
Bump the pubspec version to capture this bug fix.
@danrubel

https://github.com/dart-lang/sdk/issues/24654

LGTM


Support Bulk read-only dependent resources

On https://javaoperatorsdk.io/docs/dependent-resources#read-only-dependent-resources-vs-event-source there is a section on read only dependent resources.
However, as soon as it is more than 1 dingle dependent resource, i.e. a bulk of dependent resources of the same type, then there is not possibility to make it a read-only resource.
Support for bulk resources through BulkDependentResource assumes that creating and updating those resources is needed. For a read-only dependent resource this is not the case.
The scenario is to make a reconciler/operator also listen to additional dependent resources that are not created by the operator  itself. We could use an event source only, but the dependent resources would make it easier.

Hi @tomdw , can you describe the use case more in depth? To be hones I see a little value in this. Around read-only dependents was already a dilemma. So could describe please, where/how exactly this would help in you case?

It has the same value as the read-only dependents documented and advised on the link I provided above. The only things this request adds is to also support this for a one-to-many relationship between the primary and the dependents. It is another operator or process or manual action that creates the dependent resources and the primary needs to watch these and react accordingly.
Example: update its status based on the information from the many dependent resources + when the primary is deleted also cleanup the dependents.

I see, the only real value I see in this:

as mentioned in the docs, there can be conditions (well mostly ready condition) on a read only dependent - in combination with depends on relation.
you can use this API from the condition: https://github.com/operator-framework/java-operator-sdk/blob/1fc9e3ebac7533be444abe1dcf12f396b8fcc0b6/operator-framework-core/src/main/java/io/javaoperatorsdk/operator/processing/dependent/BulkDependentResource.java#L41-L41

Otherwise in the background will happen exactly the same as when having a (non-bulk) read only dependent  / informer.
So I agree that even this might have an added value.


NotificationManager leaves hanging timer threads

When creating a notification via
plain.addNotification(notification, Time.seconds(2));
A timer thread is created and never cleaned up (likely RemoveTimer at notificationManager line 64)
After the notification closes the thread remains running in memory until application termination, causing resource leak and preventing application close without system.exit().
This is easily visible debugging the demo app code in eclipse and watching the threads created.
This problem can be worked around by the following code block
        plain.addNotification(notification, Time.infinite());
	Thread.sleep(2000);
	plain.removeNotification(notification);

Resulting in no lingering thread and system terminating properly upon successful completion.
I will use this work around for my personal uses, I am creating this issue to document the workaround and the problem.

Will be fixed?

or simple System.exit(0);


fixshould call Expr's unwrapSlotRef instead of getSrcSlotRef to prevent null pointer

Proposed changes
Issue Number: close #xxx
Problem summary
getSrcSlotRef may return null. Call unwrapSlotRef is safe because previous code ensure unwrapSlotRef return a valid SlotRef
Checklist(Required)

[ ] Does it affect the original behavior
[ ] Has unit tests been added
[ ] Has document been added or modified
[ ] Does it need to update dependencies
[ ] Is this PR support rollback (If NO, please explain WHY)

Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

run buildall

TeamCity pipeline, clickbench performance test result:
the sum of best hot time: 34.48 seconds
stream load tsv:          470 seconds loaded<PHONE_NUMBER>9 Bytes, about 151 MB/s
stream load json:         37 seconds loaded<PHONE_NUMBER> Bytes, about 60 MB/s
stream load orc:          67 seconds loaded<PHONE_NUMBER> Bytes, about 15 MB/s
stream load parquet:          28 seconds loaded 861443392 Bytes, about 29 MB/s
https://doris-community-test-1308700295.cos.ap-hongkong.myqcloud.com/tmp/20230301034654_clickbench_pr_106078.html

run feut


[SPARK-18537][Web UI]Add a REST api to spark streaming

a new PR for https://github.com/apache/spark/pull/15974 against master
What changes were proposed in this pull request?

implement a package(org.apache.spark.streaming.status.api.v1) that serve the same purpose as org.apache.spark.status.api.v1
register the api path through StreamingPage
retrive the streaming informateion through StreamingJobProgressListener

this api should cover exceptly the same amount of information as you can get from the web interface
the implementation is base on the current REST implementation of spark-core
and will be available for running applications only
https://issues.apache.org/jira/browse/SPARK-18537

hi @vanzin
new PR against master is ready.
please have a look

Can one of the admins verify this patch?

if there is no other comment,
i believe this PR is ready to go.
@ajbozarth
please forgive me if its not appropriate to ask
but will you please take a look on the code?

@ChorPangChan thanks for asking, I'll take a look through the code by EOD(PST)

I'll taken a general look through your code and from an api perspective I believe it looks good, but I don't have any experience with the streaming code that it surfaces. A streaming person should also take a look, @srowen you've worked with both api and streaming before, what do you think?

startTime will record in StreamingContext and pass to listener through StreamingStarted event.

Can one of the admins verify this patch?

@ajbozarth
sorry, just in case you didn't noticed
I had make the change to handle the startTime
how do you think?
@srowen
hello,
I also think we need someone with streaming background to have a look on this.
the implementation is straightforward and similar to the api in spark-core
just want to make sure everything is OK
so can you please help?

Sean can definitely take a look, but others like @tdas have more background in streaming.
I want to take a look at the API hook up since it relates to other things I'm working on, but I'm currently swamped with other things...

ok to test

Test build #69440 has started for PR 16000 at commit 6855cb9.

Test build #69440 has finished for PR 16000 at commit 6855cb9.

This patch fails Scala style tests.
This patch merges cleanly.
This patch adds no public classes.

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

Merged build finished. Test FAILed.

@vanzin
sorry, I think I remove some empty line accidently
the Scala style problem should be fixed now.

Test build #69441 has started for PR 16000 at commit de50bf2.

Test build #69441 has finished for PR 16000 at commit de50bf2.

This patch fails MiMa tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

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

[error]  * method onStreamingStarted(org.apache.spark.streaming.scheduler.StreamingListenerStreamingStarted)Unit in trait org.apache.spark.streaming.scheduler.StreamingListener is present only in current version
this is part of the change needed to pass the startTime from SparkContext to listener
please let me know if I can't change this trait

Test build #69458 has started for PR 16000 at commit 651dc67.

Test build #69458 has finished for PR 16000 at commit 651dc67.

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

Merged build finished. Test PASSed.

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

@ChorPangChan the updates look good

@vanzin
I undertstand the story now, but im afraid i cant help to accomplish that story.
as my first comment state,
this implementation is base on the current REST implementation of spark-core
and will be available for running applications only
this implementation is mean to fit the current structure,
and the purpose is to retrieve information available from the origin webUI as json string
what you trying to accomplish is more like to implement a version 2 api
that will be out of both my scope and needs
Im not sure but one reason for current streaming webUI does not support history server can simply because there is no needs.
as a streaming user, I will said a streaming application will never stop except for maintenance.
thus it is logically meaningless to look into the status of streaming through history server.
I still believe my current implementation is good enough for the current structure.
and will benefit some user out there
If somehow people understand streaming like @tdas or @srowen agree with me
I think we can still merge this implement as version 1 api
otherwise, i will close this PR and let your guys work on it.
and hopefully we will have a streaming api soon.

I disagree. It's completely possible to mount the streaming API on top of the existing spark-core API. You just need to add the necessary hooks so that the API code can ask the streaming module for it. It can be something like SparkHistoryListenerFactory, for example, but for the API.
I'm sorry but having two different API entry points in the Spark UI namespace is a non-starter for me. It is counter-intuitive and will make things more complicated down the road.

I understand its possible,
and actually I agree having a hooking mechanism is a better approach as well in turns of programing and if we really need streaming to support history server.
still, from no hooking mechanism to having hooking mechanism is a change in structure.
and I cant look at them as they are the same.
the most confusing part for me is does streaming-api belong to streaming
or does it belong to spark-core
from the view of API entry point, it looks it belong to spark-core
but from the program structure view, it definitely belong to streaming

The API should be one; it doesn't belong to core or streaming, it belongs to Spark. Parts of it would be coming from core, parts of it would be coming from streaming. Just like the UI.
And yes, it's a change in the structure you created. But it's a change that makes sense.

I could not agree with "The API should be one" yet
what is the benefit of force they as one API beside "it sounds correct"?
as i mention before, i can not think of any usage of history server for streaming application
only "The API should be one" drive it to implement just for consistency
its not necessary if you agree they are not the same
and actually
"/api/v1/application/:id/:attempt/streaming" doesn't looks logical to me any more
in the structure speaking
streaming "use" core to process the batch.
in a streaming application, it is StreamingContext start first and it create SparkContext

what is the benefit of force they as one API beside "it sounds correct"?

Because it pretty much ensures that when (not if) we add streaming to the history server, it will cause breakage in the API and will require a new API version, which should be avoided.

i can not think of any usage of history server for streaming application

Maybe you can't, but others can.
I'm sorry you haven't given me a good reason not to implement my suggestion. What is the real problem with it? The code can still live in the streaming module. This is completely about where the API is mounted in the URI namespace, not where the code lives.
Streaming is still part of a Spark application, it doesn't exist by itself. So providing the streaming API endpoints outside of the application endpoints is completely inconsistent with the API design.

What is the real problem with it?

actually I dont have any problem with it
I just think its is already a new version and that's not this PR nor I means to do
another point is I can not think of any usage of streaming in history server for any one even in the furture.
its logically impossible:
in order to make use of the history server you need to stop your application
and stream pretty much means never end
I will rather leave the implement to those who needed. highly doubt if there any though.
It will be a lot simpler to just agree streaming will never use history server and implement them separately
at least for "the current version"

It's completely possible to mount the streaming API on top of the existing spark-core API.

A similar pr https://github.com/apache/spark/pull/15904 for you. Is it what you want?

in order to make use of the history server you need to stop your application

That's just not true. You're also ignoring people who have clients running streaming applications, and would benefit from replaying a customer's app logs from a streaming app that has failed, for example.
The issue here is not whether the API you're adding is a new version or not. The issue is that you are adding a completely new API hierarchy for streaming, when instead it should live under the existing API hierarchy.
@uncleGen

A similar pr #15904 for you. Is it what you want?

Thanks you, that's exactly what I'm talking about. I haven't looked at the whole code, but the description looks in line with what I'm suggesting.

@uncleGen
apologize for interrupted your work,
I dont know the story at that time.
@vanzin
its true that i havent consider that.
but anyway, I have no plan to implement a new approach.
if #15904 works for you, i will close this PR and let you guys work on it.

If you're not willing to make the changes, we should close this one, if you don't mind, and reopen @uncleGen's PR instead.

@vanzin
Hello, I'm a collaborator of this PR. Actually I am interested in your plan, but we don't want to make the changes here because that is not the purpose of this PR. I think I can open a new PR and implement the changes there.
@uncleGen
I reviewed your code and found that there're lot of things to improve. I prefer to use the existing ones in this PR to avoid duplicate works. I will open a new PR later, but if you already have a plan please let me know. Maybe I can work on with you.

@saturday-shi Yes, I will reopen it, and welcome to improve it and work together :)


Fix CONTAINER_ID with PodSandboxID

What this PR does / why we need it:
ADD and DEL were called with the ID of the first container found in the pod spec while the PodSandboxID was required.
Refactoring has been done to remove the CRI-O and Containerd communication. Instead, only the CRI API is used.
Which issue(s) this PR fixes:
Fixes #209
Special notes for your reviewer (optional):
E2e for CRI-O and Containerd are still needed, and e2e with a CNI that uses CONTAINER_ID might also be needed.

@LionelJouin could you please keep the vendoring changes in an isolated commit ?
the github UI doesn't handle well all the changes in this PR (and I'd say 98% of it is on the vendor folder)...
That'd help me :)

Done

I removed crio from the yaml file in the second commit Use pod UID instead of Name/Namespace


[Bug(?)] Training takes much longer when using --cache_latents_to_disk

Hi! Thanks for implementing --cache_latents_to_disk. It saves a lot of time as we don't need to use prepare_buckets_and_latents.py to save .npz files to disk, but instead we can save them directly when training.
However, I'm encountering a problem when using the --cache_latents_to_disk argument. The training takes longer time (it/s) than using the usual --cache_latents. Is this intended or a bug? Because, I thought that latent caching has its own process that is separate from the training.
Using --cache_latents_to_disk

Using --cache_latents

config_file.toml : https://dpaste.com/B6AVPNK2K#
Thank you!

Oh! I'm sorry, I thought it was separate args 😅
Thank you for explanation.


Emoji Flags show as black flag instead of the intended flag

System Details

OS: Windows 10 Version 22H2 (OS Build 19045.4529)
Thorium Version 124.0.6367.218 (Official Build) (64-bit)

Problem
Emoji Flags show as black flag instead of the intended flag
Screenshots
Thorium:

Firefox and Chrome:

Have you disabled all extensions or tried in incognito mode? Also, please provide the URL of the webpage where this problem occurs.


Small navigation sidebar styling issue

Thank you for working on this! :)
I noticed a small issue in the nav sidebar which is that the navigation's border does not go all the way up:
https://user-images.githubusercontent.com/3372410/124467840-aea8d600-dd98-11eb-812f-aeb5a3a881f5.mov
Basically this is because the left sidebar has top: 90px:

while this could just be a padding-top resolving the issue:

I tried searching for uses of these classes but couldn't find them otherwise I would have created a PR for them. Maybe it's an issue in redoc itself? Happy to create a PR if you can share some pointers.
Thank you!

Hey, is this still an issue? Or should I close this


I can´t run downloader on Windows 10

Greetings AZn5ReD,
I would like you to help me understand: Where do I have to edit the parameters described in the prerequisites ?, and What should I do in the part of the statement that says "The path of the downloader script (build result of ..."?
Tried it on Windows 10 but got no results.
My link is:
https://saplearninghub.plateau.com/icontent_e/CUSTOM_eu/sap/self-managed/ebook/ADM100_EN_Col21/index.html
I thank you in advance.

You need to download the latest release, extract it and start the "qode.exe".
Then the window will appear :

Great job!
The PDF downloader works correctly.
I am very grateful.

I'm sorry  but what do you mean with "qode.exe". I can' t find these exe.

I put the information in this dialog but nothing happens. The programm close if i put the button download.


Getting Missing required client configuration options: region Error

I am trying to use this package on Laravel 5.5 as per their documentation https://laravel.com/docs/5.5/filesystem#driver-prerequisites
I have all the credentials setup correctly. However when I am trying to store the file on S3, I am getting this error
Missing required client configuration options: region: (string) A "region" configuration value is required for the "s3" service (e.g., "us-west-2"). A list of available public regions and endpoints can be found at http://docs.aws.amazon.com/general/latest/gr/rande.html.

This is thrown from
vendor\aws\aws-sdk-php\src\ClientResolver.php

    private function throwRequired(array $args)
    {
        $missing = [];
        foreach ($this->argDefinitions as $k => $a) {
            if (empty($a['required'])
                || isset($a['default'])
                || isset($args[$k])
            ) {
                continue;
            }
            $missing[] = $this->getArgMessage($k, $args, true);
        }
        $msg = "Missing required client configuration options: \n\n";
        $msg .= implode("\n\n", $missing);
        throw new IAE($msg);
    }

I suspect something is not passed properly. Just a guess anyway.
My question on Laracast: https://laracasts.com/discuss/channels/laravel/missing-required-client-configuration-options-region-while-trying-to-implement-s3
Thanks!

This is a laravel issue, laravel creates the client, we only use the client.


Update flyway-core to 7.11.4

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

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "org.flywaydb", artifactId = "flyway-core" } ]

labels: library-update, semver-minor

Superseded by #528.


Proxy websockets

Proxy websockets when --websocket is given.
Relevant issues
Fixes issue https://github.com/http-party/http-server/issues/142
I took the PR from @fabioimpe at https://github.com/http-party/http-server/pull/528, removed style changes (and made sure not to add any of my own), and removed the changes to the changeOrigin parameter.
And of course, I tested whether it worked, which it does.

Is there any way to test this? This should have tests before I merge it, if a unit test for this is complex I'll do a manual test later.

Well, it relies on another server working with websockets. A unit test could be done, but would require quite a bit of work.


Code Issue about MultiOrderGatedAggregation

https://github.com/Westlake-AI/MogaNet/blob/cd53ea044b15ff6639d86d04aee2298d0e6b8de7/models/moganet.py#L264-L333

Hi! Thank you for your great work! MultiOrderGatedAggregation模块的实现与论文不符，论文图中并没有shortcut，且FD的激活函数用的GELU。请问，我应该遵循哪个呢？

您好，我觉得按图4的意思，shortcut应该对应的是下面的代码，您觉得呢
https://github.com/Westlake-AI/MogaNet/blob/cd53ea044b15ff6639d86d04aee2298d0e6b8de7/models/moganet.py#L403-405

Ummm, you are right. I overlooked the shortcut inside the MultiOrderGatedAggregation module. Another shortcut should be parallel to the FD module and the Multi-order Gated Aggregation module. Fig 4 will be corrected as follows. Thank you very much for your advice, and we will fix this typo in the arXiv revision.


It doesn't work in Unity 2018.3.11f

The shader shows nothing.

Are you using HDRP? (Seems like so but just to be safe :) )

Also, do you have ShaderGraph installed from the Package Manager?

Yeah x2, hehehe, HDRP and ShaderGraph latest version ^^

Allright, could you please also increase heights of other waves as well? They might be causing some flunky business behind. And can you please try on a cube rather than a plane instead? Backface culling might be at work here although it should render double-sided

Omw mate, anyway I tried in a cube as well ^^

Hmm allright. Do not have the exact workspace right here right now but I can suggest removing HDRP and Shadergraph and then installing the version 4.9.0 as this shader was made on that.

Think I found the problem, when the shader graph is imported, You have to drag n drop the shader graph, seems a bug from unity.

Oh ok that's definitely strange! :) I assume you tried re-importing?

I just looked for what was missing hehe, i'll try to connect it and see if it works!

once we have a solution, I'll pin this for sure since it's probably related to Unity Editor itself.

It looks slightly different from yours...  xD

Can u attach ur waves values to debug it?

Can you try reducing tiling to 25x25 or even less? Seems like it's tiling issue :) Also, one polygon per-face so there will be no waving :)

Same result with < 25x25, the corners go up and down, nothing changes ^^

Allright so here's my idea. Since it started to render something, you can even go lower than 1 for tiling. To 0.1 or even 0.01 just to try it out. Does it show the normal maps when you reduce the tiling so low? For objects with low polygons, the waves will not work as they move vertexes and this cube has only 8 vertexes thus only the corners move :)
I guess we can achieve something by trying to see the tiling first. At least we have to be able to see the normal maps moving with those settings.

It works fine, I just have to tweak it a bit ^^

You are using Gerstner waves, true?
The cube has only 8 vertices and the waves works with vertices displacement, are u using a high poly mesh in your video?
Thanks so much for ur time!

Might come to your surprise but I have no idea what a Gerstner wave is :) So probably no, just came up with simple sine wave and tweaked it with values like -1 and absolution, thus the result.
Long answer; Well I am using a huge poly mesh with a gigantic size reaching over the entire terrain so to answer your question; Generally around 5k polygons are visible to the camera when looking at the mesh in any angle from anywhere.
Short answer; yes, a bit high poly mesh :) At least not 8 vertices :D
I'm counting this one as closed. Thanks for pointing out.


04/22/2018 18:14 : Create Pull Request for branch master -> prTesting1_2018042218

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

split/updateTestRef1.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Password length is limited to 85 characters

When a user sets a password longer than 85 characters, they become unable to log into IRC. They are still able to log into webadmin though.
Multiple 85-character passwords worked, while not a single 86-character password worked.
LastPass generates passwords up to 99 characters long. It is annoying to have to reduce the password length down to 85.
Server
$ lsb_release -a
No LSB modules are available.
Distributor ID: Raspbian
Description:    Raspbian GNU/Linux 10 (buster)
Release:        10
Codename:       buster

/znc version
<*status> ZNC 1.7.2+deb3 - https://znc.in
<*status> IPv6: yes, SSL: yes, DNS: threads, charset: yes, i18n: no, build: autoconf

No changes outside of webadmin.
Client
$ apt-cache policy hexchat
hexchat:
  Installed: 2.14.2-5
  Candidate: 2.14.2-5
  Version table:
 *** 2.14.2-5 500
        500 http://archive.ubuntu.com/ubuntu eoan/universe amd64 Packages
        100 /var/lib/dpkg/status

Using Login method "Default"

When a user sets a password longer than 85 characters, they become unable to log into IRC.

Cannot reproduce. Here is what I tried:
$ ( echo PASS abc:0123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789 ; echo NICK abc ; echo USER a b c d ; sleep 1 ) | telnet localhost 1234
Trying ::1...
Connected to localhost.
Escape character is '^]'.
<EMAIL_ADDRESS>NOTICE abc :You have no networks configured. Use /znc AddNetwork <network> to add one.
:irc.znc.in 001 abc :Welcome to ZNC

This password has length 100 (plus three characters for the user name).
I did the same with a password of length 200. It also worked.
(However, I used latest git/master aka znc-1.7.5-204-g6d1ef8d0. No, I do not think that this should make a difference.)

I just ran the following (after adjusting the password to match):
$ ( echo 'PASS abc:0123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789' ; echo NICK admin ; echo USER admin admin_ ; sleep 1 ) | openssl s_client -connect <IP_ADDRESS>:6690

[ ... ]

read R BLOCK
:irc.znc.in 464 admin :Invalid Password
closed

It still doesn't work.

(after adjusting the password to match)

Did you also add the user abc that is used here?

Oh. I didn't realize abc was a user and not part of the password. I added the user and now the following is working:
$ ( echo 'PASS abc:0123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789' ; echo NICK abc ; echo USER abc abc_ ; sleep 1 ) | openssl s_client -connect <IP_ADDRESS>:6690

[ ... ]

read R BLOCK
<EMAIL_ADDRESS>NOTICE abc :You have no networks configured. Use /znc AddNetwork <network> to add one.
:irc.znc.in 001 abc :Welcome to ZNC
DONE

I also tested the behavior to be the same on 1.8.x-git-204-6d1ef8d0 at (6d1ef8d09923388d4d5d390a4db898ca6194a2be) on the Ubuntu machine.
However, the login still doesn't work in HexChat.

Using Wireshark after disabling SSL, I finally discovered that it's HexChat's fault for truncating the password (hexchat/hexchat#1296).
ZNC is handling everything properly. I will consider switching my IRC GUI then.


Update gh actions

Update Github Actions to publish on merge to main branch
Add CODEOWNERS to bypass the required review to push

Let‘s publish this to NPM?


:robot: Add yara.vm

Automated PR from https://github.com/mandiant/VM-Packages/issues/154 :rocket:

I'd vote for metapackage as long as the community package is up to date / has a history of being maintained. However, we'll likely still need to further tweak the metapackage, but that's okay

Don't think I rebased this correctly, whoops -- but I only added files related to yara

Should be fine with squash and merge.
Maybe related: What I just learned recently is that if you rebase, you need to specify exactly the number of commits you want to change (not more, otherwise, those commit hashes get changed as well).

One small thing. I'd prefer if the exes were named yarac.exe and yara.exe, even though those are the filenames in the 64 bit Windows build, because the 64 bit CLI on every other platform does not include 64 in the name.

@seanthegeek I've used the Chocolatey shims named "yara" and "yarac", let me know if that works for your needs and we can update as needed 😄


readme: update link to clangd

If you follow the current link, you will get a message telling you that "The clangd documentation has moved to clangd.llvm.org". Update link to go to the new location directly.

@swift-ci please test


adapter-static (SPA mode): index.html not generated when prerender.enabled = false

Describe the bug
The following config causes adapter-static -> npm run build to not include the root index.html file - the one that you always send to the client - as specified in the adapter settings object, which is required to actually load the SPA.
import adapter from '@sveltejs/adapter-static';

/** @type {import('@sveltejs/kit').Config} */
const config = {
	kit: {
		adapter: adapter({
			fallback: 'index.html'
		}),
		ssr: false,
		prerender: {
			enabled: false
		}
	}
};

export default config;

Logs
N/A
To Reproduce

npm init svelte@next
select the skeleton project, say no to everything typescript etc.
copy paste my config and install the static adapter

Expected behavior
I don't the file to not be included when disabling prerendering. It would make even more sense for it to be required to be set to false for the files to be generated.
Stacktraces
N\A
Severity
On a scale from 1 to 10, maybe a 3.3? I have no idea as this might be intended behavior that I am not aware off.

Another way to describe this issue:
The fallback option file is not generated when prerender.enabled is false

Sounds like a duplicate of #1588.


Email not triggering for Avg. Aggregator rule

Mail is not triggering for my elast alert aggregator rule.
I have an Elastic DSL Query which returns me an average Response time for the API for the last 15 mins.
My objective is to fire an email if the API average response time > 5sec.
In the below DSL Query response I am getting an average of 5.32. But In elastalert rules, no alerts are not generating for the same elastalert configuration
Rules.yaml
es_host: <IP_ADDRESS>
es_port: 9200
es_username: elastic
es_password: elastic
name: Average ResponseTime
type: metric_aggregation
index: logstashlogs-*
bucket_interval:
minutes: 15
metric_agg_key: elapsed_time
metric_agg_type: avg
doc_type: _doc
max_threshold: 5
filter:

term:
doc.processName: CreateCustomer
term:
doc.messageType: SourceResponse

alert:

email
email:
<EMAIL_ADDRESS>alert_subject: Avg response lapsed
alert_text: |
Testing for average response time.
alert_text_type: alert_text_only
smtp_host: <IP_ADDRESS>
smtp_port: 25
smtp_ssl: false
from_addr<EMAIL_ADDRESS>smtp_auth_file: smtp_auth_file.yaml

Output from elastalert
1 rules loaded
INFO:elastalert:Starting up
INFO:elastalert:Disabled rules are: []
INFO:elastalert:Sleeping for 59.999888 seconds
INFO:elastalert:Ran Average ResponseTime from 2020-10-21 11:42 UTC to 2020-10-21 11:57 UTC: 0 query hits (0 already seen), 0 matches, 0 alerts sent
INFO:elastalert:Background configuration change check run at 2020-10-21 11:58 UTC
INFO:elastalert:Background alerts thread 0 pending alerts sent at 2020-10-21 11:58 UTC
DSL Query
{
"aggs":{
"processFilter":{
"filter":{
"bool":{
"should":[
{
"bool":{
"must":[
{
"match":{
"doc.processName":"CreateCustomer"
}
},
{
"match":{
"doc.messageType":"SourceResponse"
}
},
{
"range":{
"@timestamp":{
"gte":"now-30m/m",
"lte":"now/m"
}
}
}
]
}
}
]
}
},
"aggs":{
"avg_et":{
"avg":{
"field":"elapsed_time"
}
}
}
}
}
}
Response :
"aggregations" : {
"processFilter" : {
"meta" : { },
"doc_count" : 5,
"avg_et" : {
"value" : 5.3289999008178714
}
}
}
}

We also recommend asking questions on the Gitter channel
https://gitter.im/Yelp/elastalert

Yelp/elastalert is no longer maintained. Please use jertel/elastalert.
https://github.com/jertel/elastalert


Auth investigation

Description

Checklist

[ ] npm test passes
[ ] npm run build works
[ ] tests are included
[ ] documentation is changed or added

Main question: if we imagine that resolves will not be generated but always available as code - would this affect in any way this investigation/auth implementations? How many issues we will resolve by removing generation towards only runtime.
@darahayes, In this case, our composition could look like pre/post wrappers around graphback DataProviders. This will invalidate need for service abstraction (which is not really flexible as requires the creation of the class instead of single-function override.
The runtime will mean that - people get resolvers as a variable (in memory implementation) - the same way as they do in generated code but they do not need to import resolvers or have physical file doing some boilerplate work around queries.
@darahayes @craicoverflow What do you think about this?
I do feel that there are no positives of generating code apart from possible slow startup times required to build runtime resolves.
There is still value in generating schema and client-side queries, but resolvers seem to be limiting us from having better getting started experience and
This will affect both CRUD spec work (minimize the scope of both implementations), minimize the complexity of the code. Simplify ways to test solutions, with little to no drawbacks overall.
What will happen with the resolver generator plugin?
We will deprecate it and use the already implemented resolver layer from runtime?

The way I see us driving this is to interpret schema at runtime with provided annotations (or codegen if needed) and have pre post predicates (separate) for specific use cases (role, owner etc.)

Entire problem with current approach is that we provided this service abstraction that is somehow recommended as way to extend resolvers where there is already much simpler and easier way to do it

Main question: if we imagine that resolves will not be generated but always available as code - would this affect in any way this investigation/auth implementations? How many issues we will resolve by removing generation towards only runtime.

While they are somewhat related, I think the auth work can proceed regardless of this. If we go with some version of the resolver wrapping approach, (which makes the most sense to me). Then it makes no difference where the original resolvers come from because the wrapper bit and pieces do not care.

In this case, our composition could look like pre/post wrappers around graphback DataProviders.

This is just another way of describing resolver wrapping or 'middlewares' so I think we're on the same page.

Entire problem with current approach is that we provided this service abstraction that is somehow recommended as way to extend resolvers where there is already much simpler and easier way to do it

It depends on how you look at it. The service abstraction is a fantastic abstraction for a CRUD model that is actually not aware of GraphQL at all. When you extend the CRUD service you'e not really modifying how resolvers behave. You're modifying how the CRUD operations behave. However, when you want to do things that are actually GraphQL aware, then you have to go outside of that abstraction. An example would be the auth plugin wrapping default field resolvers on scalars (such as a protected User.ssn resolver)

The way I see us driving security is to interpret schema at runtime with provided annotations (or codegen if needed) and have pre-post predicates (separate) for specific use cases (role, owner etc.)

Again I think this is just another way of describing resolver wrappers/middlewares. When you talk about interpreting the schema at runtime with provided annotations, do you mean having annotations or directives on the runtime schema? Because I don't think it's necessary. Implementing directives is actually pretty tricky, implementing directives in a way that it works both on Apollo Server/graphql-tools and graphql-js sounds like way more trouble than it's worth. All we need is to output some config as shown in the PR and then pick those up at runtime in your pre/post resolver predicates. This approach is much simpler and will allow for future extensions in a reliable way.
For example, today we might be only generating some auth rules and outputting them in a JSON file, but in the future we could be inspecting those rules and ensuring that the roles and other resources are actually created in a live keycloak instance. We could be generating full infrastructure as code templates to actually provision the application and configure external services that the application depends on. All of it would be checked into your git repo and live alongside the application. I see other existing codegen tools doing similar things.
So TL;DR

If you feel strongly that the service abstraction is not needed, I can get behind that idea and it will to affect this investigation too much.
We can go with resolver wrappers or middlewares or pre/post predicates or whatever you want to call them 🙂
I think Graphback plugins should be able to generate and extend config files as shown in the models.ts file in this PR. And I think in future that same approach will lead to things like external service configurations or auto generated infrastructure as code.

Ping @wtrocki this PR has been updated to use the newly published library.

Auth package PR https://github.com/aerogear/graphback/pull/1255

Yep

@wtrocki ready for final review

What kind of user I should be using here? I do not see actual effects of this change

It seems that UI has no indication of the lack of permissions which can be confusing and might bring some bug reports

I'm happy to get that into starter but there are some areas to improve

ready for final review


mysql connect error

Bug Description
i use sea-orm which based sqlx to connect mysql, it cannot connet. but when i use other client, its work
Minimal Reproduction
docker run demo mysql:
docker run -p 33060:3306 \
-e MYSQL_ROOT_PASSWORD=123456 \
-d mysql:5.7.23

Connection configuration mysql://root:123456@<IP_ADDRESS>:33060/demo
Connection code
let db_url= String::from("mysql://root:123456@<IP_ADDRESS>:33060/demo")
let pool_connect = MySqlPoolOptions::new()
    .max_connections(10)
    .connect(&db_url)
    .await;

Error stack:
thread 'main' panicked at 'connect database error!: Conn(SqlxError(Tls(Os { code: -2146893018, kind: Uncategorized, message: "接收到的消息异常，或格式不正确。" })))', src\config\db.rs:44:41
stack backtrace:
   0: std::panicking::begin_panic_handler
             at /rustc/eb26296b556cef10fb713a38f3d16b9886080f26/library\std\src\panicking.rs:593
   1: core::panicking::panic_fmt
             at /rustc/eb26296b556cef10fb713a38f3d16b9886080f26/library\core\src\panicking.rs:67
   2: core::result::unwrap_failed
             at /rustc/eb26296b556cef10fb713a38f3d16b9886080f26/library\core\src\result.rs:1651
   3: enum2$<core::result::Result<enum2$<sea_orm::database::db_connection::DatabaseConnection>,enum2$<sea_orm::error::DbErr> > >::expect<enum2$<sea_orm::database::db_connection::DatabaseConnection>,enum2$<sea_orm::error::DbErr> >
             at /rustc/eb26296b556cef10fb713a38f3d16b9886080f26\library\core\src\result.rs:1033
   4: simple_code_gen::config::db::init::async_fn$0
             at .\src\config\db.rs:44
   5: simple_code_gen::config::init::async_fn$0
             at .\src\config\mod.rs:36
   6: simple_code_gen::main::async_block$0
             at .\src\main.rs:15

Info

SQLx version: 0.7.2
SQLx features enabled: "runtime-tokio-native-tls"
Database server and version: Mysql
Operating system: Windows10 21H2
rustc --version: 1.26.0 (5af9b9484 2023-04-05)

other client connect result:

Google says the error message translates to:

The received message is abnormal or has an incorrect format.

which, barring some kind of data corruption, usually means that the TLS implementation is so old that it's no longer standards-compliant.
It looks like MySQL 5.7.23 does not support TLS 1.2, at least not with the Community Server builds that are distributed through Docker Hub because it was built with yaSSL.
You should upgrade to at least 5.7.28 (released 4 years ago), at which point OpenSSL became the default TLS backend with TLS 1.2 available.


Fix formating

Fix issues with the formatting of a table and the Note tag

@pebaum - Can you please assist to check, approve and merge the content of this PR?
Thank you.


fix(curriculum): Made output for sample code in snippet clearer - Multidimensional Array Access

Checklist:

[x] I have read freeCodeCamp's contribution guidelines.
[x] My pull request has a descriptive title (not a vague title like Update index.md)
[x] My pull request targets the main branch of freeCodeCamp.
[x] I have tested these changes either locally on my machine, or GitPod.

Closes #47220

Does this look better? @jeremylt This would make it consistent with (#46813).


Output panel is not shown if execute anonymous code block using Alt + X

Description
With Ctrl + Enter it shows Output tab.
With Alt + X it does not show Output tab but I expect it to be shown.
Execute the query on a new tab, copy-pasting the code, to reproduce the issue.

do $$
begin
 raise notice 'Notice MESSAGE  %', now();

end $$;

On the video, I first use alt + X, after that - ctrl + Enter:
https://github.com/dbeaver/dbeaver/assets/33929221/a5abed0c-6824-4a78-9700-7d19a40629b9
DBeaver Version
Community Edition <IP_ADDRESS>407042322
Operating System
Windows 10
Database and driver
PostgreSQL 16
PostgreSQL JDBC Driver 42.7.2
Steps to reproduce
No response
Additional context
No response

Thank you for bug report

@arhayka
Aren't these two issues duplicates?
If so, why do they have different milestones?

@ask9 you're right.
And we fixed this bug in #34865
Here is the Early Access version with fix (https://dbeaver.io/files/ea/)


Suggest change option colour to color

Unfortunately, I believe American spelling is more the expected standard for option files...

This is true... I wish it weren't. I can change the spelling.

This is true... I wish it weren't. I can change the spelling.

I have made the change and added some new options, generally spicing up the display.  This has actually become a useful tool for me!


Gradle Support

Fixes #83

Depends on #676

@mkurz Gradle Plugin can also be a part of final 2.0.0 😉

I did not review yet, but why is that needed? What about https://gradle.github.io/playframework (https://github.com/gradle/playframework)? Can this not be used?

Unfortunately this plugin more dead than alive 😞 Of course, I inspired them while develop, but I want that Play have a first-class support not only Sbt but also Gradle and Maven. And support for Twirl is a first step in this way.

Hm.. I know it took a while until they supported Play 2.8 (I was following the repo a bit, see https://github.com/gradle/playframework/pull/163)
Also I was helping them when something did not work:

https://github.com/gradle/playframework/pull/183#issuecomment-1490497661
https://github.com/gradle/playframework/issues/109#issuecomment-1483105358

So for me it seems they did some work. But anyway, I don't know in which state the project is in general, if something is missing.
Just one more question: If we merge this PR, does the current Play Gradle plugin (https://gradle.github.io/playframework/) still work?  Or will your code here make the "Gradle Play Plugin" unusable?

Hm.. I know it took a while until they supported Play 2.8 (I was following the repo a bit, see https://github.com/gradle/playframework/pull/163)

Yes, I also watch this repo and I'm upset a current status 😞 I don't believe that something change in Gradle team strategy related with this plugin. For example Gradle Play plugin is very unfriendly for Gradle Kotlin DSL.

Just one more question: If we merge this PR, does the current Play Gradle plugin (https://gradle.github.io/playframework/) still work?  Or will your code here make the "Gradle Play Plugin" unusable?

I didn't test a both plugin in one project 🤷♂ I don't think that someone want to use it both in one project right now. I think when I'll finish a work on "official" Play Gradle Plugin users can migrate from Gradle Play plugin => Play Gradle Plugin + Twirl Gradle plugin. 🤞

OK, I will take a look at this on the weekend and promise if it's ok to merge before 2.0.0 final.

Thanks, Matthias!
PS: Moreover, I think instead of support Twirl 2.0.0 in Gradle Play plugin (I mean changing groupId in https://github.com/gradle/playframework/blob/818d998bcca6bce1d2e8d7deaaecaf7a19be55a1/src/main/java/org/gradle/playframework/tools/internal/twirl/TwirlCompilerAdapterV10X.java#L79) they should just drop all Twirl source part from plugin and recommend to use our plugin. :blush: As a bonus, our plugin supports Gradle Build Cache and Incremental build 😄

@ihostage I published 2.0.0-M3, looks good so far, but we have to wait for approval:
https://github.com/playframework/twirl/actions/runs/6602032175/job/17933650062#step:6:167
Publishing plugin org.playframework.twirl version 2.0.0-M3
Thank you. Your new plugin org.playframework.twirl has been submitted for approval by Gradle engineers. The request should be processed within the next few days, at which point you will be contacted via email.

Awesome 🥳
Thank you, Matthias! 👍


When there is no Service Configuration, the Myservice page Current Config still shows the problem modification

When there is no Service Configuration, the Myservice page Current Config still shows the problem modification

let me do it


Bring up Environment.MachineName on CoreRt

Why can't we use the Environment in corefx?

Environment variables can be tampered and this maintains compat with CoreClr (and I assume full framework). The code’s pretty much lifted.

this maintains compat with CoreClr (and I assume full framework)

The Environment in corefx is the one being used when running on coreclr.

Environment variables can be tampered

I don't understand how this is relevant.  Can you explain?  If we need to specialize the logic in a custom build for corert, that can be done in corefx.

Interpreted your original comment as “why not read the environment variable (%COMPUTERNAME%).”
Ok, so the Environment.cs in Corelib is just for use inside CoreLib.
I guess we don’t need to do this, then.

Environment.cs in Corelib is just for use inside CoreLib.

Environment.cs should be deleted from CoreLib - once we are able to consume the up-to-date System.Runtime.Extensions from corefx in ProjectN.
cc @SedarG

(Or at least made private, renamed to LowLevelEnvironment, or something along these lines.)


error generating html file

Hello, first, sorry for my english!
I have big problems with my goaccess and need help.

1.) the config file:
...
time-format %H:%M:%S
...
date-format %Y-%m-%d
...
# NCSA Combined Log Format
#
#log-format %h %^[%d:%t %^] "%r" %s %b "%R" "%u"
#
# NCSA Combined Log Format with Virtual Host
#
#log-format %^:%^ %h %^[%d:%t %^] "%r" %s %b "%R" "%u"
#
# Common Log Format (CLF)
#
#log-format %h %^[%d:%t %^] "%r" %s %b
#
# Common Log Format (CLF) with Virtual Host
#
#log-format %^:%^ %h %^[%d:%t %^] "%r" %s %b

2.) This procedures work perfefect
a.) goaccess -f /var/log/apache2/access.log
b.) goaccess -f /var/log/apache2/access.log -a
In the next windows "Log Format Configuration" i select the option "NCSA Combinet Log Format" OR "Common Log Format (CLF)" and it works perfekt. Other options in the windows doesnt work.

3.) Error 1
a.) goaccess -f /var/log/apache2/access.log -a --log-format=COMBINED
b.) goaccess -f /var/log/apache2/access.log -a --log-format=COMMON
c.) goaccess -f /var/log/apache2/access.log --log-format=COMBINED
d.) goaccess -f /var/log/apache2/access.log --log-format=COMMON
All of this commands return the same error messages:
Fatal error has occurred
Error occured at: src/goaccess.c - main - 1033
Nothing valid to process.

4.) Error 2
I aktivated in the config file this option:
log-format %h %^[%d:%t %^] "%r" %s %b "%R" "%u"
a.) goaccess -f /var/log/apache2/access.log
b.) goaccess -f /var/log/apache2/access.log -a
c.) goaccess -f /var/log/apache2/access.log -a --log-format=COMBINED
d.) goaccess -f /var/log/apache2/access.log -a --log-format=COMMON
e.) goaccess -f /var/log/apache2/access.log --log-format=COMBINED
f.) goaccess -f /var/log/apache2/access.log --log-format=COMMON
All of this commands return the same error messages:
Fatal error has occurred
Error occured at: src/goaccess.c - main - 1033
Nothing valid to process.
WHAT IS WRONG?? It also not possible to generate a html file.
Please help.

What version of goaccess are you running?
Just trying to understand what you are saying, basically if you select the option from the ncurses dialog then it works but if you specify it as a command line option it doesn't?

@allinurl: yes, that's right.
If i select this two options "NCSA Combinet Log Format" and "Common Log Format (CLF)" in the dialog it works, but if i write the log-format
log-format=COMBINED or
log-format=COMMON direkt in the command line it doesn't work.
My GoAccess version: 0.9.4

What version of goaccess are you running?
Just trying to understand what you are saying, basically if you select the option from the ncurses dialog then it works but if you specify it as a command line (see Point 3.) option it doesn't?

@allinurl: yes, that's right.
If i select this two options "NCSA Combinet Log Format" and "Common Log Format (CLF)" in the dialog it works, but if i write the log-format
log-format=COMBINED or
log-format=COMMON direkt in the command line it doesn't work.
My GoAccess version: 0.9.4

What version of goaccess are you running?
Just trying to understand what you are saying, basically if you select the option from the ncurses dialog then it works but if you specify it as a command line option it doesn't?

@allinurl: yes, that's right.
If i select this two options "NCSA Combinet Log Format" or "Common Log Format (CLF)" in the dialog it works, but if i write the log-format
log-format=COMBINED or
log-format=COMMON direkt in the command line (see Point 3. ) it doesn't work.
My GoAccess version: 0.9.4

Can you please attach a text file with a few sample lines from your access log? Thanks.

Can you please attach a text file with a few sample lines from your access log? Thanks.

`Dec 28 11:24:08 myserver sshd[7427]: Invalid user wifi from <IP_ADDRESS> port 44934
Dec 28 11:24:08 myserver sshd[7427]: input_userauth_request: invalid user wifi [preauth]
Dec 28 11:24:08 myserver sshd[7427]: pam_unix(sshd:auth): check pass; user unknown
Dec 28 11:24:08 myserver sshd[7427]: pam_unix(sshd:auth): authentication failure; logname= uid=0 euid=0 tty=ssh ruser= rhost=<IP_ADDRESS>
Dec 28 11:24:10 myserver sshd[7427]: Failed password for invalid user wifi from <IP_ADDRESS> port 44934 ssh2
Dec 28 11:24:11 myserver sshd[7427]: Received disconnect from <IP_ADDRESS> port 44934:11: Bye Bye [preauth]
Dec 28 11:24:11 myserver sshd[7427]: Disconnected from <IP_ADDRESS> port 44934 [preauth]
Dec 28 11:27:10 myserver sshd[7431]: Invalid user ggitau from <IP_ADDRESS> port 47680
Dec 28 11:27:10 myserver sshd[7431]: input_userauth_request: invalid user ggitau [preauth]
Dec 28 11:27:10 myserver sshd[7431]: pam_unix(sshd:auth): check pass; user unknown
Dec 28 11:27:10 myserver sshd[7431]: pam_unix(sshd:auth): authentication failure; logname= uid=0 euid=0 tty=ssh ruser= rhost=<IP_ADDRESS>
Dec 28 11:27:12 myserver sshd[7431]: Failed password for invalid user ggitau from <IP_ADDRESS> port 47680 ssh2
Dec 28 11:27:12 myserver sshd[7431]: Received disconnect from <IP_ADDRESS> port 47680:11: Bye Bye [preauth]
Dec 28 11:27:12 myserver sshd[7431]: Disconnected from <IP_ADDRESS> port 47680 [preauth]
Dec 28 11:35:08 myserver sshd[7489]: Invalid user postgres from <IP_ADDRESS> port 49317
Dec 28 11:35:08 myserver sshd[7489]: input_userauth_request: invalid user postgres [preauth]
Dec 28 11:35:08 myserver sshd[7489]: pam_unix(sshd:auth): check pass; user unknown
Dec 28 11:35:08 myserver sshd[7489]: pam_unix(sshd:auth): authentication failure; logname= uid=0 euid=0 tty=ssh ruser= rhost=<IP_ADDRESS>
Dec 28 11:35:10 myserver sshd[7489]: Failed password for invalid user postgres from <IP_ADDRESS> port 49317 ssh2
Dec 28 11:35:10 myserver sshd[7489]: Received disconnect from <IP_ADDRESS> port 49317:11: Bye Bye [preauth]
Dec 28 11:35:10 myserver sshd[7489]: Disconnected from <IP_ADDRESS> port 49317 [preauth]
Dec 28 11:35:30 myserver sshd[7491]: Received disconnect from <IP_ADDRESS> port 55430:11:  [preauth]
Dec 28 11:35:30 myserver sshd[7491]: Disconnected from <IP_ADDRESS> port 55430 [preauth]`

Can you please attach a text file with a few sample lines from your access log? Thanks.

<IP_ADDRESS> - user1 [30/Dec/2018:11:59:04 +0100] "GET /nextcloud/ocs/v2.php/apps/notifications/api/v1/notifications?format=json HTTP/1.1" 200 974 "-" "Mozilla/5.0 (Windows) mirall/2.3.3 (build 1) (Nextcloud)" <IP_ADDRESS> - user1 [30/Dec/2018:11:59:12 +0100] "PROPFIND /nextcloud/remote.php/dav/files/user1/ HTTP/1.1" 207 1368 "-" "Mozilla/5.0 (Windows) mirall/2.3.3 (build 1) (Nextcloud)" <IP_ADDRESS> - user1 [30/Dec/2018:11:59:28 +0100] "PROPFIND /nextcloud/remote.php/dav/files/user1/ HTTP/1.1" 207 1368 "-" "Mozilla/5.0 (Windows) mirall/2.3.3 (build 1) (Nextcloud)" <IP_ADDRESS> - user1 [30/Dec/2018:11:59:42 +0100] "PROPFIND /nextcloud/remote.php/dav/files/user1/ HTTP/1.1" 207 1368 "-" "Mozilla/5.0 (Windows) mirall/2.3.3 (build 1) (Nextcloud)" <IP_ADDRESS> - user1 [30/Dec/2018:11:59:58 +0100] "PROPFIND /nextcloud/remote.php/dav/files/user1/ HTTP/1.1" 207 1368 "-" "Mozilla/5.0 (Windows) mirall/2.3.3 (build 1) (Nextcloud)" <IP_ADDRESS> - - [30/Dec/2018:12:00:05 +0100] "GET / HTTP/1.1" 302 479 "-" "Mozilla/5.0 (compatible; PRTG Network Monitor (www.paessler.com); Windows)" <IP_ADDRESS> - - [30/Dec/2018:12:00:07 +0100] "GET / HTTP/1.1" 200 5420 "-" "Mozilla/5.0 (compatible; PRTG Network Monitor (www.paessler.com); Windows)" <IP_ADDRESS> - user1 [30/Dec/2018:12:00:12 +0100] "PROPFIND /nextcloud/remote.php/dav/files/user1/ HTTP/1.1" 207 1368 "-" "Mozilla/5.0 (Windows) mirall/2.3.3 (build 1) (Nextcloud)" <IP_ADDRESS> - user1 [30/Dec/2018:12:00:28 +0100] "PROPFIND /nextcloud/remote.php/dav/files/user1/ HTTP/1.1" 207 1368 "-" "Mozilla/5.0 (Windows) mirall/2.3.3 (build 1) (Nextcloud)" <IP_ADDRESS> - user1 [30/Dec/2018:12:00:42 +0100] "PROPFIND /nextcloud/remote.php/dav/files/user1/ HTTP/1.1" 207 1368 "-" "Mozilla/5.0 (Windows) mirall/2.3.3 (build 1) (Nextcloud)" <IP_ADDRESS> - user1 [30/Dec/2018:12:00:58 +0100] "PROPFIND /nextcloud/remote.php/dav/files/user1/ HTTP/1.1" 207 1368 "-" "Mozilla/5.0 (Windows) mirall/2.3.3 (build 1) (Nextcloud)" <IP_ADDRESS> - user1 [30/Dec/2018:12:01:12 +0100] "PROPFIND /nextcloud/remote.php/dav/files/user1/ HTTP/1.1" 207 1368 "-" "Mozilla/5.0 (Windows) mirall/2.3.3 (build 1) (Nextcloud)" <IP_ADDRESS> - user1 [30/Dec/2018:12:01:28 +0100] "PROPFIND /nextcloud/remote.php/dav/files/user1/ HTTP/1.1" 207 1368 "-" "Mozilla/5.0 (Windows) mirall/2.3.3 (build 1) (Nextcloud)" <IP_ADDRESS> - user1 [30/Dec/2018:12:01:31 +0100] "GET /nextcloud/ocs/v2.php/apps/notifications/api/v1/notifications?format=json HTTP/1.1" 200 831 "-" "Mozilla/5.0 (Windows) mirall/2.3.3 (build 1) (Nextcloud)" <IP_ADDRESS> - user1 [30/Dec/2018:12:01:43 +0100] "PROPFIND /nextcloud/remote.php/dav/files/user1/ HTTP/1.1" 207 6114 "-" "Mozilla/5.0 (Windows) mirall/2.3.3 (build 1) (Nextcloud)" <IP_ADDRESS> - user1 [30/Dec/2018:12:01:58 +0100] "PROPFIND /nextcloud/remote.php/dav/files/user1/ HTTP/1.1" 207 6114 "-" "Mozilla/5.0 (Windows) mirall/2.3.3 (build 1) (Nextcloud)" <IP_ADDRESS> - user1 [30/Dec/2018:12:02:12 +0100] "PROPFIND /nextcloud/remote.php/dav/files/user1/ HTTP/1.1" 207 1368 "-" "Mozilla/5.0 (Windows) mirall/2.3.3 (build 1) (Nextcloud)" <IP_ADDRESS> - user1 [30/Dec/2018:12:02:28 +0100] "PROPFIND /nextcloud/remote.php/dav/files/user1/ HTTP/1.1" 207 1368 "-" "Mozilla/5.0 (Windows) mirall/2.3.3 (build 1) (Nextcloud)"

Please upgrade to the latest version. It should work in there.

Now it works perfectly. Thanks!


UEFI support

UEFI (or more specific OVMF) is needed for AMD SEV which would be a nice addition to RustyHermit. Any chance in getting UEFI support?

Oh, I oversaw this issue. Hm, I am not sure. I have to look in the details.

Done in https://github.com/hermit-os/loader/pull/325.


typo: isXmlHtppRequest to isXMLHttpRequest

A tiny pull request for a tiny typo.
I'll probably suggest some other PR during my code discovery ;)

@Lesterpig :+1:
awesome, thanks!


RANGER-4884 follow up

This is in response to https://issues.apache.org/jira/browse/RANGER-4884?focusedCommentId=17870182&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#comment-17870182

@mneethiraj Can you please take a look?

Merged in master branch via RANGER-3904.


feat: remove auth for tidb-dashboard-for-debugportal

What did: remove auth related code from tidb-dashboard-for-debugportal, including signin page, because the auth has been done by clinic ui.

Codecov Report

Merging #1392 (fc2e998) into master (825e98a) will decrease coverage by 1.84%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #1392      +/-   ##
==========================================
- Coverage   29.44%   27.59%   -1.85%
==========================================
  Files         128       93      -35
  Lines       10516     9972     -544
  Branches       99        0      -99
==========================================
- Hits         3096     2752     -344
+ Misses       7240     7040     -200
  Partials      180      180

Flag
Coverage Δ

be_unit_test
27.59% <ø> (ø)

e2e_test
?

Flags with carried forward coverage won't be shown. Click here to find out more.

Continue to review full report at Codecov.

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