dynamic library not available for ARM macs?

Hi, just giving the examples a shot.
I found this work around in another issue:
import { WebUI } from "./deno-webui/mod.ts";

const myWindow = new WebUI();
myWindow .show("<html>Hello World</html>");
await WebUI.wait();

But even when I do this, I get:
error: Uncaught Error: Could not open library: Could not open library: dlopen(/Users/geoff/.deno_webui/ffd9edc4-webui-2.dyn, 0x0005): tried: '/Users/geoff/.deno_webui/ffd9edc4-webui-2.dyn' (mach-o file, but is an incompatible architecture (have 'x86_64', need 'arm64')), '/System/Volumes/Preboot/Cryptexes/OS/Users/geoff/.deno_webui/ffd9edc4-webui-2.dyn' (no such file), '/Users/geoff/.deno_webui/ffd9edc4-webui-2.dyn' (mach-o file, but is an incompatible architecture (have 'x86_64', need 'arm64'))

Any ideas?

So I figured it out, just had to build webui locally then pass that location to the constructor. I've submitted an update to the README that others might find helpful.

Thank you for the PR. Just to let you know, we recently added the nightly auto-build binaries:
https://github.com/webui-dev/webui/actions


Add support for the Blob Storage backup feature on Azure

Is your feature request related to a problem? Please describe.
The new blob storage backup feature cannot be enabled via the provider.
Describe the solution you'd like
Add a new feature for Azure blob backup.
Describe alternatives you've considered
Use the GraphQL API directly as a workaround
Additional context
None

Support for enabling this feature is available in version v0.10.0-beta.6 and later. See the polaris_azure_subscription resource docs for more information.


bug: GPTTurbo has no context

Version
The latest?
Describe the bug
ChatGPT Turbo will not inspect files for context.  Sonnet does this well, but Turbo excludes files everytime.
Expected behavior
Assess file provided via the @filename
Each time I provide references, it's automatically excluded and I get very bad suggestions.
Additional context
No response

@slaughters85j Is this still an issue if you upgrade to v1.18.0+? You can verify the version number from the Cody settings&support sidebar (or via report issue where the version number will be pre-fill for you):

If the issue persists after the upgrade, can you please share the following with us so that we can look into it for you? 😄

Is it GPT-3.5 Turbo or GPT-4 Turbo?
Does it happen on new empty chat window?
Your Cody output logs (click Export Logs) after reproducing the issue

Closing since we are unable to reproduce the issue but please feel free to open this issue again if the latest version doesn't work for you. Thank you!


remove extra 'but' on line 40

Proposed changes

Unreleased project version (optional)

Related issues (optional)

Deploy preview for docsdocker ready!
Built with commit c7de3cbcb9f0cbc8878adc88e1bbbeda36147d59
https://deploy-preview-8626--docsdocker.netlify.com


Slider image displayed unscaled on different phones

I am using an image for my slider handle and noticed that sometimes StepSlider will display the handle at a normal, scaled resolution and sometimes display it at full resolution. This seems to depend on what phone you're using. Here is a screenshot of some different simulators: https://ibb.co/TYB5JJV. You'll notice that on the XR (12.1), 5s (12.1), and 5s (11.2) the handle is bigger than on the X (12.1) and X (11.2). I have a sample project (here: https://www.dropbox.com/s/f4aor6t43qtr1vq/StepSliderBugTest.zip?dl=0) if you'd like to try and reproduce yourself. I've looked into this myself but I can't see anything wrong with your code.

Thanks for contribution! Just add @2x resources for @2x devices. This will fix your problem.

Thanks for your help!


Add a way to manage saves manually.

Is your feature request related to a problem? Please describe.
My game has multiple save slots which the player can save or load from. This doesn't seem to be supported by the current autosave mechanisms in Dialogic.
Describe the solution you'd like
The ideal situation I can think of consists of three parts:

An opt-out scheme for the autosaves, perhaps Dialogic.set_autosave(false). Nothing should be written into user:// until a conversation dialog is shown at the earliest to give some time to the developer to call this function.
A Dialogic.export() -> data function that returns a single data structure representing the current Dialogic state.
A Dialogic.import(data) -> void function that takes a data structure from a previous export and updates Dialogic's state to those settings.

Describe alternatives you've considered
Using an opt-in scheme for autosaves could make the Dialogic code simpler at the cost of being a breaking change to developers using this addon.
Additional context
The current setup doesn't seem to be tenable for any style of game having more than one save state.

All saves are written in the user://dialogic folder, so a simple workaround would be to manually copy this folder. For example, each of your saves have folders names user://dialog-saveX, and when you want to load it, move the wanted folder to user://dialogic. SO there is a way to do that if you really need to right now.
But I agree, the saving system could be improved!


Problems with "php artisan zoauth:init"

The first time running received the error: Class "http\Exception\RuntimeException" not found
Fixed by directly editing ZohoCredentials.php and the following code:
public function makeRequestToZohoAccounts(array $body)
{
    $response = Http::asForm()->post($this->getEndPointUrl(), $body);

    if (!$response->successful()) {
        // commented the following out since Class not found
        // throw new RuntimeException('Unexpected error occurred. Please try again later.');
        // using laravel method instead
        $response->throw();
    }

    return $response->json();
}

This revealed that a 404 error was being returned.
Diagnosed this problem to an unneeded "/" in ZohoCredentials.php.  Specifically, the following code:
const END_POINT = '/oauth/v2/token';
Needed to be changed to:
const END_POINT = 'oauth/v2/token';

Thank you.
I will look at it and revert ASAP.

@github-grabaz I have looked at it. Check if your base URL has a trailing slash and remove it.
https://github.com/njoguamos/laravel-zoho-oauth/blob/a7dff0796b3c8360de5bca867c23271b1bd14b59/config/zoho-oauth.php#L20-L25

The class not found problem is the real issue.
The "/" issues was because I included a "/" in my .env settings for the following:
BASE_OAUTH_URL=https://accounts.zoho.com/
So maybe some clearer directions for the .env settings.

I will update the runtime exception.

FYI - The instructions at https://njoguamos.github.io/laravel-zoho-oauth/instructions show the trailing "/" in the BASE_OAUTH_URL config.

Thanks for your help!

FYI - The instructions at https://njoguamos.github.io/laravel-zoho-oauth/instructions show the trailing "/" in the BASE_OAUTH_URL config.

Thank you for identifying the typo. I will fix it.

Ok - closing


drivers: tmag5273 add missing ifdef around CRC support

An ifdef was missing in the tmag5273_get_crc_size function, resulting in build errors without CONFIG_CRC.

@deveritec-rosc Please fix the compliance issue.

fixed


Introduced Components

This PR introduces blade components to the livewire components that power 2FA setup, making it cleaner and seperating concerns based on setup stage.
It also adds a logout button on the setup 2fa page, giving user ability to signout of an account if they are not ready or do not have the ability to setup 2FA at the time of logging in.
Added @csrf tag to logout component to avoid page expired when trying to logout.

This is beautiful, thanks @elishaukpong


Add clear button

Hey! Thank you for this fantastic tool 🙂
I've noticed the Reset stats i.e. clean event log item in the backlog and I'd like to help with that.
The implementation seems naive but I am eager to fix some issues if there are some.

Nice! Congrats!


Build error on android

After installation when I try to build and run on android device I see:
...
:react-native-directed-scrollview:processReleaseResources
:react-native-directed-scrollview:generateReleaseSources
:react-native-directed-scrollview:incrementalReleaseJavaCompilationSafeguard
:react-native-directed-scrollview:compileReleaseJavaWithJavac
:react-native-directed-scrollview:compileReleaseJavaWithJavac - is not incremental (e.g. outputs have changed, no previous execution, etc.).
/home/default/projects/react-native/AwesomeProject/node_modules/react-native-directed-scrollview/android/src/main/java/com/rnds/DirectedScrollView.java:161: error: no suitable method found for emitScrollEvent(DirectedScrollView)
    ReactScrollViewHelper.emitScrollEvent(this);
                         ^
    method ReactScrollViewHelper.emitScrollEvent(ViewGroup,float,float) is not applicable
      (actual and formal argument lists differ in length)
    method ReactScrollViewHelper.emitScrollEvent(ViewGroup,ScrollEventType) is not applicable
      (actual and formal argument lists differ in length)
    method ReactScrollViewHelper.emitScrollEvent(ViewGroup,ScrollEventType,float,float) is not applicable
      (actual and formal argument lists differ in length)
/home/default/projects/react-native/AwesomeProject/node_modules/react-native-directed-scrollview/android/src/main/java/com/rnds/DirectedScrollView.java:166: error: method emitScrollEndDragEvent in class ReactScrollViewHelper cannot be applied to given types;
      ReactScrollViewHelper.emitScrollEndDragEvent(this);
                           ^
  required: ViewGroup,float,float
  found: DirectedScrollView
  reason: actual and formal argument lists differ in length
/home/default/projects/react-native/AwesomeProject/node_modules/react-native-directed-scrollview/android/src/main/java/com/rnds/DirectedScrollViewPackage.java:20: error: method does not override or implement a method from a supertype
  @Override
  ^
Note: /home/default/projects/react-native/AwesomeProject/node_modules/react-native-directed-scrollview/android/src/main/java/com/rnds/DirectedScrollViewManager.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
3 errors
:react-native-directed-scrollview:compileReleaseJavaWithJavac FAILED

FAILURE: Build failed with an exception.
...

My environment:
         "dependencies": {
		"react": "16.0.0-alpha.12",
		"react-native": "0.47.1",
		"react-native-directed-scrollview": "1.2.1"
	},
	"devDependencies": {
		"babel-jest": "20.0.3",
		"babel-preset-react-native": "2.1.0",
		"jest": "20.0.4",
		"react-test-renderer": "16.0.0-alpha.12"
	}

node -v
v7.4.0

Any ideas what is wrong?

@davvvid1 Should be fixed with 1.3.0


Current indexer status: TransientFailure

Hello Team,
After website deployment. Indexer is failing. I verified in search indexer and below is the error from indexer.
Indexer Error:
Could not execute skill because the Web Api request failed.
localId=https%3a%2f%2fazsjfkfiles.blob.core.windows.net%2fjfkfiles%2fcastro%2520operation%2fdocid-32105760.pdf&documentKey=https%3a%2f%2fazsjfkfiles.blob.core.windows.net%2fjfkfiles%2fcastro%2520operation%2fdocid-32105760.pdf
Initializer log
Website deployment accepted.  Waiting for deployment to complete...
Current website deployment status:
Website deployment completed.
Website url: https://xxxxxxxx.azurewebsites.net/
Waiting for indexing to complete...
Current indexer status: InProgress
Current indexer status: InProgress
Thread finished:  #3
Thread started:  #11
Current indexer status: InProgress
Current indexer status: InProgress
Current indexer status: InProgress
Current indexer status: TransientFailure

Looks like this is a legit error with the Azure Functions unfortunately, I will see if I can find some time to look into it more in depth.
Web Api response status: 'InternalServerError', Web Api response details: '

 HTTP Error 500.31 - ANCM Failed to Find Native Dependencies


Treewide changes

Rework github action:

don't upload then download artifact
use globbing to reduce repetitive code
use nix store prefetch-file to get a SRI hash
rework the format of output
create release then add indexes after

Rework wrappers:

runCommand -> symlinkJoin
lib.versionAtLeast + lib.bootToString over bash functions
makeWrapper -> makeBinaryWrapper

Modules:

remove added _module.args
pass self over import
set _file for error reporting
use mkDefault consistently
use mkEnableOption

Database:

use nixpkgs fetcher with unsafeDiscardRefrences to not fetch database at
eval time

Misc:

add nixpkgs-fmt as a formatter as that's what was being used but was not
documented

Could you split this in multiple commits for easier review?
Maybe even multiple PRs as the changes are pretty independent.

Yeah I can try to split it up into multiple commits

I will run the workflow on my fork to ensure it works

oh the workflow still pushed to the main branch... had to undo that

https://github.com/Gerg-L/nix-index-database/actions/runs/9432784625

Could you split this in multiple commits for easier review?
Maybe even multiple PRs as the changes are pretty independent.

One PR is fine for me.

@mergify rebase

Bummer. I thought github would allow me to do this. I cherry-picked some stuff here: https://github.com/nix-community/nix-index-database/pull/104
All you need to do locally to resolve merge conflicts is:
git pull
git rebase origin/main
git push --force

@mergify rebase

Merged in https://github.com/nix-community/nix-index-database/pull/106

Thanks mic, You're always quick!


one simple question)

