Selective feathering (antialias)

Is your feature request related to a problem? Please describe.
I would like to be able to turn off antialiasing for a specific plot or even a chart inside the plot. Bar charts, which consist only of shapes composed from vertical and horizontal lines, have a crispier pixel perfect look when antialiasing is disabled.
Antialiased:

Pixel perfect:

Also, the gridlines look a lot better without antialiasing
Describe the solution you'd like
I'm not sure what's the best API change for this would be:

adding tessellator options per shape that epaint would look for
add custom shapes for which epaint will not apply antialiasing
add "local" subcontexts for specific UI elements...

Describe alternatives you've considered
I tried turning it off  inside a function that creates the chart:
 ui.ctx().memory_mut(|mem| mem.options.tessellation_options.feathering = false);

and turn it back later after the shapes were added to the draw list. But I think that shape creation and drawing are async so the final result was still showing everything antialiased.

The way feathering is integrated into the tessellator makes it kind of difficult to control from the user side. As a quick test, I decided to try hacking the stroke methods to conditionally turn off feathering if the path is only composed of axis-aligned line segments:
diff --git a/crates/epaint/src/tessellator.rs b/crates/epaint/src/tessellator.rs
index a28daa60..66e3b634 100644
--- a/crates/epaint/src/tessellator.rs
+++ b/crates/epaint/src/tessellator.rs
@@ -474,18 +474,58 @@ impl Path {

     /// Open-ended.
     pub fn stroke_open(&self, feathering: f32, stroke: Stroke, out: &mut Mesh) {
+        let feathering = if self.is_axis_aligned(PathType::Open) {
+            0.0
+        } else {
+            feathering
+        };
         stroke_path(feathering, &self.0, PathType::Open, stroke, out);
     }

     /// A closed path (returning to the first point).
     pub fn stroke_closed(&self, feathering: f32, stroke: Stroke, out: &mut Mesh) {
+        let feathering = if self.is_axis_aligned(PathType::Closed) {
+            0.0
+        } else {
+            feathering
+        };
         stroke_path(feathering, &self.0, PathType::Closed, stroke, out);
     }

     pub fn stroke(&self, feathering: f32, path_type: PathType, stroke: Stroke, out: &mut Mesh) {
+        let feathering = if self.is_axis_aligned(path_type) {
+            0.0
+        } else {
+            feathering
+        };
         stroke_path(feathering, &self.0, path_type, stroke, out);
     }

+    fn is_axis_aligned(&self, path_type: PathType) -> bool {
+        let mut points = self.0.iter().peekable();
+
+        if let Some(point) = points.peek() {
+            let first_pos = point.pos;
+
+            while let Some(point) = points.next() {
+                let this_pos = point.pos;
+                let next_pos = match points.peek() {
+                    None if path_type == PathType::Closed => first_pos,
+                    None => break,
+                    Some(point) => point.pos,
+                };
+
+                if this_pos.x != next_pos.x && this_pos.y != next_pos.y {
+                    return false;
+                }
+            }
+
+            true
+        } else {
+            false
+        }
+    }
+
     /// The path is taken to be closed (i.e. returning to the start again).
     ///
     /// Calling this may reverse the vertices in the path if they are wrong winding order.

For a simple patch, the results are ok:
Before:

After:

Compare these images in two tabs. The difference is subtle with GitHub's scaling.
One of the issues with this approach is that it ignores paths like rounded rectangles, which have long axis-aligned segments and very short non-aligned segments. You can see this in the window border on the "after" screenshot. It's shifted by a subpixel in each direction, so it appears thicker than the separator lines in the side bar.
A better approach would be selective feathering inside the stroke_path() function on a per-path-segment basis instead of the whole path.
Another issue with disabling any of the feathering is that some rendering looks much worse, like the bar chart plot in the demo app:

This happens, of course, because the bars are drawn right next to each other and whether or not the lines share the same pixel column depends on the scale of the Plot widget. You can adjust the window size until all of the lines overlap perfectly and then it looks nice. 😂 But that's a bad user experience.

Thanks for looking into this @parasyte. I also gave it a try using a different approach that basically disables antialiasing for a single shape (or even a vector or shapes), instead of detecting if line or path is vertical or horizontal.
diff --git a/crates/epaint/src/shape.rs b/crates/epaint/src/shape.rs
index 9304a27b..751feb12 100644
--- a/crates/epaint/src/shape.rs
+++ b/crates/epaint/src/shape.rs
@@ -24,6 +24,9 @@ pub enum Shape {
     /// Paint nothing. This can be useful as a placeholder.
     Noop,

+    /// Shape that won't be antialiased during tesselation
+    NoAlias(Box<Shape>),
+
     /// Recursively nest more shapes - sometimes a convenience to be able to do.
     /// For performance reasons it is better to avoid it.
     Vec(Vec<Shape>),
@@ -249,6 +252,7 @@ impl Shape {
     pub fn visual_bounding_rect(&self) -> Rect {
         match self {
             Self::Noop => Rect::NOTHING,
+            Self::NoAlias(shape) => (*shape).visual_bounding_rect(),
             Self::Vec(shapes) => {
                 let mut rect = Rect::NOTHING;
                 for shape in shapes {
@@ -290,6 +294,9 @@ impl Shape {
     pub fn translate(&mut self, delta: Vec2) {
         match self {
             Shape::Noop => {}
+            Shape::NoAlias(shape) => {
+                (*shape).translate(delta);
+            }
             Shape::Vec(shapes) => {
                 for shape in shapes {
                     shape.translate(delta);

And in tesselator I'm doing  this:
diff --git a/crates/epaint/src/tessellator.rs b/crates/epaint/src/tessellator.rs
index a28daa60..4bd9e041 100644
--- a/crates/epaint/src/tessellator.rs
+++ b/crates/epaint/src/tessellator.rs
@@ -1096,6 +1096,16 @@ impl Tessellator {
     pub fn tessellate_shape(&mut self, shape: Shape, out: &mut Mesh) {
         match shape {
             Shape::Noop => {}
+            Shape::NoAlias(shape) => {
+                let orig_feathering = self.feathering;
+                if orig_feathering > 0.0 {
+                    self.feathering = 0.0;
+                }
+                self.tessellate_shape(*shape, out);
+                if orig_feathering > 0.0 {
+                    self.feathering = orig_feathering;
+                }
+            }
             Shape::Vec(vec) => {
                 for shape in vec {
                     self.tessellate_shape(shape, out);

Now I'm struggling to find a good way to add a context flag that says  "Every shape that will be added to the painter while this flag is set, wrap it as NoAntialias(Shape)"
Ideas are welcome!

I think I got it! I just added dummy shape that is able to toggle antialiasing either on or off
diff --git a/crates/epaint/src/shape.rs b/crates/epaint/src/shape.rs
index 9304a27b..c166534b 100644
--- a/crates/epaint/src/shape.rs
+++ b/crates/epaint/src/shape.rs
@@ -24,6 +24,10 @@ pub enum Shape {
     /// Paint nothing. This can be useful as a placeholder.
     Noop,

+    /// Dummy shape that can be used to toggle antaliasing on or off for the
+    /// next shapes in the paint list
+    Antialias { enabled: bool },
+
     /// Recursively nest more shapes - sometimes a convenience to be able to do.
     /// For performance reasons it is better to avoid it.
     Vec(Vec<Shape>),
@@ -249,6 +253,7 @@ impl Shape {
     pub fn visual_bounding_rect(&self) -> Rect {
         match self {
             Self::Noop => Rect::NOTHING,
+            Self::Antialias { .. } => Rect::NOTHING,
             Self::Vec(shapes) => {
                 let mut rect = Rect::NOTHING;
                 for shape in shapes {
@@ -290,6 +295,7 @@ impl Shape {
     pub fn translate(&mut self, delta: Vec2) {
         match self {
             Shape::Noop => {}
+            Shape::Antialias { .. } => {}
             Shape::Vec(shapes) => {
                 for shape in shapes {
                     shape.translate(delta);

diff --git a/crates/epaint/src/tessellator.rs b/crates/epaint/src/tessellator.rs
index a28daa60..1257e6b8 100644
--- a/crates/epaint/src/tessellator.rs
+++ b/crates/epaint/src/tessellator.rs
@@ -1096,6 +1096,14 @@ impl Tessellator {
     pub fn tessellate_shape(&mut self, shape: Shape, out: &mut Mesh) {
         match shape {
             Shape::Noop => {}
+            Shape::Antialias { enabled } => {
+                if enabled {
+                    self.feathering =
+                        self.options.feathering_size_in_pixels * (1.0 * self.pixels_per_point);
+                } else {
+                    self.feathering = 0.0;
+                }
+            }
             Shape::Vec(vec) => {
                 for shape in vec {
                     self.tessellate_shape(shape, out);

Here are two plots, first not antialiased scond aone antiaalised
ui.painter().add(Shape::Antialias{enabled: false});
// first plot
Plot::new(..)
ui.painter().add(Shape::Antialias{enabled: true});
//second plot
Plot::new(..)

Looking at your not antialiased gridlines also make me think that some pixel rounding/alignment is necessary

Disabling the feathering feature forces tessellated lines to align with the pixel grid. I.e. it is rounding and that's why you see the grid lines not-evenly spaced. The rounding caused by disabling feathering is going to result in what is shown.
Fixing this is not a matter of rounding the positions of individual shapes, but scaling everything properly so they align with the pixel grid. What I mean is, the grid lines have a non-integer spacing between them and the only fix is making the spacing an exact integer. Thus the "scale" of the entire object is what is important for rendering quality with feathering disabled.

I also gave it a try using a different approach that basically disables antialiasing for a single shape (or even a vector or shapes), instead of detecting if line or path is vertical or horizontal.

This might work out for some shapes, but the obvious downside is that it looks really bad in most cases. (See above: grid lines, bar chart, etc.)

I think I got it! I just added dummy shape that is able to toggle antialiasing either on or off

It would be better if it was hierarchical so that it isn't possible to misuse. E.g. forgetting to turn antialiasing back on would be disastrous to rendering quality and hard to debug in complex UIs.

Thanks for clarifying all these  things. I'll continue studying the plot api, screen to plot, and plot to screen functions, I think there's some potential there, to get things evenly spread on a pixel basis.
As for making toggling logic hierarchical I agree it would better a pattern but i'm not sure if i can do it without attaching someting to the shape, that the tesselator can use


fix SAL annotation

The static analysis engine in VS2022 is flagging the In_opt annotation for a DWORD as being invalid.
private\external\wil\include\wil\resource.h | 2429 | 6553 |   | The annotation for function 'SetThreadpoolTimer' on Param(4) does not apply to a value type.
Switching this annotation to In instead.

FWIW: the Windows headers use the same annotation
WINBASEAPI
VOID
WINAPI
SetThreadpoolTimer(
    _Inout_ PTP_TIMER pti,
    _In_opt_ PFILETIME pftDueTime,
    _In_ DWORD msPeriod,
    _In_opt_ DWORD msWindowLength
    );

Might need to figure out who's right

SetThreadpoolTimer's fourth parameter is publicly documented as "optional" on docs.microsoft.com.  However, that seems like a strange annotation for a DWORD.  _In_opt_ is documented such that "optional" means "can be NULL".  NULL is a pointer concept so this is nonsensical for a DWORD.
Perhaps this is a legacy of NULL being defined as 0 for a long time, and that really the annotation is trying to say "can be 0".  Which is of course always true for a DWORD anyway.

@oldnewthing @jonwis I'm not sure how to add reviewers for this PR via the github UX so attempting to get your attention via PR comments.

Over here:

It's on the right side of the PR creation thingy, click the "Reviewers" heading and add folks.

Thanks @sylveon.  @ChrisGuzak we were having a similar conversation about SAL. In Windows, our position is that SAL isn't necessary for things that the compiler or definition already expresses.  SAL on scalars is allowed but not required - see https://docs.microsoft.com/cpp/code-quality/annotating-function-parameters-and-return-values where it's "explicitly allowed" but not "required."
The wording on https://docs.microsoft.com/windows/win32/api/threadpoolapiset/nf-threadpoolapiset-setthreadpooltimer is a little confusing; while it's "optional" to add a window duration, "no window duration" is the same as saying "zero length window duration" so it's not really optional?
The change looks fine, and we'll take a note to look at the SAL on the PSDK types in the future for clarity.


Reenable Travis CI for pull request builds

We have a Travis CI configuration
https://github.com/bigdatagenomics/adam/blob/master/.travis.yml
and a repository on Travis (though inactive for two years)
https://travis-ci.org/bigdatagenomics/adam
I wonder if it might be possible to reenable Travis CI and disable Jenkins for pull request builds.  Jenkins would continue building nightly and could still respond to requests to build on demand (at least I hope that is possible).

-1. I don't think that supporting a second CI platform is a good use of engineering resources from our side. If we have issues we'd like to address (e.g., the Git force push issue, which @shaneknapp is working to resolve) then let's try to address them in Jenkins first.

A workaround for the git force push issue is in place.


Query : How to Override DEFAULT_RANGE_CHUNK_SIZE of pdf.js

I am creating a pdf viewer using pdf.js and i want the default chunk size to be overriden inside my viewer.
without rebuild pdf.js and without modifying inside pdf.js how can i do this?

Thanks for the quick reply.
Actually I am creating a component in angular and not able to set the chunkSize from my component, following is the code snippet.
PDFJS.getDocument(pageUrl)
.then(function (pdf) {
//Some code to render the pdf
}
pageUrl is the url of the pdf file so now can you guide me how to set the chunkSize?

Did you actually read the docs just below the ones that https://github.com/mozilla/pdf.js/issues/10273#issuecomment-440234786 linked to, since they mention how to call getDocument with a parameter object; see https://github.com/mozilla/pdf.js/blob/6ebdbb244f3b9acbe42766654b411584d85f7626/src/display/api.js#L217-L224
Anyway, this should work:
var loadingTask = getDocument({
  url: /* URL here */,
  rangeChunkSize: /* custom chunk size here */,
  /* more parameters here, as needed */
});
loadingTask.promise.then(function(pdfDocument) {
  // The PDF document is loaded here...
});

Thanks for guiding me.


Optimize bootstrap size for rafs v6

For now, bootstrap sizes of nydus rafs v6 are still far worse than the sizes of what erofs-utils generates.
We should support effective tail-packing inline with a real block allocator for rafs v6 nydus, see:
https://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs-utils.git/tree/lib/cache.c

@pigletDips is working on it.


SqlServerDsc: Add .gitattributes file and update analyzersettings.psd1

Pull Request (PR) description

Changes to SqlServerDsc

Add .gitattributes file to checkout file correctly with CRLF.
Updated .vscode/analyzersettings.psd1 file to correct use PSSA rules
and custom rules in VS Code.

This Pull Request (PR) fixes the following issues
None
Task list

[x] Added an entry under the Unreleased section of the change log in the CHANGELOG.md.
Entry should say what was changed, and how that affects users (if applicable).
[ ] Resource documentation added/updated in README.md.
[ ] Resource parameter descriptions added/updated in README.md, schema.mof
and comment-based help.
[ ] Comment-based help added/updated.
[ ] Localization strings added/updated in all localization files as appropriate.
[ ] Examples appropriately added/updated.
[ ] Unit tests added/updated. See DSC Resource Testing Guidelines.
[ ] Integration tests added/updated (where possible). See DSC Resource Testing Guidelines.
[x] New/changed code adheres to DSC Resource Style Guidelines and Best Practices.

This change is

Codecov Report

Merging #1447 into dev will not change coverage.
The diff coverage is n/a.

@@         Coverage Diff          @@
##            dev   #1447   +/-   ##
====================================
  Coverage    98%     98%
====================================
  Files        38      38
  Lines      5603    5603
====================================
  Hits       5497    5497
  Misses      106     106

Closing an reopening after tests have been fixed in the test framework


Add resource request and limit to init-container in pod

Changes proposed in this PR

When we setup the init container, attach resources to it.

Why are we making these changes?
When K8S is run with quotas, any container without attached resources will be rejected at submission. We don't want that, so attach resources to the init container.

We should refactor this into a function:

let's refactor
    (.putRequestsItem resources "memory" (double->quantity (* memory-multiplier computed-mem)))     (.putLimitsItem resources "memory" (double->quantity (* memory-multiplier computed-mem)))     (.putRequestsItem resources "cpu" (double->quantity cpus))     (when set-container-cpu-limit?       ; Some environments may need pods to run in the "Guaranteed"       ; QoS, which requires limits for both memory and cpu       (.putLimitsItem resources "cpu" (double->quantity cpus)))
into a function and use it in the 3 places: main container, sidecar, init container
so have limits in init container too


Update az-region.md

Added Brazil South, and 2 new services.

#sign-off

@mamccrea: I'm sorry - only the author of this article, @prsandhu, can sign off on your changes. But we do have an exception process - if you are on the Microsoft content or product team for this product area, you can ask the PR review team to review and merge it by sending mail to the techdocprs alias.

Moved to private repo. #please-close


Fix typo in docs link

Main readme seems to already have this change applied (probably via a different PR). Will close this one. Thank you!


⚠ Jenkins Plugins Artifactory has degraded performance

In 4474ba7, Jenkins Plugins Artifactory (https://get.jenkins.io/plugins/artifactory/) experienced degraded performance:

HTTP code: 200
Response time: 1299 ms

Resolved: Jenkins Plugins Artifactory performance has improved in 6f7a5f9 after 2 hours, 22 minutes.


Duplicate attribute

It just happened recently.
I have used pug and tailwind css, and used vetur to format the code
Is it a bug? or how can I disabled alert
I have add .eslintrc file and set , but it's not work
{
  "vue/no-duplicate-attributes": ["error", {
    "allowCoexistClass": true,
    "allowCoexistStyle": true
  }]
}

It should be a regression of 0.28.10, you can use 0.28.9 for now.

Sorry I just found that this is a new limitation due to resolved #618.
You can't mixed use .aaa(class="bbb" ...), please change to .aaa.bbb(...) or div(class"aaa bbb").


IGAPP-1001: Use the target name as product name

This pull request belongs to an issue on our bugtracker.
You can find it there by looking for an issue with the key which is mentioned in the title of this pull request.
It starts with the keyword IGAPP.

works fine on macOS, no changes anymore when starting xcode

I reverted all weird changes. So if there are changes with XCode I think we should open a separate task, or just commit it with the next PR.


Correct computation of slider value while pressed

Correction for issue #1489.  See comment in code change for detailed description of new computation.

Looks good, thank you, Bill!

FYI, the slider was simplified a little in dev-7.0 (knob_in is removed) and this issue should be already fixed there.


Visual Studio restarting when Hot Reload is enabled and debugged with andoird phone (OS : Android10)

Mac or Win ?

Windows
About VS
Microsoft Visual Studio Professional 2019
Version 16.4.4
VisualStudio.16.Release/16.4.4+29728.190
Microsoft .NET Framework
Version 4.8.03752
Installed Version: Professional
Visual C++ 2019   00435-60000-00000-AA061
Microsoft Visual C++ 2019
ASP.NET and Web Tools 2019   16.4.460.23317
ASP.NET and Web Tools 2019
ASP.NET Web Frameworks and Tools 2019   16.4.460.23317
For additional information, visit https://www.asp.net/
Azure App Service Tools v3.0.0   16.4.460.23317
Azure App Service Tools v3.0.0
Azure Functions and Web Jobs Tools   16.4.460.23317
Azure Functions and Web Jobs Tools
C# Tools   3.4.1-beta4-19614-01+165046097562cfe65b09c2e9a9d8f7cd88526f2c
C# components used in the IDE. Depending on your project type and settings, a different version of the compiler may be used.
Common Azure Tools   1.10
Provides common services for use by Azure Mobile Services and Microsoft Azure Tools.
Extensibility Message Bus   1.2.0 (d16-2@8b56e20)
Provides common messaging-based MEF services for loosely coupled Visual Studio extension components communication and integration.
IntelliCode Extension   1.0
IntelliCode Visual Studio Extension Detailed Info
Microsoft Azure Tools   2.9
Microsoft Azure Tools for Microsoft Visual Studio 2019 - v2.9.21016.1
Microsoft Continuous Delivery Tools for Visual Studio   0.4
Simplifying the configuration of Azure DevOps pipelines from within the Visual Studio IDE.
Microsoft JVM Debugger   1.0
Provides support for connecting the Visual Studio debugger to JDWP compatible Java Virtual Machines
Microsoft Library Manager   2.0.87+gbb515bf382
Install client-side libraries easily to any web project
Microsoft MI-Based Debugger   1.0
Provides support for connecting Visual Studio to MI compatible debuggers
Microsoft Visual C++ Wizards   1.0
Microsoft Visual C++ Wizards
Microsoft Visual Studio Tools for Containers   1.1
Develop, run, validate your ASP.NET Core applications in the target environment. F5 your application directly into a container with debugging, or CTRL + F5 to edit & refresh your app without having to rebuild the container.
Microsoft Visual Studio VC Package   1.0
Microsoft Visual Studio VC Package
Mono Debugging for Visual Studio   16.5.24 (1fafd7e)
Support for debugging Mono processes with Visual Studio.
NuGet Package Manager   5.4.0
NuGet Package Manager in Visual Studio. For more information about NuGet, visit https://docs.nuget.org/
ProjectServicesPackage Extension   1.0
ProjectServicesPackage Visual Studio Extension Detailed Info
SonarLint for Visual Studio   <IP_ADDRESS>17
SonarLint is an extension to your favorite IDE that provides on-the-fly feedback to developers on new bugs and quality issues injected into their code.
SQL Server Data Tools   16.0.61912.09160
Microsoft SQL Server Data Tools
TypeScript Tools   16.0.11031.2001
TypeScript Tools for Microsoft Visual Studio
Visual Basic Tools   3.4.1-beta4-19614-01+165046097562cfe65b09c2e9a9d8f7cd88526f2c
Visual Basic components used in the IDE. Depending on your project type and settings, a different version of the compiler may be used.
Visual F# Tools 10.4 for F# 4.6   16.4.0-beta.19556.5+e7597deb7042710a7142bdccabd6f92b0840d354
Microsoft Visual F# Tools 10.4 for F# 4.6
Visual Studio Code Debug Adapter Host Package   1.0
Interop layer for hosting Visual Studio Code debug adapters in Visual Studio
Visual Studio Container Tools Extensions (Preview)   1.0
View, manage, and diagnose containers within Visual Studio.
Visual Studio Tools for Containers   1.0
Visual Studio Tools for Containers
VisualStudio.DeviceLog   1.0
Information about my package
VisualStudio.Foo   1.0
Information about my package
VisualStudio.Mac   1.0
Mac Extension for Visual Studio
Xamarin   <IP_ADDRESS>9 (d16-4@1d551f9)
Visual Studio extension to enable development for Xamarin.iOS and Xamarin.Android.
Xamarin Designer   <IP_ADDRESS>5 (remotes/origin/d16-4@ac250f5aa)
Visual Studio extension to enable Xamarin Designer tools in Visual Studio.
Xamarin Templates   16.4.25 (579ee62)
Templates for building iOS, Android, and Windows apps with Xamarin and Xamarin.Forms.
Xamarin.Android SDK   <IP_ADDRESS> (d16-4/d66aed0)
Xamarin.Android Reference Assemblies and MSBuild support.
Mono: fd9f379
Java.Interop: xamarin/java.interop/d16-4@c4e569f
ProGuard: xamarin/proguard/master@905836d
SQLite: xamarin/sqlite/3.28.0@46204c4
Xamarin.Android Tools: xamarin/xamarin-android-tools/master@9f4ed4b
Xamarin.iOS and Xamarin.Mac SDK   <IP_ADDRESS> (5f802ef)
Xamarin.iOS and Xamarin.Mac Reference Assemblies and MSBuild support.

@AndreiMisiukevich I am getting this issue only when I debug the application with Android 10 device for the first time. I am able to bypass this crash by running the application in any other lower version devices and then use Android 10 for later development.

@nakulLukan thanks for the info :)
Why don't you use official HotReload?

probably updating visual studio will help


validation_split refactor

The code in validation_split.py has to be refactored and at least kfold function has to come directly from wrangle.

Closing this as it's really not adding value.


Split Kernel extensions out of interpreter

I'm imagining that each part of Ruby core and stdlib we add to mruby crate should live as a dynamically loadable module.
This would eventually allow us to expose individual extensions that alter the execution environment as features for conditional compilation.

This has been done for a while. Kernel extensions live in extn::kernel. Repurposing this ticket to be adding features to mruby crate.


devops-get-overview and devops-edit are extremely slow

From the mailing list
https://groups.google.com/forum/#!topic/fabric8/YF-82YDXQeY
We can possible optimize this to be one forge command, instead of several doing this project check

There are a lot of commands executed during that wizard and some are fast and others may run for seconds etc. Adding some stop watch timings so we can see some times in the logs.
fabric8-forge do need an overall optimization and cleanup

Just had a command take 40 sec to initialize
Nov 21, 2016 2:29:19 PM io.fabric8.forge.devops.DevOpsEditCommand initializeUI
INFO: initializeUI#getSelectedProject taken 39881
Nov 21, 2016 2:29:19 PM io.fabric8.forge.devops.setup.Fabric8SetupStep setupSitePlugin
INFO: setupSitePlugin took 63
Nov 21, 2016 2:29:19 PM io.fabric8.forge.devops.DevOpsEditCommand initializeUI
INFO: initializeUI#setupSitePlugin taken 39957
Nov 21, 2016 2:29:19 PM io.fabric8.forge.devops.DevOpsEditCommand initializeUI
INFO: initializeUI#fabric8ProjectSetupCorrectly taken 39980
Nov 21, 2016 2:29:19 PM io.fabric8.forge.devops.DevOpsEditCommand initializeUI
INFO: initializeUI took 39980

To get current selected project in forge is a bit slow
Nov 21, 2016 3:18:55 PM io.fabric8.forge.devops.AbstractDevOpsCommand getCurrentSelectedProject
INFO: getCurrentSelectedProject took 3955
Nov 21, 2016 3:19:07 PM io.fabric8.forge.devops.AbstractDevOpsCommand getCurrentSelectedProject
INFO: getCurrentSelectedProject took 7038


Fixed #26671 -- Used a regex to match staticfiles hashed storage urls.

Please add a regression test and uncheck patch needs improvement on the ticket when done.

Hi @charettes
I am new to this. I wasn't sure if I was supposed to add a url for testing in url.css or add an assert. Will the commit I made work?


Update hot-module-replacement.md

describe your changes...

[ ] Read and sign the CLA. PRs that haven't signed it won't be accepted.
[ ] Make sure your PR complies with the writer's guide.
[ ] Review the diff carefully as sometimes this can reveal issues.
Remove these instructions from your PR as they are for your eyes only.

此文档已更新


[CARBONDATA-3369] Fix issues during concurrent execution of Create table If not exists

Create table if not exists has following problems if run concurrently from different drivers

Sometimes It fails with error "Table <db.table> already exists."
Create table failed driver still holds the table with wrong path or schema. Eventual operations refer the wrong path
Stale path created during create table is not deleted for ever [After 1.5.0 version table will be created in a new folder using UUID if folder with table name already exists]

This PR fixes above 3 issues.
Be sure to do all of the following checklist to help us incorporate
your contribution quickly and easily:

[ ] Any interfaces changed?
No

[ ] Any backward compatibility impacted?
No

[ ] Document update required?
NA

[ ] Testing done
Please provide details on
- Whether new unit test cases have been added or why no new tests are required?
Yes
- How it is tested? Please attach test report.
- Is it a performance related change? Please attach the performance test report.
- Any additional information to help reviewers in testing this change.

[ ] For large changes, please consider breaking it into sub-tasks under an umbrella JIRA.

Build Success with Spark 2.1.0, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder2.1/3074/

Build Success with Spark 2.3.2, Please check CI http://<IP_ADDRESS>:8080/job/carbondataprbuilder2.3/11338/

Build Success with Spark 2.2.1, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder1/3273/

Build Failed  with Spark 2.3.2, Please check CI http://<IP_ADDRESS>:8080/job/carbondataprbuilder2.3/11378/

Build Failed with Spark 2.2.1, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder1/3313/

Build Failed  with Spark 2.1.0, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder2.1/3114/

Build Failed  with Spark 2.3.2, Please check CI http://<IP_ADDRESS>:8080/job/carbondataprbuilder2.3/11381/

Build Success with Spark 2.1.0, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder2.1/3118/

Build Success with Spark 2.2.1, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder1/3316/

Build Success with Spark 2.1.0, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder2.1/3122/

Build Success with Spark 2.2.1, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder1/3321/

Build Success with Spark 2.3.2, Please check CI http://<IP_ADDRESS>:8080/job/carbondataprbuilder2.3/11386/

LGTM


Index server deploy and go live

[x]  Run secondary storage of index server on Redis (at_server)
[x]  Test (developer) that it works with both Redis and ES (at_server)
[x]   Expose @index and @Search verbs in SDK (at_sdk)
[x]   Implement CommitLog in Redis
[x]  Implement AccessLog in Redis
[x]  Implement NotificationLog in Redis
[x] Make Notification Subsystem to work with NotificationLog
[x] Make Sync work with Commit Log
[x] Make CommitLog compaction work with Redis CommitLog
[x] Make TTR refresh job work with RedisKeyStore
[x]   Unit tests
[x]   Dev testing
[ ]   QA testing

While testing with @wavi came across an issue
https://github.com/atsign-company/at_settings/issues/342


Detect app install source package

Task/Issue URL: https://app.asana.com/0/488551667048375/1204413310429877/f
Description
Detects the app installation source package ID.
Testing steps
See https://app.asana.com/0/488551667048375/1204413310429877/f

Could be on its own module rather than app but no strong opinion.

Good suggestion. I have a follow-up change to make to this in a few weeks, so I can pull it out alongside that change.


Sketch plugin for IBAnimatable

Don't know what and how to do? just need to catup some ideas and requirements. Feedback is welcome.
What the others are doing?
https://neonto.com/sketch
http://www.paintcodeapp.com/sketch
https://github.com/Charimon/iosViews
They may not what we need because all of them are generating code, we need something exports from Sketch and imports into Interface Builder. In short, we will do much better than them. 😉 I haven't seen anyone else doing that now.

So, the real goal would be to create a xib / storyboard exactly like the sketch dashboard?
The #32 will be probably a bit similar: parsing of the sketch files... just the final output will differ, but it will be definitely the same plugin.
I think a first question should be asked: is the plugin should change the way to design in sketch (to make easier to convert to IBAnimatable types), and should it be able to export the sketch files and convert everything directly? The second option may be harder since we will have to guess what mask the user is using: is it a circle? Is it a waver or a polygon ?
Also, using the first option may be harder: how to make the difference between a button and a view?
Finally, another big question will be: how to handle every custom path? For example, how to export a mask that IBAnimatable doesn't support? Maybe by creating a custom type specially for that case?
That issue will be a lot of fun :laughing:

#32 is much more ambitious because Framer doesn't need a plugin, it probably read the source of Sketch file and export from file format directly.
@tbaranes All your questions are the difficulties we need to face. I don't have direct answer yet. Sketch designs are some shapes, paths, colors and texts. We don't know how to directly map shape to elements (view or button), I am thinking start with some simple like what Sketch gives us like "Copy CSS Attributes", we can have "Export IBAnimatable Properties" plugin. The user can get all supported "IBAnimatable Properties" (cornerRadius, fillColor ,opacity ...) from Sketch and manually put them in Interface Builder.

Also like what framer is doing, we can use group name to specify element, e.g. "b_Login" for a AnimatableButton.
Just some initial thought. Ideas are welcome.

Worth checking out https://sympli.io/downloads/xcode
Still a bit of a manual process but can drag all properties of an element in sketch artboard to an element on storyboard.
Xcode plugin looks cool tho, gives interactive preview of artboard.


Addition of reporters.py and modifications in init.py

Purpose

[ ] New feature
[x] Enhancement
[ ] Bug fix

Description
Briefly describe the new features, enhancements, or bugfixes included in this pull request. If this addresses an open issue, please mention the issue number, e.g. fixes #35
Author(s)
Please state name and affiliation of the author(s)
Backward Compatibility
Please state whether any changes break backward compatibility and, if so, explain what has been changed and why
Implementation Notes
Provide any relevant details about how the changes are implemented, how correctness was verified, how other features are affected, etc
Task-Completion Checklist

[ ] The feature(s) in this pull request is complete
[ ] Documentation has been properly updated
[ ] One or more examples have been included
[ ] The source code has passed a complete tox test

Further Information, Files, and Links
Please add any relevant information here, including images, data files, links to external sites, bibliographic references, etc

Pull Request Test Coverage Report for Build 25

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

Totals

Change from base Build 24:
0.0%

Covered Lines:
563

Relevant Lines:
597

💛  - Coveralls

I'll be closing this PR because there is a misplacement of files in folders.


Review rules for group editing

Reports of anyone being able to edit public groups, should be limited to owner.

tracker: 230

non-owner cannot update a public group  (verified)

error message could be improved (however user needs to handcraft url to get to edit page)

non-owner cannot update a private group (verified)

error message could be improved (however user needs to handcraft url to get to edit page)

cannot add / remove group owners

covered by #66


CLI-71: Updated 404 to 200

test this please

Cannot re-create test failure.
Reran test locally on a Macbook Pro (Intel) and on a Linux pc (Intel) and they pass. Also passes when I rerun the tests.


Cannot see inspector

Godot version
Godot Engine v4.0.alpha3.official.256069eaf
System information
mac
Issue description

Inspector is blocked by options of scene view
Steps to reproduce
create label, click on it
Minimal reproduction project
No response

Note toggling visibility to off will remove the components right of the trash can icon, making the inspector visible.

This issue has the same cause as https://github.com/godotengine/godot/issues/26835. It doesn't occur in 3.x since the Label font overrides feature isn't present there.

Duplicate of #58052
There's a PR open that solves this case.


I propose to add an IntelIJ trick that allows you to convert strings such as

I propose to add an IntelIJ trick that allows you to convert strings such as
const int i = 1; to such  (int) i() asm "PUSHINT 1"  and vice versa.
This will help to refactor the code more conveniently and make it more gas-efficient.
Originally posted by @MicroNovaX in https://github.com/ton-blockchain/intellij-ton/issues/103

This repoistory does not contain any C code, also this trick won't work in TypeScript (because TypeScript is an interpreted langauge and does not support assembly injection).


Disconnect Prints Multiple Times Sometimes

Every 50 times or so this happens.
reboot 2
[2] <IP_ADDRESS> thomas-VirtualBox Linux disconnected
[2] <IP_ADDRESS> thomas-VirtualBox Linux disconnected
[2] <IP_ADDRESS> thomas-VirtualBox Linux disconnected
[2] <IP_ADDRESS> thomas-VirtualBox Linux disconnected

Okay. So if this happens and the client tries to reconnect then it won't happen. Client fails to connect to server after thatr

It works just fine if the client interrupts. Perhaps this is only related to the reboot command.
starting server on port 6666

Useful tip: You can use the client ID in place of the IP!

[0] <IP_ADDRESS> gazelle-laptop Linux joined
[1] <IP_ADDRESS> thomas-VirtualBox Linux joined
[1] <IP_ADDRESS> thomas-VirtualBox Linux disconnected
[2] <IP_ADDRESS> thomas-VirtualBox Linux joined

It definitely doesn't happen often. I can't recreate the bug.


[WIP] Add h2o-3 support

Add H2O-3 support and collaborators. Do not merge it yet.
This should closes #82.
Developer's Certificate of Origin 1.1
   By making a contribution to this project, I certify that:

   (a) The contribution was created in whole or in part by me and I
       have the right to submit it under the Apache License 2.0; or

   (b) The contribution is based upon previous work that, to the best
       of my knowledge, is covered under an appropriate open source
       license and I have the right under that license to submit that
       work with modifications, whether created in whole or in part
       by me, under the same open source license (unless I am
       permitted to submit under a different license), as indicated
       in the file; or

   (c) The contribution was provided directly to me by some other
       person who certified (a), (b) or (c) and I have not modified
       it.

   (d) I understand and agree that this project and the contribution
       are public and that a record of the contribution (including all
       personal information I submit with it, including my sign-off) is
       maintained indefinitely and may be redistributed consistent with
       this project or the open source license(s) involved.

moved to #88


Support unmanaged templates

Related to https://github.com/netascode/terraform-sdwan-nac-sdwan/issues/53

This is currently a proof of concept showing how to support unmanaged templates using the banner template as an example.


Fh 4027 metrics

adds a metric gathering background task. Adds a metrics endpoint for services. Adds keycloak and sync metrics

Added 17 graphs for fh-sync-server in total. These can be joined (multiple lines on a single graph) in future if needed (and where appropriate).
@maleck13 would you mind reviewing the test as well, added in fa32fec?

@maleck13 For your consideration based on the feedback 9ba1877

updated the example

@maleck13 Build passed with updates from your most recent suggestions. Going to merge


Removed redundant test

Removed redundant test that would check if the "old" mqwebuser file exists

@stewmcl Have you tried running the tests with main.py? Do they run successfully?

@stewmcl Have you tried running the tests with main.py? Do they run successfully?

@JamRamPage, yes all tests run successfully


Keep leds on after project ends

Is there a way that I can keep my leds on in the state they were when the project file has reached the end?
I'd like to use this to turn on a one color strip around my room by sending the bp run command over ssh for it to turn on and another one later for it to turn off. If I leave the first command run the program indefinitely I can't just kill it because it will be running in the background.
Can anyone help me out here? Thanks

No, you can't. Not all LEDs will stay on unless they are actively updated and some can start going crazy from errant RF interference.  So, we actively turn off the display upon completion.
But what you want to do is easy enough another way... use the remote:
{
    "driver": {
        "typename": "simpixel",
        "num": 50
    },
    "layout": {
        "typename": "strip"
    },
    "animation": {
        "typename": "remote",
        "external_access": true,
        "port": 5000,
        "title": "Test Remote",
        "default": null,
        "animations": [
            {
                "animation": {
                    "typename": "BiblioPixelAnimations.strip.ColorFill.ColorFill",
                    "name": "Red",
                    "color": "#ff0000"
                },
                "run": {
                    "fps": 5
                }
            },
            {
                "animation": {
                    "typename": "BiblioPixelAnimations.strip.ColorFill.ColorFill",
                    "name": "Blue",
                    "color": "#0000ff"
                },
                "run": {
                    "fps": 5
                }
            }
        ]
    }
}

Run that and then browse to http://simpixel.io and http://localhost:5000
You'll get a remote control with 3 buttons; STOP, Red, and Blue
This just uses the ColorFill animation which actively updates the strip. My example does it 5 times per second, but you could set that to 1 fps and it'd be fine.
If you want to automate that somehow, you can just do a GET request to http://localhost:5000/run_animation/Red - or whatever animation name you want to call. Note, animation names cannot have spaces.
wget, curl, python requests, etc. will all handle that fine.

I had been messing around with the remote but couldn't figure out how to

Yeah.... the docs are in the process of a complete rewrite. We were pretty far behind on a bunch of stuff that's been mostly internal stuff that wasn't quite ready for primetime yet. But the remote works quite well.


Fix site title not linking to site root

Since the Jekyll baseurl was unset, the site title had an empty href attribute on every page. This meant that even though a user is on a page https://endoflife.date/debian, the site title's anchor tag is:
endoflife.date

Here's the behavior pre-fix:

And post-fix:

Thanks a lot (and +1 for the GIF). I’m merging this, but need to check later if this breaks base href by any chance.
Sent with GitHawk


Dev

Codecov Report

Merging #152 (f268daf) into master (351f17d) will decrease coverage by 0.20%.
The diff coverage is 29.16%.

@@            Coverage Diff             @@
##           master     #152      +/-   ##
==========================================
- Coverage   55.73%   55.53%   -0.21%
==========================================
  Files          29       30       +1
  Lines        2275     2294      +19
  Branches      514      516       +2
==========================================
+ Hits         1268     1274       +6
- Misses        854      868      +14
+ Partials      153      152       -1

Impacted Files
Coverage Δ

client/src/Commands/compileSM.ts
8.33% <0.00%> (-0.12%)
:arrow_down:

client/src/Providers/spItemsRepository.ts
45.88% <0.00%> (-0.15%)
:arrow_down:

client/src/spFormat.ts
10.00% <0.00%> (-0.17%)
:arrow_down:

client/src/Commands/changeSMApi.ts
15.38% <15.38%> (ø)

client/src/Commands/registerCommands.ts
100.00% <100.00%> (ø)

client/src/Providers/spParser.ts
78.35% <100.00%> (+0.16%)
: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 351f17d...f268daf. Read the comment docs.


Add ".c-alert__text" class for text color adjustment

Continuing convo from https://github.com/helpscout/seed-alert/pull/2
@nfrancis! Wanted to get your thoughts! Since .c-alert__text will be introduced, should .c-alert still adjust h1-h6 automatically by default? Or color adjustment is dependent on .c-alert__text.
In our previous convo, I think I landed on only having .c-alert__text, but okay with having both! I've become more open to h1-h6 tweaks testing it out.
Thanks!!

should .c-alert still adjust h1-h6 automatically by default?

True! I also thought of a use-case were automatic h1-h6 colouring might not be desired. I've had to build something like this before:

Title

...

For the above example, there's another UI component living inside alert. In this case, you wouldn't want alert to automatically change heading colours for you.
Having .c-alert__text means that undesired/unexpected colouring doesn't happen 😍

Addressed in https://github.com/helpscout/seed-alert/pull/4


[QUESTION] Usage without Action Tab?

Just want to say first I love this sheet. I've had Foundry for a little over a month and tried a few sheets and very quickly landed on yours. Players tried others as well and we all love this sheet.
Now I'll preface this by saying none of us have used DnD Beyond or their sheet. That said, after using this for about 6 weeks now, I've found that neither I nor my players use the Action Tab. Any chance there's a way to disable it? I know that the Action List mod is a dependency. If that is uninstalled will it kill the sheet, or would that work to remove it?
I know we could just ignore it, but I always feel if I can get rid of a mod I'm not using (Action List) then that's always a better solution. Additionally, we use the (Crash's Tracking & Training) Downtime mod and that adds another tab as well, so it gets a little crowded.
Finally it's obviously not a deal breaker as I think this is still the best sheet around, but I figure it couldn't hurt to ask!

Thanks for your feedback!
I'm not terribly inclined to make the Actions tab an option, but I guess it could be done.
The Actions List module was split out so I could share its functionality with other modules from a more centralized location. I don't really know if uninstalling it would break anything in the sheet, but I know that activating modules will be mad at you.
Another alternative if you really didn't want that tab to show up would be to use the Custom CSS module to hide it. Since it's the default tab I'm not sure how much that would break, but it's something...
Yeah Idk how to proceed on this. I think I'll close this as 'wontfix' and say something cheesy like "you should really try the actions tab out, especially now that it lets you add favorites to it manually!" :P

Hey no worries! I figured it may be difficult. And yeah disabling the AL mod just doesn't allow you to use the sheet.
Just FYI I(we) did try the Actions tab. Don't want you to think I just wrote it off. :-) The feedback, for whatever it's worth, is that the players prefer to keep weapon attacks in the hotbar and use the spellbook tab for spells. The Spell tab has more info and you don't have just 1 long list because everything is separated out nicely by level.
Again though I realize this is just a preference thing. I just wanted to first thank you for the sheet and figured I'd share what others users may also be thinking (especially since it was the whole group and not just 1 or 2 of us). Thanks!


{ KafkaJSNotImplemented: Snappy compression not implemented

InstrumentationEvent {
id: 2,
type: 'consumer.crash',
timestamp:<PHONE_NUMBER>005,
payload:
{ error:
{ KafkaJSNotImplemented: Snappy compression not implemented
at 2 (/usr/local/polkadot_block_task/node_modules/kafkajs/src/protocol/message/compression/index.js:17:11)
at lookupCodecByAttributes (/usr/local/polkadot_block_task/node_modules/kafkajs/src/protocol/message/compression/index.js:30:18)
at module.exports (/usr/local/polkadot_block_task/node_modules/kafkajs/src/protocol/messageSet/decoder.js:22:21)
at decodePartition (/usr/local/polkadot_block_task/node_modules/kafkajs/src/protocol/requests/fetch/v1/response.js:22:19)
at Decoder.readArrayAsync (/usr/local/polkadot_block_task/node_modules/kafkajs/src/protocol/decoder.js:168:24)
at decodeResponse (/usr/local/polkadot_block_task/node_modules/kafkajs/src/protocol/requests/fetch/v1/response.js:27:29)
at Decoder.readArrayAsync (/usr/local/polkadot_block_task/node_modules/kafkajs/src/protocol/decoder.js:168:24)
at Object.decode (/usr/local/polkadot_block_task/node_modules/kafkajs/src/protocol/requests/fetch/v1/response.js:33:35)
at Connection.send (/usr/local/polkadot_block_task/node_modules/kafkajs/src/network/connection.js:310:45)
at
at process._tickCallback (internal/process/next_tick.js:189:7)
name: 'KafkaJSNotImplemented',
retriable: false,
helpUrl: undefined },
groupId: 'polkadot_block' } }

Hi @heipacker,
Are you able to provide your package.json or able to confirm that you've installed the snappy compression as per the KafkaJS documentation: https://kafka.js.org/docs/producing#a-name-compression-snappy-a-snappy

{
"name": "task",
"version": "1.0.0",
"dependencies": {
"@polkadot/api": "^2.8.1",
"async": "^2.1.4",
"kafka-node": "^5.0.0",
"log4js": "^6.3.0"
}
}

Hi @heipacker,
Looking at your package.json it looks like your missing the snappy compression: https://kafka.js.org/docs/producing#a-name-compression-snappy-a-snappy

I am experiencing the same issue, I added kafkajs-snappy to package.json. It still does not work.
I am connecting my app to a Kafka cluster hosted in Confluent Cloud. Those are the dependencies I added
    "kafkajs": "^1.15.0",
    "kafkajs-lz4": "^2.0.0-beta.0",
    "kafkajs-snappy": "^1.1.0",```

This is the stack trace I am getting

```{"level":"ERROR","timestamp":"2020-12-28T20:59:38.596Z","logger":"kafkajs","message":"[Consumer] Crash: KafkaJSNotImplemented: Snappy compression not implemented","groupId":"ccloud-dev","stack":"KafkaJSNotImplemented: Snappy compression not implemented\n    at 2 (.//api/node_modules/kafkajs/src/protocol/message/compression/index.js:16:11)\n    at lookupCodecByAttributes (.//api/node_modules/kafkajs/src/protocol/message/compression/index.js:29:18)\n    at module.exports (.//api/node_modules/kafkajs/src/protocol/recordBatch/v0/decoder.js:68:17)\n
  at decodeMessages (.//api/node_modules/kafkajs/src/protocol/requests/fetch/v4/decodeMessages.js:27:35)\n
  at decodePartition (.//api/node_modules/kafkajs/src/protocol/requests/fetch/v11/response.js:39:19)\n
  at Decoder.readArrayAsync (.//api/node_modules/kafkajs/src/protocol/decoder.js:179:24)\n
  at decodeResponse (.//api/node_modules/kafkajs/src/protocol/requests/fetch/v11/response.js:44:29)\n
  at Decoder.readArrayAsync (.//api/node_modules/kafkajs/src/protocol/decoder.js:179:24)\n
  at Object.decode (.//api/node_modules/kafkajs/src/protocol/requests/fetch/v11/response.js:52:35)\n
  at Connection.send (.//api/node_modules/kafkajs/src/network/connection.js:328:45)\n
  at processTicksAndRejections (node:internal/process/task_queues:93:5)\n
  at async Broker.[private:Broker:sendRequest] (.//api/node_modules/kafkajs/src/broker/index.js:890:14)\n
  at async Broker.fetch (.//api/node_modules/kafkajs/src/broker/index.js:332:12)\n
  at async .//api/node_modules/kafkajs/src/consumer/consumerGroup.js:488:31"}
{"level":"INFO","timestamp":"2020-12-28T20:59:39.186Z","logger":"kafkajs","message":"[Consumer] Stopped","groupId":"ccloud-dev"}

@hussein-joe did you manage to fix this?

I am also having the same issue. I am trying to consume from a kafka topic. This is my package json -
{
  "name": "my-app",
  "version": "1.0.0",
  "description": "",
  "main": "index.js",
  "scripts": {
    "test": "echo \"Error: no test specified\" && exit 1"
  },
  "repository": {
    "type": "git",
    "url": ""
  },
  "author": "",
  "license": "ISC",
  "bugs": {
    "url": ""
  },
  "homepage": "",
  "dependencies": {
    "got": "^11.8.1",
    "kafkajs": "^1.15.0",
    "kafkajs-snappy": "^1.1.0"
  }
}

This are the console logs -
$ node index.js
starting kafka consumer
{"level":"INFO","timestamp":"2021-02-23T10:06:51.962Z","logger":"kafkajs","message":"[Consumer] Starting","groupId":"my-app"}
{"level":"INFO","timestamp":"2021-02-23T10:06:51.982Z","logger":"kafkajs","message":"[ConsumerGroup] Consumer has joined the group","groupId":"my-app","memberId":"my-app-4f171fac-3323-40d6-b150-b1cfc0c9370f","leaderId":"my-app-4f171fac-3323-40d6-b150-b1cfc0c9370f","isLeader":true,"memberAssignment":{"maxwell":[0]},"groupProtocol":"RoundRobinAssigner","duration":18}
{"level":"ERROR","timestamp":"2021-02-23T10:08:26.702Z","logger":"kafkajs","message":"[Connection] Response Fetch(key: 1, version: 11)","broker":"<IP_ADDRESS>:9092","clientId":"my-app","error":"Snappy compression not implemented","correlationId":43,"size":919}
{"level":"ERROR","timestamp":"2021-02-23T10:08:26.704Z","logger":"kafkajs","message":"[Consumer] Crash: KafkaJSNotImplemented: Snappy compression not implemented","groupId":"my-app","stack":"KafkaJSNotImplemented: Snappy compression not implemented\n    at 2 (/var/www/my-app/node_modules/kafkajs/src/protocol/message/compression/index.js:16:11)\n    at lookupCodecByAttributes (/var/www/my-app/node_modules/kafkajs/src/protocol/message/compression/index.js:29:18)\n    at module.exports (/var/www/my-app/node_modules/kafkajs/src/protocol/recordBatch/v0/decoder.js:68:17)\n    at decodeMessages (/var/www/my-app/node_modules/kafkajs/src/protocol/requests/fetch/v4/decodeMessages.js:27:35)\n    at decodePartition (/var/www/my-app/node_modules/kafkajs/src/protocol/requests/fetch/v11/response.js:39:19)\n    at Decoder.readArrayAsync (/var/www/my-app/node_modules/kafkajs/src/protocol/decoder.js:179:24)\n    at decodeResponse (/var/www/my-app/node_modules/kafkajs/src/protocol/requests/fetch/v11/response.js:44:29)\n    at Decoder.readArrayAsync (/var/www/my-app/node_modules/kafkajs/src/protocol/decoder.js:179:24)\n    at Object.decode (/var/www/my-app/node_modules/kafkajs/src/protocol/requests/fetch/v11/response.js:52:35)\n    at Connection.send (/var/www/my-app/node_modules/kafkajs/src/network/connection.js:328:45)"}
{"level":"INFO","timestamp":"2021-02-23T10:08:26.717Z","logger":"kafkajs","message":"[Consumer] Stopped","groupId":"my-app"}

I understand now. Maxwell uses snappy compression. For configuring snappy in kafkajs, this link helps - https://github.com/tulios/kafkajs-snappy
const {  CompressionTypes, CompressionCodecs } = require('kafkajs')
const SnappyCodec = require('kafkajs-snappy')

CompressionCodecs[CompressionTypes.Snappy] = SnappyCodec

After adding this code, the error went away.


New Line

Newline on the UTILITY Block.
When we save vars on the .txt files , no matter how many vars are in there   it will just put all vars together in the same line.
Example :
Hello:Hello  VAR1 VAR2
And we want it
To
Hello:Hello
VAR1
VAR2

i guess it depends on the editor, where you are pasting

He wants OB to print a new line when he types \n in the box.

before saving combine your variable like below
FUNCTION Constant "Hello\\r\\n<VAR1>\\r\\n<VAR2>" -> VAR "VarsWithNewLine"

there is also UTILITY > List > Join to combine List with defined separator

@ewwink Yeah but did you test if it actually works? Because I think it will just print \r\n to the file as ascii characters instead of making a new line. I don't remember if I implemented a replace function for that escape sequence.

It work, I already test it before posting :grin:

You're not the first one who knows my software better than I do :D thanks for the awesome help man, I'm gonna close the issue at this point since it's solved.

The Syntax for a new line on the Utility Block.
\r\n
And For Loli Script it should be like this,
\\r\\n
EX : UTILITY File "" Append "<VAR1>\\r\\n<VAR2>"

i need help


Execution Order Issue in Zenject 6?

In upgrading from Zenject 5 to 6 we get different behavior in initialization order in our project. Namely, Start() on a component in a game object in the scene seems to be called before Initialize() on another class correctly injected and bound to IInitializable. Were there changes that might affect this? Can't reproduce in an empty project with just a single Start() and Initialize(), but our project works fine in Zenject 5 and breaks in the 6 update. Any hints on where to check would be appreciated.

Yeah, Start() should be called after Initialize.  I would check the project Script Execution Order and make sure that SceneContext, ProjectKernel, SceneKernel are all triggered first or nearly first

I am not really sure why that would have broken with version 6

Thanks for the suggestion. You're right it looks like the script execution order values in our meta files got messed up in the upgrade. Probably our fault.


Fix invalid resolution graph state when deferring selection

The deferred selection still had a couple corner cases where the graph
was not in the right state. It was possible to leak selectors and/or
unattached dependencies.

Merging as this change set passed CI


Storage Queue Service

Pull Request Checklist
Please leverage this checklist as a reminder to address commonly occurring feedback when submitting a pull request to make sure your PR can be reviewed quickly:
See the detailed list in the contributing guide.

[x] C++ Guidelines
[x] Doxygen docs
[x] Unit tests
[x] No unwanted commits/changes
[x] Descriptive title/description

[x] PR is single purpose
[x] Related issue listed

[x] Comments in source
[x] No typos
[x] Update changelog
[x] Not work-in-progress
[x] External references or docs updated
[x] Self review of PR done
[x] Any breaking changes?

/azp run cpp - storage

We require all public headers to be fully documented before merging. Please add Doxygen.

I want to get API view done first because according to our experience in blob/file services, API review usually takes longer time. I'll make up the docs in another PR.

We require a changelog

Ok

Side Question:  Why do we use public-operation-options and protocol-operation-options?  Is it because of the auto-gen?  Are we paying an extra copy for the options on every operation?

This is agreed by the working group. Check the email titled About the design on protocol layer from Jeffrey on Apr. 20, 2020.

/azp run cpp - storage

/azp run cpp - storage

Doxygen for public layer still missing. Won't approve it without it.

Working on it. Don't rush me.😶

/azp run cpp - storage

TODO: Add test cases for account sas

/azp run cpp - storage

/azp run cpp - storage

/azp run cpp - storage

/azp run cpp - storage


NIFI-11638 Refactored Groovy tests in nifi-cdc/nifi-cdc-mysql-bundle/nifi-cdc-mysql-processors to Java (and JUnit 5)

Summary
NIFI-11638
Tracking
Please complete the following tracking steps prior to pull request creation.
Issue Tracking

[x] Apache NiFi Jira issue created

Pull Request Tracking

[x] Pull Request title starts with Apache NiFi Jira issue number, such as NIFI-00000
[x] Pull Request commit message starts with Apache NiFi Jira issue number, as such NIFI-00000

Pull Request Formatting

[x] Pull Request based on current revision of the main branch
[ ] Pull Request refers to a feature branch with one commit containing changes

Verification
Please indicate the verification steps performed prior to pull request creation.
Build

[x] Build completed using mvn clean install -P contrib-check

[x] JDK 17

Licensing

[ ] New dependencies are compatible with the Apache License 2.0 according to the License Policy
[ ] New dependencies are documented in applicable LICENSE and NOTICE files

Documentation

[ ] Documentation formatting appears as expected in rendered files

@exceptionfactory I removed it. Thanks for bringing that to my attention. I did not realize that dependency was there.

+1 LGTM, thanks for the improvement! Merging to support/nifi-1.x and main


[Misc]: How are quantized models loaded compared to non-quantized models?

Hi,
I am trying to research MoE layer memory optimizations and I am using vLLM to do so. I have some custom logging code in the initializers/model code of the Mixtral model. When I load a quantized model, no logging code is executed. Simple print statements in the MixtralModel.__init__ are not printed to screen. Is this on purpose? Where are the MoE kernels getting executed?
Thanks for any help, I have been stuck on this for a while.
For reference, I have tried to use the https://huggingface.co/TheBloke/mixtral-8x7b-v0.1-AWQ and I have quantized my own models with autoAWQ and bitsandbytes and the same behavior occurs.

For Mixtral, there is a hack for AWQ right now since we do not have a fused moe kernel for AWQ. Look at mixtral_quant.py

Great, thanks for the heads up!

@ robertgshaw2-neuralmagic is it a good idea to submit a PR to change the name of the quant Mixtral implementation? It wasn't very clear to me that it was the same name as the non-quantized implementation.


Bitcore wallet service down

First of all I really appreciate this project because I wanted to keep using Copay on the main chain (not on the segwit2x chain).
Secondly I wanted to use the Bitcore wallet service url provided on the README but it seems to not working (return a 502 HTTP error). Is the server not ready yet?

Yes, we're still in the process of setting everything up. Should be ready soon, I'll ping you here when it is. Thanks!


Add table attribute to q.run method to give flexibility to run test tables.

Is this related to table and version arguments?
I was wondering if it's possible to add those arguments to columns() and unique_terms() functions as well?
There is no other way to test certain functionalities otherwise.

This has been exercised and verified by the Testers


cleanup exception handling

leverage CallerArgumentExpressionAttribute
there were two exception handling helpers. Error and Utils. Consolidated on Utils. Happy to rename if u want
the string format and CultureInfo code in Error was redundant, since the only place it was used in was not doing any culture sensitive formats.

conflict resolved

@simoncropp this one is conflicting again, would you mind rebasing please?

@baywet done


feat: add Pulumi Exoscale provider to Pulumi Registry

Hi,
Thi PR adds the Pulumiverse Pulumi Exoscale provider to the Pulumi Registry.
FYI @ringods

@dirien could you rebase this PR?

@ringods done 😄

And rebased again @ringods


A strange and easily reproducible problem in the AOT-compiled code.

Problem Code
Normally, the following code should print [2, 2, 10]. However, in practice, if I execute it using dart run, it prints the correct result [2, 2, 10]. But if I first compile it into AOT code using dart compile aot-snapshot and then run it using dartaotruntime, it prints [0, 0, 10], which is clearly an incorrect result.
List<int> encode() {
  int offset = 0;
  List<int> part = [0, 0, 0];

  for (int i = 0; i < 2; i++) {
    part[offset] = 2;
    offset++;
  }

  // Everything will be okay if without the line below.
  part[offset] = 10;

  // And everything will be okay if with the `print` line.
  // print(part);
  return part;
}

void main() {
  print(encode());
}

Dart Infomation
- Dart 3.3.2 (stable) (Tue Mar 19 20:44:48 2024 +0000) on "macos_arm64"
- on macos / Version 14.4.1 (Build 23E224)

Actually, I have tried the latest dev version (3.5.0-109.0.dev), and this issue still exists.

I think it is a bug in DSE: it probably thinks that both of these stores are storing to the same place, but they are not -  because offset is a phi. Can you look at this @alexmarkov?


Add speaker identification option.

Adds a config option to enable speaker diarization / identification. This PR is similar to https://github.com/qasim9872/aws-transcribe/pull/17 in purpose, but also adds a test and documentation, and updates result type interface.

Hi @ioga,
Could you please update the PR to be without any conflicts? I didn't realize until I saw this PR that it was covering the changes made in #17. It was too late at that point as I had already merged the changes.
Thanks

Hello @qasim9872, I've created a new conflict-free PR #21 (because I've made some changes in my master branch not intended for this PR). Closing this one in favor of it.
Thanks!


Develop

ignore 64-bit stage directory - add to .gitignore
index 231a4508f..91ae80b13 100644 --- a/.gitignore +++ b/.gitignore @@ -7,7 +7,7 @@  /boost  /dist  /project-config.jam* -/stage +/stage*  /user-config.jam  /.settings/  /.project
edit
hmm lol - "BeErikk  wants to merge 10,000 commits into master from develop"
No I don't, just the above patch

You branched from develop, so you need to make to pull request against develop.

@danieljames
Thanks. How to fix it now?

We use trac for bug reports/feature requests:
https://svn.boost.org/trac10/newticket
Or you can open a pull request by editing the file here:
https://github.com/boostorg/boost/blob/develop/.gitignore
Just click on the pencil icon at the top right of the code.
I'm not keen on the change though, it seems like the pattern could accidentally match other things. Perhaps we could use a more specific pattern. What's the name of directory you want to ignore?

Hello Daniel
The directory is stage_x64. I see now that this directory was created by a external building script for b2 to build 64-bit with VS2017, which at least was a bit of a challenge. So, your right and I'm sorry for the fuzz. close this

I'll add an ignore for stage_x64, that's no problem.


Jedi does not offer suggestions when module is installed via pip

Type: Bug

Behaviour
Expected vs. Actual
Hi,
I am importing a module (e.g. torch) that is pre-installed via pip. If I then enter e.g. torch. and then press ctrl+space, a suggestion should appear (autocomplete).
In fact, nothing appears when I select Jedi in Python: Language Server.
Steps to reproduce:

create a python environment.
install PyTorch with pip install torch
select the python environment in VS Code (I click on the status bar at the bottom right to select my Conda environment)
select in the settings (VS Code) under Python: Language Server -> Jedi
create a Python file in VS Code and write

Import torch
torch.
With ctrl+space (I use macOS) a suggestion should come up.

Diagnostic data

Python version (& distribution if applicable, e.g. Anaconda): 3.9.16
Type of virtual environment used (e.g. conda, venv, virtualenv, etc.): Venv
Value of the python.languageServer setting: Jedi

Output for Python in the Output panel (View→Output, change the drop-down the upper-right of the Output panel to Python)

Experiment 'pythonPromptNewFormatterExt' is active
Experiment 'pythonPromptNewToolsExt' is active
> conda info --json
Python interpreter path: /usr/bin/python3
> ./test_env/bin/python -I ~/.vscode/extensions/ms-python.python-2023.6.0/pythonFiles/get_output_via_markers.py ~/.vscode/extensions/ms-python.python-2023.6.0/pythonFiles/interpreterInfo.py
> /usr/bin/python3 -I ~/.vscode/extensions/ms-python.python-2023.6.0/pythonFiles/get_output_via_markers.py ~/.vscode/extensions/ms-python.python-2023.6.0/pythonFiles/interpreterInfo.py
> /usr/local/Caskroom/miniforge/base/bin/python -I ~/.vscode/extensions/ms-python.python-2023.6.0/pythonFiles/get_output_via_markers.py ~/.vscode/extensions/ms-python.python-2023.6.0/pythonFiles/interpreterInfo.py
> ~/.conda/envs/DATUMARO_env/bin/python -I ~/.vscode/extensions/ms-python.python-2023.6.0/pythonFiles/get_output_via_markers.py ~/.vscode/extensions/ms-python.python-2023.6.0/pythonFiles/interpreterInfo.py
> ~/.conda/envs/YOLOR_env/bin/python -I ~/.vscode/extensions/ms-python.python-2023.6.0/pythonFiles/get_output_via_markers.py ~/.vscode/extensions/ms-python.python-2023.6.0/pythonFiles/interpreterInfo.py
> ~/.conda/envs/YOLOv5_env/bin/python -I ~/.vscode/extensions/ms-python.python-2023.6.0/pythonFiles/get_output_via_markers.py ~/.vscode/extensions/ms-python.python-2023.6.0/pythonFiles/interpreterInfo.py
> ~/.conda/envs/YOLOv5_env_prev/bin/python -I ~/.vscode/extensions/ms-python.python-2023.6.0/pythonFiles/get_output_via_markers.py ~/.vscode/extensions/ms-python.python-2023.6.0/pythonFiles/interpreterInfo.py
> ~/.conda/envs/test/bin/python -I ~/.vscode/extensions/ms-python.python-2023.6.0/pythonFiles/get_output_via_markers.py ~/.vscode/extensions/ms-python.python-2023.6.0/pythonFiles/interpreterInfo.py
Starting Jedi language server for Workspace.
Python interpreter path: ~/Desktop/Workspace/test_env/bin/python
Send text to terminal: /Users/arbeit/Desktop/Workspace/test_env/bin/python /Users/arbeit/Desktop/Workspace/demo.py
Starting Pylance language server.

 Here is the output:

Here is a screenshot of the example with torch:

If I use a python built-in module, like math, then it works.
Here is a screenshot of the example with the math built-in module:

This should be filed on https://github.com/pappasam/jedi-language-server we use that as the language server when you select Jedi. You can try using Pylance for these scenarios.

I have installed the jedi-language-server in the environment. Unfortunately, this did not help. Attached are two screenshots. With Pylance everything works of course but I need Jedi because I want to use a library that according to a developer can only be read with Jedi because it contains .pyd file.

jedi-language-server ships with the extension, you don't have to install it. What I am saying is that the bug in that library. So you need to file it on that library.

Ahh, I see. Sorry, I misunderstood earlier.

Closing issue in favor of https://github.com/pappasam/jedi-language-server/issues/266


feat: upgrade design-system to 1.6.1

No vulnerabilities detected
No vulnerabilities with HIGH,CRITICAL severity have been detected in the code.


Adds host to Vagrant cake server command

Port forwarding wasn't working for me. Just incase anyone else has the same problem, setting host to <IP_ADDRESS> fixed it for me!

:+1: This should be part of the instructions!


Enable Pandera dtype and validation checks

We have all the tools available to us to:

define dtypes for assets
define column-based and DF-based validation checks for assets
run dtype checks & validation checks in Dagster

Let's start using those tools to get better guarantees about our data!
## Scope
- [ ] you can define data validation checks in `RESOURCE_METADATA` for persisted assets
- [ ] you can define data validation checks + dtypes as a Pandera schema for un-persisted assets
- [ ] validation checks + dtype checks are run in Dagster for both persisted & un-persisted assets
- [ ] examples of the above are presented to the team!

Can we close this now that https://github.com/catalyst-cooperative/pudl/pull/3282 is merged?

Yes! We can track the follow-up work in #3412 .


Testing: unexpected simulation engine behavior

The client should be able to detect & correctly fail out on:

partial frames being sent through the socket (such as in the case of socket overflow or simulation being sent SIGKILL)

this case should be handled with the socket both opened and closed

packets sent in the wrong order

Testing these things will require use of imdclient/tests/server.py. See imdclient/tests/imdclient.py::TestIMDClientV3 for examples on using the test server

Fixed in #42


customize template

Hi, i tried to customise pdf template like other bundle but nothing change : /
my path is Templates/SyliusInvoicingPlugin/Invoice/Download/ ..
edit : the path is actually : Templates/bundles/SyliusInvoicingPlugin/Invoice/Download/ ..
do you know why ?
thx you !

Hello Mathieu, in fact, it should work without a problem :/ I'll try to investigate it asap and give you some feedback.

I've just checked it and indeed there is some problem with overriding 😢 Maybe it's because plugin templates are placed in Resources/views? Thank you for the report, anyway, we will try to find a solution as soon as possible. Of course, if you have any idea what can be wrong, feel free to contribute :)

Could it have anything to do with Symfony's bundle naming convention?

haha, i'd really like to help ! but i'm just a "user", and very sylius noob :)

hi guys, any news for this issue ?

Hello Mathieu,
Unfortunately, there's a bug in Sylius due to a conflict between new Twig and Sylius' ThemeBundle conventions since 1.3.1 version. Although we are working on a solution, right now I'd suggest downgrading Sylius to 1.3.0 version if you are in a hurry.

Hello @itwhy @nemoneph !
We've managed to dig into this problem and managed to find a solution that allows us to customize templates under templates/Bundles/SyliusInvoicingPlugin path.
The new version of SyliusInvoicingPlugin has just been relased (v0.8.3) so please update it via composer and let us know if everything works like a charm :)

hi guys,
sorry i found another way to do it (app/Ressources/SyliusInvoicingPlugin/) and i'm now too late to test the new way, the deadline is too close.
i'll try that in the next v.
anyway, thx you ! hope this will help others guys ^^


Persist timestamp in url

Thanks for the awesome project. Is there anyway you could add support for ?t=xxxxxxxx in the query string when the dates are changed by the user?
This way we can easily share the url with others with the date time prefilled.

My use case is to share this url https://hammertime.djdavid98.art/?t=1637244000 to event organizers so they can pick whatever style they need when sending discord announcements.

I weighed a few options on how best to implement this on the UI, and I ended up settling for adding a lock button at the end of the options, which will set the URL to match what you specified. When the page is loaded via this URL parameter the date, time, and time zone pickers are locked to the provided timestamp in GMT. This should enable the use case you described.

Wow fantastic! Thanks for the update!
Shall we should show the local timezone when locked? Just wondering if there is a reason for locking to GMT?

I deemed it unnecessary to handle translating the provided timestamp to the local time zone since the only requirement was to be able to copy the given timestamp in a specific format. Also, the previews already show you what the date looks like in many different formats.


user docs: Add the subscriptions macro

Automated message from Dropbox CLA bot
@synicalsyntax, it looks like you've already signed the Dropbox CLA. Thanks!

@synicalsyntax looking at some of these, it seems like life might be easier if we removed the 1. at the start of static/templates/include/subscriptions.md and instead just had 1. {!subscriptions.md!} in places where we wanted the numbering; what do you think?  I'm thinking specifically about e.g. "browse-and-join-streams".

Yep, I think that sounds reasonable, @timabbott . I'll fix it now :)

Merged, thanks @synicalsyntax!!


CSV/TSV files open in an external editor, even when there's IDE support

Currently CSV/TSV files opens in a plain text editor external to my IDE (WebStorm). I would assume most users would expect the editor for a given file type is used (based on what plugin the files are associated with in the IDE settings). I can understand why someone would want to open the files in e.g Excel or LibreOffice Calc but this could be an option to show when right clicking a file, not the only to open them.
Editing CSV and TSV file support is included with the DataGrip IDE and as a plugin for IDEA Ultimate, WebStorm eg.

https://www.jetbrains.com/help/idea/editing-csv-and-tsv-files.html
https://plugins.jetbrains.com/plugin/10925-database-tools-and-sql-for-webstorm

There's also some popular 3rd party plugins:

https://plugins.jetbrains.com/plugin/10037-csv-editor
https://plugins.jetbrains.com/plugin/12896-rainbow-csv

This might apply to other file types supported by NotesTree as well.

Hello and thank you for the report. In early versions the plugin used csv-editor plugin , but then I decided to change it, so I think I will add configuration panel where user would be able to select default behaviour, are you ok with that solution?

Soud good to me. :+1:

completed in 1.3.2


User cant do FV after he is shown the unrecoverable error screen

If user fails 3 times FV then we show him a special screen. (with contact support button)
But after he presses contact support or ok and he then goes back to trying FV he will immediatly see the unrecoverable error screen.
the expected behaviour is that he can start trying again and after 3 failures he will be shown the error screen

@AnastasiiaOdnoshevna this has been fixed in master and also i've uploaded a patch to production
so it should. be fixed on version 0.23.2

The user is able to pass the FV even he saw the unrecoverable error screen
Checked on PROD V0.24.0
LG V30+ // Android 8.0 // Google Chrome 83.0.4103.83
Desktop: Windows 10 // Google Chrome  83.0.4103.106


Wrapping Lambda using Concatenate in TimeDistribute fails

System information

Have I written custom code (as opposed to using example directory):   No
OS Platform and Distribution (e.g., Linux Ubuntu 16.04):  Windows 1809
TensorFlow backend (yes / no):  yes
TensorFlow version:  1.13.1
Keras version:  2.2.4
Python version:  3.6.6
CUDA/cuDNN version:  N/A
GPU model and memory:  N/A

Describe the current behavior
I've got a model which uses TimeDistribute to map a Lambda over a dataset, where the Lambda internally contains a Concatenate.  However, although I can compile the model fine, trying to fit fails with an InvalidArgumentError because of a shape mismatch, even though I'm 99.9% sure that the shapes should be fine.
Describe the expected behavior
It is possible to fit the model.
Code to reproduce the issue
Here's a dramatically simplified example
import keras
import numpy as np
from keras.layers import Input, Lambda, Concatenate, TimeDistributed
n_s = 4 # number of time points
d_x = 2 # width of one input
d_t = 3 # width of the other input, per time point
b = 8 # batch size

x = Input((d_x,))
ps = Input((n_s,d_t))

td = TimeDistributed(Lambda(lambda p: Concatenate()([p,x])))(ps)

m = keras.Model([x,ps], td)

m.compile('adam','mse') # compiles okay

m.fit([np.random.normal(size=(b, d_x)),
       np.random.normal(size=(b, n_s, d_t))],
      np.random.normal(size=(b, n_s, d_t+d_x))) # fails

Other info / logs
Here's the traceback:

Traceback (most recent call last):
File "", line 1, in
File "C:\Program Files (x86)\Microsoft Visual Studio\Shared\Python36_64\lib\site-packages\keras\engine\training.py", line 1039, in fit
validation_steps=validation_steps)
File "C:\Program Files (x86)\Microsoft Visual Studio\Shared\Python36_64\lib\site-packages\keras\engine\training_arrays.py", line 199, in fit_loop
outs = f(ins_batch)
File "C:\Program Files (x86)\Microsoft Visual Studio\Shared\Python36_64\lib\site-packages\keras\backend\tensorflow_backend.py", line 2715, in call
return self._call(inputs)
File "C:\Program Files (x86)\Microsoft Visual Studio\Shared\Python36_64\lib\site-packages\keras\backend\tensorflow_backend.py", line 2675, in _call
fetched = self._callable_fn(*array_vals)
File "C:\Program Files (x86)\Microsoft Visual Studio\Shared\Python36_64\lib\site-packages\tensorflow\python\client\session.py", line 1439, in call
run_metadata_ptr)
File "C:\Program Files (x86)\Microsoft Visual Studio\Shared\Python36_64\lib\site-packages\tensorflow\python\framework\errors_impl.py", line 528, in exit
c_api.TF_GetCode(self.status.status))
tensorflow.python.framework.errors_impl.InvalidArgumentError: ConcatOp : Dimensions of inputs should match: shape[0] = [32,3] vs. shape[1] = [8,2]
[[{{node time_distributed_1/concatenate_1/concat}}]]

It looks like for some reason one of the inputs is being reshaped in a way that it shouldn't be.

This appears to be similar (identical?) to #7726, but hopefully the simpler repro makes it easier to track down.
In this simplified setting, it's possible to work around the issue by hoisting the Concatenate all the way out of the TimeDistributed, just using K.identity in the Lambda, and applying RepeatVector to the second argument before concatenating it outside (my real situation is a bit more complicated).
However, it seems like this shouldn't be necessary, and the error message is extremely unhelpful.


[newrelic-pixie] template the cluster registration wait image

Is this a new chart
No
What this PR does / why we need it:
Templates the default cluster-registraton-wait image.
Which issue this PR fixes
(optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close that issue when PR gets merged)

fixes #

Special notes for your reviewer:
Checklist
[Place an '[x]' (no spaces) in all applicable fields. Please remove unrelated fields.]

[x] Chart Version bumped
[ ] Variables are documented in the README.md
[x] Title of the PR starts with chart name (e.g. [mychartname])

This can be done in a separate PR, but could we update the newrelic-pixie chart readme with the new configuration options for the cluster-reg-wait image?

@benkilimnik Yeah agreed, the readme and Chart.yaml have not been up to date, will likely involve some bigger changes to refactor


No call tips when 'Automatic insertion of parentheses, braces and brackets' is unchecked

Description of your problem
The call tips pop up doesn't work when auto brackets are disabled.  I didn't see anything in the basic debug
I found this out while testing jedi.  I thought I broke the call tips at first.  It might have something to do with #2810
What steps will reproduce the problem?

Uncheck 'Automatic insertion of parentheses, braces and brackets' in the editor advanced settings
type a function like `import numpy; numpy.ones(
call tips will not pop up

What is the expected output? What do you see instead?
The call tips should pop up
Versions and main components

Spyder Version:3.x and 3.02
Python Version:3.5
Operating system:linux

Dependencies
Please go to the menu entry Help > Optional Dependencies (or
Help > Dependencies), press the button Copy to clipboard
and paste the contents below:
jedi >=0.8.1     :  0.9.0 (OK)
matplotlib >=1.0 :  1.5.1 (OK)
nbconvert >=4.0  :  4.1.0 (OK)
numpy >=1.7      :  1.11.1 (OK)
pandas >=0.13.1  :  0.19.0 (OK)
pep8 >=0.6       :  1.6.2 (OK)
psutil >=0.3     :  3.3.0 (OK)
pyflakes >=0.6.0 :  1.0.0 (OK)
pygments >=2.0   :  2.0.2 (OK)
pylint >=0.25    :  1.4.2 (OK)
qtconsole >=4.2.0:  4.2.1 (OK)
rope >=0.9.4     :  0.9.4-1 (OK)
sphinx >=0.6.6   :  1.3.1 (OK)
sympy >=0.7.3    :  <IP_ADDRESS> (OK)

@mariacamilaremolinagutierrez, please work on this one.


Using callbacks with "use"

Is there any way to give a callback some special variables like in php using this way?
$di->set("db", function() use ($config) {
    return new DbAdapter($config->database->toArray()
});

Im using a similar way, see this:
public function setDatabase(array data)
{
	this->di->set("db", function() {
		return new \Phalcon\Db\Adapter\Pdo\Mysql(data);
	}, true);
}

Become the following error, that data is not declared:
Zephir\CompilerException: Cannot read variable 'data' because it wasn't declared in
/vagrant/board/board/application.zep on line 32

                    return new \Phalcon\Db\Adapter\Pdo\Mysql(data);
        ---------------------------------------------------------^

I already tried a similar syntax to php (with function() use (data)) but it doesn't work.

Duplicate, see #888


[suggestion] Leave the bot in the discord channel for an extended period of time

Maybe add a feature so that when a user leaves, the bot pauses the song and stays in the discord channel for an extended period of time, and when a user rejoins, it starts playing the initial song

Hi, I'm releasing the next version (with a lot of stuff, code is currently in dev branch if you wanna look at it). In that, aloneTimeout is a configuration (default 15 seconds) that you can give which will dictate how long the bot will remain alone in a voice channel.
Thanks for the suggestion!


How much memory?

Good afternoon, I have a question. I have a custom environment in webassemble that will provide such functions.
https://github.com/19Nazar/WasmZig
How much minimum memory will be required to run the assembly in python?

I'm not sure what you're asking. This code isn't Zig or Python, it's Go. If you're hoping to compile this to WASM and run it inside a Python WASM environment, I'm afraid I can't help you as I don't use Python.


go-deadlock

Introduce some instrumentation (https://github.com/sasha-s/go-deadlock/blob/master/deadlock.go)
that can be enabled to help detect potential deadlocks and diagnose actual deadlocks.
If the deadlock build tag is set, the deadlock sync.Mutex and
sync.RWMutex implementations are used. By default the tag is unset the
regular stdlib sync.Mutex and sync.RWMutex implementations are used as
previously.

Closing as this has been controversial. We can revisit when we next run into hard deadlocks here or (more likely) upstream.
@nwt thanks for the tip; I didn't even know that gofmt could do this kind of thing.


Video Player "waits for metadata" on correctly structured mp4s

UPDATE
If you PLAY a video and it ends up "Waiting for Metadata," if you leave to another page and then hit the back button to return to the Video Page, the video is able to play.
The Issue
Waiting for metadata and refusing playblack. Similar bug: "Requesting stream" until download finishes instead of streaming ASAP.
Steps to reproduce

Go to lbry://unbubbled1-1

Hit play

See "Waiting for Metadata" permanently

Go to lbry://getbitcoincashoutofelectrumin60seconds

Hit play

See "Requesting Stream" ... until playback begins as Download Complete notification happens.

Expected behaviour
Tell us what should happen
Video plays relatively quickly.
Actual behaviour
Tell us what happens instead
No playback because of metadata stoppage/non-reading or slow playback start until downloads complete.
System Configuration
Mac OS Sierra

LBRY Daemon version:
LBRY App version:
LBRY Installation ID:
Operating system:

Anything Else

Screenshots

I believe we need a new video player, and I might go so far as to say we should use closed-source off the shelf / request a closed source and open-source our own modification of it, if other open-source players are similarly bad.
This player does not allow us to see what metadata isn't being retrieved, to my knowledge. So we couldn't give encoding guidelines if we wanted.

@tzarebczan is this the same or different than https://github.com/lbryio/lbry-app/issues/635#issuecomment-333911622 ?

@kauffj believe its different - if you leave the claim page and re-enter, it does start streaming. Also, I uploaded it to instant.io and it streams there (the other videos did not): https://instant.io/#30d175dec43e4a89306100d032ab4ecc9af4c057
Also, doubled checked the video in #635 and it does not stream after exiting the claim page and coming back.

This has been happening to me quite often - if I do a refresh of the app, the video starts playing.

If these are playing on reload that it definitely sounds like a bug, and one that should likely be relatively high priority (@liamcardenas).

The issue hasn't been actually resolved.

Planning on working on this

@skhameneh to take a stab at this.
https://github.com/jhiesey/videostream
https://github.com/feross/render-media/issues/31 /https://github.com/lbryio/lbry-desktop/issues/635 (always happening on this file)

I've been running into this issue less and less. My current hypothesis is that the daemon may sometimes write blob 2 of a file before blob 1 (which has metadata), so the event for loaded metadata is never fired. This makes sense that the file streams if you leave the file and come back.

Notes:

The media player begins reading from disk with no awareness of the completion of blobs. See https://github.com/lbryio/lbry-desktop/blob/e8aa67bf7eefeb778617403a89d593081cb62b2d/src/renderer/component/fileViewer/internal/player.jsx#L165
videostream v2 as used in render-media does not support fragmented MP4's (variable bitrate optimized MP4's)
The current implementation of the daemon does not guarantee that the blobs are written in sequential order; detecting which ranges of data in the written file are available is difficult and not reliable. See https://github.com/lbryio/lbry/issues/1342
A number of links to files that play in Chrome are actually unsupported VP8 encoded within MP4 containers.  The video codec must be in the ISO/IEC 14496-12 spec, see https://en.wikipedia.org/wiki/ISO_base_media_file_format

Fixed with new player


Update WIZwiki-W7500 test environment.

Remove analogout_api.c file
Remove toolchain ARM at tergets.py

Can you share a list of what's implemented/whats missing - is singletest.py functional for this platform? If yes, can you share the  test results?

Attached file is result capture image.
MBED_16 test is RTC and we didn't support the RTC.
And MBED_16 test is occurred some error and now we are debugging.

Now, we corrected MBED_24 test and MBED_24 test is passed.

What's the status of this pull request?

All test were passed and done.
This version is released version.


Docs: Added a xml example for implementation clarity

Hello,
Thanks for creating this spinner, the design looks really clean. I was working with it and found that the implementation of the XML wasn't really covered and was a bit confused at first, so I thought maybe other people may be too. Decided to document it in the readme.

:)
On Sat, Oct 28, 2017 at 9:46 AM, Angelo Marchesin<EMAIL_ADDRESS>wrote:

@arcadefire approved this pull request.
Great. Thanks!
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/arcadefire/nice-spinner/pull/52#pullrequestreview-72676059,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AYkPHAhicPMKF7SvUsWWZPnPaypS8eblks5sw1pkgaJpZM4QIPwE
.

--
Carlo Antonio S. Bilbao
Phone:<PHONE_NUMBER>
Email<EMAIL_ADDRESS>


Watch command does not watch included files

My plugin uses a python script and I've added the file to the settings.yml:
include: # include external files
    - ./src/myhook.py

I see that npm run watch will copy the file when I first run it, but it doesn't monitor this file for changes.

stash-plugin-builder won't watch external files as they aren't part of the main UI part. esbuild cant watch/compile python files

ok I set up my own watch command for python files using the copy-and-watch npm package

In future I have planned to support python plugins. Then I will prob implement watch for external files

Done, now stash-plugin-builder can watch external files. 1b2079e


Do not write log depth in vertex shader for upsampled terrain.

Fixes #6652.

@bagnell, thanks for the pull request! Maintainers, we have a signed CLA from @bagnell, so you can review this at any time.
:warning: I noticed that CHANGES.md has not been updated. If this change updates the public API in any way, fixes a bug, or makes any non-trivial update, please add a bullet point to CHANGES.md and comment on this pull request so we know it was updated. For more info, see the Pull Request Guidelines.

I am a bot who helps you make Cesium awesome! Contributions to my configuration are welcome.
:earth_africa: :earth_americas: :earth_asia:

Perfect, thanks @bagnell!


More intuitive UI

:warning: Please install the  to ensure uploads and comments are reliably processed by Codecov.
Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 94.79%. Comparing base (a3ad75e) to head (5a7faf8).

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@            Coverage Diff             @@
##             main      #19      +/-   ##
==========================================
- Coverage   96.42%   94.79%   -1.64%
==========================================
  Files           2        2
  Lines         140       96      -44
==========================================
- Hits          135       91      -44
  Misses          5        5

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


how to use framework with AJAX/websockets

I was struggling with removing 'delay' and substituting with a simple FSM, but it quickly got out of hand once I got beyond a simple demo, so your framework is absolutely great for parallel activities - thanks! I have an existing simple ESP8266WebServer-based website showing some readings. It uses AJAX to update sensor data to avoid whole page refresh. Do you have any suggestions about where to start this sort of thing using your framework? TIA @tinkerspy

I think I would just create a web server that spits out json and reload that with javascript/ajax. It's not the most efficient way, but for a low traffic device it should be OK.
Regardz,
Tinkerspy

Thanks. I just wanted to head off in a sensible direction.
Ken Maynard, 83 Canterbury Street, Lyttelton, NZ 8082 @.***) Tel: (03) 328 9553 Mobile: 021 645 894

On 15/09/2021, at 00:44, Tinkerspy @.***> wrote:

I think I would just create a web server that spits out json and reload that with javascript/ajax. It's not the most efficient way, but for a low traffic device it should be OK.
Regardz,
Tinkerspy
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.


Product attributes/variant and specific quantities and prices

For each product, support for attributes/variants each one with its own specific prices and quantities should be added.
In example, a product "T-Shirt" is sold in "red", "green" and "blue".
The red price is +2 USD than green price and there are 30 reds, 11 green and 4 blue in stock

I am getting a terrible feeling that you haven't used our configurable product in add new product form.

Login as Admin.
Click on Catalog from the side menu.
The click on Products find Add Product button in the content section.
A form with three fields will open up first:
a) Look for the field product type and select configurable product by default simple product is selected in that select box.
b) Then use attributes and create variants with default or custom attributes also.
c) All after you click on create button the list of the variants will be at the very bottom the screen.
d) Therefore each variant that you have created will be asking for name, price, weight, inventory quantities and status.

And then click on Update Product

Please be feel free to extend the conversation until your doubts are cleared.

You are right, my mistake. I didn't use the configurable product. Usually, a configurable product is a different thing, in other ecommerce, so I didn't look at that.

Just keep it coming in future also.
Thanks for asking @guestisp


Cannot read property 'defaultValue' of null

Just after I installed it, this appeared:
[2019-1-27 16:58:34] [homebridge-yeelight.yeelight] doing a round of proactive search for known devices.
[2019-1-27 16:58:34] Homebridge is running on port 46475.
[2019-1-27 16:58:34] [homebridge-yeelight.yeelight] received advertisement from c881cc.
/home/pi/.nvm/versions/node/v8.15.0/lib/node_modules/homebridge-yeelight-wifi/utils.js:22
  (config.defaultValue
          ^

TypeError: Cannot read property 'defaultValue' of null
    at blacklist (/home/pi/.nvm/versions/node/v8.15.0/lib/node_modules/homebridge-yeelight-wifi/utils.js:22:11)
    at YeePlatform.buildDevice (/home/pi/.nvm/versions/node/v8.15.0/lib/node_modules/homebridge-yeelight-wifi/platform.js:89:20)
    at YeePlatform.handleMessage (/home/pi/.nvm/versions/node/v8.15.0/lib/node_modules/homebridge-yeelight-wifi/platform.js:84:10)
    at emitTwo (events.js:126:13)
    at Socket.emit (events.js:214:7)
    at UDP.onMessage [as onmessage] (dgram.js:659:8)```

Was able to fix this by adding the yeelight plattform to the homebridge config like this:
"accessories": [],
"platforms": [
        {
            "platform": "yeelight",
            "name": "Yeelight"
        }
]

Thanks!


Feature Request: all_time_since_today in languages embedded json

Hello, Im a huge fan of your app and would love to use the embedded json to show the "all time since today" metric along side  the embedded charts. Im currently using (only in testing) the embedded json on my website to get the all time languages data then making another call to get the "all time since today" number. With these I can "solve for x" but as stated in your api doc, I shouldnt be using my api key on a public website.
Updating the json data provided by the embedded chart to provide the all time data broken down by language would allow me to publish these stats on my portfolio without a risk to my account.
Heres an example of what I think the response would look like:
{
    "data": {
        all_time[{
            "is_up_to_date": true,
            "digital": "199:09",
            "hours": 199,
            "minutes": 9,
            "text": "199 hrs 9 mins",
            "total_seconds":<PHONE_NUMBER>27
        }],
        languages[{
            "color": "#16ce40",
            "digital": "71:01",
            "hours": 71,
            "minutes": 1,
            "name": "Vue.js",
            "percent": 35.66,
            "text": "71 hr 1 min",
            "total_seconds":<PHONE_NUMBER>60
        }, {
            "color": "#f1e05a",
            "digital": "44:58",
            "hours": 44,
            "minutes": 58,
            "name": "JavaScript",
            "percent": 22.58,
            "text": "44 hr 58 min",
            "total_seconds":<PHONE_NUMBER>54
        }, {
            "color": "#31859c",
            "digital": "29:15",
            "hours": 29,
            "minutes": 15,
            "name": "TypeScript",
            "percent": 14.69,
            "text": "29 hr 15 min",
            "total_seconds":<PHONE_NUMBER>72
        }, ]
    }

Thank you for your time and consideration.

You can use the new "All time" range for the embeddable coding activity chart with JSON format to accomplish this.

You can use the new "All time" range for the embeddable coding activity chart with JSON format to accomplish this.

Awesome. This helps me out so much thank you