Launch problem

Good day! I downloaded your program and wanted to try opening the .xocs files. But when I try to open or create my own file, the program crashes with the error "Python program does not work". I would really like to use your program to test my scripts. Please help me, I'm ready to contact you.
Error code:
Traceback (most recent call last):
File "D:\Programs\OpenScenarioEditor-v1.0\OpenScenarioEditor\OpenScenarioEditor.py", line 462, in openxml
self.gui.load_file(self.xmlfn)
File "D:\Programs\OpenScenarioEditor-v1.0\OpenScenarioEditor\gui_qt.py", line 1123, in load_file
self.reload()
File "D:\Programs\OpenScenarioEditor-v1.0\OpenScenarioEditor\gui_qt.py", line 889, in reload
self.pyesmini = PyEsmini(
File "D:\Programs\OpenScenarioEditor-v1.0\OpenScenarioEditor\pyesmini\pyesmini\pyesmini.py", line 144, in init
raise Exception("Init failed")
Exception: Init failed

Ebadi, good afternoon! Your examples really work and I am grateful to you! But when I try to open or create my own file, the program crashes with the "Python program not working" error. I would really like to use your program to test my scripts. Please help me, I am ready to contact you.
How can I use your program to create new scripts? Maybe you have some user manual?
Or do you have some dictionary that will allow you to see what parameters in xml, xocs, xocd correspond to the parameters of OpenScreenario?
I would really like to learn how to create my scripts according to the OpenX standard and be able to check their performance in your program!

Ebadi, good afternoon! Your examples really work and I am grateful to you!
But when I try to open or create my own file, the program crashes with the
"Python program not working" error. I would really like to use your program
to test my scripts. Please help me, I am ready to contact you.
How can I use your program to create new scripts? Maybe you have some user
manual?
Or do you have some dictionary that will allow you to see what parameters
in xml, xocs, xocd correspond to the parameters of OpenScreenario?
I would really like to learn how to create my scripts according to the
OpenX standard and be able to check their performance in your program!
вт, 26 окт. 2021 г. в 13:11, Hamid Ebadi @.***>:

Closed #8 https://github.com/ebadi/OpenScenarioEditor/issues/8.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/ebadi/OpenScenarioEditor/issues/8#event-5519446205,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AVPDUSNKNCJ7LNLH4WSBZADUI2EGDANCNFSM5GWECBAQ
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

--
С уважением, Мозолин Игорь Александрович
@.***
+7-915-955-40-60

Hello Igor,
The program is still under development and it is currently can only be used for editing &  running open-scenario files.

I tried to write an open script file and run it. Does this mean that I will
not be able to create new documents, only the existing scripts can be used?
пн, 8 нояб. 2021 г. в 11:04, Hamid Ebadi @.***>:

Hello Igor,
The program is still under development and it is currently can only be
used for editing & running open-scenario files.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/ebadi/OpenScenarioEditor/issues/8#issuecomment-962901103,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AVPDUSKN7LTXQS3EMBKI6ATUK6AANANCNFSM5GWECBAQ
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

--
С уважением, Мозолин Игорь Александрович
@.***
+7-915-955-40-60

Yes, at this point.

Thank you for your answer! Can you please tell me if you have a dictionary
that matches the OpenX parameters with the xml syntax?
пн, 8 нояб. 2021 г. в 11:27, Hamid Ebadi @.***>:

Yes, at this point.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/ebadi/OpenScenarioEditor/issues/8#issuecomment-962918617,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AVPDUSJB7HLOZ6MXGQ245JLUK6CYNANCNFSM5GWECBAQ
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

--
С уважением, Мозолин Игорь Александрович
@.***
+7-915-955-40-60

Not sure what you need but I don't have such data.

Okay, I understand you. Thank you for your time!
пн, 8 нояб. 2021 г. в 17:22, Hamid Ebadi @.***>:

Not sure what you need but I don't have such data.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/ebadi/OpenScenarioEditor/issues/8#issuecomment-963209111,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AVPDUSIRTEK45CJDSC35UL3UK7MJPANCNFSM5GWECBAQ
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

--
С уважением, Мозолин Игорь Александрович
@.***
+7-915-955-40-60


[REVIEW ONLY] Upgrade to rails 5

I'll rebase and clean up the commits after people had the chance to review.
Trello: https://trello.com/c/GYeuyMtX/69-upgrade-collections-to-rails-5

@carvil I believe I've addressed the comments.
I forgot to refer that airbrake upgrade will not work with our current errbit - although that was stated in here https://github.com/alphagov/govuk-developer-docs/blob/master/source/manual/upgrade-rails.html.md#airbrake


Laravel 5 integration example

I make a laravel integration example. This is my repository
https://github.com/rockancun/laravel_workflower

@rockancun Great work:exclamation: Thank you :smile:


Initial Results (Classification and NER tasks)

Model Fine-tuned: https://huggingface.co/bert-base-german-cased
Task: GERMEVAL_2018_OFFENSIVE_LANGUAGE : Type: Classification
Results:

F-score (micro) 0.7517
F-score (macro) 0.7123
Accuracy 0.7517

By class:
              precision    recall  f1-score   support

       OTHER     0.7896    0.8502    0.8188      2330
     OFFENSE     0.6588    0.5607    0.6058      1202

    accuracy                         0.7517      3532
   macro avg     0.7242    0.7055    0.7123      3532
weighted avg     0.7451    0.7517    0.7463      3532

Settings:

Transformer Document Embeddings
Pooling: cls
epochs: 100
learning rate: 3e-5
default batch size and hidden size

Task: NER_GERMAN_LEGAL: Type NER
Results:

F-score (micro) 0.9625
F-score (macro) 0.9213
Accuracy 0.9301

By class:
              precision    recall  f1-score   support

          GS     0.9779    0.9852    0.9815      1886
          RS     0.9760    0.9760    0.9760      1249
         GRT     0.9939    0.9879    0.9909       331
         LIT     0.9391    0.9544    0.9467       307
          VT     0.9386    0.9549    0.9466       288
         INN     0.9315    0.9231    0.9273       221
         PER     0.9579    0.9333    0.9455       195
          LD     1.0000    0.9869    0.9934       153
         EUN     0.9110    0.9433    0.9268       141
          RR     0.9922    1.0000    0.9961       127
         ORG     0.8000    0.7805    0.7901       123
          UN     0.9478    0.9646    0.9561       113
          VO     0.8696    0.9412    0.9040        85
          ST     0.9383    0.9870    0.9620        77
          VS     0.8209    0.8594    0.8397        64
         MRK     0.7895    0.8571    0.8219        35
         STR     0.7895    0.7500    0.7692        20
         LDS     0.7778    1.0000    0.8750        14
          AN     0.9167    1.0000    0.9565        11

   micro avg     0.9591    0.9660    0.9625      5440
   macro avg     0.9088    0.9360    0.9213      5440
weighted avg     0.9595    0.9660    0.9626      5440

Settings:

Transformer Word Embeddings
pooling_type: first_last
epochs: 15
learning_rate: 3e-5
default batch size and hidden size

Great job!
Few comments:

Did you train the BERT model really for 100 epochs? Or was that max_epochs=100 and flair automatically stopped at one point?
Please also run the evaluation with a "classifier-only" fine-tuning (transformer weights frozen). See https://github.com/flairNLP/flair/issues/2934
Regarding GPT: What batch size / GPU memory did you use? Try to decrease the batch size until it fits to memory. And maybe also start with a smaller model, like https://huggingface.co/malteos/gpt2-wechsel-german-ds-meg

I used 1 RTXA6000 GPU with a maximum of 89 GB of memory allocated to GPU, batch size 32, and hidden size 32. The best option is to try and decrease the batch size to 8 and try and see if it works. In worst case I will work with the smaller model.

You can even decrease the batch size to 1. Generally, please try to not always use the big GPUs on the cluster. For example, the RTX6000 should be totally sufficient.


Need for dark mode option

I would like to request addition of a dark mode feature to reduce eye strain when using app in lowlight environments.

Can you assign this to me?

I like your app.
I can help you with your styles

Thank you for your interest in contributing @MyBaBB. This issue is now assigned to you.

Ok, Thanks.. Glad to meet you.

I made a nice little dark mode for you,  just let me know if you don't like.  I know its the  Weekend.

I will review and merge over the weekend. Please give me some time. Thanks

Have an enjoyable weekend. Stay cool
On Sat, Jul 6, 2024, 7:44 AM Emmanuel @.***> wrote:

I will review and merge over the weekend. Please give me some time. Thanks
—
Reply to this email directly, view it on GitHub
https://github.com/codesmith-emmy/gitNarrator/issues/4#issuecomment-2211786568,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/A4VTGWKUHDQU5QP7IVECOEDZK77GJAVCNFSM6AAAAABJ7O2JEKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEMJRG44DMNJWHA
.
You are receiving this because you were mentioned.Message ID:
@.***>

Yes,  I can.  It turns out kind of goofy looking,  I will work on it for a
while to see if I can fix it.
On Mon, Jul 8, 2024 at 2:08 PM Emmanuel @.***> wrote:

Could you please make the background of User Messages area and AI Response
area black in dark mode too?
Screenshot.2024-07-08.at.21.54.08.png (view on web)
https://github.com/codesmith-emmy/gitNarrator/assets/154705254/9c9222c2-ddf3-490e-a823-90bfb9723263
—
Reply to this email directly, view it on GitHub
https://github.com/codesmith-emmy/gitNarrator/issues/4#issuecomment-2215315570,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/A4VTGWKPYISIGNUTWLZ2FRLZLL5U7AVCNFSM6AAAAABJ7O2JEKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEMJVGMYTKNJXGA
.
You are receiving this because you were mentioned.Message ID:
@.***>

I got it fixed up pretty good. I madecit mobile responsive and everything.
You can test it and look for canyon bugs I might have missed. Or whatever
you want.
On Tue, Jul 9, 2024, 1:18 AM MyBabb @.***> wrote:

Yes,  I can.  It turns out kind of goofy looking,  I will work on it for a
while to see if I can fix it.
On Mon, Jul 8, 2024 at 2:08 PM Emmanuel @.***> wrote:

Could you please make the background of User Messages area and AI
Response area black in dark mode too?
Screenshot.2024-07-08.at.21.54.08.png (view on web)
https://github.com/codesmith-emmy/gitNarrator/assets/154705254/9c9222c2-ddf3-490e-a823-90bfb9723263
—
Reply to this email directly, view it on GitHub
https://github.com/codesmith-emmy/gitNarrator/issues/4#issuecomment-2215315570,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/A4VTGWKPYISIGNUTWLZ2FRLZLL5U7AVCNFSM6AAAAABJ7O2JEKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEMJVGMYTKNJXGA
.
You are receiving this because you were mentioned.Message ID:
@.***>


Deleted deprecated.hpp

deprecated.hpp file was successfully deleted.

That was the easy part, now you need to find out where the file is still included. Check the build log in the pipeline and look for errors like the following:
/home/vsts/work/1/s/boost-root/libs/gil/include/boost/gil.hpp:22:36: fatal error: boost/gil/deprecated.hpp: No such file or directory
 #include <boost/gil/deprecated.hpp>

That was the easy part, now you need to find out where the file is still included. Check the build log in the pipeline and look for errors like the following:
/home/vsts/work/1/s/boost-root/libs/gil/include/boost/gil.hpp:22:36: fatal error: boost/gil/deprecated.hpp: No such file or directory
 #include <boost/gil/deprecated.hpp>

That was the easy part, now you need to find out where the file is still included. Check the build log in the pipeline and look for errors like the following:
/home/vsts/work/1/s/boost-root/libs/gil/include/boost/gil.hpp:22:36: fatal error: boost/gil/deprecated.hpp: No such file or directory
 #include <boost/gil/deprecated.hpp>

Ok, got it thank you for the help. I am just a beginner trying the learn to contribute so please don't mind. Also, I closed the PR by mistake, so I am just reopening it.

closed in favour of #627


Change link on main screen to "View"

For v1, the main screen copy that reads Already have a Status subdomain? Manage it
Should be changed to Already have a Status subdomain? View
View should be linked to this screen

Not possible - we don't have an indexer to look up a user's owned names.


Allow extensions to contribute getting started content

We want to allow extensions to contribute items to the welcome page's getting started section:

Using a package.json like this:
		"welcomeCategories": [
			{
				"id": "exampleProject",
				"title": "Turn Markdown into HTML",
				"description": "Use this sample project to learn how to convert Markdown to HTML!"
			}
		],
		"welcomeItems": {
			"exampleProject": [
				{
					"id": "md-to-html.openExample",
					"title": "Open an example folder",
					"description": "To start, try opening an example folder that has been preconfigured for this tutorial. This is optional, but helps for following along!",
					"button": {
						"title": "Open Example",
						"command": "md-to-html.openExample"
					},
					"media": {
						"path": "media/example-project.png",
						"altText": "example project"
					}
				},
				{
					"id": "md-to-html.showPreview",
					"title": "Preview your Markdown",
					"description": "Open a markdown file and click the \"Open Preview\" button at the top of the screen to see a preview of your file. This is technically optional, but it updates live and is helpful to check when creating your content!",
					"button": {
						"title": "Open Markdown File",
						"command": "md-to-html.openMarkdown"
					},
					"media": {
						"path": "media/preview.png",
						"altText": "preview"
					},
					"doneOn": {"command": "markdown.showPreviewToSide" }
				},
				{
					"id": "md-to-html.convertToHTML",
					"title": "Create your .html file",
					"description": "To create the html file, run \"Convert Document to HTML\" from the editor actions context menu, behind the three dots top of the screen. This will create an .html file along side the markdown file.",
					"button": {
						"title": "Open Markdown File",
						"command": "md-to-html.openMarkdown"
					},
					"media": {
						"path": "media/convert-option.png",
						"altText": "showing editor actions context menu"
					},
					"doneOn": {"command": "md-to-html.convertToHTML" }
				},
				{
					"id": "md-to-html.openInBrowser",
					"title": "Open your .html file in the browser",
					"description": "Test that everything worked by opening the .html file in your browser. First open the html file in vscode, then right click in the editor and choose \"Open in Default Browser\".",
					"button": {
						"title": "Open HTML File",
						"command": "md-to-html.openHTML"
					},
					"media": {
						"path": "media/open-in-browser.png",
						"altText": "use editor context menu to open an .html file in your browser"
					},
					"doneOn": {"command": "extension.openInDefaultBrowser" }
				},
				{
					"id": "md-to-html.addKeybinding",
					"title": "Create a keyboard shortcut",
					"description": "That's all! You can share that single .html file with anyone without needing to bundle the images. To make this even easier in the future, consider adding a keybinding for the \"Convert Document to HTML\" command.",
					"button": {
						"title": "Add a keybinding",
						"command": "md-to-html.addKeybinding"
					},
					"media": {
						"path": "media/add-keybinding.png",
						"altText": "use the keybindings editor to add a keybinding for this command"
					}
				}
			]
		},

This is the change to the extension contributions interface:
export interface IExtensionContributions {
        .....
	welcomeItems?: { [category: string]: IWelcomeItem[] };
	welcomeCategories?: IWelcomeCategory[];
        .....
}

export interface IWelcomeItem {
	readonly id: string;
	readonly title: string;
	readonly description: string;
	readonly button: { title: string } & ({ command?: never, link: string } | { command: string, link?: never }),
	readonly media: { path: string | { hc: string, light: string, dark: string }, altText: string },
	readonly doneOn?:
	| { event: string; command?: never }
	| { event?: never; command: string };
	readonly when?: string;
}

export interface IWelcomeCategory {
	readonly id: string,
	readonly title: string;
	readonly description: string;
	readonly when?: string;
}

Updated based on feedback from API discussion:

Rather than a split categories/items contribution point, use a single large object
walkthroughs as top level contribution point (generalizable to getting started, tips&tricks, and troubleshooting), tasks for the individual items
Simplified image contribution - now just a single path
Removed eventFired doneOn mode, will add API to control programmatically in future revision

Moving to April for continued API discussion.

@JacksonKearl Is it option here to add images for [ light, dark, HC ] color themes from extensions?

@pixieaka that is not currently surfaced, though we support it internally and could. Is this something you would use?

@JacksonKearl Yeah I could use this feature to unify my extension experience to mate user interface like HC or Light. Can this be option if extension slides need to display code photos it would be better to be customizable for user UI.

That sounds reasonable, can you create a new issue for it?

@JacksonKearl  Absolutely! #120122 .

For those who want to try this new feature, I just want to mention that, setting workbench.welcomePage.experimental.extensionContributions to true (for the insiders built on 2021/04/28) is a pre-requisite. Otherwise you don't see anything.

New API:
"walkthroughs": [
  {
    "id": "exampleProject",
    "title": "Turn Markdown into HTML",
    "description": "Use this sample project to learn how to convert Markdown to HTML!",
    "primary": true,
    "steps": [
      {
        "id": "md-to-html.openExample",
        "title": "Open an example folder",
        "description": "To start, try opening an example folder that has been preconfigured for this tutorial. **This is optional**, but helps for following along!\n[Open Example](command:md-to-html.openExample)",
        "media": {
          "path": "media/openExample.md"
        },
        "completionEvents": ["extensionInstalled:tyriar.luna-paint"]
      },
      {
        "id": "md-to-html.showPreview",
        "title": "Preview your Markdown",
        "description": "Open a markdown file and click the __\"Open Preview\"__ button at the top of the screen to see a preview of your file. **This is technically optional**, but it updates live and is helpful to check when creating your content!\n[Open Markdown File](command:toSide:workbench.action.quickOpen?%22.md%22)",
        "media": {
          "path": "media/preview.png",
          "altText": "preview"
        },
        "completionEvents": ["onCommand:markdown.showPreviewToSide"]
      },
      {
        "id": "md-to-html.convertToHTML",
        "title": "Create your .html file",
        "description": "To create the ``.html`` file, run __\"Convert Document to HTML\"__ from the editor actions context menu, behind the three dots top of the screen. This will create an ``.html`` file along side the markdown file.\n[Open Markdown File](command:toSide:workbench.action.quickOpen?%22.md%22)",
        "media": {
          "path": "media/convert-option.png",
          "altText": "showing editor actions context menu"
        },
        "completionEvents": ["onCommand:md-to-html.convertToHTML"]
      },
      {
        "id": "md-to-html.openInBrowser",
        "title": "Open your .html file in the browser",
        "description": "Test that everything worked by opening the ``.html`` file in your browser. This requires [installing the open in broswer extension](command:workbench.extensions.installExtension?%22techer.open-in-browser%22).\n First open the html file in vscode, then right click in the editor and choose \"Open in Default Browser\".\n[Open HTML File](command:toSide:workbench.action.quickOpen?%22.html%22)",
        "media": {
          "path": "media/open-in-browser.png",
          "altText": "use editor context menu to open an .html file in your browser"
        },
        "completionEvents": ["onCommand:extension.openInDefaultBrowser"]
      },
      {
        "id": "md-to-html.addKeybinding",
        "title": "Create a keyboard shortcut",
        "description": "That's all! You can share that single ``.html`` file with anyone without needing to bundle the images. To make this even easier in the future, consider adding a keybinding for the \"Convert Document to HTML\" command.\n[Add a keybinding](command:workbench.action.openGlobalKeybindings?%22md-to-html.convertToHTML%22)",
        "media": {
          "path": "media/add-keybinding.png",
          "altText": "use the keybindings editor to add a keybinding for this command"
        }
      }
    ]
  }
],

Where completionEvents follows same basic flow as avtivationEvents, and takes keys like: onCommand: onLink: onView: onSettingChanged: onContextKeyDefined: extensionInstalled: stepSelected

Notes from API review:

onContextKeyDefined => onContext
Consider supporting configuration in a separate file (see snippets)
Better name for "primary"
media.path => media.image, media.markdown

Implemented remaining items from API review. Will consider supporting separate config files as needed by implementors


Update MD file on new branch 2017-11-30_15-28-03

: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.


Fix Command Injection and XSS vulnerabilities in trackEdit.php

Signed-off-by: Feras Al-Kassar
The vulnerability explanation https://github.com/MiczFlor/RPi-Jukebox-RFID/issues/1859

@MiczFlor


Fix type for Navigation.type

To exclude a member of string literal union type, Exclude utility type should be used instead of Omit. Using Omit turns the union type into just string
Please don't delete this checklist! Before submitting the PR, please make sure you do the following:

[ ] It's really useful if your PR references an issue where it is discussed ahead of time. In many cases, features are absent for a reason. For large changes, please create an RFC: https://github.com/sveltejs/rfcs
[ ] This message body should clearly illustrate what problems it solves.
[ ] Ideally, include a test that fails without this PR but passes with it.

Tests

[x] Run the tests with pnpm test and lint the project with pnpm lint and pnpm check

Changesets

[ ] If your PR makes a change that should be noted in one or more packages' changelogs, generate a changeset by running pnpm changeset and following the prompts. Changesets that add features should be minor and those that fix bugs should be patch. Please prefix changeset messages with feat:, fix:, or chore:.

Thank you!
cc: @dummdidumm does this require a changeset? (patch with fix / chore?)

I think this PR makes the types consistent with what the comments already documented. So the behavior now matches the documents. Thus I don't think a changeset is required.

We use a changeset for anything user-visible. This seems like it could be visible to users and so would require a changeset. I also think we should probably have some sort of tests for types - maybe we already do?

I have added a changeset. Not sure about tests for types


Icon for Taproot Wallets

Task Description
Right now it is difficult for the user to differentiate between a Native Segwit(default) and a Taproot wallet. Having an icon to differentiate Taproot from the default wallet would simplify it.
Note: To be used both on the home screen(wallet tiles) and wallet details screen.

https://xd.adobe.com/view/f1543c84-c25a-4ad6-81ca-1e0c540e956e-a407/screen/14f4feca-fb7a-420b-91d5-765cc4e96a78/specs/
lets use tags


[Bug]: Cache Image per FilamentPanel

What happened?
When having multiple Filament Panels the same cached image returns for each panel. even though i've registered another imageProvider
How to reproduce the bug
create multiple filament panels
one panel add
$panel->plugin([FilamentBackgroundsPlugin::make()->remember(60)]

other panel add:
$panel2->plugin([FilamentBackgroundsPlugin::make()->imageProvider(Triangles::make())->remember(60)]

open both panels with login page.
proposed update:
in FilamentBackgroundsPlugin.php change this function so that it gets the correct cached image per filament panel:

protected function getImage(): Image
    {

        return Cache::remember(
            Filament::getCurrentPanel()->getId() ?? '' . 'filament-backgrounds:image',
            $this->ttl,
            fn () => ($this->imageProvider ?? CuratedBySwis::make())->getImage()
        );
    }

Package Version
1.1.1
PHP Version
8.3.2
Laravel Version
10
Which operating systems does with happen with?
No response
Notes
No response

Good catch, thanks for reporting! Fixed in 1.1.2.


Auto-Boosts

Is your feature request related to a problem? Please describe.
Boosts are one-time payments that allow stackers to temporarily promote their content. This format works for one-time announcements or product launches, but doesn’t allow for persistent advertising campaigns on Stacker News.
This severely limits the willingness of advertisers to spend money on Stacker News, and thus severely limits the size of the daily rewards pool.
Describe the solution you'd like
To fix this, an “auto-boost” checkbox can be added next to the "boost" option that is displayed in the hidden menu on all posts. Enabling the auto-boost checkbox would re-surface the stacker's boosted post every day as if it were a new post with their chosen boost amount. The post wouldn't need to be re-written every day, in fact the creator wouldn't even need to take any action.
Auto-boosted posts should persist until the creator either run out of funds in their wallet or they turn off the auto-boost setting on their post.
A V2 implementation of auto-boosting should give advertisers the ability to set more refined boost schedules.

Enabling the auto-boost checkbox would re-surface the stacker's boosted post every day as if it were a new post with their chosen boost amount.

When would it re-surface the post, exactly every 24 hours after the post was created?

Auto-boosted posts should persist until the creator either run out of funds in their wallet or they turn off the auto-boost setting on their post.

Or set an optional limit?
Also, on different days you might need different amount of boosts to become #1 on the front page. So results might be unexpected. Am I right @huumn ?

Also, on different days you might need different amount of boosts to become https://github.com/stackernews/stacker.news/issues/1 on the front page. So results might be unexpected. Am I right @huumn?

Yes, we couldn't promise the placement.

MVP:
24 hours later, atomically:

deduct boost amount from account
update the created_at column to now() 24 hours later


Appstudio update test-component-pac-puvs

Pipelines as Code configuration proposal

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

StatusDurationName

✅ Succeeded
30 seconds
init

✅ Succeeded
31 seconds
clone-repository

✅ Succeeded
2 minutes
build-container

✅ Succeeded
36 seconds
deprecated-base-image-check

✅ Succeeded
37 seconds
sanity-inspect-image

✅ Succeeded
1 minute
clamav-scan

✅ Succeeded
3 minutes
clair-scan

✅ Succeeded
38 seconds
sbom-json-check

✅ Succeeded
13 seconds
sanity-optional-label-check

✅ Succeeded
14 seconds
sanity-label-check

✅ Succeeded
7 seconds
show-summary

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

StatusDurationName

✅ Succeeded
7 seconds
init

✅ Succeeded
24 seconds
clone-repository

✅ Succeeded
1 minute
build-container

✅ Succeeded
21 seconds
sanity-inspect-image

✅ Succeeded
23 seconds
deprecated-base-image-check

✅ Succeeded
11 seconds
clair-scan

✅ Succeeded
54 seconds
clamav-scan

✅ Succeeded
10 seconds
sbom-json-check

✅ Succeeded
10 seconds
sanity-label-check

✅ Succeeded
11 seconds
sanity-optional-label-check

✅ Succeeded
8 seconds
show-summary

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

StatusDurationName

✅ Succeeded
7 seconds
init

✅ Succeeded
24 seconds
clone-repository

✅ Succeeded
1 minute
build-container

✅ Succeeded
23 seconds
deprecated-base-image-check

✅ Succeeded
11 seconds
clair-scan

✅ Succeeded
21 seconds
sanity-inspect-image

✅ Succeeded
54 seconds
clamav-scan

✅ Succeeded
10 seconds
sbom-json-check

✅ Succeeded
10 seconds
sanity-label-check

✅ Succeeded
11 seconds
sanity-optional-label-check

✅ Succeeded
8 seconds
show-summary


flutter camera can't stop video in IOS back camera

Hey,
I am using the flutter camera plugin and I was fine while using it on Android.
I switched to iOS and there is one problem that I can't stop the video when recording.
This is the code I'm using to stop the video recording:
  void _stopVideoRecord() async {
    if (!_cameraController.value.isRecordingVideo) return;
    _videoTimer.stop();
    setState(() {
      _videoDuration = Duration(seconds: 0);
    });
    await _cameraController.stopVideoRecording();
    _displayMedia(MediaType.VIDEO, _videoPath);
  }

The line await _cameraController.stopVideoRecording(); never returns and seems to run forever.
This is happening only when using the back camera, the front camera works fine.
In addition I am able to capture images normally.
Camera version: ^0.5.7+3
flutter doctor -v output
[✓] Flutter (Channel stable, v1.12.13+hotfix.7, on Mac OS X 10.15.3 19D76,
    locale en-IL)
    • Flutter version 1.12.13+hotfix.7 at /Users/morbyosef/development/flutter
    • Framework revision 9f5ff2306b (3 weeks ago), 2020-01-26 22:38:26 -0800
    • Engine revision a67792536c
    • Dart version 2.7.0

[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.2)
    • Android SDK at /Users/morbyosef/Library/Android/sdk
    • Android NDK location not configured (optional; useful for native profiling support)
    • Platform android-29, build-tools 29.0.2
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b49-5587405)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 11.3.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 11.3.1, Build version 11C504
    • CocoaPods version 1.8.4

[✓] Android Studio (version 3.5)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin version 42.1.1
    • Dart plugin version 191.8593
    • Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b49-5587405)

[✓] VS Code (version 1.42.0)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.8.1

[✓] Connected device (1 available)
    • Mor’s iPhone • 00008030-001E1DE82EDA802E • ios • iOS 13.3.1

• No issues found!

Hi @morbyosef
can you please provide your flutter run --verbose,
your pubspec.yaml
and a reproducible minimal code sample.
Thank you

I manges to solve this problem by changing the resolution of the camera from auto to a specific resolution.

Hi @morbyosef
I'm glad you solved the issue
thank you for letting me know


Blank screen after running OnyX

For some reason Aerial displays a blank screen after running OnyX (ver 3.6.8) and rebooting. This has happened twice. I tried uninstalling all Aerial files then reinstalled afresh but to no avail. To get it working again I had to reinstall from a Time Machine back up.
I looked at Issue #1105 A fix for the blank screen appearing after installing the screen saver but the workaround of adding extra Little Snitch rules didn't work. I'd already downloaded the videos to cache anyway.
Couldn't find a way to add screenshots so have listed the OnyX settings. These are the ones which are checked.
Maintenance
Rebuilding

LaunchServices
dyld's shared cache
XPC cache
CoreDuet database
Spotlight index
Mail's mailbox (rebuild the index)

Cleaning

System
Applications

Misc. options

Maintenance scripts
Fonts cache
Junk items
Recent items
Trash

Cleaning (Options)

System
Boot cache
Kernel and extensions cache
Components cache

Applications

Applications cache
Java and Java Applets cache

Would any one of these settings cause Aerial not to work properly? If so I will uncheck it / them and try again.
Mac 10.14.6 (Mac Mini with BenQ monitor), Aerial 2.1.1.
Thanks
edit; At first I thought the problem was caused by the latest Security (006) and Safari updates (like a month or two ago), but I installed them separately and checked Aerial before running OnyX. They seemed to check out ok.

Hey @nadesco
I'm not particularly familiar with OnyX but there has been issues with some tools of the sort with previous versions of Aerial. They are mostly fixed assuming you are running Catalina/Big Sur but since you are using 10.14.6 there are extra options available to you that may cause this.
From your list, "Applications cache" or "extensions cache" is the potential issue, because this may wipe Aerial's "cache" folder and thus put you in a black screen situation, wiping everything, and you may have a compounded effect with Little Snitch in that case. Assuming you are using defaults settings you should still be fine but obviously something is wrong here.
So, first thing first, if you go to the Settings > Cache in Aerial, can you tell me using the "Show in Finder" where does your cache point to ? Do you have "Manually pick location" checked or not in here ?
Second, in Settings > Advanced, make sure debug log is enabled, and press "Show in Finder", where is that path ?
That may narrow it down buy my gut feeling is, OnyX wipes Aerial's files quite simply. The new defaults should prevent this on new installs but you may have different settings so let me know about the paths I asked about and we'll start from here.

Hi Guillaume,
Thanks for your response.
Using the instructions you gave the route to Cache is  ~/Library/Application Support/Aerial/Cache
"Manually pick location” is disabled.
In Advanced, clicking Show Log in Finder points to AerialLog.txt being in the same Aerial folder as above.

On Nov 14, 2020, at 23:24, Guillaume Louel<EMAIL_ADDRESS>wrote:
Hey @nadesco
I'm not particularly familiar with OnyX but there has been issues with some tools of the sort with previous versions of Aerial. They are mostly fixed assuming you are running Catalina/Big Sur but since you are using 10.14.6 there are extra options available to you that may cause this.
From your list, "Applications cache" or "extensions cache" is the potential issue, because this may wipe Aerial's "cache" folder and thus put you in a black screen situation, wiping everything, and you may have a compounded effect with Little Snitch in that case. Assuming you are using defaults settings you should still be fine but obviously something is wrong here.
So, first thing first, if you go to the Settings > Cache in Aerial, can you tell me using the "Show in Finder" where does your cache point to ? Do you have "Manually pick location" checked or not in here ?
Second, in Settings > Advanced, make sure debug log is enabled, and press "Show in Finder", where is that path ?
That may narrow it down buy my gut feeling is, OnyX wipes Aerial's files quite simply. The new defaults should prevent this on new installs but you may have different settings so let me know about the paths I asked about and we'll start from here.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.

That may narrow it down buy my gut feeling is, OnyX wipes Aerial's files quite simply.

Btw, after I ran OnyX the first time and got the blank screen I later found that all the cached .mov files were still in the Cache folder, so I didn’t have to re-download them. Not sure what to make of that. Perhaps I should simply reset all settings but will wait for your reply.

Ok so, your cache paths should be safe. Usually cleaning app wipe  ~/Library/Caches/ which was the previous folder Aerial was using for storing the videos, but I changed it explicitely for this.
Since you mention you still had the videos, it's hard for me to guess what went wrong here. Aerial also needs a few files that are stored in ~/Library/Application Support/Aerial/, but there's 0 reason those would be deleted while the cache folder remains intact.
If you feel like restoring once more, I would love a debug log of that first failed startup, maybe that would tell me what goes wrong, if not I'll try to have a look later this week.

I tried this ...
Clicked Reset All Settings in Advanced
For some reason it took a number of attempts and closing/opening of System Preferences before Aerial actually reset.
Until that time my preferred videos continued to show in Favourites and other preferred settings did not change back to default. Eventually it did reset so I ran OnyX. After a reboot I noticed that all videos were deleted from the Cache folder (unlike before). Not sure but a Little Snitch setting might have prevented Aerial from downloading new videos on previous attempts, although that shouldn’t have mattered because .mov videos were still in Cache. Anyway I downloaded a couple and manually restored the rest to Cache from a backup. This time it worked as expected.
Out of curiosity I thought I’d retry the Reset All Settings button. First I added a few videos to Favourites and enabled a couple of extra Overlays to make sure they would revert back to factory settings. After clicking Reset, two windows appeared, “Reset all settings?” and “Settings set to defaults” which would indicate that everything was set to default. But after closing System Preferences and reopening I found that the preferences I’d set a few minutes ago were still in place. I tried to reset it quite a few times but the 3 videos in Favourites and non-default Overlays remained as before.
I then deleted all folders and files to do with Aerial, rebooted and reinstalled it. I repeated the above but no change, the Reset function doesn’t function as it should on 10.14.6.
I’m not familiar with code but had a quick look at the AerialLog.txt file and found this:  Using dot workaround for video driver corruption

On Nov 15, 2020, at 21:46, Guillaume Louel<EMAIL_ADDRESS>wrote:
Ok so, your cache paths should be safe. Usually cleaning app wipe ~/Library/Caches/ which was the previous folder Aerial was using for storing the videos, but I changed it explicitely for this.
Since you mention you still had the videos, it's hard for me to guess what went wrong here. Aerial also needs a few files that are stored in ~/Library/Application Support/Aerial/, but there's 0 reason those would be deleted while the cache folder remains intact.
If you feel like restoring once more, I would love a debug log of that first failed startup, maybe that would tell me what goes wrong, if not I'll try to have a look later this week.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.

Hey again, let me try and answer your questions.

I tried this ... Clicked Reset All Settings in Advanced For some reason it took a number of attempts and closing/opening of System Preferences before Aerial actually reset. Until that time my preferred videos continued to show in Favourites and other preferred settings did not change back to default.

Ok so just to clarify this, in order to fully restart Aerial, you need to close the whole System Preferences, not just Aerial's panel. It's a bit weird but until you fully restart System Preferences it's still in memory.

Eventually it did reset so I ran OnyX. After a reboot I noticed that all videos were deleted from the Cache folder (unlike before).

Ok so I guess that's it then, OnyX deletes the Application Support folder. That's a weird one, deleting ~/Library/Caches/ is considered fine, but ~/Library/Application Support, not really. That's explicitly why I moved there, because other tools don't wipe it.
As to which option does that from the one on your list, I guess you need to check their manual or FAQ if they have any, but in general I would recommend, not just for Aerial but for all your software to not use the option that wipe that folder's content. Usually stuff in Application Support can still be regenerated but it's really not something one should do on macOS.

Not sure but a Little Snitch setting might have prevented Aerial from downloading new videos on previous attempts, although that shouldn’t have mattered because .mov videos were still in Cache. Anyway I downloaded a couple and manually restored the rest to Cache from a backup. This time it worked as expected.

Ok great and very likely for little snitch. It may be stuck downloading files from githubusercontent (for the video manifests) hence the black screen. I need to make some specific error messages for little snitch users, it's really a pain the way they handle screensavers.

Out of curiosity I thought I’d retry the Reset All Settings button. First I added a few videos to Favourites and enabled a couple of extra Overlays to make sure they would revert back to factory settings. After clicking Reset, two windows appeared, “Reset all settings?” and “Settings set to defaults” which would indicate that everything was set to default. But after closing System Preferences and reopening I found that the preferences I’d set a few minutes ago were still in place.

Ok so I may need to double check that, assuming you did fully close System Preferences. Settings can be finicky on some versions of macOS and off the top of my head I can't remember how I'm doing it. There's a caching system in macOS when it comes to settings and you need to do things in a specific way to get it to wipe the cache, which I may not be doing correctly, I'll have a look.

I tried to reset it quite a few times but the 3 videos in Favourites and non-default Overlays remained as before. I then deleted all folders and files to do with Aerial, rebooted and reinstalled it. I repeated the above but no change, the Reset function doesn’t function as it should on 10.14.6.

Ok so just to clarify, settings are not stored in Application Settings, they are in Preferences (but just deleting the file won't do, because of the cache thing I mentionned earlier).

I’m not familiar with code but had a quick look at the AerialLog.txt file and found this: Using dot workaround for video driver corruption

So that one, completely separate, and very normal to see (if you look closely you'll see a faint white dot bottom right corner of the screen when Aerial runs, it's that workaround to avoid garbled graphics output on some Macs).

Thanks for taking the time to go through that post, it was helpful.

Ok so just to clarify this, in order to fully restart Aerial, you need to close the whole System Preferences, not just Aerial's panel. It's a bit weird but until you fully restart System Preferences it's still in memory.

I made sure to fully close System Preferences each time, I wasn’t just closing the panel. I even rebooted once, yet the preferences I’d set continue to remain, except, that is, for the one time I was able to reset it which seemed to clear the blank screen problem (giving access to the cache), and a slow startup time.
Anyway the original issue is now sorted which is the main thing. The Reset is still buggy though, at least on my machine, but it doesn’t really affect anything so no problem. I’ll also uncheck those 2 boxes in OnyX that you referred to, it’s handy to know. If you’d like to look at the AerialLog.txt file for any reason then let me know.
Thanks again for your help.

On Nov 16, 2020, at 9:05, Guillaume Louel<EMAIL_ADDRESS>wrote:
Hey again, let me try and answer your questions.
I tried this ... Clicked Reset All Settings in Advanced For some reason it took a number of attempts and closing/opening of System Preferences before Aerial actually reset. Until that time my preferred videos continued to show in Favourites and other preferred settings did not change back to default.
Ok so just to clarify this, in order to fully restart Aerial, you need to close the whole System Preferences, not just Aerial's panel. It's a bit weird but until you fully restart System Preferences it's still in memory.
Eventually it did reset so I ran OnyX. After a reboot I noticed that all videos were deleted from the Cache folder (unlike before).
Ok so I guess that's it then, OnyX deletes the Application Support folder. That's a weird one, deleting ~/Library/Caches/ is considered fine, but ~/Library/Application Support, not really. That's explicitly why I moved there, because other tools don't wipe it.
As to which option does that from the one on your list, I guess you need to check their manual or FAQ if they have any, but in general I would recommend, not just for Aerial but for all your software to not use the option that wipe that folder's content. Usually stuff in Application Support can still be regenerated but it's really not something one should do on macOS.
Not sure but a Little Snitch setting might have prevented Aerial from downloading new videos on previous attempts, although that shouldn’t have mattered because .mov videos were still in Cache. Anyway I downloaded a couple and manually restored the rest to Cache from a backup. This time it worked as expected.
Ok great and very likely for little snitch. It may be stuck downloading files from githubusercontent (for the video manifests) hence the black screen. I need to make some specific error messages for little snitch users, it's really a pain the way they handle screensavers.
Out of curiosity I thought I’d retry the Reset All Settings button. First I added a few videos to Favourites and enabled a couple of extra Overlays to make sure they would revert back to factory settings. After clicking Reset, two windows appeared, “Reset all settings?” and “Settings set to defaults” which would indicate that everything was set to default. But after closing System Preferences and reopening I found that the preferences I’d set a few minutes ago were still in place.
Ok so I may need to double check that, assuming you did fully close System Preferences. Settings can be finicky on some versions of macOS and off the top of my head I can't remember how I'm doing it. There's a caching system in macOS when it comes to settings and you need to do things in a specific way to get it to wipe the cache, which I may not be doing correctly, I'll have a look.
I tried to reset it quite a few times but the 3 videos in Favourites and non-default Overlays remained as before. I then deleted all folders and files to do with Aerial, rebooted and reinstalled it. I repeated the above but no change, the Reset function doesn’t function as it should on 10.14.6.
Ok so just to clarify, settings are not stored in Application Settings, they are in Preferences (but just deleting the file won't do, because of the cache thing I mentionned earlier).
I’m not familiar with code but had a quick look at the AerialLog.txt file and found this: Using dot workaround for video driver corruption
So that one, completely separate, and very normal to see (if you look closely you'll see a faint white dot bottom right corner of the screen when Aerial runs, it's that workaround to avoid garbled graphics output on some Macs).
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.

Hey sorry for the late reply, glad the main issue is fixed.
I did look at my code to reset settings and indeed basically it's not correct. I need to think about it a bit more on how to properly fix that. Thanks for the detailed report again.

No worries. Thanks for all your hard work.

Very late but I fixed the reset issue for next version ;)


Unicodes in strings?

Will Orange string support Unicodes?

Yes, strings already support unicode as long as the source file is encoded in UTF-8.


[WIP] Add Profile page

Struggling to set up props for my input fields. Haven't wrapped my head around how to do it in TS without getting 'react/destructuring-assignment' issues. Temporarily disabled ESLint error in 'InputField.tsx' to let me commit my changes..

This branch and PR includes the commits from the 'feature/update-styling-recipe-list' branch.

Struggling to set up props for my input fields. Haven't wrapped my head around how to do it in TS without getting 'react/destructuring-assignment' issues. Temporarily disabled ESLint error in 'InputField.tsx' to let me commit my changes..

The eslint rules are quite strict :D Sometimes it makes sense to just disable them, but in this case I'd suggest the following:
You can destructure the props like this:
const InputField = ({ title, fieldInput }: TestInterface) => {
and then use title and fieldInput instead of props.title and props.fieldInput.
Check out this article: https://medium.com/@lcriswell/destructuring-props-in-react-b1c295005ce0


[Bug] [Seatunnel-web] [Metrics] NPE while fetching metrics from seatunnel-engine.

1.Changed logic to use job status from databse instead of seatunnel-engine.
2.If job is ended then not fetching metrics from seatunnel-engine but fetching from database.
3 Handeled error while fetching metrics from seatunnel-engine.

Purpose of this pull request

Check list

[ ] Code changed are covered with tests, or it does not need tests for reason:
[ ] If any new Jar binary package adding in your PR, please add License Notice according
New License Guide
[ ] If necessary, please update the documentation to describe the new feature. https://github.com/apache/seatunnel/tree/dev/docs

After fix, the issue scenario works fine

Thanks @Hisoka-X for reviewing and merging the PR


No alert pop-up msg is coming if we are creating duplicate PTT User. (Company Panel)

Describe the bug
If we creating a duplicate PTT User with same values of the earlier PTT User then No alert pop-up msg is coming if we are creating duplicate PTT User.
To Reproduce
Steps to reproduce the behavior:
1.Enter in the address bar-pulseptt.com
2.Login With Id and Password.
UserName-pulse123
Password-123456789
3.Click On 'Create User' and Create a PTT User.
4. Now, with same values create another PTT User.
Expected behavior
alert pop-up msg should come if we are creating duplicate PTT User.
Desktop (please complete the following information):
OS: Windows 10
Browser: Version 100.0.4896.60 (Official Build) (64-bit)
Version: [0.2.10]

For every user we create, this pop-up we get-


Blackbox fails to send error notification if failure reason field is over Discord embed limit

Discord has a field size limit of 1024 characters, not 2,000 as is currently programmed. This means that blackbox silently fails to notify if a backup has failed.
https://github.com/lemonsaurus/blackbox/blob/d40f08d0d4be701faca0b17ab3407543e7fd31ea/blackbox/handlers/notifiers/discord.py#L13-L14
Additionally, this truncation hides the actual error for failing databases since it includes all output from databases that successfully backed up, a future iteration might want to include only the output for the failing stage.
As an example of an invalid body, I have attached the current PyDis backup output which is failing because of #154, as you can see the truncated body means that no PostgreSQL error is logged, even though the actual PostgreSQL error is only a couple of short lines.

Webhook Payload
{
  "content": null,
  "embeds": [
    {
      "title": "Backup",
      "color": 13377568,
      "fields": [
        {
          "name": "**main_mongodb**",
          "inline": true,
          "value": ":white_check_mark:  singapore_s3\n:white_check_mark:  newark_s3\n:white_check_mark:  frankfurt_s3"
        },
        {
          "name": "**main_redis**",
          "inline": true,
          "value": ":white_check_mark:  singapore_s3\n:white_check_mark:  newark_s3\n:white_check_mark:  frankfurt_s3"
        },
        {
          "name": "**main_postgres**",
          "inline": true,
          "value": ":x:"
        },
        {
          "name": "Output",
          "value": "2024-05-02T16:17:58.887+0000\twriting admin.system.users to archive '/tmp/tmpot_19_0a/main_mongodb_*****_02_05_2024.archive'\n2024-05-02T16:17:58.890+0000\tdone dumping admin.system.users (1 document)\n2024-05-02T16:17:58.890+0000\twriting admin.system.version to archive '/tmp/tmpot_19_0a/main_mongodb_*****_02_05_2024.archive'\n2024-05-02T16:17:58.893+0000\tdone dumping admin.system.version (2 documents)\n2024-05-02T16:17:58.894+0000\twriting pydis_forms.forms to archive '/tmp/tmpot_19_0a/main_mongodb_*****_02_05_2024.archive'\n2024-05-02T16:17:58.894+0000\twriting modmail_bot.notes to archive '/tmp/tmpot_19_0a/main_mongodb_*****_02_05_2024.archive'\n2024-05-02T16:17:58.896+0000\twriting modmail_bot.logs to archive '/tmp/tmpot_19_0a/main_mongodb_*****_02_05_2024.archive'\n2024-05-02T16:17:58.896+0000\twriting pydis_forms.responses to archive '/tmp/tmpot_19_0a/main_mongodb_*****_02_05_2024.archive'\n2024-05-02T16:17:58.906+0000\tdone dumping modmail_bot.notes (20 documents)\n2024-05-02T16:17:58.906+0000\twriting pydis_forms.admins to archive '/tmp/tmpot_19_0a/main_mongodb_*****_02_05_2024.archive'\n2024-05-02T16:17:58.910+0000\tdone dumping pydis_forms.forms (26 documents)\n2024-05-02T16:17:58.911+0000\twriting modmail_bot.plugins.PingManager to archive '/tmp/tmpot_19_0a/main_mongodb_*****_02_05_2024.archive'\n2024-05-02T16:17:58.912+0000\tdone dumping pydis_forms.admins (2 documents)\n2024-05-02T16:17:58.913+0000\twriting modmail_bot.config to archive '/tmp/tmpot_19_0a/main_mongodb_*****_02_05_2024.archive'\n2024-05-02T16:17:58.913+0000\tdone dumping modmail_bot.plugins.PingManager (2 documents)\n2024-05-02T16:17:58.914+0000\twriting modmail_bot.plugins.BanAppeals to archive '/tmp/tmpot_19_0a/main_mongodb_*****_02_05_2024.archive'\n2024-05-02T16:17:58.922+0000\tdone dumping modmail_bot.config (1 document)\n2024-05-02T16:17:58.923+0000\twriting pydis_forms.discord_members to archive '/tmp/tmpot_19_0a/main_mongodb_*****_02_05_2024.archive'\n2024-05-02T16:17:58.927+0000\tdone dumping pydis_forms.discord_m"
        }
      ]
    }
  ],
  "username": "blackbox",
  "avatar_url": "https://raw.githubusercontent.com/lemonsaurus/blackbox/main/img/blackbox_avatar.png"
}

Actual PostgreSQL error
blackbox-1235626330217779380-4wz7x blackbox 16:18:26 pg_dumpall: error: aborting because of server version mismatch
blackbox-1235626330217779380-4wz7x blackbox pg_dumpall: detail: server version: 16.2; pg_dumpall version: 15.5 (Debian 15.5-1.pgdg120+1)

Yeah this part sucks. Maybe instead of just naively truncating, we could upload the full error message somewhere and attach a URL or something. It's just a bit sketchy if that log contains sensitive shit.
also, but I'm not sure this is possible, but replying to the notification on Discord with the full log split into multiple messages would be a fairly elegant solution.
Labeling this as help wanted, in case someone wants to implement some solution for this. ❤

The question is more why on an error are the process logs from all subprocesses attached.
If this was only the tool that experienced the error and the logs were tailed to the last N lines then this error wouldn't matter.
If pg_dumpall fails, it should not attach the logs of mongodump.
Most tools experience an error that will fit in Discord, but not if all subprocess logs are attached.

yeah jb, that's all true too. We should only be capturing the relevant errors in the output. But then there really are three bugs here to fix:

We should capture less. We should only capture the output from the particular backup(s) that failed, and only the tail of that log, let's say the last 10 lines at most.
If for whatever reason that output still does exceed 1024 characters (maybe a bunch of different backups all failed?), we can still truncate, but we ought to truncate to 1024 chars, not 2000.
Currently when we truncate, we truncate to the first 2000 characters in the output. That's stupid, because the tail of the log is usually more interesting than the head of the log, so we should be truncating to the last 2000 characters in the output.
If there are multiple services failing, we can do something like

Iterate through each service's output and sort them from smallest to biggest output.
Divide 1024 by the number of services, and this will be our budget for truncating the smallest output.
If any characters remain after this truncation, add them back to the total remaining and divide again by the number of services.
Example: We got 3 services. Start with (1024 / 3) as budget. If we only consume 51 characters for the first output, no truncation is needed (it is within the budget), and the remaining 290 characters can be used for the subsequent services. So now we do ((1024 / 2) - 50) to figure out our budget for the next service, and continue this until we're done.
This will always lead to an optimal situation where we are truncating as little as possible, and only cutting off the start of the longest logs.


How to make an optional map?

Take the sample below:
type Spans struct {
  Attributes map[string]string
}

s := parquet.SchemaOf(new(RowType))
fmt.Println(s)

It prints:
message Spans {
  required group Attributes (MAP) {
    repeated group key_value {
      required binary key (STRING);
      required binary value (STRING);
    }
  }
}

However, I want the Attributes map to be optional:
message Spans {
  optional group Attributes (MAP) {
    repeated group key_value {
      required binary key (STRING);
      required binary value (STRING);
    }
  }
}

I try to add a tag, but it makes the value optional, not the map.
type Spans struct {
	Attributes map[string]string  `parquet:"Attributes,optional"`
}

Could you please teach me how to do it?

The current schema doesn't support optional map unfortunately. We could introduce a parquet-value tag similar to parquet-key and change the parquet tag to configure the top level of the MAP.
Let me know if you are interested in implementing this change. Otherwise I will try to tackle that this week.


KAFKA-8803: Remove timestamp check in completeTransitionTo

In prepareAddPartitions the txnStartTimestamp could be updated as updateTimestamp, which is assumed to be always larger then the original startTimestamp. However, due to ntp time shift the timer may go backwards and hence the newStartTimestamp be smaller than the original one. Then later in completeTransitionTo the time check would fail with an IllegalStateException, and the txn would not transit to Ongoing.
An indirect result of this, is that this txn would NEVER be expired anymore because only Ongoing ones would be checked for expiration.
We should do the same as in https://github.com/apache/kafka/pull/3286 to remove this check.
Also added test coverage for both KAFKA-5415 and KAFKA-8803.
Committer Checklist (excluded from commit message)

[ ] Verify design and implementation
[ ] Verify test coverage and CI build status
[ ] Verify documentation (including upgrade notes)

@hachikuji @apurvam

@hachikuji ready for another look.

test this please

Merged to 2.5 as well.


Support use blob to createComponent

Hi @WaylonFtrack! Would you mind looking into getting the tests for file uploading to work (they are currently skipped), and add an additional test for blobs? Thanks!

Is the goal to add support for browsers not supporting the File constructor, or what is the motivation for the change?

I was trying to upload canvas image from HTMLCanvasElement.toBlob. Since file constructor is additional wrapper, and the changes to directly support Blob are minimal and compatible with File, I submitted this PR.

I was trying to upload canvas image from HTMLCanvasElement.toBlob. Since file constructor is additional wrapper, and the changes to directly support Blob are minimal and compatible with File, I submitted this PR.

I see. In the review player, we also use canvas.toBlob, but duck-type it as a File by just setting blob.name. This is a cleaner solution, so happy to accept it.


[feature]: add option for pathfinding to consider opportunity cost of using my channels' liquidity

Is your feature request related to a problem? Please describe.
The existing pathfinder chooses suboptimal paths for my routing node because it does not account for the opportunity cost of using my channels' liquidity. I would like to add an option pathfinder-opportunity-cost=true or something, which would instruct the pathfinder to treat the first hop (my channel) as if it were paying that fee. I know I don't pay this fee, but there is an opportunity cost to using this liquidity that I want it to account for.
Describe the solution you'd like
Imagine a network graph that looks like this four nodes A, B, C, D,
And four channels A->B, A->C, B->D, C->D with the fee rates specified

Assuming I am node A, and I want to pay node D, the current pathfinder will choose the path A->C->D because it has the lowest net fee (0ppm) (I don't pay the A->C fee because I am node A).
However, with this new proposed feature flag, I want the pathfinder to choose the path A->B->D. Even though this path pays a higher fee (50ppm vs 0ppm), I would prefer it take this path because I want to save liquidity on my A->C channel, which I expect will route something later and earn me 100ppm.
Describe alternatives you've considered
So far the alternatives are to write custom code and do a bunch of pathfinding attempts
Additional context
I think the change is very small.
I believe the line that needs to be updated is here
Preferably I could add something in my lnd.conf

opportunity cost is open ended since fees don't imply that routing will or will not happen, so it would be better to manually control this and that would also make it so that your routing path couldn't be manipulated by a third party

sometimes people set higher fees on channels not because they expect more earnings, but because they want to discourage other people from using that outbound liquidity that they'd like for themselves

opportunity cost is open ended since fees don't imply that routing will or will not happen, so it would be better to manually control this by setting a custom delta value that could mirror the fees but could also diverge

i think @C-Otto would like this too - i believe he has written this logic in lnd-manage-j

it would be better to manually control this by setting a custom delta value that could mirror the fees but could also diverge

this sounds cool, wonder if we can think of a good config option to use, maybe an RPC argument similar to payment time preference flag

a workaround for that without any changes is to setup another node, with a trusted funding channel that never actually goes to chain, pay through your own node and it will automatically take your fees into account

a workaround for that without any changes is to setup another node, with a trusted funding channel that never actually goes to chain, pay through your own node and it will automatically take your fees into account

very nice

a workaround for that without any changes is to setup another node, with a trusted funding channel that never actually goes to chain, pay through your own node and it will automatically take your fees into account

however, this other node won't have direct updated knowledge of my main nodes channel balances, unless i somehow sync their mission controls in real-time...?

there is an import/export mission control api if you wanted to sync that, also ideally routing nodes signal more generally if they don't have balance

where can i learn more about how to make a trusted channel?

https://github.com/lightningnetwork/lnd/blob/master/docs/zero_conf_channels.md has a doc on it
if you have balanceofsatoshis you can create it with bos open and inbound-channel-rules on the receiving side specify the incoming key to accept it

more documentation on zero conf channels is available here:
https://docs.lightning.engineering/lightning-network-tools/pool/zero-confirmation-channels

more documentation on zero conf channels is available here: https://docs.lightning.engineering/lightning-network-tools/pool/zero-confirmation-channels

aren't "trusted channels" a different concept than zero-conf channels?

aren't "trusted channels" a different concept than zero-conf channels?

oh i see, you can do a zero-conf channel but never have the on-chain tx confirm

oh i see, you can do a zero-conf channel but never have the on-chain tx confirm

yes, you can use the FundingShim

i think @C-Otto would like this too - i believe he has written this logic in lnd-manage-j

For what it's worth, I first implemented this for rebalance-lnd. Nowadays it's the default (and you can't easily turn it off), previously it was called "Economy Fee Mode". But yeah, the top-up feature of lnd-manageJ also does this.


The mathematical formula reported an error

The mathematical formula reported an error

Issues with the results themselves should be reported to the linter: remark-lint
This package is just a translation layer between that and Atom 😉.

It’s not an issue with remark-lint either!
Math is a non-standard extension to markdown. remark does extensions through plugins, for example you would want to use remark-math.
If you want to use plugins, you can use linter-remark in combination with remark-math and remark-lint, instead of this project, linter-markdown.

ok


🚢 Dockerize API

Dockerize API

[x] Add Dockerfile for builder image
[x] Add Dockerfile for api
[x] Test run the Docker image to connect with Neo4j Aura directly

Closed by #229


Presubmit engine builds not uploading properly to flutter_archives_v2 GCS bucket

It appears that presubmit builds are no longer uploading to a stable location in GCS, therefore making the instructions https://github.com/flutter/flutter/blob/master/docs/engine/Testing-presubmit-Engine-PRs-with-the-Flutter-framework.md invalid. The GCS bucket seems to namespace the artifacts by build bucket ID now. We suspect this started with this change: https://flutter-review.googlesource.com/c/recipes/+/57140

For reference, see this engine try build that uploaded artifacts: https://ci.chromium.org/ui/p/flutter/builders/try/Linux Engine Drone/2389413/infra

The breakage is due to the recipe change here, which was a partial migration to a new way of uploading the artifacts from presubmit.
I believe that commit (and two follow-on fixes here and here) can be safely backed out to restore the previous behavior. There's some risk that there were also compensating changes in the monorepo recipes that would also have to be reverted, as well, but I'm less familiar. @aam may remember.

cc @athomas

Fixed with https://flutter-review.googlesource.com/c/recipes/+/58220


provide option to make s3 policies optional

I am using the current version
iamy --version
v2.3.2

Would it be possible to provide a flag to ignore s3 policies altogether and only do IAM ?
Regards,
Shantanu Gadgil

I think this would be reasonable


add mongodb orchestration evergreen integration testing config

https://jira.mongodb.org/browse/HIBERNATE-26

I referred to a couple of driver repos and found the evergreen config from Rust driver repo is the most updated and well-maintained, so I made the changes mainly following its models.
There is a generate_buildvariants.sh script (Rust team has similar stuff but in Rust script) to generate the buildvariant yml file based on the defined MongoDB version + topology permutation.

The testing result uploading seems working fine, as demonstrated at https://spruce.mongodb.com/task/mongo_hibernate_mongodb_v6.0_replicaset_run_test_patch_caf40017b283b003e42ea72ab20ac8abbcb5b38d_673be38c82c0680007fa5999_24_11_19_01_02_08?execution=0&sortBy=STATUS&sortDir=ASC
Also, as can be seen from the checks of this PR, the 3 mongoDB versions testings seem all working fine as well.


Add PMD and Findbugs check tools.

Hello @pedrovgs .
This PR includes activation and usage of  PMD and Findbugs plugins.
It includes some changes to fit PMD requirements, and a couple of warnings disabled as an example. Your feedback will be very welcome.

Thanks @vic-gonzi!


Add basic documentation setup files

Add mkdocs.yml and docs/index.md files.

Pull Request Test Coverage Report for Build 51

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 33.762%

Totals

Change from base Build 50:
0.0%

Covered Lines:
105

Relevant Lines:
311

💛  - Coveralls


[HIVEMALL-91] Implement Online LDA

What changes were proposed in this pull request?
Implement Online LDA model and its UDTF
What type of PR is it?
Feature
What is the Jira issue?
https://issues.apache.org/jira/browse/HIVEMALL-91
How was this patch tested?
Unit test and manual test
How to use this feature?
See HERE

Requirements
drop temporary function if exists tokenize;
create temporary function tokenize as 'hivemall.tools.text.TokenizeUDF';

drop temporary function if exists is_stopword;
create temporary function is_stopword as 'hivemall.tools.text.StopwordUDF';

drop temporary function if exists feature;
create temporary function feature as 'hivemall.ftvec.FeatureUDF';

drop temporary function if exists lda;
create temporary function lda as 'hivemall.lda.OnlineLDAUDTF';

Sample query
with features as (
  select
    docid,
    feature(word, count(word)) as f
  from (
    select 1 as docid, "Fruits and vegetables are healthy." as doc
    union all
    select 2 as docid, "I like apples, oranges, and avocados. I do not like the flu or colds." as doc
  ) t1 LATERAL VIEW explode(tokenize(doc, true)) t2 as word
  where
    not is_stopword(word)
  group by
    docid, word
),
t as (
  select docid, collect_set(f) as words
  from features
  group by docid
)
select lda(words, "-topic 2 -iter 20") from t
;

Result

topic
word
score

0
fruits
0.33372128

0
vegetables
0.33272517

0
healthy
0.33246377

0
flu
2.3617347E-4

0
apples
2.1898883E-4

0
oranges
1.8161473E-4

0
like
1.7666373E-4

0
avocados
1.726186E-4

0
colds
1.037139E-4

1
colds
0.16622013

1
avocados
0.16618845

1
oranges
0.1661859

1
like
0.16618414

1
apples
0.16616651

1
flu
0.16615893

1
healthy
0.0012059759

1
vegetables
0.0010818697

1
fruits
6.080827E-4

Clearly, topic0 corresponds to doc1, and topic1 represents doc2 topic words.
@myui Could you review whether this interface is sufficient?
From now, I will carefully check if the algorithm is implemented correctly in OnlineLDAModel.

Coverage increased (+0.3%) to 37.008% when pulling e6c24af7487cfe6316a5223be176d7549dcdd4c9 on takuti:lda into ac1e2e8dba1073ca7b52f22faf17b9c13ffad4bd on apache:master.

@takuti What's the usage to predict topics?
WITH test as (
  select
    docid,
    word,
    count(word) as value
  from (
    select 1 as docid, "Fruits and vegetables are healthy." as doc
    union all
    select 2 as docid, "I like apples, oranges, and avocados. I do not like the flu or colds." as doc
  ) t1 LATERAL VIEW explode(tokenize(doc, true)) t2 as word
  where
    not is_stopword(word)
  group by
    docid, word
)
select
  docid,
  max_label(score, label) as label
from (
  select
    t.docid,
    m.label,
    sum(t.value * m.score) as score
  from
    test t
    JOIN lda_model m ON (t.word = m.word)
  group by
    t.docid, m.label
) t;

@takuti If you are going to create predict UDAF, better to rename to lda to train_lda.
Prediction expected to have feature vector as input and a predicted topic (& a posterior probabilities of topics) as outputs.

@myui Thank you for the comments. Computing topic distribution for a document is a little bit complex, so I will implement UDAF for prediction by using getTopicDistribution() in 80a31539bf653e50471346777842ff9478ae352d

Coverage increased (+0.3%) to 37.002% when pulling 80a31539bf653e50471346777842ff9478ae352d on takuti:lda into ac1e2e8dba1073ca7b52f22faf17b9c13ffad4bd on apache:master.

Thanks ! UDFS will make this much easier from what I understand. Another slightly related question... Is there a way to get at the intermediate topic lists for each mini-batch ?

@myui I considered to design prediction UDAF, but IMO your suggestion above sum(t.value * m.score) as score is better for now.
In order to compute topic distribution based on the lambda values (i.e., LDA model), I actually like to launch the E step for a test sample as scikit-learn and current getTopicDistribution() (80a31539bf653e50471346777842ff9478ae352d) do. However, it requires prediction UDAF to know hyper-parameters (e.g., number of topics, alpha) which were used for training, and it's essentially infeasible. In addition, since users sometimes want to know posterior probabilities and their labels for each of all topics as follows, so single-column-output of UDAF is not sufficient.

docid
label
prob

1
0
0.9957867647115234

1
1
0.004213235288476648

2
0
0.0014898943734896843

2
1
0.9985101056265103

See HERE for detail.
Of course, since we do not launch the "expectation" step as theory suggests, prob is approximated value in some sense. But, I guess it's sufficient in practice.

Or, aggregating over docid and output single row as an struct is possible:

docid
probabilities

1
{ 0:0.9957867647115234, 1:0.004213235288476648 }

2
{ 0:0.0014898943734896843, 1:0.9985101056265103 }

Here, hyper-parameters used in the E step as follows:

number of topics
alpha (prior)
delta (check convergence)

Fortunately, by counting unique label values, UDAF can know the number of topics when the terminate operation is launched. So, one possible direction is to create new OnlineLDAModel in UDAF's terminate w/ the number of topics, and we set default values to alpha and delta (or manually pass to UDAF as options).

WITH result as (
  select
    t.docid,
    lda_predict(t.wordid, t.value, m.label, m.lambda, '-alpha 0.01')
      as probabilities -- list (struct<label,score>)
  from
    test t
    JOIN lda_model m ON (t.wordid = m.wordid)
  group by
    t.docid, m.label
)
select
  docid,
  probabilities[0].label
from
  result;

TravisCI is failing..
test(hivemall.lda.OnlineLDAModelTest)  Time elapsed: 0.566 sec  <<< FAILURE!
java.lang.AssertionError: `vegetables` SHOULD be more suitable topic word than `flu` in topic 0
	at org.junit.Assert.fail(Assert.java:88)
	at org.junit.Assert.assertTrue(Assert.java:41)
	at hivemall.lda.OnlineLDAModelTest.test(OnlineLDAModelTest.java:82)

Also, could you DEBUG print off in the unit tests?

@myui okay, will add and check the failing later

Coverage increased (+1.1%) to 37.874% when pulling 244f4092d664e1ce2483f787132e709dbba945d3 on takuti:lda into ac1e2e8dba1073ca7b52f22faf17b9c13ffad4bd on apache:master.

Coverage increased (+1.1%) to 37.844% when pulling 0f6cf338e49a906c4ba894399ef0c72248b14a89 on takuti:lda into ac1e2e8dba1073ca7b52f22faf17b9c13ffad4bd on apache:master.

@myui Ready for review. Usage has been updated.

Coverage increased (+1.1%) to 37.846% when pulling 05a13dd25cd7b7da109ca5978abaf0c5cc9a4058 on takuti:lda into ac1e2e8dba1073ca7b52f22faf17b9c13ffad4bd on apache:master.

Coverage increased (+1.1%) to 37.846% when pulling 05a13dd25cd7b7da109ca5978abaf0c5cc9a4058 on takuti:lda into ac1e2e8dba1073ca7b52f22faf17b9c13ffad4bd on apache:master.

Since castLazyBinaryObject() is helpful to improve readability, plz merge #63 before this PR if possible.

Coverage increased (+1.1%) to 37.844% when pulling e9c2aa05f14658a604d463584a0386501b145014 on takuti:lda into ac1e2e8dba1073ca7b52f22faf17b9c13ffad4bd on apache:master.

Coverage increased (+1.1%) to 37.836% when pulling aeec5ace0f13cde65c35fb4dbbd22221b9030a5c on takuti:lda into ac1e2e8dba1073ca7b52f22faf17b9c13ffad4bd on apache:master.

Coverage increased (+1.4%) to 38.139% when pulling c3807c080e09e6ded09b568d59b92e13989bf2f0 on takuti:lda into ac1e2e8dba1073ca7b52f22faf17b9c13ffad4bd on apache:master.

Coverage increased (+1.4%) to 38.139% when pulling c3807c080e09e6ded09b568d59b92e13989bf2f0 on takuti:lda into ac1e2e8dba1073ca7b52f22faf17b9c13ffad4bd on apache:master.

Coverage increased (+1.1%) to 37.846% when pulling 840fa5d0b58f52e4d67e2e673de9bb4461ae48c6 on takuti:lda into ac1e2e8dba1073ca7b52f22faf17b9c13ffad4bd on apache:master.

Coverage increased (+1.1%) to 37.855% when pulling 75773bedffe1d21ad98f71ef54e062e6b42c81e2 on takuti:lda into ac1e2e8dba1073ca7b52f22faf17b9c13ffad4bd on apache:master.

@takuti Could you change package from hivemall.clustering to hivemall.topicmodel?

@myui Updated the package name, and, since #63 has been merged, applied some modifications. Again, this PR is ready for review 👍

Coverage increased (+1.002%) to 38.02% when pulling 46d37b776ffd913dc5572d162a7ae8133c2eb8f0 on takuti:lda into 8aae974fc39cd16080acdf7e493152d7167aa9e7 on apache:master.

Coverage increased (+1.002%) to 38.02% when pulling 46d37b776ffd913dc5572d162a7ae8133c2eb8f0 on takuti:lda into 8aae974fc39cd16080acdf7e493152d7167aa9e7 on apache:master.

@takuti Could you refine mini-batch implementation and perplexity computation scheme based on https://github.com/myui/incubator-hivemall/commit/cf84abc731fb00a33b7cec177850f8c026416cb0 ?

^ cherry-picked except for unrelated modifications in AUC UDAF

Coverage increased (+1.0%) to 38.018% when pulling 864051d476cf32a12d3b06d0bcc4a786ad451e98 on takuti:lda into 8aae974fc39cd16080acdf7e493152d7167aa9e7 on apache:master.

Coverage increased (+1.0%) to 38.018% when pulling 864051d476cf32a12d3b06d0bcc4a786ad451e98 on takuti:lda into 8aae974fc39cd16080acdf7e493152d7167aa9e7 on apache:master.

Coverage increased (+1.0%) to 38.018% when pulling 864051d476cf32a12d3b06d0bcc4a786ad451e98 on takuti:lda into 8aae974fc39cd16080acdf7e493152d7167aa9e7 on apache:master.

Coverage increased (+0.9%) to 37.916% when pulling 72edf7fc75e3dd2dcb54dc0f743518f79e8112b7 on takuti:lda into 8aae974fc39cd16080acdf7e493152d7167aa9e7 on apache:master.

revising at https://github.com/apache/incubator-hivemall/compare/master...myui:HIVEMALL-91-2

Coverage increased (+1.2%) to 38.219% when pulling e31fc1a6bb2d4b64fab49d8ec1c2c48304356655 on takuti:lda into 8aae974fc39cd16080acdf7e493152d7167aa9e7 on apache:master.

Coverage increased (+1.2%) to 38.219% when pulling e31fc1a6bb2d4b64fab49d8ec1c2c48304356655 on takuti:lda into 8aae974fc39cd16080acdf7e493152d7167aa9e7 on apache:master.

@myui Thank you for review. I'll add unit test which verifies perplexity computation, and double-check my implementation and your review later.

Coverage increased (+0.9%) to 37.901% when pulling 7028a0f21a801242149328ecf359a6c023f8d7f9 on takuti:lda into 8aae974fc39cd16080acdf7e493152d7167aa9e7 on apache:master.

Coverage increased (+0.9%) to 37.901% when pulling 7028a0f21a801242149328ecf359a6c023f8d7f9 on takuti:lda into 8aae974fc39cd16080acdf7e493152d7167aa9e7 on apache:master.

Updating docs and testing on EMR...

Manual tests both on local and EMR have been done. Could you review this? @myui

Coverage increased (+1.2%) to 38.211% when pulling 9cf6a79dbaf7dbdf38176cf39023f4800f6d2b6a on takuti:lda into 8aae974fc39cd16080acdf7e493152d7167aa9e7 on apache:master.

Coverage increased (+0.9%) to 37.948% when pulling 3a78282afa0faedc678da237351c63105328b6d6 on takuti:lda into bba252ac10fccda022b630e3137460dd8d2f9302 on apache:master.

Coverage increased (+0.9%) to 37.962% when pulling 3a78282afa0faedc678da237351c63105328b6d6 on takuti:lda into bba252ac10fccda022b630e3137460dd8d2f9302 on apache:master.

Coverage increased (+1.3%) to 38.364% when pulling d781b6602538577202fcb571b12b4ffd3e5ab92d on takuti:lda into bba252ac10fccda022b630e3137460dd8d2f9302 on apache:master.

Coverage increased (+1.3%) to 38.364% when pulling d781b6602538577202fcb571b12b4ffd3e5ab92d on takuti:lda into bba252ac10fccda022b630e3137460dd8d2f9302 on apache:master.

Coverage increased (+1.04%) to 38.063% when pulling 97adc5ce3d22e10e485c4f190b0a488db69d99e5 on takuti:lda into bba252ac10fccda022b630e3137460dd8d2f9302 on apache:master.

Coverage increased (+1.04%) to 38.063% when pulling 97adc5ce3d22e10e485c4f190b0a488db69d99e5 on takuti:lda into bba252ac10fccda022b630e3137460dd8d2f9302 on apache:master.

Note on the performance
For news20-multiclass data, I have translated our Java test case to Python scikit-learn implementation w/ (almost) same setting.
In our Java code, unit test finishes in 8 sec w/ approximately 30 iterations. By contrast, the Python implementation takes around 15 sec for 30 iterations. Thus, even if train_lda() takes very long time for large-scale data, it should be natural. Hopefully, larger -delta, smaller -iteration or smaller -eps option could reduce running time (and end up w/ poor results).

Python code actually creates and handles a 20-by-62061 huge, sparse matrix. It might be unfair, but Java code alternatively has many inefficient Map and Array accesses.

@takuti Merged w/ some refactoring. Great work! Thanks.

@NaokiStones Merged finally. FYI.


Implementing the concept of timeout.

Refactoring the backend so that it's easier to pass values between
single and multi backend
implementing timeouts for the backend.
moving main functions to separate packages.
updating tests

LGTM


[0.12] Fix parsing of default values in build-schema

Generalizes building a value from an AST, since "scalar" could be misleading, and supporting variable values within custom scalar literals can be valuable.
Replaces isNullish with isInvalid since null is a meaningful value as a result of literal parsing.
Provide reasonable default version of 'parseLiteral'

ref: https://github.com/graphql/graphql-js/commit/714ee980aa17a4de42013d49a9839d43493d109e
ref: https://github.com/graphql/graphql-js/pull/903
BREAKING CHANGE: parseLiteral() and parseValue() in custom types now need to return Utils::undefined() or throw instead of null if the value/literal is invalid. Null is considered a valid value.

Coverage increased (+0.05%) to 92.895% when pulling f042045828003d461fd4a88e08f374c07b0d6465 on danez:012-parsing-default into 94525c00252696b47673db1ca56fe0436c5949be on webonyx:master.


Avoid defaultAPI

Relates to #434
I'll leave this open for feedback a little while longer.

Pull Request Test Coverage Report for Build 2142

0 of 6 (0.0%)  changed or added relevant lines in 1 file are covered.
5 unchanged lines in 1 file lost coverage.
Overall coverage increased (+0.03%) to 79.438%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

peerconnection.go
0
6
0.0%

Files with Coverage Reduction
New Missed Lines
%

dtlstransport.go
5
75.14%

Totals

Change from base Build 2135:
0.03%

Covered Lines:
3763

Relevant Lines:
4737

💛  - Coveralls

Nice, really love this.
I think we do need to start taking documentation more seriously. Especially with the non-standard stuff, maybe it would be helpful to have just a page for where we diverge


Dog Plugin API Down

The API for the dog plugin has been down for 2 days, if it doesn't come back soon it might be for good and we might have to switch to a new API.

https://dog.ceo/dog-api/

https://dog.ceo/dog-api/

Fixed

Fixed


Hi

Hi friend, could you rate my repositories and I'll rate yours at the same time? Thanks!

We will just rate the READMEs ok.

Yours would be a 8/10

Thanks

bro when are you going to rate mine

I liked your Readme too. Especially the detailed statistics


defaultColumn Header stop working

Bug
After some updates from several beta version defaultColumn overwrite for the Header just stop working. I am running a 7.0.0-beta.13 version of the react table. Also, at a moment beta.15 has a memory leak that why I rollback to 13th
To Reproduce
// THIS PART DOESNT WORK
const CustomHeader = props => {
  console.log(props);
  return
Testing Header
;
};

const CustomCell = props => {
  console.log(props);
  return
Testing Cell
;
};

function Table({ columns, data }) {
  // Use the state and functions returned from useTable to build your UI
  const {
    getTableProps,
    getTableBodyProps,
    headerGroups,
    rows,
    prepareRow
  } = useTable({
    columns,
    data,
    defaultColumn: {
      Header: CustomHeader,
      Cell: CustomCell
    }
  });
  return (...)
}

Codesandbox!
Use codesandbox to reproduce the issue.
Screenshots

Please upgrade to beta.16. Thanks!

@tannerlinsley looks like its still doesn't work, I am testing on the sandbox with latest<EMAIL_ADDRESS>

It's working for me. In your codesandbox, you need to comment out a column def's Header option to see the default kick in.


Broken/ugly font rendering in latest versions

Latest version (724825a9013b139d as of writing this):

One of the last versions that works well (2a5da0a51726ff9c):

My config: https://github.com/pjg/dotfiles/blob/main/.vimrc

@pjg
Thanks for the report.
What OS is this happening on, Windows?

MacOS Sonoma v14.7 on M1 macbook.

@pjg
Ah, I think I may have found the cause...

@pjg
I have fixed this problem and created a new release.
https://github.com/akiyosi/goneovim/releases/tag/v0.6.10

The fix works! Thank you ❤


Added Ducktypium Forge Missions

Added:
-Flatten Array mission
-Balance Brackets mission
-Check for Palindrome mission

Nice! Already getting on the scoreboard with a PR :)


test suite for record layout

Here are the tests from the Rust repr-c converted to C with a zig runner.
Since neither layout nor _bifoffsetof are merged, only the parser is enabled for testing. All the static asserts are skipped.
See test/records.md for details about the tests, and how to control what targets and tests are run.

I think this should be merged last.


Bullet PR: Ray shape logic is different than in Godot

Operating system or device, Godot version, GPU Model and driver (if graphics related):
Ubuntu 17.04, This issue is related to bullet pr, it's present in: e6655f4
tested on release_debug build
Issue description:
As far as I know ray shapes in Godot are a special kind of shapes that propagate/receives forces only along the ray normal (might be wrong, hope @reduz will clarify). Those are very handful in dynamic controller scenario, to deal with slopes or create hovers in a very easy way.
Quick Video: https://www.youtube.com/watch?v=Ff0qlG55t_E&feature=youtu.be
Steps to reproduce:

Download sample project
Run RayShapeTest.tscn

Link to minimal example project:
BulletRayShapeSlopes.zip

@reduz can you give some details on how ray shape should exactly behave?
cc @AndreaCatania

Rayshape just pushes away the object in the ray direction
On Oct 16, 2017 2:46 PM, "kubecz3k"<EMAIL_ADDRESS>wrote:

@reduz https://github.com/reduz can you give some details on how ray
shape should exactly behave?
cc @AndreaCatania https://github.com/andreacatania
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/godotengine/godot/issues/12156#issuecomment-336967363,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AF-Z26zqFbpp2gE6en4CFZkEp_Kn1PG5ks5ss5Z8gaJpZM4P6_dt
.

I can change it. @reduz the ray shape should receive forces only along its axis?

The ray shape just generates a contact pair between the cast intersection
and the endpoint. That needs to be fed to the manifold
On Oct 16, 2017 2:58 PM, "Andrea Catania"<EMAIL_ADDRESS>wrote:

I can change it. @reduz https://github.com/reduz the ray shape should
receive forces only along its axis?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/godotengine/godot/issues/12156#issuecomment-336972644,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AF-Z2xAibmb4ouGuBZS_eT-EbKpVsumhks5ss5ljgaJpZM4P6_dt
.

@reduz So in this moment the shape behaviour is wrong and must be addressed?

@AndreaCatania I have no idea, as @kubecz3k mentions it doesn't work for him.
I was just explaining how it's implemented in the Godot physics. Basically it uses a custom narrowphase where it shoots a ray towrds the opposite shape. If a ray hits into somehting, it puts both the hit position and the ray endpoint (position + direction * length) as a contact pair and adds it to the manifold between both shapes.

In bullet it does the same thing, with the exception that it reacts to the floor shape that  in this case slide along the downhill. I should implement narrowphase algorithms to change this behavior.
I'll ask to Erwien if this is possible in an easier way.

Ah yeah, it should not slide downhill
On Tue, Oct 17, 2017 at 3:59 AM, Andrea Catania<EMAIL_ADDRESS>wrote:

In bullet it does the same thing, with the exception that it reacts to the
floor shape that in this case slide along the downhill. I should implement
narrowphase algorithms to change this behavior.
I'll ask to Erwien if this is possible in an easier way.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/godotengine/godot/issues/12156#issuecomment-337136549,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AF-Z2wbILFGL7N7znvSe6MQHyzAIyXtnks5stFA3gaJpZM4P6_dt
.

Fixed: ce367016f4d1d97d998049287e70fe694377c061

Wow, amazing work
On Mon, Oct 30, 2017 at 10:37 AM, Andrea Catania<EMAIL_ADDRESS>wrote:

Fixed: ce36701
https://github.com/godotengine/godot/commit/ce367016f4d1d97d998049287e70fe694377c061
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/godotengine/godot/issues/12156#issuecomment-340445670,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AF-Z2w8audMP3QWKZMfgLwMd_92m40WVks5sxdEQgaJpZM4P6_dt
.

Just tested! It works so beautifully now! You are truly awesome!!


[2.6] Installed app detail page does not show related resources while app is being deployed

Rancher Server Setup

Rancher version: 2.6.2
Installation option (Docker install/Helm Chart): both

If Helm Chart, Kubernetes Cluster and version (RKE1, RKE2, k3s, EKS, etc): all

Information about the Cluster

Kubernetes version: all
Cluster Type (Local/Downstream): both

Describe the bug
Installed app detail page does not show related resources while app is being deployed
To Reproduce
Install any app from the App Marketplace.
Result
While an app is being deployed, the Installed app detail page does not show the related resources of the helm installation:

The related resources are only displayed, once the app is fully deployed

Expected Result
It would be great to show the related resources earlier, to make it easier and more obvious why an installation may have failed or is currently stuck and to visualize the progress better.
Additional context
It looks like the related resources are potentially already filtered out on the backend, if the app status is not "deployed" but something else like failed or in progress (https://github.com/rancher/wrangler/blob/master/pkg/summary/cattletypes.go#L31).
The UI is only showing what the API provides, see https://github.com/rancher/dashboard/issues/3401.
For Fleet GitRepos this works nicely and you can see the resources directly when they are created on the fleet detail page.

Still relevant.

Still relevant.

Still relevant.

Still relevant.

Still relevant.

Still relevant.

Still relevant.

Still relevant.

those issues sound similar
https://github.com/rancher/rancher/issues/34842
https://github.com/rancher/rancher/issues/36470
we are seeing too some inconsistent behavior - with some "resources" it works, with others not

Still relevant.


paddlex 训练错误：AssertionError: Expected every dim's size to be larger than 0, but the size of the 0-th dim is 0

训练日志：
2022-01-01 14:33:05 [INFO]	Starting to read file list from dataset...
2022-01-01 14:33:05 [INFO]	0 samples in file D:\py\13th\projects\paddle\projects\datasets\D0001\train_list.txt, including 0 positive samples and 0 negative samples.
creating index...
index created!
2022-01-01 14:33:05 [INFO]	Starting to read file list from dataset...
2022-01-01 14:33:05 [INFO]	0 samples in file D:\py\13th\projects\paddle\projects\datasets\D0001\val_list.txt, including 0 positive samples and 0 negative samples.
creating index...
index created!
错误日志;
File "D:\py\13th\projects\PaddleX_GUI_2.1.0_win10\paddle\fluid\layer_helper_base.py", line 318, in create_parameter
"but the size of the {}-th dim is {}".format(i, size))
AssertionError: Expected every dim's size to be larger than 0, but the size of the 0-th dim is 0

这里表明数据集没有读取到任何有效图片，请检查数据集格式。

我重启了一下就好了


Correcting margin for issue

Describe your changes
Screenshots - If Any (Optional)
Link to issue

Closes #192
Checklist before requesting a review

[ ] I have performed a self-review of my code.
[ ] Followed the repository's Contributing Guidelines.
[ ] I ran the app and tested it locally to verify that it works as expected.
[ ] I have checked my code with an automatic accessibility tool such as Axe Dev Tools or Wave
and it shows no errors.

Additional Information (Optional)
Any additional information that you want to give us.

This is currently being worked on by someone else so this is on hold until they have had a chance to look at it. If they decide not to make a PR then this one can be considered.

This has been completed by the assignee.


[2529] Fixed publish course issue due to duplicate course codes

Context
Duplicate course codes
Course uniqueness is defined by course code and provider code
Changes proposed in this pull request
Fixed saving non presented unrelated course onto trainee
Fixed displaying unrelated course to user when confirming the course details
Fixed specialisms unrelated course issue
Guidance to review
As per user  journey

user is shown related course details
user confirms on the related course details
system saves the unrelated course details
user is then shown the unrelated course details along their user journey
Shows the user the unrelated course name with all other details from related course details
User can click change and be in the same loop
unrelated course subjects is used to decipher specialisms.

Given 2 or more course with the same course code.
It will be at the database server SOLE DISCRETION of returning from  ANY ORDER in a NON REPRODUCIBLE  manner,
ie, 1 related and upto 3 unrelated courses maybe in play.

 Publish course issue with duplicate course codes


feat: Add more db options

Closes #1617
✅ Checklist

[x] I have followed every step in the contributing guide (updated 2022-10-06).
[x] The PR title follows the convention we established conventional-commit
[x] I performed a functional test on my final commit

Changelog
Add a database selector, if user chose an ORM.

Screenshots

💯

What's the dev story? Should we include a db container?
I think adding a script that creates a db container is a great idea. I will add it in a future commit.

Hi @ronanru , super cool idea! Do you need help on this?
FYI neon added a CLI, which should enable programatically creating a project/database/URL.

Thank you. This PR is done and I don't need help.
I removed neon from this PR, Julius said Planetscale is the only DB provider T3 maintainers recommend, and they can't add stuff they don't recommend to create-t3-app.

Sorry for the delayed review, I'll try looking over this more closely today. We might want to add #1646 as a Prisma + PlanetScale option?

Unsure about the db container. I know I raised this issue but I don't know what the best solution is. I can only talk from personal experience but I've stopped using docker for dbs nowadays and I think everyone has their own preference. We should make sure to document this in the first step and perhaps list some options 🤔

Docker is the fastest way to start a dev database I know that works on all major operating systems. Also, it's just one small file, and you can just delete it if you don't need it. I added a paragraph to the docs about it and mentioned DBngin as an alternative.

Published a beta:
bun create<EMAIL_ADDRESS>

Also, it's just one small file, and you can just delete it if you don't need it

This file is not windows compatible though right?

Also, it's just one small file, and you can just delete it if you don't need it

This file is not windows compatible though right?

It works with WSL. I added the instructions on how to run it on Windows.

So sorry for the delay, but today I tested a lot of this out and I have to say awesome work!
However, using Bun, Drizzle and SQLite doesn't quite work, also Bun has it's own sqlite implementation which supposedly is faster etc. Should we use that? https://orm.drizzle.team/docs/get-started-sqlite#bun-sqlite

the DATABASE_URL for prisma+planetscale also doesn't work, you need to change the ssl query param:
- DATABASE_URL='mysql://user:pw@aws.connect.psdb.cloud/db?ssl={"rejectUnauthorized":true}'
+ DATABASE_URL='mysql://user:pw@aws.connect.psdb.cloud/db?sslaccept=strict'

Current published version is 7.26.0-beta.4

So sorry for the delay, but today I tested a lot of this out and I have to say awesome work!
However, using Bun, Drizzle and SQLite doesn't quite work, also Bun has it's own sqlite implementation which supposedly is faster etc. Should we use that? https://orm.drizzle.team/docs/get-started-sqlite#bun-sqlite
EDIT: hmm doesn't look like db push works for that :/

I'm fine just not suppporting that combo to begin with... Gonna merge this