Support passing arguments to the test runner

I want to create my own macro around using the rules_bazel_integration_test and I created a custom test runner in python that uses pytest.  I want to be able to specify a default set of "tests" required to pass on each target type, eg.: "bazel info" and "bazel query //..."
I would also like to have each caller of the custom macro specify unique tests.  My macro is essentially this

def __get_label(label):
    """
    Return a Label object representation.

    Args:
        label: a string label"""
    if label.startswith("@") or label.startswith("//"):
        return label
    else:
        return Label("//{}:{}".format(native.package_name(), label.lstrip(":")))

def __bazel_py_intetration_test(
        name,
        srcs,
        workspace_path,
        run_files,
        main = None,
        tags = None,
        deps = [],
        env = {},
        target_compatible_with = None):
    test_scenario_name = "{}_scenario".format(name)
    tags = tags or []
    srcs = [__get_label(src) for src in srcs] + [
        "@//bazel/integration_tests:bit_python_runner.py",  ## The test runner py_library
        "@//bazel/integration_tests/py:common_py_bit_tests",  # common tests
    ]
    python.binary(
        name = test_scenario_name,
        main = ":bit_python_runner.py",
        srcs = srcs,
        args = [
            "--fixtures-per-test",
            "-rpa",
            "-vvvv",
        ] + ["$(locations {})".format(src) for src in srcs],
        deps = deps+[
           # any dependencies required for :bit_python_runner.py
        ],
        testonly = True,
    )

    workspace_files = integration_test_utils.glob_workspace_files(workspace_path)

    workspace_files = [
        "@//:local_repository_files",  # all files in the main workspace
    ] + workspace_files + run_files

    # Declare the integration tests.
    bazel_integration_test(
        name = name,
        bazel_binary = "@//tools:bazel",
        test_runner = ":{}".format(test_scenario_name),
        env = env,
        tags = ["exclusive", "bit"] + tags,
        workspace_files = workspace_files,
        workspace_path = workspace_path,
        target_compatible_with = target_compatible_with,
    )

The args value of the python.binary does not get called when invoking the bazel_integration_test.
My end goal is to be able to define a test once, and have said test execute against all "bazel_integration_test" targets.  One option is to allow passing arguments to the test runner

The issue with why the args is not called is subtle. rules_bazel_integration_test passes the test_runner to the underlying test using the data attribute. This makes the binary and its runfiles available to the test. However, it does not serialize/preserve arguments that are passed to the test runner via the args attribute. In other words, the test runner binary needs to have the arguments serialized in the binary or the runfiles.
There are several ways to tackle this:

Update your macro to write a script that includes the arguments that you would like preserved. Then, pass that script as the test runner to bazel_integration_test. However, if you are passing file paths, you need to ensure that those files are included in the runfiles for the binary. See the next two options before going down this path.
Use the execute_binary rule to create a binary target that includes the provided binary and the arguments. This rule collects arguments and their related files, puts them into a package so that it can be copied and executed elsewhere.
Use the execute_binary_utils Starlark module to write your own binary rule that serializes the arguments. See default_test_runner as an example.


Validation accuracy stuck at 0.6 in my CNN model

I've been creating a CNN to map facial emotions to certain emojis, but after certain epochs I cant seem to get the validation accuracy past the 0.61 mark, while the training accuracy keeps increasing smoothly as required. I can recognize this as an overfitting problem since the validation loss also dips and then keeps increasing, but I cant seem to find methods like regularization or dropouts showing any change in the validation accuracy. So I'm wondering if something is wrong with my model itself, like it being having too many parameters or such? Here is the model:
model = tf.keras.Sequential()
model.add(Conv2D(32, kernel_size = (3,3), input_shape = (48,48,1)))
model.add(Activation('relu'))
model.add(Conv2D(64, kernel_size=(3, 3)))
model.add(Activation('relu'))
model.add(MaxPooling2D(pool_size=(2, 2)))
model.add(Dropout(0.25))
model.add(Conv2D(128, kernel_size=(3, 3)))
model.add(Activation('relu'))
model.add(MaxPooling2D(pool_size=(2, 2)))
model.add(Dropout(0.25))
model.add(Conv2D(128, kernel_size=(3, 3)))
model.add(Activation('relu'))
model.add(MaxPooling2D(pool_size=(2, 2)))
model.add(Dropout(0.25))
model.add(Flatten())
model.add(Dense(1024))
model.add(Activation('relu'))
model.add(Dropout(0.5))
model.add(Dense(7))
model.add(Activation('softmax'))
Data consists of 48x48 pixel images which has 28701 training instances and 7178 validation instances

Can you please provide a google colab gist along with the dataset link?

@requiem-of-souls
Please, fill issue template.Please, let us know which TF version you are using?
Request you to share colab link or simple standalone code with supporting files to reproduce the issue in our environment.It helps us in localizing the issue faster.Thanks!

@ravikyram I'm using TF 2.3.0 in Colab. here is the gist of the model:
https://gist.github.com/requiem-of-souls/ecdccf36c8cace79bc83e32fd3dbddd8#file-trainer-ipynb
@PrattJena the dataset is the FER2013 dataset from Kaggle:
https://www.kaggle.com/c/challenges-in-representation-learning-facial-expression-recognition-challenge/data

@requiem-of-souls
I am not able to see see the gist from the link you have shared. Please, help me with the reproducible code. Thanks!

sorry for that, here's the colab file itself https://colab.research.google.com/drive/1dcTbpQZSzl8e9VGAsMnSZYpAo6wqnkMQ?usp=sharing

@requiem-of-souls
I tried in colab and i am facing the error (Found 0 images belonging to 0 classes.). Can you please provide the data under train and test folder.Please, find the gist for your reference.Thanks!

@ravikyram try importing this dataset, this includes the actual images rather than csv files:
https://www.kaggle.com/msambare/fer2013

I havent tried running the code fully yet but my views after seeing your code are you are applying too much of data. Everytime you apply dropout it loses us some data. Sure it makes training faster. But you have applied dropouts in 4 places. And if you actually go to count them at the end you are effectively only training on 6000 images which is way less than even the test data. So i guess the reason for low accuracy is  lot of dropout. I will test my theory and get back to you.


Test for public kernel inputs serialization

Serialization test for aztec3::circuits::abis::private_kernel::PublicInputs

Feel free to merge, if it's ready to be merged :)


Refactor Task Card Component to Improve Readability and Maintainability

Description
The src/components/tasks/card/index.tsx file is becoming too complex with a lot of code stuffed into it. To improve the readability and maintainability of the code, let's refactor the Task Card component and break it down into smaller, more manageable pieces.
Some potential steps we could take to achieve this include:

Identify logical sections of the component that can be split into separate sub-components.
Extract repetitive or complex logic into separate helper functions or utilities.
Simplify the component's interface by removing unnecessary props or state variables.
Ensure that the component follows best practices for naming, formatting, and commenting.

By breaking down the Task Card component in this way, we can make it easier for developers to work with the code, and reduce the risk of bugs and errors creeping in over time.

If the issue is resolved we can close this.


Fixes ka_GE casing issue for new Unicode 11 standard

Georgian Script Casing in Python 3.7 and Unicode 11
The problem is in all versions starting with python 3.7, let's go back a little and follow what happened.
So with the new version of Unicode 11 (June 5, 2018) we have some major changes for the Georgian script. Georgian was considered a monocameral (non-casing) script. Therefore, Georgian letters were gc=Lo(Letter, Other) and starting from the version 11 Unicode 11.0, those Georgian letters are now gc=Ll(Letter, Lowercase). In python 3.7 first release(June 27, 2018), we have implementation of Unicode 11 and manipulation on the Georgian scripts (capitalize, titlecasing, uppercase) gives us strange symbols on the output.
ex. shown below
Python 3.7.5 (default, Oct 17 2019, 12:21:00)
[GCC 8.3.1 20190223 (Red Hat 8.3.1-2)] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> 'ა'
'ა'
>>> 'ა'.upper()
'Ლ'
>>> print('ა'.upper())
Ლ
>>> print('ლაშა'.upper())
ᲚᲐᲨᲐᲐ
>>> print('ლაშა'.capitalize())
Ლაშა

Casting issue on the Python issue tracker
The bug is in capfirst link and upper link methods
These is django builtin tags, which is used to capitalize the first letter of a string and converts a string into all uppercase. When i used to this tag in  template gives me strange symbols on the output.
Also, this bug affects the Django ain because this filter tag is used in model forms and templates in Django admin.
fixes implementation

@Lh4cKg Thanks for this patch, however ignoring Georgian letters is not a good approach, IMO, It's not generic, moreover Django uses Python's upper() which works properly according to the issue37121. You can always create and use a custom template filters if you don't want current behavior.


MockFileSystem: IFile.GetLastWriteTimeUtc may return wrong last write time after calling IFileInfo.Open

Describe the bug
IFile.GetLastWriteTimeUtc returns the system time instead of MockFileData's LastWriteTime value if IFileInfo.Open was called with File.Open but without FileAccess.Read.
To Reproduce
using System.Diagnostics;
using System.IO.Abstractions.TestingHelpers;

// Setup
const string path = @"C:\test.file";
var mockFs = new MockFileSystem();
var lastWriteTime = new DateTime(2023, 08, 22, 10, 30, 00, DateTimeKind.Utc);
Console.WriteLine("Expected write time: {0}", lastWriteTime);
mockFs.AddFile(path, new MockFileData("test") { LastWriteTime = lastWriteTime });

// Act
var file = mockFs.FileInfo.New(path);
using (file.Open(FileMode.Open)) { }

// Assert
var fileInfoWriteTime = file.LastWriteTimeUtc;
Console.WriteLine("LastWriteTimeUtc from property: {0}", fileInfoWriteTime);
Debug.Assert(fileInfoWriteTime == lastWriteTime);

var fileWriteTime = mockFs.File.GetLastWriteTimeUtc(file.FullName);
Console.WriteLine("LastWriteTimeUtc from call: {0}", fileWriteTime);
Debug.Assert(fileWriteTime == lastWriteTime);

The code returns an output similar to this, and the last assertion is hit:
Expected write time: 22.08.2023 10:30:00
LastWriteTimeUtc from property: 22.08.2023 10:30:00
LastWriteTimeUtc from call: 22.08.2023 08:44:14

Expected behavior
The correct write time (= the time set in the MockFileData initializer) is returned in all cases.
Additional context
Removing the call to Open or adding the FileAccess.Read argument both lead to correct behaviour.

@jhinder :
In #875 I implemented that on access to a file the LastWriteTime is set accordingly. Per default it uses the current DateTime, but you can overwrite this behaviour by setting MockFileSystem.MockTime().

I think the answer above allows you to make it work for you, so I'm closing this. Feel free to reopen if anything is missing!


Pass in keyword arguments in embedding utility functions

The embedding utility functions currently only accept a minimum number of arguments. If a user needs to specify a few more keywords, that person can no longer use these functions, making them less useful than they could be. An example is shown in #392, in which an extra request_timeout argument can help bypass an unresolved bug.
This PR solves this problem by adding kwargs to all these utility functions.

The print statements were added in my first commit for debugging purposes. They were not in the codebase in the first place. I forgot to remove them when pushing the first commit. That's why I removed them in a second commit.

