Error bars on XYCharts when adding a series with standard deviations

Hi, thanks for your great software.
I'm investigating using XChart, and I've come across what I'm guessing is  problem in the error bar and display of XY Scatter graphs. It's not clear to me what the units of the error bars are. I've assumed they were one standard deviation.
Regardless of this fact, I have found that the Y values when displayed with error bars are centered at a point approximately equal to the error bar value.
For example, if these values are added to List yValues and List errors, then I get the the chart that I have attached.
M =  0.0 SD = 0.0
M =  0.5 SD = 0.11785113019775793
M =  0.3333333333333333 SD = 0.09001028747788695
M =  0.25 SD = 0.07216878364870322
M =  0.2 SD = 0.06106058517348482
M =  0.3333333333333333 SD = 0.05328406170749724
In the Chart, I except that the first few Y values where it is centered to be 0.0, 0.5 and 0.3333333 respectively. This works perfectly without error bars. As soon as I add a set of doubles containing the standard deviation values, the plotted Y values are less, by approximately the standard deviation (see the image attached).

If it helps, here is a class I am messing about with to try to get this set up:
When "addSeries" is called with the data and standard deviation values, I get the output in the image above.
package xcharttest;

import java.awt.BorderLayout;
import java.awt.Color;
import java.awt.Dimension;
import java.util.ArrayList;
import java.util.LinkedList;
import java.util.List;

import javax.swing.JFrame;
import javax.swing.JLabel;
import javax.swing.JPanel;
import javax.swing.SwingConstants;

import org.knowm.xchart.XChartPanel;
import org.knowm.xchart.XYChart;
import org.knowm.xchart.XYChartBuilder;
import org.knowm.xchart.XYSeries;
import org.knowm.xchart.XYSeries.XYSeriesRenderStyle;
import org.knowm.xchart.style.markers.SeriesMarkers;

public class ScatterChartMeanStandardDev
{
	// Up to six colours for six series
	private static final Color[] COLORS = new Color[] {Color.blue, Color.red,Color.green,Color.cyan,Color.orange,Color.black};
	private int currentColorIdx;
	private static final int MAX_COLORS = COLORS.length;

	private XYChart chart;

	public ScatterChartMeanStandardDev(String title,
									   String yLabel,
									   Dimension dimension)
	{
		currentColorIdx = 0;

	    this.chart = setChartStyle(title,
	    							  "Test Number",
	    							  yLabel,
	    							  dimension);

	}

	public XYChart setChartStyle(String title, String xLabel, String yLabel, Dimension windowSize)
	{

		title += " (Error bar = +/- 1 SD)";

		XYChart chart = new XYChartBuilder().width((int)windowSize.getWidth())
	    									.height((int)windowSize.getHeight())
	    									.title(title)
	    									.xAxisTitle(xLabel)
	    									.yAxisTitle(yLabel)
	    									.build();

	    chart.getStyler().setDefaultSeriesRenderStyle(XYSeriesRenderStyle.Line);
	    chart.getStyler().setChartTitleVisible(true);
	    chart.getStyler().setLegendVisible(true);
	    chart.getStyler().setAxisTitlesVisible(true);
	    chart.getStyler().setXAxisDecimalPattern("0");

	    return chart;
	}

	/**
	 * Add a series to the chart as indicated by the parameters
	 *
	 * @param seriesName				String label that appears to identify the series line
	 * @param yValues					The Y values of the series (X is assumed to be test number)
	 * @param standardDeviations		The standard deviations ("error" = 68% of normally distributed data)
	 *
	 * @return
	 */
	public void addSeries(String seriesName,
						  ArrayList<Double> yValues,
						  ArrayList<Double> standardDeviations)
	{

		if (yValues == null || standardDeviations == null) throw new IllegalArgumentException("Data must not be null");
		if (yValues.size() < 1) throw new IllegalArgumentException("No data for chart");
		if (yValues.size() != standardDeviations.size())
			throw new IllegalArgumentException("Y values and standard deviation list sizes should match");

		if (currentColorIdx >= MAX_COLORS)
		{
			throw new IllegalArgumentException("Run out of colors in Scatter Chart addSeries()!");
		}

		List<Double> testNumbers = new LinkedList<>();

	    for (int i = 0; i < yValues.size(); i++)
	    {
	    	testNumbers.add(new Double(i+1));
	    }

	    XYSeries series = chart.addSeries(seriesName, testNumbers, yValues, standardDeviations);
	    series.setMarkerColor(COLORS[currentColorIdx++]);
	    series.setMarker(SeriesMarkers.DIAMOND);
	}

	public void swingShow()
	{

	    javax.swing.SwingUtilities.invokeLater(new Runnable() {

	    	  @Override
	    	  public void run() {

	    	    // Create and set up the window.
	    	    JFrame frame = new JFrame("Test Stats");
	    	    frame.setLayout(new BorderLayout());
	    	    frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);

	    	    // chart
	    	    JPanel chartPanel = new XChartPanel<XYChart>(chart);
	    	    frame.add(chartPanel, BorderLayout.CENTER);

	    	    // label
	    	    JLabel label = new JLabel("Test Error Bars", SwingConstants.CENTER);
	    	    frame.add(label, BorderLayout.SOUTH);

	    	    // Display the window.
	    	    frame.pack();
	    	    frame.setVisible(true);
	    	  }
	    	});
	}
}

looks like a bug. I'll look into it...

It seems to work perfectly fine for me with this code:
public class TestForIssue540 {

  public static void main(String[] args) {

    TestForIssue540 exampleChart = new TestForIssue540();
    XYChart chart = exampleChart.getChart();
    new SwingWrapper<>(chart).displayChart();
  }

  public XYChart getChart() {

    // Create Chart
    XYChart chart = new XYChartBuilder().width(800).height(600).build();

    // Customize Chart
    chart.getStyler().setErrorBarsColor(Color.black);

    // Series
    int[] xData = new int[] {0, 1, 2, 3, 4, 5, 6};
    int[] yData1 = new int[] {0, 1, 2, 3, 4, 5, 6};
    int[] errdata = new int[] {0, 1, 2, 3, 4, 5, 6};
    XYSeries series1 = chart.addSeries("Error bar\ntest data", xData, yData1, errdata);
    series1.setLineStyle(SeriesLines.SOLID);
    series1.setMarker(SeriesMarkers.DIAMOND);
    series1.setMarkerColor(Color.GREEN);

    return chart;
  }
}

Please double check your data and if still in doubt, take my sample code and modify it with data showing the problem. Thanks!

Hi Tim,
That was quick! I appreciate the fact you are looking into it. When I take
the error bars out of the code, the points are printed correctly, but if
the error data is added in, the plotted data values are not the ones
specified (they are all at least x mean minus 1 standard deviation). The
odd thing is that as the series goes on, the position plotted doesn't seem
to be linear (i.e. it is a bit less than mean - standard deviation).
Regards,
Huw
On Sun, Dec 13, 2020 at 2:17 PM Tim Molter<EMAIL_ADDRESS>wrote:

looks like a bug. I'll look into it...
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/knowm/XChart/issues/540#issuecomment-744039012, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/ANC6WKXGPHCP7SCIV4GGNKLSUTZMFANCNFSM4UZRQRIQ
.

--
Antes de juzgar a alguien, primero anda una milla en sus zapatos. Así
estás a una milla, y tienes sus zapatos.

Hi Tim,
I took your code exactly, ran it in eclipse, and got this graph. Each Y
value data point appears at half of the actual Y data point, as shown in
the attached image.
This means it could be due to something environmental. I'm using the
following software:
Java on Ubuntu 20:
openjdk version "1.8.0_275"
OpenJDK Runtime Environment (build 1.8.0_275-8u275-b01-0ubuntu1~20.04-b01)
OpenJDK 64-Bit Server VM (build 25.275-b01, mixed mode)
uname -a
Linux shark 5.4.0-56-generic #62-Ubuntu SMP Mon Nov 23 19:20:19 UTC 2020
x86_64 x86_64 x86_64 GNU/Linux
Eclipse:
Eclipse IDE for Java Developers
Version: 2019-12 (4.14.0)
Build id: 20191212-1212
Regards,
Huw
On Sun, Dec 13, 2020 at 2:17 PM Tim Molter<EMAIL_ADDRESS>wrote:

looks like a bug. I'll look into it...
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/knowm/XChart/issues/540#issuecomment-744039012, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/ANC6WKXGPHCP7SCIV4GGNKLSUTZMFANCNFSM4UZRQRIQ
.

--
Antes de juzgar a alguien, primero anda una milla en sus zapatos. Así
estás a una milla, y tienes sus zapatos.

Hi again Tim,
I tested the same thing on Windows. Java is a slightly different build,
with an older version of eclipse. I get the same problem.
I attach a PNG screenshot with all the details. As you can see, the graph Y
data points are at one half of the programmed values.
This is with XChart 3.6.6
So, it's not the operating system (same on Linux and Windows). Could be
eclipse (versions are similar) and could be java (1.8 on both).
Or my hardware...!
Regards,
Huw
On Sun, Dec 13, 2020 at 2:43 PM Tim Molter<EMAIL_ADDRESS>wrote:

It seems to work perfectly fine for me with this code:
public class TestForIssue540 {
public static void main(String[] args) {
TestForIssue540 exampleChart = new TestForIssue540();
XYChart chart = exampleChart.getChart();
new SwingWrapper<>(chart).displayChart();

}
public XYChart getChart() {
// Create Chart
XYChart chart = new XYChartBuilder().width(800).height(600).build();

// Customize Chart
chart.getStyler().setErrorBarsColor(Color.black);

// Series
int[] xData = new int[] {0, 1, 2, 3, 4, 5, 6};
int[] yData1 = new int[] {0, 1, 2, 3, 4, 5, 6};
int[] errdata = new int[] {0, 1, 2, 3, 4, 5, 6};
XYSeries series1 = chart.addSeries("Error bar\ntest data", xData, yData1, errdata);
series1.setLineStyle(SeriesLines.SOLID);
series1.setMarker(SeriesMarkers.DIAMOND);
series1.setMarkerColor(Color.GREEN);

return chart;

}
}
[image: Screen Shot 2020-12-13 at 6 41 46 PM]
https://user-images.githubusercontent.com/738972/102019270-f02d5180-3d72-11eb-90da-30bc6a47097b.png
Please double check your data and if still in doubt, take my sample code
and modify it with data showing the problem. Thanks!
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/knowm/XChart/issues/540#issuecomment-744042544, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/ANC6WKQBAUYXVJB5HZQC5OTSUT4MLANCNFSM4UZRQRIQ
.

--
Antes de juzgar a alguien, primero anda una milla en sus zapatos. Así
estás a una milla, y tienes sus zapatos.

Hello, I've been running the code against the development branch and bot 3.6.6. There were some bugs in 3.6.6, so it's likely that 3.6.6 is the issue. You can either try the latest snapshot jar or wait a few more days until I release 3.7.0. Thanks!

Cheers Tim. I'll wait for the 3.7.0 release.
Regards,
Huw
On Tue, Dec 15, 2020 at 3:07 AM Tim Molter<EMAIL_ADDRESS>wrote:

Hello, I've been running the code against the development branch and bot
3.6.6. There were some bugs in 3.6.6, so it's likely that 3.6.6 is the
issue. You can either try the latest snapshot jar or wait a few more days
until I release 3.7.0. Thanks!
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/knowm/XChart/issues/540#issuecomment-745075320, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/ANC6WKWHRSK42FB3PNEKHILSU34JPANCNFSM4UZRQRIQ
.

--
Antes de juzgar a alguien, primero anda una milla en sus zapatos. Así
estás a una milla, y tienes sus zapatos.

