Enable the ServiceDefaults project to contribute shared configuration to projects that reference it

The ServiceDefaults project today provides methods that are called from service projects to configure common defaults like metrics, HTTP client service discovery, health checks, etc. For some common concerns though, using the configuration system, e.g. JSON files, is the preferred.
We should enable the ServiceDefaults project to contribute to the configuration of the projects that reference it. This would be done in the following way:

Have appsettings-shared.json and appsettings-shared.Development.json files in the ServiceDefaults project that shared configuration can be set in. Note the filename scheme here is specifically crafted to ensure compatibility with the existing scheme used in the default JSON configuration file sources added to most apps today, i.e. appsettings[.{EnvironmentName}.].json. Using '.' to separate the shared suffix would lead to ambiguity (is "shared" an environment name or sentinel for shared config?). Alternatively we could use a scheme like shared.appsettings[.{EnvironmentName}.].json
A new package (e.g. Microsoft.Extensions.Configuration.Json.Shared) that would be referenced by the ServiceDefaults project that contains:

APIs to add the shared configuration sources to an app's configuration builder. The sources should be added before the app's own appsettings.json files to ensure that shared config does not override app-local config.
MSBuild targets that include the shared appsettings JSON files in the build output of the ServiceDefaults project (i.e. the project directly referencing the NuGet package)
MSBuild targets that flow transitively to projects that reference the ServiceDefaults project, that facilitate flowing details about the shared configuration JSON files to the app assemblies during inner-loop, such that the shared JSON files can be loaded directly from the ServiceDefaults project at runtime (rather than relying on file copying) and thus supporting editing of these files and having those changes reflected in real-time when running from Visual Studio, etc. (this is very similar to how StaticWebAssets works today in ASP.NET Core projects)

A partial implementation of this proposal can be seen in here. It doesn't use the MSBuild targets proposed (like StaticWebAssets) but rather facilitates the coordination from data injected by the DevHost project, but the other aspects are inline with what's proposed here.

@DamianEdwards  is this still relevant? for 8.0

We can move post-GA to reassess then.


Initial FS12 environment package

Adds a new package to the mono repro @brandingbrand/kernel-component-env that provides access to the currently active environment via a native bridge and provides a dev menu component that allows for switching the active environment.  A few callouts:

I've hardcoded an env list ['dev', 'prod'] that is used in the env component currently.  When the env index is exposed in later work, I will create this list from that.
Initial dev environment in our native modules is hardcoded as 'dev'.  I will be working on a plugin next that will replace this line with the environment that is provided in the init command
This PR just contains the changes for the env package. Once the PRs for the dev menu and component and plugin are merged I'll be able to fully integrate this.

Demo:
https://user-images.githubusercontent.com/2643572/210882699-75fa4272-5dce-47b4-8a0e-033f9034b968.mov

This will be propagated to a new repo soon.


Application Insights exceptions should be recorded as traces as well

Application Insights has separate tables for exceptions and traces. When investigating issues, the traces table is useful to see the state of the application that lead up to the issue and the exceptions table is useful to see the actual error. However, since these are separate tables, it can be difficult to line up relevant traces and exceptions together. It would be highly convenient for exceptions to be duplicated as a trace as well.
This should likely be done in ServerCommon to fix both the Gallery and Search Service.

Also, the Search Service seems to be using both ASP.NET's logging library and Serilog. Having both seems redudant, we should reevaluate whether Serilog is necessary.


Supports random HTTP method

I've added random HTTP method generators

Codecov Report

Merging #8 into develop will not change coverage.
The diff coverage is 100%.

@@          Coverage Diff           @@
##           develop     #8   +/-   ##
======================================
  Coverage      100%   100%
======================================
  Files           25     25
  Lines          424    428    +4
======================================
+ Hits           424    428    +4

Impacted Files
Coverage Δ

internet.go
100% <100%> (ø)
:arrow_up:

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 a2a24b5...ab86998. Read the comment docs.


Updates README to reflect reality of iOS 7

Out of date with master. I haven't used Freddy with iOS 7 but the update seems clear to me. Bias towards merging once CI is done. :)

Feel free to rebase and merge this.


[BUG] ProcessExceptionAsync fires with MaximumReceiveWaitTime set to null

With the following code

 _processor = new EventProcessorClient(
                EventHubConsumerClient.DefaultConsumerGroupName, new InMemoryPartitionManager(), configuration["Uploads:connectionString"],
                configuration["Uploads:eventHubName"]);

            _processor.ProcessEventsAsync = ProcessEvents;
            _processor.ProcessExceptionAsync = (context, exception) => {
                _logger.LogError(exception, "Error in " + context);
                return Task.CompletedTask;
            };
            await _processor.StartAsync();

I get callbacks with 0 events with some interval ~30sec.

This one is on the odd side, but looks like a bug.     PartitionPump currently does a receive on line 259 using the wait time from the default options, which should be null.   Either that call is returning when it should not and triggering the conditional on 278,  liekly logic in the AmqpConsumer on line 162.   If that behavior doesn't match the track one code, we'll need to adjust there, otherwise, we'll need to adjust the logic in the pump to add a check for non-null on the wait time.

Confirming that the AmqpConsumer behavior is consistent with the track one code and the associated comments;  Receive on the consumer does not wait indefinitely and will emit an empty set when the wait time (defaulted to the per-try timeout specified by the retry options) has elapsed.

Track One default is the default operation timeout from the client.

Track Two default is the try timeout.   This behavior will be preserved on the low-level receiver in the new design.

Going forward, this should not be an issue, as the iterator will wait indefinitely unless explicitly canceled or a wait time is specified.  Once the processor is converted over, there shouldn't be further need to filter that out.   Tracked by #7409, in scope for GA release.

@kinelski:  Would you be so kind as include a test for this with the refactoring?

Processor has been refactored and is no longer responsible for managing the wait time.   The consumer has a set of tests validating the wait time behavior.   Closing this out, as it is expected to behave as advertised in the next release.


12345 Suggests "All-uppercase is almost as easy to guess as all-lowercase"

Typing 12345 pulls the suggestion "All-uppercase is almost as easy to guess as all-lowercase". There are a lot of things wrong with 12345 and that's about the only thing that isn't one of them. :)

Thanks for reporting!


Cant hide Windows 11 terminal

Godot version
3.4.2
System information
Windows 11
Issue description

On windows 11 you have the option to make windows terminal the default command line experinece, making godot launch with a window of windows terminal with a CMD tab.
however this is still visible even with Hide Console Window enabled.
Steps to reproduce
-install windows 11
-go to Privacy & security/for developers
-set windows terminal as default command line
-enable "Hide Console Window" on editor settings.
-restart godot.
-it still apears.
Minimal reproduction project
No response