The print statements were added in my first commit for debugging purposes. They were not in the codebase in the first place. I forgot to remove them when pushing the first commit. That's why I removed them in a second commit.

Understood thanks.
:-)


feat: Transfer nfts  show fees

PR Type

[ ] Bugfix
[x] Feature
[ ] Refactoring

Needs Design check

@exezbcz please review

Context

[x] Closes #9105

Did your issue had any of the "$" label on it?

[x] Fill up your DOT address: Payout

Screenshot 📸

[x] My fix has changed something on UI;

Thanks!
pay 30 usd


Trace saga put origins for debugging purposes - saga function name and line number

Currently I have a big amount of redux actions in my project. When debugging it would be convenient to inspect origins (component methods, redux-saga functions) that dispatched actions.
For pure redux I can write middleware:
const logMiddleware = () => next => action => {
  const fakeError = new Error();
  const stack = fakeError.stack;
  const logAction = {...action, stack };
  return next(logAction);
};

But it doesn't show origins of redux saga for put effects. I understand that they are just effects and real work is done in middleware, but it would be really cool to see trace info - where did that action came from (function name and line number).

You can try to wrap put effect with function:
const betterPut = (...args) => {
   // log here
   return put(...args)
}

And use it in you saga:
yield betterPut()

It's super easy to create your own modified effects since effects it's just a plain objects

Thanks for the idea.
The only downside is that I need to import that wrapped put method and use it.
Are there any means to change original saga put effect to decorated one somewhere in application entry point?
If I write something like this:
saga.put = betterPut

I'm getting Cannot set property put of [object Object] which has only a getter error.

@springjazzy sorry, I haven't tried this so i'm not sure it would work, but did you try using Object.defineProperty to work around the getter only thing?

@tareqdayya put is not configurable property. So i'm getting Uncaught TypeError: Cannot redefine property: put

I've ended up with following solution:
function put(action) {
  const fakeError = new Error();
  const stack = fakeError.stack;
  return saga.put({ ...action, stack });
}

const handler = {
  get: function (target, prop) {
    if (prop === 'put') {
      return put;
    }
    return target[prop];
  },
};
const proxy = process.env.NODE_ENV !== 'development' ? saga : new Proxy(saga, handler);
export default proxy;


fix: missing remove() function on Canvas.

This function is called in PositionerRenderer.destroy() but was missing.
What do you think of the proposed implementation ?
Many thanks for your work on this lib !

Good catch! I think this regression was caused in https://github.com/chanind/hanzi-writer/pull/24. I'll test this out a bit more later tonight and get this merged. Thanks for the PR!

I just see that I didn't include the builds result with this patch applies (I'm talking of the new dist/*). I can add them if you need them.

No problem, I'll build them after merging. They need to be rebuilt for
every NPM release anyway.
On Mon, Feb 5, 2018 at 4:04 PM, Valentin Lab<EMAIL_ADDRESS>wrote:

I just see that I didn't include the builds result with this patch applies
(I'm talking of the new dist/*). I can add them if you need them.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/chanind/hanzi-writer/pull/40#issuecomment-363008413,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAMQFRazMNpZLUZzAoIWR-_w9m5Mawp1ks5tRrX3gaJpZM4R44hw
.


Session expires: PermissionDenied, error: StatusCode(403)

Description
After a random time period (around 1 hour, but not exactly 1h like in 1377 ) no music is played anymore. It seems this is happening after a Token expiration event.
After restarting librespot, everything is working fine
Version
0.5.0
How to reproduce
Running librespot in Moode's default settings
That should mean librespot is running with authentication via SpotifyConnect (started on an Android device).
[2024-11-01T13:46:27Z TRACE librespot] Command line argument(s):
[2024-11-01T13:46:27Z TRACE librespot] 		name "ServerMoode Spotify"
[2024-11-01T13:46:27Z TRACE librespot] 		bitrate "320"
[2024-11-01T13:46:27Z TRACE librespot] 		format "S16"
[2024-11-01T13:46:27Z TRACE librespot] 		mixer "softvol"
[2024-11-01T13:46:27Z TRACE librespot] 		initial-volume "100"
[2024-11-01T13:46:27Z TRACE librespot] 		volume-ctrl "log"
[2024-11-01T13:46:27Z TRACE librespot] 		volume-range "60"
[2024-11-01T13:46:27Z TRACE librespot] 		cache "/var/local/www/spotify_cache"
[2024-11-01T13:46:27Z TRACE librespot] 		disable-audio-cache
[2024-11-01T13:46:27Z TRACE librespot] 		backend "alsa"
[2024-11-01T13:46:27Z TRACE librespot] 		device "plughw:Loopback,0"
[2024-11-01T13:46:27Z TRACE librespot] 		onevent "/var/local/www/commandw/spotevent.sh"
[2024-11-01T13:46:27Z TRACE librespot] 		v
I have a couple of devices running the spotify client. It seems my Echo Dot takes over the client role frequently:
	Line 34927: [2024-11-01T11:54:50Z DEBUG librespot_playback::player] command=EmitSessionClientChangedEvent("9a8d2f0ce77a4e248bb71fefcb557637", "Pixel 6a", "google", "Pixel 6a") 	Line 35286: [2024-11-01T11:54:51Z DEBUG librespot_playback::player] command=EmitSessionClientChangedEvent("27d4dfe427b34d57995b463e5d63198d", "db51dfff-8c44-4a27-83d9-18be1dc34854", "Amazon", "Echo_Dot") 	Line 40554: [2024-11-01T12:07:09Z DEBUG librespot_playback::player] command=EmitSessionClientChangedEvent("756a522d9f1648b89e76e80be654456a", "Grundig Android TV", "ARCELIK", "GrundigAndroidTV") 	Line 45366: [2024-11-01T12:21:07Z DEBUG librespot_playback::player] command=EmitSessionClientChangedEvent("9a8d2f0ce77a4e248bb71fefcb557637", "Pixel 6a", "google", "Pixel 6a") 	Line 45725: [2024-11-01T12:21:08Z DEBUG librespot_playback::player] command=EmitSessionClientChangedEvent("27d4dfe427b34d57995b463e5d63198d", "db51dfff-8c44-4a27-83d9-18be1dc34854", "Amazon", "Echo_Dot") 	Line 52288: [2024-11-01T12:39:43Z DEBUG librespot_playback::player] command=EmitSessionClientChangedEvent("9a8d2f0ce77a4e248bb71fefcb557637", "Pixel 6a", "google", "Pixel 6a") 	Line 52648: [2024-11-01T12:39:44Z DEBUG librespot_playback::player] command=EmitSessionClientChangedEvent("27d4dfe427b34d57995b463e5d63198d", "db51dfff-8c44-4a27-83d9-18be1dc34854", "Amazon", "Echo_Dot") 	Line 58873: [2024-11-01T13:10:05Z DEBUG librespot_playback::player] command=EmitSessionClientChangedEvent("756a522d9f1648b89e76e80be654456a", "Fire TV", "Amazon", "AFTKA") 	Line 59309: [2024-11-01T13:15:50Z DEBUG librespot_playback::player] command=EmitSessionClientChangedEvent("9a8d2f0ce77a4e248bb71fefcb557637", "Pixel 6a", "google", "Pixel 6a") 	Line 59669: [2024-11-01T13:15:50Z DEBUG librespot_playback::player] command=EmitSessionClientChangedEvent("27d4dfe427b34d57995b463e5d63198d", "db51dfff-8c44-4a27-83d9-18be1dc34854", "Amazon", "Echo_Dot")
So far, this has been happening in every session.
Log
see for exact position of error https://pastebin.com/MdZeQT73
Full log: https://pastebin.com/9rs4gu3p
Host (what you are running librespot on):
running on Moode 9.1.4 with Raspberry Pi 4 (multiroom mode, but that should not matter)
Additional context
Android device (Pixel 6a) shows still the librespot device as "connected"

Please try with 0.6.0 that was released days ago.

We should fix these logs to redact the tokens.

It seems the issue is solved with 0.6.0
24hours uninterrupted playback. This was never achieved with previous versions on my setup


Here is the CODE

This is the I am calling from client:

    const int DataTimeout = 5000;
    static void Main(string[] args)
    {
        var plcClient = new PlcTag();
        string ipAddress = "<IP_ADDRESS>";
        string path = "1,0";
        string name = "F8:01";
        int elementSize = 4;
        int elementCount = 1;
        int debugLevel = 1;
        string error = null;
        Tag tag = new Tag(ipAddress, path, CpuType.PLC5, name, elementSize, elementCount, debugLevel);
        var rc = plcClient.ReadTag(tag, DataTimeout);
        if (rc != PlcTag.PLCTAG_STATUS_OK)
            error = plcClient.DecodeError(rc);
        /* read the data */
        for (int i = 0; i < tag.ElementCount; i++)
        {
            float value = plcClient.GetFloat32Value(tag, (i * tag.ElementSize));
        }
    }

The ReadTag method is giving error:
An unhandled exception of type 'System.Collections.Generic.KeyNotFoundException' occurred in mscorlib.dll
}

public class PlcTag: IDisposable
{
private readonly Dictionary<string, IntPtr> _tags;
public PlcTag()
{
_tags = new Dictionary<string, IntPtr>();
}
public int ReadTag(Tag tag, int timeout)
{
var result = plc_tag_read(_tags[tag.UniqueKey], timeout);
return result;
}
[DllImport("plctag.dll", EntryPoint = "plc_tag_read", CallingConvention = CallingConvention.Cdecl)]
static extern int plc_tag_read(IntPtr tag, int timeout);
}

You have to call AddTag before using it. See the example
'''
client.AddTag(tag);
/* let the connect succeed we hope */
while (client.GetStatus(tag) == Libplctag.PLCTAG_STATUS_PENDING)
{
Thread.Sleep(100);
}
'''

Thank for the update, now I added the code and getting error saying PLCTAG-ERROR-TIMEOUT
Same tag works file when I call directly using PLC tag rw program.
Sent from my iPhone

On Sep 9, 2017, at 2:31 PM, Michele Cattafesta<EMAIL_ADDRESS>wrote:
You have to call AddTag before using it. See the example
'''
client.AddTag(tag);
/* let the connect succeed we hope */
while (client.GetStatus(tag) == Libplctag.PLCTAG_STATUS_PENDING)
{
Thread.Sleep(100);
}
'''
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.

You should use this Tag constructor.
var tag = new Tag("<IP_ADDRESS>", CpuType.SLC, "B3:0", DataType.Int16, 1);

Still getting the same error.
Sent from my iPhone

On Sep 9, 2017, at 3:17 PM, Michele Cattafesta<EMAIL_ADDRESS>wrote:
You should use this Tag constructor.
var tag = new Tag("<IP_ADDRESS>", CpuType.SLC, "B3:0", DataType.Int16, 1);
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.

Any update I am connecting PLC 5.
Sent from my iPhone

On Sep 9, 2017, at 3:17 PM, Michele Cattafesta<EMAIL_ADDRESS>wrote:
You should use this Tag constructor.
var tag = new Tag("<IP_ADDRESS>", CpuType.SLC, "B3:0", DataType.Int16, 1);
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.

If there is a timeout there is not much I can do. You have to verify that you can connect to the plc and that the network is set correctly.

Can you post the updated code ?

