Fix failing Release mode unit tests

HttpUtilityTests:

Align list of reserved characters with https://datatracker.ietf.org/doc/html/rfc3986#section-2.2 in HttpUtility implementation
Use capital-case characters for percentage-encoding
Stop using UrlEncoder in HttpUtility.Encode method in Release mode

Http2ConnectionHandlerTest:

mock FrameWriter.WriteGoAwayAsync with Task.Delay to force scheduling channel.Close

SingleThreadEventLoopTest:

mark two tests validating behavior of ExecuteAfterEventLoopIteration as DEBUG-only since the method itself is DEBUG-only.

misc:

Use proper array pool reference in ArrayPooledByteBuffer tests

/azp run

/azp run

Re-running to find flaky tests again, but this one failed in previous run: https://msazure.visualstudio.com/ApiManagement/_build/results?buildId=106249508&view=ms.vss-test-web.build-test-results-tab&runId=1852304777&resultId=106704&paneView=debug

/azp run


Bug: Order is not confirmed when using transactionAPI

What are you trying to achieve?
With enabled automatically_confirm_all_new_orders, the orders paid with transactionInitialize, transactionProcess should be marked as confirmed
Steps to reproduce the problem

enable auto-order-confirm
Create the order from checkout by calling orderCreateFromCheckout
3.Process the payment with transactionAPI - transactionInitialize, transactionProcess
The order is fully paid, but the status of it is still unconfirmed.

What did you expect to happen?
In the case of calling orderCreateFromCheckout, the order is marked as unconfirmed.  The Transaction API for processing the payment  (transactionInitialize, transactionProcess) should validate the order status & order settings and update the order status to unfulfilled.
Logs
No response
Environment
Saleor version: …
OS and version: …

This is also the case for transactionEventReport https://github.com/saleor/saleor/issues/12531

This has been resolved in https://github.com/saleor/saleor/pull/16254 and ported to versions down to 3.14.


Feature Request: Markdown wiki link extension support?

Hello:
it would be nice if you could support wiki link markdown extension:
Simple example:
[[Hello, world]] points to "Hello, world.md"

examples and specs can be found here:
https://python-markdown.github.io/extensions/wikilinks/
https://en.wikipedia.org/wiki/Help:Link#Wikilinks_(internal_links)
It is mainly used in personal note taking software like obsidian or zk.
Thanks.

This would be awesome


DISTX-266

NOTE: the first two commits are from https://github.com/hortonworks/cloudbreak/pull/5653.
I included them here because I move one of the files and would have a rebase conflict without them.
The FMS was enhanced to better track SyncOperations and reject
concurrent requests.
The syncoperation table was modified
to add the environmentList and userList columns to represent
the scope of the sync operation. The SyncOperation entity was
modified to use new AttributeConverters to hide the conversion
to/from Json.
When requested, the FMS will store the SyncOperation in the db
then check whether to accept the request or not based on other
active requests in the db.
The SyncOperationAlreadyRunningException was created and mapped
to 409 CONFLICT.

do we really need this on rc branch? I would prefer to merge this to master instead

I'm ok either way. I'd prefer to get this in earlier to prevent folks from spamming the sync api by accident. but we currently don't have any protection against it so I guess we can wait.
I'll re-open this against master with your requested changes

closing to reopen against master

Follow-up to #5652.


Improvements to build system by smillst

This is failing because checker-framework inference still uses langtools.  See https://github.com/eisop/checker-framework-inference/pull/5.

Replaced by #5


Code to collate the results

Hi,
The harness runs the tests and writes the logs, however, is there any utility to aggregate the results from those logs and create the numbers reported in the paper?
Thank you!

Hi @prabhuteja12, you may find this part of the evaluation tutorial helpful. It discusses getting statistics from the paper.
Hope this helps! I'll leave this open for another couple days in case there are any follow up questions.

Closing this issue for now, feel free to re-open if questions remain.


The last dimension of predicted logits discarded in inference but used in training

When I'm trying out the code of mask2former, I have the following observations
Let's say we have a label set with classes in [0, num_seg). Background is labelled 0.

During inference, in the function semantic_inference in mask2former/maskformer_model.py, the last axis of the predicted logits mask_pred is sliced and the last dimension is excluded. This convert the mask_pred from shape (..., num_seg+1) to (..., num_seg). This last dimension is considered as NULL class and is not used in inference. Any pixel is then classified as one of the num_seg classess later. Is this observation correct?
However, during training, in calculating the cross entropy loss on labels in loss_labels in mask2former/modeling/criterion.py in this sentence loss_ce = F.cross_entropy(src_logits.transpose(1, 2), target_classes, self.empty_weight),

src_logits.transpose(1, 2) contains num_seg+1 channels and the last channel stands for the NULL class
target_classes contain classes for each label and it has value in [0, num_seg)

So actually the last channel of the num_seg+1 channels of src_logits.transpose(1, 2) can never be indexed, but they can appear in the denominator in the CrossEntropyLoss. So the last channel is actually in the training.

Is this understanding correct?

Here comes a question on the consistency between training and inference. If a channel is used in training but discarded in inference. Is there a consistency issue? If this NULL label can never be predicted during inference, does that mean we are not supposed to use this class as a background class? Do we always have to add background as one of our class in the label?

The reason background class is discarded in the inference is purely because they are not supported in the evaluation metric. If there is a metric that supports predicting background, then we do not need to discard it.

Can we use Mask2Former on the semantic segmentation task with the PascalVOC2012 dataset? This dataset contains the 'background' class. I tried Mask2Former with it, and it just won't work. I find out that gradient explosion occurs.

Hello, @questionstorer, thanks a lot for your observations.
According to your observations, we should set NUM_CLASSES=num_seg and set IGNORE_VALUE=0, shouldn't we? That means the NULL class participates in training, whereas all the background pixels were set to the NULL class during testing.
Thanks for your help!


Add needed cstdint include

Without this, gcc-13 is logging the following error:
| ../git/libekb.H:17:1: note: 'uint8_t' is defined in header '<cstdint>'; did you forget to '#include <cstdint>'?
|    16 | #include <stdarg.h>
|   +++ |+#include <cstdint>

This commit was successfully built on Witherspoon, etc. with GCC-13.  We'd appreciate a quick review/merge of this trivial change since it is blocking OpenBMC Yocto updates.


cannot find symbol new VectorIconsPackage()

Hey guys i am trying to use react-native-vector-icons in my project but facing problem while building my project

here is my code for MainActivity.java
protected List getPackages() {
return Arrays.asList(
new MainReactPackage(),
new VectorIconsPackage(),
new MapsPackage(this)
);
please help guys.Thanks in advance

Same issue here, had to manually remove it

Can you tell me how you removed it manually?

With removing I meant not using these icons, I tried to remove it using rnpm unlink and uninstall but it didnt help, so I had to go to MainActivity.java and remove it myself.

Try integrating manually with the step-by-step instructions if rnpm fails.

@oblador Followed the manual instruction, still no good

Why is this issue closed?
Is there any fix to this?
I'm still getting this error even after manual step-by-step insturctions

Same

@Boredude: To use the basic functionality you only need the fonts themselves. It works just fine for a great deal of projects including the example project, the only ones i know of having trouble are using rnpn. It's very likely you overlooked a manual step or have a bad java/android setup. If you are certain it's a bug with this project and not yours, please post a link to a repo with minimal code reproducing this bug and I'll look into it.

@oblador I intentionally skiped couple of steps in the manual installation due to this message

These steps are optional and only needed if you want to use the Icon.getImageSource function or using custom icons in the Icon.ToolbarAndroid component.

Apparently those steps were critical and once I did them I got this working.
Thanks

Apparently those steps were critical and once I did them I got this working.

@oblador maybe its worth updating the readme

@aviadhahami That by ignoring installation steps you cannot expect it to work? :-)

@oblador The readme states that these steps are optional. However they were mondatory. I think this is what @aviadhahami  meant was worth updating

They are optional for most use cases and the docs state when they are mandatory:

These steps are optional and only needed if you want to use the Icon.getImageSource function or using custom icons in the Icon.ToolbarAndroid component.

FYI, if you use rnpm to install and it fails with this error, its because its missing the
compile project(':react-native-vector-icons')  under dependencies at android/app/build.gradle

I used react-native link, but it did not work on android - iOS was fine.
I realized that this line
import com.oblador.vectoricons.VectorIconsPackage;
was missing in MainApplication.java
Hope I could help!

this kind of errors happen usually when there is missing dependency or import . check for those issues . in build.gradle or main java file .

@fmoessle Putting 'import com.oblador.vectoricons.VectorIconsPackage;' in MainApplication.java helped. Thanks.

Add this import on MainApplication.java
import com.oblador.vectoricons.VectorIconsPackage;
this solved my problem. Hope it helps

no, it's not helping, still have the same issue

@Kopatch worked here, thanks!

@fmoessle solved my issue
Thanks


context2d: paths sometimes not translating between pages

In context2d module at 3 places pages.sort() is being called. It sorts the pages as strings so 10 is before 9 for example. This causes problems when autoPaging is turned on.

get context2d
fill a rectangle for example, starting from page 10 going upwards to page 9.
nothing is drawn

Can you share a short code snippet that reproduces the issue?

var doc = new jsPDF({format:[100, 100]}); var ctx = doc.context2d; ctx.autoPaging = true; ctx.fillRect(0, 750, 20, 100); // rectangle starting from page 8 going to page 9 is drawn ctx.fillRect(0, 850, 20, 100); // rectangle starting from page 9 going to page 10 is not drawn

Ah yes, you are right. I'll prepare a PR.


sc-3471: add pull request template

Codecov Report

Merging #459 (847dfe5) into main (550c249) will decrease coverage by 9.30%.
The diff coverage is n/a.

:exclamation: Current head 847dfe5 differs from pull request most recent head 41d193a. Consider uploading reports for the commit 41d193a to get more accurate results

@@            Coverage Diff             @@
##             main     #459      +/-   ##
==========================================
- Coverage   47.01%   37.71%   -9.31%
==========================================
  Files         233      151      -82
  Lines       11652     2368    -9284
  Branches      604      604
==========================================
- Hits         5478      893    -4585
+ Misses       5217     1302    -3915
+ Partials      957      173     -784

Impacted Files
Coverage Δ

...thub.com/trisacrypto/directory/pkg/bff/parallel.go

...ithub.com/trisacrypto/directory/pkg/trtl/backup.go

...ub.com/trisacrypto/directory/pkg/sectigo/errors.go

...m/trisacrypto/directory/pkg/trtl/config/replica.go

...ub.com/trisacrypto/directory/pkg/sectigo/config.go

...ithub.com/trisacrypto/directory/pkg/gds/service.go

...m/trisacrypto/directory/pkg/gds/admin/v2/errors.go

...m/trisacrypto/directory/pkg/utils/logger/logger.go

...m/trisacrypto/directory/pkg/trtl/replica/stream.go

...b.com/trisacrypto/directory/pkg/gds/tokens/mock.go

... and 72 more

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 550c249...41d193a. Read the comment docs.


Hello, how to enable Spark's column lineage？

Same ask here, any plan to support it or design to track it?