The "Hide Console Window" option is not supported by Windows Terminal. It was removed in 3.5 (together with refactoring so that no console window is shown automatically #55987).
We don't plan to backport that change to 3.4.x as it breaks compatibility.


just add #include  to delaunator.hpp

pls just add it(

Dealt with in https://github.com/abellgithub/delaunator-cpp


General Improvements

Coverage decreased (-37.3%) to 52.037% when pulling b7d9cef20e75d3d325347277f2f00d5e50da51bd on develop into 5445e34641fefd8388a235dff589d75a4e4ec9c4 on master.

Close #480 #475 #473 #460


Error when trying to open a previously closed file

I closed a file, then I want to open it to append some contents to the end the the target file. However, when I tried to open it, the hdfsOpenFile() return an error. Folloing is the snapshot of my code.

hdfsFile fileForWrite = hdfsOpenFile(fs,
    	"/user/dw_hbkas/qgzheng/student/students.txt" ,
    	O_WRONLY, 0, 0, 0);
if(!fileForWrite){
        printf( "failed to open /user/dw_hbkas/students.txt for writing\n" );
        exit(1);
}
retval = hdfsCloseFile(fs, fileForWrite);
fileForWrite = hdfsOpenFile(fs, "/user/dw_hbkas/qgzheng/student/students/txt",
						O_WRONLY|O_APPEND,0,0,0);

return an error
Nice description.

well, according to the head file, the function return NULL on error.

well, according to the head file, the function return NULL on error.

Maybe you want to use hdfsGetLastError() to get error message.

The development team managing this codebase is also responsible for Apache HAWQ (incubating) and trying to get the first release out the door. As a result, this repo has been unintentionally neglected and recently turned read-only.
This code was birthed from HAWQ and will be merged back into into that project (now that it is open source as well); mailing lists, pull requests, issues and releases related to libhdfs3 will be there. The plan is to provide tarball releases of this code separate from the larger HAWQ project until it can be relocated into a dedicated repo again (down the road) - see HAWQ-1059.
Again, thank you for the contribution and patience while we sort out these logistics.
If this issue/feature is still active, please respond otherwise it will be closed.


Added TrendArrow

To see, check out the executive_summary branch and look at the table at the bottom of the executive_summary page.
I'm not a fan of the prop names firstNumber and secondNumber so ideas on renaming them are more than welcome.
Also is it worth adding support for accepting String numbers and converting them?

Can you give some indication of how it's going to be used?
What sort of numbers are we going to pass to the component?

Of course! :D
From the executive summary:
<TrendArrow :firstNumber="current" :secondNumber="past" class="trendIcon" />
In the above case the 2 numbers are the current open/new/resolved issues and the past open/new/resolved issues. But this component wouldn't be limited to those- could be a current and future number, expected vs. actual etc.


Add ValidateColor Analizer

Closes #1
Validate color from System.Drawing.ColorTranslator.FromHtml
Changed the target branch to vnext

I have found that code coverage is very low for ValidateColorAnalyzer. Please verify what is not being used and remove it. If you run .\test.ps1 from root, you will see that coverage is at 31% (look at log/codecoverage/index.htm).


How to apply to my own task? The A matrix is hard to represent

How to apply to my own task? The A matrix is hard to represent
For example, if the task is demoire or derain, how to do that with ddnm?

These tasks seems difficult for DDNM... For DDNM, The operator A need to be linear and explicitly given, or at least you need to give a linear approximation. What about estimating a mask with transparency for deraining? I am not sure.

If we already estimated the mask for deraining, how do we get the corresponding pseudo-inverse？

If we already estimated the mask for deraining, and the mask is hadamard product at the pixel level, how do we get the corresponding pseudo-inverse？

The pseudo-inverse satisfies $\mathbf{A}\mathbf{A}^{\dagger}\mathbf{A}=\mathbf{A}$ or $\mathbf{A}\mathbf{A}^{\dagger}=\mathbf{I}$. Since the mask operation is pixel-wise, we can consider each pixel independently. Say one mask pixel element is $a$, its pseudo-inverse element can be $1/a$, since $a * 1/a = 1$; Say one mask pixel element is $0$, its pseudo-inverse element can be $0$, since $0 * 0 * 0 = 0$. You may refer to Section 3.2 of our paper for examples.

The mask pixel element is $a$ and pseudo-inverse element is $1/a$ which satisfies $AA^†A ≡ A$ and $AA^† ≡ I$, but it will cause $A^†A ≡ I$. So $\hat{x}_{0|t}=A^†y+(I-A^†A)x$ is going to be equal to $A^†y$, this will result in $x$ having no effect on the final restored image $\hat{x}$.

The mask pixel element is a and pseudo-inverse element is 1/a which satisfies AA†A≡A and AA†≡I, but it will cause A†A≡I. So x^0|t=A†y+(I−A†A)x is going to be equal to A†y, this will result in x having no effect on the final restored image x^.

Yes, if $1/a$ is the true degradation, then it is fully reversible (null space does not exist).

Thank you for your reply. A fully reversible degradation operator has no meaning for sampling in DDNM. The derain or low-light enhancement tasks may be difficult to complete.
Thank you again for your answer.


Local live

Docs Build status updates of commit 858112a:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

msteams-platform/concepts/deploy-and-publish/appsource/prepare/frequently-failed-cases.md
:white_check_mark:Succeeded
View

msteams-platform/messaging-extensions/how-to/action-commands/create-task-module.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching in the Docs contributor and Admin GuideSee the frequently asked questionsPost your question in the Docs support channel


Avoid double registering more capabilities in LSP server

There was some discussion at https://github.com/microsoft/language-server-protocol/issues/829
The bug was fixed for text document syncing in https://github.com/dart-lang/sdk/commit/34bdcec87733df3fd2412ec0cf8e66098a5c231d, but wasn't fixed for other capabilities such as hoverProvider which causes bugs in some clients. See https://github.com/neoclide/coc.nvim/issues/978

Related issue on our tracker: https://github.com/dart-lang/sdk/issues/38490

@DanTup

Yeah, this looks like an oversight (I had it in my head we only dynamically registered text sync, but that's definitely not correct). VS Code de-dupes when things are registered both statically/dynamically so it's less obvious from the logs (though the spec clarification makes it clear servers shouldn't do this, so we shouldn't rely on clients doing this).
I'll fix it up this week. Thanks!

Excellent work, y'all. I forgot to mention the server didn't appear to have an issue in VS Code, which, I would presume, uses the same language server client program that is shipped with the dart sdk? So good to know there is a suspicion on how to fix it already!

The Dart VS Code extension uses the same server, but a different interface/protocol (not LSP). This bug is in the LSP part (however, VS Code's LSP client de-dupes registrations, so even when using the LSP server this doesn't cause an issue).
The fix should be fairly simple - just applying the existing fix linked above (34bdcec87733df3fd2412ec0cf8e66098a5c231d) to the other static registrations in the initialize handler.

I've got a change that should resolve this here:
https://dart-review.googlesource.com/c/sdk/+/129711/
There were more things dynamically registered than I remembered (we do this because it's the only way to tell the client to scope things only to specific file extensions). Once it lands in a nightly, please try it out and let me know if anything still isn't working right (and which editor/client you're using).


[sw, dif, aes] The AES DIF is mixing up MODE and OPERATION

The AES DIF is currently mixing up different fields of the AES main control register such as MODE, OPERATION and MANUAL_OPERATION. From the documentation, the meaning of these fields should be pretty clear:

Instead the configure function in the AES DIF looks as follows:
/**
 * Configures AES. Is used by every `dif_aes_start_<mode>` function.
 *
 * @param aes AES state data.
 * @param transaction Configuration data, common across all Cipher modes.
 * @param cipher_mode_val Cipher Mode register write value.
 * @return `dif_result_t`.
 */
static dif_result_t configure(const dif_aes_t *aes,
                              const dif_aes_transaction_t *transaction,
                              aes_mode_field_val_t cipher_mode_val) { // <--- the MODE is actually already part of the transaction.
  aes_key_field_val_t key_len_val = key_to_field(transaction->key_len);
  if (key_len_val == kAesKeyFieldValInvalid) {
    return kDifError;
  }

  uint32_t reg =
      bitfield_field32_write(0, AES_CTRL_SHADOWED_KEY_LEN_FIELD, key_len_val);

  reg = bitfield_field32_write(reg, AES_CTRL_SHADOWED_MODE_FIELD,
                               cipher_mode_val);

  if (transaction->mode == kDifAesModeDecrypt) {  // <-- comparing MODE with OPERATION values
    reg = bitfield_bit32_write(reg, AES_CTRL_SHADOWED_OPERATION_BIT, true);
  } else {
    reg = bitfield_bit32_write(reg, AES_CTRL_SHADOWED_OPERATION_BIT, false);
  }

  if (transaction->operation == kDifAesOperationManual) { // <-- comparing OPERATION with MANUAL_OPERATION values
    reg =
        bitfield_bit32_write(reg, AES_CTRL_SHADOWED_MANUAL_OPERATION_BIT, true);
  } else {
    reg = bitfield_bit32_write(reg, AES_CTRL_SHADOWED_MANUAL_OPERATION_BIT,
                               false);
  }

  if (transaction->masking == kDifAesMaskingForceZero) {
    reg =
        bitfield_bit32_write(reg, AES_CTRL_SHADOWED_FORCE_ZERO_MASKS_BIT, true);
  } else {
    reg = bitfield_bit32_write(reg, AES_CTRL_SHADOWED_FORCE_ZERO_MASKS_BIT,
                               false);
  }

  aes_shadowed_write(aes->base_addr, AES_CTRL_SHADOWED_REG_OFFSET, reg);

  return kDifOk;
}

The following things are wrong

[ ] The MODE field from the transaction isn't used at all. This means we actually can't configure modes other than ECB. What the unit tests do instead is to provide a separate MODE value with the cipher_mode_val argument. The unit tests should probably set up separate transactions instead of calling the configure with the same transaction argument but varying cipher_mode_val.
[ ] The transaction's MODE is compared against OPERATION values to decide what OPERATION to configure.
[ ] The transaction's OPERATION is compared with MANUAL_OPERATION values to decide what MANUAL_OPERATION to configure.

I will do a PR to fix 2 and 3 but someone from the software team should probably have a look at the unit tests (Point 1).

@martin-lueker @doreis-lowrisc @mundaym

Here is the PR fixing point 2 and 3: #10483


Fixed the setup.py example in README.rst

options was defined as a list instead of a dictionary

LGTM. I ran into the same oopsie.


Compatibility with Rails 5

Full compatibility with Rails 5

Ahh, tests failed because we're still supporting Ruby 1.9.3, which Rails 5 doesn't.
In this case we probably have to wait and release a Rails 5 compatible version after dropping support for old rubies.
This means a version bump.
Before we can do that I need to ship Rails 4.1 and 4.2 compatible release.
In any case, thank you for working on this!!! <3 <3

Any progress with this one @zzak ?

@sjke @szymonbaranowski This will need a rebase <3

I tried manually rebasing this patch, and OK to merge for the 0.5.0 release -- but it seems the tests from #40 are now failing with Rails 5.


[Windows] Restore lost host routes during agent initialization

When initialize the agent network on Windows node, the IP
configuration of uplink interface will be moved to OVS bridge
local interface. Which will cause the routes configured on
the uplink interface are lost.
This patch saves the routes configured on the uplink interface
before the IP configuration change and adds the saved routes on
OVS bridge local interface after that.
Signed-off-by: Rui Cao<EMAIL_ADDRESS>

/test-all

/test-e2e

/test-networkpolicy

/test-conformance

/test-all

/test-conformance

/test-networkpolicy

/test-all

/test-all

/test-networkpolicy

/test-e2e

/test-conformance

/test-e2e
/test-conformance
/test-networkpolicy

/test-e2e
/test-conformance
/test-networkpolicy

/test-e2e

/test-conformance
/test-networkpolicy


make sure that metadata has the minimal set of properties even when the user didnt supply them

maybe load .zenodo.json.empty first, then add whatever the user has in filename or .zenodo.json

done, closing


Rely only on config to enable the pod check

What does this PR do?
Rely only on config to enable the pod check
Motivation
What inspired you to submit this pull request?
Additional Notes
Anything else we should know when reviewing?

@hkaj the process-agent will not crash but log an error everytime the check tries to run:
2020-01-09 10:55:52 UTC | PROCESS | ERROR | (collector.go:93 in runCheck) | Unable to run check 'pod': temporary failure in kubeutil, will retry later: try delay not elapsed yet
...
2020-01-09 11:04:02 UTC | PROCESS | ERROR | (collector.go:93 in runCheck) | Unable to run check 'pod': permanent failure in kubeutil: retry number exceeded


PHP 8.3 support

Hello,
is there chance to get upgrade this library to support PHP8.3?
laravel-scout-elasticsearch 7.4 needs package roave/better-reflection ^4.3|^5.0
But to support 8.3 roave/better-reflection needs to be ^6.18

Hey, feel free to send a PR to upgrade roave/better-reflection if it will pass tests we can make a new release

released. thanks @jackraymund


Is it supported to use Surface stateless components without LiveView?

I'm testing adding Surface to an existing Phoenix project that currently doesn't have LiveView, and I'm wondering if the use case of stateless components on regular pages (non-LiveView) is officially supported.
I was able to render a stateless Surface component on a regular controller by overriding the render("index.html", assigns) of my view file:
defmodule PhoenixProjectWeb.PageView do
  use PhoenixProjectWeb, :view

  alias PhoenixProjectWeb.Components.Button

  def render("index.html", assigns) do
    ~F"""
    <Button>I'm a Surface button</Button>
    """
  end
end

I wasn't able to render it on my template though (templates/page/index.html.heex).  There is a page on the docs talking about usage with Phoenix templates but it only covers LiveView templates, not regular ones.
Tried changing the extension of my template file from .heex to .sface but there's no configured engine for it.
So is this use case supported? And is there a way to use Surface components on a controller with a template file? (without defining render/2 on the view file)

Implemented in #543 and #548.


Add valid status codes assertion by default using the defined responses

did we talk about adding the SwaggerComplianceAssertion also?

Yes, but that will be in a separate PR.

mighty fine!


[Toggle] Invalid prop label of type Object

Problem description
The Toggle components' label props only accepts string values but works with react elements
Versions
Material-UI: v0.16.1
React: v15.3.1
Browser: chromium 53.0.2785.143 m

Right, it should be a node as declared in the EnhancedSwitch. Any PR is welcomed 👍 .

That's my first pull request here, I hope it helps. Thank you for the work you put in this package !

That's a great first PR. Thanks.
Le jeu. 27 oct. 2016 01:22, Adrien Mangeot<EMAIL_ADDRESS>a
écrit :

That's my first pull request here, I hope it helps. Thank you for the work
you put in this package !
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/callemall/material-ui/issues/5461#issuecomment-256505406,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ADBNw91oU_yP7RPOQtSnvI4_tL1UUOO2ks5q3-CwgaJpZM4Kf1qc
.


Map is not shown on ios simulator

Steps to Reproduce

I'm trying to add google maps to my project, but the map is self is not showing on ios simulator
here is what I get when running the widget
I have tried to to add
io.flutter.embedded_views_preview

to info.plist ,
also update the map SDK to the latest version
here's my code

static const LatLng _center = const LatLng(45.521563, -122.677433);

void _onMapCreated(GoogleMapController controller) {
  _controller.complete(controller);
}

@override
Widget build(BuildContext context) {
  return MaterialApp(
    home: Scaffold(
      appBar: AppBar(
        title: Text('Maps Sample App'),
        backgroundColor: Colors.green[700],
      ),
      body: GoogleMap(
        onMapCreated: _onMapCreated,
        initialCameraPosition: CameraPosition(
          target: _center,
          zoom: 11.0,
        ),
      ),
    ),
  );
}

Logs

[VERBOSE-2:platform_view_layer.cc(38)] Trying to embed a platform view but the PaintContext does not support embedding
Google Maps SDK for iOS version: <IP_ADDRESS>
    [C1.1 3DBF24C4-522B-4596-B9CD-9F9A538547E8 <IP_ADDRESS>:51304<-><IP_ADDRESS>:443]
    Connected Path: satisfied (Path is satisfied), interface: en0
    Duration: 0.791s, DNS @0.009s took 0.078s, TCP @0.091s took 0.163s, TLS took 0.337s
    bytes in/out: 4277/672, packets in/out: 9/8, rtt: 0.155s, retransmitted packe

[✓] Flutter (Channel stable, v1.9.1+hotfix.2, on Mac OS X 10.14.6 18G95, locale en-SA)

[✓] Android toolchain - develop for Android devices (Android SDK version 28.0.3)
[✓] Xcode - develop for iOS and macOS (Xcode 10.3)
[✓] Android Studio (version 3.4)
[!] IntelliJ IDEA Community Edition (version 2019.1.4)
    ✗ Flutter plugin not installed; this adds Flutter specific functionality.
    ✗ Dart plugin not installed; this adds Dart specific functionality.
[✓] Connected device (1 available)

I have always had this issue on Simulators. However, the issue disappears when I build for devices in release.

Hi @talhazzani  @wilburt
Are you still experiencing this issue?
If so, can you please provide your flutter doctor -v and flutter run --verbose?
Thank you

Hey @TahaTesser  and @wilburt the issue has disappeared for me
Thanks your support I will close this now


'Use' command sometimes generate script with empty path to werf binary

Sometimes use command generate a script without path to werf binary. No warnings, no errors, multiwerf output looks good, but script is not valid:
multiwerf is /home/gitlab-runner/bin/multiwerf
werf 1.0/beta stays at v1.0.1-beta.9

werf ()
{
    if [[ $1 == "--path" ]]; then
        echo '';  # <-- path to werf binary should be here
        return;
    fi;
    "$@"  # <-- path to werf binary should be here
}

PR #27 adds an error message about empty path and multiwerf will stop on this condition.
Please report here if you are faced with this problem.

I get that error sometimes.
task runned: 30 may 2019 at 11:00 MSK
gitlab-runner@test-runner:~$ multiwerf version
multiwerf v1.0.13
gitlab-runner@test-runner:~$ ls -al ~/bin/multiwerf
-rwxr-xr-x 1 gitlab-runner gitlab-runner 5889664 May 27 18:48 /home/gitlab-runner/bin/multiwerf

I can post  new message in this tread always i get error by version multiwerf


NBM and GFS models integrate once a day

Describe the bug
This was an issue with V2.0.11 and was fixed in V2.1 on the development endpoint but when V2.1 was made live these models initially never updated. With the 6h restart policy added in #294 its now back to updating once per day.
When initially looking at #293 I was able to test on the development endpoint and it was broken there as well. With the recent updates the development endpoint is down and has been for a few days.
Expected behavior
NBM should be updated every hour, NBM Fire and GFS updated every six hours
Actual behavior
NBM, NBM Fire and GFS update once a day
API Endpoint
Production
Location
Ottawa, Ontario
Other details
No response
Troubleshooting steps

[X] I have searched this repository and Home Assistant Repository to see if the issue has already been reported.
[X] I have read through the API documentation before opening this issue.
[X] I have written an informative title.

@alexander0042 I noticed that NBM and GFS have integrated a new run but now HRRR sub-hourly is missing. Not sure if you're working on this or if something else is happening.

You beat me to the 2.2 docs that addresses this! I want to watch it for a couple days, but really think this approach will work. As additional upsides, it's simpler for self-hosting (going back to straightforward directories) and faster (~10 ms for everything to run)

I'll leave this issue open and let you update the PR and merge it in when its ready to launch.
I'm also seeing a mix of 2.2 and 2.2a depending on which node I hit.


Periodic resync thread doesn't handle concurrent deletion

Caught by PR FV run 177; looks like we get an EtcdKeyNotFound but we're only expecting EtcdCompareFailed
calico.openstack.mech_calico [req-678cf762-201e-4117-81e5-6f41ee9062fe None] Error in periodic resync thread.
calico.openstack.mech_calico Traceback (most recent call last):
calico.openstack.mech_calico   File "/usr/lib/python2.7/dist-packages/calico/openstack/mech_calico.py", line 678, in periodic_resync_thread
calico.openstack.mech_calico     self.resync_endpoints(context)
calico.openstack.mech_calico   File "/usr/lib/python2.7/dist-packages/calico/openstack/mech_calico.py", line 770, in resync_endpoints
calico.openstack.mech_calico     self._resync_changed_ports(context, common_endpoints)
calico.openstack.mech_calico   File "/usr/lib/python2.7/dist-packages/calico/openstack/mech_calico.py", line 855, in _resync_changed_ports
calico.openstack.mech_calico     port, prev_index=endpoint.modified_index
calico.openstack.mech_calico   File "/usr/lib/python2.7/dist-packages/calico/openstack/t_etcd.py", line 107, in wrapped
calico.openstack.mech_calico     return fn(self, *args, **kwargs)
calico.openstack.mech_calico   File "/usr/lib/python2.7/dist-packages/calico/openstack/t_etcd.py", line 254, in write_port_to_etcd
calico.openstack.mech_calico     port_etcd_key(port), json.dumps(data), **kwargs
calico.openstack.mech_calico   File "/usr/lib/python2.7/dist-packages/etcd/client.py", line 406, in write
calico.openstack.mech_calico     response = self.api_execute(path, method, params=params)
calico.openstack.mech_calico   File "/usr/lib/python2.7/dist-packages/etcd/client.py", line 814, in api_execute
calico.openstack.mech_calico     return self._handle_server_response(response)
calico.openstack.mech_calico   File "/usr/lib/python2.7/dist-packages/etcd/client.py", line 849, in _handle_server_response
calico.openstack.mech_calico     etcd.EtcdError.handle(r)
calico.openstack.mech_calico   File "/usr/lib/python2.7/dist-packages/etcd/__init__.py", line 289, in handle
calico.openstack.mech_calico     raise exc(msg, payload)
calico.openstack.mech_calico EtcdKeyNotFound: Key not found : /calico/v1/host/calico-ci02/workload/openstack/255f5da4-ed77-4b4c-8153-5b51c0e303f0
calico.openstack.mech_calico

The merging of the fix for this overlapped with the mech driver move, so fix now needs to be reapplied in networking-calico.  That is tracked by https://bugs.launchpad.net/networking-calico/+bug/1519795.

We were expecting EtcdCompareFailed (which is what we see if the key was changed under us) if the key had been deleted.  However, we get an EtcdKeyNotFound instead so we don't catch the exception.


chore(release): v0.18.6

Version bump in package.json for release v0.18.6

:tada: This PR is included in version 0.18.7 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Help people who want to run tests

Now you can use run-asm-tests etc...

Do you need to include those Makefrags somewhere?

Yeah, you need to include it in the Makefrag in vsim/ and verisim/

Yeah let me push my do-the-right-thing include.

Anyone have problems with this? @zhemao @grebe @abejgonzalez ?


Fix enums - allow string as value, require id

The schema allows specifying enum members only in "verbose" format (https://github.com/kaitai-io/kaitai_struct/issues/70#issuecomment-269937635), it doesn't allow the "brief" one.
On top of that, when the verbose format is chosen, id must be specified (otherwise KSC will throw an error), which isn't enforced by the schema.

Thanks, sorry for late reaction!


Message: Not found  Filename: /home/omarada329/domains/booksbase.rent/public_html/vendor/mangopay/php-sdk-v2/MangoPay/Libraries/RestTool.php

An uncaught Exception was encountered
Type: MangoPay\Libraries\ResponseException
Message: Not found
Filename: /home/omarada329/domains/booksbase.rent/public_html/vendor/mangopay/php-sdk-v2/MangoPay/Libraries/RestTool.php
Line Number: 290
Backtrace:
File: /home/omarada329/domains/booksbase.rent/public_html/vendor/mangopay/php-sdk-v2/MangoPay/Libraries/RestTool.php
Line: 150
Function: CheckResponseCode
File: /home/omarada329/domains/booksbase.rent/public_html/vendor/mangopay/php-sdk-v2/MangoPay/Libraries/ApiOAuth.php
Line: 28
Function: Request
File: /home/omarada329/domains/booksbase.rent/public_html/vendor/mangopay/php-sdk-v2/MangoPay/Libraries/AuthorizationTokenManager.php
Line: 33
Function: CreateToken
File: /home/omarada329/domains/booksbase.rent/public_html/vendor/mangopay/php-sdk-v2/MangoPay/Libraries/AuthenticationHelper.php
Line: 83
Function: GetToken
File: /home/omarada329/domains/booksbase.rent/public_html/vendor/mangopay/php-sdk-v2/MangoPay/Libraries/AuthenticationHelper.php
Line: 27
Function: GetHttpHeaderStrong
File: /home/omarada329/domains/booksbase.rent/public_html/vendor/mangopay/php-sdk-v2/MangoPay/Libraries/RestTool.php
Line: 260
Function: GetHttpHeaderKey
File: /home/omarada329/domains/booksbase.rent/public_html/vendor/mangopay/php-sdk-v2/MangoPay/Libraries/RestTool.php
Line: 183
Function: GetHttpHeaders
File: /home/omarada329/domains/booksbase.rent/public_html/vendor/mangopay/php-sdk-v2/MangoPay/Libraries/RestTool.php
Line: 137
Function: BuildRequest
File: /home/omarada329/domains/booksbase.rent/public_html/vendor/mangopay/php-sdk-v2/MangoPay/Libraries/ApiBase.php
Line: 257
Function: Request
File: /home/omarada329/domains/booksbase.rent/public_html/vendor/mangopay/php-sdk-v2/MangoPay/ApiWallets.php
Line: 26
Function: GetObject
File: /home/omarada329/domains/booksbase.rent/public_html/application/modules/dashboard/controllers/Dashboard.php
Line: 5842
Function: Get
File: /home/omarada329/domains/booksbase.rent/public_html/index.php
Line: 292
Function: require_once

Hi,
Do you mind adding a little more information? Like for example, have you loaded the autoload.php file as required?

Hi,
Do you mind adding a little more information? Like for example, have you loaded the autoload.php file as required?

Hi , thanks for your reply, i added autoload file in vendor root.
following is the code:

please  help ,me in this, what else i need to add.

Oh, I misread your message. The error you are posting is a Not Found Response Exception. Meaning you requested a non-existent item using the API. For instance, you are fetching a wallet but does the wallet really exist?

Actually, am not getting this error for wallet only, infact i run any api on server, i get same error. I don't know what i am missing. should i install mangopay again on  server.

I also had trouble with this. And although I was getting the error when I tried to retrieve a resource that didn't exist, I think it's not the best practice to throw an exception in a private method of one of the sdk classes and expect the developers to find it and handle it... What I mean to say is that by reading the php-docs of the Request public method in RestTool this exception is not mentioned, it isn't until I had a request with a non-existent resource id that I found out about this. Furthermore, I'm not even using the Request method in my code but the methods in ApiBase, that in turn use the RestTool class.

Hello,
i am using payment gateway with php sdk it is working fine on my local server but same code is on my live server then getting following error Message: Not found,
An uncaught Exception was encountered
Type: MangoPay\Libraries\ResponseException
Message: Not found
Filename: /home/fruiteefy/public_html/dev/vendor/mangopay/php-sdk-v2/MangoPay/Libraries/RestTool.php
Line Number: 330
Backtrace:
File: /home/fruiteefy/public_html/dev/vendor/mangopay/php-sdk-v2/MangoPay/Libraries/RestTool.php
Line: 152
Function: CheckResponseCode
File: /home/fruiteefy/public_html/dev/vendor/mangopay/php-sdk-v2/MangoPay/Libraries/RestTool.php
Line: 110
Function: RunRequest
File: /home/fruiteefy/public_html/dev/vendor/mangopay/php-sdk-v2/MangoPay/Libraries/ApiOAuth.php
Line: 28
Function: Request
File: /home/fruiteefy/public_html/dev/vendor/mangopay/php-sdk-v2/MangoPay/Libraries/AuthorizationTokenManager.php
Line: 33
Function: CreateToken
File: /home/fruiteefy/public_html/dev/vendor/mangopay/php-sdk-v2/MangoPay/Libraries/AuthenticationHelper.php
Line: 68
Function: GetToken
File: /home/fruiteefy/public_html/dev/vendor/mangopay/php-sdk-v2/MangoPay/Libraries/AuthenticationHelper.php
Line: 27
Function: GetHttpHeaderStrong
File: /home/fruiteefy/public_html/dev/vendor/mangopay/php-sdk-v2/MangoPay/Libraries/RestTool.php
Line: 308
Function: GetHttpHeaderKey
File: /home/fruiteefy/public_html/dev/vendor/mangopay/php-sdk-v2/MangoPay/Libraries/RestTool.php
Line: 213
Function: GetHttpHeaders
File: /home/fruiteefy/public_html/dev/vendor/mangopay/php-sdk-v2/MangoPay/Libraries/RestTool.php
Line: 109
Function: BuildRequest
File: /home/fruiteefy/public_html/dev/vendor/mangopay/php-sdk-v2/MangoPay/Libraries/ApiBase.php
Line: 209
Function: Request
File: /home/fruiteefy/public_html/dev/vendor/mangopay/php-sdk-v2/MangoPay/ApiWallets.php
Line: 26
Function: GetObject
File: /home/fruiteefy/public_html/dev/application/controllers/Welcome.php
Line: 423
Function: Get
File: /home/fruiteefy/public_html/dev/index.php
Line: 316
Function: require_once

I can't reproduce

Hi @sayalivaidya
Have you confirmed that there is no cache issue on the live serveur?
Feel free to reach out if the issue persists.
Regards,
Max


How can I use dfget to download files from another node in the same network?

I have a virtual network with containernet with 4 nodes that run dragonfly:

1 supernode
<IP_ADDRESS>
3 clients dfget version:0.4.2
<IP_ADDRESS> has 512MB.zip
<IP_ADDRESS>
<IP_ADDRESS> is supposed to get 512MB.zip

Do I have to start a server on <IP_ADDRESS> using dfget server to be able to access the node's files?
I naively tried to use dfget on <IP_ADDRESS> like this dfget --verbose -u http://<IP_ADDRESS>/root/.small-dragonfly/512MB.zip --notbs without running a server on <IP_ADDRESS>.
Which resulted in the following error:
--2019-07-30 20:03:20--  http://<IP_ADDRESS>/root/.small-dragonfly/512MB.zip
dfget version:0.4.2
workspace:/root/.small-dragonfly sign:529-1564517000.740
client:<IP_ADDRESS> connected to node:<IP_ADDRESS>:8002
start download by dragonfly
migrated to node:<IP_ADDRESS>:8002
download FAIL(1104) cost:2.334s length:-1 reason:1003 error:{"Code":1104,"Msg":"download fail and not back source: 1003"}

And the following log entry:
2019-07-30 20:03:20.740 DEBU sign:529-1564517000.740 : initProperties[/etc/dragonfly/dfget.yml] success: {"Nodes":["<IP_ADDRESS>:8002"],"LocalLimit":20971520,"MinRate":65536,"TotalLimit":0,"ClientQueueSize":6}
2019-07-30 20:03:20.740 INFO sign:529-1564517000.740 : get cmd params:["dfget" "--verbose" "-u" "http://<IP_ADDRESS>/root/.small-dragonfly/512MB.zip" "--notbs"]
2019-07-30 20:03:20.740 INFO sign:529-1564517000.740 : get init config:{"url":"http://<IP_ADDRESS>/root/.small-dragonfly/512MB.zip","output":"/512MB.zip","localLimit":20971520,"minRate":65536,"pattern":"p2p","node":["<IP_ADDRESS>:8002"],"notbs":true,"verbose":true,"clientQueueSize":6,"startTime":"2019-07-30T20:03:20.740015963Z","sign":"529-1564517000.740","user":"root","workHome":"/root/.small-dragonfly","configFile":["/etc/dragonfly/dfget.yml","/etc/dragonfly.conf"]}
2019-07-30 20:03:20.740 INFO sign:529-1564517000.740 : target file path:/512MB.zip
2019-07-30 20:03:20.740 INFO sign:529-1564517000.740 : runtimeVariable: {"MetaPath":"/root/.small-dragonfly/meta/host.meta","SystemDataDir":"/root/.small-dragonfly/data","DataDir":"/root/.small-dragonfly/data","RealTarget":"/512MB.zip","TargetDir":"/","TempTarget":"/dfget-529-1564517000.740.tmp-232024637","Cid":"<IP_ADDRESS>-529-1564517000.740","TaskURL":"http://<IP_ADDRESS>/root/.small-dragonfly/512MB.zip","TaskFileName":"512MB.zip-529-1564517000.740","LocalIP":"<IP_ADDRESS>","PeerPort":0,"FileLength":-1,"DataExpireTime":180000000000,"ServerAliveTime":300000000000}
2019-07-30 20:03:20.740 INFO sign:529-1564517000.740 : local http result: err:dial tcp4 <IP_ADDRESS>:0: connect: connection refused, port:0 path:/check/
2019-07-30 20:03:20.878 INFO sign:529-1564517000.740 : local http result:512MB.zip-529-1564517000.740 err:<nil>, port:30056 path:/check/
2019-07-30 20:03:20.878 INFO sign:529-1564517000.740 : use peer server on port:30056
2019-07-30 20:03:20.878 INFO sign:529-1564517000.740 : do register to one of [<IP_ADDRESS>:8002 <IP_ADDRESS>:8002]
2019-07-30 20:03:20.881 INFO sign:529-1564517000.740 : do register to <IP_ADDRESS>:8002, res:{"code":200,"msg":"success","data":{"taskId":"498cfdde851bb772111642e1d205f2bfb34a8e68033f71003e69d070229e2b84","fileLength":-1,"pieceSize":4194304}} error:<nil>
2019-07-30 20:03:20.881 INFO sign:529-1564517000.740 : do register result:{"code":200,"msg":"success","data":{"taskId":"498cfdde851bb772111642e1d205f2bfb34a8e68033f71003e69d070229e2b84","fileLength":-1,"pieceSize":4194304}} and cost:0.003s
2019-07-30 20:03:20.881 INFO sign:529-1564517000.740 : downloading piece:{"taskID":"498cfdde851bb772111642e1d205f2bfb34a8e68033f71003e69d070229e2b84","superNode":"<IP_ADDRESS>:8002","dstCid":"","range":"","result":502,"status":700,"pieceSize":0,"pieceNum":0}
2019-07-30 20:03:20.882 INFO sign:529-1564517000.740 : pull piece task result:{"code":602,"msg":"clientSucCount:0,cdnSucCount:0: {\"Code\":9,\"Msg\":\"peer should wait\"}"} and sleep 1.490s
2019-07-30 20:03:22.373 ERRO sign:529-1564517000.740 : pull piece task fail:{"code":500,"msg":"taskID: 498cfdde851bb772111642e1d205f2bfb34a8e68033f71003e69d070229e2b84: {\"Code\":7,\"Msg\":\"cdn status is fail\"}"} and will migrate
2019-07-30 20:03:22.374 INFO sign:529-1564517000.740 : do register to one of [<IP_ADDRESS>:8002]
2019-07-30 20:03:22.376 INFO sign:529-1564517000.740 : do register to <IP_ADDRESS>:8002, res:{"code":200,"msg":"success","data":{"taskId":"498cfdde851bb772111642e1d205f2bfb34a8e68033f71003e69d070229e2b84","fileLength":-1,"pieceSize":4194304}} error:<nil>
2019-07-30 20:03:22.376 INFO sign:529-1564517000.740 : do register result:{"code":200,"msg":"success","data":{"taskId":"498cfdde851bb772111642e1d205f2bfb34a8e68033f71003e69d070229e2b84","fileLength":-1,"pieceSize":4194304}} and cost:0.002s
2019-07-30 20:03:22.376 INFO sign:529-1564517000.740 : pull piece task result:{"code":602,"msg":"clientSucCount:0,cdnSucCount:0: {\"Code\":9,\"Msg\":\"peer should wait\"}"} and sleep 0.695s
2019-07-30 20:03:23.073 ERRO sign:529-1564517000.740 : pull piece task fail:{"code":500,"msg":"taskID: 498cfdde851bb772111642e1d205f2bfb34a8e68033f71003e69d070229e2b84: {\"Code\":7,\"Msg\":\"cdn status is fail\"}"} and will migrate
2019-07-30 20:03:23.073 INFO sign:529-1564517000.740 : do register to one of []
2019-07-30 20:03:23.073 ERRO sign:529-1564517000.740 : register fail:{"Code":-100,"Msg":"empty response, unknown error"}
2019-07-30 20:03:23.073 ERRO sign:529-1564517000.740 : download piece fail: {"Code":-100,"Msg":"empty response, unknown error"}
2019-07-30 20:03:23.073 ERRO sign:529-1564517000.740 : download fail and not back source: 1003
2019-07-30 20:03:23.074 INFO sign:529-1564517000.740 : download FAIL cost:2.334s length:-1 reason:1003

I also tried running a server on <IP_ADDRESS> like this:
dfget server --ip <IP_ADDRESS> --port 22222
and adding the port 22222 to the download dfget command which resulted in the same error messages.
How can I address and download a file like 512MB.zip using the node <IP_ADDRESS>?

Unfortunately, you can't download files directly from <IP_ADDRESS> which has been downloaded the file that you want.

@Starnop thanks!
I thought that you can use dfget server to supply files to the network.
But I must have misunderstood that.


use cannon-es maintained cannonjs fork

cannon-es is maintained again
would be nice to use this
https://github.com/react-spring/cannon-es
https://discourse.threejs.org/t/cannon-js-the-physics-library-is-maintained-again/13519

Looks promising to me! Unfortunately I don't think I will work on this myself any time soon; PRs welcome. It would probably also be necessary to migrate https://github.com/donmccurdy/three-to-cannon.

working on it

https://github.com/donmccurdy/aframe-physics-system/pull/147


Manually selectively backport #13052

Rebase and Merge

Summary
Manually backport some commits from #13052

Checklist

[ ] The Pull Request has tests
[ ] A changelog file has been created under changelog/unreleased/kong or skip-changelog label added on PR if changelog is unnecessary. README.md
[ ] There is a user-facing docs PR against https://github.com/Kong/docs.konghq.com - PUT DOCS PR HERE

Issue reference

Fix #[issue number]

release dry run: https://github.com/Kong/kong/actions/runs/10067808142

Release dry run: https://github.com/Kong/kong/actions/runs/10069711232

Please give this PR a proper title, like chore(ci): ...

Please give this PR a proper title, like chore(ci): ...

Hi @chronolaw , this PR needs to be "rebase and merge" thus the subject doesn't follow our convention (I didn't want to follow the convention to avoid someone click the "squash and merge"). Please help review the individual commit messages. Thanks


Plugin informational messages

A plugin's configuration is now fire and forget - it either works or doesn't, no way to add feedback to the plugin configuration form. The only way to get any feedback is from the server log.
There are also times when a plugin might want to add dynamic information to the configuration ui: for example a list of available sensors' ids that can be activated.
A poor man's solution is to provider these in the ui for the user to copypaste to a form field.
A richer solution would be to incorporate dynamic data into the form's input as data, not just informational text, allowing the code to use that, for example as enum values in the plugin config schema.
It would be straightforward to support messaging from a plugin via serverevents to the configuration ui.

https://github.com/SignalK/signalk-server-node/blob/master/SERVERPLUGINS.md#appsetproviderstatusmsg


bumpversion.sh VersionNotFoundException in setup.py

Describe the bug
I got a VersionNotFoundException while trying to use bumpversion.sh as part of release process
To Reproduce
Go through the steps in release-process.md. Step 2 is make a call to ./bumpversion.sh.
I called it with the "patch" sub-argument. It gave me this traceback:
(venv) trentmc@trentmcLnv:~/code/ocean.py$ ./bumpversion.sh patch
+ set -e
++ command -v bumpversion
+ '[' -x /home/trentmc/code/ocean.py/venv/bin/bumpversion ']'
+ git diff-index --quiet HEAD --
+ '[' 1 -lt 1 ']'
+ [[ patch != \m\a\j\o\r ]]
+ [[ patch != \m\i\n\o\r ]]
+ [[ patch != \p\a\t\c\h ]]
+ [[ '' == \-\-\t\a\g ]]
+ bumpversion --no-tag patch
Traceback (most recent call last):
  File "/home/trentmc/.local/bin/bumpversion", line 8, in <module>
    sys.exit(main())
  File "/home/trentmc/.local/lib/python3.8/site-packages/bumpversion/cli.py", line 124, in main
    _check_files_contain_version(files, current_version, context)
  File "/home/trentmc/.local/lib/python3.8/site-packages/bumpversion/cli.py", line 618, in _check_files_contain_version
    f.should_contain_version(current_version, context)
  File "/home/trentmc/.local/lib/python3.8/site-packages/bumpversion/utils.py", line 68, in should_contain_version
    raise VersionNotFoundException(
bumpversion.exceptions.VersionNotFoundException: Did not find 'version='0.5.11'' in file: 'setup.py'

There were no changes made to setup.py or otherwise.
Expected behavior

No error
Changed the line in setup.py with the version number, from e.g. 0.5.11 to 0.5.12

The fix of changing from double quotes to single quotes works because the py file called by bumpversion.sh only looks for single quotes.

Commit 1/2, above (https://github.com/oceanprotocol/ocean.py/commit/4cd04ae895df12dc61ba8e6a17f8c3002ff1d0e8) led to complaints by black and flake8.
Commit 2/2, done just now (https://github.com/oceanprotocol/ocean.py/commit/ab8745a6d4ebe4ef7c67ce3da8e7e6ec3acce5de) fixes those.

for flake8, added "noqa : .." to the line
black, annoyingly, doesn't do per-line exceptions. However you can get it to ignore files using pyproject.toml. Details.. So I did that.


Another "Input buffet contains unsupported image format"

Are you using the latest version?

Yes: 0.28.1

What are the steps to reproduce?

For most images, this works fine. However, for seemingly random images (which otherwise appear to be fine), the Input Buffer unsupported image format is consistently thrown. I took all the images myself with the same camera, so I'm certain they're actually jpeg (unlike #1852, where the image was secretly a bitmap in disguise).
Curiously, the error is NOT thrown without FSWatcher in the mix (eg when the image is already on the flash drive).
Also curiously, the error is NOT thrown when fs.watch observes a same-disk-to-same-disk move (eg moving the image from elsewhere on the local hard drive to the watched folder on the local hard drive, or moving the image from elsewhere on the flash drive to the watched folder on the hard drive). That makes me think it's some kind of latency issue, BUT:
The file buffer appears to be intact in both scenarios, and the readFile is awaited, so it should have finished before the buffer is passed to Sharp.
However, in a case against latency (in addition to it being always the same images): It does not appear to be affected by file-size: some of the erroring ones are significantly smaller than others that non-error (ex one erroring is 2.5 MB, and one non-erroring is 4.5 MB). If it were a latency issue, larger files should be more prone to errorure than smaller (out of my test set of 18 images, 8 error, and their sizes are roughly evenly distributed in a range of 2.5 MB to 4.5 MB, and the 10 non-erroring are similarly ranged in size).
And finally, the error does not actually seem to matter—the operation still succeeds: the 800-width image gets written to dest, and AFAICT, the new file is fine.
My apologies if the problem is actually unrelated to Sharp (that seems possible since fs.watch appears to be a critical piece, but that doesn't make much sense either).

Are you able to provide a minimal, standalone code sample, without other dependencies, that demonstrates this problem?

Yes, I can put one together if needed.

Are you able to provide a sample image that helps explain the problem?

Yes, can do.

What is the output of running npx envinfo --binaries --system?

  System:
    OS: macOS 10.15.7
    CPU: (12) x64 Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz
    Memory: 15.41 GB / 32.00 GB
    Shell: 5.7.1 - /bin/zsh
  Binaries:
    Node: 15.14.0 - ~/.nvm/versions/node/v15.14.0/bin/node
    npm: 7.7.6 - ~/.nvm/versions/node/v15.14.0/bin/npm

This almost certainly relates to data on the USB device not being completely written before the event fires, or possibly the event firing multiple times.
A "rename" involving two physical devices will write the new file then delete the old file, rather than e.g. just updating inode metadata.
Please try chokidar and make sure you set the awaitWriteFinish option to true.

Okay, I shall give that a try.
Any idea why it's always the same files that error and don't error though? That seems pretty suspicious to me. I tried a couple dozen times, and then also with a much larger set of files (~700) twice.
When dragging the files onto the flash drive, a copy is made (the originals are not deleted); but when moving on the same disk, the original is gone (I'm not sure whether it is a deletion of the 'original' or a pointer update—I would hope the latter).
Thanks!

I added some logging, and it appears that FSWatcher fires 2 rename events:
Watcher: { eventType: 'rename', filename: '_MG_7446.JPG' }

Processing: _MG_7446.JPG

Error: Input buffer contains unsupported image format

Watcher: { eventType: 'rename', filename: '_MG_7446.JPG' }

Processing: _MG_7446.JPG

Watcher: { eventType: 'rename', filename: '_MG_7442.JPG' }

Processing: _MG_7442.JPG

Watcher: { eventType: 'rename', filename: '_MG_7442.JPG' }

Processing: _MG_7442.JPG

_MG_7442 never errors and is 4.5 MB
_MG_7446 always errors and is 2.5 MB

Sequence doesn't matter: _MG_7442 before or after _MG_7446 doesn't change erroring vs not erroring, and one-at-a-time also always produces the same result.

Thanks for the update, glad you worked it out.

Hmm? I didn't work it out.
I think this essentially proves it's not latency.

Oh, I thought your comment meant that you'd worked out the problem relates to race conditions within fs.watch and is unrelated to sharp.

It doesn't appear to be a race condition, but noticing the duplicate events did put me onto a simple workaround (chokidar may also handle), which I just verified works: keep a list of files signalled by FSWatcher and use that to always ignore the 1st event (since the 2nd is always safe but the 1st isn't).
Fortunately, I already keep a similar list elsewhere as part of the processing (to avoid truly duplicate files), so I just had to move where/when that happens.
So in summary, I don't know what the actual underlying problem is, but I did also confirm that the file buffer passed to sharp the first time (when sharp throws) is indeed fine: I instead immediately wrote the buffer to disk as a file, and upon viewing the image (with Preview), I cannot find any issues (it renders, no errors, EXIF data looks fine, etc).
Thank you for the help!

@lovell I did some more digging, and it seems in the above scenario when sharp is checking the buffer, the buffer is empty. Would you consider adding a check and error message specifically about that?
if (!buffer.length) throw new Error('Input buffer is empty');

I think that would be much more helpful than saying it contains an unsupported image (which is technically not accurate: it doesn't contain anything 😜).


[FEAT] Add AUC to ROC chart

Is your proposal related to a problem?

Area under the curve (AUC) is a very common way to assess and compare models, it feels sensible to add this to some part of the roc chart.
Describe the solution you'd like

Describe alternatives you've considered

Additional context

Splink4 accuracy analysis includes this


[WIP] Cluster stats and refactor Session

BaseClusterInfo is a generic class holding cluster-dependent data.
ClusterMetadata derives from it.
ClusterStats too. It acts like a cache; the defaultdict factory function acts as a function computing a cluster statistic, only called if the cluster is not in cache.
Closes #66.
Closes #97.

TODO

[ ] Add cluster masks
[ ] More interface tests

Coverage decreased (-0.22%) to 96.49% when pulling b7b8184b4bf195d719b9752463b82cfe490f09f4 on rossant:cluster-masks into 1d8c2e05144e3887dea7e82aa1a8e865ca27821d on kwikteam:master.

Coverage decreased (-0.13%) to 96.57% when pulling 3bebaa920aa98cab0c9d6d9e455912a115229319 on rossant:cluster-masks into 1d8c2e05144e3887dea7e82aa1a8e865ca27821d on kwikteam:master.

Coverage decreased (-0.48%) to 96.23% when pulling b1be70f4d5949efaf13e1dcc8b441f7a90094173 on rossant:cluster-masks into 1d8c2e05144e3887dea7e82aa1a8e865ca27821d on kwikteam:master.

Coverage decreased (-0.48%) to 96.23% when pulling b1be70f4d5949efaf13e1dcc8b441f7a90094173 on rossant:cluster-masks into 1d8c2e05144e3887dea7e82aa1a8e865ca27821d on kwikteam:master.

Coverage decreased (-0.48%) to 96.23% when pulling b1be70f4d5949efaf13e1dcc8b441f7a90094173 on rossant:cluster-masks into 1d8c2e05144e3887dea7e82aa1a8e865ca27821d on kwikteam:master.

Coverage decreased (-0.47%) to 96.24% when pulling bdbb9dc75773aae655a72826ac8eea68e17db5d6 on rossant:cluster-masks into 1d8c2e05144e3887dea7e82aa1a8e865ca27821d on kwikteam:master.

Coverage decreased (-0.33%) to 96.38% when pulling 1b8bfbc9b227ae3f60bcb3a045c0c9e7d82e78d5 on rossant:cluster-masks into 1d8c2e05144e3887dea7e82aa1a8e865ca27821d on kwikteam:master.

ready for merge @nippoo

Coverage decreased (-0.34%) to 96.37% when pulling 8d823f0eb5237589016dbf42387a72d66e76f091 on rossant:cluster-masks into 1d8c2e05144e3887dea7e82aa1a8e865ca27821d on kwikteam:master.


LDAP User Template not working

Hi guys,
I'm trying to configure LDAP, but I have a strange behavior with the substitution of the %s variable in LDAP_USER_TEMPLATE.
The issue is that this variable is not taking the user name from the login page but it's replaced with a "/bin/sh" string. Obviously the replaced value is not a valid user for my LDAP server.
In fact, if I set the LDAP_USER_TEMPLATE variable directly to a valid username it works, of course if I put the correct password on the login page, of course.
I'm running Cerebro as a service on Systemd, maybe is this the problem?
I would be very grateful if someone could give me some help...
Thanks!

Now is working, apparently it's not passing the correct value using only %s, so I changed it to %1$s and now is passing the text that the user input on the login page.


RequestInitDocument Not Found

hi i'm full install my local server but when time open mainpage give this error
RequestInitDocument Not Found
can you help me pls

seems like misconfiguration in hhvm or nginx.


Problem with passing model in hideExpression when have fieldGroup

I have follow field definition:
    field1,
     field2, .....
{
      fieldGroupClassName: 'row',
      wrappers: ['panel'],
      key: 'Address',
      hideExpression: function (model: any, formState: any) {
        console.log('=================Start====================');
        console.log(model);
        console.log('=================End====================');
        if (model && model.DocumentCountryId) {
          return model.DocumentCountryId === "84865a19-c589-4af7-8972-982c8ac16e90"
        }
        return true;
      },
      templateOptions: {
        label: 'What is your home address?'
      },
      fieldGroup: [{
        className: "col-12 col-sm-12 col-md-6 col-lg-4 col-xl-4",
        type: 'sInput',
        key: 'Street1',
        templateOptions: {
          placeholder: 'Street 1',
          label: 'Street 1'
        }
      },
      .....]

The problem here is that when I have fieldGroup with fields, the model in hideExpression callback is empty object and have no access to the model. Result in console:

=================Start====================
{}
=================End====================

when fieldGroup is set and the key is present the passed model is parentModel.key, in your example it's model.Address.
in your case to access into the main model you have to use formState or use the this.model defined on your main component, see https://stackblitz.com/edit/angular-formly-6nvp4q

Thank you. I catch the idea. I had the same logic in formly for Angular 1.x and the context there was to main model. Here is changed. Thank you for resolving the issue.

Thank you for the info.

The above mentioned didn't work for me,  don't know why,
But somehow I got this working by using:
hideExpression: () => {
   return this.editing;
}

where editing is variable set true when editing a form.

Hey,
the hideExpression has a parameter containing the model, so you can use
that one.
hideExpression: (model: any) => ...

--
Juri Strumpflohner
Google Developer Expert in Web Tech • https://juristr.com • @juristr on
Twitter

Having issues with this for my Expression QueryBuilder when trying to swap out the field containing an array. What I have looks like this:
export function createFormlyCondition(): FormlyFieldConfig[] {
  return [
    {
      key: 'condition',
      type: 'condition',
      fieldGroup: [
        {
          key: 'type',
          type: 'radio',
          defaultValue: ConditionType.USER_DATA,
          templateOptions: {
            required: true,
            placeholder: 'Condition',
            options: [
              { value: ConditionType.LOGICAL_OPERATOR, label: 'Logical Operator' },
              { value: ConditionType.NEGATE, label: 'Negate' },
            ],
          },
        },
        {
          key: 'fields',
          type: 'condition-fields', // change this to 'input' and the model is different
          hideExpression: model => model.type !== 'LOGICAL_OPERATOR',
          fieldArray: {
            fieldGroup: [],
          },
        },
      ],
    },
  ];
}

This gets called in multiple places and there's also nesting. I don't really have access to this.model because of those things.
Judging by the amount of linked issues it seems quite a common problem. Maybe the solution would be to pass a third parameter to hideExpression like:
hideExpression: (model, formState, key) => {}

If it contains a formArray then you also have the key passed, but the model would be the same regardless of type

fieldArray has the same behavior of fieldGroup (internally rely on fieldGroup), for now, you can pass the main model to the formState.
Passing the field as a third argument would be another solution which I would consider adding to the V5.1

Passing the field as a third argument would be another solution which I would consider adding to the V5.1

Needed that today and used this.field in the expression. Is there something wrong when using it this way?

@FritzHerbers nop but it works only when passing a string expression, in case of a function expression there is no way to get the field instance. My plan is to deprecate this.field in favor of field.

Hi, does it possible to use string-expression related to parent model property, within fieldGroup / fieldArray ?


undefined symbol: jl_typeinf_begin on 1.9

Happens when testing the package on 1.9, pkgeval log: https://s3.amazonaws.com/julialang-reports/nanosoldier/pkgeval/by_hash/c6440b9_vs_d0156b5/CodeInfoTools.primary.log

and that's what happens when you use Core.Compiler kiddos ... :)

Right, this is the experimental stuff. @KDr2 are you using the code_inferred interface from this package? If yes, we should figure out how type inference has changed and correct our interface.

Right, this is the experimental stuff. @KDr2 are you using the code_inferred interface from this package? If yes, we should figure out how type inference has changed and correct our interface.

I am not using it now, I've turned to Core.Compiler to obtain the type info, so any change is fine to me :)


Java code highlighting does not support underscores in numeric literals

What steps will reproduce the problem?
1. Try typing code like `int x = 0b0110_0101;`
2. Prettify the code like normal.
3. See the issue.
(Please include HTML, not just your source code)

What is the expected output?  What do you see instead?

In Java 7, a new feature was added to Java that allows underscores to be placed
within numeric literals in order to improve the readability of them. However,
the Java code highlighting in Prettify is not properly treating numeric
literals with underscores as numeric literals.

Right now, Java numeric literals show up as red to stand out from what
surrounds it. However, when an underscore is used in such a numeric literal,
only the part to the left of the first underscore is highlighted as red; the
rest of the number is just black. Whenever this new feature is used in Prettify
code, it should be the entire numeric literal that is highlighted, not just the
first part of it.

What version are you using?  On what browser?

I'm using the Stack Overflow (http://stackoverflow.com/) implementation of
Prettify, on Internet Explorer 11.

Please provide any additional information below.

Relevant Meta Stack Overflow question:
http://meta.stackoverflow.com/questions/272508/java-code-highlighting-does-not-s
upport-underscores-in-numeric-literals

Oracle documentation for underscores in literals:
http://docs.oracle.com/javase/8/docs/technotes/guides/language/underscores-liter
als.html

Original issue reported on code.google.com by<EMAIL_ADDRESS>on 30 Sep 2014 at 7:10

Any chance this can be fixed soon?


 I guess :-).

Sorry it is taking so long 😆, I had to remember the context for this project

Changed the version # :)


Fixes #28721 -- Allowed using the variable names "inf/infinity" in templates.

https://code.djangoproject.com/ticket/28721

Still a WIP. Added a failing unit test to get things started.

FYI, I've just opened another ticket that also relates to this part of the template code:
https://code.djangoproject.com/ticket/28730


Feat: add waitForCompletion to deposit/withdraw

Description
There's a feature in deposit & withdrawal that if the caller has passed an EventEmitter into the deposit/withdraw function, it observes the deposit/withdrawal, which means it will keep requesting the RPC till the deposit/withdrawal has a result (or it will stop after too many cycles).
When I send a deposit/withdraw transaction, I might have to pass an EventEmitter into the function, but I don't always need to observe the result of the action. So I added a waitForCompletion option to both deposit and withdraw methods, so if waitForCompletion !== true, they just won't observe for the final result anymore.
Changes

Add waitForCompletion to deposit/withdraw
Rename some classes

I force-pushed some commits without changing the content (only messages are different).
This is a way to re-trigger vercel previews to rebuild, let's see if it works.

I force-pushed some commits without changing the content (only messages are different). This is a way to re-trigger vercel previews to rebuild, let's see if it works.

It doesn't work, maybe because new deployments are not for old PRs.
I will see how it works in new PRs.

I will see how it works in the new PRs, and if the environments has no issue in the new PRs, I can force-merge this one too.

Environments are fine in #228, and it's merged.
I think we can safely merge this PR too.


Add Error handling and forwarding for the receive message.

Hi,
The current message send loop for MQTT just spins forever if you, e.g., block the device in Azure.  So I think the following makes sense?  Gives the user a chance to react to a message error (or ignore).  Not sure.
Samit

Nice, I like it :)

Thanks @basusamit for this and your continued efforts to improve this library


add npm publish

re: #2
and I guess https://github.com/MetaMask/metamask-module-template/issues/31#issue-843397195 also
I've tested this out in my fork of controllers: https://github.com/rickycodes/controllers/runs/4960993990?check_suite_focus=true

Ok! I think this should be good meow


I have been troubled by a question for a long time: What is 'avg_image.png,' and where can I obtain it

You can find in this URL for ffhq:https://drive.google.com/drive/folders/19Q75nlaZ8KVdUd6C9s2y6c1cKXuB90TS
For car: https://drive.google.com/drive/folders/17O9t74KlMHyrJ7Mx_jPJraae5BGXRGj7


Fix: Image is cropped in Pic-Text

🛠 Fixes Issue
Closes #152
👨💻 Changes proposed

Adjust the height of the processed picture to fit the container and not be cropped
Make the background-clip text cover entirely the image rather than partially or over the image's size

✔ Check List (Check all the applicable boxes)

[x] My code follows the code style of this project.
[x] This PR does not contain plagiarized content.
[x] The title of my pull request is a short description of the requested changes.

📷 Screenshots

Works great, Thanks For Contributing, PR accepted, I hope you continue to contribute to this project

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


fix race condition when accessing the encryption level in crypto setup

Fixes #1837.

Codecov Report

Merging #1846 into master will decrease coverage by 0.04%.
The diff coverage is 13.04%.

@@            Coverage Diff             @@
##           master    #1846      +/-   ##
==========================================
- Coverage   86.98%   86.93%   -0.04%
==========================================
  Files          96       96
  Lines        6557     6704     +147
==========================================
+ Hits         5703     5828     +125
- Misses        609      631      +22
  Partials      245      245

Impacted Files
Coverage Δ

internal/handshake/crypto_setup.go
62.83% <13.04%> (-2.67%)
:arrow_down:

streams_map.go
91.24% <0%> (-2.09%)
:arrow_down:

session.go
78.64% <0%> (+2.68%)
:arrow_up:

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 6661579...85d4705. Read the comment docs.


Loss of equipment at server disconnect

I host a server instance and play with some folks. It has happened twice that my Ethernet connection to my server has disconnected me (indicated by the flashing network logo in the top left corner). Both times it has happened, I have lost equipment which I was trying to retrieve which was either at my tomb or recently given to me by a peer.
While I'm posting this now long after this has happened (no more logs available, I'm not hoping to retrieve the lost equipment), I'd like to see if anything can be done server/client side to avoid these potential issues. The connection has been spotty particularly due to a suspected faulty Ethernet cable, and while I don't blame the disconnects, I do think something can be improved to avoid the bothersome consequences of it.
Is this anything which can be improved by settings of the server, or is there a way for me to retrieve the lost equipment next time it happens? Any other suggestions? Any guidance would be appreciated. Thanks!

I think this is an issue with the game itself, not something this docker image project can fix.
The fundamental problem is that your Player inventory is saved by the client and other inventory (chest, tombstone etc.) is saved by the server. This requires synchronization between the two when saving. Apparently the game does not properly handle this after unexpected disconnects. I've had the opposite happen where I put items into a chest and then some issue caused my client to not save properly leading to the items being duplicated (they were both still in my inventory and also in the chest).
This is something the game devs would have to fix. I don't think that will happen any time soon, since it's kind of a corner-case.
I would suggest you just use a mod like SkToolbox to restore any important items that you lose this way, if it happens again.


Agent has to be aligned with test cases in Draft

The agent has to be fully compliant with the interface and usage patterns as described in the Draft's test cases.
Provide a list of agent's API calls that are aligned or misaligned wit the Draft.

@Mec-iS @xadahiya  I have made a list at https://github.com/PrajwalM2212/W3C-Hydra-Research to help me research ideas and to keep track.
What should I do after this ?
Should I start researching about how to implement ?

moved to #61 so to have a more practical objective


Cell output generated without calling print is truncated without a warning

Bug: Notebook Editor, Interactive Window, Editor cells
Steps to cause the bug to occur
For example:
big_dict = {}
for i in range(1000):
    big_dict[i] = list(range(10))

If I run a cell with print(big_dict), it outputs:
Output was trimmed for performance reasons.
To see the full output set the setting "python.dataScience.textOutputLimit" to 0.
...
4, 5, 6, 7, 8, 9], 460: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9], 461: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9], 462: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9], 463: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9], 464: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9], 465: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9], 466: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9], 467: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9], 468: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9], 469: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9], 470: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9],

