Why Yazi Fast?

This article assumes that you have already used Yazi and are familiar with most of its features.
Yazi has undergone significant optimizations to enhance user experience. It is designed entirely as an async program, handling all time-consuming tasks (I/O and CPU) as async tasks in a non-blocking, event-driven manner.
Tokio
Internally, Yazi utilizes Tokio as its async runtime: hold on! Tokio's async may not be "truly async" as you might perceive it. From an application layer perspective, it indeed is async; however, from a system-level view, there are possibly better solutions.
But! This is not the current performance bottleneck for Yazi. Considering Yazi is a TUI app, unlike CLI programs like ls and exa that need to output all files immediately, Yazi has more optimization opportunities at the application layer:

For large directories (e.g., 100,000 files), Yazi uses chunked loading, which is unmatched by ls and exa since they must load everything at once.
Yazi also preloads directory file lists in the background, an optimization that ls and exa do not possess.

I must express my gratitude to Tokio for providing an excellent and convenient way to realize these application-layer optimizations.
I believe that the benefits brought by these application-level optimizations are more noticeable compared to switching to solutions like io_uring. But I remain open to this and welcome constructive PR.
Here is a relevant discussion on Reddit: https://www.reddit.com/r/rust/comments/16fxr58/comment/k066gmh/
Pre-Caching
Yazi provides pre-caching mechanisms for the following data:

Mimetype: The baseline. Yazi uses the file's mimetype as a reference for tasks such as opening, previewing, and style rendering, and internally utilizes file(1) to obtain the file's mimetype.
Image: To accelerate image previews, Yazi employs a 2-pass process for image files. The first pass is preprocessing, which downscales the image based on user-set max_width/max_height and generates a compressed lossy image as a cache file, significantly reducing file size. The second pass occurs when the user actually switches to the file and downscales it again to fit the terminal size.
Video: To speed up video previews, Yazi pre-converts them into images and goes through the first pass of image processing. When the user needs to display the video, it undergoes the same second pass.
PDF: Similar to video.
Directory size: Yazi lazily calculates the directory size only when the user sets sorting by file size, as it is a time-consuming operation.

Note: Except for size, all of these are lazy, meaning that when you are on the first page, only the first few files will be pre-cached.
For example, if your directory has 1000 files, your terminal height is 10, and you are on the second page, only files 11 to 20 will be processed. This greatly saves resources.
Discardable Tasks
Every preview task is discardable. When you navigate quickly between files and the previous file's triggered preview task is still not finished, it will be discarded directly, initiating a new task.
This promotes resource utilization. For I/O tasks like loading directory lists, Tokio's abort is used; for CPU tasks like code highlighting, an Atomic is used to record a ticket, and it checks if the value changes on each line code highlight. If it changes, it indicates that the current context has changed, and the entire highlighting task is discarded.
Code Highlighting
Yazi has built-in code highlighting and keeps it to a minimum for all text files: if your terminal height is 10, only the first 10 lines of the file are read and highlighted.
Other file managers that rely on external programs like bat need to wait for bat to finish highlighting the entire file before displaying only the first 10 lines.
In cases like JSON that require external program jq, Yazi kills jq directly after reading the first 10 lines to avoid unnecessary resource consumption.
Since code highlighting is a CPU-intensive task, it is distributed among multiple blocking threads, managed through Tokio's spawn_blocking, and is also discardable.
Image Preview
Yazi not only has built-in code highlighting but also includes image encoding and downscaling - there is likely nothing faster than having it directly built-in. It is also distributed among multiple threads and is discardable.
Besides being fast, Yazi's built-in Terminal graphics protocol, Inline images protocol, and Sixel graphics format allow Yazi to finely control when to display or hide images.
This ensures that in Yazi, there won't be issues, like images stacking on top of each other, or image escape code breaking the entire screen, when quickly navigating through images, as stdout is locked while outputting these escape codes. This locking happens after all image data is prepared, so it has no impact on performance.
Asynchronous Task Scheduling
In Yazi, tasks are automatically prioritized based on their severity. Yazi categorizes tasks into two types:

Macro tasks: Large and heavy tasks, such as copying large files, typically taking a long time to complete.
Micro tasks: Small and urgent tasks, such as fetching file mimetype, pre-caching images, calculating directory size, and so on.

This is similar to having big and small cores in a CPU; when the big cores are idle, they help with the small tasks. Yazi defaults to starting 5 micro tasks and 10 macro tasks, and these numbers can be configured by the user!
TODO
I'll find time to continue writing.

Excellent summary, although rough expected memory usage is not (fully) addressed yet (nit):

Downscaling factor or limits and number of images is afaiu, a sixelwidthheight, but I do not understand how big videos are downscaled

chunked loading limits: prefetch is 2height, leading to 3heigh of terminal as memory usage (if you do vim full page jumps), but the description is not accurate yet on what happens with huge files or what the memory cap is for prefetching

Behavior for unknown files (binary) etc is not described

Downscaling factor or limits and number of images is afaiu, a sixelwidthheight, but I do not understand how big videos are downscaled

Are you calculating real-time memory usage for image processing? This calculation method doesn't seem to be effective for resident memory. When Yazi displays an image, it encodes the image into a terminal-recognized image escape code and outputs it. After that, the image data is no longer stored in memory, and the data is transferred to the terminal itself.
For videos, as mentioned in this README, use ffmpegthumbnailer to retrieve the cover and convert it to an image. It then goes through the same steps as with images.

chunked loading limits: prefetch is 2height, leading to 3heigh of terminal as the prefetched file with memory usage (if you do vim full page jumps), but the description is not accurate yet on what happens with huge files or what the memory cap is for prefetching

I don't quite understand this. How were 2*height and 3*height determined here?

Behavior for unknown files (binary) etc is not described

Seems I have explained it in the previous issue:

If you are talking about resident memory, for images, it is not applicable because they are reading cache from disk. For regular files, the MIME type of the file is pre-cached, and a BTreeMap<Url, String> is used to store the mapping between files and their MIME types.

How were 2height and 3height determined here?

------
above (shell height)
------
current (shell height) <<<<
------
below (shell height)
------

and potentially the same for the preview.
Thanks for clarifying. This all now makes sense to me.

I would like to share my experience with Yazi. It is definitely fast compared to lf on my x86 laptop thanks to bunch of async optimizations it offers. But, on a raspberry pi 4 over SSH it is laggy compared to lf.
I assume the latency of creating new threads or async calls in the background is too much for a raspi. It stutters quite often especially when I am surfing in linux root folders.

I assume the latency of creating new threads or async calls in the background is too much for a raspi

Yes, Yazi's default config is optimized for PCs, and on low-performance devices like the Raspberry Pi, a high concurrency setting can often have a counterproductive effect. You can try to reduce them to 1:
https://github.com/sxyazi/yazi/blob/0ea9bcda5f316862b07cf779a17c7a5564ae47e2/yazi-config/preset/yazi.toml#L68-L71
I hadn't considered running Yazi on these devices before, hence added a limitation on minimum concurrency. I have now created a commit to remove this restriction.
Seems there are some other things we can do, such as disabling pre-caching for low-performance devices, would you like to file an issue for this?

Moved to https://yazi-rs.github.io/blog/why-is-yazi-fast


UPDATE EXISTING clan family configuration:《ArmageddoN》

Please update clan page.
Current page is the one in the link below:
https://royaleapi.com/clan/family/armageddon/clans
Updated configuration listed is below (changed name, logo and description):
name: 01º《ArmageddoN》Family
key: armageddon
color: black
emblem: Fugi_04
info:
  logo: https://bit.ly/amd_logo
  description: >
    The **《ArmageddoN》** clan family is relatively new but we have got already very far.
    We have **never lost clan wars with the main clan since it was created (20-May-2021)** and we aim to get to legendary league undefeated.
    We have got to the **ladder local top 20 clans in Brazil**.
    We have 4 clans to welcome players from all levels from low arenas up to more skilled players, from casual to competitive, young to old, Brazilian to internacional community and so on.

    Come join one of our 3 clans and come have fan. If you decide to join us, contact us on our Instagram page.
    Since the creation we, as a family and as individual players, have grown immensely and continue to do so.
    We believe that it is the reason why we have come so far.

    We all share a fellow passion for the game, are friendly, always donate,
    help each other out with the same goal: to always improve our skills and have a great time!
    **Join us and become part of 《ArmageddoN》 family. Because this is what we are, a family.**

   social:
    - discord: https://discord.gg/nCBSysWBSr
    - instagram: https://www.instagram.com/amd_cr_clan/
    - youtube: https://www.youtube.com/channel/UCYNCuQLMckw4T1WbDtP1wYw
    - email<EMAIL_ADDRESS>    -
clans:
  - name: 《ArmageddoN》
    tag: QQ00QQRL
  - name: 《ArmageddoN》 II
    tag: L0C90P9R
  - name: 《ArmageddoN》 III
    tag: GYLLC0Q0
  - name: 《ArmageddoN》Int
    tag: Q0QR8VQC

Ok, about the name. But I noticed there are some clans with that.
You forgot to change the logo image and the color to black.


Build against Cuda-11.0.1 and Optix 7.1

WIP:
I'm still having issues with the test-suite.
Running the tests individually/explicitly seems to pass, but if I run via ctest some shader's won't load.

Where are you on this, @marsupial? It's still marked as a draft/WIP.

Barely touched it in two weeks, though did get the pure-optix tests passing.
Going to revisit testshade and testrender tomorrow, which are probably failing from my naive changes for 7.1.

ok, just wanted to be sure I wasn't the one holding it up

So tried a bunch of builds and this is what I've found:
Bumping past to Cuda 10.0 breaks transformc
Optix7 has some breakage in general that seems unrelated to this PR.
Running the testsuite for Optix7 is requiring LD_LIBRARY_PATH, as nvrtc isn't finding libnvrtc-builtins.so.
It's hard to tell if thats internally from nvrtcCreateProgram, or from libnvrtc.so complaining.
Also hard to tell whether that this lib needs to be installed at the sytem-level here.

Optix 6.0 Cuda 10 & 11.0.1
All passing

Optix 7.0 Cuda 10.0
The following tests FAILED:
24 - blendmath.optix (Failed)
25 - blendmath.optix.opt (Failed)
58 - color.optix (Failed)
206 - named-components.optix (Failed)
207 - named-components.optix.opt (Failed)
435 - testoptix-noise.optix.opt (Failed)

Optix 7.0 Cuda 10.1
The following tests FAILED:
24 - blendmath.optix (Failed)
25 - blendmath.optix.opt (Failed)
58 - color.optix (Failed)
206 - named-components.optix (Failed)
207 - named-components.optix.opt (Failed)
402 - transformc.optix (Failed)
403 - transformc.optix.opt (Failed)
435 - testoptix-noise.optix.opt (Failed)