@fengzhongfeixu @nicolaszhang do you have examples of libraries that are able to track spark column lineage?

+1


Are there any plans to add a function to integrate color information?

Question
Are there any plans to add a feature that integrates the color information from color images into volumetric mapping, similar to the existing feature that integrates depth images into volumetric mapping?

Hi @Tacha-S,
The main upcoming features are a plugin system (to make it easy to extend wavemap with functionalities like local mapping) and large set of tooling for path planning (ESDFs, global planners, etc). Unfortunately, I won't have time to work on integrating color information myself in the coming months as I'm quite busy finishing my PhD. Would you be interested in working on it? If so, you could collaborate with gyeongmin6099 who mentioned he would also be interested in working on this (see this issue).

I created a matching feature request here, in case you're interested in contributing or joining the discussion.

Thank you for the information.
I apologize for not finding #55 , even though you were having a similar discussion.
When I have time, I plan to contribute to the discussion and PRs.
Since there is already an issue created for the discussion, I will close this issue.


RHI frame sync is CPU bound for vulkan backend

The current profiling data shows that the RHI is currently CPU bound, taking over 40ms for Sponza Scene on a 2K monitor. it does hit 60fps at 1080p but the main culprit is the vkWaitForFences taking as long as upto 4-5ms in some frames.
Investigate -> study other vk examples -> make better design and remove the CPU bound dependency.
Here is the tracy profile SS for reference:
60pfs@1920x1080 RT Sponza Sandbox

24fps@2560x1440 RT Sponza Sandbox

As you can see the vkWaitForFences is taking upto as much as 70% of the frame time.

NSight shows SSAO is taking over 70% of the frame time: mainly due to we read and write to same texture in within the same frame graph pass which needs to be resolved ASAP.


How to get list of users followed/unfollowed?

How can I get more detailed log to get name of users I followed on unfollowed!
I want to create a list of users I unfollow to blacklist them.

You would want to be maintaining a list yourself, either in a text file or a database of who you've followed/unfollowed. Once you own the data you can take action on the list.

Yes, that was my question. How can I create this list? Is there list of users followed stored or logged somewhere?

Reopen if you still have not found the solution.


Support loading icons from other assemblies (e.g. Plugins)

GetIcon() does not support loading icons if the icon is in the resource of a different assembly. This is needed to support icons in plugins.

This is a sensible improvement, and the logic looks sound! (I remember looking into this section at some point in the past.)
However, the indentation is messed up, it looks like a classic case of tabs versus spaces. If you you translate the spaces into tabs as is the custom in this codebase so that everything looks right, I'll be happy to merge this.