While if there's implicit output when running the cell (no print call, just big_dict), it outputs:
6, 7, 8, 9],
 474: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9],
 475: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9],

Actual behavior
Implicitly outputting from a cell is truncated without warning.
Expected behavior
I would expect a warning message just like I get from using print()

Jupyter server running: Remote
Extension version: 20YY.MM.#####-xxx
VS Code version: 1.47.2
Setting python.jediEnabled: don't see this setting
Setting python.languageServer: Jedi
Python and/or Anaconda version: 3.7.6
OS: Mac
Virtual environment: N/A

Related to : #9401

This is by design. The warning is in the output. You can work around the behavior by following the directions.
This was done to prevent really large text output from making the webview crash with out of memory (like if you printed 4GB of text).

Sorry misunderstood at first.
The big_dict truncating should output a warning as well.


[TEST] RepliesEndpointTests - POST /comments/{commentId}/replies: Create test suite to test the endpoint and it's expected behaviour

Is your feature request related to a problem? Please describe.
RepliesEndpointTests - POST /comments/{commentId}/replies
Additional context
Create test suite to test the endpoint and it's expected behaviour

https://github.com/microapidev/comment-microapi/blob/develop/__test__/api/comment-post.test.js
Someone has done this just figured out
It should be removed from undone tasks