Hi there,
Finally I was able to resolve all my network issues etc and able to get the data out.
One question, how we read string data.
Regards,
Rishi
Sent from my iPhone

On Sep 10, 2017, at 11:36 AM<EMAIL_ADDRESS>wrote:
Any update I am connecting PLC 5.
Sent from my iPhone

On Sep 9, 2017, at 3:17 PM, Michele Cattafesta<EMAIL_ADDRESS>wrote:
You should use this Tag constructor.
var tag = new Tag("<IP_ADDRESS>", CpuType.SLC, "B3:0", DataType.Int16, 1);
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.

I forgot to push the example.
Check it here:
https://github.com/mesta1/libplctag-csharp/blob/master/Slc500Strings/Program.cs
You can read maximum 1 string per request, so don't try to increase the element count, it will not work.

Thanks for the update, it's working fine for me now.
Any idea if I can get all the available tags list out from PLC?
Regards,
Rishi
On Thu, Sep 21, 2017 at 4:25 PM, Michele Cattafesta <
<EMAIL_ADDRESS>wrote:

I forgot to push the example.
Check it here:
https://github.com/mesta1/libplctag-csharp/blob/master/
Slc500Strings/Program.cs
You can read maximum 1 string per request, so don't try to increase the
element count, it will not work.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/mesta1/libplctag-csharp/issues/2#issuecomment-331271238,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AcQv8CYPlGx1ELdNKme6hVJD3g3DBoVrks5sksYugaJpZM4PSE82
.

Hi, i am trying to communicate with  AB Micro820. It showing error in reading Tag. Created Tag as follows:
Tag tag = new Tag(IpAddress,"1,0", CpuType.LGX, Address, DataType.Int32, 1);
ERROR: Unable to read the data! Got error code -33: PLCTAG_ERR_REMOTE_ERR
please provide solution.
Thanks.

I just wanted to say thank you for your youtube video and having this be open source. This is super helpful.

Hi, Thanks For Your Efforts
I have tried one of your example of slc string. but its not working
i am using MicroLogix1400 and  c# to read string values from plc but in my case status is OK but cant read the tag
So it will very help full if i get to know that how to read string data type
Thanks In Advance


Installing<EMAIL_ADDRESS>failed.

Hi,
I've been trying to install the fountain package for Atom for the past few days, and I'm starting to feel like I've exhausted pretty much all options I can think of. I'm running Atom x64 in portable mode on a Windows 10 laptop, but I've also tried everything on the version with an installer, and the same issue reoccurs.
Atom itself seems to be running fine, and installing other packages seems to be working, but of course it's the one package in which I'm actually interested that's causing me the most trouble.
When I start Atom and open up Setting/Install, search for Fountain, and try to install fountain 0.8.3, the Install bar seems to be loading for a while. And finally I simply get a red error message.
 The idea of being able to write Fountain and being able to export PDFs from one application seems appealing to me.
Could anyone help me, please?
Thank you for your time.

This seems to be an issue with fetching package metadata for requirejs. It also might be related to #68. I was able to recreate this on Windows 10 with Fountain 0.8.3 and Atom 1.51.0 x64. Are you on a corporate or other filtered network? Any chance https://gist.github.com/taoyuan/bfa3ff87e4b5611b5cbe might be related?

Something interesting, in package-lock.js, only one dependency is different than all the others:
https://github.com/superlou/fountain-atom/blob/e3157d3ffaf9d841fa291bf616d907e5713cdc60/package-lock.json#L343-L346
Most dependencies look like this:
https://github.com/superlou/fountain-atom/blob/e3157d3ffaf9d841fa291bf616d907e5713cdc60/package-lock.json#L362-L366
I wonder if git on Windows is failing to resolve the dependency in the same way as on Linux, or maybe on some networks?

It's not explicitly a Windows 10 (version 2004) thing, since it just worked on my personal laptop, though it did take a long time to resolve. I do have git for Windows installed on this machine.
The Github dependency for "text" is coming from afterwriting:
https://github.com/ifrost/afterwriting-labs/blob/9c30b196a889f340cbe5b74554fe45240aeea5b6/package.json#L65-L76

Are you on a corporate or other filtered network?

I've now tried installing the Fountain package on several different networks, and the result is always the same.

Same issue here. Would be interested in a solution as well.

Same issue here. Would be interested in a solution as well.

@trochitv, are you on Windows?

Wow that was quick.

Unfortunately, we've been unable to find a fix for this. The only thing in common seems to be that it happens on Windows and seems to be related to how the Afterwriting plugin pulls in the "text" package. I thought it was related to https://gist.github.com/taoyuan/bfa3ff87e4b5611b5cbe, which mentions a possible work around, but I haven't been able to reliably recreate the issue to try it, since I'm usually on Linux.

I see. Seems I have to move to Linux ^^

Just recreated the issue on Ubuntu with a fresh install of atom.

I just checked again on Linux Mint 19.3. I was able to install both via the GUI and apm.
lsimons@bestever:~$ apm install fountain
Installing fountain to /home/lsimons/.atom/packages ✓

I'm still tentatively convinced it has something to do with resolving<EMAIL_ADDRESS>on some networks, but I don't know a better way to debug it. For a sanity check, can you double check if git runs from your command line? Does the following clone the text repo?
git clone<EMAIL_ADDRESS>

I was having an issue installing and found this thread. Per @superlou 's suggestion, I made sure a command-line accessible git was installed, which I got from here: https://git-scm.com/download/win
After installing it (and opening Atom fresh), I was able to install the fountain package. I hope this helps.

@trochitv Any chance that installing git as @fhisch did solves it? Unfortunately, I'm not sure a work around since it's because of Afterwriting's dependencies. I created an issue ticket with afterwriting, but I think we would first need requirejs/text to cut a release of the trunk to npm.

Sorry for not getting back to you, and thank you for your time.
You are correct. I am not working with git (yet) and was not aware that a command-line accessible git was necessary for this package to function until your proposed sanity check. I then went ahead and installed git, but didn't get around to test again on  a rebooted machine until now. It is installed.
Thank you very much again!

Sorry, to bother you again. I thought I could tackle this one myself, but aparently I can't, altough this is most likely a rookie mistake ... again:
The syntax highlighting works perfectly fine now, but neither the preview, nor the exported pdf seems to be created when the action is launched. It says so with a green checkmark, but the atom pdf viewer opens blanc and when I try to open the pdf with a different viewer it seems to not have been created at all. Neither the preview, nor the export pdf.
Do I need to install something again to make the afterwriting part work?

@trochitv, since that seems like a new issue, could you create a new one for us to track it in? Please include an example of your script that demonstrates the bug, and a screenshot or two might help us.

will do.

I have done so.

@superlou Sorry, I haven't had a dev environment to work on this project for a while.  Just did a fresh install of Atom on my Windows laptop, and tried to install the atom fountain package.  It looks to me that sortable JS needs to drop or bump versions:
"Object.assign was not transformed during the build of sortablejs, so it won't work in browsers where this does not exist (for example IE11). Please downgrade your version to 1.10.2 to keep supporting <=IE11 or upgrade to >2.0 where IE will no longer be supported."
We're referencing a tag on sortablejs that doesn't exist.  Try targeting 1.10.2
Full Stacktrace:
:14 Installing package fountain failed Error: Installing<EMAIL_ADDRESS>failed.
at C:\Users\12532\AppData\Local\atom\app-1.53.0\resources\app\static<embedded>:11:916775
at r (C:\Users\12532\AppData\Local\atom\app-1.53.0\resources\app\static<embedded>:11:911227)
at s (C:\Users\12532\AppData\Local\atom\app-1.53.0\resources\app\static<embedded>:14:1134640)
at ChildProcess. (C:\Users\12532\AppData\Local\atom\app-1.53.0\resources\app\static<embedded>:14:1134846)
at ChildProcess.emit (events.js:200:13)
at Process.ChildProcess._handle.onexit (internal/child_process.js:272:12)
npm WARN deprecated<EMAIL_ADDRESS>Object.assign was not transformed during the build of sortablejs, so it won't work in browsers where this does not exist (for example IE11). Please downgrade your version to 1.10.2 to keep supporting <=IE11 or upgrade to >2.0 where IE will no longer be supported.
npm ERR! code ENOENT
npm ERR! syscall spawn git
npm ERR! path git
npm ERR! errno ENOENT
npm ERR! enoent Error while executing:
npm ERR! enoent undefined ls-remote -h -t<EMAIL_ADDRESS>npm ERR! enoent
npm ERR! enoent
npm ERR! enoent spawn git ENOENT
npm ERR! enoent This is related to npm not being able to find a file.
npm ERR! enoent
npm ERR!      C:\Users\12532.atom.apm_logs\2020-12-19T15_48_48_945Z-debug.log

https://github.com/SortableJS/sortablejs/tree/1.10.2

@jrbostic, good point, and we should probably have an issue for that. I think the root issue is still that "requirejs/text" dependency from github.

@superlou Perhaps... but what strikes me as odd about that is that "undefined" in the stacktrace on that "npm ERR!" line... is that's where "git" would have been interpolated.  I mean... a project wont build with a non-existent dep version, right?  I'm wondering if we aren't being mislead/tricked by something here.  The solution can't be to install git.  Atom is broke, if that's the case.  Anyway... a non-existent dep is something in the way, in my mind.  Clear that out and we may be looking at a different error.  Idk

@superlou Oh, okay... I'm catching up.  That afterwriting dep.... that's where the problem is coming in.  Do you think some kind of local override could halt the attempt at resolving the dep there?  Like, what's done here:  https://stackoverflow.com/questions/15806152/how-do-i-override-nested-npm-dependency-versions
Also... may be able to figure why it was added like that in this PR: https://github.com/ifrost/afterwriting-labs/pull/133/files ... then potentially offer a solution.
Or downgrade Afterwriting to before these commits, for now?

I've been trying to get master up to the latest Afterwriting to solve #110. Turns out that the confirmation pop-up API has changed since we wrote it, and I can't figure out how to make your tests work with the new asynchronous API. That said, I don't think that will fix that dependency, and maybe something like overriding the nested NPM dependency might work? It feels a little gross.

With https://github.com/ifrost/afterwriting-labs/issues/136 released, we just need to wait for a new Afterwriting release and fix the test cases. The code itself in master should already be working.

With ifrost/afterwriting-labs#136 resolved, we just need to wait for a new Afterwriting release and fix the test cases. The code itself in master should already be working.

The change has been released in v1.17.3 and it's available in NPM.

@jrbostic Is there any chance you could take a look at those test cases on master? The ones related to the new message box API are failing, but if I try to use the old API, I had other problems.

@superlou Would be happy to!  But I'll need a window extending through this weekend.  Still not set up to work on the project and haven't seen the API changes yet.  These are dialogue windows that pop up during install and when rendering to pdf?

@jrbostic I think just the ones that happen when rendering to PDF, though I didn't know enough about them to look for others. Take as much time as you need. It looks like we managed to scratch the itch for a few people that needed it using the master, and this is a volunteer project. Have a happy holidays!


Implement HLS master playlist update probing