Optix 7.1 Cuda 11.0.1
The following tests FAILED:
24 - blendmath.optix (Failed)
25 - blendmath.optix.opt (Failed)
58 - color.optix (Failed)
206 - named-components.optix (Failed)
207 - named-components.optix.opt (Failed)
402 - transformc.optix (Failed)
403 - transformc.optix.opt (Failed)
435 - testoptix-noise.optix.opt (Failed)

What's the current status on these, @marsupial ? Did the stack size patch fix everything?

Yes, everything passing now.
Still needed to add LD_LIBRARY_PATH to point to CUDA so libnvrtc-builtins.so can be loaded.
https://github.com/imageworks/OpenShadingLanguage/blob/fc21d425cc04ad9365e10618ea83207c1792ecae/CMakeLists.txt#L320

Does this look ok to you, @cmstein ?

Yes, LGTM!


This page seems to not applicable to 10.0.32 version VHD

[Enter feedback here]
The instructions mentioned in the page is not applicable for the 10.0.32 VHD as it released with SQL server 2019 and there is no Azure storage emulator 4 versions installed. I would recommend to add a notification banner on the page that steps applicable to version of VHD

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

ID: d830cc4d-4375-3d2a-65d2-5427d1e8acdd
Version Independent ID: cab504a7-d2d4-8722-5dd1-71ff1c39d04e
Content: Rename a local development (VHD) environment - Finance & Operations | Dynamics 365
Content Source: articles/fin-ops-core/dev-itpro/migration-upgrade/vso-machine-renaming.md
Service: dynamics-365-cross-app
Product: ****
Technology: ****
GitHub Login: @josaw1
Microsoft Alias: josw

@madisettyravi, thank you for your feedback. We have passed this feedback onto the product team for consideration.


Support only LTS

Summary
Dep is still supporting v4
Steps to reproduce behavior
.travis.yml
Expected behavior
Support only LTS versions
Actual behavior

v4 is supported

Closing as resolved


Descriptors optimize

Added broadcasting and list comprehension in place of for loop.
~ 5% improvement in time.


added node express

closes #ISSUE-NO
What does this PR do?
Description of the task to be completed?
How can this be manually tested?
Any background context you want to provide?
Is there any relevant issue to this PR?
Screenshots (if appropriate)
Questions

Done!


Decrease API Memory

Bluemix toolchain: Delivery Pipeline deployed catalog-api-toolchain-demo-20170830062513094 to CMA-SPACE, including commit Ankan-G/catalog-api-toolchain-demo-20170830062513094@04fb5a5676b69308d2949efc3da77bddbbb7fe12

Bluemix toolchain: Delivery Pipeline deployed catalog-api-toolchain-demo-20170830062513094 to CMA-SPACE, including commit Ankan-G/catalog-api-toolchain-demo-20170830062513094@04fb5a5676b69308d2949efc3da77bddbbb7fe12


[BISERVER-12852] Removed the MaxPermSize Java parameter from all files

:white_check_mark: Build finished in 42m 37s
Build command:
mvn clean verify -B -e -Daudit -amd

:ok_hand: All tests passed!
Tests run: 4857, Failures: 0, Skipped: 7    Test Results

:information_source:  This is an automatic message

:white_check_mark: Build finished in 42m 5s
Build command:
mvn clean verify -B -e -Daudit -amd

:ok_hand: All tests passed!
Tests run: 4857, Failures: 0, Skipped: 7    Test Results

:information_source:  This is an automatic message


[cdc-common] Keep columns of Schema in fixed order

This PR aims at fixing #2628's comment

Thanks @Jiabao-Sun for the quick review!


composer update failed

composer require "rmrevin/yii2-comments:*"

[RuntimeException]
Could not load package rmrevin/yii2-fontawesome in http://packagist.org: [U
nexpectedValueException] Could not parse version constraint v4.1.: Invalid
version string "v4.1."
[UnexpectedValueException]
Could not parse version constraint v4.1.: Invalid version string "v4.1."

Hello.
Update composer, clean cache and update packages in project.

We cannot update packages because it throws this error every time we try.

Hello.
php composer.phar global require "fxp/composer-asset-plugin:~1.1.1"
Update composer, clean cache and update packages in project.

@arswarog Thanks for answer.
@osCMattiFinn You have to update the plugin fxp/composer-asset-plugin to last version
php composer.phar global require "fxp/composer-asset-plugin:~1.1.1"
php composer.phar self-update
php composer.phar clear-cache
php composer.phar update

I ran the above commands rmrevin and receive the following error while running composer update:
The requested package mrevin/yii2-fontawesome could not be found in any version, there may be a typo in the package name.
I get the same error if I try to install any package.

@osCMattiFinn Check the package name. The package is named rmrevin/yii2-fontawesome

You are right.  I think that some other developer who has used your package along with their own has made an error.

@osCMattiFinn do not quite understand. With the extension everything seems to be fine?

It looks to be good now, update appears to be running normally and I saw that your package got installed.
I simply adjusted the composer.json file to correct the typo.  This is not a file I have previously manually edited, so the error must have come from a package I installed (and probably not used).

does it work in yii2 advanced?

@arswarog yes.

i am facing the same issue but i am unable to fix it


Menu: Alt+F followed by Alt+S does not work properly

Refs: #52854
Steps:

press Alt+F and keep Alt pressed
press S

=> the Selection menu expands when I would expect the save action to trigger

Steps to Reproduce

Press Alt
Press F
Release F
Press S
Release S (no save)
Release Alt


Crash with Forge 1.19

Hello,
I got a crash at startup with Forge 1.19 version 41.0.38.
Mod version: 7.0.0
Architectury version: 5.7.27
Logs: https://paste.ee/p/s6X0M
Thanks in advance.

Install Cloth Config API


No prebuilt wheels with Python3.13

Describe the bug
There seem to be no wheels built for Python 3.13.
To Reproduce
Steps to reproduce the behavior:
Installation with Python 3.13 leads to building the code from scratch, which doesn't work on all platforms.
Computational environment (please complete the following information):

OS: MacOS Ventura Intel
Python version 3.13

Note: this will need the building of two wheels, one built for the version with the GIL and another for the experimental GIL-free version.
https://realpython.com/python313-free-threading-jit/#jit-compiles-python-to-machine-code

Release 0.2.3 should have wheels for Python 3.13, but not for the experimental version. Working on wheels for that now in #110

Okay, I think it should all be working!


Ir docs

Adds a description of the IR to the documentation
\begin{align*}
Program ::=&~ Procedure* \\
Procedure ::=&~ (name: ProcID) (entryBlock: Block) (returnBlock: Block) (blocks: Block*) \\
               &~ \text{Where }entryBlock, returnBlock \in blocks \\
Block ::=&~ BlockID \; (Statement*)\; Jump \; (fallthrough: (GoTo | None))\\
         &~ \text{Where $fallthough$ may be $GoTo$ IF $Jump$ is $Call$} \\
Statement ::=&~ MemoryAssign ~|~ LocalAssign ~|~ Assume ~|~ Assert ~|~ NOP \\
ProcID ::=&~ String \\
BlockID ::=&~ String \\
\\
Jump ::=&~ Call ~|~ GoTo \\
GoTo ::=&~ \text{goto } BlockID* \\
Call ::=&~ DirectCall ~|~ IndirectCall  \\
DirectCall ::=&~ \text{call } ProcID \\
IndirectCall ::=&~ \text{call } Expr \\
\\
          &~ loads(e: Expr) = \{x |  x:MemoryLoad, x \in e \} \\
          &~ stores(e: Expr) = \{x |  x:MemoryStore, x \in e \} \\
\\
MemoryAssign ::=&~ Memory := MemoryStore \\
LocalAssign ::=&~ Variable := Expr \\
Assume ::=&~ \text{assume } body:Expr\\
          &\text {Such that } loads(body) = stores(body) = \emptyset \\
Assert ::=&~ \text{assert } body:Expr\\
          &\text {Such that } loads(body) = stores(body) = \emptyset \\
\\
Expr ::=&~ MemoryStore ~|~ MemoryLoad ~|~ Variable ~|~ Literal ~|~ Extract ~|~ Repeat \\
          &~ ~|~ ZeroExtend ~|~ SignExtend ~|~ UnaryExpr ~|~ BinaryExpr \\
Variable ::=&~ Global ~|~ LocalVar \\
MemoryStore ::=&~  (mem:Memory) (addr: Expr) (val: Expr) (Endian) (size: Int) \\
          &\text {Such that } loads(addr) = loads(val) = stores(addr) = stores(val) = \emptyset \\
MemoryLoad ::=&~  (mem:Memory)  (addr: Expr)  (Endian) (size: Int) \\
          &\text {Such that } loads(addr) = stores(addr) = stores(val) = \emptyset \\
Memory ::=&~ Stack ~|~ Mem \\
Endian ::=&~ BigEndian ~|~ LittleEndian \\
\end{align*}

by definition Assumes and Asserts cannot contain MemoryStores so I don't think it is necessary to specify that stores(body) == null for them. There also isn't any reason that they can't contain loads and it is possible there may be some reason we use Assumes and Asserts in the future.  Any loads in Assumes or Asserts would not count as such for the purposes of the information flow logic though.

Assumes and Asserts cannot contain MemoryStores so I don't think it is necessary to specify that stores(body) == null for them

stores(body) == \emptyset is the definition stating that assumes and asserts cannot contain stores.
I agree on loads, it should be okay for assumes and asserts to reference memory.

Additionally, Global isn't a subclass of Variable, it's a separate trait.
The way it works is:

Memory extends Expr with Global
Variable extends Expr
Register extends Variable with Global
LocalVar extends Variable

Global means Memory or Register, which are the things that have a global scope from Boogie/the IR's perspective
Variable means Register or LocalVar, which are things that can be the LHS of a LocalAssign

Maybe to make terminology consistent, we should use shared/non-shared in relation to concurrency, and local/global in relation to IR scoping?


Fix the Engine version check in GUI

Pull Request Description
This PR fixes #6560.
The fix has a few elements:

Bumps the Engine requirement to the latest release, namely 2023.1.1.
Changed the logic of checking whether a given version matches the requirement. Previously, we relied on VersionReq from semver crate which did not behave intuitively when the required version had a prerelease suffix. Now we rely directly on Semantic Versioning rules of precedence.
Code cleanups, including deduplicating 3 copies of the version-checking code, and moving some tests to more sensible places.

Important Notes

Checklist
Please ensure that the following checklist has been satisfied before submitting the PR:

[x] The documentation has been updated, if necessary.
[x] Screenshots/screencasts have been attached, if there are any visual changes. For interactive or animated visual changes, a screencast is preferred.
[x] All code follows the
Scala,
Java,
and
Rust
style guides. In case you are using a language not listed above, follow the Rust style guide.
All code has been tested:

[x] Unit tests have been written where possible.
[x] If GUI codebase was changed, the GUI was tested when built using ./run ide build.

I don't think this is intentional to not report users with the error that Kaz mentioned above. @mwu-tow ?

Feel free to merge it after fixing the issues. If there is Kaz review, there is no need for mine :)