Update psycopg2 to 2.9.10

Ran into an issue with psycopg2 during poetry install on a fresh clone. Updating to 2.9.10 fixed the issue. Seems harmless since it is only a patch version bump. Let me know if I can better shape this PR. Thanks.

Thank you for the PR, could you please do the one change with re-adding the ^ in there?

Added it back in. For context, I ran poetry add psycopg=2.9.10 without caret which explains why it was left out.

Some weird errors came about - redid changes from clean slate and simply ran poetry update psycopg2.

Perfect, thank you!


Remove Node version setting, use asdf instead?

https://github.com/actions/setup-node/pull/373

I've kept the node-version setting for backwards compitability, but added support for specifying node-versions-file, e.g. .tool-versions. (unlike setup-ruby, this need to be explicitly set and isn't detected automatically).


AutoCompletion use Tab key instead of Enter key to

I love this project, but how can I config to use Tab key instead of Enter key to select a auto completion item?
thanks!

It's a work in progrsss for keybindings we are fixing atm. Look at the PR by @extr0py
If you want you can manually add it with a custom build of your own while we hash it out.

Yes, working on #633, I'm hoping to get this in by end of week. I know it is a huge pain point right now with Oni!

#633 is now in, and this is added as a default key binding (both <tab> and <enter> complete now). For further customization, check out:  https://github.com/extr0py/oni/wiki/Configuration#keyboard-bindings