I have multi-period DASH live streams where the structure of the presentation can change substantially (entirely) between periods. Different languages, different number of adaptation sets, etc.
I am also simultaneously outputting this stream as HLS, for iOS compatibility. However, HLS does not have meaningful multiperiod support (at least when it comes to altering the presentation structure). Therefore, what I do at period changes is to abandon the existing HLS presentation and replace the master playlist with one that contains references to media playlists of the next period.
As Safari never reloads the master playlist, currently the client app has to manually monitor playback events and probe for master playlist updates so it can see this "manual period change" happening and know when to queue the playback of the new period.
It would be great if Shaka player could include a feature to probe for HLS master playlist updates in a similar manner than is done for MPD update probing with dynamic manifests. Driven by a configuration field similar in spirit to MPD@minimumUpdatePeriod, perhaps? Or perhaps even more useful would be server driven via #EXT-X-MINIMUM-UPDATE-PERIOD=123 or similar.
This would simplify the duties of the host app and enable something resembling sensible multiperiod with HLS. My needs for HLS are exclusive to iOS support and so also depend on #997.
I will edit this feature request and provide a suitable test content URL in the days to come, assuming this does not sound completely out of scope for Shaka.

Hi!
Just out of curiosity: what is the use case for such a drastic change in the presentation?
As for updating the master playlist: I think this is doable, although it won't be a trivial change to the code.
We could include a configuration that will regulate whether or not we update the master playlist.
Then we will need to:

decide whether we can assume we can stop updating the 'old' variants once a master playlist has changed
make appropriate changes to the hls parser
have the manifest parser change a list of variants and text tracks and communicate the change to the player so UI can be updated

@joeyparrish is there anything I'm missing?
Is this something you'd like to put on our road map?

what is the use case for such a drastic change in the presentation?

This is a live stream scenario where the content has different parameters in different time periods.
For example, changing the set of audio/text languages available (consider a TV channel showing different movies - not every language might be available for each one). The languages available for ads might also differ from the langauges available for the main content.
Likewise, changing the set of quality levels offered - not all content might be available in all quality levels, or the bitrates might just be optimized differently per movie.


Connects to #104. PASS1A data embargo extension.

Key Changes:

Updated embargo extension language on Data Access page.
Added embargo extension entry on Announcements page.
Added embargo extension alert UI only visible to external users on Dashboard page.
Added embargo extension alert UI only visible to external users on Releases page.

Steps to test:

Without signing in on the data hub portal, navigate to ^/data-access and expect to see an updated embargo language (in bold).
Then navigate to ^/announcements and expect to see a new entry titled "Embargo extension".
Sign in as an external user and expect to see an alert UI pertinent to the embargo extension message on the Dashboard.
Then navigate to ^/releases and expect to see an alert UI pertinent to the embargo extension message.
Sign out and then sign in again as an internal user. Verify the absence of the alert UIs on the 2 pages described above.

@cteng585, in regards to your suggested changes to the language, would you mind comment the shared Google Doc and request Malene for input? It will be preferable if we can keep it all in one place. Thanks.

@cteng585, in regards to your suggested changes to the language, would you mind comment the shared Google Doc and request Malene for input? It will be preferable if we can keep it all in one place. Thanks.

Thank, Young. Great catch!
The requested changes had been addressed with newer commits. Please review again.

Thank, Young. Great catch!
The requested changes had been addressed with newer commits. Please review again.

PR also addresses Dependabot CVE-2020-28168 axios vulnerability

PR also addresses Dependabot CVE-2020-28168 axios vulnerability


Unable to build webgl/web assembly version of Filament on Manjaro Linux

Since there are no instruction for how to build the webgl version on Windows I am using Majaro linux.
I have installed emcripten sdk version 2.0.26.
When I run the following command I get an error and filament will not build for me.
I run the following command
./build.sh -p webgl release
I get the following error.
building release in out/cmake-release...
-- The C compiler identification is unknown
-- The CXX compiler identification is unknown
CMake Error at CMakeLists.txt:9 (project):
No CMAKE_C_COMPILER could be found.
Tell CMake where to find the compiler by setting either the environment
variable "CC" or the CMake cache entry CMAKE_C_COMPILER to the full path to
the compiler, or to the compiler name if it is in the PATH.
CMake Error at CMakeLists.txt:9 (project):
No CMAKE_CXX_COMPILER could be found.
Tell CMake where to find the compiler by setting either the environment
variable "CXX" or the CMake cache entry CMAKE_CXX_COMPILER to the full path
to the compiler, or to the compiler name if it is in the PATH.
-- Configuring incomplete, errors occurred!

I figured it out.   You need to run this command instead.  I would suggest you add this to your documentation.
nv CC=clang CXX=clang++ ./build.sh -p webgl release

Would be nice to have instructions for how to build web assembly version on MS Windows.

Setting those variables is already described in the Linux section of the building.md doc. Windows is unfortunately not our main development environment so we probably won't be able to ensure we keep up to date and accurate info on how to build the WebGL target for Windows.


Update mssql-profile.md

Second instance will be overwritten.
Description & motivation

To-do before merge

Prerelease docs
If this change is related to functionality in a prerelease version of dbt (delete if not applicable):

[ ] I've added versioning components, as described in "Versioning Docs"
[ ] I've added a note to the prerelease version's Migration Guide

Checklist
If you added new pages (delete if not applicable):

[ ] The page has been added to website/sidebars.js
[ ] The new page has a unique filename

If you removed existing pages (delete if not applicable):

[ ] The page has been removed from website/sidebars.js
[ ] An entry has been added to _redirects
[ ] Run link testing to update the links that point to the deleted page

The link to "Versioning Docs" is broken. Here: I've added versioning components, as described in "Versioning Docs"


Changing version for repo stats blob post backport to 2.x

Need to merge post merging https://github.com/opensearch-project/OpenSearch/pull/10715
Description
Changing version for repo stats blob  as 2.x will now understand this blob.
Check List

[x] New functionality includes testing.

[ ] All tests pass

[ ] New functionality has been documented.

[ ] New functionality has javadoc added

[x] Commits are signed per the DCO using --signoff
[x] Commit changes are listed out in CHANGELOG.md file (See: Changelog)
[ ] Public documentation issue/PR created

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Failing test org.opensearch.repositories.s3.S3BlobStoreRepositoryTests.testRequestStats has been marked as AwaitsFix now .


Add now-required root-sbd argument

Added explicit root-sbd argument to ESM1.5 CD as it is required for generating the build metadata. See the linked issue.
In this PR:

cd.yml: Added now-required root-sbd argument

References ACCESS-NRI/build-cd#102

Going to override the 'Deploy to Gadi Prerelease' stuff, as this is an infrastructure update.


Fixed the delete preview to show full path

Hi,
We have proposed a fix for the issue: https://github.com/SAP/cloud-jenkins/issues/1
Kindly look into the code and review it.
Regards
Mariya & Sangeetha

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


Pre render with react-snap

I cant seem to get working helmet with Facebook, even using React-Snap as pre-rendering. Can someone guide me to setting it up? Any source code I can follow?

@DavsCode  did you manage to do it?

For example https://github.com/stereobooster/react-lingui-example#add-meta-tags-with-the-help-of-react-helmet or https://github.com/stereobooster/an-almost-static-stack/blob/react-snap/src/components/Seo.js

Did we thenget React-snap to work wit React-Helmet?

I have the same as @umangJain22 .
On view page source, I see

However, Linkedin, facebook or twitter, none of them is able to catch it.

Me too. Readme of react-snap write : "Enables SEO (Google, DuckDuckGo...) and SMO (Twitter, Facebook...) for SPAs"
But after implement react-snap, react-helmet, both  open graph facebook and twitter-card are not working with my web app. Have any one make it work? Any extra step need to implement? I am stucking in 2 days


[vcpkg] Teach vcpkg install --no-build-missing

This switch causes failure to restore from cache to abort the build instead of performing a just-in-time build.
This is useful in complex CI systems where the build was expected to have been performed previously, such as via another pipeline.

Not to bikeshed too much but should this be something like --binarycaching-only for consistency with --download-only?

What is the probability of an almost identical block of code that also needs to be edited that isn't included in the PR? :)


How does v-GPU work？

It supports v-gpu？if not，how does it support multi-doker if many user use one server to play？
I am thinking about whether i can use nvdia‘s v-gpu to support my server.

yeah, I tried introducing Virtual GPU with VGL here https://github.com/giongto35/cloud-morph/pull/68/files . However, It's not successful and CloudMorph doesn't support Virtual GPU on Linux now.
Currently, I try running CloudMorph on Windows with Windows Sandbox. Windows Sandbox has Virtual GPU going together

@giongto35 Thanks for your reply(^▽^)👍.My English is poor,and this is the first time I have post issues in github(^▽^).

@xiaodeedaijia You re welcome. It's always great to speak up and I really appreciate your feedback. It shows that my project gets attention!


PWM init

This patch changes the way the system boots and forces all GPIO pins to low on boot. This might interfere with triggers / GPIO payloads, but since the level shifter is auto-direction sending not doing this means the pins are in a random state on the output. This way we force a known state.

This fixes the state to something where the pins go down on entering the autopilot code and only start to change once PWM out is enabled.

@birchera Please test your PR also against this branch, which changes how the PWM pins are initialised. It might lead to regression.

No regression:
VTOL: http://logs.uaventure.com/view/PcLuicb4v836iZpVz5CnJN
MC: http://logs.uaventure.com/view/wqG48Vi97iHGiKfNeWWymN

Rebased and applied. Thanks for testing!


detect/warn if polymerCreated is missing

I'm not sure if this is possible to detect statically that you forget to call polymerCreated() when extending from elements like LIElement. But we should at least improve the runtime errors.
Rather than a no-such-method, we should give a more informative message.

This issue has been moved to dart-lang/polymer-dart#239.


Use eq on rpc TS error

Describe the bug
Typescript doesn't allow to use eq on an rpc call, while the code works as expected.
To Reproduce
Run
useQuery(
  client
    .rpc('get_special')
    .select('id, name')
    .eq('id', id)
);

On eq typescript says:
Property 'eq' does not exist on type 'PostgrestTransformBuilder<{ Tables: { special: { Row: { id: string; name: string; }; Insert: { ...; }; Update: { ...; }; Relations...'.ts(2339)

Expected behavior
I still get an array returned with one object, the one with the id I filtered for. I expect typescript to not give me any errors on this.
Additional context
The get_special db function has a return type of TABLE(id uuid, name text).

@boris-arkenaar thanks for opening the issue! are you sure that this is an issue with cache helpers, and not with @supabase/supabase-js? the error seems to be pointing at client.rpc('get_special').select('id, name'), and not at useQuery.

Yes, you're right. I realized that as well. My apologies. Will look into it when I'm back at my computer.

Haven't been able to do further investigations, but this issue should be closed.


⚠ gorzdrav.org has degraded performance