FYI, 3.7.0 released.

Hi Tim,
Many thanks for letting me know. I've just tried it out and the error bars
work fine now.
Thanks,
Huw
On Wed, Dec 23, 2020 at 8:42 AM Tim Molter<EMAIL_ADDRESS>wrote:

Closed #540 https://github.com/knowm/XChart/issues/540.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/knowm/XChart/issues/540#event-4143790002, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/ANC6WKR3RDHJT3LZFP7FDCLSWHJUHANCNFSM4UZRQRIQ
.

--
Antes de juzgar a alguien, primero anda una milla en sus zapatos. Así
estás a una milla, y tienes sus zapatos.


[feat] Support for loggable variables, parameters and properties of tests

This PR adds the loggable argument to the variable and parameter interface to allow you to mark a test variable or parameter as loggable. By default, no test attribute (variable or parameter) is loggable. This contrasts with the current default behaviour where everything is loggable, which can lead to problems, such as the one described in #2380. Test properties can also be logged by decorating them with either the @loggable or @loggable_as decorators. A loggable attribute will become a log record attribute with the name check_NAME, where NAME is the name of the variable, parameter or property.
Almost all previously loggable attributes of RegressionTest and Job are also marked explicitly as loggable, except any attributes containing deferred expressions, such as the sanity_patterns and the perf_patterns. This PR breaks the logging of custom attributes that are not marked as loggable.
This PR does not set the loggable attributes in the various library tests. A separate PR will follow for that.
Fixes #2380.

Hello @vkarak, Thank you for submitting the Pull Request!

In the file unittests/resources/checks/hellocheck.py:

Line 51:1: E305 expected 2 blank lines after class or function definition, found 1

Do see the ReFrame Coding Style Guide

Codecov Report

Merging #2428 (33f99c9) into master (e2843b0) will increase coverage by 0.02%.
The diff coverage is 100.00%.

:exclamation: Current head 33f99c9 differs from pull request most recent head 9e8b815. Consider uploading reports for the commit 9e8b815 to get more accurate results

@@            Coverage Diff             @@
##           master    #2428      +/-   ##
==========================================
+ Coverage   85.67%   85.70%   +0.02%
==========================================
  Files          56       56
  Lines       10466    10513      +47
==========================================
+ Hits         8967     9010      +43
- Misses       1499     1503       +4

Impacted Files
Coverage Δ

reframe/core/logging.py
77.09% <100.00%> (-0.74%)
:arrow_down:

reframe/core/meta.py
99.15% <100.00%> (+0.04%)
:arrow_up:

reframe/core/parameters.py
95.68% <100.00%> (+0.11%)
:arrow_up:

reframe/core/pipeline.py
93.36% <100.00%> (+0.22%)
:arrow_up:

reframe/core/variables.py
96.30% <100.00%> (+0.04%)
:arrow_up:

reframe/core/schedulers/local.py
92.43% <0.00%> (-0.85%)
:arrow_down:

reframe/core/schedulers/__init__.py
97.82% <0.00%> (-0.55%)
:arrow_down:

reframe/core/schedulers/slurm.py
52.30% <0.00%> (-0.28%)
:arrow_down:

reframe/frontend/executors/policies.py
92.41% <0.00%> (-0.13%)
:arrow_down:

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 e2843b0...9e8b815. Read the comment docs.


Update to Latest Pytorch_Lightning

When I try to run this code, I get many errors that seem to be related to using deprecated options in pytorch_lightning, such as the max_nb_epochs option or the pytorch_lightning.logging module (which was replaced with the pytorch_lightning.logger module).
https://github.com/PyTorchLightning/pytorch-lightning/issues/663
Will this repo be updated to use the latest version of pytorch_lightning? I'm having a difficult time getting things to work
Thank you,
Ryan

Using pytorch_lightning 0.60 should be ok.

fixed in #46


Buildroot

Hi! is there any way to make it work with buildroot in Raspberrypi 4?
Thank you.

Same asking for yocto, is there a way to compile this in RPI yocto?

I’m afraid it’s not anything that I have any experience with! I had a brief research a long time ago, and from what I could tell NodeJS doesn’t play to well with all of the asynchronous abilities, however I have zero knowledge on the subject.

@rhysmorgan134 Thanks for the reply, in that case, could you please share how you build this project, what the dependencies needed, I could handle the yocto porting part.

Dependencies and build command are in here
https://github.com/rhysmorgan134/react-carplay/blob/main/package.json
with node install, run npm install and then npm run build:armLinux


Usage Details API confusing

Inside that Billing section described an API(which is not supported by node-azure-sdk) to retrieve usage details https://docs.microsoft.com/en-us/rest/api/billing/enterprise/billing-enterprise-api-usage-detail , but on docs microsoft portal exists the other usage api which is relates to Consumption section https://docs.microsoft.com/en-us/rest/api/consumption/usagedetails/listforbillingperiodbyenrollmentaccount .
It is not easy check if received data different or same.

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

ID: 6ed7b604-d89f-1d59-87d6-d32e29eb6245
Version Independent ID: 0113a6ce-3f69-73ce-b063-c07b52348f92
Content: Azure Billing Enterprise APIs
Content Source: articles/billing/billing-enterprise-api.md
Service: billing
GitHub Login: @anandedwin
Microsoft Alias: erikre

@DrachovDmytro Thanks for your comment. The feedback has been shared with the content owner for further review. Thanks for your patience.

@mumami Can you please follow up on this one?

What determines the column names for the billing report? As an example I am getting Swedish column names with English ones in parenthesis "Kontonamn (AccountName)" when calling
https://consumption.azure.com/v3/enrollments/...
Is there a way to change that with a header in the REST call?

No, there's no way to change the key-based API's column names. Have you tried using the ARM UsageDetails API?
https://docs.microsoft.com/rest/api/consumption/usagedetails
If you need something more, please share details on https://aka.ms/costmgmt/feedback so we can prioritize it and give others a chance to vote it up.

When downloading the Usage Details from the Azure Portal the file contains an ExtendedCost column however this column is not present when using the EA Usage Details API to download the Usage details. Is that column just called Cost?

What type of account are you referring to? All the most current APIs use "Cost", which represents the total cost before taxes. Is that what you're looking for?


[DO NOT MERGE] Auto PR to update dependencies of pilot

This PR will be merged automatically once checks are successful.