Updated intends (by replacing 4 spaces with tab, don't know why mono used spaces...)

Cool, thanks! Like I said, I feel confident mergin this PR but the others will have to wait for review from someone more knowledgable. :+1:


large memory usage

Describe the bug
XChart seems to be using a larger amount of memory than expected, i.e. compared to JFreeChart.
To Reproduce
I coded two simple examples, where clicking a button adds X number of data points to an XY chart (i.e. X=18000 to represent one sample per second for 5 hours). One example uses XChart and the other uses JFreeChart.
I used VisualVm to monitor the heap usage before and after adding the data points. I included the screenshots below. For each test, I clicked the button to add the data 5 times, each click roughly 10 seconds apart.
XChart Example
package org.example;

import org.knowm.xchart.QuickChart;
import org.knowm.xchart.XChartPanel;
import org.knowm.xchart.XYChart;

import javax.swing.JButton;
import javax.swing.JFrame;
import java.awt.Color;

public class SingleShotExampleXChart {
    public static final int NUM_DATA_POINTS = 18000;

    public static void main(String[] args) {
        double[] xData = new double[NUM_DATA_POINTS];
        double[] yData = new double[NUM_DATA_POINTS];

        final XYChart chart = QuickChart.getChart("Simple XChart Demo", "Time (ms)", "Y", "mockData", xData, yData);
        XChartPanel<XYChart> chartPanel = new XChartPanel<>(chart);

        JFrame frame = new JFrame("XChart Example");

        long timestamp = System.currentTimeMillis();
        for (int i = 0; i < NUM_DATA_POINTS; i++) {
            yData[i] = Math.random() * 100;
            xData[i] = timestamp + i;
        }

        JButton button = new JButton("Add New Data");
        button.addActionListener(e -> {
            Color randomColor = new Color((int) (Math.random() * 255), (int) (Math.random() * 255), (int) (Math.random() * 255));
            chart.getSeriesMap().get("mockData").setMarkerColor(randomColor);
            chart.getSeriesMap().get("mockData").setLineColor(randomColor);
            chart.getSeriesMap().get("mockData").setFillColor(randomColor);
            javax.swing.SwingUtilities.invokeLater(() -> {
                chart.updateXYSeries("mockData", xData, yData, null);
                chartPanel.repaint();
            });
        });

        frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
        frame.setLayout(new java.awt.BorderLayout());
        frame.add(button, java.awt.BorderLayout.SOUTH);
        frame.add(chartPanel, java.awt.BorderLayout.CENTER);
        frame.pack();
        frame.setVisible(true);
    }
}

JFreeChart Example
package org.example;

import org.jfree.chart.ChartFactory;
import org.jfree.chart.ChartPanel;
import org.jfree.chart.JFreeChart;
import org.jfree.chart.plot.PlotOrientation;
import org.jfree.chart.plot.XYPlot;
import org.jfree.chart.renderer.xy.XYLineAndShapeRenderer;
import org.jfree.data.xy.XYSeries;
import org.jfree.data.xy.XYSeriesCollection;

import javax.swing.JButton;
import javax.swing.JFrame;
import java.awt.BorderLayout;
import java.awt.Color;

public class SingleShotJFreeChart {
    public static final int NUM_DATA_POINTS = 18000;

    public static void main(String[] args) {
        double[] xData = new double[NUM_DATA_POINTS];
        double[] yData = new double[NUM_DATA_POINTS];

        long timestamp = System.currentTimeMillis();
        for (int i = 0; i < NUM_DATA_POINTS; i++) {
            yData[i] = Math.random() * 100;
            xData[i] = timestamp + i;
        }

        XYSeries series = new XYSeries("mockData");
        XYSeriesCollection dataset = new XYSeriesCollection(series);

        JFreeChart chart = ChartFactory.createXYLineChart(
                "Simple JFreeChart Demo",
                "Time (ms)",
                "Y",
                dataset,
                PlotOrientation.VERTICAL,
                true,
                true,
                false
        );

        XYPlot plot = chart.getXYPlot();
        XYLineAndShapeRenderer renderer = new XYLineAndShapeRenderer(true, false);
        plot.setRenderer(renderer);

        ChartPanel chartPanel = new ChartPanel(chart);

        JFrame frame = new JFrame("JFreeChart Example");
        frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
        frame.setLayout(new BorderLayout());

        JButton button = new JButton("Add New Data");
        button.addActionListener(e -> {
            Color randomColor = new Color((int) (Math.random() * 255), (int) (Math.random() * 255), (int) (Math.random() * 255));
            renderer.setSeriesPaint(0, randomColor);
            plot.setRenderer(renderer);
            javax.swing.SwingUtilities.invokeLater(() -> {
                series.clear();
                for (int i = 0; i < NUM_DATA_POINTS; i++) {
                    series.add(xData[i], yData[i]);
                }
                chartPanel.repaint();
            });
        });

        frame.add(button, BorderLayout.SOUTH);
        frame.add(chartPanel, BorderLayout.CENTER);
        frame.pack();
        frame.setVisible(true);
    }
}

Screenshots
XChart

JFreeChart

Expected behavior
You can see from the screenshots, XChart is using several times more memory than JFreeChart: up to 1.25 GB at the peak.  Eventually, it looks like garbage collection kicks in, but even at this point XChart is using around 210 MB while JFreeChart is around 42 MB. Note, if I manually trigger garbage collection, the memory usage in XChart drops to negligible levels (~10 MB)

It seems unexpected for XChart to be using that amount of memory; ideally less memory would be needed.
Thank you!

I was unable to reproduce your problem. You can try to do a memory dump and see what's going on here.
Environment:

Windows 10
Oracle JDK 21.0.2 2024-01-16 LTS
XChart 3.8.8
JFreeChart 1.5.5

JVM Flags: -Xmx2G
XChart

JFreeChart

With -Xmx64M

@A1trdX Thanks for the reply. My apologies, I realize I forgot to include the environment I was using:

Windows 11
OpenLogic OpenJDK 1.8.0_392-392-b08
XChart 3.8.7
JFreeChart 1.5.5

I ran the examples from above again:

I tried with the JVM flags as well, first Xmx64M and then Xmx2G:

I also repeated the test with no JVM flags, with OpenLogic OpenJDK  <IP_ADDRESS>. The heap usage does seem similar this time:

I added the -XX:+UseG1GC flag with JDK 1.8 and the results are much better:

I suppose the issue could indeed come from JDK 1.8's GC, which is Parallel GC by default.


Create Ubuntu rootfs

Updated creation script to create a BTRFS image of Ubuntu filesystem.

Removed use of dd and replaced by fallocate tool


Little trick enabling sidebar closing through swiping

Detecting touch trace to trigger sidebar toggle

Good job! The first step is done. I test it now and close by swiping real work. But how about open?

@ivan-nginx swipe open is a bad idea I think.  As it will prevent users from swiping foward, and make browser less smooth.

@flashlab and how about make float top menu and active sidebar toggle from here? Like on google android apps.


Backup tokens stored as plain-text

I'm no expert but,
Backuptokens act like passwords, they allow you to login.
Unlike the Django passwords, backuptokens are stored unencrypted in the database. If a database is somehow leaked, all security tokens are leaked with it.
Shouldn't backuptokens be treated the same way as passwords ? ( < algorithm>$< iterations>$< salt>$< hash> )

This has already been proposed upstream: https://github.com/django-otp/django-otp/issues/68
There is also a similar feature request for encrypting TOTP keys: https://github.com/django-otp/django-otp/issues/67
Closing this as any work to solve this issue really needs to be done in django-otp


How NEO4J_ALLOW_STORE_UPGRADE should be used ?

Hi,
I'm trying to migrate my Neo4j to Docker container.
All seems to work quite good, exept when I want to use my current database.
The database is not on the same Neo4j version than the Docker Image, so I need "allow_store_upgrade" set to true in neo4j.properties.
I've tried to use NEO4J_ALLOW_STORE_UPGRADE environment variable like this:

docker run --name=neo4j-test --detach --publish=7474:7474 --env=NEO4J_ALLOW_STORE_UPGRADE=true --volume=/mydata/neo4j-data/:/data  --ulimit=nofile=40000:40000 neo4j

or

docker run --name=neo4j-test --detach --publish=7474:7474 --env=NEO4J_ALLOW_STORE_UPGRADE='true' --volume=/mydata/neo4j-data/:/data --ulimit=nofile=40000:40000 neo4j

But when I'm copying my graph.db content and start the container I still have this error:

docker logs neo4j-test

Starting Neo4j Server console-mode...
2015-12-23 12:20:23.146+0000 INFO  No SSL certificate found, generating a self-signed certificate..
2015-12-23 12:20:24.633+0000 INFO  Successfully shutdown Neo4j Server
2015-12-23 12:20:24.635+0000 ERROR Neo4j cannot be started, because the database files require upgrading and upgrades are disabled in configuration. Please set 'allow_store_upgrade' to 'true' in your configuration file and try again.
I've tried to do a "dump-config" to a config folder and the varialble is still on comment:

/conf# grep allow_store_upgrade neo4j.properties
#allow_store_upgrade=true

Is there a bug in the docker image, or am I the bug ?
Regards,

Hello @sgrunt91. I'm sorry you're having trouble with this.
The NEO4J_ALLOW_STORE_UPGRADE feature is not yet available for the neo4j image in the official image library. It's only available in the image in our own repo on Docker Hub (i.e. neo4j/neo4j).
Are you able to use that instead?
The feature will be part of the next release to the official image library (2.3.2), but we don't have a date for that yet.

Hello @benbc ,
Oh :( Well, I'm too hasty, I'll wait for it!
For now I change my container with using neo4j/neo4j:2.2.7 which is my actual database version, so no need to use this variable.
I wanted to benefit from the docker migration to do a Neo4j version upgrade, but I can wait.
There are another environnement variables that not available yet ?
I guess it shows, I'm new to docker, and I hadn't understand the difference between official library and your repo, for me neo4j was the same that neo4j/neo4j, but if I understand neo4j is the release of a last neo4j/neo4j ? so there a delta between them.
I'm confused.
So, I think you could close this if you want. My bad...
Thanks again!
Regards,

You'll see that the documentation for the official image (neo4j, here) and the image in our repo (neo4j/neo4j, here) is identical except for this one feature, so it's understandable that you were confused.
If you're on 2.2.7 then you'll need to get that from neo4j/neo4j anyway. When you get round to upgrading to 2.3.1, you'll find that NEO4J_ALLOW_STORE_UPGRADE works fine if you use neo4j/neo4j; and if 2.3.2 is out by the time you upgrade then it'll work for neo4j too.


TypeError: 'DataContainer' object does not support indexing

File "*****/mmaction/models/detectors/base.py", line 78, in forward
num_modalities = int(num_modalities[0])
TypeError: 'DataContainer' object does not support indexing
cudatoolkit               9.2                           0    defaults
cudnn                     7.6.0                 cuda9.2_0    defaults
pytorch                   1.2.0           cuda92py36hd3e106c_0    defaults
mmcv                      0.2.13                   pypi_0    pypi

I had the same problem.
When  downgrade pytorch to 1.1.0, everything  goes  Ok.

I had the same problem.
When downgrade pytorch to 1.1.0, everything goes Ok.

I tried it, but the problem still exists.
pytorch                   1.1.0           cuda92py36h65efead_0    defaults

@wangbingo

I had the same problem.
When downgrade pytorch to 1.1.0, everything goes Ok.

I tried it, but the problem still exists.
Could you tell me how you install pytorch 1.1.0? I use conda install pytorch=1.1 cudatoolkit=9
pytorch                   1.1.0           cuda92py36h65efead_0    defaults

I run code with pytorch1.2, which is OK wich DataContainer.

I install by
conda install pytorch=1.0 torchvision cudatoolkit=9.2 -c pytorch
it's OK.


Question about loop of programs

Hi,
Thanks a lot for the code! I used TiconHalloween2012 for Halloween last year and trying to use it again this year. 2x 50 bulb strings with arduino uno.
I am having trouble with programs looping continuously. I had the same issue last year but never occurred to me to try and ask about it.
After about 3 loops of 7 programs, lights get stuck on the last program (i.e case 6: SpookyFlicker(lights)).
Isn't it on a continuous loop? Sorry, my programming skills are dated from 1998. I can scramble my way around through just enough to make sense heh.
Any help or suggestion would be greatly appreciated!

Glad you're enjoying the code. Unfortunately there isn't enough in the issue description to tell what the problem might be. It appears you have customized the code, as TiconHalloween2012 has 5 programs, not 7. I'd start with the unmodified example, confirm it works, then gradually reapply changes until you've isolated the bug.

Thanks for the reply!
Yes, i changed the list of programs. I will revert to the original and go from there. But it should be on an infinite loop, correct?

That's right. https://github.com/sowbug/G35Arduino/blob/master/HalloweenPrograms.cpp#L15 is the line that decides which program to switch to.
All reported problems ever with this library have been caused by either of the following:

Power supply's voltage is too low.
Users add too many programs that use up memory and cause undefined behavior.

Makes me wonder if there is something wrong with my power then. I added 20 feet worth of well insulated wire slack between the led bulbs and the Arduino so I could run Arduino from the garage. It's been 3 years now that i've used these lights successfully. V+ goes directly to the stock power supplies (2 strings) instead of Arduino, Data on pin 8,9 and V- from both strings on GND pin.
Is it common for power/voltage efficiency to deteriorate over time (voltage drop), providing the fact, I extended the length.
Though, the program stops exactly at the same point every time though, so it is probably me screwing something up with the coding. Every year i have to teach myself whatever the heck i did the year before:)
Anyways, enough rambling, thanks a ton for your response! really appreciate it!

You're right it's probably your code, but voltage problems will show symptoms when certain patterns are displayed that use more current than others. For example, white means the separate R/G/B LEDs in the bulb are all on at the same time.

Thank you very much. Tried it out today with unmodified code, yet with the same grave result:( stops after a few loops.
The issue turned out to be my my arduino board. Not sure whats wrong with it. I think the extreme cold we have here during winter finally got to it. Luckily, I happen to have another arduino uno and that one works just fine.
Is there a way to change the speed at which Creeper, PumpkinChase operate? They both are quite fast for me:)
Once again, thanks so much for your time!


feat: update node pubkey to Seetee

As discussed, this updates John's node ID to the Seetee node ID so that we can parse boosts and boostagrams.

More-or-less yes, but we should change that and add him for a few % points so that we can parse the information.


Version 6.4.1 fails to create simulator artifact when using SPM

NOTES:

Your derived data must be clean. If you previously built successfully inside Xcode you can not recreate this issue. It only happens on a clean build.
This is very similar to https://github.com/Iterable/swift-sdk/issues/523 but specifically for simulators.
Reverting to version 6.3.4 will successfully generate a simulator artifact.
I'm using Xcode 13.2.1
I'm using Swift Package Manager

When I attempt to archive my app for a simulator, to upload to Saucelabs for automated UI testing, the build fails.
Command: xcodebuild -scheme Pinseeker -project ./Project.xcodeproj -configuration Adhoc -derivedDataPath scan_derived_data -destination 'platform=iOS Simulator,name=iPhone 13' -archivePath archives/simulator_build/Project.simulator\ 2022-02-10\ 17.43.43.xcarchive archive
Errors:
The following build commands failed:
	CompileSwiftSources normal x86_64 com.apple.xcode.tools.swift.compiler (in target 'IterableSDK' from project 'IterableSDK')
	CompileSwiftSources normal i386 com.apple.xcode.tools.swift.compiler (in target 'IterableSDK' from project 'IterableSDK')
	CompileSwift normal i386 (in target 'IterableSDK' from project 'IterableSDK')
	CompileSwiftSources normal arm64 com.apple.xcode.tools.swift.compiler (in target 'IterableSDK' from project 'IterableSDK')

❌  /Users/me/GitHub/pinseeker-ios/scan_derived_data/spm/checkouts/swift-sdk/swift-sdk/swiftui/InboxViewRepresentable.swift:22:40: cannot find type 'Context' in scope

    func makeUIViewController(context: Context) -> IterableInboxViewController {
                                       ^~~~~~~

❌  /Users/me/GitHub/pinseeker-ios/scan_derived_data/spm/checkouts/swift-sdk/swift-sdk/swiftui/InboxViewRepresentable.swift:34:91: cannot find type 'Context' in scope

    func updateUIViewController(_ uiViewController: IterableInboxViewController, context: Context) {
                                                                                ^~~~~~~

❌  /Users/me/GitHub/pinseeker-ios/scan_derived_data/spm/checkouts/swift-sdk/swift-sdk/swiftui/InboxViewRepresentable.swift:11:32: cannot find type 'UIViewControllerRepresentable' in scope

struct InboxViewRepresentable: UIViewControllerRepresentable {
                               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~

❌  /Users/me/GitHub/pinseeker-ios/scan_derived_data/spm/checkouts/swift-sdk/swift-sdk/swiftui/IterableInboxView.swift:73:27: cannot find type 'View' in scope

    public var body: some View {
                          ^~~~

❌  /Users/me/GitHub/pinseeker-ios/scan_derived_data/spm/checkouts/swift-sdk/swift-sdk/swiftui/IterableInboxView.swift:11:34: cannot find type 'View' in scope

public struct IterableInboxView: View {

This error is because of #524, which adds the !arch(arm) into the include. A probable cause is the current iOS SDK-supported version, which builds armv7, causing the error in building/archiving. Could the SwiftUI inbox be moved to an example app for users of SwiftUI as opposed to including it in the package itself? Otherwise, I would assume there is still more work to ensure the SDK builds appropriately for all users.

@mrtnrst We will take a look at this soon.

Should be fixed with version 6.4.2. Please open a ticket with your CSM if you are still seeing issues.


Allowing camel-case DOM attributes binding

Vue.js version
1.0.23
Reproduction Link

https://jsfiddle.net/voecgwp1/
Steps to reproduce
Change the value of the range input, and see the result and the code.
What is Expected?
Both of two images are expected to be blurred.
What is actually happening?
The bound attribute name of the left side has been lower-cased.
The left side one does not work in Google Chrome 51.0.2704.106 on Archlinux. The v-bind causes the failure, and text binding leaves an error.
Although HTML attributes are case-insensitive, I think we still need to distinguish the letter case, because there are not only HTML DOMs, and Vuejs seems willing to support SVG.

Well I continued my test and found that it's not vue's problem. Chrome and Firefox automatically render these attributes lower-cased initially, before vue can read it.
Seems that they lower-cased all foreign attributes. Even though I use <svg xmlns="http://www.w3.org/2000/svg" xmlns:svg="http://www.w3.org/2000/svg" version="1.2" baseProfile="tiny" height="100" width="100"></svg>
ref: http://stackoverflow.com/questions/28734628/how-can-i-set-an-attribute-with-case-sensitive-name-in-a-javascript-generated-el

If that's the case, this is a wontfix in 1.x.
In 2.0 if you use string or pre-compiled templates it won't be a problem.

@simonmysun As a workaround, you can use kebab-case with .camel modifier. eg. https://jsfiddle.net/voecgwp1/1/

@yyx990803 I really appreciate for the that.
@prog-rajkamal This was great! It has solved my problem. Thank you very much! Should've read through the document.


Redesigning the download interfaces so that there is more flexibility

Primary changes I plan to make:

shift from multiprocessing to multiprocess
make a common worker pool that's available to the whole of spotDL (should allow for major speedups)
Split up the whole download process, so that there is more flexibility at the download stage (during use as a library)

This is still a work in progress

I'll be available for SpotDL projects on Wednesday, will have a look at what needs to be done then.

@loftwah sure when ever your free.

@phcreery @s1as3r look into the latest commit, tell me what you guys think?

Would get_clean_song_name(songObj: SongObj) from downloadProcess.py be better as a method of spotdl.search.songObj.py: SongObj()?

Yes. Totally. I'll make the changes.

In __main__.py: Has the songObjList that results from this new pooled get_album_tracks been gathered somewhere?

Its pretty much the same as when you download songs across parallel processes, the only difference here is that you can run just about any process without exactly having to initialized a process pool. So lets say you want to look up playlists, earlier you were limited to one playlist at a time (which is slow) or creating a separate process pool (which take a decent amount fo time). Now all of that is simplified into a single piece of code.
P.S.
Try inline comments, they provide context for what you ask, it simpler to answer there.

Okay.
Right, so instead of
songObjList = get_album_tracks(request)
downloader.download_multiple_songs(songObjList)

you can gather all the arguments and pool them into get_album_tracks  and then after that is done, pool all the downloads?
I thought these were inline comments until I realized they look nothing like yours. How do you do that? (I pressed the + button next to the line and commented there).

More like
songObjList = workerPool.do(get_album_tracks, [$listOfAllAlbumTracks]
It gets 4 albums simultaneously on default init. It's much faster.

You go to the changes section of a pr, press the + btw, type in your comment (hiy start review, not add comment)

Okay, the numbers on those results are appealing. Great work!
I will keep that in mind next time.

So this PR is fine? How about progress?

 I've got a dozen errors that show up some of the ties and not otherwise, still at war with thsoe bugs.
@quyleanh


[BUG] Cannot call a method on a null valued expression

Hi, doc
I hope everything is at least fine on your side. Thank you for regularly updating this beautiful app...
With the last version <IP_ADDRESS>, I am receiving an error  "you cannot call a method on a null valued expression" at the end of the script (see image here https://imgur.com/D318Md6) while the Optimize error log is empty. Does the message mean that one of the variables is not presented/have value NULL in the code? Is something missing?
I tried to run in VB, but I am getting BSOD after installing components, features, and updates finished.
On the other side version, <IP_ADDRESS> is working fine here.
Image Name: Windows 10 Enterprise
Image Build: 18363.592
Host Environment: Windows 10 Enterprise LTSC 2019
Parameters Passed:   "WindowsApps", "Whitelist", "SystemApps": true, "Capabilities": true, "Packages": true, "Features": true, "DeveloperMode": false, "WindowsStore": false, "MicrosoftEdge": false,
"Win32Calc": true, "Dedup": false, "Registry": true, "Additional": true, "ISO": "No-Prompt"

Meanwhile, I saw one other user have the same situation here https://github.com/DrEmpiricism/Optimize-Offline/issues/158

This was an issue with the declared error object showing an error in the module (as the 1 error message reflects) but the function that exports the actual error itself not resolving an error, thus throwing an error when creating a custom object to detail said error(s).
The function that exports any logged error record objects has been updated in this latest build (<IP_ADDRESS>) to remedy this issue.

Hi, doc,
OK, thanks for the reply and the latest release. I have thought it is not a big deal, and I intended to inform you. I consider myself as a tester of your releases. ;) It is similar to the situation I had before when I been adding Windows folder inside "Content\Aditional\Wallpaper" and error showing a message: Windows folder already exists... Nothing crucial and each created ISO worked fine then...
... However, the same error is still prompting with version <IP_ADDRESS>, and unfortunately, BSOD is showing with each version 4.x.x.x I tried (after finishing installation of components, features, and updates). The version that works without any issue on my side is <IP_ADDRESS>. Why precisely that version? Because that is the latest version, I have stored on my laptop. Probably other newer versions 3.x.x.x would be worked fine too.
Cheers

Hi, doc
Nah, it does not matter... You can close this now. It was my mistake I am pretty sure. I do not chop Windows a lot but it was late and I probably removed additional package(s) in the Grid that is close to the packages I usually remove.  Anyway, thanks for the fast reply!
I will try today again if something went wrong I will report here. Thanks for all you are doing...

Alexusson


Clusterize.js compatibility

Hello! Awesome project!
Do tables created with reactabular work with https://clusterize.js.org/ ?

If it's compatible with React, then yes.
Note that I implemented virtualization to address the performance concern. It helps noticeably with larger data sets.


pod update gives error in LTMorphingLabel.swift

I did pod update, and received this error:

It looks like something is wrong with the selector, but i tried several ways to fix this, didn't work.

Please check the version of your Xcode. LTMorphingLabel 0.2 requires the latest 7.3 to compile.

Got it, updating now. Thanks!

Thanks. There would be a lot of warnings after the upgrade. Good luck.

A lot of warnings in LTMorphingLabel or in everything?

If you used Selectors in your project, you'd probably refactor them to the latest syntax by hand. I just spent 2 hrs to do that in one of my project last week.

Yep...I just updated and saw it...


merge from template-arlac77-github

.github/workflows/ci.yml

chore: add<EMAIL_ADDRESS>(jobs.test-browser.steps.uses)
chore: add<EMAIL_ADDRESS>(jobs.release.steps.uses)
chore: add<EMAIL_ADDRESS>(jobs.test-node.steps.uses)

.github/workflows/codeql_analysis.yml

chore: add<EMAIL_ADDRESS>(jobs.analyze.steps.uses)

.github/workflows/update_package_lock.yml

chore: add<EMAIL_ADDRESS>(jobs.update_package_lock.steps.uses)

.github/workflows/update_readme_api.yml

chore: add<EMAIL_ADDRESS>(jobs.update_readme_api.steps.uses)

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

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

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
395

Relevant Lines:
404

💛  - Coveralls


Add validation for driving keys

Issue: We noticed an issue with duplicates in the link/eff_sattelite tables when the incorrect prefix is given to the table names.
Solution: Add a validation that will fail the process when:

The prefix of the satellite_name is not within TABLE_PREFIXES[TableType.SATELLITE].
The prefix of the parent_table_name is not within TABLE_PREFIXES[TableType.LINK].

Implementation: Add a validation method in the instantiation of a driving key.

Should we add a test?


ARROW-8923: [C++] Improve usability of arrow::compute::CallFunction

This removes the burden of constructing an ExecContext in cases where you are OK with the default options

+1. I'm merging this because it conflicts with https://github.com/apache/arrow/pull/7258, and this makes CallFunction's API consistent with the other functions in api_*.h. If someone wants to change something please open a JIRA


Polish translation for HeadsPlus

Translated by Górbiel
Correction by Mistermychciak

Will check why the Travis-CI build failed then will pull this commit. Thank you to both of you for this!

Easy fix.

If I decide to change some strings  (some were unclear) do I have to just make a new pull request?

You can just commit it as far as I'm aware. (Make sure you're committing to the pull request though and not the normal master branch)

Can you give me the list of all {setting}, bacause Polish is hard to standardize and I'm not sure if I translated this correctly? I'm talking about setValue, addedValue and removedValue.
(I attached an example of one word in English and same word in Polish)

Ok, I found it and everything seems fine. I think the Polish translation is complete.
If that's not a problem, can you add some credit for this?
Something like this:
//Translated by Górbiel
//Correction by Mistermychciak

Alright, I was about to double check that myself. And of course I can, I did just add some credit for other translators a while ago too. I'll pull it now unless you say otherwise!

In fact are there any changes you want to make before I pull this? Just to make sure.

No, I think that's all. I'm happy that I could help!
On Mon, Jul 8, 2019, 15:37 TM (Holly<EMAIL_ADDRESS>wrote:

In fact are there any changes you want to make before I pull this? Just to
make sure.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/Thatsmusic99/HeadsPlus/pull/8?email_source=notifications&email_token=AKC5PKYZN5BK6U7QUOQRBGTP6M7JHA5CNFSM4H62UGZKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODZNDKCI#issuecomment-509228297,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AKC5PKYEKHNEDRMGI4C7XL3P6M7JHANCNFSM4H62UGZA
.


Status: Cleaning

Hello,
not sure if its a feature or a bug. But the mower shows stauts cleaning and in the details mowing. Could that be changed to the same status mowing throughout the integration ?

That's expected in the current release as it's using a vacuum type withing HA. So HA translates the active state to 'cleaning'.
The lawn mower entity is only available in HA for a few months now, so not yet integrated in the the current release. Note that the lawn mower entity type is already available on the develop branch of this component.

Thank you very much for the quick reply and clarification. I really
appreciate your work.
Best regards, Andreas
Sander Peterse @.***> schrieb am So. 26. Mai 2024 um
15:46:

That's expected in the current release as it's using a vacuum type withing
HA. So HA translates the active state to 'cleaning'.
The lawn mower entity is only available in HA for a few months now, so not
yet integrated in the the current release. Note that the lawn mower entity
type is already available on the develop branch of this component.
—
Reply to this email directly, view it on GitHub
https://github.com/jm-73/Indego/issues/218#issuecomment-2132229969, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/ARPG6SPNQKI6GACD7HZXAYTZEHRSFAVCNFSM6AAAAABIJWEHM2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMZSGIZDSOJWHE
.
You are receiving this because you authored the thread.Message ID:
@.***>


aiven influxdb module went taint

What happened?
i'm using terraform aiven provider for influxdb creation, but i find out that the aiven influxdb module resource would be taint status somehow, and need refrersh it's state then untaint manually
What did you expect to happen?
don't want the taint of aiven influxdb during new creation or update with terraform
What else do we need to know?
module scripts, please see inside terraform-aiven-influx.zip
terraform-aiven-influx.zip
skeleton scripts:
resource "azurerm_key_vault_secret" "influx_service_admin_password" {
count        = var.deploy_aiven_db ? 1 : 0
name         = "nexeed-influx-admin-pw"
value        = module.influx[0].aiven_service_password
key_vault_id = var.key_vault.id
}
resource "azurerm_key_vault_secret" "influx_service_admin_username" {
count        = var.deploy_aiven_db ? 1 : 0
name         = "nexeed-influx-admin-username"
value        = module.influx[0].aiven_service_username
key_vault_id = var.key_vault.id
}
module "influx" {
count = var.deploy_aiven_db ? 1 : 0
source                  = "..//terraform-aiven-influx"
project                 = var.aiven_project
plan                    = var.aiven_plan
service_name            = var.aiven_service_name != null ? var.aiven_service_name : "influx-${var.environment}"
maintenance_window_dow  = var.aiven_maintenance_window_dow
maintenance_window_time = var.aiven_maintenance_window_time
influxdb_user_config = {
ip_filter_string = var.aiven_ip_filter_string
}
termination_protection = var.aiven_termination_protection
}
and the top layer to use skeleton:
module "skeleton" {
source = "../folder/_git/terraform-skeleton-data"
deploy_aiven_db              = true
aiven_termination_protection = false
}

terraform apply output during creation:
module.skeleton.module.influx[0].aiven_influxdb.this will be created

resource "aiven_influxdb" "this" {

cloud_name              = "azure-westeurope"

components              = (known after apply)

disk_space_cap          = (known after apply)

disk_space_default      = (known after apply)

disk_space_step         = (known after apply)

disk_space_used         = (known after apply)

id                      = (known after apply)

influxdb                = (known after apply)

maintenance_window_dow  = "tuesday"

maintenance_window_time = "01:30:00"

plan                    = "startup-4"

project                 = "bosch-4501"

service_host            = (known after apply)

service_name            = "influx-perf32"

service_password        = (sensitive value)

service_port            = (known after apply)

service_type            = "influxdb"

service_uri             = (sensitive value)

service_username        = (known after apply)

state                   = (known after apply)

termination_protection  = false

influxdb_user_config {

ip_filter_string = []
}
}

module.skeleton.module.influx[0].aiven_influxdb.this: Still creating... [1m40s elapsed]
module.skeleton.module.influx[0].aiven_influxdb.this: Still creating... [1m50s elapsed]
module.skeleton.module.influx[0].aiven_influxdb.this: Still creating... [2m0s elapsed]
module.skeleton.module.influx[0].aiven_influxdb.this: Still creating... [2m10s elapsed]
module.skeleton.module.influx[0].aiven_influxdb.this: Still creating... [2m20s elapsed]
module.skeleton.module.influx[0].aiven_influxdb.this: Still creating... [2m30s elapsed]
module.skeleton.module.influx[0].aiven_influxdb.this: Still creating... [2m40s elapsed]
module.skeleton.module.influx[0].aiven_influxdb.this: Still creating... [2m50s elapsed]
module.skeleton.module.influx[0].aiven_influxdb.this: Still creating... [3m0s elapsed]
module.skeleton.module.influx[0].aiven_influxdb.this: Still creating... [3m10s elapsed]
module.skeleton.module.influx[0].aiven_influxdb.this: Still creating... [3m20s elapsed]
module.skeleton.module.influx[0].aiven_influxdb.this: Still creating... [3m30s elapsed]
module.skeleton.module.influx[0].aiven_influxdb.this: Still creating... [3m40s elapsed]
module.skeleton.module.influx[0].aiven_influxdb.this: Still creating... [3m50s elapsed]
module.skeleton.module.influx[0].aiven_influxdb.this: Still creating... [4m0s elapsed]
module.skeleton.module.influx[0].aiven_influxdb.this: Still creating... [4m10s elapsed]
module.skeleton.module.influx[0].aiven_influxdb.this: Still creating... [4m20s elapsed]
module.skeleton.module.influx[0].aiven_influxdb.this: Still creating... [4m30s elapsed]
module.skeleton.module.influx[0].aiven_influxdb.this: Still creating... [4m40s elapsed]
module.skeleton.module.influx[0].aiven_influxdb.this: Still creating... [4m50s elapsed]
module.skeleton.module.influx[0].aiven_influxdb.this: Still creating... [5m0s elapsed]
module.skeleton.module.influx[0].aiven_influxdb.this: Still creating... [5m10s elapsed]
module.skeleton.module.influx[0].aiven_influxdb.this: Still creating... [5m20s elapsed]
module.skeleton.module.influx[0].aiven_influxdb.this: Still creating... [5m30s elapsed]
module.skeleton.module.influx[0].aiven_influxdb.this: Still creating... [5m40s elapsed]
module.skeleton.module.influx[0].aiven_influxdb.this: Still creating... [5m50s elapsed]
module.skeleton.module.influx[0].aiven_influxdb.this: Still creating... [6m0s elapsed]
module.skeleton.module.influx[0].aiven_influxdb.this: Still creating... [6m10s elapsed]
╷
│ Error: unable to copy api response into terraform schema: invalid terraform state type: expected map[string]interface{}
│
│   with module.skeleton.module.influx[0].aiven_influxdb.this,
│   on .terraform/modules/skeleton.influx/main.tf line 1, in resource "aiven_influxdb" "this":
│    1: resource "aiven_influxdb" "this" {
│
╵
##[error]Script failed with exit code: 1

somehow the resource looks taint. so manually refresh the resource state and untaint it, then it looks normal, but find out the service URI looks a little bit different then normals
https+influxdb://CLICK_TO:REVEAL_PASSWORD@influx-perf32-bosch-4501.**a.**aivencloud.com:20628/defaultdb
normals' don't have a .a before aivencloud
then i got some error: avnadmin not authorized to execute statement 'CREATE DATABASE **************', requires admin privilege"

related to #1465

Hey, @YingwenX! 👋
The appearance of the subdomain, e.g. .a in the domain name is a normal thing. It is the so-called "DNS rotation" that Aiven uses.
This mechanism only triggers on new services, and it never triggers on existing ones, meaning that this could have only happened if you have fully recreated the service.
It looks like the problem could be that ip_filter_string is an empty array, and this edge case is not handled properly in our code.
We will be taking a look at it soon!
Thank you for bringing this up!

Hey, @YingwenX! 👋
Sorry for taking quite a while to get back to you, it was due to holidays and other urgent matters.
I'm having trouble reproducing this, would you mind sharing step-by-step reproduction scenario with a completely new and unrelated Terraform project?
This could simply be a manifest file which is possible to run without any additional setup required.
Thank you!

Hey, @YingwenX! 👋
Looks like our Terraform provider v4.10.0 is supposed to address the problem. Could you please check if that is the case?
Thank you!

Hey, @YingwenX! 👋
Since there hasn't been an update to this issue, I will close it for the time being.
Feel free to reopen it if you have any additional information to share.


Safe to use in instances/duties?

Been skeptical and wondering if this sends data to the server when you change your appearance.
Unsure if writing your appearance sends data to the server when in a duty or instance.

It does not. You should avoid having it on when visiting the aesthetician until the rework is done, but otherwise it should not cause problems.


statweight.go changes

I wrote this in the file itself, but I'll copy it here too for reference:
Firstly, I changed from a stating stat mod for every stat of 50 to a relative stat mod of 5% for every stat, this is due to how stats generally have different orders of magnitude, which may lead to really bad results for certain stats as 50 might represent a very small delta. This is still not perfect since in cases where we have very little of some stat the delta will also be quite small and therefore "ruin" the calculation, we can fix this later by defining some baseline stat mod for each stat. I believe this change is an improvement still from the previous method, it has made DTPS stat weights a lot more stable as for example a 50 armor increase was negligeble and just gave back noise for the weight.
Secondly, I changed the calculation from a central difference to a forward difference, this is the default convention used in SimulationCraft for stat weights. Generally you look at stat weights from the point of view of addition, not subtraction, therefore I believe that while central differencing makes more sense from a mathematical point of view it may not always represent the better data from the point of view of stat weights in game. Additionally, the way in which the high/low results were combined (as essentially an average) didn't make particular sense to me, it should be more something like:
sw = (low x delta_low + high x delta_high)/(delta_low + delta_high)
as this represents a weighted average from both ends. This makes sense because when checking for caps as its possible that deltas on either side were different sizes. I think, like it is done in SimC, adding an option to perform central differences (rather than it being default) may be more useful in the long run.
Finally, I added expertise cap detection, both dodge / parry caps are now taken into account (we were getting reports of weird expertise weights).

I would say with the 5%, better take the maximum of 50 and the 5%. Otherwise you would get really bad results when you have low hit or expertise values for example


Print Response in pretty XML

Hi there,
I can send correctly requests, but how can i print the complete response? I need to print to get it and store.

It depends on the xml proccesor library, for example with lxml
import lxml.etree as etree

x = etree.parse("filename")
print etree.tostring(x, pretty_print=True)

Maybe my question is not clear: using python3-SAML i can't get the complete response object to print as a XML correctly. My question is not about "how to print pretty XML" but "how can i get the full response to print and save as xml?"

The base64encoded SAMLResponse should be available on the assertion consumer service endpoint as a POST parameter.
You can use the decode_base64_and_inflate method to get the XML version

Thanks a lot! You can just fetch __request field of authentication used in auth.py and decode base 64 using the Utils class. Thank you :)


feat: [cosmos] upgrade gaia to v9.0.0 and adapt ICS upgrade

Description
Closes: #XXXX

Author Checklist
All items are required. Please add a note to the item if the item is not applicable and
please add links to any relevant follow up issues.
I have...

[ ] included the correct type prefix in the PR title
[ ] added ! to the type prefix if API or client breaking change
[ ] targeted the correct branch
[ ] provided a link to the relevant issue or specification
[ ] added a changelog entry to CHANGELOG.md
[ ] included comments for documenting Go code
[ ] updated the relevant documentation or specification
[ ] reviewed "Files changed" and left comments if necessary
[ ] confirmed all CI checks have passed

Reviewers Checklist
All items are required. Please add a note if the item is not applicable and please add
your handle next to the items reviewed if you only reviewed selected items.
I have...

[ ] confirmed the correct type prefix in the PR title
[ ] confirmed ! in the type prefix if API or client breaking change
[ ] confirmed all author checklist items have been addressed
[ ] reviewed API design and naming
[ ] reviewed documentation is accurate
[ ] reviewed tests and test coverage
[ ] manually tested (if applicable)

Codecov Report

:exclamation: No coverage uploaded for pull request base (chains/cosmos/mainnet@3eef366). Click here to learn what that means.
The diff coverage is n/a.

@@                   Coverage Diff                    @@
##             chains/cosmos/mainnet     #537   +/-   ##
========================================================
  Coverage                         ?   52.28%
========================================================
  Files                            ?       20
  Lines                            ?     1595
  Branches                         ?        0
========================================================
  Hits                             ?      834
  Misses                           ?      655
  Partials                         ?      106


Related to issue #1: The SDK does not seem to build out of the box

Related to issue #1 - I wanted to include a local build of the SDK with the sample, however, it does not build.
I tried to build the SDK from two different machines - a Windows PC and a Windows Server, both with the newest Visual Studio 2017 installed. They both returned the following errors:

It looks like it is trying to use some modules within the SDK that is neither self-contained nor referenced in the list of references.

The SDK is autogenerated using https://github.com/Azure/AutoRest
We're only shipping the non-generated components here; you need to generate before the sln will build. I'll add a readme with instructions for building

Same here - Client library does not build out of box.
If I use the client libraries from nuget, in below 2 lines of my code for prediction, the second line throws error.
`Dim iOnImage As New MemoryStream(File.ReadAllBytes(iCurImg.ImgFile))
Dim PredRes = PrdEndPoint.PredictImage(TrgProject.id, iOnImage)`
The error returned is
Message: Operation returned an invalid status code 'NotFound'
Stack trace:    at Microsoft.Cognitive.CustomVision.PredictionEndpoint.d__28.MoveNext() in C:\projects\IRIS\Iris.SDK\CustomVisionSDK\Cognitive-CustomVision-Windows\ClientLibrary\Microsoft.Cognitive.CustomVision.Prediction\Generated\PredictionEndpoint.cs:line 597
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.Cognitive.CustomVision.PredictionEndpointExtensions.d__4.MoveNext() in C:\projects\IRIS\Iris.SDK\CustomVisionSDK\Cognitive-CustomVision-Windows\ClientLibrary\Microsoft.Cognitive.CustomVision.Prediction\Generated\PredictionEndpointExtensions.cs:line 151
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.Cognitive.CustomVision.PredictionEndpointExtensions.PredictImage(IPredictionEndpoint operations, Guid projectId, Stream imageData, Nullable`1 iterationId, String application) in C:\projects\IRIS\Iris.SDK\CustomVisionSDK\Cognitive-CustomVision-Windows\ClientLibrary\Microsoft.Cognitive.CustomVision.Prediction\Generated\PredictionEndpointExtensions.cs:line 125
at SBToiletFinder.MainWindow.VB$StateMachine_17_ProcessToiletConfidence.MoveNext() in F:\Projects\MyProject\MyProject\MainWindow.xaml.vb:line 317
Awaiting next build at the earliest.

That looks like you don't have a default iteration set on your project. Either select an iteration to be the default, or pass in an explicit iteration id to your PredictImage call.

Hi, Thanks for that quick response.  Now I changed the code
Dim PredRes = PrdEndPoint.PredictImage(TrgProject.id, iOnImage)
to
Dim PredRes = PrdEndPoint.PredictImage(TrgProject.Id, iOnImage, TrgProject.CurrentIterationId, TrgProject.Name)
Checked all parameters in debug and found correct values are passed.  However still it gives the same error.  In the site the iteration count is 6 and it is the default.
Any help would be appreciated.

CurrentIterationId is misleading; it's not the last trained iteration, but the iteration that is about to be trained. Asking for a prediction from it will fail by its very nature, as it's not been trained yet.
You can get the iteration id of a given iteration by selecting it in the UI, choosing 'Prediction URL' and copying the last part of the url that says 'iterationId='
Alternatively you can use the API to call GetIterations(), and get the ID from one of the objects in the list returned.


:arrow_up: Bump to node20

Just added engines, switched to node 20 and rebuilt.

+1

This was done in 8af10c0d27f52b66d8e32d934eb6f87056a065e0 of https://github.com/mountainash/fork-deploy-to-vercel-action/

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


GE

[ ] Have you followed the contributing guidelines?
[ ] Have you explained what your changes do, and why they add value to the Guides?

Please note: we will close your PR without comment if you do not check the boxes above and provide ALL requested information.

I have followed the guideline and soon I'll  make full translation

[ ]  Have you followed the contributing guidelines?
[ ]  Have you explained what your changes do, and why they add value to the Guides?

Please note: we will close your PR without comment if you do not check the boxes above and provide ALL requested information.
I have followed the guideline and soon I'll make full translation

Why script/test isn't working

Ok

I

Ok

Ok

I don't know why test is not working
When I run test It shows next error :
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:889:15)
    at Function.Module._load (internal/modules/cjs/loader.js:745:27)
    at Module.require (internal/modules/cjs/loader.js:961:19)
    at require (internal/modules/cjs/helpers.js:92:18)
    at Object.<anonymous> (C:\Env\opensource.guide\test\prose:4:15)
    at Module._compile (internal/modules/cjs/loader.js:1072:14)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1101:10)
    at Module.load (internal/modules/cjs/loader.js:937:32)
    at Function.Module._load (internal/modules/cjs/loader.js:778:12)
    at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:76:12) {
  code: 'MODULE_NOT_FOUND',
  requireStack: [ 'C:\\Env\\opensource.guide\\test\\prose' ]

OS
Version

Windows
11

Ok

[x]   Have you followed the contributing guidelines?
[ ]   Have you explained what your changes do, and why they add value to the Guides?

Please note: we will close your PR without comment if you do not check the boxes above and provide ALL requested information.
I have followed the guideline and soon I'll make full translation

Ok

Why script/test isn't working

Ok

I don't know why test is not working
When I run test It shows next error :
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:889:15)
    at Function.Module._load (internal/modules/cjs/loader.js:745:27)
    at Module.require (internal/modules/cjs/loader.js:961:19)
    at require (internal/modules/cjs/helpers.js:92:18)
    at Object.<anonymous> (C:\Env\opensource.guide\test\prose:4:15)
    at Module._compile (internal/modules/cjs/loader.js:1072:14)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1101:10)
    at Module.load (internal/modules/cjs/loader.js:937:32)
    at Function.Module._load (internal/modules/cjs/loader.js:778:12)
    at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:76:12) {
  code: 'MODULE_NOT_FOUND',
  requireStack: [ 'C:\\Env\\opensource.guide\\test\\prose' ]

OS
Version

Windows
11

* [x]  Have you followed the [contributing guidelines](https://github.com/github/opensource.guide/blob/HEAD/CONTRIBUTING.md)?

* [x]  Have you explained what your changes do, and why they add value to the Guides?

Please note: we will close your PR without comment if you do not check the boxes above and provide ALL requested information.
I have followed the guideline and I'll make full translation in Georgian (ge) language.

Bien

[x]  Have you followed the contributing guidelines?
[x]  Have you explained what your changes do, and why they add value to the Guides?

Please note: we will close your PR without comment if you do not check the boxes above and provide ALL requested information.
I have followed the guideline and I'll make full translation in Georgian (ge) language.

Yes

bc1qahrsfmm82hqmwwwn6yqdtvw4nu474fnwn6ed5s


Error when running code from seq2seq translate model

Hi all,
I have trained my model on an english to french database, as specified in the tutorial. And yet, when I run this command
./bazel-bin/tensorflow/models/rnn/translate/translate  --decode DECODE --train_dir /Users/User/train/

I get a pageful of errors like this:
tensorflow.python.framework.errors.InvalidArgumentError: Assign requires shapes of both tensors to match. lhs shape= [1024] rhs shape= [256]
	 [[Node: save/Assign_3 = Assign[T=DT_FLOAT, use_locking=true, validate_shape=true, _device="/job:localhost/replica:0/task:0/cpu:0"](embedding_attention_seq2seq/RNN/MultiRNNCell/Cell0/GRUCell/Candidate/Linear/Bias, save/restore_slice_3)]]

What do I do?

My best guess: did you train with --size=256 ?  If so, you need to decode with the same set of command line flags as the one you trained with.
The error is basically saying that there is a size mismatch: the variable being assigned to is of size [256] but it expected [1024].  I don't see any sizes of '256' in the translate.py example, so that's why I suspect it was overridden via flags.

This worked, thanks!


install/vmware/vmware-terraform: Remove pre-alpha banner

Remove the pre-alpha banner from vmware install doc.

Verbal or slack approvals from reza and eddit


Uncaught TypeError: Cannot read property 'allowLayby' of null

Noticed this while playing around with the library:
Uncaught TypeError: Cannot read property 'allowLayby' of null
    at Object.Xonomy.render (xonomy.js:505)

This happens when the docSpec is null as per the example in the documentation PDF.

Same happens to me. This error stops my websites loading, so at the moment I can't use it for my project. Any ideas or alternatives to this plugin?


Rename AllocatedOpcode to AllocatedInstruction to follow fuel-spec/fuel-asm terminology

Follow-up to the fuel-asm refactor changes here: https://github.com/FuelLabs/sway/pull/4004. We should check other usage of the term Opcode too.

Mentioning #2906

I can open a PR for this today if nobody is assigned already!

We likely want to land #4004 first, which should hopefully happen today.


Uploader is missing fieldname to connect it to the model

If I understood this right, uploader doesn't have the fieldname attribute so it's impossible (for me) to link it to a parameter in the model (like what exactly gets updated once someone uploads a file). Also, I'm not sure what exactly the uploader is supposed to return, a temp file path to the uploaded file, or perhaps something else.
Gonna politely ping my own guide in this journey... @hhaensel
I might be totally off...
I just found Genie's documentation about file uploads, so now I'm a bit confused.

It's a two-step process:

put the uploader in your ui()

quasar(:uploader, label = "Upload new files", url = "/upload", accept = ".txt") )

add a route that handles the request

route("/upload", method = POST) do
    # route for uploading a file
    # see also documentation of Genie / API / Requests
    files = Genie.Requests.filespayload() # type: Dict{String, Genie.Input.HttpFile}
    for f in files
        @info "Uploading: " * f[2].name
        write(joinpath(targetdir, f[2].name), String(f[2].data))
    end
end

I hope that I didn't make any errors during adaptation here.

Once Stipple's documents are up, this should go there. I'll leave this open as a reminder for the docs, or feel free to close this -- it did completely solve my problem of uploading. Thanks!!!

Can we close this?
I want to mention that uploader() is already part of StippleUI, so you can call it directly.
uploader(label = "Upload new files", url = "/upload", accept = ".txt")

Sounds good to me!


"Failed to install" message using ExManCmd

Adobe CC 2015
OS X Yosemite 10.10.5
I'm getting an error message whenever I follow the instructions to use the ExManCmd utility:

Failed to install, status = -160!

It's not on their error message page.
I made sure to run the correct command from their instructions:
./Contents/MacOS/ExManCmd --install .zxp
Adobe instructions page: https://helpx.adobe.com/x-productkb/global/installingextensionsandaddons.html
Error page: https://helpx.adobe.com/extension-manager/using/extension-manager-error-code-reference.html
Any ideas?

that command is not specifying the name of the zxp file
change it to
./Contents/MacOS/ExManCmd --install bodymovin.zxp
let me know if it works

This seems to work, although their command for checking to see if it has been installed doesn't return anything: ./Contents/MacOS/ExManCmd -- list all
Thanks! I see the extension panel.


Use standard ASF header

See discussion #217.
TL;DR Avoids having copyright year which needs changing since changes can easily be determined from git anyway.

Merged.


On click getting the wind speed along with Lat Long

Can we have something similar to what earth nullschool (http://earth.nullschool.net/ ) has. On click they display the Lat, Long along with the wind speed and direction.

Hi,
I have a similar question, can we get direction and speed like http://earth.nullschool.net/.

@awaisaltaf yes you can get the code og github but i think it is limited in functionality as compare to demo link.


ExternalDNS: TXT record issue

Describe the bug
While using ExternalDNS with EKS-Blueprint, the records are created successfully during the first iteration. However, during the second iteration, most of the records are deleted and ExternalDNS gets stuck, throwing an InvalidChangeBatch error. This is observed in the logs.
Expected Behavior
ExternalDNS should maintain all the DNS records across multiple iterations without deleting them unnecessarily. In this case, we expect that the six DNS records created during the first iteration remain intact during the second iteration and beyond.
Current Behavior
After the first iteration, six DNS records are created successfully. However, during the second iteration, ExternalDNS attempts to create the same records again, resulting in an InvalidChangeBatch error due to duplication. Subsequently, all records except two (cname-k8s.acme.ai and cname-nginx.k8s.acme.ai) are deleted.
Please find the logs below:
First iteration ExternalDNS logs:
time="2023-06-06T12:15:41Z" level=info msg="Applying provider record filter for domains: [acme.ai. .acme.ai.]"
time="2023-06-06T12:15:41Z" level=info msg="Desired change: CREATE cname-k8s.acme.ai TXT [Id: /hostedzone/ZXXXXX]"
time="2023-06-06T12:15:41Z" level=info msg="Desired change: CREATE cname-nginx.k8s.acme.ai TXT [Id: /hostedzone/ZXXXXX]"
time="2023-06-06T12:15:41Z" level=info msg="Desired change: CREATE k8s.acme.ai A [Id: /hostedzone/ZXXXXX]"
time="2023-06-06T12:15:41Z" level=info msg="Desired change: CREATE k8s.acme.ai TXT [Id: /hostedzone/ZXXXXX]"
time="2023-06-06T12:15:41Z" level=info msg="Desired change: CREATE nginx.k8s.acme.ai A [Id: /hostedzone/ZXXXXX]"
time="2023-06-06T12:15:41Z" level=info msg="Desired change: CREATE nginx.k8s.acme.ai TXT [Id: /hostedzone/ZXXXXX]"
time="2023-06-06T12:15:41Z" level=info msg="6 record(s) in zone acme.ai. [Id: /hostedzone/ZXXXXX] were successfully updated"

Records Created:
k8s.acme.ai
TXT "heritage=external-dns,external-dns/owner=default,external-dns/resource=service/kube-system/blueprints-addon-nginx-nginx-ingress-controller"
A k8s-kubesyst-blueprin-f74ac9cf07-111111.elb.eu-west-3.amazonaws.com.

cname-k8s.acme.ai
TXT "heritage=external-dns,external-dns/owner=default,external-dns/resource=service/kube-system/blueprints-addon-nginx-nginx-ingress-controller"

cname-nginx.k8s.acme.ai
TXT "heritage=external-dns,external-dns/owner=default,external-dns/resource=ingress/team-dev-preprod/test-ng"

nginx.k8s.acme.ai
TXT "heritage=external-dns,external-dns/owner=default,external-dns/resource=ingress/team-dev-preprod/test-ng"
A k8s-kubesyst-blueprin-f74ac9cf07-111111.elb.eu-west-3.amazonaws.com.

Second iteration ExternalDNS logs:
time="2023-06-06T12:16:42Z" level=info msg="Applying provider record filter for domains: [acme.ai. .acme.ai.]"
time="2023-06-06T12:16:42Z" level=info msg="Desired change: CREATE cname-k8s.acme.ai TXT [Id: /hostedzone/ZXXXXX]"
time="2023-06-06T12:16:42Z" level=info msg="Desired change: CREATE cname-nginx.k8s.acme.ai TXT [Id: /hostedzone/ZXXXXX]"
time="2023-06-06T12:16:42Z" level=info msg="Desired change: CREATE k8s.acme.ai A [Id: /hostedzone/ZXXXXX]"
time="2023-06-06T12:16:42Z" level=info msg="Desired change: CREATE k8s.acme.ai TXT [Id: /hostedzone/ZXXXXX]"
time="2023-06-06T12:16:42Z" level=info msg="Desired change: CREATE nginx.k8s.acme.ai A [Id: /hostedzone/ZXXXXX]"
time="2023-06-06T12:16:42Z" level=info msg="Desired change: CREATE nginx.k8s.acme.ai TXT [Id: /hostedzone/ZXXXXX]"
time="2023-06-06T12:16:42Z" level=error msg="Failure in zone acme.ai. [Id: /hostedzone/ZXXXXX] when submitting change batch: InvalidChangeBatch: [Tried to create resource record set [name='cname-k8s.acme.ai.', type='TXT'] but it already exists, Tried to create resource record set [name='cname-nginx.k8s.acme.ai.', type='TXT'] but it already exists]\n\tstatus code: 400, request id: XXXXX"
time="2023-06-06T12:16:43Z" level=error msg="Failed submitting change (error: InvalidChangeBatch: [Tried to create resource record set [name='cname-k8s.acme.ai.', type='TXT'] but it already exists]\n\tstatus code: 400, request id: XXXXX), it will be retried in a separate change batch in the next iteration"
time="2023-06-06T12:16:43Z" level=error msg="Failed submitting change (error: InvalidChangeBatch: [Tried to create resource record set [name='cname-nginx.k8s.acme.ai.', type='TXT'] but it already exists]\n\tstatus code: 400, request id: XXXXX), it will be retried in a separate change batch in the next iteration"
time="2023-06-06T12:16:44Z" level=error msg="failed to submit all changes for the following zones: [/hostedzone/ZXXXXX]"

Records REMAINING:
cname-k8s.acme.ai
TXT "heritage=external-dns,external-dns/owner=default,external-dns/resource=service/kube-system/blueprints-addon-nginx-nginx-ingress-controller"

cname-nginx.k8s.acme.ai
TXT "heritage=external-dns,external-dns/owner=default,external-dns/resource=ingress/team-dev-preprod/test-ng"

Reproduction Steps

Set up ExternalDNS with EKS-Blueprint.
Observe the successful creation of DNS records during the first iteration.
On the second iteration, observe the InvalidChangeBatch error and the deletion of most records.

Here is my Ingress manifest:
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
  annotations:
    kubernetes.io/ingress.class: nginx
    nginx.ingress.kubernetes.io/force-ssl-redirect: 'true'
  labels:
    argocd.argoproj.io/instance: test-ng
    name: test-ng
  name: test-ng
  namespace: team-dev-preprod
spec:
  rules:
    - host: nginx.k8s.acme.ai
      http:
        paths:
          - backend:
              service:
                name: test-ng
                port:
                  number: 80
            path: /
            pathType: Prefix

and CDK code:
#!/usr/bin/env node
import "source-map-support/register";
import * as cdk from "aws-cdk-lib";
import * as blueprints from "@aws-quickstart/eks-blueprints";
import {
  ArgoCDAddOnProps,
  KarpenterAddOn
} from "@aws-quickstart/eks-blueprints";
import { CapacityType, KubernetesVersion, Nodegroup, NodegroupAmiType } from "aws-cdk-lib/aws-eks";
import { TeamDatasciencePreprod, TeamDatascienceProd } from "../lib/teams";
import { InstanceType } from "aws-cdk-lib/aws-ec2";
import { RabbitMQApp } from "../lib/rabbitMQ";
import { DatabaseAurora } from "../lib/databaseAurora";

//Secrets required in Secrets Manager : "argocd/repo/ssh_key" "argocd/admin_password"

const app = new cdk.App();

// ---- CONSTANTS ----
const clusterName = "CLUSTER";
export const account = "00000000";
const region = "eu-west-3";
const domainAWSID = "Z00000000";
const subdomain = "k8s.acme.ai";

const boostrapRepoUrl =
  "git@github.com:ACME/repo.git";

// ---- KARPENTER ----
type KarpenterAddOnProps = ConstructorParameters<typeof KarpenterAddOn>[0];
const karpenterAddonProps:KarpenterAddOnProps = {
  requirements: [
    { key: "kubernetes.io/arch", op: "In", vals: ["arm64"] },
    {
      key: "karpenter.sh/capacity-type",
      op: "In",
      vals: ["spot", "on-demand"],
    },
    {
      key: 'karpenter.k8s.aws/instance-category',
      op: "In",
      vals: ["t", "a", "c", "m", "r"]
    }
  ],
  subnetTags: {
    Name: `${clusterName}/${clusterName}-vpc/PrivateSubnet1`
  },
  securityGroupTags: {
    [`kubernetes.io/cluster/${clusterName}`]: "owned",
  },
  interruptionHandling: true,
  consolidation: { enabled: true },
  name: "default"
};

// ---- ArgoCD ----
const argoCDAddonProps: ArgoCDAddOnProps = {
  version: '5.29.1',
  bootstrapRepo: {
    repoUrl: boostrapRepoUrl,
    credentialsSecretName: "argocd-repo-ssh_key", //Not working :(
    credentialsType: "SSH",
    path: "main",
  },
  adminPasswordSecretName: "argocd-admin_password",
};

// ---- Default Instance ----
const clusterProvider = new blueprints.MngClusterProvider({
  version: KubernetesVersion.V1_26,
  desiredSize: 2,
  instanceTypes: [new InstanceType("t4g.medium")],
  diskSize: 50,
  amiType: NodegroupAmiType.BOTTLEROCKET_ARM_64
});

// ---- Teams ----
const teams: Array<blueprints.Team> = [
  new TeamDatasciencePreprod(app),
  new TeamDatascienceProd(app),
];

// ---- Full EKS cluster ----
const addOns: Array<blueprints.ClusterAddOn> = [
  new blueprints.addons.SecretsStoreAddOn(),
  new blueprints.addons.AwsLoadBalancerControllerAddOn(),
  new blueprints.addons.ArgoCDAddOn(argoCDAddonProps),
  new blueprints.addons.MetricsServerAddOn(),
  new blueprints.addons.VpcCniAddOn(),
  new blueprints.addons.KarpenterAddOn(karpenterAddonProps),
  new blueprints.addons.ExternalDnsAddOn({
    hostedZoneResources: [blueprints.GlobalResources.HostedZone],
  }),
  new blueprints.addons.NginxAddOn({
    externalDnsHostname: subdomain,
    certificateResourceName: blueprints.GlobalResources.Certificate,
    internetFacing: true,
    backendProtocol: "tcp",
    crossZoneEnabled: false,
  }),
  // new blueprints.addons.CloudWatchAdotAddOn(),
  // new blueprints.addons.XrayAddOn(),
  //add Datadog
];

const eksBlueprint = blueprints.EksBlueprint.builder()
  .account(account)
  .region(region)
  .resourceProvider(
    blueprints.GlobalResources.HostedZone,
    new blueprints.ImportHostedZoneProvider(domainAWSID, subdomain),
  )
  .resourceProvider(
    blueprints.GlobalResources.Certificate,
    new blueprints.CreateCertificateProvider(
      "wildcard-cert",
      `*.${subdomain}`,
      blueprints.GlobalResources.HostedZone
    )
  )
  .addOns(...addOns)
  .clusterProvider(clusterProvider)
  .teams(...teams)
  .build(app, clusterName);

const eksVpc = eksBlueprint.getClusterInfo().cluster.vpc
// const eksSubnets = eksBlueprint

new Nodegroup(eksBlueprint, 'testGpuNodeGroup', {
  cluster: eksBlueprint.getClusterInfo().cluster,
  nodegroupName: "testGpuNodeGroup",
  desiredSize: 1,
  instanceTypes: [new InstanceType("g4dn.xlarge")],
  diskSize: 50,
  amiType: NodegroupAmiType.AL2_X86_64_GPU,
  capacityType: CapacityType.SPOT,
});

Possible Solution
There might be a conflict somewhere as some TXT records are created with and without prefix for a same url...
Additional Information/Context
No response
CDK CLI Version
2.81.0 (build bd920f2)
EKS Blueprints Version
1.8.1
Node.js Version
v18.14.0
Environment details (OS name and version, etc.)
Mac OS 13.2 (22D49)
Other information
No response

This seems to solve the issue  https://github.com/kubernetes-sigs/external-dns/issues/262
Is it possible to pass the args in CDK code?

This seems to solve the issue kubernetes-sigs/external-dns#262
Is it possible to pass the args in CDK code?

You can surely pass txtPrefix in the values for the add-on. E.g.
new blueprints.ExternalDnsAddOn({
    hostedZoneResources: [blueprints.GlobalResources.HostedZone], // you can add more if you register resource providers,
    values: { txtPrefix: "value"}
})

The list of values to pass to the external DNS add-on as extra helm parameters is here.
Please let me know if it works. If there is something we need to include in the framework ootb, happy to discuss/include the change.

@shapirov103 I think it could be a great idea to add a default value for txtPrefix as without it it doesn't work properly on route53.

@shapirov103  I did that in my CDK code but the value is not applied, any thoughts?
 new blueprints.addons.ExternalDnsAddOn({
    hostedZoneResources: [blueprints.GlobalResources.HostedZone],
    values:{
      'txt-prefix':'xdnstest-'
    }
  }),

@cyril94440 it is a bit unclear why you used txt-prefix as opposed to what I used in the example txtPrefix? Please see the list of values here: https://github.com/kubernetes-sigs/external-dns/blob/master/charts/external-dns/values.yaml
Case matters.

Closing this issue.


[BUG] - Switch Component's thumb doesn't slide

NextUI Version
2.2.9
Describe the bug
I wanted to use switch component. but the problem is its thumb doesn't slide left to right or right to left
Your Example Website or App
No response
Steps to Reproduce the Bug or Issue
Just use switch component to see its problem
Expected behavior
expected to see its thumb slides perfecly but it has been stucked
Screenshots or Videos
No response
Operating System Version
macOS
Browser
Chrome

@aryankholqi could you send a codedanbox/stackblitz? it works fine on the docs/tests/storybook
https://nextui.org/docs/components/switch
https://storybook.nextui.org/?path=/story/components-switch--default


Update Atom section on editor plugins page to say that it is archived

Update Atom section on editor plugins page to say that it is archived

editor_plugins.md  has section on ATOM. It is now archived. Some may still be using this so we should keep it for a little longer but it should be made clear that Atom is archived and support will be limited or absent.

I vote for deleting it. Unfortunately, people should move away from Atom 😢

I'm +1 for deleting the content. This relates to #1623 as well.

Please assign me this issue.

Hi @GerardoAcquaviva it's always good to connect issues and PRs, for example by adding a comment like "fixes issue #xxx". Read more about it here

PR https://github.com/nf-core/nf-co.re/pull/1677 for this issue has been accepted.


Correct minizinc install command lines in doc for Linux without FUSE

We add the lib/ directory to LD_LIBRARY_PATH to avoid issues with gecode.

Thanks !!


Expose a complete SQL queries to be utilised by Apache Beam

Is your feature request related to a problem? Please describe.
Apache Beam is an open-source, unified programming model for batch and streaming data processing pipelines that simplifies large-scale data processing dynamics. I'm developing Apache Beam Python I/O connectors that utilises your integration features of SQL and open table format sources (and possibly sinks). Following the I/O connector development guide, I'll be building Splittable DoFn objects, and they require a complete set of SQL queries as per partition conditions (eg partition_col, num_partitons...). Then, those queries are executed in multiple instances of DoFn objects followed by combining the results before ingesting into subsequent tasks.
For SQL sources as an example, the physical plan scheduler prints SQL queries but they don't seem to be available in Python. I might be able to obtain the queries using the sql scan operator but it looks incomplete because the pushdowns object is not directly obtainable in python. In this regards, it'll be good if a complete SQL queries can be obtained in python.
Describe the solution you'd like
I guess the physical plan schedule is available for both SQL and open table format sources. Although it includes SQL queries but they cannot be obtained in python. It'll be good if there is a to_dict() method or similar that support to obtain a complete SQL queries.
USER_STMT = "SELECT id, first_name, last_name, email FROM staging.users"
## not fully evaluated
df = daft.read_sql(
    sql=USER_STMT, conn=create_connection, partition_col="id", num_partitions=9
)
## physical plan schedule should exist for sql and open table formats
physical_plan_scheduler = df._builder.to_physical_plan_scheduler(
    daft.context.get_context().daft_execution_config
)
## can we have a to_dict method or another that can obtain a complete sql queries?
physical_plan_scheduler
# * TabularScan:
# |   Num Scan Tasks = 9
# |   Estimated Scan Bytes = 685008
# |   Clustering spec = { Num partitions = 9 }
# |   SQL Queries = [SELECT * FROM (SELECT id, first_name, last_name, email FROM staging.users) AS subquery WHERE id >= 1 AND id < 1112,..]
# |   Schema: {id#Int64, first_name#Utf8, last_name#Utf8, email#Utf8}
# |   Scan Tasks: [
# |   {Database {postgresql+psycopg2://devuser:***@localhost/devdb}}
# |   {Database {postgresql+psycopg2://devuser:***@localhost/devdb}}
# |   {Database {postgresql+psycopg2://devuser:***@localhost/devdb}}
# |   ...
# |   {Database {postgresql+psycopg2://devuser:***@localhost/devdb}}
# |   {Database {postgresql+psycopg2://devuser:***@localhost/devdb}}
# |   {Database {postgresql+psycopg2://devuser:***@localhost/devdb}}
# |   ]

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.

Hi @colin-ho
How are you? Is there an update?
Cheers,
Jaehyeon

Hey @jaehyeon-kim ! Sorry for the late update, I think the simplest way for us to do this is to serialize the physical plan into JSON, then you would be able to extract the sql queries from the JSON. PR is here: https://github.com/Eventual-Inc/Daft/pull/3023

Hi @colin-ho
Thank you so much for the update. Look forward to having the feature available soon!
Cheers,
Jaehyeon

The feature has been merged in, and should be available in the next release!


Customfilesystemmodel grandparent

This passes test scenario 10, but leaves 11 and 13 as failing.  I'm currently double-checking my solutions for 11 and 13, and will upload them to a separate PR in case you want to see everything at once.

Err, wait a moment... why did I include (int role) in the definition of ::dataInteral()?  Now I'm thinking that I should have removed that.
I won't change it yet, but if you have any thoughts on this I'd love to hear them.

Regarding dataInteral(), depends on how you want to use it. If you only plan to use it in setIndexCheckState() I would remove role along with the asserts.

After some consideration, I've gone with the slightly longer
if((dataInternal(parent) == Qt::Checked) || (hasCheckedAncestor(parent))

line, since it's easier to understand what's happening.  If you like this adjusted PR, I'll rebase the two later commits to their previous ones.

Right, fixed.  I also re-ran clang-format.

Looks good, do you want me to merge this now or test it in parallel with the changes for the other failing cases?

Rebased history.  Please merge this now; I'll put the other fixes separately.


Anuglar 2+ support?

Will you support Angular 2 and above?

that would be very welcome

That would be awesome!


Commit command using "git add ."

The issue #8 has introduced a git add . command in the execution of git work commit command.
I believe this is not always good. Sometimes we need to commit just some files, not all that were changed.
@fabriciofx what will you think if we change commit command, introducing a new parameter like this?
git work commit -a "message"
This is could be related with #18 too.

I'd say this kind of thing is a stopper for me.
I sometimes create a few changes as part of my though process, and then commit my changes in different commits, picking which change belongs where. Having to commit all changes in one single commit is for me a no game.
But unfortunately I don't see a way of doing this kind of workflow via command line without loosing efficiency.

@nunopicado I agree with you. We need to commit always a few changes per command. Because this I consider this issue a bug and should be resolved.

But unfortunately I don't see a way of doing this kind of workflow via command line without loosing efficiency.

The problem is adding files typing one by one. If you made many changes in many files may be a hard work to do the job using command line. In that case you can use git gui or we can think in something better...

I go to an extend in which I commit not this or that file, but this or that line in a changed file.
Sometimes the same file has changes which belong in different commits.

In these cases, using command line, we need to use git add -p to decide which lines need to be committed.

Or a GUI! :)

Yeah, of course. In fact I still use git gui and gitk together with the command line.
This project won't try to substitute a GUI. The major goal here is simplicity, effectiveness, and give to the users a flow to work.

Done in https://github.com/mdbs99/git-work/commit/7f825f15e4bdafd1fd5c4daf210f1d6eb29178ac.


Azurite doesn't support Set Blob Tier operation on lease blob and snapshot blob.

Error Description:
In Azure, it will return error "BlobNotFound" when use Set Blob Tier operation with invalid leaseId or snapshot.
But in Azurite, it will set blob tier successfully in this case.
Azure error is shown as following:

To Reproduce
import {
  BlobServiceClient
} from "@azure/storage-blob";
import * as assert from "assert"

async function main() {
  const blobServiceClient = await BlobServiceClient.fromConnectionString("Azurite-https-connectionString");
  const containerClient = await blobServiceClient.getContainerClient("<container-name>");
  const blockBlobClient = await containerClient.getBlockBlobClient("<blob-name>");
  const fakeVersion = "2020-04-23T03:21:50.5338150Z";
  const snapshotBlobClient = blockBlobClient.withSnapshot(fakeVersion);
  try{
    await snapshotBlobClient.setAccessTier("Cool");
  }catch(err){
    console.log(err);
    assert.ok((err as any).response.parsedBody.Code === "BlobNotFound");
  }
}

main();

Error Track:
The reason maybe is that the parameter leaseId and snapshot are not be processed in Blob Set Tier handler method in azurite. The code is shown as following:
https://github.com/Azure/Azurite/blob/master/src/blob/handlers/BlobHandler.ts#L872

Expected Behavior
When use Set Blob Tier operation with invalid leaseId or snapshot, it doesn't set blob tier successfully and return the error "BlobNotFound".
@jongio for notification.

@zzhxiaofeng
Thanks for raising the issue!
We will evaluate it.
We welcome contribution to Azurite.
It would be great if you could contribute the the fix of this issue.

@blueww, is it possible to increase the priority of this issue? I just ran into this too when trying to set the access tier with a valid lease and getting back a 412 saying There is currently a lease on the blob and no lease ID was specified in the request (to be clear, the lease ID is specified and valid and the same code works perfectly fine against the Blob Storage live site). Thanks!

@blueww, is it possible to increase the priority of this issue? I just ran into this too when trying to set the access tier with a valid lease and getting back a 412 saying There is currently a lease on the blob and no lease ID was specified in the request (to be clear, the lease ID is specified and valid and the same code works perfectly fine against the Blob Storage live site). Thanks!

@dennisdietrich
Thanks for the information!
We will priority the fix.
And we welcome contribution to Azurite.
It would be great if you could contribute the the fix of this issue.

@dennisdietrich
Thanks for the information!
We will priority the fix.
And we welcome contribution to Azurite.
It would be great if you could contribute the the fix of this issue.

Lease ID is already fixed.
Keep the issue open for snapshot fix.

Lease ID fix is already released in v3.11.0.

azsdk-azurite


Can't see the patch 7.05 raid (savage) boss cast bar and debuff description

I'm using "JapaneseWithEnglish_SayQuest Japanese", and the skill name of the boss is displayed well on the 1st to 3rd floors, but from the 4th floor, I can't see the skill name of the boss, such as 'narrow witch hunt,, witch hunting, witchgleam'. There is nothing written on the casting bar.. The debuff description window only shows - and nothing is written.

7.05신규 레이드 영식레이드에서 1에서3층까진 보스가 뭘캐스팅 하는지 스킬이름이 보이는데 4층 부터는 보스가 무슨 공격을 쓰는지 캐스팅바에 아무것도 안적혀있고 텅 비어있어요 디버프창 설명에도 아무것도 안뜨고 ‘-‘라고만 적혀있어요

I've not been able to figure out any solution for this unfortunately. I've tried changing the backup language and adding other root directories for the game files. In the logs, the move names and "add" names don't appear either. Weird that this is the only fight this isn't working for