List out verbs explicitly in RBAC definitions

Describe the feature
Instead of using the wildcard character in RBAC definitions, the best practice is to explicitly list out each verb or resource.

[!TIP]
Vote this issue reacting with :+1: or :-1:

Resolved by https://github.com/artemiscloud/activemq-artemis-operator/commit/0a135d5ca1cd6b7d6c8ed2e110bce26d2b6b8cdb


How to set paging in top of the grid instead of bottom

Hi,
How to set paging number in top of the gridview instead of bottom of the gridview.

any reply pls....


chore(stateless): convert to functional components

Coverage increased (+0.9%) to 100.0% when pulling f5aafdde242f00ebab6e1a8cd47d8517ec2f0a3b on fix/functional-stateless into af75b8a87f6c5a8ff8b63033a50f0be60a5185d6 on master.

Coverage increased (+0.9%) to 100.0% when pulling f5aafdde242f00ebab6e1a8cd47d8517ec2f0a3b on fix/functional-stateless into af75b8a87f6c5a8ff8b63033a50f0be60a5185d6 on master.


Setup guide for StackAdapt audience destination

Proposed changes
Adding setup guide for StackAdapt audience destination

Merge timing

Related issues (optional)

StackAdapt#2

Yep, just merged! @tcgilbert

hi @forstisabella could you take another look at this PR? It is looking OK to publish?