@istio-testing: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/pilot-presubmit.sh
4759809573c82ff99bb9bf1dc1e3da6c08a979d2
link
/test pilot-presubmit

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@sebastienvas
strange 403 forbidden downloading envoy:
W0921 03:35:43.115] ERROR: /home/bootstrap/go/src/github.com/istio/pilot/proxy/envoy/BUILD:60:1: no such package '@envoy_binary//file': Error downloading [https://storage.googleapis.com/istio-build/proxy/envoy-debug-94241cdb8e933cb94526d3f190af5bd3eb2f4b6a.tar.gz] to /home/bootstrap/.cache/bazel/_bazel_bootstrap/609d083e233f4793de5973767aa6583d/external/envoy_binary/envoy-debug-94241cdb8e933cb94526d3f190af5bd3eb2f4b6a.tar.gz: GET returned 403 Forbidden and referenced by '//proxy/envoy:envoy_binary'.

This is somehow expected. In Prow postsubmit we move to stable once we have created the artifacts. This is not happening for proxy, so there is a race condition.

/retest

@istio-testing: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/pilot-presubmit.sh
4759809573c82ff99bb9bf1dc1e3da6c08a979d2
link
/test pilot-presubmit

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.


Add logic for persistence score in error case

The score going to be persisted until the delivery is correct.

Merged! Thanks for this 👍


Enable multi-turn during testing of follow-up prompts

Enable multi-turn during testing of follow-up prompts
When you test the question with follow-up prompts in the Test pane, select Enable multi-turn, and then enter your question. The response includes the follow-up prompts.
on screenshot not exists this option. Looks like description old and screen new.

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

ID: 38f6b983-0c19-6439-78df-ea7bdab3f94e
Version Independent ID: 15dc8197-fed8-a94f-4143-2799d5e6a002
Content: Multi-turn conversations - QnA Maker - Azure Cognitive Services
Content Source: articles/cognitive-services/QnAMaker/How-To/multiturn-conversation.md
Service: cognitive-services
Sub-service: qna-maker
GitHub Login: @diberry
Microsoft Alias: diberry

@vglu
Thanks for the feedback! I have assigned the issue to the content author to investigate further and update the document as appropriate.

#in-progress

Fix will be published today. #please-close


fixing warnings and errors

previous commits had broken links and introduced a few warnings
that appeared to render correctly.

@zyoung51 please review - I think most of these suckers slided in with your PR, noticed the sphinx warnings this morning, so iterated through and fixed them. If you're interested, I'm using a quick little "auto build" script to look for and resolve things like this:
source .venv/bin/activate
cd docs
make html
sphinx-autobuild -H <IP_ADDRESS> -p 8000 . _build/html &

+1, thanks for the sku.rst fixes.


Invalid Delimiter

I'm trying to decode a file, and I'm getting this error:
Error: Invalid data: Missing delimiter ":" [0x3a]
But this site http://marquisdegeek.com/code_bencode.php and others node-js decoder managed to decode the file.
Examples of file that generate the above error:
Ubuntu Iso Torrent
Tracker Announce Response

I just ran a quick decode with the current version<EMAIL_ADDRESS>on the files you supplied, and haven't gotten an error (see below) – could you provide more detail about the environment and versions used (OS, node version, npm and package version)?
$ node bin/bencode.js test/ubuntu-15.10-desktop-amd64.iso.torrent
Dict {
  announce: <Buffer 68 74 74 70 3a 2f 2f 74 6f 72 72 65 6e 74 2e 75 62 75 6e 74 75 2e 63 6f 6d 3a 36 39 36 39 2f 61 6e 6e 6f 75 6e 63 65>,
  'announce-list':
   [ [ <Buffer 68 74 74 70 3a 2f 2f 74 6f 72 72 65 6e 74 2e 75 62 75 6e 74 75 2e 63 6f 6d 3a 36 39 36 39 2f 61 6e 6e 6f 75 6e 63 65> ],
     [ <Buffer 68 74 74 70 3a 2f 2f 69 70 76 36 2e 74 6f 72 72 65 6e 74 2e 75 62 75 6e 74 75 2e 63 6f 6d 3a 36 39 36 39 2f 61 6e 6e 6f 75 6e 63 65> ] ],
  comment: <Buffer 55 62 75 6e 74 75 20 43 44 20 72 65 6c 65 61 73 65 73 2e 75 62 75 6e 74 75 2e 63 6f 6d>,
  'creation date':<PHONE_NUMBER>,
  info:
   Dict {
     length:<PHONE_NUMBER>,
     name: <Buffer 75 62 75 6e 74 75 2d 31 35 2e 31 30 2d 64 65 73 6b 74 6f 70 2d 61 6d 64 36 34 2e 69 73 6f>,
     'piece length': 524288,
     pieces: <Buffer 69 9a 2d d8 22 ea 5e b2 5c d4 e4 48 c5 e8 0e 53 ba d5 b1 6c ec 0e 71 a7 55 53 77 fd dd 17 f3 08 be 96 ad 6f f8 ff 4a b3 9b 50 83 0b 49 49 59 64 b9 a9 ... > } }

Where can I find bin/bencode.js ? Currently I'm executing this:
fs.readFile('ubuntu-15.10-desktop-amd64.iso.torrent', 'binary', (err,data) => {
  if(err){console.log(err);return;}
  else {console.log(bencode.decode(data));}
});

I'm using the current version of bencode package (0.9), node v4.2.1, npm 2.14.7 on Linux
Thanks for your time

The problem with what you're doing is the 'binary' encoding – which really is latin-1, not the 'binary' one would expect, as you can read in node's buffer character encoding documentation.
If you omit the encoding, fs.readFile() will give you a raw buffer, instead of encoding it to a latin-1 encoded string, which will work perfectly fine with bencode.decode().
You can also make it work with the 'binary' encoding by telling bencode.decode() the encoding of your string, like so:
bencode.decode( data, 'binary' )

And bin/bencode.js is just something I just wrote to test this, it's essentially
var path = require( 'path' )
var fs = require( 'fs' )
var util = require( 'util' )
var bencode = require( '..' )

var argv = process.argv.slice( 2 )
var filename = path.resolve( process.cwd(), argv.shift() )
var file = fs.readFileSync( filename )

console.log( bencode.decode( file ) )

Well, it works actually.
Thanks for the help and sorry for wasting your time!

No worries, glad I could help (and that it wasn't a bug)!


Like post randomly turns on

Expected behavior
Like Post setting save
Actual behavior
Like Post turned on without me ever going into settings out of nowhere.  I turn it off, and next post it's on again.
How to reproduce
Make a post, like post will randomly turn on and vote at 0 minutes.  Ideally, this feature should be removed since HF20 as it throws away all curation rewards even if you self vote as votes at 0 minutes get 100% of curation rewards destroyed.
Chrome
Windows 10 Pro

I strongly agree. This also happened to me so many times. Seems they'll remove the like option: https://github.com/busyorg/busy/pull/2187

This option has been removed.


Event Browser - Duration seems unreliable

While taking capture, I was interested to seem the general timing of a few specific draw calls, the timing is always 0.0 us (batch Im interested to profile).  Its not a display issue since I display floating point up to 5 digits.
Im profiling a fullscreen quad (only 4 vertex), but rasterize at 1280 x 720 so enough pixel so I should see a cost higher than 0.00000 us.
The pixel shader execute 108 instructions, so its not super simple to explain the timing issue.  In the 108 instructions I execute 10 texture2D read and 1 cubemap read.
Would be also nice if we had more visibility of the actual bootleneck (VS fetch cost, VS shader, pixel shader, texture fetch, output merger cost, etc...)
Thanks
Sebastien

@baldurk
Since the duration seems unreliable in terms of absolute numbers, but reliable in terms of relation to each other, maybe it makes sense to change it to percentages (or alternatively to permillage/permyriad) instead?
Still not perfect of course, but maybe it helps some. (Best of course if it is a setting so everybody get to use what they like best or just display both :D )


AdaptiveBramich takes an excessive amount of time

Even for same complexity as Bramich

It seems like the vast majority of time in Adaptive Bramich is spent in multiply_and_sum, which seems like it could be optimized by outsourcing it to a GPU. I plan on implementing this and measuring any gains there might be.
adaptivebramich_deg2.txt

I'm so sorry that this notification went right into spam folder in my email so I just read this. I'll take a look at it.

No worries! I have already implemented multiply_and_sum in CUDA, though I haven’t convinced setuptools to play nicely with CUDA/nvcc yet. I’ll make a PR once I get it figured out; my work in progress is at https://github.com/varun-iyer/ois.
I am keeping everything compatible with a CPU only compilation. If this feature is one that you think should be merged into the mainline, let me know how you would prefer optional CUDA usage to be integrated --- an external Makefile which builds a shared object used by setuptools, or by setuptools using nvcc directly.

I have a solution for this implemented at https://github.com/varun-iyer/ois. It is already a significant improvement over CPU-only calculations, and I am still making optimizations in the kernel code. Note the results below were not rigorously produced; they were made by choosing some random science images and cutting them to a particular size before running them through Adaptive Bramich with poly_degree=2. CUDA enabled calculations are in blue and standard calcs are in orange.

However, I have some concerns about portability. I am using some features of CUDA which rely on having a decent GPU architecture (sm_60+), and issues with setuptools and static linking require oistools to be built separately as an dynamically linked library which needs to be added to the LD_LIBRARY_PATH. Making this properly portable and pip-installable probably requires more knowledge of CUDA and setuptools than I possess.
If you think that these features would be important to incorporate, I can invest some time in making it a little more flexible, and see if I can get it to a pull-requestable place.
Otherwise, I will be maintaining my fork separately, and hope that it serves as a helpful reference implementation for GPU-based acceleration.

Hi,
That looks great, thanks for taking the time. I'm interested in incorporating your work.
Do you think you can make a pull request to merge with the cuda branch I just made? That could be a compromise instead of me merging to master just yet.
One of my plans was to make (aside from the python module) a stand alone C program as well and compile it with the makefile. I haven't written that part yet but I could benefit from the PR.

I haven’t made a PR because I since discovered some issues with the code, and haven’t been able to resolve them quite yet. On larger images (including our science images which are ~3000x2000), the GPU memory overflows and the program crashes. Science images tend to be pretty big, so I need to develop a way to process chunks of the image at a time depending on the available GPU memory. Once I’ve figured out how to do this and tested it out on some science images, I will do that PR.

Maybe using the option gridshape can help.
For example if your image is 3000 rows by 2000 columns:
from ois import optimal_system
diff, opt, krn, bkg = optimal_system(image, refimage, method="Bramich", gridshape=(3, 2))

This would effectively process 1000x1000 pix sub-images each time.

Thanks for pointing this out! I think that this would be an acceptable workaround for our group’s applications, and some kind of gridding seems to be recommended in section 2.4 of the Bramich paper. Do you think I should attempt a programmatic solution to the original issue, or assume that applications with large images would grid them anyway? I haven’t thoroughly investigated it, but I believe images well above 1000x1000 work on our GTX1070 with 8GB of GPU card memory.


Bot has item stuck in hand

Bot has item stuck in hand and waves it around forever sometimes during runs

Are you using 0.2.0 release or building from source code?

2.0 version, I couldn't figure out how to do the build :P

Ok got the build one to work, no holding items in hands atleast but gets stuck when doing stash run, constantly hovers over items forever

No ideas?

mmm it might be related to high latency, it happens to me from time to time also when there is a lag spike or something. Do you think it's your case?

It's quite possible a lag spike, plenty of CPU and ram allocated, although i have noticed the longer it runs the clunkier it gets, what specific graphics settings do you use?
Get Outlook for Androidhttps://aka.ms/AAb9ysg

From: Héctor Giménez @.>
Sent: Tuesday, October 17, 2023 11:02:26 PM
To: hectorgimenez/koolo @.>
Cc: Unfolds @.>; Author @.>
Subject: Re: [hectorgimenez/koolo] Bot has item stuck in hand (Issue #38)
mmm it might be related to high latency, it happens to me from time to time also when there is a lag spike or something. Do you think it's your case?
—
Reply to this email directly, view it on GitHubhttps://github.com/hectorgimenez/koolo/issues/38#issuecomment-1766603951, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AEZRX2MLV5V5PWGZLHHMS2DX72MYFAVCNFSM6AAAAAA56WK76SVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTONRWGYYDGOJVGE.
You are receiving this because you authored the thread.Message ID: @.***>

Such as Sharpness, FXAA etc

I have everything at minimum quality and all the effects disabled. About turning off screenshots, I think is not possible right now but it could be something interesting to implement

Ok thats what I have been running on as well, Do you have a discord I can contact you on in regards to few issues?

I've experienced the same item in hand issue, and noticed that I was all out of ID scrolls.
The bot IDs the items in inventory straight after getting into a game or going through a TP. So could well be the issue. It clicked on the ID Tome, doesn't get a scroll because it's empty, but then clicks on the item anyway, picking it up instead of IDing it.
Has anyone else has seen the same? Sample size of 1 isn't great haha.
I haven't had the time to compile the code and test solutions yet, but hoping to have a play around in the new year. Pretty newbie coder though.

I think this should be fixed with latest releases, please try again.


Release Flatcar Container Linux Stable 3227.2.4 Beta 3374.1.1 Alpha 3402.0.1

Release Flatcar Container Linux Stable 3227.2.4 Beta 3374.1.1 Alpha 3402.0.1
The release of Flatcar Container Linux Stable 3227.2.4 Beta 3374.1.1 Alpha 3402.0.1 is planned for Nov 1, 2022.
Tasks

[x] Go / No Go hackmd doc created from previous one for test tracking and release notes: link (@pothos)
[ ] All planned changes are merged & blocker bugs are fixed, last nightly reviewed for problems ()
[ ] Branch off main (only new major) (not needed)
[x] Tag build branch (@pothos)
[ ] Start Jenkins builds, post links as comment (@pothos)
[ ] Test status captured in hackmd doc ()
[ ] All tests are green ()
[ ] Release notes / announcements added to Go/No Go doc from container/image_changes job by selecting Timestamps: None ()
[ ] QA: check diff for image file list, packages, and image size in the image job output ()
[ ] Matrix Go/No Go meeting (inc. release notes review) ()
[ ] Update payload signed/published ()
[ ] scripts release created on GitHub ()
[ ] Release job container/release ran ()
[ ] Images uploaded with copy-to-origin.sh ()
[ ] Azure offer updated & publishing started ()
[ ] Azure Go Live ()
[ ] GCP offers updated ()
[ ] Symlink to "current" updated with set-symlink.sh ()
[ ] Website updated with ./update-flatcar-versions.sh and PR merged ()
[ ] Release package published in Nebraska ()
[ ] Send announcement to Mailing Lists ()
[ ] Send Tweet out (@miao0miao, @ahrkrak)
[ ] Brief version announcement in slack (k8s slack #flatcar) and the Flatcar matrix channel

Started the builds:
Stable http://jenkins.infra.kinvolk.io:8080/job/container/job/packages_all_arches/642/cldsv/
Beta http://jenkins.infra.kinvolk.io:8080/job/container/job/packages_all_arches/643/cldsv/
Alpha http://jenkins.infra.kinvolk.io:8080/job/container/job/packages_all_arches/644/cldsv/

Marking this as complete.


Drag and drop into filesystem usability

Godot version:
3.1
Issue description:
A friend described: Drag and drop into filesystem an unsupported file format like .blend fails silently, it's better if it shows that file format is unsupported
Edited:
One of the problems with spamming unsupported file dialogs is that you want an accept all button.

Related: #27426
Seems like either we should accept anything (linked issue) or show unsupported dialog which lets you accept files (this issue).
The former is easier to do :P

I'll close this one in favor of https://github.com/godotengine/godot/issues/27426; please continue the discussion there.


OpenSSL 1.1.0c hitting WinAPI 32k character limit when building with msys2/mingw

After doing a successful perl configure in a msys2 terminal, I ran mingw32-make getting the following output:
mingw32-make -j 1
perl "-I." -Mconfigdata "util/dofile.pl" \
    "-oMakefile" crypto/include/internal/dso_conf.h.in > crypto/include/internal
/dso_conf.h
perl "-I." -Mconfigdata "util/dofile.pl" \
    "-oMakefile" include/openssl/opensslconf.h.in > include/openssl/opensslconf.
h
mingw32-make depend && mingw32-make _all
mingw32-make[1]: Entering directory 'G:/openssl-1.1.0c'
process_begin: CreateProcess(G:\msys64\usr\bin\sh.exe, G:/msys64/usr/bin/sh.exe
-c "...", ...) failed.
make (e=87): The parameter is incorrect.
Makefile:205: recipe for target 'depend' failed
mingw32-make[1]: *** [depend] Error 87
mingw32-make[1]: Leaving directory 'G:/openssl-1.1.0c'
Makefile:128: recipe for target 'all' failed
mingw32-make: *** [all] Error 2

For brevity I replaced the wall of bash script with ... above. Searching around the net, the e=87 parameter incorrect error indicates that the 32k character limit on the Windows API is being hit. Are there any known workarounds for building this natively on windows using mingw?

I assume that was one of the ar commands?  They are long, that's true.  We could change them to a series of ars, one for each object file.  See if this patch helps you:
diff --git a/Configurations/unix-Makefile.tmpl b/Configurations/unix-Makefile.tmpl
index 84ceb76..d556bde 100644
--- a/Configurations/unix-Makefile.tmpl
+++ b/Configurations/unix-Makefile.tmpl
@@ -1059,10 +1059,12 @@ EOF
   sub obj2lib {
       my %args = @_;
       my $lib = $args{lib};
-      my $objs = join(" ", map { $_.$objext } @{$args{objs}});
+      my @objs = map { $_.$objext } @{$args{objs}};
+      my $objs = join(" ", @objs);
+      my $cmds = join("\n\t", map { '$(AR) $@ '.$_ } @objs);
       return <<"EOF";
 $lib$libext: $objs
-	\$(AR) \$\@ \$\?
+	$cmds
 	\$(RANLIB) \$\@ || echo Never mind.
 EOF
   }

Hmm, it looks like mingw32-make is subtly different from gnu make. I just installed make through msys2 pacman -S make and rerun the above build commands again but with make this time. It appears to be building now.

I confirm. When I use QT Creator bundled mingw32-make, I hit that error too. But installed via pacman, make works.

the problem is not with the QT Creator bundled mingw32-make but the make file generated so if you delete the line causing the error and rewrite it should  work well .i use notepad++ ,character encoding problem in the makefile

What exactly needs to be edited? I can not figure out which character is wrong, all of them are normal ASCII character.

“make (e=87): The parameter is incorrect.
Makefile:205: recipe for target 'depend' failed”
On line number 205 of the generated makefile
205 depend :
206          @:
Earse them and rewrite them i guess the problem is charater based or spacing


How to itterate through the parts list in template

Body of the issue
Im trying to create a report template for stocketaking for warehouse workers.
From my view it must be a table by each part, with next collums.

Part name
Part available stock value (even if == 0)

The problem is - there is no example, how to itterate through each part in database\category.
Default stocktake report use stock item, so by definition it exclude parts with zero available stock and duplicate rows with same part but multiple stock items.
So, how can i itterate throug parts in template?

Duplicate of https://github.com/inventree/InvenTree/issues/8545 - please discuss in #8545 to avoid duplicate issues.


[Docs] Improve qaoa tutorial

Closes #282

I addressed the comments, I kept the number of qubits to 4 so docs build faster but feel free to change it. I'm going on vacations tomorrow so I'll leave it here for the moment but if you think it's ready feel free to resolve the comments and merge!

Also I checked locally and the docs build fine


1.3.0-rc1 - LICENSE/NOTICE

This issue comes from @stevedlawrence in the vote thread for 1.3.0-rc1. The issue is described below:
[FAILED] src and binaries include correct LICENSE/NOTICE
- build/extension.webpack.config.js is MIT licenses but is not in the
   main LICENSE file. It is in build/package/LICENSE file, but I think
   that is incorrect since this file does not end up in the vsix file?

- The following yarn dependencies are listed as production dependencies but
   are not listed in the build/package/LICENSE file. They are category
   A so are okay but need to be listed:

    BSD-3-Clause
    -<EMAIL_ADDRESS>    ISC
    -<EMAIL_ADDRESS>    MIT
    -<EMAIL_ADDRESS>    -<EMAIL_ADDRESS>    -<EMAIL_ADDRESS>    -<EMAIL_ADDRESS>    -<EMAIL_ADDRESS>    -<EMAIL_ADDRESS>    -<EMAIL_ADDRESS>    -<EMAIL_ADDRESS>    -<EMAIL_ADDRESS>    -<EMAIL_ADDRESS>    -<EMAIL_ADDRESS>    -<EMAIL_ADDRESS>    -<EMAIL_ADDRESS>    -<EMAIL_ADDRESS>    -<EMAIL_ADDRESS>    -<EMAIL_ADDRESS>    -<EMAIL_ADDRESS>    -<EMAIL_ADDRESS>    -<EMAIL_ADDRESS>    -<EMAIL_ADDRESS>
- The following dependencies are listed in build/package/LICENSE or
   biuld/package/NONOTICE but are not actual production dependencies
   and should not be listed:

   - @cspotcode/source-map-support
   - @jridgewell/resolve-uri
   - @jridgewell/sourcemap-codec
   - @jridgewell/trace-mapping
   - @tsconfig/node10
   - @tsconfig/node12
   - @tsconfig/node14
   - @tsconfig/node16
   - acorn
   - acorn-walks
   - arg
   - create-require
   - diff
   - fsevents
   - is-fullwidth-code-point
   - make-error
   - ts-node
   - v8-compile-cache-lib
   - yn

- The build/production/LICENSE file lists omega-edit-grpc-server-*.zip
   but that ZIP is no longer in the vsix file, the zip is packages
   uncompressed

- The build/package/ licenes files mention akka, though that has been
   replaced with pekko

- The following omega-edit or daffodil debugger jar dependencies are
   not mentioned in the build/package/* files

   Daffodil Debugger:
   - com.sun.istack.istack-commons-runtime-2.21.jar
   - com.sun.istack.istack-commons-tools-2.21.jar
   - com.sun.xml.bind.external.rngom-2.2.11.jar
   - com.sun.xml.bind.jaxb-impl-2.2.11.jar
   - com.sun.xml.dtd-parser.dtd-parser-1.1.jar
   - com.sun.xsom.xsom-20140925.jar
   - javax.activation.activation-1.1.1.jar
   - javax.xml.bind.jaxb-api-2.2.12-b140109.1041.jar
   - org.apache.ant.ant-1.7.0.jar
   - org.apache.ant.ant-launcher-1.7.0.jar
   - org.glassfish.jaxb.codemodel-2.2.11.jar
   - org.glassfish.jaxb.jaxb-core-2.2.11.jar
   - org.glassfish.jaxb.jaxb-xjc-2.2.11.jar
   - org.glassfish.jaxb.txw2-2.2.11.jar
   - relaxngDatatype.relaxngDatatype-20020414.jar

   Omega Edit
   - ch.qos.logback.logback-classic-1.3.5.jar
   - ch.qos.logback.logback-core-1.3.5.jar
   - com.google.api.grpc.proto-google-common-protos-2.9.0.jar
   - org.checkerframework.checker-qual-3.12.0.jar
   - org.parboiled.parboiled_2.13-2.4.1.jar

This should be address in the next release canidate for 1.3.0.

@stevedlawrence for comment:
- build/extension.webpack.config.js is MIT licenses but is not in the
   main LICENSE file. It is in build/package/LICENSE file, but I think
   that is incorrect since this file does not end up in the vsix file?

I think I get what you are saying. The line for build/extension.webpack.config.js should be taken out of build/package/LICENSE and put in the main LICENSE file correct? You are correct that build/extension.webpack.config.js doesn't get copied into the VSIX file.

@stevedlawrence I also saw the minor issue about xs prefix. The intellisense should work on schemas that don't use the xs prefix. Eg edifact.
One reason it may not work is dfdl may not be your selected language for the schema. For example, locally for edifact for me it was defaulting to XML as the detected language. In this case dfdl intellisense would not work. After setting the language to dfdl the intellisense was now working for me. Can you see if this was possibly the issue you ran into as well?

It seems to be working now. The language was DFDL when I started it, so
maybe it fixed itself.
I've also found some cases where unclosed sequence tags causes
autocompletions later in the schema to fail to suggest the correct
things. Maybe I was actually running into something like that and just
thought it was an xs: issue and didn't realize the invalid XML.
I think this was likely just user error on my part.
On 2023-05-01 10:55 AM, Shane Dell wrote:

@stevedlawrence https://github.com/stevedlawrence I also saw the minor
issue about |xs| prefix. The intellisense should work on schemas that
don't use the |xs| prefix. Eg |edifact|.
One reason it may not work is |dfdl| may not be your selected language
for the schema. For example, locally for |edifact| for me it was
defaulting to |XML| as the detected language. In this case dfdl
intellisense would not work. After setting the language to |dfdl| the
intellisense was now working for me. Can you see if this was possibly
the issue you ran into as well?
—
Reply to this email directly, view it on GitHub
https://github.com/apache/daffodil-vscode/issues/600#issuecomment-1529797289, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAYIQOKCESWESNCTFI5ONELXD7FG3ANCNFSM6AAAAAAXPXA5UM.
You are receiving this because you were mentioned.Message ID:
@.***>

@stevedlawrence Gotcha, do I have the idea correct on build/extension.webpack.config.js? It needs to be in the root LICENSE not the VSIX one, since its not included in the VSIX?

Yep, that's right

@stevedlawrence for com.sun.xsom.xsom-20140925.jar is that compatible? It uses COMMON DEVELOPMENT AND DISTRIBUTION LICENSE (CDDL)Version 1.1 License which is listed here https://www.apache.org/legal/resolved.html#weak-copyleft-licenses, was sure since its under the "WEAK COPYLEFT" LICENSE" if that means it can be used or not since its not listed under the strickly cannot be used.

CDDL and other "weak copyleft" licenses are fine when included in binary form like we do, but it's recommended to explicitly mention it where someone is likely to see it. For example, the Daffodil CLI distributes binary jars under CDDL and MPL, both of which are weak copyleft, so we add a blurb in the CLI readme:
https://github.com/apache/daffodil/blob/main/daffodil-cli/README.md#license

@stevedlawrence Gotcha thank you. I see we did in this project for a couple as well. Any advice on  https://github.com/java-schema-utilities/relaxng-datatype-java since it doesn't have one, should we try to get remove it somehow?

For relaxng-datatype-java, the pom.xml claims its "BSD": https://github.com/java-schema-utilities/relaxng-datatype-java/blob/master/pom.xml#L39, though which variant is unclear...
There is this issue that asks for clarification java-schema-utilities/relaxng-datatype-java#1 and claims it's BSD-3, but I don't see where that is coming from, and a response questions that, so it's not clear. Might need some more digging to figure it out.

Gotcha thank you.

@stevedlawrence It looks like that comments says that its in a different repo. Seem possible it could be this repo is at https://github.com/relaxng/jing-trang. Would we use that license then or not?

Yeah, doing a diff of the datatype directories in the different repos shows they're pretty much the same. It looks like they were originally added to the jing-trang repo here:
https://github.com/relaxng/jing-trang/commit/5df37ac9869d4fa1cc50372effce275ddc551592
And we can see that same jclark person updated the copying.txt file to BSD-3 here:
https://github.com/relaxng/jing-trang/commit/cdaaa25a4ec3f37a809b3a84cc198b4e84ade1e3
So I think it's safe to assume the code they added to the jing-trang repo is licensed under the license you mentioned, and thus so is the code in the java-schema-uitils repo since it is not substantially different.


[Season] Add later support

https://myanimelist.net/anime/season/later

Please add later

thank you


How to implement dense sift?

Hello, I am trying to implement denseSIFT with your code. What would I change in order to generate the keypoints in a grid format as opposed to the local minima/extrema? Please let me know if you can help me with this!

Hey there, thanks for looking at PythonSIFT! Dense SIFT is an interesting idea. It should be fairly straightforward to modify PythonSIFT to do this. Basically, you'll just need to modify findScaleSpaceExtrema() (and it's probably a good idea to rename this function). You can try something like this:
def computeDenseKeypoints(gaussian_images, dog_images, num_intervals, sigma, image_border_width, step_size=5):
    """You can set step_size to whatever you'd like for your keypoint grid spacing
    """
    keypoints = []

    for octave_index, dog_images_in_octave in enumerate(dog_images):
        for image_index, (first_image, second_image, third_image) in enumerate(zip(dog_images_in_octave, dog_images_in_octave[1:], dog_images_in_octave[2:])):
            # (i, j) is the center of the 3x3 array
            for i in range(image_border_width, first_image.shape[0] - image_border_width, step_size):
                for j in range(image_border_width, first_image.shape[1] - image_border_width, step_size):
                    keypoint = KeyPoint()
                    keypoint.pt = (j * (2 ** octave_index), i * (2 ** octave_index))
                    keypoint.octave = octave_index + (image_index + 1) * (2 ** 8)
                    keypoint.size = sigma * (2 ** ((image_index + 1) / float32(num_intervals))) * (2 ** (octave_index + 1))
                    keypoint.response = second_image[i, j]
                    keypoints_with_orientations = computeKeypointsWithOrientations(keypoint, octave_index, gaussian_images[octave_index][image_index + 1])
                    for keypoint_with_orientation in keypoints_with_orientations:
                        keypoints.append(keypoint_with_orientation)
    return keypoints

Note that we use image_index + 1 instead of image_index because we want the second image in every triplet of adjacent images.
You can delete the functions isPixelAnExtremum(), localizeExtremumViaQuadraticFit(), computeGradientAtCenterPixel(), and computeHessianAtCenterPixel(). Things become much simpler.
The rest of the code should require little or no modification. Give it a try. However, even if it works, most likely it will be very slow because of how many keypoints you'll have. For this to be practical, you'll want to vectorize / parallelize the code somehow.
Hope this helps!

I believe this issue has been resolved, so I'm going to close it. Please feel free to reopen this issue if you feel your question hasn't been answered.


CROSSTOOL failed to parse

bazel --bazelrc=/dev/null build --verbose_failures -c opt //source/exe:envoy-static.stripped.stamped
........
ERROR: java.io.IOException: Could not read the crosstool configuration file 'CROSSTOOL file /root/.cache/bazel/_bazel_root/2cb205078a56d4bfe49d5a502ea39ff3/external/local_config_cc/CROSSTOOL', because of a parser error (249:1: Expected identifier. Found '%')
INFO: Elapsed time: 0.878s
FAILED: Build did NOT complete successfully (5 packages loaded)

[optional Relevant Links:]
Failed build log https://copr-be.cloud.fedoraproject.org/results/vbatts/envoy/fedora-27-x86_64/00719821-envoy/builder-live.log
CROSSTOOL file contents https://pastebin.com/JvSWH3ut
related issue on bazel https://github.com/bazelbuild/bazel/issues/4645
Reproduce Steps:

Start a fedora host or container (f26, f27 or rawhide)
git clone https://github.com/vbatts/copr-build-envoy && cd copr-build-envoy
sudo make rebuild

good on @htuch
This build was on commit 6d62998a7558dec34e709189b48acc57de7d57d3, not latest HEAD.
Trying again, but with commit 6d62998a7558dec34e709189b48acc57de7d57d3

that worked!

@vbatts Was that the commit that fixed it (i.e. could I cherry-pick it in)? or just one where it worked? :D

@clnperez sorry, my comment was not clear.
I was trying to build an older commit of envoy with latest bazel at the time (v1.10.1) .That is why got a parse error.
Once I pulled the latest HEAD of envoy, then the build was successful.
It's less than ideal, but the envoy codebase  is fairly lock-step with bazel releases.

@vbatts that's what i was trying to do as well. i ended up cherry-picking in 95ee420c379942fd692b42c84a1fd5ef4d7035ec and i could do what i wanted :)


AKS NSG when Grafana and Kiali are Disabled in Istio Config

When deploying istio into AKS with grafana and kiali disabled, I am still seeing the NSG being updated to allow the traffic which seems wrong to me.  I know grafana and kiali are disabled properly via the config because the deployment doesn't exist in AKS under the istio-system namespace.  If I enable grafana and kiali I see the those deployments.  With that said, if this for some reason is intended then a note in this documentation might be helpful (also a note that the AKS NSG would be updated in the first place as part of the install would be nice).  If this is not intentional, then perhaps someone can bubble this quickly to the group responsible, whether that is at MS or at Istio.

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

ID: 6d64cf65-bf33-ff76-3ece-47c758479506
Version Independent ID: c2db9de5-62ef-5bd0-83dc-1832113ae37c
Content: Install Istio in Azure Kubernetes Service (AKS)
Content Source: articles/aks/servicemesh-istio-install.md
Service: container-service
GitHub Login: @paulbouwer
Microsoft Alias: pabouwer

@michaelschmit Thanks for details provided. I am assigning this to content author for checking and updating the document  as applicable.

@michaelschmit Good catch on the invalid NSG security rules 👍. There are a few things happening here.
From: AKS | Concepts | Azure network security groups

To filter the flow of traffic in virtual networks, Azure uses network security group rules. These rules define the source and destination IP ranges, ports, and protocols that are allowed or denied access to resources. Default rules are created to allow TLS traffic to the Kubernetes API server. As you create services with load balancers, port mappings, or ingress routes, AKS automatically modifies the network security group for traffic to flow appropriately.

So, AKS will automatically update the NSG with the port and ip address of a Kubernetes Service of type LoadBalancer.
If you look at the values.yaml file used to deploy the istio ingress gateway by the istioctl manifest command, you will notice a bunch of hard-coded ports. These include the ones you reference.
So even though you disable grafana and kiali, and in the case of the AKS docs, we enable them, but do not provide public access, we still find that the NSG contains the ports for these services. The ip address/port combo are not connected to either grafana and/or kialia via the istio ingress gateway, but for correctness should not be in the NSG.
Could you log this as an issue in the Istio project, since my expectation would be that if I have a value of grafana.ingress.enabled=false in the grafana values.yaml, that the grafana port is not added to the gateways.istio-ingressgateway.ports list, and subsequently is not added to the NSG by AKS.

@paulbouwer Thanks for providing the details.

Another option is to patch the istio.aks.yaml contents in the AKS Istio Install docs.
So add gateways.istio-ingressgateway.ports under the spec.values section:
apiVersion: install.istio.io/v1alpha2
kind: IstioControlPlane
spec:
  # Use the default profile as the base
  # More details at: https://istio.io/docs/setup/additional-setup/config-profiles/
  profile: default
  values:
    gateways:
      istio-ingressgateway:
        ports:
        - port: 15020
          targetPort: 15020
          name: status-port
        - port: 80
          targetPort: 80
          name: http2
        - port: 443
          name: https
        # This is the port where sni routing happens
        - port: 15443
          targetPort: 15443
          name: tls

I still believe that the Istio install should not render the grafana port if grafana.ingress.enabled=false is set.

Thanks for the response Paul.
https://github.com/istio/istio/issues/20845

paulbouwer, I also noticed that when I enable istio on the AKS cluster the kubernetes load balancer gets a second public IP address.  What is the significance of that?


grub error affects x86 and opt-in ARM devices

Should do 1.6 and possibly 1.5 backport until fixed.

Cherry-picked to 1.5.x and 1.6.x as well.


type-zoo

Check types directory inside module

hover

:tada: This issue has been resolved in version 2.2.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Fork practice

Description

[X] I have added a folder(Named it as my GitHub user id)
[X] I have added a Readme.md file inside the folder
[X] I understand the GitHub Forking Concept fully

Thank you!
I'm on vacation, will look into it from Wednesday, 5th Oct. Keep going, keep contributing 👍


Forced file creation for #insert_into_file

Is there a way to force file creation in #insert_into_file if the file doesn't exist (e.g., option :force => true)?
If not, then it would be quite desirable, considering that #insert_into_file is also called from #append_to_file, #prepend_to_file etc.
One can use the following patch to enable missing file creation by default
class ::Thor
  module Actions
    def insert_into_file(destination, *args, &block)
      if block_given?
        data, config = block, args.shift
      else
        data, config = args.shift, args.shift
      end
      if File.exists? destination
        action InjectIntoFile.new(self, destination, data, config)
      else
        action CreateFile.new(self, destination, data, config)
      end
    end
  end
end

If I'm not misunderstanding your issue, my #505 should address this.


[REQUEST] Implement trackpad pan gesture to zoom

Is there an existing request for this?

[X] I have searched the existing requests.

Request
On the iPad app, you can use two fingers to pan the view, and zoom in or out of the scene. This should be also a feature in macs with a trackpad.
Supporting information
No response

Added on commit e912fbb


Error in output log

HideTMPECrosswalks patches Reverted.
(Filename: C:/buildslave/unity/build/artifacts/generated/common/runtime/DebugBindings.gen.cpp Line: 51)
NullReferenceException
at (wrapper managed-to-native) UnityEngine.Component:get_transform ()
at BuildingThemes.BuildingVariationManager.Reset () [0x00000] in :0
at BuildingThemes.LoadingExtension.OnReleased () [0x00000] in :0
at LoadingWrapper.OnLoadingExtensionsReleased () [0x00000] in :0
UnityEngine.DebugLogHandler:Internal_LogException(Exception, Object)
UnityEngine.DebugLogHandler:LogException(Exception, Object)
UnityEngine.Logger:LogException(Exception, Object)
UnityEngine.Debug:LogException(Exception)
LoadingWrapper:OnLoadingExtensionsReleased()
LoadingWrapper:Release()
LoadingManager:ReleaseRelay()
LoadingManager:OnDestroy()

@t1a2l can you please provide more context? What other mods you have? Is it happening while exiting the game? Does it happen if you only have My mod and TMPE?

Building Themes mod is unreliable, it's constantly showing up in support log files

@kianzarrin - Hey, sorry for the late replay, it just show at the end of the output log. Also some workshop roads suddenly don't have crosswalks by default when placing them down.

Does it happen without the building themes mod?
What roads have no crossings?
@t1a2l you need to give me more info there's no way I can debug this line this

Once I disabled theme manager the crosswalk returned

By "theme manager" do you mean the Building Themes mod?

yes


Sidebar Minimized missing scroll on sidebar items

Hello,
Thanks for the wonderful library, it has been very helpful in our projects.
We just realized that, with the latest of version of coreui-react, when the sidebar is minimized with property <CSidebar minimize={true} > the scrollbar is not available. It is not possible to see all the items when the sidebar is minimized, as there is no scroll option available.
Could you please activate the scrollbar for the <CSidebar minimize={true} > ?
Thanks a lot, attached is the image for your reference.

We are aware of this issue, but there is no good solution for this bug at this moment (it is limited by CSS)

any resolve this problem ?


Hey I am trying add less-loader in enso .. how can i do that>

This is  a bug | feature request.

Prerequisites

[ ] Are you running the latest version?
[ ] Are you reporting to the correct repository?
(enso is made of many specialized packages: https://github.com/laravel-enso)
[ ] Did you check the documentation?
[ ] Did you perform a cursory search?

Description

Steps to Reproduce

Expected behavior

Actual behavior

I figure it out.. no worries


emojis: Add JS tooltips for emojis in messages.

This replaces the current HTML hover with JS tooltips for both
normal and custom emojis in messages.
Part of Issue #15632.

Made the suggested changes (except top vs bottom). CI is still passing.

@timabbott this PR is ready for review.


Cartopy features broken with shapely 1.5.13

import cartopy
import matplotlib.pyplot as plt
ax = plt.axes(projection=cartopy.crs.PlateCarree())
ax.add_feature(cartopy.feature.LAND)
ax.set_extent([-20, 60, -40, 40])
plt.show()
works with Shapely 1.5.12 but gives
...
TypeError: unhashable type: 'MultiPolygon'

@ChristianP75 I cannot reproduce this error with the latest cartopy and shapely 1.5.13:
Python 2.7.9 (v2.7.9:648dcafa7e5f, Dec 10 2014, 10:10:46)
[GCC 4.2.1 (Apple Inc. build 5666) (dot 3)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import cartopy
>>> import matplotlib.pyplot as plt
>>> ax = plt.axes(projection=cartopy.crs.PlateCarree())
>>> ax.add_feature(cartopy.feature.LAND)
<cartopy.mpl.feature_artist.FeatureArtist object at 0x105e5d6d0>
>>> ax.set_extent([-20, 60, -40, 40])
>>> plt.show()
>>>
>>> print cartopy.__version__
0.13.0
>>> import shapely
>>> print shapely.__version__
1.5.13

Which version of cartopy are you working with?

Python 2.7.10 (default, Oct  7 2015, 09:28:07)
[GCC 4.4.7 20120313 (Red Hat 4.4.7-16)] on linux2
Type "help", "copyright", "credits" or "license" for more information.

import cartopy
print cartopy.version
0.13.0

For cross-reference, see SciTools/cartopy#682.

https://github.com/SciTools/cartopy/issues/682 is closed.


Date Picker fix

If the user is in "single day" mode then the last x days selector won't choose a range, it only chooses the first date in that range. The reverse is also true - if you're looking at aggregates and select "today" or "yesterday" it makes a one day range.

I think we can modify the preset list on the picker, so we have different options for single vs aggregate (today and yesterday don't make sense on aggregate, and for single it should be one month ago instead of last month

In 1.5.1 of the library my changes are available which allow us to hide certain presets based on props. We can fix this now


decompression bomb error

Hi, I get the following error with an image (20992*10496):
Traceback (most recent call last):
  File "../generate.py", line 100, in <module>
    origWidth, origHeight = Image.open(args.inputFile).size
  File "/usr/local/lib/python3.6/site-packages/PIL/Image.py", line 2577, in open
    im = _open_core(fp, filename, prefix)
  File "/usr/local/lib/python3.6/site-packages/PIL/Image.py", line 2568, in _open_core
    _decompression_bomb_check(im.size)
  File "/usr/local/lib/python3.6/site-packages/PIL/Image.py", line 2507, in _decompression_bomb_check
    (pixels, 2 * MAX_IMAGE_PIXELS))
PIL.Image.DecompressionBombError: Image size (220332032 pixels) exceeds limit of 178956970 pixels, could be decompression bomb DOS attack.

Is it possible to turn off such bulls**t? I tried to edit /usr/local/lib/python3.6/site-packages/PIL/Image.py and remove the check, but it resulted in some tiles missing which stopped pannellum from loading further tiles. It doesn't matter what format the input image has (jpg, tif, png) and I'm on Python 3.6.5.
Any help appreciated.

Per the Pillow 5.0.0 release notes, this can be disabled by setting Image.MAX_IMAGE_PIXELS = None. I made this change in ed05162933fbb9f9f1fbeba9168a102fa0d17aef.

That's amazing @mpetroff ! Sorry for not spotting the change.

Are you sure you're using the newest version of generate.py and everything?

Everything works
Thank you
http://www.buy3Dglasses.fr
2018-05-12 13:05 GMT+02:00 Daniel<EMAIL_ADDRESS>
Are you sure you're using the newest version of generate.py and everything?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/mpetroff/pannellum/issues/596#issuecomment-388547530,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AlZC0o9bD6BSQQd6Dl0Oe_sJ952rTo1-ks5txsIOgaJpZM4TdtkT
.

@5680christophe Advertising in this issue tracker is entirely unacceptable. As is emailing me 15 minutes after opening this issue with the exact same question, because clearly I should be helping you instantly.


[FEAT] support --logo-width / --logo-height options for image files

Wanted features:
As a user who is providing a random image file from a directory (currently via scripting, until #834 #829 is addressed), I want to be able to control the maximum width of the image via the --logo-width and/or --logo-height options, so that large images are scaled down in size, leaving enough room for the system information to be displayed.
Motivation:
Currently --logo-width appears to be ignored for images, so large images can consume up to the entire width of the terminal window, leaving no room for the textual system information to be displayed.

Currently --logo-width appears to be ignored for images

It should work with --sixel and --kitty. You may notice text collapse, prefix fastfetch command with clear && can be used as a workaround.

I'm using --iterm, which may explain why images aren't resized.

if you use --iterm, both logo-width and logo-height need to be specified to make it work

Oh interesting. Is there a way to get proportional scaling by width alone when in --iterm mode, without resorting to calculating width and height externally?

Love it! Thank you for working on this!


Two colliding KinematicBody2D might push one another

Create a scene file that contains the following:

KinematicsBody2D

Sprite
CollisionShape2D

Set the CollisionShape2D to a reasonable size (in my case, it was 16x48 as my sprite is 32x96).
From another scene, instantiate this scene using the + button that says "Instance a Node from scene file".  Create two instances of this scene, let's call them A and B, and put them side by side, separated by a couple hundred pixels or so.
Create a script for instance B, and instruct it to move toward A.  This is an example script that instructs B to keep moving to the left:
extends KinematicBody2D

var speed = 100.0
var movement_vector = Vector2(-1, 0)

func _ready():
    set_fixed_process(true)
    pass

func _fixed_process(delta):
    var motion = move(movement_vector * speed * delta)

Then create another script for A that takes input from player and have it move up and down.
extends KinematicBody2D

var movement_speed = 100

func _ready():
  set_fixed_process(true)
  pass

func _fixed_process(delta):
  if Input.is_action_pressed("ui_up"):
    move(Vector2(0, -movement_speed) * delta)
  if Input.is_action_pressed("ui_down"):
    move(Vector2(0, movement_speed) * delta)

Run the scene.  Wait until B hits A, both objects will collide and stop moving.  Then wiggle A by pressing up and down repeatedly, you will notice B will slowly push A on the X axis to the side, even though A isn't supposed to be moving along the X axis.

This is intended behaviour, see https://github.com/godotengine/godot/issues/3719#issuecomment-184716900:

This is not a bug, just don't move the platform with move() if you don' t want collisions to affect it. Set the transform normally from code or animate it with an AnimationPlayer

DAMN!  Like pushing a crate exactly 16 pixels ends up 17.984 which ruins the grid movements.
Sorry for screaming, but really.. I am trying to implement a grid like movement in a pixel perfect game port. Godot is not so nice for such type of games with lots of numerical imprecision. It doesn't say that in the tutorial. I really like Godot, but I might switch to Game Maker since it more friendly to pixel perfect sprite games.


lwip as a child process

Generally speaking image processing is CPU intensive, so I was wondering if anyone has tried lwip running as a child process? This should be pretty straight forward I reckon?
While users are uploading images to my site and lwip is doing work, I don't want the main thread to lag causing my web server to slow down.
Is this a valid concern at all?

This is how I handled it as well. I have a slave process that handles resizing and uploading images

@thedewpoint Have you got any code you'd like to share?

sure I created a gist. its not pretty but it gets the job done
https://gist.github.com/thedewpoint/ff143e0fc780b251b0281a866b008bdc

Awesome. Thanks @thedewpoint

lwip does image operations on worker threads, so in that sense it's non blocking.
If you want a separate process, you'd have to fork a child.


Multiple instances of a provider

@halo how should we name the flag that a provider can only have one instance?
what about multiple: true|false with false as a default?

How about unique: true like in Rails? But multiple is also fine with me.

unique sounds good!

A provider can have as many instances as you want now.


Maintain order of In

Is it possible to maintain the order of In during a query? This is useful for fetching search results that are ranked using an external service

Can you be more specific? Can't you just use an additional OrderBy in your query?


Return empty byte array

fix #203

Does similar behavior occur for empty strings? Are NULL and an empty array the same in C? Why is the native API returning NULL?

Strings returned by sqlite3_column_text() and sqlite3_column_text16(), even empty strings, are always zero-terminated. The return value from sqlite3_column_blob() for a zero-length BLOB is a NULL pointer.

https://www.sqlite.org/c3ref/column_blob.html.
Zero-length arrays in C depend on the version of C.

:shipit: Thanks for following up.

Does SqliteDataReader.IsDBNull return true For these values?

This is the original issue. This fixes this misalignment of SqliteDataReader returning null even though IsDBNull == false.


checkbox was not checked when the post was in fact published

=> checkbox was not checked when the post was in fact published

This @24aitor ... Always giving problems... hahahah

This implementation is not correct @Naoray . I know that is a little issue, but this pr will not remember old publication never, because if you uncheck the public button and validation fails, old() ever will get the $event->public value instead of false.
Will fix tomorrow....
@ConsoleTVs be sure of merging PR!

@24aitor sure it does:
case unpublished:

=>

case published:

=>

Yes indeed, but test this:
1 - Create a post and set public true, then it will be published
2 - Try edit it, mark public as false, and make that validation fails (with empty content for example)
3 - Returning from validation it will load the $event->public value, not the old('public')
Today I'll solve it, don't worry

Looking forward to it.
On May 23, 2017 08:29, "Aitor Riba Archilla"<EMAIL_ADDRESS>wrote:

Yes indeed, but test this:
1 - Create a post and set public true, then it will be published
2 - Try edit it, mark public as false, and make that validation fails
(with empty content for example)
3 - Returning from validation it will load the $event->public value, not
the old('public')
Today I'll solve it, don't worry
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/Laralum/Blog/pull/10#issuecomment-303302750, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AJrwdFx35tZRcAIUNL6fGAwAn11uMXzCks5r8ny3gaJpZM4NiyS4
.

Fixed on relase 1.2.2!


Update definition of task.source for automatically-collected tasks

Task-collection:

[ ] Add the task name (or slug?) to source.
[ ] Construct the source attribute as in the rules described in #702.
[ ] Set task.version according to the source

Copying the relevant part of #702:
Source attribute for automatically-collected tasks
We came up with an enriched version of the task.source attribute, for tasks coming from automatic collection from a python package.
The source will be a string with the following fields:

collection_type (required), e.g. pip_remote or pip_local (or maybe conda or others)
package_name (required), e.g. fractal_tasks_core. The ground truth value is the one in the output of pip show, rather than the user input.
package_version (required), e.g. 0.1.2. The ground truth value is the one in the output of pip show, rather than the user input (which is actually optional).
python_version (required), e.g. py3.8. This only takes into account major.minor. For the moment it is not fully supported (see #659), but it will be necessary to have it in the source.
package_extras (optional), e.g. some_extra1,some_extra2. Note an important difference from package name/version fields: this field cannot be extracted easily from pip show (we could rely on pip inspect, but it's a somewhat recent feature that I'd rather not include as crucial). Therefore we'll use the user input: if the user asks for package_extras="something_invalid", then we'll write "something_invalid" in the collected-tasks source.
task_identifier. This needs to be either the slug of the task name, or the executable name.

An example of the chosen source specs is
pip_remote:fractal-tasks-core:0.9.3:py3.9:extra1,extra2,extra3:create_ome_zarr

This source should be enough to enable some required client-side features (e.g. https://github.com/fractal-analytics-platform/fractal/issues/345 and https://github.com/fractal-analytics-platform/fractal-web/issues/149). In fact it will have more information than needed (e.g. the Python version and the package extras), but those are needed to make it as uniquely defined as possible.


fix: undefined event name in webhook handler

Fixes #12.
Credits: To @iamogbz who created this fix

Hi,
just fyi: this patch works for me :tm:


Add: Pluto TV Frasier

Channel Name
Pluto TV Frasier
Alternative Names (optional)
No response
Network (optional)
Pluto TV
Owners (optional)
No response
Country
US, CA
Subdivision (optional)
No response
City (optional)
No response
Broadcast Area
s/EN-US;s/EN-CA
Languages
eng
Categories (optional)
No response
NSFW
FALSE
Launched (optional)
No response
Closed (optional)
No response
Replaced By (optional)
No response
Website (optional)
No response
Logo
https://webtech-web-blu-assets.pluto.tv/assets/images/favicon/large-2799d0f684129fdce330463c1dec2c98.png
Notes
No response

Please update your request:

country code is incorrect
broadcast area code is incorrect

https://github.com/iptv-org/database/blob/master/CONTRIBUTING.md#channels

sorry, how was this information incorrect? this should all be correct.

Country
Country code from which the channel is transmitted. A list of all supported countries and their codes can be found in data/countries.csv
Broadcast Area
List of codes describing the broadcasting area of the channel separated by ;. Any combination of r/<region_code>, c/<country_code>, s/<subdivision_code>.
https://github.com/iptv-org/database/blob/master/CONTRIBUTING.md#channels

I read the document again, and it seems like I filled it correctly.
The stream is in English, in Canada and in the US.

Could I get some clarification on this? What am I doing wrong here? I've got a few channels is like to add, and this is a big barrier to bring able to contribute them.

s/EN-US;s/EN-CA should be c/US;c/CA
You've used a subdivision pattern, while giving us countries.
To specify the broadcast area of a channel by their country, please use the "c/" suffix, as per https://github.com/iptv-org/database/blob/master/CONTRIBUTING.md#channels.
Subdivisions are there to say that the current channel is broadcasted in a region/state only.
US, CA should be split into two separate additions. One for the USA, one for Canada.
We do not accept multiple countries as an answer. This is to prevent having different conflicting feeds for the same channel. Especially in the case of Pluto TV, i'm pretty sure the link for both channels in the US and in Canada are different.

Ahh, thanks for this detail!
US, CA should be split into two separate additions. One for the USA, one for Canada.
Ahh, I'll keep that in mind for the future.
Especially in the case of Pluto TV, i'm pretty sure the link for both channels in the US and in Canada are different.
In this case, I know this link works for both in the US and Canada because I tested it while in both countries. It is the same link but, strangely enough, you do get served different ads during the break, so I imagine the server does do some geo-locating based on the connecting users IP address. (though ads are rare... up here in canada anyways, and you usually just get served the pluto banner)
You can verify this via a VPN.
Would you like me to delete and re-create this entry, or should I just edit it?

Ahh, thanks for this detail! I really appreciate it.
US, CA should be split into two separate additions. One for the USA, one for Canada.
Ahh, I'll keep that in mind for the future.
Especially in the case of Pluto TV, i'm pretty sure the link for both channels in the US and in Canada are different.
In this case, I know this link works for both in the US and Canada because I tested it while in both countries. It is the same link but, strangely enough, you do get served different ads during the break, so I imagine the server does do some geo-locating based on the connecting users IP address. (though ads are rare... up here in canada anyways, and you usually just get served the pluto banner)
You can verify this via a VPN.
Would you like me to delete and re-create this entry, or should I just edit it?

It would be best to just edit your current entry, and add another one for Canada.

Done. Thanks for your help @BellezaEmporium I really appreciate it.
I Added #12440 to compliment this entry. Please let me know if there's anything I need to fix.

Made a few changes :

Pluto TV calls it "Frasier" only. Keeping the Pluto TV in Network is enough.
Correct logo


5.10.0 throws error when trying to use Prisma types (enums) in the frontend.

Bug description
I occasionally use Prisma types in the frontend, especially enums, for validation but also for creating components. This has worked historically but in 5.10.0 I get the following error:
Uncaught Error: PrismaClient is unable to run in this browser environment, or has been bundled for the browser (running in `unknown`).

This is an example of how I use a Prisma enum in React:
import { OrderType } from "@prisma/client";
...

return (
...
<SelectGroup>
	{Object.keys(OrderType).map((order) => (
		<SelectItem key={order} value={order}>
			{order}
		</SelectItem>
	))}
</SelectGroup>
)

How to reproduce
Updated to 5.10.0 from 5.9.
Expected behavior
mapping over the Prisma type to not throw an error for using the enum in the frontend.
Prisma information
generator client {
    provider        = "prisma-client-js"
    previewFeatures = ["relationJoins"]
}

datasource db {
    provider = "mysql"
    url      = env("DATABASE_URL")
}

enum OrderType {
    SampleOrder
    Shopify
    Wholesale
    Links
    Manual
    Api
    WholesaleGuest
}

prisma client:
import { PrismaClient } from "@prisma/client";

const prismaClientSingleton = () => {
	return new PrismaClient({
		log:
			process.env.NODE_ENV === "development"
				? [
						{
							emit: "event",
							level: "query",
						},
						"error",
						"warn",
				  ]
				: ["error"],
	});
};

type PrismaClientSingleton = ReturnType<typeof prismaClientSingleton>;

const globalForPrisma = globalThis as unknown as {
	prisma: PrismaClientSingleton | undefined;
};

const prisma = globalForPrisma.prisma ?? prismaClientSingleton();

export default prisma;
export * from "@prisma/client";

if (process.env.NODE_ENV !== "production") globalForPrisma.prisma = prisma;

prisma.$on("query", (e) => {
	console.log("Query: " + e.query);
	console.log("Params: " + e.params);
	console.log("Duration: " + e.duration + "ms");
});

Environment & setup

OS: macOS
Database: Planetscale / mySQL
Node.js version: v21.6.1

Prisma Version
Environment variables loaded from .env
prisma                  : 5.10.0
@prisma/client          : 5.10.0
Computed binaryTarget   : darwin-arm64
Operating System        : darwin
Architecture            : arm64
Node.js                 : v21.6.1
Query Engine (Node-API) : libquery-engine 5a9203d0590c951969e85a7d07215503f4672eb9 (at<EMAIL_ADDRESS>Schema Engine           : schema-engine-cli 5a9203d0590c951969e85a7d07215503f4672eb9 (at node_modules/@prisma/engines/schema-engine-darwin-arm64)
Schema Wasm             : @prisma/prisma-schema-wasm 5.10.0-34.5a9203d0590c951969e85a7d07215503f4672eb9
Default Engines Hash    : 5a9203d0590c951969e85a7d07215503f4672eb9
Studio                  : 0.498.0

Setting both @prisma/client and prisma to 5.8.1 resolved the issue for me. I was using prisma 5.10.1

@Mateleo could you please provide us with a reproduction or a repository for us to take a look at?

@millsp after trying to setup a repoduction, it's seems it was an issue with npx prisma generate not up to date. So no issue for me in 5.10.2.

yep I think @Mateleo was correct! I was using bunx so I probably had the same prisma generate issue. Issue is resolved on my end.


Attempt to read cgroups for resource tuner limits

DRAFT while undergoing some testing

Supersedes https://github.com/temporalio/sdk-go/pull/1630


Be able to install different SDNs

Is your feature request related to a problem? Please describe.
Be able to have the choice to pick from different SDNs during install.
Describe the solution you'd like
Maybe pass a keyword argument for the ansible script which identifies the kind of SDN network to be installed. To get started, Omnia could support Calico, Cilium, Contiv-VPP, Kube-router, Weave Net. I think these are commonly used ones, supported by Kubeadm installation path.

We can now choose from flannel and calico SDNs. We can add additional SDNs if we see interest.


Compute a restore proc from a backup proc string

Suggestion by @lavalamp posted in the defunct GitLab repo (old issue)

I realize there's no way to know the inverse of a user-specified command, but it would be pretty handy to at least know where I ought to plug it in :)

My response:

Actually, automatically computing the reverse chain is what I had in mind originally 🙈 But as I added new procs, I realized there were too many discrepancies from one to the other to to be able to easily compose a reverse chain from the reverse version of each proc (unproc) because there can exist differences between proc and unproc, such as:

different arguments (ex: index takes a path, uindex no)
different requirements (ex: uparity requires checksum + group, parity no)
and most blocking... the requirements of a proc may come from different sources, forcing to make assumptions as to which proc to use to meet the requirements (ex: checksum for uparity -> can come from uindex or checksum)

Instead of introducing potential brittleness, I felt I would be more confident in the restore process if the restore script was written just as explicitly as the backup script.

it would be pretty handy to at least know where I ought to plug it in :)

If you were to start working on such a feature, I suggest you start from listing the types returned by ArgLambdas in argproc (the proc string parser). And for each, implement an unprocer interface (defines Unproc() (Proc, error)) that returns the reverse Proc. You would implement it in procs.Chain too, which would return the unproc of the procs composing it, in reverse order. All of them must implement Unprocer, otherwise return an error. This way, reversing a chain containing chains works too. But then you have to check the requirements are met. So each proc would define a list of what they do (assign checksum, group chunks, etc.) and it becomes... a tangled mess... At least I don't yet have a clear vision of how to do it in a maintainable manner 😅


Cleanup: fix some typos in code comment

Signed-off-by: Guangming Wang<EMAIL_ADDRESS>

Thanks @ethan-daocloud


Update MSDN links, Part 27

@NextTurn : Thanks for your contribution! The author, @gitralf, has been notified to review your proposed change.

#sign-off

Hi @gitralf and @NextTurn - Since the public repo doesn't have staging and validation tools, you'll need to manually double-check that the links are working  correctly after the changes are live.
Thanks.


New test cmdpos-elision-partial fails on travis

The newly added regression tests fails on travis under all zsh versions, with the following output:
1..5
## cmdpos-elision-partial
# BUFFER='$x -u phy1729 ls'
not ok 1 - [1,2] «$x» - expected (1 2 "precommand"), observed (1 2 "unknown-token").
ok 2 - [4,5] «-u»
ok 3 - [7,13] «phy1729»
not ok 4 - [15,16] «ls» - expected (15 16 "command"), observed (15 16 "default").
ok 5 - cardinality check

The test passes for me with plain 5.7.1, but fails on travis with the same version.
Does anyone see why the test fails on travis?
Could someone please run make quiet-test locally and post the output here?
This is tentatively a release blocker, until we know whether it's a z-sy-h problem or a travis problem.

Fixed in e07c901dfd5f0f1282cb027ea015c7b96aa576ed.  Thanks @phy1729 for the suggestion.


📖 Basic API structure and returning data catalog

I have set up a basic API structure and a first route for getting all items in the data catalog.
To test the API, follow the instructions in the README.md under kuwala/core/backend.

Also, i think we should add all the data connectors setting into the database model. we can save it as a serialized json with values:
{
 input_name: 'port',
 input_type: 'number'
}

Also, i think we should add all the data connectors setting into the database model. we can save it as a serialized json with values:
{
 input_name: 'port',
 input_type: 'number'
}

Makes sense! Will include that for this PR. ✌🏽


Swap Links P2P

TODO: Write this message
TODO: Code tidy up
TODO: Security
Set scale to whatever your machine can handle
./gradlew build docker
docker-compose up --scale minima_peer=3 --scale minima_client=5 -d

This was the p2p system for minima 0.98.44. We decided to skip ahead to the 0.100 version


Set timeoutFactor to 20 for RISC-V tests

This is based on the suggestion in slack at https://adoptium.slack.com/archives/D02FJ8V16Q6/p1637061299000100?thread_ts=1632900859.002400&cid=D02FJ8V16Q6 - many of the Bisheng11 sanity.openjdk suite tests hit timeouts at the moment.

Hi @sxa, I'm looking for the result of RISC-V tests with larger timeoutFactor, where  can I find it :eyes:?

This issue has been raised to over making the change to increase the timeout factor. It has not been done yet.

This issue has been raised to over making the change to increase the timeout factor. It has not been done yet.

Thanks for your information. Please me know if there is any failed test, we can take a look at it.


Set all azcosmos telemetry spans to have the Kind of SpanKindClient

Many tracing tools use the kind of the telemetry span to show the span in a specific way. By setting the azcosmos spans to type of Client, they will allow telemetry tools to treat the spans as the span of a database Client. When a span kind is not specified it is default to a kind of "Internal" which shows up to tracing tools as if these spans are part of internal code logic instead of spans generated by database client.
I've bumped azcore to v1.16.0, because that's the first version of azcore that allows the Span kind to be specified in the StartSpanOptions.

[X] The purpose of this PR is explained in this or a referenced issue.
[X] The PR does not update generated files.

These files are managed by the codegen framework at Azure/autorest.go.

[X] Tests are included and/or updated for code changes.
[X] Updates to module CHANGELOG.md are included.
[X] MIT license headers are included in each file.

The lint errors on this PR appear to be unrelated to the changes, should I take any action on them?

@simorenoh @analogrelay - can one of you take a look at this.

The lint errors on this PR appear to be unrelated to the changes, should I take any action on them?

I believe you're correct, they're unrelated, but I'd love to get us green on this PR before we land it. Let me take a look and see if it's a straightforward fix. If it is, it'd be good to get it in here.

Yeah, it's a straightforward fix, just removing the nil checks here:
cosmos_item_request_options.go:45:5: S1009: should omit nil check; len() for []string is defined as zero (gosimple)
	if options.PreTriggers != nil && len(options.PreTriggers) > 0 {
	   ^
cosmos_item_request_options.go:49:5: S1009: should omit nil check; len() for []string is defined as zero (gosimple)
	if options.PostTriggers != nil && len(options.PostTriggers) > 0 {
	   ^
cosmos_location_cache_test.go:186:5: S1009: should omit nil check; len() for []github.com/Azure/azure-sdk-for-go/sdk/data/azcosmos.accountRegion is defined as zero (gosimple)
	if dbAcct.WriteRegions == nil || len(dbAcct.WriteRegions) == 0 {

I haven't yet been able to track down why these weren't failing before. There was a change to this file last month that built successfully, and as far as I can tell, we haven't changed our golangci-lint config since then. I'll do a little looking, but the fix should be safe and straightforward. len(nil) is safe to call and returns 0, which works for all these cases. @kjg would you mind making that change here to get us green? We don't need this check to merge but I don't like merging with red checks unless there's a very good reason to :).

I'll make it here, Thanks!

I haven't yet been able to track down why these weren't failing before.

Looks like there was an update of our golangci version in https://github.com/Azure/azure-sdk-for-go/pull/23536 that was green in the PR (because that PR didn't build all the packages) but failed in main because of the linter update. That likely explains why the lint started failing without a specific PR to cause it.

It looks like all the tests are passing now, so I think this is good to go. Thanks for the guidance!

@kirankumarkolli @Pilchie @simorenoh @kushagraThapar  , I'm not a CODEOWNER yet. Could one of you take a look at this?


Catch rare error with allele fraction calculation

Back to @achevali.

Back to @davidbenjamin

@achevali Good to go.


Question in reproducing experimental results.

HI😊, we are reproducing your experimental results as the baseline of our method.
We are confused by the following questions. 🤔
First, why running the following code needs more than 1 minutes? Since the prompt is short, it is expected to finish very quickly.
In [8]: prompt = "TESLA company is found by"
In [9]: output = model(prompt=prompt)
...(a long time)...

Second, after waiting for over 1 min, we finally got the results looks like this:
In [10]: output
Out[10]: {'text': ['Nik']}

We think this output is not reasonable and want to know if there are some improper configurations in the following scripts?
@dataclass
class MagicpigConfig:
    server_type: str = 'hf'
    server_host: str = '<IP_ADDRESS>'
    server_port: str = '5000'
    ssh_server: Optional[str] = None
    ssh_key_path: Optional[str] = None
    model_name_or_path: str = 'meta-llama/Llama-2-7b-chat-hf'

    temperature: float = 0.0
    top_k: int = 32
    top_p: float = 1.0
    random_seed: int = 0
    stop_words: list = field(default_factory=list)
    sliding_window_size: int = None
    threads: int = 1

    K: int = 10
    L: int = 150
    S: float = 4.0
    W: int = 64
    Q: int = 0
    QR: float = 0.0
    max_seq_length: int = 4096
    max_new_tokens: int = 128

If there are improper configurations for short prompt generation, we want to further know what is the most suitable configuration under different prompt length? e.g. 1K, 2K, 4K, 8K.

I am unsure whether you can directly input a sentence  (without tokenization) into a model. Can you run the RULER experiments?

☺☺Thanks a lot for the answer🙏.
One more question for you, how can I stat the concrete pruning rate used in the decoding phase 🤔? As MagicPIG uses dynamic retrieval, it is not like Quest, which uses a fixed token budget.
By the way, if I got the concrete pruning rate, can I use the following formula to calculate the overall equivalent token budget 🤔?
sink_budget = 4
local_budget = 64
equivalent_budget = pruning_rate * prefill_context_length + sink_budget + local_budget

I think your understanding is correct. BTW, we will release v0.2 next week. Maybe make it easier for you to evaluate.

Thanks a lot!☺ Looking forward to your new release.


New version: MusicManipulations v0.11.0

Registering package: MusicManipulations
Repository: https://github.com/JuliaMusic/MusicManipulations.jl
Created by: @Datseris
Version: v0.11.0
Commit: 7addd0ea12ba11f8cec896d41f41dd71b3201490
Reviewed by: @Datseris
Reference: https://github.com/JuliaMusic/MusicManipulations.jl/commit/7addd0ea12ba11f8cec896d41f41dd71b3201490#commitcomment-35844852

Hi, here it says that there are conflicts, so I assume it can't be merged automatically.
[noblock]
[noblock]

Yea, you have to retrigger the bot (JuliaRegistrator). [noblock]


Raise structured InvalidZ3Object if ensureValidZ3Object fails

This trivial change prepares the way for working on #coerce:

@janvrany 's version wins.


Update find-faces.ps1

Module: 03
Lab/Demo: 03c
Fixes # .
Changes proposed in this pull request:

Face API detect parameter returnFaceId default value is true, this is a restricted feature. Add the parameter in the request url as false to fix the lab excercise.

Thanks so much @tomkiljo, we took a look and didn´t see a difference between running the script as is and running it with the extra "&returnFaceId=false" code because this feature as disabled by default. However, it's great that you are aware of this and for your own code you could definitely include.

Interestingly the api reference says the default is enabled, and it didn't work for me before adding it explicitly. Maybe a difference in locations..


Delete Amazon ECR

thank you 🙂

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.


[WIP] Translation of React Developer Tools Page

Can we start it as a draft so that no one mistakenly merge it. I know you added WIP. But it would be nice.

Can we start it as a draft so that no one mistakenly merge it. I know you added WIP. But it would be nice.

I was waiting for the CI CD to pass

I concur mostly with @KhanShaheb34 Added another suggestion from my side.

LGTM

@shakib609 @nafistiham requesting one more approval from you guys. We are almost near to complete our first page with a great effort by @nomandhoni-cs bhai.

👍


Package mathspec Error: amsmath' must be loaded earlier than mathspec'.

Hi,
I use  xelatex shipped within texlive 2019.
See here for more detail:
https://groups.google.com/forum/#!topic/comp.text.tex/JOj1xzCqtAk
Regards

as explained in the answer here
https://tex.stackexchange.com/questions/533209/repost-it-with-a-minimal-working-example-for-the-amsmath-must-be-loaded-earlier
this is really an error in the mathspec checks butthe main error is in the document which should not be loading unicode-math and mathspec at the same time.

Thanks.


updates to docs

@nolanjacobson @jdutchak it would be great to have these merged by tomorrow, 5/23?


stop and start instead of restart

I have a few containers that are finicky with restarts and are best stopped and started. adding this functionality could also help stopping containers for a set amount of time so those with DBs that need backed up could do so. A restart is too quick to allow backups.

in the latest image deduard/tools:restart-notifier-test I added parameter:
CYCLE_PERIOD: delay between container restarts, 10000ms (10 sec) by default
It still use docker restart command and I guess it doesn't cover your case.
Could you share more details about you restart cycle? I'd like to try to reproduce it


Unable to test JS Flash Messages

I switched over to web-kit because Firefox kept loading with selenium.
I have growl like flash notifications with my app, and they don't seem to get parsed when loaded in the DOM.
Not really sure how to trouble shoot this. Any help would be great.

Some more information would be helpful:

What does the failure message look like?
What does your test look like?
What does the markup look like for the flash notifications?
What does the CSS look like for the flash notifications?
What does save_and_open_screenshot look like on a page where you think the flash notifications should be appearing?

Closing due to lack of response


Attach databases limit, custom sqlite3 binary

TL;DR: How to set limit of attached databases to more than 10?
Sqlite3 by default has limits of attached databases per connection set to 10. I need to attach more than 10 and the easiest work around for me is to modify source code of sqlite and set limit to (for example) 100.
I did this using this:
https://www.sqlite.org/amalgamation.html
and as a result i have my own modified sqlite3 binary. When i use sqlite3 in terminal i can attach more than 10 databases and it works fine.
But i could not manage to use this feature in node-sqlite3.
I tried all sort of variations of commands like this:
npm install sqlite3 --build-from-source --sqlite=/usr/bin/sqlite3
(my modified binary is in /usr/bin/sqlite3)
and it always ends up installing default sqlite from node-pre-gyp and i still have attach limit set to 10;
I also tried to overwrite node_sqlite3.node by my binary but i got this error:
Error: /var/www/backend/node_modules/sqlite3/lib/binding/node-v57-linux-arm/node_sqlite3.node: cannot dynamically load executable
at Object.Module._extensions..node (module.js:682:18)
at Module.load (module.js:566:32)
at tryModuleLoad (module.js:506:12)
at Function.Module._load (module.js:498:3)
at Module.require (module.js:597:17)
at require (internal/module.js:11:18)
at Object. (/var/www/backend/node_modules/sqlite3/lib/sqlite3.js:4:15)
at Module._compile (module.js:653:30)
at Object.Module._extensions..js (module.js:664:10)
at Module.load (module.js:566:32)
I am working on Rapsberry Pi and my OS is Raspbian GNU/Linux 9 (stretch)

nvm, i found work around for this


Reviewer dropdown never hits cache

I always have to wait.

The logs indicate that the slowness is coming from downloading avatars. I will add real caching for avatars.

This works fast for me now, 🆒 . Not sure if related, but I see no avatar images for most entries:

I guess this is only being updated as long as the picker is opened and not in the background?


[ko] Translate the glossary term 'Endpoints' into Korean

This is a Feature Request
What would you like to be added
Translate the glossary term "Endpoints" into Korean.
Why is this needed
Not translated into Korean yet.
Comments
EN entry: https://kubernetes.io/docs/reference/glossary/?all=true#term-endpoints
KO entry: https://kubernetes.io/ko/docs/reference/glossary/?all=true#term-endpoints
/language ko
/assign

/triage accepted


Poetry by default installs to main dependencies

But should install to dev-dependencies

Closing as this has been merged in.


Did Xiaomi stop maintaining the mace repo?

This is not a real issue but a question. Is Xiaomi still maintain the MACE repo?

yes