@wdanilo
I'm not sure. I felt that this warning was not making much sense, especially if the primary use case we target for our clients is a cloud-based project setup. In such cases, the warning gives wrong information, the file is not on the disk, and path on the remote would be totally different (if it was accessible).


Error

@tank6b There is already an issue for this error (see -> #759)

Not the same behavior and also not one of the solutions mentioned in #759 works.
Now the state of the app is totally messed up.

But the logging is active

Instead of giving a security feeling is doing the contrary. The app itself doesn’t know the status.

Hi @tank6b ,
Thanks for the bug report.
The 1st one is a known issue and have been working on it. It is likely a bug from OS level.
The 2nd one we'll fix it in the next release.

Duplicate of #759


Cannot catch exception from MSSQL trigger when error is NOT in first trigger's statement

What steps will reproduce the problem?
Executing statement which triggers MSSQL trigger which generates error.
When there is error in first trigger's query(not line) exception is caught, debug goes red - it's all OK.
When there is error in any other query than first exception is NOT caught, debug goes green and silently CONTINUE request.
What is the expected result?
I expect to get framework's exception wherever error in trigger occurs not only when error is in first statement.
What do you get instead?
I get exception only when error is in first trigger's statement.
Additional info
Below code will generate NO framework's exception. But when you put QUERY_WITH_ERROR above DELETE you got exception.
In all SQL clients I get exceptions from all trigger's statements, not anly from the first.
ALTER TRIGGER [dbo].[trigger_auth_item_child]
        ON [dbo].[rbac_auth_item]
        INSTEAD OF DELETE, UPDATE
        AS
        DECLARE @old_name VARCHAR (64) = (SELECT name FROM deleted)
        DECLARE @new_name VARCHAR (64) = (SELECT name FROM inserted)
        BEGIN
            BEGIN
		DELETE FROM dbo.[rbac_auth_item_child] WHERE parent IN (SELECT name FROM deleted) OR child IN (SELECT name FROM deleted);
		QUERY_WITH_ERROR
	END
        END;

Q
A

Yii version
2.0.38

PHP version
7.3.3

Operating system
Win10

DB
MSSQL

Read this post - https://stackoverflow.com/questions/16003787/only-first-of-multiple-pdo-queries-being-executed
Do you have the same case?

Read this post - https://stackoverflow.com/questions/16003787/only-first-of-multiple-pdo-queries-being-executed
Do you have the same case?

No, this is not my case.

You tried check this queries with native php_pdo?

@michalwoz Please specify full code for execution query
For example:
$this->getConnection()->createCommand($sql)->execute();

@darkdef The problem is about handling exceptions during use of MSSQL triggers.
To reproduce the problem you just need:

Create any trigger with TWO SQL queries. Ex:

CREATE TRIGGER [dbo].[trigger_test] ON [dbo].[contractor] INSTEAD OF UPDATE AS
BEGIN
    DELETE FROM dbo.place WHERE id = 1;  -- this query executes correctly (place with id=1 can even don't exist)
    DELETE FROM dbo.[user] WHERE id = 3; -- this query generates Integrity constraint violation exception!!! User with id=3 is used in relation with no cascades
END;

Execute in Yii any query which will fire above trigger: Ex: UPDATE [contractor] SET [name]='a' WHERE [id]=1

You expect to get yii\db\IntegrityException because of second DELETE query, but you don't. Error exception is not caught. Script execution is silently stopped which results in migration success! or successful HTTP response. Finding that misleading behavior in migration took me hours. In any DB client I receive correct exception.
Let's remove first DELETE from trigger:
CREATE TRIGGER [dbo].[trigger_test] ON [dbo].[contractor] INSTEAD OF UPDATE AS
BEGIN
    DELETE FROM dbo.[user] WHERE id = 3; -- this query generates Integrity constraint violation exception!!!
END;

In this case everything works well, Integrity constraint violation yii\db\IntegrityException is caught. When "bad" SQL query is the first query executed in trigger exception handling works good.

@michalwoz you trying this case without yii2, usage pdo.?

@darkdef
I've checked below code. Same results as using Yii. So this is actually not Yii bug...?
Do you think this is PDO's bug or feature that I don't know about?
<?php

$dsn = "sqlsrv:server=XXX\XXXX;database=xxx";
$options = [
//    PDO::ATTR_ERRMODE            => PDO::ERRMODE_EXCEPTION,
//    PDO::ATTR_ERRMODE            => PDO::ERRMODE_WARNING,
];
try {
    $pdo = new PDO($dsn, 'root', 'xxx', $options);
} catch (\PDOException $e) {
    throw new \PDOException($e->getMessage(), (int)$e->getCode());
}
$stmt = $pdo->prepare("UPDATE [contractor] SET [name]='a' WHERE [id]=1");
$stmt->execute();
var_dump($stmt->errorInfo());
die;

I'm read about this behaviour pdo. Need think about  solutions

@michalwoz - sorry. I don't have a correct solution to this problem.
You can work with nextRowset().
Example below (on field [bar] added constrain LEN(bar) > 5):
        $sql = "INSERT INTO [foo1]([bar]) values('abcdef');
INSERT INTO [foo1]([bar]) values('abcde');";

        $this->expectException('yii\db\IntegrityException');
        $command = $connection->createCommand($sql);
        do {
            $this->assertEquals(1, $command->execute());
        } while ($command->pdoStatement->nextRowset());

I don't now how fixed this for ActiveRecord, without BC.
We are working with exceptions in the internalExecute function and rowSet iterations will be incorrect for select queries.

Closing since there's no good solution to the problem.


std.math: Remove special cases that attempt to raise FE overflow/underflow flag

Because they now no longer work, and to be honest they shouldn't be force raising a floating point exception anyway, as that arguably violates pure.

My findings with LDC are that the over-/underflow bits are set correctly for the x87 real implementation in inline assembly. The Cephes versions also do unless optimizations are enabled (but for DMD, they are still set). The MS C runtime function doesn't seem to set them.

Because they now no longer work, and to be honest they shouldn't be force raising a floating point exception anyway, as that arguably violates pure.

I am given to understand that the specification explicitly allows this.
https://dlang.org/spec/function.html#pure-functions

As a concession to practicality, a pure function can also:

read and write the floating point exception flags
read and write the floating point mode flags, as long as those flags are restored to their initial state > upon function entry
perform impure operations in statements that are in a ConditionalStatement controlled by a DebugCondition.

The Cephes single/double-precision versions also do unless optimizations are enabled

Right, unoptimized unittest run passes, but optimized release library has a different behaviour. And so it is in everyone's best interest to build unittest with at least -O2.g

I am given to understand that the specification explicitly allows this.

Then you should probably approve and merge #6259. Then we'll mark the FP exception setters as pure, then we'll add a raiseException function which implements this properly.
In any case, we only have FP flag setting for these three functions, and only check that one of them "kind of"  works. This is missing in so many other functions in std.math (eg: floor doesn't raise FE_INEXACT) that exp/expm1 are the exception and not the rule. ;-)

Then you should probably approve and merge #6259.

Would that I could, but I lack that power.

@n8sh check again :)


dead project ?

is this project dead ?
last version was a year ago.

yes i think its probably dead

did anyone find its alternative ?

I have been using OctoRemote and it works great.  Also able to access custom menu to turn the printer on and off.
https://play.google.com/store/apps/details?id=com.kabacon.octoremote&hl=en_US

Although also not active at the moment, OctoAndroid is the one I use. I hope it will be revived soon.

It looks to me as if the author of OctoRemote just stole OctoAndroid and publishes it on his/her own. Anyone has any info on this?


Running in cluster mode?

Is there a way to run echo server in cluster mode?
For example with pm2's {port: 6001, script: "echo.js", instances : "max"}
I have a huge amount of messages (hundreds per second) to broadcast and want to spread the load, but nor with global server, nor with locally started in a script (require('laravel-echo-server').run(opts)) it throws that server already running and that I can use --force to shut down running one and start new

This is because laravel-echo-server.lock exists.
Anyway, clientEvents would be emitted just in one server.
To achieve cluster mode, there should be few changes, for example different running ports, clientEvents pushed to redis (so it will be broadcasted, "lock" file changed...

ТО есть запустив на разных портах я всё таки смогу раскидать клиентов между ними если в клиенте будут часть на один порт, часть на другой?
That is, by running on different ports, I can still scatter clients between them if the client has part on one port, part on another?


Creating two designs in the same project and same aedt is trivial

Description of the feature
When there are more than one active AEDT, creating two designs in one project is trivial. Below is a safe way to do it,
`
ds = Desktop(specified_version="2024.2",
non_graphical=False,
new_desktop_session=True,
close_on_exit=True,
student_version=False)
h3d = Hfss3dLayout(
project="project_1",
design="h3d",
port=ds.aedt_process_id,
aedt_process_id=ds.aedt_process_id,
version=ds.aedt_version_id)
ipk = Icepak(
project="project_1",
design="ipk",
port=ds.aedt_process_id,
aedt_process_id=ds.aedt_process_id,
version=ds.aedt_version_id)
`
Steps for implementing the feature
It would be better if the user can do below
`
ds = Desktop(specified_version="2024.2",
non_graphical=False,
new_desktop_session=True,
close_on_exit=True,
student_version=False)
proj = ds.project(name="project)
h3d = proj.Hfss3dLayout(name="h3d")
ipk = proj.Icepak(name="ipk")
`
Useful links and references
No response

Hi @hui-zhou-a ,
This would mean creating another layer (class) for project management, and this is for now not considered in the PyAEDT roadmap But I do agree, that we could add an "add_new_project" method at Desktop level. Because for now, there is only New Project addition at Design level.
Something like:
ds = Desktop(specified_version="2024.2",
non_graphical=False,
new_desktop_session=True,
close_on_exit=True,
student_version=False)

proj_name = ds.new_project(name="project)

h3d = proj.Hfss3dLayout(name="h3d", project=proj_name)

ipk = proj.Icepak(name="ipk", project=proj_name))

What do you think?


UT/improve coverage

Made following changes:

Improved UT coverage
Fixed the issue in the checkbox component
Improved typing in the icon component
Fixed imports
Updated pipeline & README

Codecov Report

Merging #15 (d8e9512) into develop (399570a) will increase coverage by 95.22%.
The diff coverage is 100.00%.

@@             Coverage Diff              @@
##           develop      #15       +/-   ##
============================================
+ Coverage     4.48%   99.70%   +95.22%
============================================
  Files           17       17
  Lines         1381     1379        -2
  Branches         3       59       +56
============================================
+ Hits            62     1375     +1313
+ Misses        1319        4     -1315

Impacted Files
Coverage Δ

src/components/Grids/Grid.tsx
100.00% <ø> (+100.00%)
:arrow_up:

src/components/Cards/Card.tsx
100.00% <100.00%> (+100.00%)
:arrow_up:

src/components/Icons/Icon.tsx
100.00% <100.00%> (+100.00%)
:arrow_up:

src/components/Pagination/Pagination.tsx
100.00% <100.00%> (+100.00%)
:arrow_up:

src/components/Tables/Table.tsx
99.02% <100.00%> (+99.02%)
:arrow_up:

src/components/UI/Checkboxes/Checkbox.tsx
100.00% <100.00%> (+100.00%)
:arrow_up:

...onents/Tables/TableBody/TableContentHorizontal.tsx
96.55% <0.00%> (+96.55%)
:arrow_up:

... and 12 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.


[QUESTION]The wallpaper cycler

In the hotkeys section, there is shown a hotkey to cycle wallpapers. It says the program used is bud. But I cant find any app named bud.

https://github.com/dylanaraps/bin/raw/master/bud


Simplecov report format?

Hi, could someone tell me what version of simplecov works with  Rubymine?  One of the developers mentioned on a bug that the report format was changed.  Rubymine doesn't understand how to properly parse it.  I would like to spend sometime resolving this issue.  Thus, does anyone have information on simplecov's report format (i.e. current as well as previous)?
Thanks,
-Conrad

Hi Conrad, it seems that Rubymine parses the HTML report, which has seen a lot of changes in the 0.5 branch - see https://github.com/colszowka/simplecov-html/commits/master
I think if you go with a 0.4 version, you should be fine. I think the best thing for Rubymine would be to implement a custom formatter that gets the reported data in some serialized format (xml, json, whatever works best for it) so it can be independend of changes to simplecov html markup modifications. You could check out the bundled simplecov-html or simplecov-rcov, a 3rd-party formatter that puts out RCov-style output to make SimpleCov work with the RCov plugin for Jenkins CI.

Hi Conrad, do you got something about this? I'm having the same problem that you.

Updated the title. Would be great to hear if you guys figured something out about this.

OK, here's what's currently working with Rubymine (RM) v112.477 in regards to testing and code coverage:

running mintiest and minitest specs using Control-R (generates test results in the right output window and test output in the left.  This requires the installation of mintiest-reporters ~> 0.5.0.

SimpleCov support has regressed a bit because I was able to generate a CoverageReport that was a bit off in a prior release but now I'm seeing a parse error within the first beta.  Here's the bug reports:

Current Issue - http://youtrack.jetbrains.com/issue/RUBY-10295?projectKey=RUBY&query=simplecov
Previous Issue - http://youtrack.jetbrains.com/issue/RUBY-9927?projectKey=RUBY&query=simplecov
Next, somewhere in between Previous issue and Current Issue things were really really close in regards to code coverage.  Furthermore, I'm not seeing the parse error with RSpec but it generates an empty code coverage report.
Last but not least, filters are not working the way one expect.  For example, I would simply like to create a whitelist of all the things I would like SimpleCov to perform code coverage.  However, the in IDE generates code coverage percentages for almost every file.
Serge of Jetbrains,

Currently filters don't work for simplecov (but works for rcov gem). Simplecov gem supports only "exclude" patterns, so in next 4.0 EAP you can exclude all folders except "lib", e.g.:

@colszowka Is this true?


Display Arguments in 'Command' column of the Triggers Pane

I have several triggers setup to execute actions like 'move, copy, open with' etc. When working with these triggers, I have to click on each individually to get context on which arguments are being passed through.
It would be great to have these arguments show in the Command column of the Triggers pane. See Image below:

This has now been fixed. Thanks!


835-allowUnmocked-for-regex

First commit is a failing test for https://github.com/node-nock/nock/pull/965
Second Commit Fixes https://github.com/node-nock/nock/issues/835

Coverage increased (+0.02%) to 92.685% when pulling c75557a672d71a9246caae76dceb5fe90ce037ca on cmswalker:835-allowUnmocked-for-regex into e91168820b6289484059e523cba4fc1c1e2e9948 on node-nock:master.

Strange. Linter must've been a little too opinionated on that one.


Helm test

Description
Testing running helm template to be able to hydrate resources in CI rather than in-cluster.
Type Of Change
To help us figure out who should review this PR, please put an X in all the areas that this PR affects.

[ ] Docs
[x] Installation
[ ] Performance and Scalability
[ ] Security
[ ] Test and/or Release
[ ] User Experience

Issue Ref (Optional)
Which issue(s) this PR fixes (optional, using fixes #(, fixes #<issue_number>, ...) format, will close the issue(s) when the PR gets merged): Fixes #
Notes
Add special notes for your reviewer here.

@omarst9 would be good to get a review on this PR and get your feedback

Fluxcd v2 allows several new functions such as dependsOn charts. In theory, this would solve issues where eventually consistency works but is not optimal where application charts depend on sealed-secrets and are in a crash loop until the right dependency charts are deployed.
Closing this issue in favour of investigating Fluxcd v2.


Pausing issue between jobs while print few jobs consecutively

Hi,
I am from Lexmark driver development team. We have found an issue while printing through USB. The issue is while few consecutive few jobs are triggered through USB, we are getting 4-5 seconds pause between jobs. From our firmware log we came to know CUPS is trying to open/close connection for each job. Found some of thread containing this type issue and few workaround also. We have tried those but still encountering some problems. Detail is given below.
Workaround 1
lpadmin -p  -o usb-unidir-default=true
Observation - Performance increased but data loss happened. Within 10 consecutive jobs, only 6/7/8 jobs are getting printed.
Workaround 2
lpadmin -p  -R usb-unidir-default
and then
lpadmin -p  -o usb-no-reattach-default=true
Observation - There is no improvement in performance but no data loss.
Workaround 3
lpadmin -p  -o usb-no-reattach-default=true
and then
lpadmin -p  -o usb-unidir-default=true
Observation - Performance increased and data loss also happened but less than in "Workaround 1" i.e most of the time 8/9/10 jobs are getting printed.
Please help as it is tagged with an urgent release.
Thanks & Regards,
Saptarshi

@skapas What version of CUPS? There was a USB performance issue introduced in CUPS 2.2.12 that was reverted in CUPS 2.4.
What models of printers (and their USB product IDs)? There are many Lexmark printers already listed in the USB quirks file shipped with CUPS...

Thanks for the information. We are using CUPS version 2.3.1 in ubuntu ARM 20.04. We will check whether the issue exists in CUPS 2.4.2 and let you inform the status.
Currently we are using PID=0x0260. Forget to mention earlier, we have also modified the quirks file manually by adding the line "0x043d 0x0260 unidir" and found performance increment but data loss. While adding the line "0x043d 0x0260 no-reattach" no performance increment was observed.
If any of this workaround would have been worked then should we need to put all of our device's VID/PID entries into the quirks file? What about the devices will be released in future?

@skapas Future products should stick to supporting IPP Everywhere/AirPrint and IPP-USB, so this nonsense of legacy USB support is no longer necessary.

@michaelrsweet We understand the scenario but our customers are still using the conventional way of printing. We will definitely discuss on IPP-USB in future.
Regarding this issue:
We have checked in CUPS version 2.4.2 (compiling cups code). The observation is given bellow.

Modify quirks file with  0x043d 0x0260 unidir: Takes ~10 sec pause between two jobs also job loss is happening.
Modify quirks file with  0x043d 0x0260 no-reattach: Takes ~10 sec pause between two jobs but no job loss is happening.
Set the options in printer queue "lpadmin -p <Printer_Queue> -o usb-no-reattach-default=true" and "lpadmin -p <Printer_Queue> -o usb-unidir-default=true" : Takes ~3-4 sec pause between two jobs but still facing the page loss issue (Out of 10 job, 6-7 job are printing ).

Error log attached
error_pause.txt

@skapas Looking at the log I see job 465 finishing at 08:57:55 and job 466 starting (and connected to the printer) at 08:57:56, so at most 1 second later (depending on how far into the second the end of the job was - lots of messages at :55).
I strongly suspect that what you are seeing is a delay in the printer starting the first page from the device. And I also strongly suspect that the same printer would show similar delays over a network interface between jobs.

Hi Michael,
We are not getting any delays in network path.
Is there any update on this issue?
Regards,
Saptarshi

Closing due inactivity...


syncer/fetch: add feature to find opinion fork with peers

Motivation

part of #2507

Changes

add fork finder to find the layer at which the node's mesh hash diverge with the peer's. for each fork-finding session:

number of hashes requested is capped at N
uses a modified binary search algorithm that request N hashes at a time, with the boundaries hashes (from and to) re-queried each time to make sure the peer has not changed during the session

fetch: request mesh hashes in batch from a specified peer

i haven't looked at all code, but do you expect this code to guarantee that missing ballots are downloaded? in case of missing ballots there won't be a difference in the opinion, but instead node with missing ballots won't be able to form an opinion on the layer

thanks. the actually syncing ballots/blocks will take place in the next PR.
this PR only contain code that finds the layer of convergence, say N.
in the next PR i'll add code to syncer

figure out which peer to resolve mesh hash difference with (the most weighted one with valid ATXs)
find the layer N when mesh hash start to differ
fetch layer data from layer N from the specific peer.

bors try

bors merge


Query regarding spectral.py

Respected @MinfengZhu and @Basasuya,

What is the actual need for forming the class SpectralNorm?
Why do we create the additional parameters u and v?
Why do we use L2 normalization and what is idea behind updating u,v & w?
What is indicated by power_iterations?

Spectral normalization stabilizes the training of the discriminator. Please see https://arxiv.org/pdf/1802.05957.pdf for details. We borrow SN from https://github.com/christiancosgrove/pytorch-spectral-normalization-gan. Power iteration is an iterative method to find the greatest eigenvalue, which is used to regularize the weight matrix.


DHLabs/keep update

Test

Thanks for the pull-request, we could definitely use some help with documentation. We try not to include any binary files in the repo though, plain-text documentation is easier to track in Git. Github automatically renders README documents in any folder, so README.md documents in the appropriate folder are the preferred form of documentation (e.g. the style guides in frontend/coffeescript or frontend/sass.
Some of this is already covered in the READMEs or specific to other tools (like database browsers), but if you want to add some stuff to the existing docs, update this PR and I'll take a look at. keepbackend/README.txt needs to be converted to a Markdown document, if you want to that tackle that we'd certainly appreciate it.
In the "modification of code" section you mention a possible bug. Can you file this as a separate issue and I'll take a look at it next week?
There also seems to be a commit related to the twofactor submodule. Was that added by accident?

Hi, Wes,
Thank you for reply. I have to apologize, I'm new to GitHub and not sure
how pulling works. I often only use the git through ide or command. Can you
directly tell you what need to do?
Thank you!
Jianlin
---send from my phone
On Apr 18, 2015 12:30 AM, "Wes Vetter"<EMAIL_ADDRESS>wrote:

Thanks for the pull-request, we could definitely use some help with
documentation. We try not to include any binary files in the repo though,
plain-text documentation is easier to track in Git. Github automatically
renders README documents in any folder, so README.md documents in the
appropriate folder are the preferred form of documentation (e.g. the style
guides in frontend/coffeescript or frontend/sass.
Some of this is already covered in the READMEs or specific to other tools
(like database browsers), but if you want to add some stuff to the existing
docs, update this PR and I'll take a look at. keepbackend/README.txt
needs to be converted to a Markdown document, if you want to that tackle
that we'd certainly appreciate it.
In the "modification of code" section you mention a possible bug. Can you
file this as a separate issue and I'll take a look at it next week?
There also seems to be a commit related to the twofactor submodule. Was
that added by accident?
—
Reply to this email directly or view it on GitHub
https://github.com/DHLabs/keep/pull/16#issuecomment-94134750.

Easiest thing is probably just to create a new branch, make the relevant changes to the READMEs on that branch, and then make a new pull request for that branch.

Ok. Thanks.
Jianlin
---send from my phone
On Apr 18, 2015 10:44 PM, "Wes Vetter"<EMAIL_ADDRESS>wrote:

Easiest thing is probably just to create a new branch, make the relevant
changes to the READMEs on that branch, and then make a new pull request for
that branch.
—
Reply to this email directly or view it on GitHub
https://github.com/DHLabs/keep/pull/16#issuecomment-94235153.


[Suguestion] Would you consider to open source torch_directml and torch_directml_native?

The DirectML plugin for PyTorch is a great work. And I'm curious about the implementation. Also, there are several operators which are not fully implemented. It would be possible to find a work-around if the source code is available for public access.
Would you consider making them open source? Anyway, I thank you for the great work to get non-nvidia GPUs working for ML.

+1 on the ask for open sourcing the full implementation.  Just realizing now that I can't run a patched version of pytorch because of dependencies in torch_directml_native.


Rerender to get latest pinnings.

Checklist

[ ] Used a personal fork of the feedstock to propose changes
[ ] Bumped the build number (if the version is unchanged)
[ ] Reset the build number to 0 (if the version changed)
[ ] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[ ] Ensured the license file is being packaged.

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

@conda-forge/detectron2 This is ready for review. I limited it to rendering first before fixing any Python 3.10 and osx-arm64 issues.


Accept all DaemonCore options (SOFTWARE-2481). Change '-p' to refer to

the port to bind to instead of the pool to track to respect DaemonCore.

Looks good to me!


Catalog storage and Fetch on create/update broker

Pull Request Test Coverage Report for Build 363

148 of 174 (85.06%)  changed or added relevant lines in 10 files are covered.
6 unchanged lines in 3 files lost coverage.
Overall coverage decreased (-0.9%) to 85.477%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

storage/postgres/platform.go
4
6
66.67%

storage/postgres/abstract.go
17
23
73.91%

storage/postgres/broker.go
12
20
60.0%

api/broker/broker_controller.go
68
78
87.18%

Files with Coverage Reduction
New Missed Lines
%

api/broker/broker_controller.go
1
89.68%

storage/postgres/broker.go
2
83.16%

storage/postgres/platform.go
3
84.93%

Totals

Change from base Build 354:
-0.9%

Covered Lines:
1130

Relevant Lines:
1322

💛  - Coveralls


Octokit context is available at github.rest* instead of github from v5 github-script

@0xcodercrane Looking at the log, it seems like the API calls in the github script were failing (Cannot read properties of undefined (reading 'listWorkflowRunArtifacts')). There was a change in v5 that's causing that so I updated the calls to include the keyword "rest" before the call.
Please take look at the change below:
https://github.com/actions/github-script#breaking-changes-in-v5
I'm not changing the logic of this script so this should be more of a syntax fix.
Please let me know if you have any questions.
Resolves #312 #336 #337

https://github.com/ubiquity/ubiquity-dollar/pull/336
https://github.com/ubiquity/ubiquity-dollar/pull/337

@0xcodercrane Yea I totally understand about your concern.  I fixed up some parts of my branch and I was able to run successfully the step where I changed the file ("Download Artifact") but since I don't have the deployment key, you can see that it fails right at the deploy development step (which is expected).  Please let me know if this is good for testing.
Link to the run is below:
https://github.com/kfukue/ubiquity-dollar/actions/runs/3519751705/jobs/5900019114

Looks good to me!

https://github.com/ubiquity/ubiquity-dollar/actions/runs/3522012260
download artifact is working but warning still exists. can you take a look again @kfukue

@0xcodercrane Thanks for fixing that part!


⚠ Bofrost.es has degraded performance

In 04a91ea, Bofrost.es (https://www.bofrost.es) experienced degraded performance:

HTTP code: 200
Response time: 1469 ms

Resolved: Bofrost.es performance has improved in 0f1fa40 after 8 minutes.


Enhance error component and set hardcoded message when guac fails on "related advisories"

https://issues.redhat.com/browse/TC-1091

Enhance error state component:

The main branch renders the error icon next to the error message (left to right)
This PR sets the error icon on top of the error message following the Patternfly patterns and examples https://www.patternfly.org/extensions/component-groups/error-boundary

Current Error (Main branch)

Error after this PR is applied

Error for when we will be given a URL for best practices. The does not exist yet but once it exists we should add it

Thanks for doing this so I don't have to! :wink:

Is there still a way to see the more detailed error information? I think that was helpful in the past.

Is there still a way to see the more detailed error information? I think that was helpful in the past.

My understanding is that the "detailed error message" is the reason why this PR was requested in the ticket https://issues.redhat.com/browse/TC-1091 . The error message makes no sense for any user as its content contains technical details that only maintainers (developers) might be able to understand it.
The detailed error is something like (image attached to the description of this PR):
Error contacting GUAC:
Guac error: GraphQL response error [ Error {message: "error for HasMetadata: ent: has_metadata not found", locations: None, path: Some ([Key("findVulnerabilityBySbomURI",),],), extensions: None,},]

The detailed error message above is unfriendly and gives no real context (for a user) about where the error was originated.

Yes, I understand. But how would developers get an understanding of the actual error?

Yes, I understand. But how would developers get an understanding of the actual error?

Developers could use any tool, a basic one could be the browser network monitor just like the image below.
The error is still there, this PR only avoids rendering the unfriendly message originated in the server/backend

Wouldn't it make more sense to log it to the browser console?

@ctron Done:


No error thrown when pagespeed.conf contains errors.

When putting some rubbish in '/var/www/example.com/conf/nginx/pagespeed.conf' via 'ee site edit mysite.com --pagespeed',and saving that, nginx gets restarted but no error is thrown.
I have the impression pagespeed.conf is not processed. How can this be checked? Is pagespeed actually running? How to check that? I don't see any references to pages speed in the browser html code.
Thanks,
David

I've found the issue.
Because I use an SSL certificate I have an adapted nginx config file.
I needed to replace following lines:
include common/wpfc.conf;
include common/wpcommon.conf;
include common/locations.conf;
with:
include common/wpfc-hhvm.conf;
include common/wpcommon.conf;
include common/locations.conf;
include /var/www/daviddelaey.com/conf/nginx/*.conf;
Otherwise the pagespeed.conf file and wpfc-hhvm.conf file are not loaded.
Would it be possible to automatically adapt an existing nginx config file when --hhvm and --pagespeed are used with an 'ee site update' command?
Thanks, David

Sorry for a delayed reply. We no longer support pagespeed.
We are cleaning up issue tracker and closing this issue because we won't be able to contribute to this discussion further.
Please use http://community.rtcamp.com/c/easyengine for future support questions.


@[.VIRAL-VIDEO.]™ Turkish Referee Elif Karaarslan Viral Leaked Video On Social Media X

Turkish Referee Elif Karaarslan Viral Leaked Video On Social Media X [K15O]
09 seconds ago - Turkish Referee Elif Karaarslan L.ea𝚔ed Original Video Viral On Social Media the internet by storm and amazed viewers on various social media platforms.
In today's digital age, a single video can catapult an individual into internet stardom. Such was the case for Turkish Referee Elif Karaarslan, a contestant in the 2024 Ms. competition, whose powerful and inspiring speech went viral on social media platforms like Twitter.
The video, which quickly gained traction, captured Turkish Referee Elif Karaarslan's passionate delivery as she addressed a pressing social issue. Her words resonated with viewers, sparking a wave of admiration and support. The video's impact was undeniable; it not only propelled Turkish Referee Elif Karaarslan to fame but also ignited important conversations about .
Turkish Referee Elif Karaarslan L.ea𝚔ed video took the internet by storm and amazed viewers on various social media platforms. Turkish Referee Elif Karaarslan L.ea𝚔ed, a young and talented digital creator, recently became famous thanks to this interesting video.
The Turkish Referee Elif Karaarslan 2024 viral video serves as a testament to the power of social media to amplify voices and spark change. It highlights the importance of authentic storytelling and the ability to connect with audiences on a deep emotional level. As the video continues to inspire and empower viewers, Turkish Referee Elif Karaarslan's legacy as a viral sensation and advocate for will undoubtedly endure.


How to simulate TEE ?

Don't know if this is the right place to ask this or not, but I want to know how did you simulated TEE in this project ?
Thanks

Our implementation is based on Intel's Trust Domain Extensions (TDX), operating similarly to a standard virtual machine. Maybe you can have a try through Azure? You will find it performs as the normal Guest VM. But if you want to achieve it in your computer, it's a hard work ^ ^. We got a lot of support from INTEl.
Below is the cpu info:

Following the setup steps( conf. virtualization components such as Qemu, OVMF, and Kata ), within the guest environment, you can observe that TDX memory encryption is active:

Regarding GPU communication, our paper details an innovative approach we have developed. Also, you need to create a bridge network for guest VM.

Here is the implementation description for our rebuttal. I hope you find it helpful.

implement:
We also recognize the gap between simulation experiments and real TEE-GPU environments. We have three considerations to bridge this gap:

The design of the simulation experiments is scalable, ensuring that the conclusions of comparative experiments between GroupCover and other schemes remain consistent across different environments. Note that the comparative literatures are built on the same architecture, namely Slalom [8]. In their scheme, SGX was used as the TEE of choice. By invoking SGX-related dynamic link libraries and implementing IO methods in Python, Slalom achieved joint inference with SGX+GPU. Changing the model obfuscation algorithm within the same architecture allows for an adaptive comparison of the efficiency between GroupCover and similar schemes, whether it's SGX+RTX2080, a regular VM+RTX3070, or a real TEE environment tested later. Thus, our simulation results hold across different environments.

Concerning the impact of TEE on inference performance, we conducted tests in an actual TEE environment. Considering possible security issues with SGX and its intrusive nature on user code, we are strongly inclined to implement our scheme in a real TEE environment and test inference efficiency. Limited by machine conditions and time, we conducted partial experiments in a real TEE environment, with the below GPU nodes being simulated by 64 cores CPUs, hoping our supplementary experimental data, added code in the anonymous open-source repository can address your concerns regarding the implementation.

We selected Intel TDX and AMD SEV as TEE devices to implement the overall inference framework. Intel TDX and AMD SEV represent the latest in confidential computing technologies, providing hardware-isolated virtual machines (trusted VMs). Given that these two types of heterogeneous secret virtual machines are supported in real-time by manufacturers and regularly patched for security vulnerabilities, we do not consider the security issues and specific implementations of trusted VMs. These machines, are equipped with 256 CPU cores and 1T of memory. We then launched trusted VMs using qemu and set debug=False. Although trusted VMs can fully deploy larger memory capacities, to observe the delay caused by "processor context switching and memory copying," we aimed to allocate as little runtime memory to the trusted VMs as possible. To achieve this, we configured the trusted VMs with CPU=1, Memory=2G as the TEE environment and loaded them with a transformer model having 200M parameters. Upon entering the trusted VM, it was observed that only 700M of allowable runtime memory remained, potentially triggering the TEE's memory performance wall during inference operations.
We implemented the interaction logic between trusted VMs and GPUs using torch.rpc. Specifically, for trusted VMs and GPU nodes capable of network communication, we designated the trusted VM as the rpc master node and the GPU as the worker node. We pre-initialized linear layers in the GPU, accepted inputs from the trusted VM, and returned the results to the trusted VM after linear forwarding. This part of the interaction implementation is provided in open-source repository.
We implemented secure inference on real TDX and SEV machines. Based on the aforementioned rpc logic, secure inference can be achieved as long as the trusted VM-master node and another GPU-worker node can establish an rpc connection. We explored two approaches to establish rpc connections: run in Trusted VM (runv) and run in Confidential Container (runc), with specific implementation details described in the code repository's README. Considering that network communication between containers requires multiple proxy layers (including ingress, nginx, etc.), we deployed secure inference based on rpc in runv mode to achieve optimal performance. The experimental setup is illustrated below, with specific configurations available in  here.

+-----------------------------------+         +-----------------------------------+
|Trusted VM master                  |         |GPU worker                         |
|                             RANK=0|         |                             RANK=1|
|CPU=1, MEM=2GB                     |         |Here is a 64C terminal             |
|                                   |         |                                   |
|  manage the secure inference:     |  virbr0 |  rpc.init()                       |
|  rpc.init()                       |<------->|  wait for input:                  |
|  while model.forward:             |         |     run linear_layer(input)       |
|      if linear layer:             |         |     rpc.sync()                    |
|           rpc.sync(input, layer)  |         |                                   |
+-----------------------------------+         +-----------------------------------+

Experimental results prove that performing inference in a TEE environment does not significantly impact performance. The addition of an offload layer does indeed increase latency and decrease throughput but does not affect the comparison with the baseline (pure GPU inference). We assume the latency of pure GPU inference as the baseline of 1x. Given the rpc implementation of alexnet-CIFAR10 and a 200M parameter transformer-translate inference task under simulation without TEE on a 3070 physical machine, the latency of secure inference is respectively 5x and 2x. Switching to a real TEE environment, these ratios are 6x and 3x. Increasing the number of layers in the transformer model, this ratio remains essentially unchanged.

The inference throughput in a real TEE environment can approach the baseline solution by adjusting the distributed inference architecture. During the experiments, we found that the experiment was far from saturating the bandwidth of the network interface. Using the nload0 tool, we observed that the data rate through the virbr0 network interface during RPC calls was 110MB/s, far below the 3GB/s limit of the bridged network interface. Using htop, we found that the CPU utilization of the Trusted VM was maxed out, but the GPU utilization was lower than the baseline. Therefore, we launched multiple Trusted VMs and found that within a suitable range, the inference throughput roughly increased proportionally with the number of master nodes. Specifically, pure GPU inference throughput was about 4k, with 1 Trusted VM as the master node the throughput was 1.2k, with 2 master nodes the throughput was 2.1k, and with 3 nodes it was 2.7k. Thus, with reasonable computational resource allocation, the inference throughput of GroupCover can approach the baseline solution.

We will further enhance the efficiency of the GroupCover secure inference framework and update the experimental data in the future. During tests in a real TEE environment, we discovered that the primary bottleneck for inference performance was the rpc communication. Neither the runv nor runc implementation methods could utilize read-write engines like RDMA. In the frequent interactions between master and worker nodes, the latency introduced by IO is the main factor affecting inference performance. Moving forward, we hope to start with the GPU's UVM (Unified Virtual Memory) management mechanism to explore a more reasonable IO method between Trusted VMs and GPUs. For instance, following the approach of the Nvidia H100, masked data could be read and written to memory shared by the Trusted VM and the host, and then the GPU could directly read from and write to this memory using DMA. This way, IO would occur through memory rather than the network, significantly speeding up inference efficiency. If you are interested in our work, we welcome you to continue discussing future endeavors with us.


optimize use dictionary encode&filter to process delete files

Proposed changes
Use dictionary encode&filter to process delete files.
Problem summary
PR https://github.com/apache/doris/pull/14470 has used Expr to filter delete rows to match current data file, but the rows in the delete file are sorted by file_path then position to optimize filtering rows while scanning, so this PR remove Expr and use binary search to filter delete rows.
In addition, delete files are likely to be encoded in dictionary, it's time-consuming to decode file_path columns into ColumnString, so this PR use ColumnDictionary to read file_path column.
After testing, the performance of iceberg v2's MOR is improved by 30%+.
Checklist(Required)

Does it affect the original behavior:

[ ] Yes
[x] No
[ ] I don't know

Has unit tests been added:

[ ] Yes
[x] No
[ ] No Need

Has document been added or modified:

[ ] Yes
[x] No
[ ] No Need

Does it need to update dependencies:

[ ] Yes
[x] No

Are there any changes that cannot be rolled back:

[ ] Yes (If Yes, please explain WHY)
[x] No

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

TeamCity pipeline, clickbench performance test result:
the sum of best hot time: 36.38 seconds
load time: 663 seconds
storage size:<PHONE_NUMBER>2 Bytes
https://doris-community-test-1308700295.cos.ap-hongkong.myqcloud.com/tmp/20221228142420_clickbench_pr_70406.html


RAM Update?

Could the RAM memory have two additional inputs? CLK_READ and CLK_WRITE. When the state changes from low to high, the memory would write or read from a set address. This would make it easier to operate the memory and build computers.

Hmm, I don't really see why this should make RAM operation easier, it rather seems to make it more complicated.
The read part currently just instantly outputs the value stored at Read Address IN to Read Value OUT whenever the address changes, which is very convenient for using the RAM as simple lookup table (probably the most common use case).
Similarly any change of Write Value IN is immediately written to current address but only if that address value is within valid range (so you can disable writing by intentionally sending an invalid address like -1).
Changing that would break old circuits from other people or I would have to implement complicated special cases (with different timing behaviors) where the RAM switches back to instant mode if nothing is connected to the clock ports.
If for some reason you really need read output latched by clock and/or write controlled by clock, you could just create yourself an appropriate RAM driver circuit (which you probably need anyways if you're building a fully functional computer). This is an example implementation:

Read Address and Write Value would be connected directly to RAM without going through the driver.
The schematic file: unpack into .minecraft/circuitSchematics/
RAM driver.zip


updated the README.md file

Please add me as collaborator :)
https://docs.github.com/en/account-and-profile/setting-up-and-managing-your-personal-account-on-github/managing-access-to-your-personal-repositories/inviting-collaborators-to-a-personal-repository

Please add me as collaborator :)

@anvarknian, I'm glad you're interested in contributing to the project. I will add you.
Unfortunatly i'm not with free time to code in this project with you. But I suggest that you don't commit directly to the main branch, instead commit you code to a feature branch and open a pull request when needed, I will help doing code review and give my opinion in design/implementation decisions.


No nice way to examine error when fetching user timeline for protected accounts

I found out that Twitter returns 200 if you try to fetch user timeline of a protected account that you do not have access to.
Using Postman, I tried https://api.twitter.com/2/users/<id>/tweets, using OAuth 2.0 bearer token, with V2 API and I get the following with a 200 status code:
{
    "errors": [
        {
            "resource_id": "<id>",
            "parameter": "id",
            "resource_type": "user",
            "section": "data",
            "title": "Authorization Error",
            "value": "<id>",
            "detail": "Sorry, you are not authorized to see the user with id: [<id>].",
            "type": "https://api.twitter.com/2/problems/not-authorized-for-resource"
        }
    ]
}

It's odd that Twitter returns a 200 here, but it seems like this is by design. (The linked thread discusses a case with suspended account, so I also asked another question regarding a protected account here just in case, but it's most likely by design.)
The issue I'd like to report here is that since it's not treated as an error, there's currently no nice way to retrieve this info using this library. If you investigate the response for const response = client.v2.readOnly.userTimeline("<id>"), then this error object is set under a property called response._realData.errors, but we don't have a TypeScript definition to access this. We need a better way to access this info for this case so it's not hidden under a property marked as internal with an underscore.

Hi,
I agree with you, the error must be accessible more easily.
You already have access to the _realData property with a public accessor: .data (that isn't documented, I owe you this point), so you can access the error with <paginator>.data.errors.
This doesn't solve the root cause: This is theorically an error, but it isn't flagged as one.
What should we do?

Throw an error if the response object only contains errors property in case of v2 API usage?
Add a .errors getter on the paginator instance (+ a possible .hasError boolean getter)?

You already have access to the _realData property with a public accessor: .data

Oops, I guess I missed that. As long as we have a way to access that via the typed definitions, I don't have much to complain.

This doesn't solve the root cause: This is theorically an error, but it isn't flagged as one. What should we do?

When working with the response, it crashes when I try to access properties of response.meta such as next_token. That's how I originally found out about this issue, but this is now expected because there was no data. And calling fetchNext ends in a similar error because it tries to access its properties. So, it's not really in a usable condition, but since Twitter decided to make this not an error, I'm tempted to keep the same behavior. Perhaps. we should fix it to not crash or let it crash and document it.

Perhaps. we should fix it to not crash or let it crash but document it. It's really up to you and what others think.

I've choose to give access to errors through a .errors getter, and add a .unusable getter telling if paginator will throw if you try to get more data.
Before accessing .meta when the paginator prepares a new request, a assert check is made if instance is usable or not, bringing to user a meaningful error message if not: Unable to use this paginator to fetch more data, as it does not contain any metadata. Check .errors property for more details.

Update: Fix is available in 1.9.0 :)


Stale location cache

If specifying a new location, don't mandate that location_cache be turned off explicitly.
Fixes:

Change of --location will work without having to turn location cache off

👍

Great!
👍


Issue 416: Change name of Event to EventRecord

Changed Event to EventRecord, and EventFacet to EventRecordFacet.
This Pull Request changes the EventFacet to EventRecordFacet, which resolves ambiguity raised in discussion of Issues #375 and #396 and #401.
Coordination

[x] Pull Request is against correct branch
[ ] Pull Request is in, or reverted to, Draft status before Solutions Approval vote has passed.
[ ] CI passes in (CASE/UCO) feature branch
[ ] CI passes in UCO current unstable branch (merge-commit)
[ ] CI passes in CASE current unstable branch tracking UCO's unstable as submodule (merge-commit)
[ ] Impact on SHACL validation reviewed for CASE-Examples
[ ] Impact on SHACL validation remediated for CASE-Examples
[ ] Impact on SHACL validation reviewed for casework.github.io
[ ] Impact on SHACL validation remediated for casework.github.io
[x] Milestone linked
[ ] Solutions Approval vote logged on corresponding Issue (once logged, can be taken out of Draft PR status)

Converting to Draft until Solutions Approval vote is logged.


fix: make mcs runnable

What type of PR is this?

fix
What does this PR do?

make mcs runnable
Which issue(s) does this PR fix?

Fixes #
Special notes for your reviewer:

Cherry-pick #148
Does this PR introduce a user-facing change?

None

/approve
/lgtm


Tunnel MTU > 1400

Hello,
When creating a new network with LXD, the max allowed value for bridge.mtu is 1400.
How can I circumvent this to be able to set a VXLAN MTU greater than 1400?
The MTU of the physical NIC is already configured properly. With LXC this isn't a problem at all.
Might it be possible to extend this check (View code: Line 179) with a test of the actual MTU of the selected tunnel.$.interface in order to see if the bridge.mtu setting would be valid?
Or did I miss the real intention of this check?
Cheers

Not sure why I put that check in there as deployments that do have a working jumbo frames setup can indeed exceed that MTU safely. Doing an actual check for the underlying devices would be pretty tricky though, so the easiest may be to just remove the check.


As a user I want to use an application that has consistent UI-formatting in order to improve the UX

Likely significantly improved by #244


Update cloud-recording.md

Removed wording saying that Stream is required. It's not required.

@JohanFreelancer9 Copy editing is needed for this PR. Thanks.

@tonysmit PR has been copyedited and is ready for final review, could you please check and merge? Thanks!


Sort classes whenever getting classes

This fixes teacher classes page from displaying in the wrong order.

Coverage remained the same at 56.541% when pulling f4a39c8c1c5490cbb37d32b4661c3e58106ee297 on Zerrien:fix-teacher-classroom-page into 0325d6a45935767f325daf5c81fde7a50737c117 on codecombat:master.


Do We able to use Wordpress Constants If Yes How

[x] I've read the guidelines for Contributing to Roots Projects
[x] This request isn't a duplicate of an existing request
[x] This is not a personal support request that should be posted on the Roots Discourse community

Summary
Do We able to use Wordpress Constants If Yes How
Example
define( 'UPLOADS', 'blog/wp-content/uploads' );
define( 'UPLOADS', 'blog/wp-content/media' );
define( 'UPLOADS', 'blog/wp-content/vault' );  ....
Motivation
Further customization of the directory structure.

Yes, you can set any constant by doing Config::define('UPLOADS, 'blog/wp-content/vault') for example.


#23 Document the Therapixel algorithm

I added an initial documentation of the Therapixel algorithm. The algorithm scored 5th place during the DSB 2017.
Unfortunately, there is no technical report or blog post about the approach so far.
Thus, I had to derive the algorithm design from the source code and black-box models only, which resulted in a shorter documentation than for other algorithms.
Reference to official issue
This pull request addresses #23
Motivation and Context
At some point we need to implement an algorithm that can segment the nodules and detect whether they are malicious or not. It makes sense to first evaluate the top 10 solutions for the Data Science Bowl 2017 regarding how performant they are and how easy it would be to use them in our application.
CLA

[X] I have signed the CLA; if other committers are in the commit history, they have signed the CLA as well

Thanks!


My Issue Is that I Can't Star This Repo HARD ENOUGH

One time doesn't seem like enough, when you give us both the EXTENSION and even a BOOKMARKLET that requires NOTHING but a simple line of code.
#Hero

Thanks for the kind words. To give credit where it's due: the bookmarklet was contributed by @Cheezmeister


Fix lint complain

@borisyankov OK to merge

Changes Unknown when pulling 415961a28255296860a36cbe05166e3276fa6daf on qingweibinary:qingwei/improve_extremes into ** on binary-com:master**.


KFP Doc fix and add to owner

correct email address
add to owner
correct old version

This change is

/lgtm
@sarahmaddox for more review

Fixes https://github.com/kubeflow/website/issues/1627

/assign @joeliedtke
I've assigned this to @joeliedtke for review and approval, as he's the KFP tech writing lead.

This change can be previewed at:
https://deploy-preview-1628--competent-brattain-de2d6d.netlify.com/docs/pipelines/installation/overview/
https://deploy-preview-1628--competent-brattain-de2d6d.netlify.com/docs/pipelines/installation/standalone-deployment/

/lgtm
/approve


Read-only Role

Business Context:
Dallas mentioned needing to give some people read-only access. We should add a read-only role!
Read-only roles cannot see the names of anonymous complainants.
As a police department member
I want to log into PDM
So that I can check on a case?
In Scope

adding read-only role that:

cannot manage tags
cannot export [maybe]
cannot see anonymous complainants' names
no updates to cases/no case creation
no comments
no uploads

Base role is read-only permission - all other people need explicit permission to do things
hide buttons [assumption]

Out of Scope

Open Questions

Design - hide or grey out buttons?
Export? - should r-o be allowed to export case history?

Acceptance Criteria

Scenario: PD employee logs in
Given I am a user with read-only access
When I log in
Then I can see the contents of the app

Scenario: Can't change anything
Given I am a user with read-only access
When I log in
Then I cannot edit anything

Scenario: Can't see anonymous complainant names
Given I am a user with read-only access
When I log in
Then I cannot see anonymous complainant names

Mockups
Checklist (should be reviewed before grooming as the BA or Pair are writing the card—NOT reviewed for the first time at grooming)

Discuss the technical implementation of this card.
Discuss how this feature would be included in or affect the Audit Log.
In respect to security, what could go wrong? Brainstorm threats using STRIDE model, especially if this card introduces a new technical architecture or design pattern. (TIMEBOX: 7 mins) https://docs.google.com/document/d/18AFl1d3SRieI4d_8R3GyEazqQOycLNDHGN_vOYIHuiE/edit#heading=h.aio9zb5j63wl
Ensure any open questions have been resolved with stakeholders.
Determine if documentation should be referenced or created.
Ensure to include all necessary mockups to this card.
Discuss what success/failure user feedback messages would be present, if any occur (front end/back end).
Discuss why this feature would not be implemented behind a toggle / what would happen if this card was partially done while a release branch was being cut.
If this card is part of a sequence of cards, discuss if this card should be blocked until the testing of previous  cards in the sequence have been finished.
Have we added edge cases as ACs that we're considered from a QA perspective
Does this card overlap with any entities outlined in API Housekeeping?

Notes:

Permissions

case:create
case-history:view
case:archive
case-notes:create
case:add-tag
case:edit
letter:setup
tags:manage
anonymous:view


Better documentation for the shallow clone suggestion

The current instruction:

To brew update, first run:
git -C /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core fetch --unshallow
git -C /usr/local/Homebrew/Library/Taps/homebrew/homebrew-cask fetch --unshallow

is discussed in Issue 9430, which was just closed.  @vitorgalvao wrote "If a user understands enough of the command-line to use Homebrew; they’re likely capable of understanding that line and running that command."  Yes sure, kind of, maybe, not really.
I use the command line and git every day, but I was confused at first:

I didn't realize (or remember) that my original installation of Homebrew was a git clone (or was it?);
I had no idea where the Homebrew git repo is on my machine--looks like maybe it's in /usr/local/?
It's an unusual git command.  git -C runs git "as if git was started in  instead of the current working directory."  Um, okay, so this is a git fetch operation.  But I ran it from my home directory without thinking, and then wondered "Does git know where to find the homebrew repo?"  And then I wondered "What happens to the ~500 Mb of files that it just downloaded?  Are they needed for next time; i.e., is my Homebrew installation always going to run from that repo in the future?"  (I assume yes, but that's not explained -- the alternative, which some users will worry about, is that you've just created a duplicate installation which is wasting space, or downloaded a pile of temporary files to some hidden location.)

My suggestion:

Clarify that homebrew is (usually? always?) installed in a git repo and that the git -C fetch command will know how to find and update it.
The message should specify more clearly that three steps are required:

run the homebrew-core fetch command
run the homebrew-cask fetch command
run brew update

I expect that you will have a lot of confused and unhappy users until you improve the message.

in Issue 9430, which was just closed.

No, it wasn’t “just closed”. It has multiple replies, including from two maintainers; the conversation continued even after it was closed; and it ended with a third maintainer making a PR to improve the messaging.
You’re free to follow that example and submit a new PR for discussion.

in Issue 9430, which was just closed.

No, it wasn’t “just closed”. It has multiple replies, including from two maintainers; the conversation continued even after it was closed; and it ended with a third maintainer making a PR to improve the messaging.
You’re free to follow that example and submit a new PR for discussion.

Perhaps you misunderstood me -- by "just closed"' I meant "recently closed" (3 days ago).  I am trying to be constructive, hence the suggestions I made.   You suggest that I submit "a new PR for discussion."  But I do not really have the time to dig into the source code for Homebrew.  Should I move this somewhere else?

Perhaps you misunderstood me -- by "just closed"' I meant "recently closed" (3 days ago).  I am trying to be constructive, hence the suggestions I made.   You suggest that I submit "a new PR for discussion."  But I do not really have the time to dig into the source code for Homebrew.  Should I move this somewhere else?

@jcpayne thanks for the feedback. You're right, we have received several issues from people who are confused by this. However, most of the time, the issues are simply that the user doesn't want to read the instructions we've provided or run the command.
That being said, if you think the current wording can be improved to increase clarity, please do open a PR. As maintainers, we are super well-versed in the inner workings of Homebrew so we don't always explain things in a way that makes sense to all users who may be less knowledgeable about what's going on. Plus, the maintainers have already modified the message several times, so I think the best way we can improve it is with a suggestion from a non-maintainer.
The message comes from Library/Homebrew/cmd/update.sh:
https://github.com/Homebrew/brew/blob/d75e9c99b34bc55e89a6ea0d3520273451e06131/Library/Homebrew/cmd/update.sh#L407-L419
It's mostly just text, so it should be relatively simple to modify even if you're not fluent in bash.

@jcpayne thanks for the feedback. You're right, we have received several issues from people who are confused by this. However, most of the time, the issues are simply that the user doesn't want to read the instructions we've provided or run the command.
That being said, if you think the current wording can be improved to increase clarity, please do open a PR. As maintainers, we are super well-versed in the inner workings of Homebrew so we don't always explain things in a way that makes sense to all users who may be less knowledgeable about what's going on. Plus, the maintainers have already modified the message several times, so I think the best way we can improve it is with a suggestion from a non-maintainer.
The message comes from Library/Homebrew/cmd/update.sh:
https://github.com/Homebrew/brew/blob/d75e9c99b34bc55e89a6ea0d3520273451e06131/Library/Homebrew/cmd/update.sh#L407-L419
It's mostly just text, so it should be relatively simple to modify even if you're not fluent in bash.

Please always fill out the issue template. This should be opened in Homebrew/discussions rather than Homebrew/brew.
We literally tell you what commands to run. You don't need to know that Homebrew uses Git in order to do that and most people do not have a problem here.

Please always fill out the issue template. This should be opened in Homebrew/discussions rather than Homebrew/brew.
We literally tell you what commands to run. You don't need to know that Homebrew uses Git in order to do that and most people do not have a problem here.


Feat/remove unsuported commmands from doc

Summary
closes https://github.com/callstack/repack/issues/538
Keep in the doc only options that we support in start and bundle command

Test plan

[x] Test locally

cc @szymonrybczak WDYT about having an explicit set of rules instead of copying from the CLI?

@jbroma @szymonrybczak comments addressed :)


Tabular: Fixed bug with preprocess_nonadaptive during stacking

Issue #, if available:
#1033
Description of changes:
When preprocess was renamed to preprocess_nonadaptive, this usage was not updated to the new name, meaning it would default to preprocess_nonadaptive=True during stacking, which would cause exceptions in LightGBM during repeated bagging with time_limit set when invalid column names existed.
This PR fixes this bug.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Job PR-1036-1 is done.
Docs are uploaded to http://autogluon-staging.s3-website-us-west-2.amazonaws.com/PR-1036/1/index.html


Fixed issue

Added  element to index.html as requested

Added
element to index.html as requested

Looks good, well done!

Merged

This is an automated message from Fork, Commit, Merge [BOT].

Thank you for your contribution! Your pull request has been merged. The files have been reset for the next contributor.
What's next?
If you're looking for more ways to contribute, I invite you to check out my other projects. Just click here to find more. These projects contain real issues that you can help resolve. You can also check out the Influences section in the README to find more projects similar to this one.
Also please leave a star to this project if you feel it helped you, i would really appreciate it.
I look forward to seeing your contributions!


Kubernetes ingress always uses IP for backend

What did you do?
Tried to setup traefic as an ingress controller for gRPC over http2, tls from client to frontend and from frontend to backend. Self signed certs, go client and server.
What did you expect to see?
That the auto configuration of traefic via an ingress would use pass the header in the request to the backend, were passing the header not enabled it would fail back on the pod DNS.
What did you see instead?
It resolves the endpoint IPs referenced in the service and does not any hostname. See kubernetes.go.
The issue comes in with the certs, without a hostname, it expects an IP address in the cert. I'm not sure if there is a workaround to this, using an IP in the cert would only work with automation as there is no guessing the IP of the pods on deployment.
Output of traefik version: (What version of Traefik are you using?)
Version:      v1.4.0-rc3
Codename:     roquefort
Go version:   go1.9
Built:        2017-09-18_04:38:27PM
OS/Arch:      linux/amd64

What is your environment & configuration (arguments, toml, provider, platform, ...)?
# traefik.toml
logLevel = "INFO"
accessLogsFile = "access.log"
defaultEntryPoints = ["http","https"]
[entryPoints]
  [entryPoints.http]
  address = ":80"
  compress = true

  [entryPoints.https]
  address = ":443"
  compress = true
    [entryPoints.https.tls]
      [[entryPoints.https.tls.certificates]]
      CertFile = "/ssl/tls.crt"
      KeyFile = "/ssl/tls.key"
[kubernetes]
[web]
address = ":8080"

Running on k8s 1.6 - baremetal installation on centos7.
# Service
apiVersion: v1
kind: Service
metadata:
  labels:
    app: vc
  name: vc
spec:
  ports:
  - name: grpc
    port: 10000
    protocol: TCP
    # targetPort: 10000
  selector:
    app: vc

# Ingress
apiVersion: extensions/v1beta1
kind: Ingress
metadata:
  name: vc
  namespace: development
  annotations:
    kubernetes.io/ingress.class: traefik
  labels:
    app: vc
spec:
  rules:
    - host: vc.myhost.net
      http:
        paths:
        - backend:
            serviceName: vc
            servicePort: grpc

If applicable, please paste the log output in debug mode (--debug switch)
time="2017-09-18T23:59:56Z" level=warning msg="Error forwarding to https://<IP_ADDRESS>:10000, err: x509: cannot validate certificate for <IP_ADDRESS> because it doesn't contain any IP SANs"

Every time someone does not respect the issue's template, a little bunny dies.

Please edit your issue description to respect the issue template as more as possible.

Reformatted. Let me know on the bunny.

@ldez Opinions on this or estimates? If it's soon on the lineup I won't go diving in myself, otherwise I can see about refactoring it to keep the host name, maybe in the types.Server - presumably this could be used for the TLS handshake down the line.

ping @containous/kubernetes

@japettyjohn I see your issue on that one we bypass the service proxy, and forward traffic directly to the pod, as is expected of ingress controllers.
You are correct in the assumption that your IP sans would need to be created dynamically.
However, HOWEVER, you maaaay be able to bypass that by using the ExternalName service type. I am pretty sure my colleagues will facepalm, but it may work in your situation.
https://github.com/containous/traefik/blob/f9225c54ff07925ba0ccd835a12ffc2c21133a4d/provider/kubernetes/kubernetes.go#L261
You can set a service with the externalname to a different service within your cluster, and traefik will forward the request via the externalname.
NOTE THAT THIS IS SUPER JANKY
In theory it should work, and you would just need to create one certificate with your service name as a SAN, as the request would be "https://.".
In theory, you could re-use your k8s CA to issue a cert, and use the k8s cert as a trusted CA in your traefik pod (note the CA cert option in the kubernetes section). Using that would bypass the PKI external name resolution checks.
Note that externalname is not a well used or documented feature, and I would instead leverage a more dynamic option for the future (aka your pods entrypoint should create a cert with the pod IP as a SAN, and use the root k8s CA, and boom, you don't need anything special in that case).

@dtomcej I get it. Of the possibilities you've named out, dynamic cert creation seems the most apropos but not the most trivial solution - if there isn't one already implemented?
Another approach which doesn't have the same level automaticity is to a wildcard cert with the k8s CA dependent on the k8s DNS. This naming schema, so long as we honored the hostname/subdomain fields and annotations for a pod, would allow a low cost solution to the problem. It could be a configuration option for the k8s ingress controller (though if there is nothing which does the auto cert generation then it may as well be the default).
But the other that comes to mind when you mention this, am I doing something weird here? I need to make my gRPC microservices available outside my cluster - am I just going about this some weird way or am I treading on new ground?

@japettyjohn  Is this still an issue for you? Or can we close this ticket for now?
Thanks!

In the cases where I needed it I used a dedicated TCP ingress to handle, not the greatest solution but works.
That's aid, I don't know that using traefik for this is the right solution for this, so it may not be necessary to handle at this point. That falls in the larger discussion of service calls on K8S I think.

Alright @japettyjohn, I will go ahead and close this ticket. Please feel free to reach out on slack if you have any further questions/issues!
Thanks!

I believe the code block that @japettyjohn linked to above is responsible for failed TLS validation for backends. (Updated for master: https://github.com/containous/traefik/blob/master/provider/kubernetes/kubernetes.go#L361)

I guess this is long done and dusted when I came over this. I tried @japettyjohn 's idea with the externalName service and it works like a charm. Traefik validates the service certificate correctly and talks TLS with the backend pods.


Assign masks for training

Hello, I want to use the designated mask for training. Can you share your idea and code changes based on lama?

Hi,
the main changes are in saicinpainting/training/data/masks.py and bin/gen_mask_dataset.py. I created two different MaskGenerators one that draws a random mask from a .h5 file and one that chooses a mask in the order of the file.
In the training process you have to change the key in the file saicinpainting/training/data/datasets.py from "mixed" to "fixed" (randomly drawn mask from .h5 file). The masks for validation, test and visual_test are created beforehand via bin/gen_mask_dataset.py. However there you need to change the key in the config files.
Is this clear enough?


ModuleNotFoundError

After installation via pip
pip3 install alphazeta.warden

i get:
➜  specter_warden git:(master) python3 -m warden
Traceback (most recent call last):
  File "/usr/lib/python3.8/runpy.py", line 194, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/lib/python3.8/runpy.py", line 87, in _run_code
    exec(code, run_globals)
  File "/home/kim/.local/lib/python3.8/site-packages/warden/__main__.py", line 1, in <module>
    from warden_modules import (check_services, specter_update, wallets_update)
ModuleNotFoundError: No module named 'warden_modules'
➜  specter_warden git:(master)

Opted for a git clone approach for install. Also finally got around to fixing a ton of bugs and refactoring the integration with Specter. The newer version is running but I'm still testing for the next couple of days.


Make sure that the program ends correctly

The program closes abruptly, leaving the software icon in the system tray

windows only updates the tray when you interact with it, so the icon can be left even though the program is closed


LaserPointer "getStateUp" in update no more triggered after scene changement

After loading a second scene with same Player as the first scene the condition with getStateUp or getStateDown in update function on LaserPointer script is no more true even the GetSate return the correct current state of the controller trigger.

Are there any errors in the scene when this happens? Is the pose set correctly still? The interaction action?

Ok i found why, i just didn't saw that is my second Player object initially present in the new scene who is in conflict with the old DontDestroyOnLoad Player by bloquing events of him. Lack of testing... So i assuming that we can have only one Player at the time even it's a singelton, or it can cause event conflict with this new version ?


SquareDashed is not exported in lucide-react package

Package

[ ] lucide
[ ] lucide-angular
[ ] lucide-flutter
[ ] lucide-preact
[X] lucide-react
[ ] lucide-react-native
[ ] lucide-solid
[ ] lucide-svelte
[ ] lucide-vue
[ ] lucide-vue-next
[ ] Figma plugin
[ ] source/main
[ ] other/not relevant

Version
0.469.0
Can you reproduce this in the latest version?

[X] Yes
[ ] No

Browser

[ ] Chrome/Chromium
[ ] Firefox
[ ] Safari
[ ] Edge
[ ] iOS Safari
[ ] Opera
[X] Other/not relevant

Operating system

[ ] Windows
[ ] Linux
[ ] macOS
[ ] ChromeOS
[ ] iOS
[ ] Android
[X] Other/not relevant

Description
SquareDashed is not exported in lucide-react package.
Steps to reproduce
import { SquareDashed } from 'lucide-react'
// => Module '"lucide-react"' has no exported member 'SquareDashed'
Checklist

[X] I have searched if someone has submitted a similar issue before and there weren't any. (Please make sure to also search closed issues, as this issue might already have been resolved.)

Are you sure you are on the latest version?

Yes I am 🤷♂

Sorry my bad, was on an older version

No worry, happy to help 😊


Could not find file '\Samples\MvvmLight\Views\DetailPage.xaml'

it seems that the file is missing on the master repo

Hadn't pushed. Thanks.


Add fetch example for ember

Many many thanks to @MehulKChaudhari
in https://github.com/matschik/component-party/pull/80 for getting this started and sparking some good conversation! <3 :partying_face:

Thanks @MehulKChaudhari ! We do not forget your efforts to make Component Party better !