In ee87e25, gorzdrav.org (https://gorzdrav.org) experienced degraded performance:

HTTP code: 200
Response time: 15115 ms

Resolved: gorzdrav.org performance has improved in 665d665 after 20 minutes.


[Python] Improve ParquetManifest creation time for highly partitioned datasets

When a parquet dataset is highly partitioned, the time to call the constructor for ParquetManifest  takes a significant amount of time since it serially visits directories to find all parquet files. In a dataset with thousands of partition values this can take several minutes from a personal laptop.
A quick win to vastly improve this performance would be to use a ThreadPool to have calls to _visit_level happen concurrently to prevent wasting a ton of time waiting on I/O.
An even faster option could be to allow for optional indexing of dataset metadata in something like the common_metadata. This could contain all files in the manifest and their row_group information. This would also allow for split_row_groups to be implemented efficiently without needing to open every parquet file in the dataset to retrieve the metadata which is quite time consuming for large datasets. The main problem with the indexing approach are it requires immutability of the dataset, which doesn't seem too unreasonable.
I can likely help with either of these approaches as I have already experimented with them.

The second option sounds something akin to https://issues.apache.org/jira/browse/ARROW-1983 actually

This sounds like a good idea. Could you open a JIRA for this work (improving the performance of ParquetManifest and adding a benchmark)?

sure https://issues.apache.org/jira/browse/ARROW-2656

Thank you


fix: handle x25519 keys that are shorter than 32 bytes on deserialization

great, thanks a lot for fixing!


Allow disabling per-session history

There is now edit:history:fast-forward, which satisfies this use case.


 It looks like most of them are due to case sensitivity. There's also one failing due to field access. I've gone through custom metadata and field access to no avail and would appreciate any advice/feedback. List of failing tests attached.
DLRS Unit Test Errors.xlsx

It should not be case sensitive, but the missing comma is important.
Looking at this from mobile, so can't check further.

Looks like that was the culprit! There was a deactivated "Test" Stage. I renamed it "test" and the TestLREngine Unit Tests passed.
The only error left is on fflib_SObjectDomainTest.testObjectSecurity

System.AssertException: Assertion Failed: Expected: Permission to create an Opportunity denied., Actual: Field is not writeable: Opportunity.CloseDate

Thanks for the help!

I suppose the code should be adjusted, to be case insensitive.
The other error is from a class, which checks object access, quite an interesting test, and the result is unexpected.
Test runs and checks whether a user with profile Chatter External User, has access to the Opportunity object. Normally they would not, it seems that for your org, that such a Profile has Access to Opportunities?
Now the test looks for profiles, with that license type, and takes the first it gets, teh test could be improved, by searching for a standard profile instead. You might have a custom profiel with that license type, and the test might pick that one accidently.
As the test comes from Financial Force, I have also logged an issue with them.
Code part:
// Can only proceed with test if we have a suitable profile - Chatter External license has no access to Opportunity
List testProfiles = [Select Id From Profile where UserLicense.Name='Chatter External' limit 1];

Hm, interesting. I checked and there's no custom profile with that license
(or any custom profile not using the standard Salesforce license). I
double-checked the profile in my IDE and id doesn't have Read Access to
Opportunity (although some fields are marked as readable, but that
shouldn't make a difference in this test).

>     false
>     false
>     false
>     false
>     false
>     Opportunity
>     false
>
Is there any way it could be returning the field access error before the
object access error? That seems unlikely but it's my only guess.
On Tue, Apr 9, 2019 at 1:32 AM Eric van Horssen<EMAIL_ADDRESS>wrote:

I suppose the code should be adjusted, to be case insensitive.
The other error is from a class, which checks object access, quite an
interesting test, and the result is unexpected.
Test runs and checks whether a user with profile Chatter External User,
has access to the Opportunity object. Normally they would not, it seems
that for your org, that such a Profile has Access to Opportunities?
Now the test looks for profiles, with that license type, and takes the
first it gets, teh test could be improved, by searching for a standard
profile instead. You might have a custom profiel with that license type,
and the test might pick that one accidently.
As the test comes from Financial Force, I have also logged an issue with
them.
Code part:
// Can only proceed with test if we have a suitable profile - Chatter
External license has no access to Opportunity
List testProfiles = [Select Id From Profile where
UserLicense.Name='Chatter External' limit 1];
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/afawcett/declarative-lookup-rollup-summaries/issues/809#issuecomment-481108232,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AXfDC785CnjX3xcb0eH5JdmcK2TmhBS1ks5vfCXmgaJpZM4cg_as
.

--
Ben Swift
<EMAIL_ADDRESS><EMAIL_ADDRESS>510-914-0865
bswiftconsulting.com
LinkedIn https://www.linkedin.com/in/benjamin-swift-a9b2a24a

@swift-ben  you do not need to run tests for the managed package version of DLRS, in fact due to cuztomizations in a target org they are likely not to run.

I'm going to close this issue. Managed Package tests failing when installed into an org is pretty normal across the Salesforce ecosystem.
Should anyone else run into this in the future I expect they can find this issue or other such from across the ecosystem.


Envoy does not respect the x-amzn-trace-id

Title: Envoy does not respect the x-amzn-trace-id
Description:
We're using an envoy behind the AWS Load Balancer. Envoy is used as an API GW and is configured to send traces to AWS X-Ray. As described here, LB attach a x-amzn-trace-id header to requests. So I am expecting that envoy traces contains parent id, but the parent id field is empty for envoy traces. In other words, the graph looks fine but the envoy node does not contain a parent id.
Is this related to #20127?
I am using envoy version 1.23.

It was my bad. AWS LB attaches x-amzn-trace-id to requests without a parent section because it does not send segments to X-Ray.


How can I enable SSL/TLS on the CUPS v2.3.3?

My android cannot allowed Clear text traffic.It alert that Clear text traffic is no longer allowed in Android 9.0. Please enable SSL/TLS on the CUPS server/printer.

@ZJahon TLS/SSL support is enabled by default. That said, CUPS is not a Mopria-certified server so I have no idea whether it should work out of the box with Android.


an unhandled win32 exception occurred in python.exe

Hi guys,
when I run example.py error occures: an unhandled win32 exception occurred in python.exe
What is wrong?

As stated here, Dejavu has only been tested on Unix systems.
It has to do with the use of the python multiprocessing library. If you'd like to dig in and fix you are welcome to submit a PR, but I have no plans to add Windows support.


NetworkChange.NetworkAddressChanged bug

Issue Title
NetworkAddressChanged calls a callback just once.
General
I wrote a simple program to test how NetworkChange.NetworkAddressChanged and got some really weird results: if I subscribe this event, it's being called just once, but if I add and remove a subscribtion to an empty function, it starts working just fine (one call for plugging ethernet cable out and two for plugging in).
It works okay in .Net framework.
I've tried changing event causes, for example, changing my computer's ip on DHCP server and ipconfig /renew. Target platform is netcoreapp2.2.
OS: Windows 10 pro
Code to reproduce the issue:
class Program
{
    static void Main(string[] args)
    {
        //Subscribing event
        NetworkChange.NetworkAddressChanged += OnAddressChanged;
        //just a loop
        while (true)
        {
            Thread.Sleep(1000);
        }
    }
    //Callback
    static void OnAddressChanged(object o, EventArgs e)
    {
        Console.WriteLine(e.ToString());

        foreach (NetworkInterface n in NetworkInterface.GetAllNetworkInterfaces())
        {
            Console.WriteLine("   {0} is {1}", n.Name, n.OperationalStatus);
        }
        //Works if uncomment two lines below
        //NetworkChange.NetworkAddressChanged += DuctTape;
        //NetworkChange.NetworkAddressChanged -= DuctTape;
    }
    //Empty function
    static void DuctTape(object sender, EventArgs e)
    {
        ;
    }
}

@scalablecory any idea what could be causing this?
We can transfer the issue to the corefx repo if you think it's an actual bug.


Have three version tiers of the documentation pages: dev, latest, archives

A proposal by @Mytherin: we should have the following categories for different versions:

/docs/latest/XX:  development version (can also be dev, development, or current)
/docs/XX: latest stable version
/docs/archive/x.y.z/: archive stable versions

Then a new version is released, we copy 1. to 2., and create an archive version of 3.
This makes a lot of sense:

Google searches will cause most people to land on the /docs/XX, which is likely the version they are using
We often make small amendments to the latest stable version's documentation, so having it under "archives" (which suggests that it's now read-only) is misleading

This necessitates changes in our scripts and side menus (e.g. the slide-in right side menu with the version numbers).
We plan to do this when releasing v0.10.0, i.e., later this winter.
Related issues/PR:

Attempt to add dev/ directory manually: https://github.com/duckdb/duckdb-web/pull/1730
Warning banner when the user is reading a too old / too new version: https://github.com/duckdb/duckdb-web/issues/675

We plan to do this when releasing v0.10.0, i.e., later this winter.

We now have v0.10.0 (stable) under https://duckdb.org/docs/ as intended.
The new version (latest) will be added later as we currently focus on stabilizing the codebase and the docs, and do not plan to add documentation of major new features (because there aren't any) for the coming weeks.


force lowercase on include macro params

we are using lowercase everywhere, so an include like !!!include:TF_update_at_launchtime should be converted to lowercase and if it includes a wiki name it should be lower too

09dc47533a58616f6128bfeecd0b673a72b96749


Adds vector edge_id -> LaneMapNum thus improving the convertVector function

Issue: #3

Adds edge_id type (equivalent to long long)
Adds extra structure to support edge_id to LaneMapNum mapping
Reduces convertVector duration from ~6.5mins to ~6 segs

All of the code changes make sense to me, but a few questions to confirm @julianpalladino :

Can you write indexPathVec to file to see whether it produces the same results as indexPathVec before the change?
Did you compare the output from the 0_people5to12.csv to the old one to see whether there were any discrepancies?

If both of these are the same as before, then I think we can merge it soon.

Closing this PR and moving these changes to main due to @pavyedav 's request. See PR https://github.com/UDST/manta/pull/11


Merge and sync codebase

I am merging the master branch to the chat room to make the code base in the other branch up to date and ready for further changes.

This code base has been merged. and completed


Populate status in case of validation errors 👷

In case a build has not been yet started (i.e. no Pod), we validate
the build spec and then we create and start the Pod for this build. In
case the validation fail, we return an error and never update the
build status, making it hard to know why it doesn't work.
Fixes #471
Signed-off-by: Vincent Demeester<EMAIL_ADDRESS>

Thanks for the quick fix @vdemeester 🎉
Can you add a test for missing service account, and for missing secret on the existing service account? Those were the cases described in the original issue, and I want to make sure we don't regress when we refactor this in the future.

@ImJasonH of course, I'll work on a follow-up :wink:


Modular In-Place Store Migrations

Summary
Give light-clients the ability to perform in-place store migrations
Problem Definition
In-Place store migrations are only supported for registered modules. Migrations are performed for consensus versions increments. ibc-go has two places it can do in-place store migrations

[ ] core IBC module
[ ] transfer module

The core IBC module could allow light-clients to do some migration logic during an upgrade. The core IBC module would need to increment its consensus version.
Proposal

I'm unsure at the moment what an ideal solution is. I thought about adding another callback to client state, but this assumes a per client migration. I thought about adding a global variable which is an array of functions which will be called and executed, but I'm unsure what the argument would be here? Would we expose the entire client keeper to any module?
We need migrations for the next upgrade but only to prune solo machines and expired tendermint consensus states. I will implement the most simple solution for now. I figure it is better to wait until we have a non ibc-go IBC client usecase for in-place migrations to design a solution. Until then, it is too hard to determine the ideal solution
Maybe the wasm client renders this functionality useless?

For Admin Use

[ ] Not duplicate issue
[ ] Appropriate labels applied
[ ] Appropriate contributors tagged/assigned

Closing since I don't see use cases for this given a Wasm client. We can talk about this again if reasons arise


Utils RBush Examples is not using left, top, right, bottom members.

Version

Phaser Version: 3.22.0

Operating system: Windows 10

Browser: Chrome / Explorer

Description

The first RBush example is not using left, top, right, bottom,  members and that's why its search returns no results. The second Rbush example freezes on my browsers.
Example Test Code

Additional Information

Thank you for reporting a problem with these examples. They have now been fixed. You can find the updated versions in this repo and on the labs.phaser.io site.


Docs are missing required fonts

Describe the Bug
Some icons are not shown (due to missing fonts I guess).
Steps to reproduce the behavior:

Open the Fly-Pie or the Menu Editor
See error

Expected Behavior
See the correct icon https://graphemica.com/🌟
Screenshot

System

Archlinux
Fly-Pie 7
GNOME Shell version: 40.5

Maybe Arch Linux is a distribution which does not support emoji out-of-the-box. Does this help: https://github.com/androlabs/emoji-archlinux ?


More performant dataloader pattern

The current dataloader pattern creates a lot of loaders for each request.  We should build these on demand.

Proposed API: context.getDataloader(resourceName, resourceInstance, fieldResolver)


Table for optional Device-> SSID mapping

This would allow us to identify what SSID a device reporting is associated with, even if it cannot do that itself.
LOW PRIORITY and maybe not needed as even picomon can figure that out!

This is now done inside the DO Device storage, and then the connection is passed to queue of status-changes as part of the StateChange struct


Can't even get started with conduit create [BUG]

Listing Templates
% conduit create list-templates

Results in:
-- Conduit CLI Version: 3.0.11
*** Uncaught error
    Bad state: No element
  **** Stacktrace
  * #0      ListMixin.firstWhere (dart:collection/list.dart:167:5)
  * #1      CLIConduitGlobal.conduitPackageRef (package:conduit/src/cli/commands/create.dart:388:10)
  * #2      CLIConduitGlobal.templateDirectory (package:conduit/src/cli/commands/create.dart:393:12)
  * #3      CLITemplateList.handle (package:conduit/src/cli/commands/create.dart:341:53)
  * #4      CLICommand.process (package:conduit/src/cli/command.dart:219:20)
  * <asynchronous suspension>
  * #5      main (file:///Users/kodemunki/Development/flutter/.pub-cache/hosted/pub.dartlang.org/conduit-3.0.11/bin/conduit.dart:9:14)
  * <asynchronous suspension>
  ****

Creating Project
% conduit create -t db restapi

Results in:
-- Conduit CLI Version: 3.0.11
*** Uncaught error
    Bad state: No element
  **** Stacktrace
  * #0      ListMixin.firstWhere (dart:collection/list.dart:167:5)
  * #1      CLIConduitGlobal.conduitPackageRef (package:conduit/src/cli/commands/create.dart:388:10)
  * #2      CLIConduitGlobal.templateDirectory (package:conduit/src/cli/commands/create.dart:393:12)
  * #3      CLIConduitGlobal.getTemplateLocation (package:conduit/src/cli/commands/create.dart:397:12)
  * #4      CLITemplateCreator.handle (package:conduit/src/cli/commands/create.dart:52:27)
  * #5      CLICommand.process (package:conduit/src/cli/command.dart:219:20)
  * <asynchronous suspension>
  * #6      main (file:///Users/kodemunki/Development/flutter/.pub-cache/hosted/pub.dartlang.org/conduit-3.0.11/bin/conduit.dart:9:14)
  * <asynchronous suspension>
  ****

Desktop

OS: macOS (Big Sur) 11.2 (20D64)
dart: Dart SDK version: 2.13.3 (stable) (Wed Jun 9 12:44:44 2021 +0200) on "macos_x64"
flutter: Flutter 2.2.2 • channel stable • https://github.com/flutter/flutter.git Framework • revision d79295af24 (3 weeks ago) • 2021-06-11 08:56:01 -0700 Engine • revision 91c9fc8fe0
zshrc:  export PATH="$PATH:$HOME/Development/flutter/bin" export PATH="$PATH":"$HOME/.pub-cache/bin" export PATH="$PATH":"$HOME/Development/flutter/.pub-cache/bin"

Tried creating a brand new user on my mac. Installed flutter and dart, went through the Android hoopla. Flutter doctor says all good. Globally activated conduit. Tried the following:
conduit create rest

Got:
-- Conduit CLI Version: 3.0.11
*** No template at .

Conduit can't find templates. Tried specifying default with -t, but same result.
Any help available here?

Can you tell me what your PUB_CACHE environment variable is?

PUB_CACHE variable is non-existent from command line. If I add a print statement in a dart project I get "null" from Platform.environment. This is on a new installation of flutter/dart for a new macOS user.

@jocubeit thanks for your patience. I'll be doing some documentation work and trying to install conduit from a fresh machine to make the installation guide more verbose. Hopefully I can clear up your issue along the way. You wouldn't happen to be on an M1 Mac would you?

Thanks for getting back to me. I am indeed on an M1, but I also experienced
this on an Intel iMac.
On Tue, 13 Jul 2021 at 07:16, j4qfrost @.***> wrote:

@jocubeit https://github.com/jocubeit thanks for your patience. I'll be
doing some documentation work and trying to install conduit from a fresh
machine to make the installation guide more verbose. Hopefully I can clear
up your issue along the way. You wouldn't happen to be on an M1 Mac would
you?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/conduit-dart/conduit/issues/56#issuecomment-878601885,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AABTIMDR5LOTSBG5IPB5ZNTTXNLULANCNFSM47Z3HMFA
.

It still fails to find template anywhere today.
How can I copy those files manually?

@outersky What's the output of dart pub global list ?

@aadarshadhakalg
tony@tonybook:/data/work/dart$ conduit create --stacktrace my_project

-- Conduit CLI Version: 3.0.11
*** No template at .

For your .zshrc or .profile or whatever you use to load the shell, do export PUB_CACHE=/Users/kodemunki/Development/flutter/.pub-cache
I think it should also be in your PATH. I can help walk you through on discord my handle is frosty#1337, the server is on the README.


Update link to AndcultureCode guide in CONTRIBUTING.md

The link to the AndcultureCode contributing guide is pointing to an old URL, and it has a space in the URL which causes it to be formatted improperly.
Currently: https://github.com/ AndcultureCode/AndcultureCode/blob/master/CONTRIBUTING.md
Should be: https://github.com/AndcultureCode/AndcultureCode/blob/main/CONTRIBUTING.md

Good catch.  FYI You can fix the readme files right in GitHub.  No need to create an issue out of it and push it through.  I'll take care of this.

Good catch. FYI You can fix the markdown files right in GitHub. No need to create an issue out of it and push it through. I'll take care of this. Thanks!

Yeah, so long as it is a quick and minor fix, I'm personally okay with using the UI. If the change's diff is of any significant size, we should create an issue and PR. Not sure about you guys, but I'm definitely better at formal languages :)


Sparks

Sparks in-game look very different from the one in the screenshots, it is more less detailed, why?

Did you follow the last 2 instructions as written in README?

Make sure that texture filtering is turned on in video settings! Otherwise sparks will be drawn at wrong coordinates!
In case you're using NextGenGraphics.asi, please enable UseD3DDeviceTexture in the .ini

Provide a screenshot as well. I don't know what "more less detailed" means.

they both are turned on

the trails are like contrails & have no textures

yes they are all okay, but still the contrail looking sparks exist


rpcclient: fix address used in doc

This one doesn't really work now, it's Legacy. Replace with something N3-ish.
Thanks @lock9 for reporting.

Hello,
I think this line must be updated: endpoint := "http://seed5.bridgeprotocol.io:10332"

Huh. We have it since b2a5e34aac61907bc7aa8b6b6be7f08326e73ff1, it can't be wrong for example!


Bug: Why to use section

What happened?
The text added in why should you use this. Small text is above large text. My suggestion is that we can interchange their position. As when we read things , top thing is bigger and then comes small thing in professional websites and also in newspaper
Add screenshots

What browsers are you seeing the problem on?
Brave
Record

[X] I have checked the existing issues
[X] I have read the Contributing Guidelines
[X] I agree to follow this project's Code of Conduct
[X] I'm a GSSoC'23 contributor
[X] I want to work on this issue

@Harshu467 yeah just we need to change their position


Signal Island mode not reporting correctly

Signal Island mode reported to show a wrong value compared to the value on the inverter
Reported on High Voltage All in one System.
Also reported for LV 3Phase

Checked the specification document and the code seems to be correct, will need to reverse engineer this option


KEP-2170: Update Training V2 APIs in the KEP

I updated APIs in Training V2 KEP after our discussions in this PR: https://github.com/kubeflow/training-operator/pull/2223.
Additionally, we discussed with @tenzen-y to rename Exporter Job to the Finalizer.
Please take a look.
/assign @kubeflow/wg-training-leads @shravan-achar @vsoch @kannon92

Part of: https://github.com/kubeflow/training-operator/issues/2170

Pull Request Test Coverage Report for Build<PHONE_NUMBER>3
Details

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 31.745%

Totals

Change from base Build<PHONE_NUMBER>5:
0.0%

Covered Lines:
3943

Relevant Lines:
12421

💛  - Coveralls

Additionally, could we clarify the criteria for when the Initializer, Trainer, and Finalizer will start?
For example, if the initializer fails, what happens? The Trainer and Finalizer will start or not?

Sure, can we do that in the followup PR when we agree on the Initializer and Finalizer structure ? E.g. init container + sidecar container which will be triggered with preStop lifecycle hook.

@tenzen-y I've done changes to PodSpecOverride API.

Additionally, could we clarify the criteria for when the Initializer, Trainer, and Finalizer will start?
For example, if the initializer fails, what happens? The Trainer and Finalizer will start or not?

Sure, can we do that in the followup PR when we agree on the Initializer and Finalizer structure ? E.g. init container + sidecar container which will be triggered with preStop lifecycle hook.

@andreyvelich Sure. If so, can we treat the Initializer and Finalizer as a separate feature similar to PodSpecOverride: #2218?
And, can we create a dedicated issue and work on design and implementations in the issue?

We have issue for Initializer job already: https://github.com/kubeflow/training-operator/issues/2210.
Let me create one for Finalizer job.

We have issue for Initializer job already: #2210.
Let me create one for Finalizer job.

Sounds great. Thanks!
/lgtm
/approve


Onboarding - getMarkets getter should also provide category OI totals on meta object

Landing page needs to show Market Counts AND OI for all primary categories.
Currently, the getMarkets getter returns metadata for category counts. Alongside category counts, we will also need to provide OI rollups for each category.

@nuevoalex Thoughts on how to do this? Roll this up in the derived DB (do an accumulator where all market changes affect that derived market OI), or query this at load time?

#3971 will address this


fzf.lua and arghelper module

After I installed a recent version of fzf.lua I received a module 'arghelper' not found error (Windows 10.0.19044.1889).
I was able to resolve it by downloading the arghelper.lua file and placing it a modules folder where the fzf.lua is located. The "how to install" section of the Readme.md could also use a quick update.

Oh, I see.  The files are present in the repo, but the instructions are outdated.  I will probably just alter fzf.lua to not depend on arghelper.lua at all.

Thanks for quick fix Chris, I installed the latest update, removed modules folder, and everything is well.


Generating source maps requires an absurd amount of memory

Describe the bug
I maintain a very large enterprise UI project that I'm migrating from webpack 4 to Vite. My Vite build is working fine when I increase Node's memory to 8 GB, which is what I had to do for webpack too. However, when I enable source maps in my Vite config, the build always runs out of memory, even if I increase the memory limit to 12 GB:
rendering chunks (89)...
<--- Last few GCs --->

[16460:000001E099EC7360]  1434966 ms: Mark-sweep (reduce) 12021.4 (12335.3) -> 12020.6 (12335.8) MB, 43935.6 / 0.0 ms  (average mu = 0.127, current mu = 0.004) allocation failure; scavenge might not succeed
[16460:000001E099EC7360]  1481500 ms: Mark-sweep (reduce) 12020.7 (12335.8) -> 12020.7 (12336.0) MB, 46499.9 / 0.0 ms  (average mu = 0.069, current mu = 0.001) allocation failure; GC in old space requested

<--- JS stacktrace --->

FATAL ERROR: Reached heap limit Allocation failed - JavaScript heap out of memory
 1: 00007FF77B75D51F node_api_throw_syntax_error+175743
 2: 00007FF77B6E2E66 v8::internal::wasm::WasmCode::safepoint_table_offset+59654
 3: 00007FF77B6E4B72 v8::internal::wasm::WasmCode::safepoint_table_offset+67090
 4: 00007FF77C18AAB4 v8::Isolate::ReportExternalAllocationLimitReached+116
 5: 00007FF77C175E12 v8::Isolate::Exit+674
 6: 00007FF77BFF7C6C v8::internal::EmbedderStackStateScope::ExplicitScopeForTesting+124
 7: 00007FF77BFF4E8B v8::internal::Heap::CollectGarbage+3963
 8: 00007FF77C00B0C3 v8::internal::HeapAllocator::AllocateRawWithLightRetrySlowPath+2099
 9: 00007FF77C00B96D v8::internal::HeapAllocator::AllocateRawWithRetryOrFailSlowPath+93
10: 00007FF77C01B1A3 v8::internal::Factory::NewFillerObject+851
11: 00007FF77BD0C16F v8::internal::DateCache::Weekday+1071
12: 00007FF77C228051 v8::internal::SetupIsolateDelegate::SetupHeap+558193
13: 00007FF6FC8BA5C7

webpack is able to build this same project with source maps and stay under the 8 GB limit. It seems pretty unreasonable that even with a 12 GB limit, Vite cannot accomplish the same task.
Reproduction
N/A
Steps to reproduce
No response
System Info
System:
    OS: Windows 10 10.0.22621
    CPU: (8) x64 11th Gen Intel(R) Core(TM) i7-1185G7 @ 3.00GHz
    Memory: 8.65 GB / 15.71 GB
  Binaries:
    Node: 18.16.0 - C:\Program Files\Node.js\node.EXE
    npm: 9.6.2 - C:\Program Files\Node.js\npm.CMD
  Browsers:
    Edge: Spartan (44.22621.1848.0), Chromium (114.0.1823.58)
    Internet Explorer: 11.0.22621.1
  npmPackages:
    @vitejs/plugin-react: 4.0.0 => 4.0.0
    vite: 4.3.8 => 4.3.8

Used Package Manager
pnpm
Logs
No response
Validations

[X] Follow our Code of Conduct
[X] Read the Contributing Guidelines.
[X] Read the docs.
[X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
[X] Make sure this is a Vite issue and not a framework-specific issue. For example, if it's a Vue SFC related bug, it should likely be reported to vuejs/core instead.
[X] Check that this is a concrete bug. For Q&A open a GitHub Discussion or join our Discord Chat Server.
[X] The provided reproduction is a minimal reproducible example of the bug.

Update: 16 GB limit works, but just barely. To recap:

webpack 4 with source maps: 8 GB memory limit necessary
Vite 4 without source maps: 8 GB memory limit necessary
Vite 4 with source maps: 16 GB memory limit necessary

To add some context, this is a pretty large enterprise application. Roughly, we have:

7,000 source files
1.3 million LOC

Duplicate of #2433


Handle recording on legacy mode Windows consoles

Type of changes

[x] Bug fix
[ ] New feature
[ ] Documentation / docstrings
[ ] Tests
[ ] Other

Checklist

[x] I've run the latest black with default args on new code.
[x] I've updated CHANGELOG.md and CONTRIBUTORS.md where appropriate.
[ ] I've added tests for new code.
[x] I accept that @willmcgugan may be pedantic in the code review.

Description
Console.record=True was only being handled inside _render_buffer, which was not called on legacy mode consoles.
I've extracted the code for recording the buffer out of this method, to ensure it gets called regardless of environment.
Closes #2053

Codecov Report

Merging #2066 (a657e00) into master (91e0146) will decrease coverage by 3.26%.
The diff coverage is 72.41%.

@@            Coverage Diff             @@
##           master    #2066      +/-   ##
==========================================
- Coverage   99.49%   96.23%   -3.27%
==========================================
  Files          73       72       -1
  Lines        7361     7268      -93
==========================================
- Hits         7324     6994     -330
- Misses         37      274     +237

Flag
Coverage Δ

unittests
96.23% <72.41%> (-3.27%)
:arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

rich/__init__.py
100.00% <ø> (ø)

rich/align.py
99.21% <ø> (-0.79%)
:arrow_down:

rich/highlighter.py
100.00% <ø> (ø)

rich/layout.py
100.00% <ø> (ø)

rich/table.py
100.00% <ø> (ø)

rich/_win32_console.py
3.19% <12.50%> (-86.81%)
:arrow_down:

rich/console.py
97.12% <63.63%> (-2.51%)
:arrow_down:

rich/segment.py
99.03% <93.33%> (-0.32%)
:arrow_down:

rich/cells.py
100.00% <100.00%> (ø)

rich/control.py
100.00% <100.00%> (ø)

... and 25 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 65cb9bf...a657e00. Read the comment docs.

@willmcgugan pty module doesn't work on Windows. Has a comment at the top of it too saying it's only tested on Unix and MacOS.


Cloudflare verification loop

Hello,
I am having big time issues with cloudflare keeping access from a bunch of websites. I get stuck in a verification loop.
Cloudflare is impossible to reach since I am only an end-user and also, ironically I can't acces the website because of this verification window that just keeps on trying to verify the connection is secure.
It only happens with the Duckduckgo browser. I have tried a different internet connection, tried a VPN, I ran malware detection and I have no viruses, I deleted all the history, nothing helps.
Any ideas? Cheers

@duckduckgouser Thanks for the report! To clarify, you're seeing this on our iOS app correct? I wanted to double check since this is a problem that has largely been affecting our macOS app.
Either way, we're working on this one internally and are aiming to have it fixed soon. I'll let you know here once I've got an update.
Thanks again!

Ah no sorry I see I'm on the wrong page. It is not the app, it is happening on the browser on my macbook

No problem! That's a relief, since we're focusing on the issue in the macOS browser right now, due to not seeing any reports of it on iOS. We have a new macOS release currently on its way to release, I'll let you know when that's available later today.

Thanks for your quick response! Looking forward to it, hopefully it will solve the issue.

I've just released an update to the App Store and non-App Store builds of the macOS browser, version 1.34.3. Let me know if this fixes your issue – I'll keep this issue open until everything's looking good here. Thanks again!

Thanks for the update! - it fixed access to both the cloudflare website as well as the chatGPT website, however I'm still experiencing trouble with the Canva website. Not sure if it helps but I've attached a screen recording of what I'm seeing.
https://user-images.githubusercontent.com/125898019/220282935-49c944bb-a871-490e-9195-e93329070fb7.mov

Another update, since I just checked, trying to access the canva website now gives me this message:
"This browser is unsupported, download the desktop client
You are using an old version or a browser that we do not support. To continue using Canva, please download the desktop client."
I'm guessing since I was also troubleshooting this issue with the Canva team, they made this change on their side?

Last update, it seems to be fixed. I can access the Canva site again, and haven't encountered any other websites with the verification loop issue.
Thanks for the support!

Great, thanks for confirming! We made some additional changes yesterday, I'm glad to see this has gotten it working for you again. Please reach out if you run into any other problems 🙂


Heading Typography Color

Current
The headings are the same color as the body text, taking away from the contrast that helps with scanning and hierarchy.

Change
Make all heading font colors text primary or the equivalent (dark and light theme)

Design Reference
Should look something like this:

Completed


Cannot display charts

I tried to make the graph but it did not return.

You have to start with /chart render first, then it will be something like this:

{{renderer :charts_fkpzdf}}

bar blue 300

x

A

y

300

You have to start with /chart render first, then it will be something like this:

{{renderer :charts_fkpzdf}}

bar blue 300

x

A

y

300

It worked, thank you for your reply!


Support URL property in Page responses

Notion vends a page's URL via the url property in Page object responses.
The Page type in NotionSwift does not seem to support this property however.
As far as I can tell implementing this would mostly just be adding a url property to the Page type.
Reference: Notion documentation for the Page object.
You can verify it is included in responses with NotionSwift trace-level logging enabled.

done


never trigger 'input' event when paste after invoke inputmask

before invoke inputmask method, I bind 'input' event to  element, and it always has response when I paste (ctrl+v / context menu). After invoke inputmask method, it never respond when paste.

Any news ab this problem?


highlight_related doesn't work with field shorthand

The second debug should be hightlighted, but it isn't

cc https://github.com/rust-analyzer/rust-analyzer/issues/7524

yyyep, dupe of #7524. But that shouldn't be too hard to fix I think, we have all the relevant infra already!


Fix extra results coming from extra qnode ids

Codecov Report

Merging #14 (08939d5) into master (7373a03) will decrease coverage by 0.12%.
The diff coverage is 96.55%.

@@            Coverage Diff             @@
##           master      #14      +/-   ##
==========================================
- Coverage   87.75%   87.62%   -0.13%
==========================================
  Files           9        9
  Lines         294      291       -3
==========================================
- Hits          258      255       -3
  Misses         36       36

Impacted Files
Coverage Δ

simple_kp/engine.py
89.20% <96.55%> (-0.23%)
:arrow_down:

Continue to review full report at Codecov.

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


Remove NSG rule code

This module is used to create and manage a single AKS cluster.
As NSG rules implemented here are not specific to a cluster, they should be moved to a vnet module (either as a Kubernetes flag in a generic module or to an opinionated AKS vnet module).
This supports the multiple clusters per subnet use case with a single dependency and less complexity.

https://github.com/Azure-Terraform/terraform-azurerm-kubernetes/pull/43


Freeze Everyday

home-assistant.log

Home Assistant release with the issue:

0.81.0.dev0
Last working Home Assistant release (if known):
It has been happening for a while
Operating environment (Hass.io/Docker/Windows/etc.):

RaspPi 3
Component/platform:

No idea
Description of problem:
So my instance of HA has been stopping around 12:30-1:00pm everyday.  I can't get the log because I have to hard reset to SSH or Samba in there.  I posted this on the HA forums, and they thought it might be related to Zwave.    I think it updates at 12:00am though.
For some reason today I was able to check HA at 1:15pm or so and I found my log file to be full of all kinds of errors.  I have attached this to the post here.    When I look at the logbook in HA Frontend I see that at this time everything becomes unavailable and reconnects in the same 12:33pm time.  I cannot figure out what's happening here as quite a few have had HA up for 6 mo.  I have configured tasmota with MQTT connection. Homeseer 100+ zwave with the aeotec USB dongle.  Opengarage.  Also I have Emulated Hub for Alexa, and Homekit configured for Siri.
I dont' have any scripts or automations set for this time.  This has been happening for a while and i just would reset it with a tasmota switch when I see that it was down.
Problem-relevant configuration.yaml entries and (fill out even if it seems unimportant):

Traceback (if applicable):

Additional information:

From the log you posted, it almost looks like your network dropped out for a minute.. but that shouldn't hard lock the Pi.
Try leaving an SSH connection open running top to show load average and the process list. See if the SSH session gets disconnected or freezes around the same time that HA stops/freezes. If so, see what the load average is and what processes are running at that time.
If that doesn't help, I'd try disabling 1 component per day and see if you can narrow it down to any specific components. I'd probably start with opengarage or the denon media player since they're the first one to show up in the log.

II can’t imagine how HA would be knocking the network offline (it doesn’t have the required privileges to mess with the kernel or anything), unless it’s just spawning and endless number of threads that are maxing out processor and I/O time, preventing various services (smbd, sshd, other HA threads, etc.) from answering network requests.
Do you have a monitor hooked to your Pi? Or, better yet, do you have an FTDI or other USB to TTL Serial cable available? (Another Pi, an Arduino, etc. would work too.) If so, I’ll give you some commands that will enable debug level system logging out to the serial port. You can run a Serial terminal on your PC to monitor the log.
This would be much more telling than trying to parse the Systemd Journal after the fact (which might have trouble actually writing the logs if it’s a hardware problem like a bad SD card or something).

@timothybrown , im very interested how to enable debug level system logging out to the serial port.
Could you post the commands here with some brief explanation?
Thanks in advance!

@timothybrown , im very interested how to enable debug level system logging out to the serial port.
Could you post the commands here with some brief explanation?
Thanks in advance!

Here’s the straight line approach:
On your Pi, add the following to /boot/cmdline.txt: console=ttyAMA0,115200 kgdboc=ttyAMA0,115200 console=tty1
This command enables console output on the serial port, plus kernel debugging output.
Note: If you’ve got a Raspberry Pi 3 or above replace ttyAMA0 with ttyS0.
Now, hook your (3.3V) USB to Serial cable up to the appropriate GPIO pins for your Pi (this varies model, lookup a pinout for yours). Remember to hookup the cable in crossover fashion as so:
RPi <-> Serial Adapter
TXD - RXD
RXD - TXD
GND - GND
Then you can open the serial terminal on on your computer and boot up your Pi. (TeraTerm is a free emulator for Windows that works well, though PuTTY or even HyperTerm will do in a pinch. For macOS I highly recommend Serial, which is available on the Mac App Store.)
You should see the entire boot process of the Pi appear on your serial terminal, then a login prompt, just as if you had a monitor attached. Login as your normal user and then start the Systemd Journal in ‘tail’ mode: sudo journalctl -f
(If you only want to follow the output of a specific process you can append -u <unit>.service to the above command: sudo journalctl -f -u home-assistant.service, sudo journalctl -f -u mosquito.service, sudo journalctl -f -u postgresql.service and so forth.)
So now you should get kernel debugging and all logs spit out to your serial terminal. Let me know if you need more details on anything.

So my second power supply was bad as well. These pi’s are so finicky I’m seeing.
I built my own and it now seems stable.

It’s not that they’re finicky, it’s that most USB supplies are designed for cell phones. Why is this important? Well, a cell phone doesn’t strictly require 5V to charge the battery; most can work down to 4.4V or so (Li-Ion batteries charge at 4.2V). So, while most USB power supplies can deliver their rated current, it won’t be at 5V! Instead it will be at 4.6 to 4.4V.
The issue with this is the Pi really requires a voltage of at least 4.65V to function properly. So, why this discrepancy? Well, the answer is a bit complex, but the gist is a mix of cost savings on the part of the USB power supply manufacturers and the current handling capabilities of the micro USB connector. The pins that transfer power in a micro USB connector are teeny tiny and have a fairly high resistance. Ohm’s Law tells us that over a given resistance voltage will decrease as current increases; the higher the resistance the higher the voltage drop. 3 or 4 amps is the realistic current handling capability of a micro USB connector, and that is pushing it. (As an aside, this is the reason why USB-C uses a much higher voltage at a lower current, which is then transformed into a lower voltage at a higher current inside the device.)
So, you really need a high quality USB cable (one designed for power transfer, ideally with 20AWG wire inside) and a power supply designed for powering and not charging.
What I do is use a micro USB to female barrel jack adapter combined with a high quality non-USB power supply (one with a 5.5mm barrel jack connector on it). Works well and provides more than enough current at all loads.

@timothybrown , Thanks very much for this detailed instruction.


Test-Driven Development with Django Book Added.

Great, Thanks for your help. Keep up the good work!


Investigate higher thread usage since Polkadot 0.9.36

People report that since switching to Polkadot 0.9.36 from 0.9.33 (last node release) they see a much higher thread usage. They report that the CPU usage didn't increased.
I think that this is maybe related to the switch of using tokio in libp2p. If it is confirmed, this issue can be closed. In general this is just some investigation to find the underlying change for this behavior.

I'm the reporter of the issue, please find the two graphs attached:

@Nexus2k Thanks for the graphs! Sorry for the dumb question, what tool do you use to collect the statistics?

@dmitry-markin that should be grafana.
See Tuesday before it started to grow. We released on Tuesday, so that should be the point when he upgraded.

@dmitry-markin I use https://checkmk.com/ to monitor the few dozens of servers I run for substrate blockchains.

The node that produces this graph is somewhat permanently active in Kusama and became active in Polkadot ...

Do you mean you run two nodes on the same server, and the number of threads is the total number of threads in the system?
I don't have access to any validator nodes, but would expect the number of polkadot threads to be on the order of 50-100 (I just measured 42 during syncing on v0.9.36 and 54 on v0.9.33).

Here's a thread graph of another system that also shows annomalies after the upgrade:

That one is not active in Polkadot currently.

@Nexus2k Could you get the number of polkadot threads during the anomaly, something like ps -e -O nlwp | grep polkadot?

# ps -e -O nlwp | grep polkadot
   3442   84 S ?        01:36:12 /usr/bin/polkadot --name=🍁 HIGH/STAKE 🥩 | HEL1-KSM -lsync=warn,afg=warn,babe=warn --chain=kusama --validator --rpc-methods=Unsafe --rpc-external --rpc-cors=all --listen-addr=/ip4/<IP_ADDRESS>/tcp/30333 --public-addr=/ip4/<IP_ADDRESS>/tcp/30334 --prometheus-external --no-mdns --pruning=1000 --telemetry-url=wss://telemetry.polkadot.io/submit/ 1 --telemetry-url=wss://telemetry-backend.w3f.community/submit/ 1
   3767   85 S ?        01:18:52 /usr/bin/polkadot --name=🍁 HIGH/STAKE 🥩 | HEL1-DOT -lsync=warn,afg=warn,babe=warn --chain=polkadot --validator --rpc-methods=Unsafe --rpc-external --rpc-cors=all --listen-addr=/ip4/<IP_ADDRESS>/tcp/30333 --public-addr=/ip4/<IP_ADDRESS>/tcp/30333 --prometheus-external --no-mdns --pruning=1000 --telemetry-url=wss://telemetry.polkadot.io/submit/ 1 --telemetry-url=wss://telemetry-backend.w3f.community/submit/ 1
   4326   44 S ?        00:02:11 /usr/bin/polkadot prepare-worker /tmp/pvf-host-prepareK3WuNH4EJm
   4351  362 S ?        00:00:29 /usr/bin/polkadot execute-worker /tmp/pvf-host-executeBFOEmXjdbI
   4352  562 S ?        00:02:26 /usr/bin/polkadot execute-worker /tmp/pvf-host-executetYaDNMqDdJ

It looks like the high thread count is caused not by networking code, but by PVF subsystem, which I'm unfamiliar with. @bkchr do you know who better to assign the issue to?

Ahh it just aggregates all the threads of all running polkadot processes.
There is currently some rework going on around the pvf worker which should solve this. I'm going to close this, as this is nothing problematic.
However, thank you @dmitry-markin for looking that fast into it and ty for @Nexus2k for your help here :)
Ping @m-cat as you are the one rewriting the pvf worker currently. As I said above, I don't think that we need to take any special action here.

Thanks for the ping @bkchr. I wasn't aware that the thread count was so high, so it's good that we will be closing them properly in https://github.com/paritytech/polkadot/pull/6419.
For background, most of these threads are sleeping, which is why the CPU usage doesn't change.  But the PR above changes it so that we signal the thread to finish on its own, when the PVF job finishes.


refactor: removes duplicate /api from controllers

I just remove the duplicate /API from controllers to make it more readable and added a global prefix instead of it in the main.ts. now the whole app runs on /api without typing it in controllers.
Can you check if it won't break anything?

Good idea thanks


Show scrollbar by deault without mousewheel event.

Please update me is there any option to show the scroll bar by default , with out triggering the mouse wheel event.

@balaameex In the example http://echa.github.io/ng-scrollable/ the scrollbar is shown on hover

@balaameex maybe you found the solution already, but anyways .. you can show scrollbars with
.scrollable:hover .scrollable-bar {
    opacity: 1;
}```
in your own css after including ngscrollable's css. As an alternative, change the opacity setting in the ngscrollable css.

@echa Your example didn't work

Hmm, if you want to show scrollbars even if the content is smaller than the container, set {scrollYSlackSpace: -Y, scrollXSlackSpace: -X} when configuring the directive. Note: X and Y are negative numbers. They should correspond to the size of your container. If in doubt, set them to -10000 or even lower.


Package.json gets bundled for the browser

The whole package.json is getting bundled with webpack just for storing the current version within this.VERSION. Is that an unexpected behaviour or is it on purpose?

Hey @webyak, we didn't realize it would bundle the whole file at the time the lib was written. We are aware of this, but we never had time to fix it unfortunately. I'll give it a nudge in our bug tracker.

Closing this as this is no longer a browser library.


"Gâmbaș" is listed in the drop-down menu

Description:
"Gâmbaș" is listed in the drop-down menu alongside its corresponding county and commune, according to the law
Precondition:
The website is up an running.

Step 1
Type "Gâmbaș" in the search bar.

Expected results
The location is listed in the drop-down menu as "Gâmbaș, Alba (Aiud)".


Allowing a dash in company_name stops android build

When going through the cookiecutter react-native-template setup, the second option is company_name. I put in my name with a space.
That space was changed to a dash for five locations where a package name is required, e.g.:
# /android/app/src/main/AndroidManifest.xml
...
      package="com.error-with-dash-name.appname">
...

This causes the android build to fail on :app:processDebugResources.
Removing the deadly dash enabled the build to run successfully.

Looks like this might be the offending line: https://github.com/thoughtbot/react-native-template/blob/master/cookiecutter.json#L5
I wonder if using underscores would work?

 Allowing a dash in company_name stops android build