Sorry, is there a way to control sound devices here?

Hi!
Unfortunately hyprmixer only controls applications playing audio/videos and not devices


Mouse Event Failuer

Current Behavior 😯
When onMouseEnter={handleClick} and onMouseLeave={handleClose} is used in Button,  onMouseLeave event triggers as soon as we hover the button. So, no menu is shown on hover
Expected Behavior 🤔
onMouseEnter should show menu on hover while onMouseLeave should close the menu when moved out of the button
Video
https://user-images.githubusercontent.com/43830893/111882722-164f3700-89dd-11eb-89ec-6c16c8212a06.mp4

Reproduction: https://codesandbox.io/s/determined-engelbart-3jz7o?file=/index.js

Duplicate of #7680


Not able to deploy SQL schema

Describe the bug
Not able to deploy SQL schema (Build 20201014-1)
FHIR Version?
R5
Data provider?
SQL Server
To Reproduce
Steps to reproduce the behavior:

Create a new Database
Apply src/Microsoft.Health.Fhir.SqlServer/Features/Schema/Migrations/4.sql

Expected behavior
Script executed successfully
Actual behavior
Msg 208, Level 16, State 1, Line 10
Invalid object name ‘dbo.SchemaVersion’.
Same problem applying diff script since 1.sql has been removed.
Last working build with 1.sql was Build 20200829-1.

@CaitlinV39 to link guides

@davidegiacometti we did release an update so that the schema is not automatically updated. You can see two documents that might help with this

https://github.com/microsoft/fhir-server/blob/master/docs/SchemaMigrationGuide.md - This is the overall guide on Schema Migration
https://github.com/microsoft/fhir-server/blob/master/docs/SchemaMigrationTool.md - This walks through how you can do the Schema upgrade on demand

Let me know if you have additional questions!

Hi @CaitlinV39,
I have read the guides but it didn't help.
What I am trying to achieve is deploy the schema without using automatic schema upgrade or schema migration tool from Build 20201014-1.
I think I have 2 options:

Apply the script 4.sql but it fails with error
Msg 208, Level 16, State 1, Line 10
Invalid object name ‘dbo.SchemaVersion’.

Apply the following scripts
1.sql
2.diff.sql
3.diff.sql
4.diff.sql
But 1.sql has been removed

@davidegiacometti Could you confirm when are you seeing this error - on the server startup/metadata endpoint or while running the tool?
Could you try switching the below flag to true

To give some more information regarding this:

2. Apply the following scripts
1.sql
2.diff.sql
3.diff.sql
4.diff.sql
But 1.sql has been removed

Our strategy is that we provide Snapshot scripts, so applying 4.sql is all that is needed for a new install. The migration pathway using .diff scripts is only needed for existing databases.

@brendankowitz then 4.sql is broken for a fresh install since the first statement is
INSERT INTO dbo.SchemaVersion
VALUES
    (4, 'started')

but table SchemaVersion doesn't exists.

These scripts are now all based on a shared migration framework which was moved to https://github.com/microsoft/healthcare-shared-components/tree/master/src/Microsoft.Health.SqlServer/Features/Schema/Migrations.
The migration tool and the fhir server should automatically apply this.
//cc @rbans96

@davidegiacometti let me know if Brendan's updates resolve your issue or if you still have questions. We are going to continue to look at ways to optimize in the future.

I have been able to deply the schema using https://github.com/microsoft/healthcare-shared-components/tree/master/src/Microsoft.Health.SqlServer/Features/Schema/Migrations.
Thanks


[bug-report] Provider signIn button doesn`t redirect to privider if configured as "Big Icon"

Steps to reproduce:

Add a custom OAuth provider.
Add a application which use the provider in step 1.
In applications Signin items list, select "Big Icon" as Providers Rule.
I used go sdk to redirect user to the application`s sinIn page.
Some user click Oauth provider`s "Big Icon"
The  user got error "Please input your Email or Phone!" noticed in red color.

Expected:
The user can be redirected to the provider`s login plage.
Version:
v1.585.0

@keisni cannot reproduce this. Give more screenshots and demo videos

https://github.com/casdoor/casdoor/assets/4084002/c9817bf4-864c-44af-b877-b7a63ed329f9
SSO is the "name" of custom oauth provider.

@keisni can you reproduce it in demo site: https://demo.casdoor.com/ ? What is your application setting? Can you post the full JSON of the application?

@keisni get the response of the API request (via Chrome F12)

Im afraid that I cant upload the full app json coz it contains censtive information, and its just a simple app with custom oauth provider.

@keisni it can't be reproduced in: https://door.casdoor.com/login/oauth/authorize?client_id=0ba528121ea87b3eb54d&response_type=code&redirect_uri=https%3A%2F%2Fforum.casbin.com%2Fcallback&scope=read&state=app-casbin-oa
(please ignore the final error like below)

@halozhy can you show me a example app with provicer { "type": "Custom", "category": "OAuth" } showed with big icon?

Fixed by: https://github.com/casdoor/casdoor/pull/2900


Create single localization section for cleanliness

I removed  languageTag from the localization schema and also fixed the localizationInfo node, @akinolugbade can you review and approve?


The .DS_Store file needs to be ignored in .gitignore file

The .DS_Store file needs to be ignored in .gitignore file

Implemented in https://github.com/fabric8-analytics/fabric8-analytics-utils/pull/33


Add JSON_PRETTY_PRINT to JSON-Files

Like proposed and allowed here, I added an option to JSON_PRETTY_PRINT the output in the JSON-files. Because the encoding isn't on a single point, I added a wrapper function to a few classes.
Three questions:

Move JSON_ENCODE to a static single place?
Adding the exception, which can occur while encoding into a log?
Add testcases for the pretty print?

Hello @basteyy
Thank you very much for your contribution.
I found one big issue in the pull request:

Type declarations are used, which are not supported by PHP 7.0

I think we could use this opportunity to extract json_encode and json_decode completely into a separate class.
With that we could allow the user to change the encoding and decoding completely if want or need to. #167
I created a new branch feature/document-saving.
After the type declarations are removed I will merge your pr into that branch.
Then I plan on extracting the whole encoding/ decoding into a new class and write some tests.
Feel free to contact me if you want to help me with that :blush:

@Timu57 thanks for the feedback. As I described here https://github.com/rakibtg/SleekDB/pull/234#discussion_r878758462, there is support for method construction for bool and string since 7.0. But you are right for the class properties. I removed it from there.


403::Organization concurrent user limit exceeded

I wanted to stream the client continuously. Maximum 20 client run cocncurrently in salesforcestreaming after that we got an error like this 403::Organization concurrent user limit exceeded . I am running One client concurrently but after sometime, I got an error like this ..
[aiocometd.exceptions.ServerError: ('Connection closed by the server', {'ext': {'sfdc': {'failureReason': '403::Organization concurrent user limit exceeded'}, 'replay': True, 'payload.format': True}, 'advice': {'reconnect': 'none'}, 'channel': '/meta/handshake', 'id': '1', 'error': '403::Handshake denied', 'successful': False}) ] .
I don't know why this error coming Can you give some solution about this issue?

That's not a bug or issue with the Python library, that's just a limitation of the Salesforce licence you have subscribed to. If you upgrade to Enterprise Edition you can raise the limit from 20 to up to 1,000 simultaneous concurrent subscribes and with Performance and Ultimate Editions you are permitted up to 2,000. If you don't see the need to upgrade the licence, you can also consult with your Account Executive and inquire if there's an option to purchase more simultaneous subscriber licences.


Bug on docker-machine upgrade (boot2docker) on Windows

When I try a docker-machine upgrade dev on Windows, it seems to go OK until we actually try to copy the new ISO in place of the old one.  I get an error:
rename [path to tmp ISO] [path to boot2docker.iso]: Cannot create a file when that file already exists.

I seem to recall a little bit about this in the b2d upgrade code, so I will start fishing there for hints - looks like we just need to actually remove the old boot2docker.iso before renaming the new ISO downloaded to boot2docker.iso.
cc @SvenDowideit @tianon @ehazlett WDYT

that would make sense but I defer to @SvenDowideit as he probably knows from the b2d side.

Yeah, that bug was fun.  Windows is picky about replacing files if they're
in use, IIRC.  Basically, I'd recommend you steal whatever hanky
delete-copy logic boot2docker has here, even if it's just for Windows. :+1:

I have a fix for this in the pipe.

This is the b2d code: https://github.com/boot2docker/boot2docker-cli/blob/0a3a250f0d3e3b7362fbb7eafecb0891dbf7befc/util.go#L91
@tianon Do you know the motivation of the extra .bak file?  I'm having a hard time trying to figure out the failure case here.  If the download succeeded, the window of failure seems small if we just go ahead and remove the ISO, then rename the downloaded file.

Not sure, especially since Windows won't be any more happy about renaming
if the file is use than it is about overwriting.

https://github.com/boot2docker/boot2docker-cli/commit/5a65dfe687ef9dc57d402eff93162019e994f6ce

ie, https://github.com/boot2docker/boot2docker-cli/pull/86

So, I don't see anything specific about why it has to be renamed and not just removed.  It might work. :+1:

Yeah, that's what I'm inclined towards.  I'll fix it up if we discover an issue with that method.

you can rename a file thats open on windows (iirc), but you can't delete it.
also - I like backups, that way i can compare what i had to what i have, and roll back.
tbh, I was planning on making the b2d-cli code replace this mess with filenames with versions - which machine, with its multiple vm's would benefit from more.

Would love to hear a proposal from you on the subject (versioning) @SvenDowideit


Different hyphens between environments

I've run into a issue, that seems to originate from https://github.com/ytiurin/hyphen/releases/tag/v1.10.5
Guessing it's related to #98
I've made a very simple test to reproduce the issue.

Create a new project and install vitest and hyphen
Create a hyphen.test.js file, and add the code

/**
 * @vitest-environment node
 */
import { test, expect } from 'vitest'
import hyphen from 'hyphen/da'