hi @forstisabella could you take another look at this PR? It is looking OK to publish?

two small changes and we'll be g2g!

@forstisabella updated!

Can someone help merge and deploy this PR?


Makerble address change

The company Makerble is currently listed as being in Shepherds Bush
It is actually based in Stockwell

@AnnabelDickson Is it the tube stop Shepherd's Bush?


Fix typo

I found this on ReactNativeNews and it's interesting.
There was a typo, I fixed it.

great, thanks for PR

great, thanks for PR


Is there any way to get the camera intrinsics after reprojected by k4a_projector?

Hello, after reprojecting depth image to other camera frame, the image size has been changed obviously. So if i only use the images that have been aligned and reprojected, how can I get the new  camera intrinsics. And by the way, will the extrinsic be changed?

Hi.
The image size has NOT been changed. Therefore, there is no need to update the intrinsic or the extrinsic.
You can refer to this issue for better understanding.

Thank for your promt reply.
Well, take hdr_normal1 as an example. The depth images from raw bag are sized as 640576 while the same frame reprojected to left camera is 12241024 which is the same as left regular camera actually. Does this have no effect with intrinsic?
And the intrinsic from rgbd_depth_camera_factory_intrinsic_results is 1024 *1024, which do not match either. So is there anything I overlooked?
The depth image from the raw bag:

The depth image from the reprojected bag (left_camera_depth topic):

I think you need to double-check the input yaml file. If I remember correctly, this will return depth images with the same resolution as your target camera.

So you mean that we can take the target_rosbag's camera intrinsic as the reprojected camera intrinsic?  In the input yaml file, the reprojected left camera depth image' intrinsic is the same with the image in target_rosbag like left_camera?

Yes.

Yes.

Thanks!

Hi Rainlv, @Rainlv
When I use the k4aprojector to project the depth, I face with this error.
terminate called after throwing an instance of 'YAML::TypedBadConversion<std::vector<double, std::allocator > >' what(): yaml-cpp: error at line 0, column 0: bad conversion
The problem seems that the code need read "transformation_to_kinect_color" keywords in the code. But it is missing in the calib file. I use this calib file:
https://star-datasets.github.io/vector/assets/yaml/left_regular_camera_intrinsic_results.yaml
Do you meet with this prblem? What should I do?
Thanks.

Hi Rainlv, @Rainlv
When I use the k4aprojector to project the depth, I face with this error.
terminate called after throwing an instance of 'YAML::TypedBadConversion<std::vector<double, std::allocator > >' what(): yaml-cpp: error at line 0, column 0: bad conversion
The problem seems that the code need read "transformation_to_kinect_color" keywords in the code. But it is missing in the calib file. I use this calib file: https://star-datasets.github.io/vector/assets/yaml/left_regular_camera_intrinsic_results.yaml
Do you meet with this prblem? What should I do?
Thanks.

Hello!
I just use the calib file provided in this repo's data dir which containes transformation_to_kinect_color keywords. Maybe you can take the file as a look. I think you may use the calib file from the dataset page which miss transformation_to_kinect_color keyword.

Hi Rainlv, @Rainlv
Very Thanks for your help. I indeed use the dataset page. It really help me. And I have another question, do the output depth need a depth scale correction to get the real depth? For example, in TUM RGBD dataset, to get the real depth, I need to do (depth_png / depth_scale) to get the real depth.
Thank you.

Hello!
The unit of the depth map should be in millimeters. If you want to convert it to meters, depth_scale should be set to 1000.

Hi Rainlv,
My problems are solved. Very Thanks for your help.

Hi Rainlv, @Rainlv
I meet a new problem. When I run roslaunch k4a_projector run.launch.
ERROR: Invalid file path: /root/catkin_ws/src/k4a_projector/data/sofa_normal1.synced.left_camera.bag
But  this path "/root/catkin_ws/src/k4a_projector/data/" exists?
Do you know how to solve the problem?
Thank you.

Hi Rainlv, @Rainlv
I meet a new problem. When I run roslaunch k4a_projector run.launch.
ERROR: Invalid file path: /root/catkin_ws/src/k4a_projector/data/sofa_normal1.synced.left_camera.bag
But this path "/root/catkin_ws/src/k4a_projector/data/" exists?
Do you know how to solve the problem?
Thank you.

Check the config file is correct, do not use the absolute path like /root/catkin_ws/src/k4a_projector/data/xxxxx, just use /data/xxx and the path will be resovled as /root/catkin_ws/src/k4a_projector/data/xxxx.
So what you should do is put the bag files into   /root/catkin_ws/src/k4a_projector/data dir, take sofa_normal1.synced.left_camera.bag as an example , copy it to /root/catkin_ws/src/k4a_projector/data/sofa_normal1.synced.left_camera.bag and set the config item to /data/sofa_normal1.synced.left_camera.bag

Hi Rainlv,
It works. Very thanks for your help.

Hi Rainlv, @Rainlv
I have a question about the intrinics. Do you directly use the intrinsics giving in the file, i.e.
[ 886.19107,    0.     ,  610.57891,
0.     ,  886.59163,  514.59271,
0.     ,    0.     ,    1.     ]
Have you succeeded to use the intrinsics to achieve expected results?
From my understanding, in the code, the optimized intrinsic is used.

Hi Rainlv, @Rainlv
I have a question about the intrinics. Do you directly use the intrinsics giving in the file, i.e.
[ 886.19107, 0. , 610.57891, 0. , 886.59163, 514.59271, 0. , 0. , 1. ]
Have you succeeded to use the intrinsics to achieve expected results?
From my understanding, in the code, the optimized intrinsic is used.

yes


Support download of CI-uploaded artifacts

It would be really helpful to be able to download artifacts uploaded during CI process.
In Gitlab the artifacts can be downloaded through /jobs/{jobId}/artifacts/download.
Example of useful command to download the artifacts of the CI build:
lab ci download
or:
lab ci artifacts

I'm into it!

Ref: https://docs.gitlab.com/ce/api/jobs.html#download-the-artifacts-archive

Thoughts:
lab ci artifacts seems like a great option for downloading the entire artifacts archive. The same syntax we use for lab ci trace should work well.
	Use:     "trace [remote [[branch]:<job>]]",