test('should add hyphen', () => {
  const output = hyphen.hyphenateSync('Sommerhuse med pool', { hyphenChar: '-' })
  expect(output).toBe('Som-mer-huse med pool')
})

(Using a custom hyphenChar to make it easy to visualize)
Running the following test on version 1.10.5+ on a Windows machine breaks:
+Expected: "Som-mer-huse med pool"
-Received: "Som-mer-hu-se med pool"

Downgrading to 1.10.4 gets the test to pass
Running on Mac/Linux, and the test passes
Running in a Browser environment and the test passes

It might be related to the Danish pattern. Switching to en doesn't give the issue (with this text), but it might with others.

The reason we discovered this issue, was because React was giving us hydration errors, caused by a mismatch in hyphens between our Windows server and the browsers.


Frequently asked question example to connect to an existing application doesn't work.

I am following these instructions to connect to an existing instance of notepad.
https://github.com/Microsoft/WinAppDriver/wiki/Frequently-Asked-Questions/a8c02cfac47b4bf0c12c571b6010c403dcfe5e7f#when-and-how-to-attach-to-an-existing-app-window
But they don't seem to work as they always launch a new notepad instance.
    private const string NotepadAppId = @"C:\Windows\System32\notepad.exe";
    protected static WindowsDriver<WindowsElement> session;

    public static void SetupExisting(TestContext context)
    {
        DesiredCapabilities appCapabilities = new DesiredCapabilities();
        appCapabilities.SetCapability("app", NotepadAppId);
        session = new WindowsDriver<WindowsElement>(new Uri(WindowsApplicationDriverUrl), appCapabilities);
        Assert.IsNotNull(session);

        var currentWindowHandle = session.CurrentWindowHandle;
        Thread.Sleep(TimeSpan.FromSeconds(5));

        var allWindowHandles = session.WindowHandles;
        session.SwitchTo().Window(allWindowHandles[0]);
    }

I wish to get this working, because the application i will ultimately be testing can take anything from 1-2 minutes to launch and contains a splash screen.
Any suggestions are much appreciated.

Yes the code that you shared will always launch a new application. Because you are creating a session with notepad not root.

I just started reading this project's TODO , any how I noticed the sample for an existing window uses a different param, not "app" , ""appTopLevelWindow" .
NOT: SetCapability("app"
instead SetCapability("appTopLevelWindow"
I haven't tried this, just an noticed from RTFM on the link that you posted,


Envoy doesn't always send complete request body on POST request

Description
My organization has been struggling to isolate an intermittent problem we've been experiencing.  We have a legacy -- but still important -- request path that uses an HAProxy server downstream of Envoy.
client <--> HAProxy <--> Envoy <--> upstream service

When this arrangement is used -- and only when this arrangement is used, so far as we can tell -- the upstream service occasionally hangs trying to read the request body of an HTTP POST request.  What's happening is that the upstream service reads the Content-Length header and then tries to read that many bytes from the body of the request.  In the failing cases, it appears that Envoy stalls while sending request body bytes to the upstream service.  The upstream service therefore blocks trying to read the body bytes until the 120-second timeout in the upstream service cancels request processing and resets the connection to Envoy, triggering Envoy to return a 503 response.
At first we thought it must be an HAProxy problem, but I've used tcpdump to capture all traffic between HAProxy and Envoy and I've verified that the size of the request body sent from HAProxy to Envoy for failing requests is identical to that sent for working requests.  The data itself is encrypted, but the sizes are consistent.  And Envoy has ACKed, at the TCP level, the request bytes that were sent, so it seems that the request body is getting to Envoy.  It must therefore be Envoy that's not passing on the bytes on the upstream service.
We can reproduce this problem only on HTTPS connections, so maybe it has something to do with Envoy's TLS processing, or maybe that's important only because it affects the timing or the size of the chunks that are processed at a time by Envoy.
The configuration of buffer sizes seems to make a difference in how often the problem occurs, and what size request body is necessary to trigger it.  For example, changing the Envoy setting per_connection_buffer_limit_bytes for the downstream listener changes the symptoms.  Similarly, changing buffer sizes in HAProxy affects the symptoms.  But so far we've found no combination of buffer sizes that make this intermittent problem go away completely.  We can only affect the size of the request body that's needed to trigger it.
Steps to reproduce
We've managed to construct a standalone test case that runs HAProxy, Envoy v1.16.0, and an upstream service using Docker Compose, that can be used to (usually) reproduce and observe the problem.  This test case lives at https://github.com/jphx/envoy-stalled-request-body.  Instructions for running the test case are in the repository.
We would be very appreciative of any help in diagnosing and preventing this problem.

cc @cpakulski @antoniovicente
Thanks for the detailed report.
This seems very similar to this recently fixed issue which is waiting backport to v1.16 https://github.com/envoyproxy/envoy/issues/12304
Reason: it involves a stall while processing HTTPS bodies with specific watermark limits configured via per_connection_buffer_limit_bytes
cpakulski: let me know if you need some help with backports.

The referenced bug fix does sound promising.  I ran our standalone test case using the envoyproxy/envoy-dev:1d6d68bd659a78ad53b46799efa2f810c3eb2dd7 image, and so far I've been unable to reproduce the problem.  Thanks very much for the quick advice.  I'm now going to try that image in a real environment where we see the problem with an actual service.

A follow-up:  After deploying the mentioned Envoy image to our staging environment, we can no longer reproduce the problem.  I'd say it's a pretty good bet that the referenced pull request fixed it for us.  We'll have to figure out what to do until there's an official release that contains the fix.
Thanks again for the help!  Closing this issue is okay with me.


[CIVP-10187] Replace PollableResult with CivisFuture

Now that the futures.CivisFuture class exists, replace all uses of PollableResult with CivisFuture. This improves performance by increasing speed (we find out that runs complete immediately, instead of after polling) and by reducing the number of API calls needed.

@keithing , Travis fails because there's a warning when building the docs. Do you know how to resolve that?

That should be solved after https://github.com/civisanalytics/civis-python/pull/37

LGTM


[PDEV-3497] Initial version

Adds setuptools_scm hooks for rendering valid semver version strings, a
parse function for git tags that returns semver.VersionInfo rather than
packaging.version.Version, and a convenience get_version wrapper
configured with those changes.

These are good questions. I think it would be nice if it was publicly available on PyPI. I will write . suitable README etc.

OK, I've added a README. I would like to leave CI for now and publish the first version manually. Once it's clear how that should work I'll write a ticket for it (though hopefully we won't be changing this repo often...).


rafthttp: add stream metrics

http endpoint: /v2/stats/transport
format:
unihorn@CoreOS ~/g/s/g/a/kafka> curl http://<IP_ADDRESS>:4003/v2/stats/transport | python -m json.tool
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   214    0   214    0     0   144k      0 --:--:-- --:--:-- --:--:--  208k
{
    "6e3bd23ae5f1eae0": {
        "stream": {
            "entries_sent": 49,
            "last_index_sent": 18243,
            "write_latency_ns": 43175
        }
    },
    "a8266ecf031671f3": {
        "stream": {
            "entries_sent": 49,
            "last_index_sent": 18243,
            "write_latency_ns": 14024
        }
    }
}
unihorn@CoreOS ~/g/s/g/a/kafka> curl http://<IP_ADDRESS>:4002/v2/stats/transport | python -m json.tool
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   118    0   118    0     0  76326      0 --:--:-- --:--:-- --:--:--  115k
{
    "924e2e83e93f2560": {
        "stream": {
            "entries_received": 61,
            "last_index_received": 18255,
            "read_latency_ns": 500042274
        }
    }
}

for #1766

@xiang90 refreshed.

@xiang90 updated.

metric test added

@yichengq How about this:
having a global group called etcd.
each etcd member has a subgroup named as its id.
then we do not need to pass the group thing around.

also we need to add /pkg/metrics to test.

i will rewrite it based on discuss


Added migration to ensure stripe_plans in correct state

closes #12020
This fixes an issue which occurs if you upgrade to 3.22.0, attempt to save settings and then upgrade to 3.22.2 where the stripe_plans settings are lost.
There should only be two cases when encountering this migration

The installation was not affected by the bug, stripe_plans setting is valid & this migration will exit early, doing nothing.
The installation was affected by the bug, stripe_plans setting is empty & this migration will update it with the default settings.

The migration also tries to cater for undefined cases by validating the existence of the monthly & yearly plans in the stripe_plans setting - if these are not present it will update the value with the default settings

Closing because this PR only addresses the members settings, and not the wider settings issues.


Blog app - Add forms

Project 6: Forms
In this PR, I did the following:

Add create and new post route
Create post form
Create comment form
Allow user to add likes

Hi @usmansbk 👋,
Your project is complete!  There is nothing else to say other than... it's time to merge it :shipit:
Congratulations! 🎉

Cheers and Happy coding!👏👏👏
Feel free to leave any questions or comments in the PR thread if something is not 100% clear.

As described in the Code reviews limits policy  you have a limited number of reviews per project (check the exact number in your Dashboard). If you think that the code review was not fair, you can request a second opinion using this form.


Support multiple swarm client args

My desire was to use the -disableClientUniqueId option similar to #567. I thought it may be better to just create a long string for users to input multiple swarm client arguments. The list of options are listed here: https://github.com/jenkinsci/swarm-plugin/blob/master/client/src/main/java/hudson/plugins/swarm/Options.java.
There are quite a number of options that aren't implemented into the module currently and ultimately, I think this would be an easier way to do it than to add class parameters for each option.
Thoughts?

Could you add some rspec coverage of this change and rebase on current master?

@jhoblitt Rebased and rspec tests added.

Resolved by #665

@jhoblitt you mean #655 :)


NotifyTerms & Name dings abide SoundWhenTabFocused

This one was pretty simple after all!

Thought it would be. Approved. :100:


More advanced instance detection

Currently Fediseer has some problems with instance detection when the instance is configured on another domain/subdomain.
See this example:
User URL: https://md.ilyamikcoder.com/@ilyamikcoder
User handle<EMAIL_ADDRESS>This could probably be related too, but also could be a lack of API method implementation or incomplete WKD configuration:
User URL: https://rayslava.com/blog
User handle<EMAIL_ADDRESS>

CC @rayslava

I'm not sure I understand the problem, what exactly doesn't work on Fediseer?

If you try to guarantee ilyamikcoder.com or rayslava.com it'll fail to detect the instance.


Fix package.json verification

Description
In order to fix the e2e pipeline I have:

removed package.json check
removed cordova plugins cache
removed npm cache

Checklist

[x] e2e pipline succed [1]

https://circleci.com/workflow-run/6ce6ac9b-f810-4547-ba0f-5b711b1a5231

Hey @darahayes do you have a second to review this PR?


New approach to ignore frequent spans

Instead of trying to delete all spans of a given name, this works by having a parent span, either always_quiet_children or sometimes_quiet_children, and then putting quietened spans inside of that. If this isn't done, then grandchildren of quietened spans simply get the quietened span's parent, or no parent, and therefore do not get ignored, as they are no longer children of the quietened span. Since the quiet_children spans are never deleted, this solves the issue.
xtra needs to have https://github.com/Restioson/xtra/pull/154 merged before this will work, since otherwise lookup_current may return None, which breaks this solution, as then there is no way to get the parent from the Context. Therefore, this is a draft PR until https://github.com/Restioson/xtra/pull/154 is merged. Merged!

One thing I was wondering is if it's worth making a new, tiny crate that just defines two macros - one for always_quiet and one for sometimes_quiet, so that the user-crates don't need to copy out info_span!(target: "quiet_children", "always_quiet_children"), etc

One thing I was wondering is if it's worth making a new, tiny crate that just defines two macros - one for always_quiet and one for sometimes_quiet, so that the user-crates don't need to copy out info_span!(target: "quiet_children", "always_quiet_children"), etc

I would probably go with a free function and / or consts. I'm not sure we need a macro / crate for this - seems like it would needlessly slow down the build even further :P

Why are there 3 distinct strings and how to know which one to use (if we don't rely on a crate that provides them, it's even hard to put docs into it):

sometimes_quiet_children
quiet_children
always_quiet_children`

is there any difference between the first 2? When looking at the utility of silencing the spans, I would distinguish 2 myself:

ones that you can override ("sometimes_quiet_children")
ones you can't, as they are disabled permanently ("always_quiet_children")

what's the utility of quiet_children ?

what's the utility of quiet_children ?

quiet_children is the log target for both, and the idea is that shared_bin::init will set this to info so that the spans are never ignored.

if we don't rely on a crate that provides them, it's even hard to put docs into it

I agree. I am going to restructure the PR to add a helper crate so that it's more maintainable

I've refactored this now into a quiet_spans crate as you suggested :slightly_smiling_face:

bors r+


The REST API is documented through an OpenAPI definition, and versioned

Hi there ! I'm interested in requesting this user story
If you have any guidelines or suggestions for how to approach this request, or if you would like to discuss the details further, please let me know. I appreciate your time and consideration, and I look forward to hearing back from you.
Best regards,

Hey @wiZzwise feel free to work on this! I have started at some point but wasn't successful. I tried to use https://github.com/springfox/springfox but it wasn't representing our REST endpoint correctly.
By the way I currently have a manual documentation at https://docs.nubesgen.com/reference/rest-api/


feat: grpc interface

We'd love to see more contributions
Read how you can contribute to the project.

Please attach an issue link which your PR solves otherwise your work may be rejected.

Current dependencies on/for this PR:

main

PR #11   👈

This comment was auto-generated by Graphite.


Fixed a bug of apiserver's service account key file.

According to https://kubernetes.io/docs/admin/service-accounts-admin/, the apiserver accepts service-account-key-file with public key, not private key file.

Hey - Thanks for your help with this. I'm closing this PR because this repo is not in alignment with current versions of Kubernetes, and is no longer active. The CoreOS Kubernetes documentation has been moved to https://github.com/coreos/tectonic-docs, where it will be published and updated.


Minor fix. Fix menu items sorting based on stock quantity.

Enable admin sorting menu items based on their stock quantity.
It was disabled due to wrong SQL query that was build based on
wrong configuration.
It fix this

Same error was happening when admin wanted to sort menu items based on its quantity.
I mistaken this issue to be relevant to this bug.
I will update it later. I will create separate issue related to this fix.


Add array.at function

Oh, @dkirchhof , would you also add an entry to the changelog about this being added?


Add "sourceMapDir", "declarationMapDir", "inlineDeclarationMap", and "declarationMapInlineSources" compiler options

Search Terms
TypeScript, Compiler Options, Source Maps, Declaration Files
Suggestion
Currently, there exist the TypeScript compiler options sourceMap, inlineSourceMap, inlineSources, declaration, declarationMap, and declarationDir but there is no way to tell the compiler the folder for the source map files and the declaration map files. The declaration map cannot be part of the declaration file, too, and the source code cannot be inlined into a declaration map.
Therefore, please add the compiler options:

sourceMapDir: the folder of the emitted source map files;
declarationMapDir: the folder of the declaration map files;
inlineDeclarationMap: the declaration map is put into the declaration file using a comment;
declarationMapInlineSources: the source code becomes part of the declaration map similar to the option inlineSources for generated JavaScript files inlining TypeScript sources.

The options inlineDeclarationMap and declarationMapInlineSources should also be usable together. It is similar to using inlineSourceMap and inlineSources together.
Using Gulp together with gulp-typescript and gulp-sourcemaps there is already the possibility to specify a source map folder and declaration map folder using sourcemaps.write("<folder>", options) but it would be better to have that possibility as part of a TypeScript compiler option.
Use Cases
Of course, these compiler options are not necessary in most cases but they open up more flexibility to the user, and the implemetation should not be very difficult.
At least the option inlineDeclarationMap would reduce the cluttering of files in the declarationDir folder, and declarationMapInlineSources together with inlineDeclarationMap would make it possible to ship a declaration file with the sources as one file.
Checklist
My suggestion meets these guidelines:

[x] This wouldn't be a breaking change in existing TypeScript/JavaScript code
[x] This wouldn't change the runtime behavior of existing JavaScript code
[x] This could be implemented without emitting different JS based on the types of the expressions
[x] This isn't a runtime feature (e.g. library functionality, non-ECMAScript syntax with JavaScript output, etc.)
[x] This feature would agree with the rest of TypeScript's Design Goals.

I'm one of the maintainers of Stylable, a CSS pre-processor and I'm currently working on a feature that would allow us to generate definition files and source mapping for files for every stylesheet the user creates.
I'm really interested in a two of features that this issue suggests, those being allowing source-maps to be in-lined in definition files, and the ability to place definition files anywhere in the project and have them point to the file they're describing.
The way things currently are, a lot of files end up being generated in development mode and really clutter the user's project.

It would be a great addition and for sure will make my src dir leaner.
At least an inline source map and inline declaration file would help a lot!


Pull Request For Issue #307

Working for aligning icons similar to google photos.
Added React Native Video Player.
Removed expo-av

I am still working to improve the feature.

TODO:
The PinchGesture and TapGesture parent elements should be removed as it zooms the video with the pinch and tap gesture.
React-native-video-player has icons at different places
We need to use react-native-video library (without controls) and then add buttons according to our requirements

Thanks, @vibhuti019 , Could you please make PR on the develop branch? now you have made PR on the master branch

@ghorbani-m done sir

I think we need to update we can't use react-native-video-player, we need to use react-native-video and above that another view

Incompleted


Set http(s) proxy and/or no_proxy appropriately in build-image.sh

The build-image.sh sets docker build arguments with http(s) proxy and no proxy though these are not set in a test environment which makes make image step fail as part of network-resources-injector installation.
Please set those parameters only if these are defined in system env variables.

Hi @pperiyasamy, I'm sorry but I couldn't reproduce it, I tried to run make image on a system without proxy env variables (no proxy settings in the ~/.docker/config.json either) and it builds just fine. Are you sure that proxy env variables are the root cause here?

Hi @przemeklal Our test setup is running without http proxy, so when i ran make image , then http gateway timeout error is seen while downloading docker images. After removing --build-arg parameters in build-image.sh, then it started working fine.  hence i thought these parameters should be set only when required like this one.

Interesting - I'll look into this, should be easy to fix.


Automatic hoisting of common dependencies

creating this issue to track discussion of implementation.
this feature will:

find common dependencies amongst all packages
** subject to semver compatibility
** incompatible (less common) versions of the same common dependency will be installed normally within each package
check for collisions with existing dependencies at the repo root
** figure out how to handle this situation
install common dependencies at repo root

some thoughts.

should this only work with peerDependencies by default, with an option to hoist everything?
this could create a scenario where a package's dependencies are stale because a required dependency has been hoisted. should we include a health check to make sure all dependencies are defined?

incompatible (less common) versions of the same common dependency will be installed normally within each package

This should trigger a warning.

check for collisions with existing dependencies at the repo root ** figure out how to handle this situation

This should be an error if semver incompatible.  Otherwise, a noop.

should this only work with peerDependencies by default

I think the case has been made pretty convincingly that we shouldn't install peerDependencies at all, actually.
Strategies that seem reasonable:

Hoist all external deps, and support opt-out on a per-dep basis (e.g. --no-hoist=lodash).
Hoist nothing by default and support opt-in (e.g. --hoist=babel*).
Support both opt-in and opt-out (e.g. --hoist=* --no-hoist=lodash).

Thanks for taking this on @rygine!

I think the case has been made pretty convincingly that we shouldn't install peerDependencies at all, actually.

if my mono repo is all react components, and react is in peerDependencies of all packages, wouldn't it make sense to hoist it? this is definitely confusing to me as i'll want a live demo/test running during development. is react part of devDependencies and peerDependencies? i've never been able to find clarity on this.

Strategies that seem reasonable:

Hoist all external deps, and support opt-out on a per-dep basis (e.g. --no-hoist=lodash).
Hoist nothing by default and support opt-in (e.g. --hoist=babel*).
Support both opt-in and opt-out (e.g. --hoist=* --no-hoist=lodash).

what about making hoisting optional by default. --hoist will hoist everything intelligently. --hoist=babel* will hoist specific packages, and --no-hoist=lodash will exclude certain packages from being hoisted.
i don't think meow/minimist cares about argument types so it should support boolean/string for the --hoist option.

is react part of devDependencies and peerDependencies?

Yeah, AFAIK that's the only sane way to handle it in npm3.

--hoist will hoist everything intelligently. --hoist=babel* will hoist specific packages, and --no-hoist=lodash will exclude certain packages from being hoisted.

Awesome! :metal:

Oh... actually I wonder if the option name should be --hoist-external.  Not quite as nice to look at (or type), but a little more clear that it only applies to external dependencies. 😕

i think it may be implied. internal/local packages are just symlinked to each other. or maybe the docs needs an update. ;)

@gigabo closing this as it's merged! :)


fix undocked solution.

Description
The undocked solution file builds nuget packages and MSI, but they are generated one more time in post-build.ps1. To avoid the redundancy, the nuget, msi projects are removed from the undocked solution. Also, the onebranch project is added for nativeonly* configuration as well.
The post build script is modified to generate the nuget-redist package as well has handle the native-only configuration.
Testing
The binaries built by this solution does not run on any tests on this pipeline.
Documentation
N/A.
Installation
N/A.

@shankarseal I propose we get rid of the duplicate solution file. It only existed because we originally didn't want to upstream changes from the internal fork, but given that we are now keeping the two forks strictly in synch, this solution file is now redundant.

@shankarseal I propose we get rid of the duplicate solution file. It only existed because we originally didn't want to upstream changes from the internal fork, but given that we are now keeping the two forks strictly in synch, this solution file is now redundant.

There is also a race condition as the onebranch project is running in parallel with other jobs that is it not dependent on and the xcopy is failing due to sharing violation. Trying to figure out a solution.

Please don't revert the upload of the netperf results.

Reverted un-intentional change.


1.9.4 Release contents

[ ] Update Builder to use UBI9 images - https://github.com/open-ce/open-ce-builder/issues/204
Builder is updated to use UBI9 images for CPU builds.
[ ] Upgrade machine to RH 9.

[x] Create UBI9 images for CUDA 11.8 as these are not available on Docker Hub.
~- [ ] Use UBI9 image for s390x~
[x] Use UBI9 image for P10

[x] No match for argument: libtirpc-devel

[x] Use openssl 3 for PPC and x86.

[x] Disable FIPS patch in mamba which was used with openssl 1.
[x] Pin importlib-metadata in cudatoolkit recipe to avoid Build tree creation failure.

[x] Update security findings as appropriate : #987

[x] 1.9.4: Backport transformer CVEs from 4.3.6: https://nvd.nist.gov/vuln/detail/CVE-2023-7018 and https://nvd.nist.gov/vuln/detail/CVE-2023-6730
[X] Build on s390x.
~- [ ] libvpx failure~
~- [ ] lprotobuf build failure~

[x] UBI9 on s390x has issues in the OS libs, so using UBI8.

[x] Local CPU Build on x86.

[x] Env creation conflict.

[x] Local CUDA 11.8 Build on x86.

[x] Env creation conflict

[X] P10 build with ~GCC13~ GCC12

[x] TF family failures.
[x] PyTorch fails

[x] Release Update PR
[x] Release Notes
[x] Feedstock tests

[x] PyTorch Lightning
[x] PyTorch Lightning Bolts
[x] PyTorch
[x] XGBoost

[x] MMA tests
[x] Tag Builder v12.0.3

[ ] Update grpcio to v1.53.2

Delivered


Add a pre-submit test that builds the Mac binaries.

(This is used to request new product features, please visit https://github.com/istio/istio/discussions for questions on using Istio)
Describe the feature request
See https://github.com/istio/istio/pull/49858, but occasionally a PR may require a small tweak in the MacOS/Linux code to continue to build on a Mac. Create a test that just builds the Mac binaries to verify a change isn't needed here.
Arguably, this doesn't happen often, but it should a smaller test to just try building the binaries.
Describe alternatives you've considered
Affected product area (please put an X in all that apply)
[ ] Ambient
[ ] Docs
[ ] Dual Stack
[ ] Installation
[ ] Networking
[ ] Performance and Scalability
[ ] Extensions and Telemetry
[ ] Security
[x] Test and Release
[ ] User Experience
[ ] Developer Infrastructure
Affected features (please put an X in all that apply)
[ ] Multi Cluster
[ ] Virtual Machine
[ ] Multi Control Plane
Additional context

Something like: TARGET_OS=darwin make build

Commit:  c5b11d3
> TARGET_OS=darwin make  build
TARGET_OUT=/work/out/darwin_arm64 ISTIO_BIN=/gobin GOOS_LOCAL=darwin bin/retry.sh SSL_ERROR_SYSCALL bin/init.sh
Skipping envoy debug. Set DEBUG_IMAGE to download.
Copying /work/out/linux_arm64/release/envoy-11084a8b7f0d8671faab20a37f751ca94695757c to /work/out/darwin_arm64/envoy
Copying /work/out/linux_arm64/release/envoy-11084a8b7f0d8671faab20a37f751ca94695757c to /work/out/linux_arm64/envoy
touch /work/out/darwin_arm64/istio_is_init
TARGET_OUT=/work/out/darwin_arm64 bin/build_ztunnel.sh
GOOS=darwin GOARCH=arm64 LDFLAGS='-extldflags -static -s -w' common/scripts/gobuild.sh /work/out/darwin_arm64/ -tags=disable_pgv ./istioctl/cmd/istioctl ./pilot/cmd/pilot-discovery ./pkg/test/echo/cmd/client ./pkg/test/echo/cmd/server ./samples/extauthz/cmd/extauthz ./operator/cmd/operator

real	0m31.430s
user	3m2.047s
sys	0m31.133s
GOOS=darwin GOARCH=arm64 LDFLAGS='-extldflags -static -s -w' common/scripts/gobuild.sh /work/out/darwin_arm64/ -tags=agent,disable_pgv ./pilot/cmd/pilot-agent
# istio.io/istio/tools/istio-iptables/pkg/dependencies
tools/istio-iptables/pkg/dependencies/implementation.go:149:17: undefined: shouldUseBinaryForCurrentContext
tools/istio-iptables/pkg/dependencies/implementation.go:155:17: undefined: shouldUseBinaryForCurrentContext
tools/istio-iptables/pkg/dependencies/implementation.go:165:9: undefined: shouldUseBinaryForCurrentContext
tools/istio-iptables/pkg/dependencies/implementation.go:212:53: too many arguments in call to r.executeXTables
	have (constants.IptablesCmd, *IptablesVersion, bool, io.ReadSeeker, []string)
	want (string, bool, io.Reader, ...string)
tools/istio-iptables/pkg/dependencies/implementation.go:217:49: too many arguments in call to r.executeXTables
	have (constants.IptablesCmd, *IptablesVersion, bool, io.ReadSeeker, []string)
	want (string, bool, io.Reader, ...string)

real	0m3.290s
user	0m12.365s
sys	0m2.416s
make[1]: *** [Makefile.core.mk:246: build] Error 1
make: *** [Makefile:44: build] Error 2

Passes on current commit.


[Feature] locate GSON libraries as a prebuilt JAR in the repo?

Feature description
...
Hi, am attempting to manually build Kotlin and Java controllers in Android studio, and am getting these unresolved references in my JsonToTLv.kt file. I assume that I need to add a JAR to my environment and was hoping to not have to pick through the github and do a Maven build since I am using the incorporated Gradle within Android studio.  Is this JAR located somewhere in the repo, or if not can it added as a future feature?
If not in the repo, I've looked around to see if I could download the jar but don't see one. Does anyone have one that they can post to the repo or somewhere else public?
import com.google.gson.JsonArray
import com.google.gson.JsonElement
import com.google.gson.JsonObject
import com.google.gson.JsonParser
Platform
windows
Platform Version(s)
No response
Anything else?
e: file:///C:/Users/kjcot/AndroidStudioProjects/KensMatterControllerSample/app/src/main/java/matter/jsontlv/JsonToTlv.kt:21:12 Unresolved reference: google
unresolved refs shown:

import com.google.gson.JsonArray
import com.google.gson.JsonElement
import com.google.gson.JsonObject
import com.google.gson.JsonParser

https://github.com/project-chip/connectedhomeip/blob/master/third_party/java_deps/set_up_java_deps.sh

thank you @yunhanw-google

one more comment, @yunhanw-google  I couldn't get the refs recognized by adding them to the ./libs directory - I also had to setup the project structure |  dependencies path to point to the jars. now they are recognized. I'm not sure why Android didn't look at the libs directory after synching the Gradle build.


Prevent ListWidget::set_scroll_offset to scroll too far

This implements a suggestion I made in https://github.com/newsboat/newsboat/pull/2153#pullrequestreview-1071992907.

Coverage increased (+0.01%) to 59.311% when pulling 0ce94187d0c44d06b3a6f2755f74599b6d942e25 on feature/2153-review-suggestion into cc2e12571af18a9f198c6a9d7663de39268b8c53 on master.


Typescript support

Will be TS realization for use it with Nodejs, e.g.?

both browser and node.js.


Chapter Selection (Named Goto)

Is your feature request related to a problem? Please describe.
The g key, goto feature is fantastic - but only if you know the slide number you need to visit.
I'd like to see this extended to offer chapter selection.
Describe the solution you'd like
In the frontmatter, we can add chapter: XYZ or name: XYZ and this gives us a name XYZ that we can use to jump around.
g input box should then support auto-completing X into XYZ if there's no ambiguity and go straight to that slide.
Describe alternatives you've considered
NA

@rawkode here is a draft of a solution for this case.
Can you have a look and tell me what you think ?

@tonai Sorry for the delay. That draft looks awesome.

routeAlias I think is fine while you gather some feedback from adopters
I agree that headers would lead to an overly complicated chapter selection, so let's avoid that.
I think a new parameter is a good route forward, but letting people adopt with the routeAlias approach and understanding the vocab people use for chapters could mean less hassle later.


linstor: deleteAsync fallback to volume UUID if path not set yet

Description
If Linstor resource creation failed before volume.setPath() was called/stored, path will be null
and cleanup attempt for that resource from CloudStack will fail (because there is no cs-null resource).
This PR now fallback to the volume.uuid if path wasn't set yet.
Partially fixes an issue from #9321

Types of changes

[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] New feature (non-breaking change which adds functionality)
[x] Bug fix (non-breaking change which fixes an issue)
[ ] Enhancement (improves an existing feature and functionality)
[ ] Cleanup (Code refactoring and cleanup, that may add test cases)
[ ] build/CI
[ ] test (unit or integration test code)

Feature/Enhancement Scale or Bug Severity
Feature/Enhancement Scale

[ ] Major
[ ] Minor

Bug Severity

[ ] BLOCKER
[ ] Critical
[ ] Major
[x] Minor
[ ] Trivial

Screenshots (if appropriate):
How Has This Been Tested?

Tested deleting volumes on a fresh Linstor/CloudStack cluster.
How did you try to break this feature and the system with this change?

@rp- is this critical (or is there a work around)? cc @sureshanaparti

@blueorangutan package

@sureshanaparti a [SL] Jenkins job has been kicked to build packages. It will be bundled with  KVM, XenServer and VMware SystemVM templates. I'll keep you posted as I make progress.

Packaging result [SF]: ✔ el7 ✔ el8 ✔ el9 ✔ debian ✔ suse15. SL-JID 10231

@blueorangutan test

@DaanHoogland a [SL] Trillian-Jenkins test job (centos7 mgmt + kvm-centos7) has been kicked to run smoke tests

[SF] Trillian Build Failed (tid-10713)

Changes in Linstor provider, Merging based on reviews & maintainer tests.


changed .md format to .rst format for multiline comments

Issue #, if available: None
Description of changes: It looks like the docs were recently changed from markdown to rst/sphinx, this change fixes some formatting differences between the two.
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Codecov Report

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

@@           Coverage Diff           @@
##           master     #817   +/-   ##
=======================================
  Coverage   94.32%   94.32%
=======================================
  Files          67       67
  Lines        2626     2626
  Branches      464      464
=======================================
  Hits         2477     2477
  Misses         78       78
  Partials       71       71

Continue to review full report at Codecov.

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

A fix for this was already merged into develop (#785), but has not made it into master yet.


Use get_docs_version() which links to /dev/ if needed.

It may make sense to send in both docs_version and django_version similar to startproject:
https://github.com/django/django/blob/master/django/core/management/templates.py#L110-L111

Thanks, these make sense. Merging in - and let us know what you think about passing them in the context instead.


OrientDB 3.0.2 - Is it possible to display text inside vertices in Graph Editor?

Hi @castrv
which kind of text?  You can display vertices properties

Hi,
I mean text label, as exemplified in the picture attached. It seemed possible in previous versions.


Skills Bars [feature-request]

Having to put my mouse over each skill every time I do a task to check how much experience I need or to see if I'm close to levelling up gets tiring after awhile. Skill bars that show the level of a skill and progress on the side would make it so that you could quickly glance at them and be able to identify everything you need to know without breaking away from the task in progress.

There's a progress bar built into the vanilla client. Right click the xp drop icon

There are XP globes, XP tracker sidebar, vanilla progress bar. I believe this is already well covered.


Apple SDK: bump to 10.12

Motivation for this change
Lots of things are requiring 10.12 nowadays. Seems like a good idea to update now.
Related to #35322 and https://lists.gnu.org/archive/html/emacs-devel/2018-03/msg00577.html.
Works okay for me but haven't tested it all the way.
/cc @NixOS/darwin-maintainers

Success on x86_64-linux (full log)
Attempted: pbzx
Partial log (click to expand)
building
installing
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/q0mh5f5kknx83kz55k433qb4diyas2h1-pbzx-1.0.2
shrinking /nix/store/q0mh5f5kknx83kz55k433qb4diyas2h1-pbzx-1.0.2/bin/pbzx
strip is /nix/store/fzcs0fn6bb04m82frhlb78nc03ny3w55-binutils-2.28.1/bin/strip
stripping (with command strip and flags -S) in /nix/store/q0mh5f5kknx83kz55k433qb4diyas2h1-pbzx-1.0.2/bin
patching script interpreter paths in /nix/store/q0mh5f5kknx83kz55k433qb4diyas2h1-pbzx-1.0.2
checking for references to /build in /nix/store/q0mh5f5kknx83kz55k433qb4diyas2h1-pbzx-1.0.2...
/nix/store/q0mh5f5kknx83kz55k433qb4diyas2h1-pbzx-1.0.2

Success on aarch64-linux (full log)
Attempted: pbzx
Partial log (click to expand)
building
installing
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/9jrxag340gkh1w9pnzr039f55b7y56ar-pbzx-1.0.2
shrinking /nix/store/9jrxag340gkh1w9pnzr039f55b7y56ar-pbzx-1.0.2/bin/pbzx
strip is /nix/store/3zq400fri5dv7d30lpxlqm2v9y1iis6j-binutils-2.28.1/bin/strip
stripping (with command strip and flags -S) in /nix/store/9jrxag340gkh1w9pnzr039f55b7y56ar-pbzx-1.0.2/bin
patching script interpreter paths in /nix/store/9jrxag340gkh1w9pnzr039f55b7y56ar-pbzx-1.0.2
checking for references to /build in /nix/store/9jrxag340gkh1w9pnzr039f55b7y56ar-pbzx-1.0.2...
/nix/store/9jrxag340gkh1w9pnzr039f55b7y56ar-pbzx-1.0.2

Success on x86_64-darwin (full log)
Attempted: pbzx
Partial log (click to expand)
patching sources
configuring
no configure script, doing nothing
building
installing
post-installation fixup
strip is /nix/store/vb6mgjqgd9h11nbv60fvrp1ls9nxck2y-cctools-binutils-darwin/bin/strip
stripping (with command strip and flags -S) in /nix/store/wy1zyd4b3bxcz8h6q07skszfidxbz7ld-pbzx-1.0.2/bin
patching script interpreter paths in /nix/store/wy1zyd4b3bxcz8h6q07skszfidxbz7ld-pbzx-1.0.2
/nix/store/wy1zyd4b3bxcz8h6q07skszfidxbz7ld-pbzx-1.0.2

Oops looks like we'll need to bump apple-source-releases as well.

Last time I tried to even take it to 10.11 we failed because our CF was too old (and really painful to update), and lots of apple headers use CF macros that aren't in our release. Has that changed somehow?

We have this now:
https://github.com/apple/swift-corelibs-foundation/tree/master/CoreFoundation
But I was actually hoping we could get away with updating the SDK without actually touching the stdenv- is that possible?

Not as far as I know 😦
Also, that swift-corelibs-foundation is something I put a lot of effort against but unfortunately it's also not a drop-in replacement unless something's changed in the past few months. The issue is that their default build produces a static library (I might have even put a package up for it on nixpkgs) but it delegates allocation out to the swift allocator, and doesn't seem to make it easy to plug in a different allocator. So it's the spiritual successor to the CF opensource releases (and actually includes more functionality than they did), but also assumes a bit of Swift runtime which I'm reluctant to bundle into our bootstrap.

I also tried this a while back and ran into issues with CF, the impure version should only be used is a last resort.
What I did think about is the idea of providing the 10.11 or 10.12 frameworks next the the current ones.

What I did think about is the idea of providing the 10.11 or 10.12 frameworks next the the current ones.

Frameworks should be backwards compatible, though right? Some of the 10.11/10.12 frameworks break occasionally because of incompatibilities with libSystem headers (trying to fix with 6c12e5481ec942e1d547edc6917d4e161ae60ce5). Still waiting for stdenv to build but I suspect I'll run into problems soon with the out of date CoreFoundation though (but maybe there haven't been any breaking changes since 1153.18).

Not necessarily, I couldn't build anything useful with CF 10.10 and 10.11 frameworks. It might be possible but I'm guessing that requires reshuffling some stuff in the stdenv to make the distinction between the pure/impure CF more clear, currently it's included implicitly IIRC.

The implicit include might have been a bad call, TBC. It's just that so much stuff just assumes it exists if you're on macOS (even plain unixy tools often) that the number of conditionals got ridiculous.

Sorry, hope it's not because I haven't been able to pay much attention to it. I've been quite busy! In principle I want this to happen but can't really think through the implications of doing the CF substitution you're proposing right now 😦

No problem. The biggest problem is that even after doing "impure" CF we still have out of date Libsystem, etc.

Actually i see we are using Libsystem-1226.10.1 for the headers and apple open source releases provides 1238.60.2 on macOS 10.12 and 1252 on macOS 10.13. Maybe we can give it another try with Impure-CF?
AFAIK CF-Releases are 3 macOS-Releases delayed, i wouldn't hope here anymore.

I'm playing around with updating macOS 10.12 packages on top of @matthewbauer 's branch. Fixed a couple of builds so far. Compiling has been going on for a while. Is this an approach that could even work? CF is still missing from the open source release. I pinged Apple about it.

Ended up getting stuck with the new configd. It tries to include files from macOS SDK. And if I try to depend on apple-sdk I get an infinite recursion error. Any tips on how to debug it?


Add parcel size as one of the parameters of the offer

We're currently relying on the implicit assumption that parcel size is 100:
https://github.com/itchysats/itchysats/blob/master/daemon/src/projection.rs#L788
Exposing the parcel size as one of the parameters sent as a part of the offer is ultimately needed - however, in v0.4 we could probably still live with it being hard-coded to a 100, as long as we check against it.
I was quite surprised that we don't even validate against this assumption currently, as the values chosen in the actor tests don't respect it.

Duplicate of #2660.


Create state dir if it doesn't exist

mkdir -p "$STATE_DIR" && cd "$STATE_DIR"

We believe this to be fixed by the aforementioned PR.


Add flake8 tests to travis ci

Missing imports, etc.

flake8 . --count --select=E901,E999,F821,F822,F823 --show-source --statistics

@hugsy would need to flip the switch on for this repo at https://travis-ci.org/hugsy for the testing to begin.


Docker: Can't login

Hello! Just installed using docker-compose. Created a proxypass virtualhost with apache so it runs under subdomain newsblur.mydomain.test and works fine on port 8000. However, when I signup and login, it throws me out and after that I cannot login anymore, it just redirects to front page. What's up?
Cannot get anything out from logs...
root@f34ee94b3ede:/opt/newsblur/logs# tail -f newsblur.log
[Apr 06 20:44:27]  ---> [------] [root*] OAuth Login
[Apr 06 20:44:27]  ---> [Chrome] [0.00s] [AnonymousUser] Loading welcome
[Apr 06 20:44:28] {u'v': u'2', u'update_counts': u'false'}
[Apr 06 20:44:29] {u'next': u''}
[Apr 06 20:44:47] {u'next': u''}
[Apr 06 20:44:51] {u'username': u'root', u'csrfmiddlewaretoken': u'UxC7wp1fVmmez1sGlZTj3vz5wUc6U7KL', u'password': u'mypass', u'next': u''}
[Apr 06 20:44:51]  ---> [------] [root*] OAuth Login
[Apr 06 20:44:51]  ---> [Chrome] [0.00s] [AnonymousUser] Loading welcome
[Apr 06 20:44:51] {u'v': u'2', u'update_counts': u'false'}
[Apr 06 20:44:51] {u'v2': u''}

I just changed the signup code this morning so that could be related. Try rolling back to 790589e3fb03687288a573d41eb0fcd1ad63dcdd. Otherwise, I'm wondering how you're using the OAuth login. Are you setting up an iOS or Android device to hit that server?

By the way, you might want to turn on DEBUG and DEBUG_QUERIES to see what's being set on signup.

No I just cloned the latest version and built with docker-compose up, so no idea how Oauth. Didn't really config anything. I'll try the rollback soon.

Seeing the same problem

Setting the DEBUG and DEBUG_QUERIES flags gives the following output:
newsblur_1       | [May 02 20:53:58] {u'username': u'test7', u'csrfmiddlewaretoken': u'CtGrf5TANLtiqrl3bASRXtaK8IIkVMHT', u'password': u'test7', u'next': u'/read'}
newsblur_1       | [May 02 20:53:58]  ---> [------] [test7*] OAuth Login
newsblur_1       | [May 02 20:53:58] [1] 0.002s: SELECT * FROM "auth_user" WHERE "auth_user"."username" = 'test7'
newsblur_1       |                   [2] 0.001s: SELECT * FROM "auth_user" WHERE "auth_user"."username" = 'test7'
newsblur_1       |                   [3] 0.000s: EXISTS f0i1p4svktfewjxi3k4n06kdbg71hh68
newsblur_1       |                   [4] 0.000s: SELECT 5
newsblur_1       |                   [5] 0.000s: EXISTS f0i1p4svktfewjxi3k4n06kdbg71hh68
newsblur_1       |                   [6] 0.000s: SETEX f0i1p4svktfewjxi3k4n06kdbg71hh68 31536000 ZDlkNzZlZWVhNDY5Zjc4Y2U3MDA4NWFiN2EzZjM4OGVhOThhM2Y5YzqAAn1xAS4=
newsblur_1       |                   [7] 0.000s: DEL f0i1p4svktfewjxi3k4n06kdbg71hh68
newsblur_1       |                   [8] 0.006s: UPDATE "auth_user" SET "last_login" = '2020-05-02 20:53:58.211715' WHERE "auth_user"."id" = 6
newsblur_1       |                   [9] 0.001s: SELECT * FROM "profile_profile" WHERE "profile_profile"."user_id" = 6
newsblur_1       |                   [10] 0.001s: SELECT * FROM "profile_profile" WHERE "profile_profile"."user_id" = 6
newsblur_1       | [May 02 20:53:58] [1] 0.002s: SELECT * FROM "auth_user" WHERE "auth_user"."username" = 'test7'
newsblur_1       |                   [2] 0.001s: SELECT * FROM "auth_user" WHERE "auth_user"."username" = 'test7'
newsblur_1       |                   [3] 0.000s: EXISTS f0i1p4svktfewjxi3k4n06kdbg71hh68
newsblur_1       |                   [4] 0.000s: SELECT 5
newsblur_1       |                   [5] 0.000s: EXISTS f0i1p4svktfewjxi3k4n06kdbg71hh68
newsblur_1       |                   [6] 0.000s: SETEX f0i1p4svktfewjxi3k4n06kdbg71hh68 31536000 ZDlkNzZlZWVhNDY5Zjc4Y2U3MDA4NWFiN2EzZjM4OGVhOThhM2Y5YzqAAn1xAS4=
newsblur_1       |                   [7] 0.000s: DEL f0i1p4svktfewjxi3k4n06kdbg71hh68
newsblur_1       |                   [8] 0.006s: UPDATE "auth_user" SET "last_login" = '2020-05-02 20:53:58.211715' WHERE "auth_user"."id" = 6
newsblur_1       |                   [9] 0.001s: SELECT * FROM "profile_profile" WHERE "profile_profile"."user_id" = 6
newsblur_1       |                   [10] 0.001s: SELECT * FROM "profile_profile" WHERE "profile_profile"."user_id" = 6
newsblur_1       | [May 02 20:53:58]  ---> [FF    ] [0.00s] [AnonymousUser] Loading welcome
newsblur_1       | [May 02 20:53:58] [1] 0.000s: GET :1:user:popular
newsblur_1       |                   [2] 0.001s: newsblur.statistics: [{}]
newsblur_1       |                   [3] 0.001s: newsblur.social_profile: [{u'user_id': 1}]
newsblur_1       |                   [4] 0.001s: SELECT * FROM "profile_profile" WHERE "profile_profile"."user_id" = 1
newsblur_1       |                   [5] 0.000s: GET :1:user:popular
newsblur_1       |                   [6] 0.001s: newsblur.social_profile: [{u'user_id': 1}]
newsblur_1       |                   [7] 0.000s: GET :1:user:popular
newsblur_1       |                   [8] 0.001s: SELECT * FROM "reader_feature" ORDER BY "reader_feature"."date" DESC LIMIT 3
newsblur_1       |                   [9] 0.001s: newsblur.feedback: [{u'$orderby': {u'order': 1}, u'$query': {}}]
newsblur_1       | [May 02 20:53:58] [1] 0.000s: GET :1:user:popular
newsblur_1       |                   [2] 0.001s: newsblur.statistics: [{}]
newsblur_1       |                   [3] 0.001s: newsblur.social_profile: [{u'user_id': 1}]
newsblur_1       |                   [4] 0.001s: SELECT * FROM "profile_profile" WHERE "profile_profile"."user_id" = 1
newsblur_1       |                   [5] 0.000s: GET :1:user:popular
newsblur_1       |                   [6] 0.001s: newsblur.social_profile: [{u'user_id': 1}]
newsblur_1       |                   [7] 0.000s: GET :1:user:popular
newsblur_1       |                   [8] 0.001s: SELECT * FROM "reader_feature" ORDER BY "reader_feature"."date" DESC LIMIT 3
newsblur_1       |                   [9] 0.001s: newsblur.feedback: [{u'$orderby': {u'order': 1}, u'$query': {}}]
newsblur_1       | [May 02 20:54:04] {u'v': u'2', u'update_counts': u'false'}
newsblur_1       | [May 02 20:54:04] [1] 0.000s: MGET [101 bytes] [101 bytes]

I noticed that settings.py changes would hold and local_settings.py changes would not. in using the docker-compose setup, I had been changing my local_settings.py instead of my docker/local_settings.py. Once I updated the correct SESSION_COOKIE_DOMAIN in docker/local_settings.py, I was able to login.

Ok, here's the good news. I just hired a developer to help me better Dockerize NewsBlur as well as upgrade it to python 3. I'm going to close this issue and open a new overall Docker issue.

See #1316.


Poor performance in SLURM job array

I need to run 100 DMRG calculations on a custom model, each with a different set of model parameters. I will not include the Tenpy code here because it is very similar to the example 01_dmrg.ipynb, but I can share it if needed. My usual workflow for this kind of problem is to run each calculation in a separate folder in parallel using a SLURM job array. Here is my SLURM script:
#!/bin/bash
#SBATCH -J dmrg
#SBATCH -o output.%j
#SBATCH -e error.%j
#SBATCH -N 1
#SBATCH -t 01:00:00
#SBATCH --array=1-100
#SBATCH -c 1 # one core per task

echo $SLURM_ARRAY_TASK_ID
subfolder=$(awk "NR==$SLURM_ARRAY_TASK_ID" job.list)
echo $subfolder
cd ../calculations/$subfolder

date
srun python main.py
date

When I do this, I notice that the performance is very bad. For reference, if I submit the first job by itself (i.e., not using an array), it finishes in under one minute. However, in the array, the job is still running TwoSiteDMRGEngine(psi, Model, dmrg_params) after ten minutes. Any idea what is going on here?

I am not too familiar with SLURM, but i can imagine two possible explanations:

The single jobs is using more cores than the individual tasks of the array. Look at the CPU usage of the jobs while they run. For controlling the number of cores see FAQ.
The job array is setting up your python environment differently, which could cause the comiled tenpy to not be loaded or a different numpy binary to be linked. Look at the output of tenpy.show_config() for a single job vs a job array.

My apologies for not following up! It was indeed an issue with my own OpenMP configuration. Basically, I didn't realize that export OMP_NUM_THREADS=1 needs to be set in the SLURM script if we want to run tenpy itself in serial and parallelize jobs across cores according to the SLURM array.


(maint) Update to latest Choco version

Description
Update to the latest Chocolatey CLI version.
Motivation and Context
New Chocolatey CLI release.
How Has this Been Tested?
N/A
Screenshot (if appropriate, usually isn't needed):
Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] Migrated package (a package has been migrated from another repository)

Checklist:

[ ] My code follows the code style of this repository.
[ ] My change requires a change to documentation (this usually means the notes in the description of a package).
[ ] I have updated the documentation accordingly (this usually means the notes in the description of a package).
[ ] I have updated the package description and it is less than 4000 characters.
[ ] All files are up to date with the latest Contributing Guidelines
[ ] The added/modified package passed install/uninstall in the Chocolatey Test Environment(https://github.com/chocolatey-community/chocolatey-test-environment/). Note that we don't support the use of any other environment.
[ ] The changes only affect a single package (not including meta package).

:white_check_mark: Package verification completed without issues. PR is now pending human review

@AdmiringWorm I am going to ignore the failing Action here, as it is not related to the change going in, but just wanted to highlight this in case this was something that you were aware of.

@corbob thanks for getting this updated!


PrintOnlyifDetail marked as 'cannot be used for SaaS', although it is employed in Report 4

Issue entered at: https://github.com/microsoft/ALAppExtensions/issues/11353
Describe the bug
The attempt to use PrintOnlyIfDetail in one of our reports is marked as 'cannot be used for 'Cloud' development' within a sandbox, even though Report 4 "Detail Trial Balance" does just that.
To Reproduce
Procedure PrintOnlyIfDetail yields these results when used within our own report.

Yet Report 4 Detail Trial Balance uses exactly the same method we are trying to employ.

Expected behavior
We expect to be able to use this property in our reports as it is used in Report 4.
Screenshots
See above.
5. Versions:

AL Language:
6.1.397164
Business Central:  -

@StanPesotskiy This was already posted on this repo but closed by @PooyaKharamesh and now the one posted on your repo has been moved here... Can the two repos coordinate to decide which, or neither, repo is on-topic for questions, instead of playing tennis with them?

This is a bug on AL language repo and we are looking into it. sorry for the confusion

@PooyaKharamesh Can you give us some new information about this issue?!

Hi,
what is the status for this bug. We are currently using AL Language Version 7.3.486497 and CurrReport.PrintOnlyIfDetail is still not working for our reports.
Thanks in advance

We have not fixed it yet. And we do not have an ETA when we will fix it. If you want faster resolution  a support case may be a better option.

Hi, can you give us some new information about this issue ? Thanks.
Version 7.4.502459

If there was new information, they'd post it. All the "any update" questions just result in a lot of other users receiving useless emails.

Are there any new information regarding this? Eventually if I can replace "PrintOnlyIfDetail" with another code?

Hi guys, any news about this topic?  It passed more than one year and we still don't have any hint, workaround. And soon will be applied extra fee for on prem developments.
thanks

If there was new information, they'd post it. All the "any update" questions just result in a lot of other users receiving useless emails.

and

If you want faster resolution a support case may be a better option.

Please mark this as an urgent bug that needs to be fixed. With the Universal Code Initiative this can become very expensive for a lot of partners...
@PooyaKharamesh
@StanPesotskiy

We are working on this internally, and plan to backport the change to make this available in SaaS to BC 21. We'll update this issue when it is done.

This has been resolved and PrintOnlyifDetail will be available in SaaS with BC 21.1.

It is now supported in AL 10.1.
https://marketplace.visualstudio.com/items/ms-dynamics-smb.al/changelog

Closing because as mentioned previously this issue has been addressed in an upcoming release.


启动就退出了。

刚启动就退出了 并且打印的日志 许多重复。。
[2020-07-10 13:19:53,910] INFO jobexecute "go..."
[2020-07-10 13:19:53,910] INFO jobexecute "go..."
[2020-07-10 13:19:53,977] INFO jobexecute "go..."
[2020-07-10 13:19:53,977] INFO jobexecute "go..."

日志重复 运行起来了

ok


Reversing animations

is it possible to reverse the side of the animation that happens when you update the bar graph?
when I add/remove new values to my bar graph using the slider in the image below there is a nice animation that happens

animation that happens when I move the right slider back and forth:

however this animation only really works when you are moving the right slider as new bars are added/removed to the right. when I move the left slider I would like to be able to make the new bars appear/disappear from the left too.
Is this possible or is this a feature request?

@FoleyTim this is currently not possible. tagged as an enhancement

I think it should work in master as expected, if your slider only updates where scale min/max and all the data is already there.

Closing per above comment


Did you try a newer version of softethervpn as well?

with this commit SRCREV = "24f426162cbbb55ee0fab40a8e3288ea443a3365" I get with bitbake softether
ERROR: softether-git-r0 do_compile: Function failed: do_compile (log file is located at /tmp/yocto-autobuilder/yocto-autobuilder/yocto-worker/poky/build/imx6q-phytec-mira-rdk-nand-virt-mender/tmp/work/armv7a-neon-resy-linux-gnueabi/softether/git-r0/temp/log.do_compile.6971)
ERROR: Logfile of failure stored in: /tmp/yocto-autobuilder/yocto-autobuilder/yocto-worker/poky/build/imx6q-phytec-mira-rdk-nand-virt-mender/tmp/work/armv7a-neon-resy-linux-gnueabi/softether/git-r0/temp/log.do_compile.6971
Log data follows:
| DEBUG: Executing shell function do_compile
| NOTE: VERBOSE=1 cmake --build /tmp/yocto-autobuilder/yocto-autobuilder/yocto-worker/poky/build/imx6q-phytec-mira-rdk-nand-virt-mender/tmp/work/armv7a-neon-resy-linux-gnueabi/softether/git-r0/build --target all -- -j 8
| [1/1] cd /tmp/yocto-autobuilder/yocto-autobuilder/yocto-worker/poky/build/imx6q-phytec-mira-rdk-nand-virt-mender/tmp/work/armv7a-neon-resy-linux-gnueabi/softether/git-r0/build/src && hamcorebuilder /tmp/yocto-autobuilder/yocto-autobuilder/yocto-worker/poky/build/imx6q-phytec-mira-rdk-nand-virt-mender/tmp/work/armv7a-neon-resy-linux-gnueabi/softether/git-r0/git/src/bin/hamcore/ /tmp/yocto-autobuilder/yocto-autobuilder/yocto-worker/poky/build/imx6q-phytec-mira-rdk-nand-virt-mender/tmp/work/armv7a-neon-resy-linux-gnueabi/softether/git-r0/git/build/hamcore.se2
| FAILED: src/CMakeFiles/hamcore-archive-build
| cd /tmp/yocto-autobuilder/yocto-autobuilder/yocto-worker/poky/build/imx6q-phytec-mira-rdk-nand-virt-mender/tmp/work/armv7a-neon-resy-linux-gnueabi/softether/git-r0/build/src && hamcorebuilder /tmp/yocto-autobuilder/yocto-autobuilder/yocto-worker/poky/build/imx6q-phytec-mira-rdk-nand-virt-mender/tmp/work/armv7a-neon-resy-linux-gnueabi/softether/git-r0/git/src/bin/hamcore/ /tmp/yocto-autobuilder/yocto-autobuilder/yocto-worker/poky/build/imx6q-phytec-mira-rdk-nand-virt-mender/tmp/work/armv7a-neon-resy-linux-gnueabi/softether/git-r0/git/build/hamcore.se2
| hamcorebuilder: error while loading shared libraries: libcedar.so: wrong ELF class: ELFCLASS32
| ninja: build stopped: subcommand failed.
| WARNING: exit code 1 from a shell command.
| ERROR: Function failed: do_compile (log file is located at /tmp/yocto-autobuilder/yocto-autobuilder/yocto-worker/poky/build/imx6q-phytec-mira-rdk-nand-virt-mender/tmp/work/armv7a-neon-resy-linux-gnueabi/softether/git-r0/temp/log.do_compile.6971)
ERROR: Task (/tmp/yocto-autobuilder/yocto-autobuilder/yocto-worker/poky/sources/poky/../meta-resy/recipes-connectivity/softether/softether_git.bb:do_compile) failed with exit code '1'
NOTE: Tasks Summary: Attempted 921 tasks of which 920 didn't need to be rerun and 1 failed.

which, I guess, is due to the fact that it built the hamcorebuilder for ARM and does not use the -native one instead.

This [1] is my attempt, which seems to work with the version you used and the latest version.
Please give it a try and let me know how it goes.
[1] https://gitlab.com/meta-layers/meta-resy/tree/master/recipes-connectivity/softether

I'm now trying sync this repository for newer version of OE, but i have not caught up softether recipe yet.
As you indicated, hamcorebuiler-native isn't compile correctly (and broken) since I changed upstream from original make script to CMake.
I checked your modifited recipe (thanks, and so, so sorry for delaying rewrite...). I will try later to build, please wait for few day.
So looking modified recipe, it is maybe okey for glibc, but this repository (meta-cocon) using build musl libc based distribution, then maybe unknown result. for example RDEPENDS below, i think show some error on musl.
RDEPENDS_pn_${PN}-libs = "glibc-locale glibc-gconv-utf-16 glibc-gconv-euc-jp"
lastly, i think softether probably there is demand some distribution project, not only my hobby project, then maybe I think make independent repository (meta-softether?) or send pul-req to (for example) meta-networking for better to improvement. thanks.

@dejiko At least at the moment whatever I have seems to build with cmake.  Don't get stressed about testing. If you find some time please give it a try and let me know your findings. Thanks!


Implement clock gating

Implement a simple form of clock gating where we mark the cells as clock gated and automatically generate the hardware needed to do that. We can probably compute the groups that use the component and figure out how long the clock needs to be fed into the component. The challenge would be with components whose execution "escapes" a group, i.e., they are used outside of a group body to, for example, read a latched value from the previous invocation. In these cases, we would need to compute live ranges.

Just looking around for advice about clock gating and FPGAs in particular, I found this post on the always-helpful ZipCPU blog. It confirms what we'd surmised about FPGAs coming with a "fixed-function" clock tree:

The difference with FPGAs is that, unlike ASICs, FPGAs come with pre-configured clock trees that tend to be global (chip-wide) in scale and scope. This fixes their capacitance, forcing clocks to require a significant amount of energy to toggle in order to reach the entire clock tree.

The post then goes on to suggest how you can save power on an FPGA, which is essentially to wrap all your assignments in an "if we want to enable this logic right now" condition in Verilog:

Low power in an FPGA system is often achieved therefore, not by a clock gate, but rather by a logic signal that can be issued to all flip-flops within a given design region. We might call this a “Clock Enable”, or i_ce as I tend to call it. When i_ce is low, nothing transitions and energy is minimized.
This FPGA clock enable power reduction mechanism lends to flip-flop structures that look like:
  always @(posedge i_clk)
  if (i_ce)
    Q <= D;

As long as i_ce stays low, the flip-flop uses a minimum amount of power.

That's the important FPGA-relevant bit; the rest of the post is about simulating ASIC-style clock gating.
Anyway, I think this points at a really interesting and real-world project where we attempt to save actual measurable power on actual FPGAs by doing this kind of "logic gating" thing within Calyx… doing this well & automatically based on control information seems like a potentially important result.

One question that came up during while discussing this with @calebmkim was whether disabling the clock to a part of the circuit leaves all the registers in an indeterminate state requiring an explicit reset. Seems like the logic above will probably not experience anything like that but it would be useful to know if we need to do something about it in the general case.

Indeed, I think that is only a concern in the ASIC (not FPGA) case. In that case, it's worth going back to thinking about the construction of a basic D flip flop circuit… if clk stays at a constant 0 or 1, it seems like it should just hold its value. If we think the clk wire is going to be literally undriven, like not connected to anything at all, then I don't know enough about electricity to know what happens…

We can revisit this in the future if we ever implement an ASIC backend


Message Passing with edge updates

Hi there,
I was looking to implement a message passing network with edge updates as described in https://arxiv.org/abs/1806.03146.
Looking at the Jraph paper, it is explained that calculating the messages M_t for each edge should be done with the edge update function phi_e, in the GraphNetwork from the model zoo. However, as I understand it, this prevents me from implementing a function that just updates the edges, based on the edge feature, sending and receiving node.
Is there a workaround using the current model zoo to seperate edge updates and edge-wise messages or is this a known problem?
Thanks!

Hey! Thanks for waiting for the response.
I was just looking at the paper, and I believe the existing GraphNetwork should do what you want. It follows this pseudocode:
updated_edges = edge_update_fn(previous_edges, senders, receivers, globals_)
updated_nodes = node_update_fn(nodes, update_edges_senders, updated_edges_receivers, globals_)
return GraphsTuple(nodes=update_nodes, edges=updated_edges)

Is this different to what is described in the paper?

Yes, this is also how I intended to write the network. However, to me it looks like the inputs of the node_update_fn are too limited to compute the node update as described in the paper.
In the paper, each node update depends on the node features themselves and an aggregation of the incoming messages.
The messages (defined for every edge) depend on edge features, sending and receiving nodes.
I'll try to put it into pseudocode, as it is a bit hard to describe:
messages = message_fn(edges, senders, receivers) aggregate_messages_per_node = aggregate_message_fn(messages) updated_nodes = node_update_fn(nodes, aggregate_messages_per_node)
I think this does not fit within the update_node_fn in GraphNetwork. The update_node_fn in GraphNetwork uses only aggregated edges, but to calculate the message function it needs individual edge features.

Ah, thanks for clarifying!
I think the easiest way to accomplish this is by using structured messages (pseudocode)
# initialize and edge message with zeros:
edge_message = {'message':  jnp.zeros(...), 'latent': jnp.zeros(...)}  # I'm using the phrase latent here for 'update' in the paper for disambiguation with jraph.

def update_edge_fn(edges, senders, receivers):
  edges['latent'] = update_latent_fn(edges['latent'], senders, receivers)  # the 'update_fn' in the paper
  edges['message'] = update_message_fn(edges['latent'], senders, receivers)
  return edges

In the node update function, you just need to make sure just to use the 'message' not the latent.

Yes, this looks like it solves my problem nicely. Thanks!


Http Integration Tests: Create tests to support HTTP(4)

This issue involves creating the below test cases for HTTP as well:
Source: integration_tests/commands/async/

echo_test.go
exists_test.go
expire_test.go
expireat_test.go
expiretime_test.go

Steps:

Create the corresponding tests for these commands in integration_tests/commands/http.
Use set_test.go as a reference, and how to alter the input and output to match JSON structures from RESP.
Run the tests and fix issues with command parsing in HTTP.

If you need to do anything custom to support HTTP, let @pratikpandey21 @lucifercr07 know.

Can i take this up?

@harsh082ip assigned, thanks for contributing.

#752
Hii @pratikpandey21 @lucifercr07 ,
can u please review this PR, I have completed 2/5 test cases for HTTP (i.e. EXISTS and ECHO), I've also attached screenshots of test cases output as well
And I will create PR for remaining test cases soon
Please let me know if any changes are required
Regards,

#752
Hii,
Can anyone please review my PR, I'm facing an error there regarding some checks
Regards,

Closing, merged as part of #752

Hii @lucifercr07 ,
Thank you for reviewing and merging the PR, but these two test cases are pending (i.e. expireat_test.go & expiretime_test.go)
I will create  a PR for these by tomorrow
Regards


[WIP] ci: testing local/s3 backend for cache

Issue being fixed or feature implemented

Testing PR to trigger CI runs, do not merge
What was done?

How Has This Been Tested?

Breaking Changes

Checklist:

[ ] I have performed a self-review of my own code
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have added or updated relevant unit/integration/functional/e2e tests
[ ] I have made corresponding changes to the documentation

For repository code-owners and collaborators only

[ ] I have assigned this pull request to a milestone

Closed in favor of #1167


(support | paid app) Title on the window header does not update

Hello,
just bought the desktop version, I cannot seem to be able to update the title despite I click on "Change Project Name", see screenshot below:

How to change? I can only see the following option:

Hi @wkhayrattee,
Thanks for your support! ❤
If you click into the text on the code window, you should be able to change it:
https://user-images.githubusercontent.com/6421846/210799816-ffb82597-e845-4a57-962f-cc6b274ec925.mp4
Let me know if you encounter any issues doing this 👍

@stevebauman yes that worked, just tried.
Urm, may be put a cursor on click to make it intuitive that it's editable - as I did click and thought that was not the case.
Closing this ticket now, thanks and Happy New Year to you fam!
Cheers


photo prompt: add imageQuality property

Add another an imageQuality which is a number between 0 and 100..
This is not currently implemented in the server yet though.. I will add this later..

Fixed @ https://github.com/mobilizingcs/author/commit/9c8b611463eb0016eb3f051af899b85fb5d53f36.

@jeroenooms Sorry!  Can we change it to jpegQuality so it is more specific to jpeg?  Thanks!

Done @ https://github.com/mobilizingcs/author/commit/2689fdb00f93e69248f84cfae4867d1113124819

@jeroenooms  Can you provide a tool tip to user that this number has to be between 0 and 100?

https://github.com/mobilizingcs/author/commit/fa064b3a85db83e8b74724b531ffea7ad07c5cdb


babbel2anki unusable

after trying again and again to make the chrome extension babbel2anki work, i finally detected the main flaw:
the author doesn't even understand the meaning of anki's front and backside of a card.
the translation of a word is entered in a field called "extra info" instead of "answer".
therefore anki can't detect both sides of a word: original and translation.
verdict: babbel2anki is USELESS, unless the author learns how anki works!

Thanks for the constructive and friendly feedback. This extension is perfectly capable of rendering both frond and back side of both types of cards, I tested it once some.
You can name fields differently, Extra Info, Answer, Translation. They will be displayed the same.