Effectively lab ci artifacts origin master:myjob
Less sure on what to do with https://docs.gitlab.com/ce/api/jobs.html#download-a-single-artifact-file -- which allows you to reach inside an archive and grab a specific file. I definitely want to support both tho!
Really just spitballin' here, the idea with branch:job was to emulate how git lets do stuff like git checkout origin branch:file -- A simple extension would just be to keep the colons going lab ci artifacts origin master:myjob:path/to/my/file, but mostly I'm wonder why colon separate at all and just do lab ci artifacts [remote [ branch [ job [ path ]]]

I found myself wanting this just today.
Something like lab ci artifacts [remote [ branch [ job [ path ]]] seems sensible.


fix(hero): let headingLevel dictate the heading tag without enclosing  tag

A little bit of a nuanced issue here that affects accessibility. Right now, if I wanted the heading of a hero to be a
 instead of a
 tag, I could pass in the full node instead of the text:
Instead of this:
heading={My super cool heading!}
Do this:
heading={
My super cool heading!
}
The problem with that is that then the heading still renders inside of a
 tag, which isn't great, but also the stylings of the heading wouldn't get applied to the heading but instead get applied to the enclosing
 tag.
So this PR instead allows the headingLevel to create a heading with the heading content directly, instead of being wrapped in a
 tag. This lets you set the heading to be an
 or other heading level a little easier, which we'll want for accessibility and also matches the markdown of the DS a little better by removing the enclosing
 tag. I've also done something similar for the subheading but also it defaults to being a
 tag.
I used createElement to do this because it's the easiest to implement with Typescript. There are ways of doing this with maybe cloning the element that gets passed to the heading node and then passing it the heading classes... but I think is probably a way that will guide people to creating accessible heroes and it follows the DS in making heroes usually just have the primary headings as h1s.
Closes: #328
EDIT 3/1: I also am exploring a different way of handling this, by just using the <Heading> component directly. Here's the commit, so please take a peek at that too @meissadia.
Changes

uses headingLevel and heading to create headings using createElement, instead of elements inside
 tags
does it similarly for subheadingLevel and subheading, but also allows

How to test this PR

Do Heros now render the heading and subheading with the element dictated by the headingLevel?

Screenshots
Before when trying to make a hero heading an h1 by passing in
Test
 into heading (style is incorrect and wrapped in

Before when trying to make a hero heading by just passing in the heading as "Test" (renders with p tag)

After PR with passing "Test" as heading

I also am exploring a different way of handling this, by just using the  component directly. Here's the commit, so please take a peek at that too @meissadia and let me know which you prefer. 👍

I also am exploring a different way of handling this, by just using the <Heading> component directly. Here's the commit on an experimental branch, so please take a peek at that too @meissadia and let me know which you prefer. 👍

@billhimmelsbach I like what you've got going in the exploration commit.  Makes it more maintainable since any <Heading> changes will get propagated to the Hero component headings as well.

I also am exploring a different way of handling this, by just using the <Heading> component directly. Here's the commit on an experimental branch, so please take a peek at that too @meissadia and let me know which you prefer. 👍

@billhimmelsbach I like what you've got going in the exploration commit. Makes it more maintainable since any <Heading> changes will get propagated to the Hero component headings as well.

Sounds good to me!


cherry-pick: Refactor to allow extensions to the algebraic simplifier

cherry-pick form: 90355d2af1f1feea996d6ff4ae1fe2e183f5db3e

r2.1 branch will never get updated anymore.


Update github actions to codecov v4.

not sure if the codecov token is set.

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

Project coverage is 88.77%. Comparing base (4cd1f8e) to head (20aa72d).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #177   +/-   ##
=======================================
  Coverage   88.77%   88.77%
=======================================
  Files           4        4
  Lines         811      811
=======================================
  Hits          720      720
  Misses         91       91

Continue to review full report in Codecov by Sentry.

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

The same thing is in update-vc-2.0 already.  Does it need to be in main as well?
It's an org level secret so should work with all repos.

The same thing is in update-vc-2.0 already.  Does it need to be in main as well?
It's an org level secret so should work with all repos.

We don't know when update-vc-2.0 will hit main so yeah I think it's better to do it here and not further clog up the update-vc-2.0 PR.

It's not really clogging up anything.  But feel free to merge.  I think dave's commit in the other branch will get dropped on a rebase.


php version requirements

Your library require php 5.4. But it works fine 5.3.10  for me.
I have created fork where I changed php version in composer.json. It works fine.
But it is very uncomfortable to use a fork. Can you change requirements to php 5.3 ?

Actually, the php-5.3 version is too old.
I think the package requires php-5.4 at least is looks good :).

It is not actual issue for me now

@itelmenko, thank you for your reply.
It's not an actual issue now, and I think this issue should be closed :-).


distributed training on multiple machine fails

Description
I am trying to do distributed training on multiple machines with 1 GPU each. It is failing on the workers. Please look into this!
...

I0331 22:40:02.157696<PHONE_NUMBER>51360 basic_session_run_hooks.py:527] Create CheckpointSaverHook.
INFO:tensorflow:Graph was finalized.

OUTPUT of Worker -
Traceback (most recent call last):
  File "/usr/local/bin/t2t-trainer", line 33, in <module>
    tf.app.run()
  File "/usr/local/lib/python3.6/dist-packages/tensorflow/python/platform/app.py", line 125, in run
    _sys.exit(main(argv))
  File "/usr/local/bin/t2t-trainer", line 28, in main
    t2t_trainer.main(argv)
  File "/usr/local/lib/python3.6/dist-packages/tensor2tensor/bin/t2t_trainer.py", line 413, in main
    hparams = create_hparams()
  File "/usr/local/lib/python3.6/dist-packages/tensor2tensor/bin/t2t_trainer.py", line 176, in create_hparams
    return trainer_lib.create_hparams(FLAGS.hparams_set, FLAGS.hparams,hparams_path=hparams_path)
  File "/usr/local/lib/python3.6/dist-packages/tensor2tensor/utils/hparams_lib.py", line 48, in create_hparams
    hparams = registry.hparams(hparams_set)
  File "/usr/local/lib/python3.6/dist-packages/tensor2tensor/utils/registry.py", line 254, in __getitem__
    (key, self.name, display_list_by_prefix(sorted(self), 4)))
KeyError: 'None never registered with registry hparams. Available:\n     adaptive:\n      * adaptive_universal_transformer_base\n      * adaptive_universal_tr...
..
..
..

$ pip freeze | grep tensor
# your output here
mesh-tensorflow==0.0.5
tensor2tensor==1.13.1
tensorboard==1.13.0
tensorflow-datasets==1.0.1
tensorflow-estimator==1.13.0
tensorflow-gpu==1.13.1
tensorflow-metadata==0.13.0
tensorflow-probability==0.6.0
tensorflow-tensorboard==0.4.0

$ python -V
# your output here

Python 2.7.15rc1
For bugs: reproduction and error logs
# Steps to reproduce:
...

# Error logs:
...

You need to pass hparams_set to ps as well.


Rename to raw_code, compiled_code

resolves #292
Needed for compatibility with https://github.com/dbt-labs/dbt-core/pull/5499 in v1.3.0-b1

Update: managed to figure out syntax highlighting over in #295, with a little help from a real one


Wave Sort

Is your feature request related to a problem? Please describe.
Wave Sort in CPPP
A clear and concise description of what the problem is.
it's a famous interview questions where sorting is under like wave.
Describe the solution you'd like
A clear and concise description of what you want to happen.
In this sorting , arr[0] >arr[1] <arr[2] , this pattern is followed.
Additional context
Add any other context or screenshots about the feature request here.

Sure @ishan-pf, you can go ahead !


Allow the passing of props via the popTo Action

This simple change allows the popTo action, which is now called only with the scene name as parameter, to receive an object that carries the scene name and can be used for refreshing props, just as the other pop actions.

@rseemann How to do that exactly?
I tried this: Actions.popTo({ scene: 'myPage', myPropToUpdate: [1, 2, 3]});
Where myPropToUpdate is the new value I want the page myPage to refresh.

Is the action poping to the right scene and the myPropToUpdate is not updating, or what is happening?

Got it working!
The props must be in the refresh params and componentWillReceiveProps must be implemented.
Actions.popTo({ scene: 'myPage', refresh: { myPropToUpdate: [1, 2, 3] }});
myPage.js
componentWillReceiveProps({ myPropToUpdate }) {
    if (myPropToUpdate !== this.state. myPropToUpdate) {
      this.setState({ myPropToUpdate });
    }
  }

cc @rseemann

@brunolemos oh, glad to hear it!


Add command line arguments to UWP app

To be able to switch between d3d11 and d3d12 modes

https://github.com/DiligentGraphics/DiligentEngine/commit/6adad8443b5c42ecba8e40700d9993d228939160


x/tools/gopls: suggests invalid package names

go: tip
gopls: v0.6.6
With module / directory names with - in them, gopls uses that directly as a suggested package name, which is invalid

We can replace - with _. But there are other cases:

directory name starts with a digit
directory name contains one of these characters: -, . or ~
directory name contains invalid characters (whitespace, comma, etc.)

I think we can ignore the last case and don't show suggestions at all because it's not possible to import such packages (https://golang.org/ref/mod#go-mod-file-ident). But what is the expected behavior in other situations?

What do you think about ignoring anything that is not a letter? So in case of foo_bar, 123foobar, foo bar will be always suggest foobar

@msAlcantara Thanks for the idea! I was planning to convert all punctuation to _, but it would conflict with the package name convention. So, ignoring the punctuation is a better strategy.


feat!: spec v0.5.0 compliance

Signed-off-by: Skye Gill<EMAIL_ADDRESS>

Codecov Report

Merging #82 (a97c889) into main (fc4b871) will decrease coverage by 4.70%.
The diff coverage is 53.12%.

@@            Coverage Diff             @@
##             main      #82      +/-   ##
==========================================
- Coverage   80.14%   75.43%   -4.71%
==========================================
  Files           6        7       +1
  Lines         418      460      +42
==========================================
+ Hits          335      347      +12
- Misses         70      100      +30
  Partials       13       13

Impacted Files
Coverage Δ

pkg/openfeature/resolution_error.go
14.28% <14.28%> (ø)

pkg/openfeature/client.go
78.52% <100.00%> (ø)

pkg/openfeature/noop_provider.go
100.00% <100.00%> (ø)

pkg/openfeature/provider.go
100.00% <100.00%> (ø)

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


[Improvement-14255][Project] Remove userName when update project

Purpose of the pull request

close: #14255

Brief change log

userName is not editable when updating the project, no need to pass in this parameter
we should check the user via loginUser rather than userName, which may be forged

Verify this pull request
UT

Codecov Report

Merging #14256 (b4af7f6) into dev (8aec384) will decrease coverage by 0.01%.
The diff coverage is 83.33%.

:exclamation: Current head b4af7f6 differs from pull request most recent head b9ee0c8. Consider uploading reports for the commit b9ee0c8 to get more accurate results

@@             Coverage Diff              @@
##                dev   #14256      +/-   ##
============================================
- Coverage     38.38%   38.38%   -0.01%
+ Complexity     4474     4472       -2
============================================
  Files          1229     1229
  Lines         42892    42892
  Branches       4758     4758
============================================
- Hits          16466    16463       -3
- Misses        24602    24603       +1
- Partials       1824     1826       +2

Impacted Files
Coverage Δ

...che/dolphinscheduler/api/python/PythonGateway.java
16.94% <0.00%> (ø)

...hinscheduler/api/controller/ProjectController.java
50.00% <100.00%> (ø)

...heduler/api/controller/v2/ProjectV2Controller.java
70.00% <100.00%> (ø)

...scheduler/api/service/impl/ProjectServiceImpl.java
62.35% <100.00%> (ø)

... and 2 files with indirect coverage changes
:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


ExampleException in home#example

New exception in Example.com
ExampleException in home#example
Something really bad happened
View on Bugsnag
Stacktrace
app/controllers/home_controller.rb:123 - example
app/controllers/other_controller.rb:12 - broken
lib/important/magic.rb:4 - load_something

View full stacktrace

Just a test


feat: use modern Docker icon

The old Docker icon is nearly invisible in dark background

This PR brings a new modern current Docker icon and adds some related file names also.

Preview in editor

Thank you!


Add backers and sponsors from Open Collective

This is for your open collective backers and sponsors to appear directly on your README.
see how it'll look here
More info
Also add badges on top.

Thanks @piamancini just waiting for Travis to work.


Update Documentation reference to the same version of Kubernetes API 1.29

The documentation refers to the Kubernetes API on different files. However, different versions are being used.
We want to standardize all documentation to be using the same Kubernetes API version 1.29, according to the https://github.com/kubeflow/manifests#prerequisites. Issue discussed with @hbelmiro  and @rimolive

@hbelmiro  please assign this issue to me. thanks.

Additionally, links related with version 1.18 are showing

Other links are not showing the correct information.

/assign @varodrig