Can't sift after JSON addition

So, I want to make Sand able to drop Yellorium dust (from Extreme Reactors) when being sifted. I activated the recipe JSONs and added these lines to the 'Sand' section of the sieve registry.
https://pastebin.com/9qEjQvxm
It looked fine to me so I saved the edited JSON file and started minecraft up. However I ran into an issue when I went to test my change. I placed down a brand-new sieve and applied a new Diamond Mesh (the stage I selected) but when I went to sift some sand, my character made the usual 'right-click' hand motion but the sand didn't go into the sieve.
Tried it with other meshes and materials but same effect, I couldn't sift anything. Disabling the extended JSONs in the misc config of Creatio and restarting Minecraft, I could sift again, but (obviously) I lacked the recipe to sift for Yellorium.
Did I do something wrong when I applied the code? What can I do to fix this? I'd like to be able to add new recipes and still be able to use the sieves (obviously). Thank you in advance for any help.

Definitely sounds like you had an invalid JSON file. Can you upload the entire JSON file and not just the snippet.

Here is what it looked like before I made any changes.
https://pastebin.com/gScjiDxt

I meant could you post your modified Jon so I can see if you had valid json.

Gotcha, sorry.
https://pastebin.com/QiKBViz2
Though I think I may have noticed what I did wrong, now that I look at it a couple days after. I may have added a comma at the final closing bracket when I wasn't supposed to. That may be the case, but if you can find something else wrong, let me know.
Forgot the most important rule of coding. If you get frustrated, leave it and look at it again later.

You need a comma before your yellorium entry. Each entry is in a list with the others, i.e.:
This
    {
      "drop": {
        "name": "minecraft:prismarine_shard",
        "meta": 0
      },
      "chance": 0.02,
      "meshLevel": 4
    }
    {
      "drop": {
        "name": "bigreactors:dustmetals",
        "meta": 0
      },
      "chance": 0.02,
      "meshLevel": 4
    },

Should be:
    {
      "drop": {
        "name": "minecraft:prismarine_shard",
        "meta": 0
      },
      "chance": 0.02,
      "meshLevel": 4
    },
    {
      "drop": {
        "name": "bigreactors:dustmetals",
        "meta": 0
      },
      "chance": 0.02,
      "meshLevel": 4
    }

Ahhhhh, it was the comma, but it needed to be moved, not _re_moved... Thanks for your patience with my ridiculously simple bungle. Glad this community is so helpful.

No problem, glad it wasn't a bug.

And this is why we need yaml :P
SirLyle<EMAIL_ADDRESS>schrieb am Mi., 22. Nov. 2017, 21:54:

Closed #46 https://github.com/BloodWorkXGaming/ExNihiloCreatio/issues/46
.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/BloodWorkXGaming/ExNihiloCreatio/issues/46#event-1354846787,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AHwpZnsZ68XoEMAetjAMLELOJ8lS4sDuks5s5In_gaJpZM4QmvSC
.

Agreed, JSON failed at its mission of being human-friendly.


Failed to import due to hash instability for pinned dependency

Failing module

GitHub: not public, but package is public
npm: https://www.npmjs.com/package/webvi-websockets

Error message
After running deno run I got this:
error: The source code is invalid, as it does not match the expected hash in the lock file.
  Specifier<EMAIL_ADDRESS>  Lock file: C:\dev\github\webvi-experiments\Deno\deno.lock

The hash changed for some reason even though it is pinned at esm.sh v112. The lock file was initially created June 6, 2023 and tried to run today and had this failure.

I had to update the lock file as a workaround
Additional info

esm.sh version: pinned to v112
Deno version: 1.35.0

@rajsite with the release of v128, esm.sh bumped the "stable" version to v128 too. It's said on the "releases" page that it will break deno lockfile, you're suggested to delete the lockfile and reinstall the dependencies. I hope this makes it clear for you. If your issue has been fixed, consider closing this issue 🙃

If that's an expected workflow (that some releases may break existing pinned versions) that would be useful as a note in the pinned docs: https://github.com/esm-dev/esm.sh#pinning-build-version
Maybe something like:
Note: Periodically the esm.sh service may need to make changes that can cause existing pinned hashes to change and require updating your pinned version to at least the minimum `stableBuild`. The current minimum `stableBuild` is `v128`.

Also in the change log I now see the stableBuild is set to v128 but it's very subtle and I did not notice it trying to understand what's happening. I think more strongly worded breaking changes with instructions would help:
**BREAKING CHANGE**: The minimum stableBuild was increased to v128. Pinning to older versions is now considered unstable / unsupported.

It's said on the "releases" page that it will break deno lockfile

Unfortunately looking at the releases didn't occur to me as the mental model from the current Pinned readme docs is that I was pinned to a specific release and should not expect changes from new releases.

@rajsite v128 should not change the content of pined<EMAIL_ADDRESS>but i made a mistake that breaks the CDN cache layer. i explained in https://github.com/esm-dev/esm.sh/issues/676#issuecomment-1624482309

Ah that makes more sense. Was getting worried that pinned versions were expected to break periodically.
It sounds like that was a one off issue and not an expected reoccurring behavior. If that's the case makes sense to close this issue. 👍

thanks for understanding, I will be seriously careful in future updates 🙏

thanks for understanding, I will be seriously careful in future updates 🙏

Stuff happens! 😂 Thanks for taking the time to respond to my issue and for making the service! Been very helpful!


Pixiv crash

When adding pixiv the app crash, we need support for login with google too alot of people have their account with google

Hey, thank you for opening an issue, I'll look into it when I get home later today.
The pixiv integration never really worked, so removing it completely might be the better solution.
If adding support for login with Google doesn't prove to be a big challenge though, I will try to add it this weekend.


uib-dropdown seems to be broken in some cases

Hi all,
I have a problem after upgrading my project to angular-ui-bootstrap 1.2.4:
The uib-dropdown-menu/menuitem are visible in closed state and clicks to toggle button seems to have no effect.
See following screenshot:

sourceCode:

                         <button type="button" class="btn btn-default" uib-dropdown-toggle>                             Add Field                         </button>

{{tag.value}}

If I switch back to angular-ui-bootstrap 0.14.3 (same sourceCode). Everything is okay:

I am using angular-ui-bootstrap in Cordova.
Screenshots are taken on MacOSX Firefox (same issue when running on android).
Would you please mind to check was is wrong?
Kind regards and thanks alot,
Martin

@mmonshausen, per the issue template you summarily deleted to enter this, please be respectful of our time by 1) reading the project documentation for prerequisites of entering issues, 2) following our issue template, and 3) understanding that the issues forum is not for support requests.
I'm closing this until you follow the template and can show that this is a bug in the library.  We simply do not have the time to investigate poorly written issues.


dm: support empty check for physical mode

What problem does this PR solve?

Issue Number: close https://github.com/pingcap/tiflow/issues/11115
What is changed and how it works?

as title

Check List
Tests

Unit test
Integration test
Manual test (add detailed scripts or steps below)
No code

Questions
Will it cause performance regression or break compatibility?
Do you need to update user documentation, design documentation or monitoring documentation?
Release note
Please refer to [Release Notes Language Style Guide](https://pingcap.github.io/tidb-dev-guide/contribute-to-tidb/release-notes-style-guide.html) to write a quality release note.

If you don't think this PR needs a release note then fill it with `None`.

/retest

/retest

/retest

/retest


HAC-731 Cypress ITests fixes

Signed-off-by: Josef Kopriva<EMAIL_ADDRESS>Fixes
Fixes: https://issues.redhat.com/browse/HAC-731
Description
Fixes for ITests due to last changes in project.
Type of change

[ ] Bugfix
[ ] Code style update (formatting, renaming)
[ ] Refactoring (no functional changes, no api changes)

Browser conformance:

[x] Chrome
[ ] Firefox
[ ] Safari
[ ] Edge

/test all

/uncc

Tests are green

/lgtm

/assign @rohitkrai03


SDM_code_change

2nd commit is for response change for append subs according to docs

Can one of the admins verify this patch?

ok to test

retest this please


Networks Learns Nothing!

snntorch version: 0.2.8
Python version: 3.7.4
Operating System: Windows 10

Description
Hi,
I tried to use the snnTorch to do exactly as you are doing in Tutorial 3 (without spike_grad), and also in the upcoming Tutorial 4 (applied spike_grad to stein neuron)  for Spiking CNNs. Moreover, I also converted my dataset from static to spike version as in Tutorial 4 using rate encoding.
However, usually, I found that the network learns nothing and the training loss goes down and up slightly, but the output numbers and accuracy are completely unintuitive.
For example, I used a Conventional CNN on my Dataset and I got 85% accuracy, and I used it with the same architecture and hyperparameters and nothing is learned.
I will be glad if you can have some direct suggestions about what may be the problem and why the network is learning nothing in the Spiking domain?
I will present some of the code here.
Looking forward to your response.
# Network Architecture
num_inputs = 1*95*50
num_outputs = 8

# Training Parameters
batch_size=25

# Temporal Dynamics
num_steps = 25
alpha = 0.7
beta = 0.8

dtype = torch.float
device = torch.device("cuda") if torch.cuda.is_available() else torch.device("cpu")

class Net(nn.Module):
    def __init__(self):
        super().__init__()

    # initialize layers
        self.conv1 = nn.Conv2d(in_channels=1, out_channels=16, kernel_size=5, padding=1, stride=1)
        self.lif1 = snn.Stein(alpha=alpha, beta=beta)
        self.conv2 = nn.Conv2d(in_channels=16, out_channels=32, kernel_size=5, padding=1, stride=1)
        self.lif2 = snn.Stein(alpha=alpha, beta=beta)
        self.conv3 = nn.Conv2d(in_channels=32, out_channels=64, kernel_size=5, padding=1, stride=1)
        self.lif3 = snn.Stein(alpha=alpha, beta=beta)
        self.fc1 = nn.Linear(64*10*4, 500)
        self.lif4 = snn.Stein(alpha=alpha, beta=beta)
        self.fc2 = nn.Linear(500, 8)
        self.lif5 = snn.Stein(alpha=alpha, beta=beta)

    def forward(self, x):
        # Initialize LIF state variables and spike output tensors
        spk1, syn1, mem1 = self.lif1.init_stein(batch_size, 16, 46, 24)
        spk2, syn2, mem2 = self.lif1.init_stein(batch_size, 32, 22, 11)
        spk3, syn3, mem3 = self.lif3.init_stein(batch_size, 64, 10, 4)
        spk4, syn4, mem4 = self.lif4.init_stein(batch_size, 500)
        spk5, syn5, mem5 = self.lif5.init_stein(batch_size, 8)

        spk5_rec = []
        mem5_rec = []

        for step in range(num_steps):
            cur1 = F.max_pool2d(self.conv1(x), 2)
            spk1, syn1, mem1 = self.lif1(cur1, syn1, mem1)
            cur2 = F.max_pool2d(self.conv2(spk1), 2)
            spk2, syn2, mem2 = self.lif2(cur2, syn2, mem2)
            cur3 = F.max_pool2d(self.conv3(spk2), 2)
            spk3, syn3, mem3 = self.lif3(cur3, syn3, syn3)
            cur4 = self.fc1(spk3.view(batch_size, -1))
            spk4, syn4, mem4 = self.lif4(cur4, syn4, mem4)
            cur5 = self.fc2(spk4)
            spk5, syn5, mem5 = self.lif5(cur5, syn5, mem5)

            spk5_rec.append(spk5)
            mem5_rec.append(mem5)

        return torch.stack(spk5_rec, dim=0), torch.stack(mem5_rec, dim=0)

net = Net().to(device)
print(net)

loss_hist = []
test_loss_hist = []
counter = 0

# Outer training loop
for epoch in range(40):
    minibatch_counter = 0
    train_batch = iter(training_generator)

    # Minibatch training loop
    for data_it, targets_it in train_batch:
        data_it = data_it.to(device)
        targets_it = targets_it.to(device)

        batch_size = data_it.shape[0]
        spk_rec, mem_rec = net(data_it.view(batch_size, 1, 95, 50))
        log_p_y = log_softmax_fn(mem_rec)
        loss_val = torch.zeros((1), dtype=dtype, device=device)

        # Sum loss over time steps: BPTT
        for step in range(num_steps):
            loss_val += loss_fn(log_p_y[step], targets_it)

        # Gradient calculation
        optimizer.zero_grad()
        loss_val.backward()

        # Weight Update
        optimizer.step()

        # Store loss history for future plotting
        loss_hist.append(loss_val.item())

        # Test set
        test_data = itertools.cycle(val_generator)
        testdata_it, testtargets_it = next(test_data)
        testdata_it = testdata_it.to(device)
        testtargets_it = testtargets_it.to(device)

        # Test set forward pass
        batch_size = testdata_it.shape[0]
        test_spk, test_mem = net(testdata_it.view(batch_size, 1, 95, 50))

        # Test set loss
        log_p_ytest = log_softmax_fn(test_mem)
        log_p_ytest = log_p_ytest.sum(dim=0)
        loss_val_test = loss_fn(log_p_ytest, testtargets_it)
        test_loss_hist.append(loss_val_test.item())

        # Print test/train loss/accuracy
        if counter % 50 == 0:
            train_printer()
        minibatch_counter += 1
        counter += 1

loss_hist_true_grad = loss_hist
test_loss_hist_true_grad = test_loss_hist

Hi @Dola47,
Tutorial 4 is not yet completed. Aiming to have it completed by the end of April.
I had a quick look at your code. You mentioned that your input is a spiking dataset. However, I don't see your forward pass iterating through the time dimension of the data.
I.e., if x is spiking with the number of steps in the first dimension, the following line:
cur1 = F.max_pool2d(self.conv1(x), 2)
may need to be:
cur1 = F.max_pool2d(self.conv1(x[step]), 2)
In general, a lack of learning in SNNs where the same error does not exist in an equivalent ANN will often be due to either (i) a mistake made in how time is handled in the forward pass, or (ii) a fundamental issue with SNNs, e.g., they're known to struggle to learn in excessively deep networks where ANNs do not struggle.
I'll shortly open up a user forum so that coding questions can be directed there rather than here in GitHub issues! That might be more productive. Will pass a link to you once that's done.

Hi @jeshraghian ,
Maybe I was not that clear, I mean I tried once to submit my static data as an input to my SCNN, which is exactly the code above. And once more I converted my data to a spiking version using rate encoding, and I added the time steps as you exactly mentioned ( I have not attached the code for that).
In both cases, the network learned nothing.
Let me raise some questions:

Do we have any specific way to specify the time domain dimension for example as in LSTM in snnTorch, because for example the dimension of 95 in my dataset may be considered as the time domain dimension.
Are you considering the network above as a deep network? Because from my point of view it is not that deep and I was expecting that the SNN will learn something?
Do you have any suggestions that I might try to in order to get the SNN to learn something (for ex: use the time to first spike instead of rate encoding, assign a time-domain dimension, reduce the size of the network)?

Looking forward to your response.
Thanks.

@jeshraghian Just to note, I reduced the architecture of my network, and the network started to fit the data :)

@Dola47 thanks for the update!
Feel free to keep the issue open so I can address your questions once I have more free time.
Until then, I have found that conv nets are quite sensitive to alpha & beta (membrane decay parameters). You might consider doing a parameter sweep there.
It's also possible to make alpha and beta learnable parameters too. I'll add this to the to-do list!

@jeshraghian  Thanks a lot for your reply.
One more thing I noticed if I encoded my dataset with Latency encoding usually the Train Set Accuracy and Test Set Accuracy in every Minitbatch are the same, is that normal?

Are you considering the network above as a deep network? Because from my point of view it is not that deep and I was expecting that the SNN will learn something?

In general, this might be considered a moderately sized network in SNNs.
Having said that, training SNNs using backprop is quite a challenge on even moderately sized architectures, and highly susceptible to vanishing gradients.
Nonetheless, other researchers have successfully achieved it on comparable architectures.
Although not guaranteed to work / this is still a relatively open research question, consider the following:
(i) using a surrogate gradient which will make the gradient more continuous;
(ii) sweeping across alpha/beta;
(iii) increase the width of FCNs or depth of 2d convs which not only increase capacity, but would be expected to increase the amount of firing, and therefore, keep the gradient flowing.
(iv) modify weight initialization parameters to reduce vanishing gradients.

Do you have any suggestions that I might try to in order to get the SNN to learn something (for ex: use the time to first spike instead of rate encoding, assign a time-domain dimension, reduce the size of the network)?

The tutorials show how your network can learn something using rate coding.
If you mean, how to implement a network that responds with a latency / time to first spike target, the the tutorials are enough to get you started with coding that together. Making the necessary tweaks would need a basic understanding of PyTorch.
From my own experience, cross-entropy loss in PyTorch will not natively support latency coding because an output target is expected at every step. I.e., one output classes must fire at every step.
To get around this, you can either a) add a dummy neuron which fires when none of the true classes fire. More appropriately, I would b) apply a MSE Loss to the membrane potential, where the membrane is set to the threshold (or slightly above) at the desired firing time, t, and 0 elsewhere.
There's no settled 'best' way just yet. As we discover best practices, we can add these to the examples section of the documentation.
But if you make any discoveries, keep us posted :-)

One more thing I noticed if I encoded my dataset with Latency encoding usually the Train Set Accuracy and Test Set Accuracy in every Minitbatch are the same, is that normal?

I take this to mean your input uses latency coding, and your output targets are classified based on rate coding.
The results do look quite odd; obviously make sure that you're not passing the same dataloader into your train and test sets.
Otherwise, test the accuracy of the full training set to see if this issue persists.
I'll close this issue for now, so please direct questions related to debugging training code, tutorials, and other general SNN advice to the GitHub Discussions forum. Hopefully this will encourage the broader community to assist.
Issues can be left for errors arising from snnTorch itself.
Thanks!

@jeshraghian  Really thanks a lot for your response.
However, I started to fill I am missing some ideas:
I could not understand precisely what do you mean by that?

From my own experience, cross-entropy loss in PyTorch will not natively support latency coding because an output target is expected at every step. I.e., one output classes must fire at every step.
To get around this, you can either a) add a dummy neuron which fires when none of the true classes fire. More appropriately, I would b) apply a MSE Loss to the membrane potential, where the membrane is set to the threshold (or slightly above) at the desired firing time, t, and 0 elsewhere.

Also here I want to note that I am not using the same dataloader.

I take this to mean your input uses latency coding, and your output targets are classified based on rate coding.
The results do look quite odd; obviously make sure that you're not passing the same dataloader into your train and test sets.
Otherwise, test the accuracy of the full training set to see if this issue persists.

Because both of the above points are quite related. I would like to sum up how I used the Latency code for my case. And I think the best thing is to present the code where the data is converted to spikes using Latency code.
Here is the code I used for the latency code:
loss_hist = []
val_loss_hist = []
counter = 0
#spike_data_list=[]
#spike_target_list=[]

# Outer training loop
for epoch in range(3):
    minibatch_counter = 0
    train_batch = iter(training_generator)

    # Minibatch training loop
    for data_it, targets_it in train_batch:
        data_it = data_it.to(device)
        targets_it = targets_it.to(device)
        batch_size = data_it.shape[0]
        # Spike generator
        spike_data, spike_targets = spikegen.latency(data_it, targets_it, num_outputs=num_outputs,
                                                     num_steps=num_steps, tau=5, threshold=0.01)
        #spike_data_list.append(spike_data)
        #spike_target_list.append(spike_targets)

        output, mem_rec = net(spike_data.view(num_steps, batch_size, 95, 32, 32))
        log_p_y = log_softmax_fn(mem_rec)
        loss_val = torch.zeros((1), dtype=dtype, device=device)

        # Sum loss over time steps to perform BPTT
        for step in range(num_steps):
            loss_val += loss_fn(log_p_y[step], targets_it)

        # Gradient calculation
        optimizer.zero_grad()
        loss_val.backward(retain_graph=True)
        nn.utils.clip_grad_norm_(net.parameters(), 1)

        # Weight Update
        optimizer.step()

        # Store loss history for future plotting
        loss_hist.append(loss_val.item())

        # Val set
        val_data = itertools.cycle(val_generator)
        valdata_it, valtargets_it = next(val_data)
        valdata_it = valdata_it.to(device)
        valtargets_it = valtargets_it.to(device)
        batch_size = valdata_it.shape[0]
        # Val set spike conversion
        val_spike_data, val_spike_targets = spikegen.latency(data_it, targets_it, num_outputs=num_outputs,
                                                             num_steps=num_steps, tau=5, threshold=0.01)

        # Val set forward pass
        val_output, val_mem_rec = net(val_spike_data.view(num_steps, batch_size, 95, 32, 32))

        # Val set loss
        log_p_yval = log_softmax_fn(val_mem_rec)
        log_p_yval = log_p_yval.sum(dim=0)
        loss_val_val = loss_fn(log_p_yval, valtargets_it)
        val_loss_hist.append(loss_val_val.item())

        # Print val/train loss/accuracy
        if counter % 50 == 0:
              train_printer()
        minibatch_counter += 1
        counter += 1

loss_hist_true_grad = loss_hist
val_loss_hist_true_grad = val_loss_hist

Simply it is the same as the one used for the rate encoding only I changed the functions.
It would be quite helpful to check If am doing it the right way to not, and if not. I will be very glad if you can suggest the modifications.
Thanks and looking forward to your response.

Hi @jeshraghian ,
For your knowledge, I have been doing for a few days hyperparameter optimization on the alpha and beta parameters. I can say it is really used case-specific and every time I optimize I get different results. But, I can say normally alpha ranges from 0.4 up to 0.8. beta ranges from 0.3 to 0.9.
Moreover, you have a snippet of my code above that shows how I am using Temporal encoding and I am not sure if I am using it correctly or not. Please, if it is incorrect inform me. And I will be glad then if you can provide me with a few lines of code that show how to do it in the correct way.
Thanks a lot.


Getting error 'WebDriverException : Message: Unhandled endpoint:' when trying to switch to newly opened window

Hello,
I am getting an error 'selenium.common.exceptions.WebDriverException: Message: Unhandled endpoint:' when I am trying to switch to a new window, which got opened when selecting 'Login' button in the main window of the application. Whether for mac2 driver we have any different set of commands for switching window ?
Code:
from appium.webdriver.common.appiumby import AppiumBy
from appium import webdriver
def step_impl():
desired_caps = {
"automationName": "Mac2",
"platformName": "Mac",
"bundleId": "com.<test_app>",
"showServerLogs": True
}
driver = webdriver.Remote('http://localhost:4723/wd/hub', desired_caps)

login_btn = wait_utils.wait_for_element_to_be_clickable(self, (AppiumBy.XPATH, "//*[@title='Log in']"))
login_btn.click()

driver.switch_to.window('<Title of the new window opened>')

Note: I have tried 'handles = driver.window_handles' instead of 'driver.switch_to.window('')' but still getting the same error.
StackTrace
selenium.common.exceptions.WebDriverException: Message: Unhandled endpoint: /session/97B414C3-81DE-46E2-BBF0-0510FA38600E/window -- http://<IP_ADDRESS>:10100/ with parameters {
E           wildcards =     (
E               "session/97B414C3-81DE-46E2-BBF0-0510FA38600E/window"
E           );
E       }
E       Stacktrace:
E       UnknownCommandError: Unhandled endpoint: /session/97B414C3-81DE-46E2-BBF0-0510FA38600E/window -- http://<IP_ADDRESS>:10100/ with parameters {
E           wildcards =     (
E               "session/97B414C3-81DE-46E2-BBF0-0510FA38600E/window"
E           );
E       }
E           at errorFromW3CJsonCode (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/appium-base-driver/lib/protocol/errors.js:780:25)
E           at ProxyRequestError.getActualError (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/appium-base-driver/lib/protocol/errors.js:663:14)
E           at asyncHandler (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/appium-base-driver/lib/protocol/protocol.js:373:25)
../Library/Python/3.10/lib/python/site-packages/selenium/webdriver/remote/errorhandler.py:247: WebDriverException

This driver does not have concept of a window. If a "physical" application window is visible in page source (e.g. accessible to XCTest) then it is possible to interact with it. If the window belongs to another app then it is necessary to activate it using https://github.com/appium/appium-mac2-driver#macos-activateapp extension. If the window is still not present then it mist be an XCTest issue, which only Apple is able to address

I was able to perform actions in the new window without switching. Thanks @mykola-mokhnach .Probably I thought too much since I had 2 windows.


#2573: #2573: RFC: Universal way of performing dimensionality reduction on multiple columns

Purpose:

To have a unified method for dimensionality reduction that will support multiple columns and would be easily extended with supported column types from different packages.

Problem:

Datagrok currently can perform dimensionality reduction on biological sequences, molecules or numbers separately. Each of these methods are separately placed in corresponding packages, and there is a lot of code duplication.
There is an increased interest in being able to process different columns and produce their embeddings in 2d space. In current realization of code, one would need to duplicate similar code sequence/chem space in order to add support for particular column.
We cannot currently do dimensionality reduction for an arbitrary set of columns, including string types (for instance AGE / HEIGHT / SEX)
We don't have "find similar" functionality based on the arbitrary set of columns. This might be useful as a context panel.

Proposed Solution:

Create a unified function for performing dimensionality reduction, that would dynamically know which columns are supported and what preprocessing/distance functions they support. these preprocessing functions would be picked up from any installed package, and then called on column before calculating embeddings. For example, when performing sequence space, first step is encoding of sequences and constructing monomer substitution matrix. In proposed solution, in order to add support for macromolecule columns, only thing needed is to expose a preprocessing function in bio that encodes sequences. For aggregating different columns, ui will include items grid editor which will allow to add multiple columns, including its preprocessing function, distance function and weight used for distance aggregation.

Benefits:

Much less code, less needed to test and maintain.
Easier way of adding new supported function, easier way of extending.
Support for multiple columns together

I love the idea.
What's missing in the picture is the way the individual distances would be aggregated (Euclidean / Manhattan).

This issue has been mirrored in Jira: https://reddata.atlassian.net/browse/GROK-14894

This issue has been mirrored in Jira: https://reddata.atlassian.net/browse/GROK-16155

The features described above and more have been implemented. please check out the community link for more info.


ci: add build, test and deployment to maven

Description

Close #3
Add CI/CD

Build, test, deploy to maven

Motivation and context

How has this been tested?

Screenshots (if appropriate):
Checklist:

[x] I have added a relevant changelog to CHANGELOG.md.
[ ] I have added tests to cover my changes.
[ ] I have updated the documentation accordingly.

I'm working on CI trigger...


Security: Mitigations for Microarchitectural Data Sampling

RancherOS Version: (ros os version)
All
Where are you running RancherOS? (docker-machine, AWS, GCE, baremetal, etc.)
All
Details are emerging of yet more CPU level security flaws, see Intel’s security advisory at https://www.intel.com/content/www/us/en/security-center/advisory/intel-sa-00233.html There appear to be 4 separate CVEs for this (CVE-2018-12126, CVE-2018-12127, CVE-2018-12130, CVE-2019-11091).
Mitigation seems to be a combination of microcode update (not sure how RancherOS has handled this in the past) and kernel changes. Ubuntu have some more details at https://wiki.ubuntu.com/SecurityTeam/KnowledgeBase/MDS

https://www.kernel.org/doc/html/latest/x86/mds.html has more details from a Linux kernel perspective and what the microcode update is needed for.
https://www.phoronix.com/scan.php?page=news_item&px=MDS-Kernel-Fixes details kernel versions with the mitigation support.

I have built kernel 4.14.119, ROS v1.5.2 will use this kernel.
Regarding microcode update, Microcode is best loaded from the BIOS. Certain microcode must only be applied from the BIOS.
If you want to load in ROS, here are the steps that you can refer to:
# we can get the latest intel microcode, such as https://downloadcenter.intel.com/download/28087/Linux-Processor-Microcode-Data-File?v=t
# then we need to copy data files to firmware dir
mkdir -p /lib/firmware/intel-ucode/
cp -v intel-ucode/* /lib/firmware/intel-ucode/

# reload the microcode
# this file does not exist if you are running ROS on the hypervisor
# usually, the VM does not need to update the microcode.
echo 1 > /sys/devices/system/cpu/microcode/reload

# check the result
dmesg | grep microcode
[   13.659429] microcode: sig=0x306f2, pf=0x1, revision=0x36
[   13.665981] microcode: Microcode Update Driver: v2.01<EMAIL_ADDRESS>Peter Oruba
[  510.899733] microcode: updated to revision 0x3b, date = 2017-11-17

I am considering integrating microcode into ROS so that users don't have to manually update.

Thanks for being on top of this @niusmallnan!
Worth noting that the original kernel patch announcement says:

Odds are we will be fixing a number of small things in
this area for the next few weeks as things shake out on real hardware
and workloads. So don't think you are done updating your kernel, you
never are done with that :)

So it might be that a later kernel version is needed to fully mitigate, probably worth leaving this issue open until the dust settles on this...

@niusmallnan I can see that more MDS related changes went into kernel 4.14.121 (see https://lwn.net/Articles/789141/), latest release is 4.14.122. I'd recommend updating to one of these.
What's the timescales for the official 1.5.2 release? We'd like to upgrade to an official release ASAP.

v1.5.2-rc2 has used the kernel 4.14.122.
I originally planned to release 1.5.2 today(05/31), but due to that Docker CVE-2018-15664, I temporarily postpone the release in order to wait for the final patch.

v1.5.2 has been shipped.


Check if /v1/provide-mac-table-of-all-devices data amount is ok

is there a maximum size for responseBodies?
how long does it take?
if too much data, check whether data could be delivered as csv instead

add detailed description in oas
return format would be application/txt

if not: check out pagination or whether to write a file, which Netexplorer would fetch via ftp

According to Copilot there are no fixed limitations for the allowed size of the responseBody according to the HTTP protocol. However, we may have limitations from our framework...

The response for the 10 devices has size 13,06KB, if we assume that this is a representative size we end up with an amount of ~55.000 KB for 42k devices, which would be ~53MB of returned data.

Update from Zia: in postman/browser there is a limit on the size of the responseBody for MATR://v1/provide-mac-table-of-all-devices; with curl it should work


Can i access to the editor in asp.net?

Hi.  First of all, great work.  This code helps me a lot.
(Sorry for my english, i know it's bad).
Now i'm having a problem.  I have an asp.net web forms app.  I allow users to schedule some heavy duty tasks to be performed on not-working hours in the server.  But currently i can only create the task; the users cannot edit the schedule.  Any tip for do this?
Thank you so much.
Originally posted: 2011-04-06T10:06:29

There is not an ASP.NET control for editing a task in the current library. However, the TaskService object should be able to be instantiated from within ASP.NET and you could create a series of web forms to edit tasks and then you could register the updates. If you do this, please consider contributing those web forms back to this project so others can benefit from them.
Originally posted: 2011-04-06T17:30:29


Add TextLayoutInfo to TextBundle and Text2dBundle

Objective
TextBundle and Text2dBundle don't have TextLayoutInfo components. Instead, TextLayoutInfo is inserted by the update_2d_layout and text_system systems. This seems to be both more complicated and marginally less efficient than just adding the component to the bundles directly.
Solution

Add the TextLayoutInfo component to the TextBundle and Text2dBundle bundles.
Change optional TextLayoutInfo queries to non-optional.
Clean up the text systems by removing the Commands parameters and match statements.

Changelog

Added the TextLayoutInfo component to TextBundle.
Added the TextLayoutInfo component to Text2dBundle.
Changed optional TextLayoutInfo queries to be non-optional.

Migration Guide
The TextLayoutInfo component has been added to TextBundle and Text2dBundle.
To draw text using the text2d or ui text systems entities must have the TextLayoutInfo component.

Closed, as this was done in #7779.


Replace hashtags, urls and mentions in summary with links

See #828 URLs, Ment ions and Hashtags are replaced with links for the summarys.
Other information:

[x] Have you written new tests for your changes, if applicable?

Replaces the messed up PR #831

@danielhuesken Thanks a lot, this change is awesome!
There is one last thing about the Extra-Fields generator. I think this is nothing that came with your change but maybe we could/should fix it with this PR.
If you have a text like:
hallo https://example.com hallo

it translates to:
{
  "type": "PropertyValue",
  "name": "Test",
  "value": "\u003Cp\u003Ehallo \u003Ca href=\u0022https:\/\/pfefferle.org\u0022 rel=\u0022nofollow\u0022\u003Ehttps:\/\/example.com\u003C\/a\u003E hallo\u003C\/p\u003E"
},
{
  "type": "Link",
  "name": "Test",
  "href": "https:\/\/example.com",
  "rel": [
    "nofollow"
  ]
}

The property value is fine, but shouldn't the second one be a Note instead of a Link, because it is not only a link but also some text?

@pfefferle I currently thinking about striping tags form the extra fields HTML. See https://docs.joinmastodon.org/spec/activitypub/#sanitization
Maybe we can also strip p tags. And maybe it is easier to detect that only one link ist there.
What did you think?

I am not sure about stripping HTML... I tried to not limit the plugin to only match the Mastodon spec, that's why we also removed stripping/sanitization from the post-content. Friendi.ca and others are very good in supporting HTML!
And do you have an idea how to check if there is only one Link in the content?

@pfefferle I implemented a check. Maybe will not help in all cases but will improve it for your case.

@danielhuesken this is awesome! thanks so much!

@danielhuesken do you think it is ready to merge?

Yes, I have nothing to add.


Failed to start server : Invalid JSON in context file

After a power failure, the file global.json was altered. I have attached the altered file as an example.
The problem would be that the node-red server stopped starting.
Welcome to Node-RED
===================
14 Feb 14:00:47 - [info] Node-RED version: v3.1.5
14 Feb 14:00:47 - [info] Node.js  version: v16.20.2
14 Feb 14:00:47 - [info] Windows_NT 10.0.19045 x64 LE
14 Feb 14:00:48 - [info] Loading palette nodes
14 Feb 14:00:49 - [info] Settings file  : C:\Users\DEV\.node-red\settings.js
14 Feb 14:00:49 - [info] Context store  : 'ram' [module=memory]
14 Feb 14:00:49 - [info] Context store  : 'hdd' [module=localfilesystem]
14 Feb 14:00:49 - [error] Failed to start server:
14 Feb 14:00:49 - [error] Error: Error loading context store: Error: Invalid JSON in context file '\Users\DEV\.node-red\context\global\global.json'
    at C:\Users\DEV\AppData\Roaming\npm\node_modules\node-red\node_modules\@node-red\runtime\lib\nodes\context\index.js:180:15

Maybe it would be better that in the case that the global.json file is altered, the server should notify the error, but still start.
It's better to start again, than to stay stopped.
Environment

Node-RED version: 3.1.5
Node.js version: 16.20.2
npm version: 10.4.0
Platform/OS: Windows 10 x64
Browser: -

global.zip

Getting a similar error in home assistant deployed node red. I did a reboot of the home assistant VM and node red didn't come back up:
18 Jul 15:11:02 - [error] Error: Error loading context store: Error: Invalid JSON in context file '/config/context/global/global.json' at /opt/node_modules/@node-red/runtime/lib/nodes/context/index.js:180:15

Same here, did any of you resolve this issue?

@mattcrn you either delete the context files (and all the context) or you try and fix the files by hand.
But if this system is important and you need to use persistent context I suggest you look at buying a UPS

@mattcrn, deleting the global context file worked  for me. @hardillb, I actually do run a UPS on my home assistant server and the dates it failed there were no power outages. Maybe something else going on but likely transient in nature which would make it a tough thing to get a reproducible bug from unfortunately.
The workaround for deleting the global context file is sufficient for the time being though.

thank you, that worked

happen same with in windows 10 on sudden power cycle.
this should delete faulty .json file and start from fresh. no meaning to halt server (without exiting) startup process for faulty exported context file.
I'm managing few nodered server using pm2, pm2 not reporting error as well and displaying status "online"


Use paste! to simplify port macros in avr-hal-generic

Following #449, a draft of the reimplementation. Currently done is the port module and the simple_pwm module. I will be working on the others as well, and feel free to suggest changes/improvements. The intent is to deduplicate the implementations for each CPU, hoping to allow easier refactorings and additions of features.
Closes #449.

Hi, thanks a lot for this work.  You have to be careful with simplifying the interface too much because in some places the chips themselves are not consistent enough to abstract them properly.  I believe this might be the cause for the CI failures here.
In general, my suggestion would be to do this work in one module per PR.  So please open one PR for the port module changes and a second one for the simple_pwm changes so each can be looked at and worked on in isolation.

You have to be careful with simplifying the interface too much because in some places the chips themselves are not consistent enough to abstract them properly. I believe this might be the cause for the CI failures here.

Yes, I'm noticing the inconsistencies. For the port module they don't seem that bad, but the PWM one requires extra care, and probably the ones I haven't looked at yet as well. On that note, I should mention I couldn't fit Timer 1 on the Attiny85 into the module. It has a dual waveform and outputs to 2 pins simultaneously, so we probably can't reliably represent that with the current framework. I left it unimplemented with a TODO comment for later. It had an implementation prior, but it considered only one pin, which could lead to issues if the user expects to be able to use its dual normally.

In general, my suggestion would be to do this work in one module per PR. So please open one PR for the port module changes and a second one for the simple_pwm changes so each can be looked at and worked on in isolation.

Okay, that's a good idea. I'll edit this one to have only the port module as scope, and open others as I proceed to other modules.

I'll mark this as ready for review, since we limited the scope. I rebased and fixed some issues in arduino-hal (I forgot to update some board definitions with the new macro). Also built lib for all CPUs and examples for all boards, it should be good now, but let's see if CI catches anything else.
As a side note, and since you thanked me for this, I should say this crate is very high quality, it sure beats the regular Arduino stack by a wide margin. So thank you as well.


HAI-1076 Create audit logs when application data is sent to Allu

Description
Add entries to audit logs whenever users read customers and contacts from Allu applications. This is done because we need to know who has accessed personal information and what that information was.
Jira Issue: https://helsinkisolutionoffice.atlassian.net/browse/HAI-1076
Type of change

[ ] Bug fix
[ ] New feature
[X] Other

Instructions for testing
Allu test environment is down at the moment, so this has only been tested with unit tests.
Checklist:

[X] I have written new tests (if applicable)
[X] I have ran the tests myself (if applicable)
[ ] I have made necessary changes to the documentation, link to confluence
or other location:

This and #220 need to be refactored. Also, it would be nice to test this with a working Allu test environment before closing.


Use the file path as root_dir when ccls does not find root_dir

Problem: when root_dir is not found, ccls does not work.
This pull request is using the file path as root_dir when ccls does not find root_dir

Thanks!


Minor typo fix

Changed “cen” to “can”.

Thanks Adriaan!

This is so awesome!
On Tuesday, 1 September 2015, Aaron St. George<EMAIL_ADDRESS>wrote:

Merged #5 https://github.com/AaronStGeorge/tanks-app/pull/5.
—
Reply to this email directly or view it on GitHub
https://github.com/AaronStGeorge/tanks-app/pull/5#event-397986442.


boards: st: nucleo_u5a5zj_q: enable USB HS

Use HSE as PLL input source, to achieve clock increased accuracy. This allows to drive USB HS
peripheral clock, which is not possible with MSIS.
Provide configuration for USB HS with embedded USB HS PHY.
Tested with west build -b nucleo_u5a5zj_q zephyr/samples/subsys/usb/cdc_acm:
[27617.468275] usb 1-2.3.2: new high-speed USB device number 51 using xhci_hcd
[27617.583341] usb 1-2.3.2: New USB device found, idVendor=2fe3, idProduct=0001, bcdDevice= 4.00
[27617.583346] usb 1-2.3.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[27617.583348] usb 1-2.3.2: Product: Zephyr CDC ACM sample
[27617.583350] usb 1-2.3.2: Manufacturer: ZEPHYR
[27617.583351] usb 1-2.3.2: SerialNumber:<PHONE_NUMBER>1B001B

Thanks @mniestroj. Did you had a check to https://github.com/zephyrproject-rtos/zephyr/pull/80249 ?

No, I didn't. I will take a look at it and give it a try.
Patches in this PR are from ~1.5 months ago, I just didn't have time to push them yet. I'll close this PR then.


This is a dummy change to figure out the DCO issue.

This change should not be merged.
Using my new email id to sign-off the commit.
Signed-off-by: Sachin Sant<EMAIL_ADDRESS>

Commit sha: 2aa1062, Author: Sachin Sant, Committer: Sachin Sant; Expected "Sachin Sant<EMAIL_ADDRESS>but got "Sachin Sant<EMAIL_ADDRESS>

@PraveenPenguin @abdhaleegit any progress on this one? Do we know why DCO complains about this email id?

@PraveenPenguin @abdhaleegit any progress on this one? Do we know why DCO complains about this email id?

@sacsant no not yet   did not hear any thing from DCO APP issue :( , this the issue what we posted https://github.com/dcoapp/app/issues/179

Was able to create a PR #707 using my other email ID. Closing this issue.


portable-ruby poured after each cleanup

[x] ran brew update and can still reproduce the problem?
[x] ran brew doctor, fixed all issues and can still reproduce the problem?
[x] ran brew config and brew doctor and included their output with your issue?

What you were trying to do (and why)
Trying to brew update after a brew cleanup
What happened (include command output)
portable-ruby was reinstalled.

Command output

[marcfrederick@Marcs-MacBook-Pro ~]$ brew upgrade
[marcfrederick@Marcs-MacBook-Pro ~]$ brew cleanup
[marcfrederick@Marcs-MacBook-Pro ~]$ brew upgrade
==> Downloading https://homebrew.bintray.com/bottles-portable-ruby/portable-ruby-2.6.3.mavericks.bottle.tar.gz
Already downloaded: /Users/marcfrederick/Library/Caches/Homebrew/portable-ruby-2.6.3.mavericks.bottle.tar.gz
==> Pouring portable-ruby-2.6.3.mavericks.bottle.tar.gz
[marcfrederick@Marcs-MacBook-Pro ~]$

What you expected to happen
portable-ruby not to be upgraded each time.
Step-by-step reproduction instructions (by running brew commands)

brew cleanup
brew upgrade

Output of brew config and brew doctor commands

[marcfrederick@Marcs-MacBook-Pro ~]$ brew config
HOMEBREW_VERSION: 2.2.4-35-g8aa7cd2
ORIGIN: https://github.com/Homebrew/brew
HEAD: 8aa7cd2a76f3d7f4d8d3c75a5b50730c5acdf108
Last commit: 2 hours ago
Core tap ORIGIN: https://github.com/Homebrew/homebrew-core
Core tap HEAD: e240db108d7909a74d8dcd370695a26c38b6a950
Core tap last commit: 2 hours ago
HOMEBREW_PREFIX: /usr/local
HOMEBREW_DEV_CMD_RUN: 1
HOMEBREW_GITHUB_API_TOKEN: set
HOMEBREW_NO_ANALYTICS: true
HOMEBREW_NO_INSECURE_REDIRECT: true
CPU: quad-core 64-bit broadwell
Homebrew Ruby: 2.6.3 => /usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.6.3/bin/ruby
Clang: 11.0 build 1100
Git: 2.21.1 => /Applications/Xcode.app/Contents/Developer/usr/bin/git
Curl: 7.64.1 => /usr/bin/curl
Java: 13.0.2
macOS: 10.15.3-x86_64
CLT: <IP_ADDRESS>
Xcode: 11.3.1
[marcfrederick@Marcs-MacBook-Pro ~]$ brew doctor
Please note that these warnings are just used to help the Homebrew maintainers
with debugging if you file an issue. If everything you use Homebrew for is
working fine: please don't worry or file an issue; just ignore this. Thanks!

Warning: A newer Command Line Tools release is available.
Update them from Software Update in System Preferences or
https://developer.apple.com/download/more/.

[marcfrederick@Marcs-MacBook-Pro ~]$

Fixed by https://github.com/Homebrew/brew/pull/6986


Background none replacement with 0 0

I’m having trouble with these lines in the core.js file:
https://github.com/ben-eb/cssnano/blob/master/lib/core.js#L27-L29
if (declaration.prop === 'background') {
  declaration.value = declaration.value.replace('none', '0 0');
}

The code doesn’t work for me if I specify none as a background image, because replacing it with 0 0 wrecks the whole declaration.
With CSS like this:
h1 {
    background: none left top / cover no-repeat transparent;
}

I would expect this result:
h1{background:none left top/cover no-repeat transparent}

But instead the none gets replaced with 0 0 mucking up the image value and the browser interprets it as a position or something.
h1{background:0 0 left top/cover no-repeat transparent}

Any thoughts on what I can do about it?

What is the purpose of this rule?
h1 {
    background: none left top / cover no-repeat transparent;
}

If you think that the none is better left untouched I can remove that logic.

I would use that rule for something like icons.
To do the basic set up, I could target all the icon classes like this:
.icon {
  background: none left top / cover no-repeat transparent;
  width: 32px;
  height: 32px;
  ...
}

Then for each unique icon, I only have to specify the image:
.icon-github {
  background-image: url(...);
}

OK, makes sense. :+1:
Is it possible to replace none with 0 in this situation?

Doesn’t appear to be possible. The CSS validator still throws an error.

Very well. I will fix this soon (tonight/tomorrow), a pull request is appreciated but the integration tests must be updated :+1:


Fixed issue where beaver was watching archived .gz files.

Log messages were being shipped multiple days and multiple times
per day. This fix changes the watch targets for beaver ending in

to *.log for nova, glance, neutron, heat, and cinder with the
goal of ignoring archived .gz files.

No bug filed here, so harder to do much with this.
What is the symptom of beaver watching compressed log files>
(CI failure was due to git submodules rewriting git history, unrelated to this change)

Log messages are repeated multiple times per day and for multiple days. You can see beaver looking at .gz archived log files inside of the beaver log file.

This change needs to be rebased or merged from master, anyway.
If you can take a moment to create an issue with one example line from a beaver log file, I'll get it rebased and nudge this through the system to get it triaged and backported. I presume you would like this in kilo, and we can't keep track of what we fixed or where without an Issue so we're going to need that.

@absalon-james I'd love to see the path actually be * and a regex that excludes .gz and .bz2 files rather than just including *.log. This way, any log file placed in the directory that isn't compressed will be slurped in for processing. Basically include all and blacklist what we know is wrong.
Alternatively, we could make this a regex that includes *, but excludes .[[:digit:]]. which effectively ignores rotated files but includes everything else.

Closing. duplicates 703


⚠ HDBits has degraded performance

In 2169697, HDBits ($HDB) experienced degraded performance:

HTTP code: 502
Response time: 8039 ms

Resolved: HDBits performance has improved in e18e709 after 6 minutes.


🦸🏼♀ [OFFICIAL] New member, Colleagues, and team 🦸🏼♀

Hi,
The DonyaOS is not yet ready and complete and we need the help of others.

Please message here, if are you interested, We will invite you to this organization.

Interested or new people, please introduce yourself in at least 5 lines.
Necessary positions:

Linux Bash Programmer
Interested in Kernel and etc (Linux, Monitor Driver, Network Driver, BusyBox, Musl, ...)
Packages

To develop more package/tool for OS:

C programmer (Or other system programming language. such as GoLang)

Just a tiny example: https://github.com/BaseMax/dcat
Other positions:

Web Design UI/UX (Designer)
Web development (HTML, CSS, Javascript, or other JS frameworks)

Note:
Long experience and great skills are not necessary.
The important thing is to want to learn and really try.
That's all it takes to get started.
I'm sure this could be a new experience and more knowledge.
Cheers,

Hello! Thanks for the invite! I've begun researching how package managers work in the hopes of writing one in C# (though this is a managed language, not as fast as a system language as the compilation is JIT, not AOT).
If I end up writing one, I'd love to contribute it to the Donya project! I'm just not familiar with C, C++, Go, or Rust, though I could try Vala or D (which are both general-purpose AOT compiled languages, so they can do the same job) if you'd prefer I use a faster language than C#.

Hey, appreciate the invite. It is definitely going to be an interesting venture. For now going through LFS. I could support with shell scripting, C/C++ and JS.

Hi folks,
Related to new messages at https://github.com/DonyaOS/Donya/issues/5
Part: Base, and Shell
@BaseMax, @esmaeelE, and @sudo-corvus
Improve code of the script, Split bash script to multipart-files.
Part: Packages / API and web service
@sudo-corvus, and @limeschool
I prefer you to be responsible for implementing the packages section. Because you have good ideas and you are interested in this field.
Part: Package Manager / Client software
@amir-shiati
Write a package manager software with supporting all features of arguments. (from 'h' and help and etc...)
Also review, test, and help by @sudo-corvus, and @limeschool @basemax @esmaeelE

Understand me because it is a bit difficult for me to make a decision.
Please comment. We can change this.
Thanks,

This looks like properly laid out work distribution. Thanks for the hardwork that you do.

Hey everyone,
We could have a discussion here if you would like
https://join.slack.com/t/newworkspace-fce7187/shared_invite/zt-gn2f1csz-vQ2yboEkIEckW9Bc0FtonA

Hey @BaseMax I would like to join the team !!
I have Starred, Watched and Forked all 4 repos.
Well I have been learning Golang in my spare time but still need more practice.   I like to write and correct technical documentation and enjoy well linted code.  I have some experience in web development and developer operations and training.   I really like learning and at least trying.  I think Read the Docs is great too -> https://readthedocs.org/
I think IRC, Slack and Gitter are great but my favorite chat hangout these days is Discord.
Some of my good friends love doing logos, GIF and graphic designs so I could probably help direct some amazing artwork for the new Linux distro 🌮

Hi John @jbampton,
Welcome my friend, I send an invitation to you.
Documentation is great, but we cannot follow this right now.
Are you interested in Go programming at this point?
Thank you for your message. We can invite your friends too because we do not have a logo or figure yet.

Hey @BaseMax  yes I am interested in working with Golang.  I can at least try.  I feel I need more practice.
I invited you to https://github.com/fruitandveg where I have a small project in Golang that is private which is DB backed running on Heroku.  Very new and not much done but I loved learning all about it.
Also we have a public training project so far mainly for learning Go Kata on Codewars 👍
I will let my friends know about this project too.  Most are sleeping now.   Last I checked there were a few that mentioned they either liked Golang or wanted to work with it more etc.
I would like Jorge to do some graphics -> @summerhill5 loves GIFs, animated favicons, logos, banners, icons etc.   Plus I have another 3 designer friends which could help out if too if needed :)

Hi, I´d be glad to help with some graphics here, I have some time working with John and I appreciate the effort you are doing.

Hey @summerhill5 ,
We appreciate that you are interested in helping.
For the starter could you work on a logo for Donya os

Hello, sure no problem.

Will prepare some ideas and come back to you

Hello @summerhill5,
Thank you, Please continue Design topic at Design repository.
https://github.com/DonyaOS/Design/issues/1

Hi, I'm Subramani. I'm a web developer with experience in JavaScript, CSS, HTML, ReactJS, VueJS and GatsbyJS. I would like to contribute on the Web Development / UI part of this project.

This projects seem interesting - I would like to contribute to any part of this project that involves golang.

Hi guys my name is Iniubong and I'm a front end web developer.
I'm currently learning react and I'm willing to contribute to developing the website of Donya OS

Hi there, thanks for the invite!
My name is Saleh. I am interested in React JS and ElectronJS; I would like to contribute in the front-end web development and desktop applications.

Hi guys, I'm Ali,
I'm a back-end developer and mid-level interface designer, but I think my work in ui is good, I use Laravel and CodeIgniter for back-end development and use figma and Adobe xd for ui design,
if I could help you in ui design the Donya OS I would be very happy. ❤

Hello Guys,
I'm Arian, UI/UX designer based in Tehran. Here to help you guys with Donya OS project. Happy to see you so motivated.
Thanks

Hello,
It seems that I was invited to this group by @BaseMax .
Why and how did you find my profile ?

Hello my friend @bauen1
You have a good understanding of the SELinux, Systemd and so more.
I searched and chose you. We will be happy if you help us in this, We need your experience.

Hi everyone :wave:
I am Parham Alvani, and I have been invited by @BaseMax. I am very happy to contribute to Donay Package Manager. I am interested in Open Source Projects and Golang :see_no_evil:

Hi I am Jayant
I want to join this Organization.

Hi I am Akshita Gupta , I want to contribute in this organisation.
Thanks in advance.
Would be happy to join this organisation @BaseMax

@BaseMax

Hey, I'm a web developer working on other projects with @jbampton
I'd like to join here to help out too

Hey @TJSteel I just sent you an invite 👍

Hi, I'm Pulkit Midha. I'm a web developer with experience in JavaScript, CSS, HTML, ReactJS, VueJS and GatsbyJS. Currently,  I would like to contribute to the Web Development / UI part of this project.

Hi, I'm Shivay Lamba. I'm a machine learning developer and web developer with experience in JavaScript, ReactJS, VueJS and GatsbyJS. Currently, I would like to contribute to the Web Development of this project.

Trying to learn new things
A meticulous and passionate engineer having over 300+ Hours of Industrial experience, having a knack for solving complex real-world problems in a structured approach and the ability to bounce back in any circumstance and come up with optimal solutions that can add value to the final product.
Highly experienced in the field of Full Stack Web Development using NodeJs, ReactJS, AWS, and in Machine Learning using Keras, Tensorflow.
Deeply interested in cloud technologies like Docker, Kubernetes.
Had been to 15 offline and 17 online hackathons and having 14 wins.

Hello, my name is Rituraj. I am from India.
I would like to join this organization.
I love to contribute to open source and will love to contribute to this organization.
Please add me to your organization.

Hello, I am Suraj , a MERN stack web developer and Open source contributor. I would love to contribute to the projects of the organization.

Hey, I am Prasath read about the projects it's damn good.. I have good experience in Web development originally I do research in AI  But want to contribute to this cool project felt happy if I had a chance to do so. And I am also good at C programming Language and have great exposure in working in many distros...

Hey, I am Prasath read about the projects it's damn good.. I have good experience in Web development originally I do research in AI  But want to contribute to this cool project felt happy if I had a chance to do so. And I am also good at C programming Language and have great exposure in working in many distros...

hello guys im @moggsas i want to learned more about this issues, im here to try something new,

Hello.
I’m Abd, a Student, Developer, Learner and Graphic Designer.
I’m interested in Web & App Development.
I’m currently learning Flutter, React Native & Python.

@abd-ar @MOGGSAS the invites are sent 🌅

Hi @BaseMax  and @jbampton
I am @MaxianEdison and i live in iran.
I have one year of experience working in bash script and have just started studying the linux kernel .
I'm interested in learning and working with your team

Welcome @MaxianEdison the invite is now sent 👍

Welcome 😁
On Mon, Jun 13, 2022, 8:25 AM John Bampton @.***> wrote:

Welcome @MaxianEdison https://github.com/MaxianEdison the invite is now
sent 👍
—
Reply to this email directly, view it on GitHub
https://github.com/DonyaOS/Donya/issues/4#issuecomment-1153435618, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AAUI56CR5YLSW54B2NIK6Z3VO2WMZANCNFSM4P65HA3A
.
You are receiving this because you were mentioned.Message ID:
@.***>

Hey guys,
I'm deeply in Linux and C. I saw this project from a friend, and want to talk you about some crazy ideas, as well as want to contribute. Thanks!

Hey @FT-Labs I sent you an invite 💯

Hi @sautmanurung1 welcome 👍
I just sent you an invite. Thanks

hello @jbampton  i have an experience of an 2 year in the scripting espectially with the ts ? is this project still up ?

Hi sir,
We are welcoming contributions.
Let me know if I can help you.
Best
Max

you can call me by my name , no sir is required can you help me with your requirement  . I was unsure on it thanks
and what you are trying to achieve? don't mind me asking and what programming language you chose and why?

Hey,
I'm Dadmehr, and I love working with Linux and networking. I can write Bash and C scripts, and I'm excited to try improving the DonyaOS kernel. Looking forward to contributing and learning more!
Best regards,
Dadmehr


adapt to actuation cmd/status as control msg

Description

precious

 - autowre_vehicle_msgs/ActuationCommandStamped
 - /vehicle/status/steering
- /vehicle/status/twist

change

- autowre_control_msgs/ActuationCommandStamped
- /vehicle/status/steering_status
- /vehicle/status/velocity_status
- /control/command/emergency_cmd

Review Procedure
depends
need to merge this first
https://github.com/tier4/autoware_iv_msgs/pull/66
add below to pacmod_interface.launch
ros2 launch pacmod_interface pacmod_interface.launch.xml vehicle_model:=lexus
  <!-- Global parameters -->
  <include file="$(find-pkg-share autoware_global_parameter_loader)/launch/global_params.launch.py">
    <arg name="vehicle_model" value="$(var vehicle_model)"/>
  </include>

ros2 launch raw_vehicle_cmd_converter raw_vehicle_converter.launch.xml [INFO] [launch]
ros2 topic list
/control/command/actuation_cmd
/control/command/control_cmd
/control/command/emergency_cmd
/control/command/gear_cmd
/control/command/hazard_lights_cmd
/control/command/turn_indicators_cmd
/control/raw_vehicle_cmd_converter/debug/steer_pid
/diagnostics
/localization/kinematic_state
/pacmod/as_rx/accel_cmd
/pacmod/as_rx/brake_cmd
/pacmod/as_rx/raw_steer_cmd
/pacmod/as_rx/shift_cmd
/pacmod/as_rx/steer_cmd
/pacmod/as_rx/turn_cmd
/pacmod/can_rx
/pacmod/can_tx
/pacmod/parsed_tx/accel_rpt
/pacmod/parsed_tx/brake_rpt
/pacmod/parsed_tx/global_rpt
/pacmod/parsed_tx/shift_rpt
/pacmod/parsed_tx/steer_rpt
/pacmod/parsed_tx/turn_rpt
/pacmod/parsed_tx/wheel_speed_rpt
/pacmod_dynamic_parameter_changer/debug/parameter
/parameter_events
/rosout
/vehicle/engage
/vehicle/status/actuation_status
/vehicle/status/control_mode
/vehicle/status/gear_status
/vehicle/status/hazard_lights_status
/vehicle/status/steering_status
/vehicle/status/turn_indicators_status
/vehicle/status/velocity_status

Remarks
Pre-Review Checklist for the PR Author
PR Author should check the checkboxes below when creating the PR.

[ ] Read pull request guidelines
[ ] Code follows coding guidelines
[ ] Assign PR to reviewer

Checklist for the PR Reviewer
Reviewers should check the checkboxes below before approval.

[ ] Commits are properly organized and messages are according to the guideline
[ ] Code follows coding guidelines
[ ] (Optional) Unit tests have been written for new behavior
[ ] PR title describes the changes

Post-Review Checklist for the PR Author
PR Author should check the checkboxes below before merging.

[ ] All open points are addressed and tracked via issues or tickets
[ ] Write release notes

CI Checks

Build and test for PR / build-and-test-pr: Required to pass before the merge.
Build and test for PR / clang-tidy-pr: NOT required to pass before the merge. It is up to the reviewer(s). Found false positives? See the guidelines.
Check spelling: NOT required to pass before the merge. It is up to the reviewer(s). See here if you want to add some words to the spell check dictionary.

@takayuki5168
can you take a look at ?

@taikitanaka3 Don't you modify pacmod_interface as well?

@takayuki5168
OK I will add to this commit

@takayuki5168
Done at cabba85 can you  take a look at this?
https://github.com/tier4/AutowareArchitectureProposal.iv/pull/646#issue-1053336772

b122d2a is a optional commit for other sttus fix


Add source/target size to ShipmentDetail

Add ShipmentDetail.source/targetSize fields
Add targetSizeId to input of updateShipmentWhenReceiving

 2.0 add source_size_id and target_size_id to shipment details


Missing privilege separation directory: /run/sshd

/etc/ssh/sshd_config
UsePrivilegeSeparation no
bash.exe -c 'sudo /usr/sbin/sshd -D'
[sudo] password for xxx:
/etc/ssh/sshd_config line 37: Deprecated option UsePrivilegeSeparation
Could not load host key: /etc/ssh/ssh_host_rsa_key
Could not load host key: /etc/ssh/ssh_host_ecdsa_key
Could not load host key: /etc/ssh/ssh_host_ed25519_key
Missing privilege separation directory: /run/sshd

Could not load host key: /etc/ssh/ssh_host_rsa_key

#3303 (message) and friends.

Missing privilege separation directory: /run/sshd

Same as ansible-container#141. Goes spirituality to #2530 and #994 (depending on your disposition).
You can comment out the UsePrevilegeSeaparation line. It is depreciated as mentioned in the error.
# ssh-keygen -A
# mkdir -p /run/sshd


units for Electrical engineering are not correctly displayed

I'm having issues with proper conversion of electrical engineering units for example 1A1V does not equal 1W but I get kgm^2/s^3.
This seems to apply for any equation involving Volts,Amps,Ohms, and Watts.
Also, if this is not possible, is there a way to create custom units ?
Any help would be appreciated

Hi!
By default, arithmetic operations decompose the units to basic physical dimensions. This is how it works, even in MathCAD. To convert the result to the desired units just add a vertical bar and the units, e.g.:
A*V | W
BTW, in physics, 1W = 1J/s = 1Nm/s = 1kg*m^2/s^3. This is what you actually get.
Calcpad is actually able to compose the desired units by default, but we need to explicitly add this feature. This will save you writing the output units each time for trivial cases. We already did this for mechanical units. I can do the same for electrical uints, but I need help by an electical engineer. If you send me the formulas and what units do you need to get by default for each formula, I will be able to set these defaults. I am a structural engineer and I am not quite sure, I can do this alone properly.
Sometimes, this can get ambiguous. For example, N*m can be torgue (Nm) or energy (J). It mostly depends on which engineering field (mechanical, electrical, thermodynamical, etc.) is the problem. But we can add this as an option and after you select the desired field, you will always get the proper units for your job.

Thank you for the quick reply.  You are correct in regards to the units that is calculated my apologies for that.  I'm an electrical engineer and I am use to using Watts on a day to day basis.  I can provide you with the most commonly used formulas and units that would be helpful for someone like me.
This software of yours looks very very promising and very powerful, I've just started looking for an alternative to Smath studio as I have been using this for 4-5 years but now I feel like i need more features that do not require me to have a subscription so thank you again for this project.
What would be the best way to provide you with the formulas and units?

@HEA-sGuzman thank you so much! You can simply post them here (if they are not confidential ;) or you can send me an email to<EMAIL_ADDRESS> :)

This software of yours looks very very promising and very powerful, I've just started looking for an alternative to Smath studio as I have been using this for 4-5 years but now I feel like i need more features that do not require me to have a subscription so thank you again for this project.

@HEA-sGuzman i using Smath Studio for 10 years now, and i can say the calcpad is far superior to me because of some points:

It's incridible fast and easy to create good calculation with beautiful report's. We don't need to spend much time positioning text's and formulas.
We can made script's to see only the input's in the first moment, and after calculation we get a complete report.
It's DOCX, no more wasting hours to merge several PDF's (With not so good result's)

@Proektsoftbg
Here is a list of some of the most common equations i use.  Its not as extensive as I would like but i've had limited time.  I hope this helps, Im really excited to use this software and great work so far it already looks very professional.

Hi, thank you for the information. I think, I managed to implement almost all of the above conversions as default output units. Please, check the screenshot bellow:

I hope it is correct. Calcpad only cannot resolve ambiguous units (that are dimensionally equivalent), like:
Siemens (S) - Mho (℧) or W - VAR - VA. In such cases, only one of the equivalent units can be the default one. For the others, you will have to add vertical bar "|" conversion at the end. But I think this is not such a big trouble. :)

Offtopic for @Proektsoftbg:
There are some trick: to use utf-8 characters  (U+115F) or  (U+1160) or  (U+3164) isteand of   to make code more readable, i.e.:
4A*2Ω''4W/2A''sqrt(4Ω*2W)

Default electrical units are now available in the latest release:
https://github.com/Proektsoftbg/Calcpad/releases/tag/v5.8.6
You can download and try them.

@cser thank you so much! I even didn't expect that Calcpad would accept that. There is always something new to learn. @hildebrandopsj you can add this to tips and tricks too.

Ok! I will start the wiki this week! ;) I need to finish a monstrous report

@Proektsoftbg This is awesome, the units look good.  As for the AC units thats ok, using the "|" define parameter will work just fine. Thank you again.


The toolbar is still ugly

(╯°□°)╯︵ ┻━┻
We should work out a slightly less innovative design

Let Zen do it

In its entirety, coding included


endpoint policy management

add new s3 bucket update endpoint policy for access.

for the use case we'd actually want the action on the s3 resource.


Add RFC for Luau function and table types

Rendered: https://github.com/asajeffrey/luau/blob/function-and-table-types/rfcs/function-and-table-types.md

If an "extends" keyword for generics (a la TypeScript) is ever added to luau, I would have a good use case for this:
local function createHook<T extends function>(
    createClosure: (queueUpdate: () -> ()) -> {
        call: T,
        cleanup: (() -> ())?,
    }
): T
    -- . . .
end

Right now, I was trying to implement this with generic arguments, and ran into issues (see: https://github.com/Roblox/luau/issues/435)
As it turns out, this implementation did not work anyways because someone's "call" function may itself have generic type parameters, which isn't accounted for here:
-- Usage example (re-implementing useMemo via this system):
local useMemo = createHook(function()
    local lastResult: any = nil
    local lastDeps = {}
    return {
        call = function<T>(create: () -> T, deps: {any}): T
            local depsMatch = #deps == #lastDeps
            if depsMatch then
                for i = 1, #deps do
                    if deps[i] ~= lastDeps[i] then
                        depsMatch = false
                        break
                    end
                end
            end

            if depsMatch then
                return lastResult
            else
                lastDeps = deps
                lastResult = create()
                return lastResult
            end
        end
    }
end)

-- Pract (React-like) functional component
local MyComponent = function(props: {thing: {expensiveCalculation: () -> number}})
    local x = useMemo(
        function()
            return props.thing.expensiveCalculation()
        end,
        {props.thing}
    )
end

Essentially I wanted type safety on two fronts—warning the user of my API if they don't specify a function to the "call" key in createHook, while simultaneously having "call" have the correct parameter and return types.
I opted for letting users pass any type T to the call parameter of createHook, and type the hook itself as T:
local function createHook<T>(
    createClosure: (queueUpdate: () -> ()) -> {
        call: T,
        cleanup: (() ->())?
    }
): T

This PR is closed as part of RFC migration; please see https://github.com/luau-lang/luau/issues/1074#issuecomment-1785578157 for context.


[Dialog] Focus lost when opening a dialog from a menu using the keyboard

Duplicates

[X] I have searched the existing issues

Latest version

[X] I have tested the latest version

Current behavior 😯
Using a keyboard, opening up a dialog from the menu and then closing it , the focus returns to the top of the page and doesn't remain on the menu
Expected behavior 🤔
Using a keyboard, opening up a dialog from the menu and then close it, the focus remains on the menu
Steps to reproduce 🕹
Steps:

User  goes to https://codesandbox.io/s/gifted-phoebe-lsk3m6?file=/src/Test.js in Chrome, Firefox or Edge
Using a keyboard only, open up the dialog from the menu and then close it
Observe now where the focus is

Context 🔦
This fails accessibility as the user's focus returns to  the top of the page
Your environment 🌎
System:
@emotion/styled: ^11.6.0 => 11.6.0
@mui/base:  5.0.0-alpha.59
@mui/icons-material: ^5.2.1 => 5.2.1
@mui/lab: ^5.0.0-alpha.59 => 5.0.0-alpha.59
@mui/material: ^5.2.3 => 5.2.3
@mui/private-theming:  5.2.3
@mui/styled-engine:  5.2.0
@mui/system:  5.2.3
@mui/types:  7.1.0
@mui/utils:  5.2.3
@types/react:  16.9.51
react: ^17.0.2 => 17.0.2
react-dom: ^17.0.2 => 17.0.2

Even though https://github.com/mui/material-ui/issues/34734 is about the Drawer component, the solutions I proposed in my comment touch briefly on the same focus management needs discussed here. It seems to me like there might be an issue with the underlying Modal component and/or with how it's used in these other components, maybe?


Allow customizing the Discord IPC pipe path

This PR allows the user to customize the location of the Discord IPC pipe, only on non-Windows systems.
This is especially useful for Flatpak users, since now Flatpak distribution of Discord drops the RPC pipe in $XDG_RUNTIME_DIR/app/com.discordapp.Discord/discord-ipc-N. See #47 for related issue. It intentionally bypasses elcord--discord-ipc-pipe variable since we assume the user knows what they're doing when they're setting this variable.
I could have simply added an option in the or clause, but we would be alienating custom client (like Vesktop or Armcord) users ;)
Windows seems to re-use the same stdpipe, so no issue there.
With this patch, you can instruct elcord where to look for the pipe:
(use-package elcord
  :custom
  (elcord-discord-ipc-path "/run/user/1000/app/com.discordapp.Discord/discord-ipc-0"))

Oh, and it works on my machine :tm: as well.

I think this is a useful thing, but it would be even better if we could just discover the pipe in the location flatpak places it. A lot of users probably don't know that flatpak mounts the pipe there.

Good idea, but I'm not sure how to detect whether the user is using the Flatpak version or the standalone version.
I'm pretty sure $XDG_RUNTIME_DIR/app/com.discordapp.Discord does not get created until Discord is launched, so file-exists-p is not a reliable solution there. (If the user is using Emacs daemon that runs as a user service or something, Elcord won't be able to detect it.) We could check $HOME/.var/app/com.discordapp.Discord exists, but it doesn't sound that portable.
Should I make another boolean custom variable like elcord-use-flatpak? If we were to do that, we can make a new section in README for flatpak users.

Maybe we could have it reevaluate the path at every reconnect?
Technically we're supposed to look at all of discord-ipc-{0..9} in-order, since a user could have opened two branches, then closed the first one, leaving discord-ipc-1 as the only open socket, so it would make sense to re-check on each reconnection.
Sorry to expand the scope on this, I just think it'd be MUCH better if flatpak users didn't need to discover this for themselves... (Some distros make it very difficult to tell what is and isn't a flatpak)

Yeah, that sounds like the most general and future-proof solution.
I'll spit out some preliminary implementations tomorrow, and update my forked repo if they work. I assume more testing should be required for a change that big, though.
I'll report back once a working version is complete.

@Mstrodl I just pushed a change. On my machine, it detects the socket file pretty well. Some caveats, though:

On Windows, I guess there is no way to detect if named pipe is opened in Emacs. I currently don't own a Windows machine to test the PowerShell script, so I just hard-coded to look for discord-ipc-0.
When no pipe is found (a.k.a. Discord is not running yet), current implementation will fallback to /tmp/discord-ipc-9 since it is the last one in the candidate list. What should we do if no Discord pipe is found?

@RangHo Sorry I forgot to reply to this! Your changes look good!

I currently don't own a Windows machine to test the PowerShell script, so I just hard-coded to look for discord-ipc-0.
Me neither, I think that's an acceptable compromise for now. If a windows user starts complaining, they can fix it themselves ;)

What should we do if no Discord pipe is found?
Current behavior is fine! We'll keep retrying, which will re-check the list of pipes each time, finding anything that appears. In other words, the value has no real effects if it's not found, so it doesn't matter.

Thanks for contributing!


custom credits

Im a mod creater, i was trying to add my name and logo to the creds and when i compiled it, it did't work.
any solutions?

Is it just your section that is missing? Or is everything/any other section missing?

Heres a screen shot of the code

missing a comma after kawaisprite's array


problem about the downloading .NET on MAC

Problem encountered on https://dotnet.microsoft.com/learn/dotnet/hello-world-tutorial/install
Operating System: macos
After installing the .NET and open a new terminal, "dotnet" is still a command not found.   Thank you for help!

See if you can find dotnet installed manually on your machine:
https://docs.microsoft.com/en-us/dotnet/core/install/how-to-detect-installed-versions?pivots=os-macos

See if you can find dotnet installed manually on your machine:
https://docs.microsoft.com/en-us/dotnet/core/install/how-to-detect-installed-versions?pivots=os-macos

Thank you !!

Hi!.
I had the same thing. and this issue helped me.
It would be great if we could find to dotnet installed manually on your machine
on tutoriaul > Got an error?.

That's a good idea @1021ky.


Attn : Dylan :: SDK Versioning : ?

This moves the responsibility of SDK client version declaration to the code actually using client. Doing this makes development easier for the logon widget.

Nice!


Node material editor is not rendering the connections properly

If you look closely, the connections are rendered correctly within the frame container, but somehow it is not resized correctly:

BabylonJS 6.14.0
Browser Firefox, Chromium

Additional context
It used to work previously, I don't know why it just stopped. Could be because I updated BabylonJS, or maybe it has to do with something else.
Quick hack:
By setting:
width: 6000px;
height: 6000px;

On the <svg> element, I'm able to see all connections of my material.

Hello! We usually ask first to validate the issue on our forum first: https://forum.babylonjs.com/c/bugs/8
I haven't been able to reproduce this with a newly created Node Material, are you using any specific material? Are you running from nme.babylon.com, or on a local project?

Not reproducable on nme.babylon.com. Running locally with vite. Happens with any material.

Can you share a repro of your project?

@carolhmj OK, I think I figured it out. So here's what's happening in my case.
I'm using Quasar. It turns out that it comes with some default CSS that works around some browser quirks. Specifically, there is an explicit overflow property set for svgs:
https://github.com/quasarframework/quasar/blob/b82b12846dd67e425d4c159e6b51100d703550ed/ui/src/css/normalize.sass#L57
/*
 * Hide the overflow in IE.
 */

svg:not(:root)
  overflow: hidden

It seems that the NME is expecting the opposite.  So, to fix the rendering, I can simply add this to my CSS:
svg:not(:root) {
  overflow: visible !important;
}

Now, while it's easy to say that it's an issue in Quasar and not in BabylonJS, I'm not 100% confident about that, because pretty much everything else is working correctly except for node connections. Maybe it makes sense to change the NME layout a bit, so that the SVG is actually taking the size of the viewport?

Actually, I take it back 😇 See this: https://github.com/necolas/normalize.css/issues/718
I think Quasar needs to update its normalize styles a bit. I'll create a ticket for that.


Roll Engine from e83795a0a7c7 to 6a522b9e8427 (1 revision)

https://github.com/flutter/engine/compare/e83795a0a7c7...6a522b9e8427
2021-09-30<EMAIL_ADDRESS>Roll Skia from c076abe32ab5 to 4ae3fd33cfaa (2 revisions) (flutter/engine#28959)
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC<EMAIL_ADDRESS>on the revert to ensure that a human
is aware of the problem.
To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose
To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md

Commit queue failed; closing this roll.


N19: Add Harvest Hero

Part of #496

Here's the GIF shrinker we usually use, if you need it: https://ezgif.com/optimize

Are you able to make the requested changes @Bombfuse?

Apologies, have been very busy this week. Will work on this and try to get it fixed by 10pm PST

No problem, know the feeling :)

Amended the commit with an optimized gif and lint updates. Unable to lint locally right now, so I'm using the github PR checks 😅

Thanks for the PR!


Docker image build recovery

Fix: Now libtirpc is separate library.
Because musl has changed macros place _PATH_MOUNTED from mntent.h to paths.h
storage_backend_fs.c and storage_backend_vstorage.c will need chaged

Ok, thank you!
The truth is we use build_static.sh for local builds and don't reuse Dockerfile in our CI. So, there's a little mess here in these scripts which has to be fixed one day.


Pan gesture intercepts vertical pans for containing scroll view

When using in UITableView this messes up with scrolling pans.

Resolved. Please set shouldRecognizeOtherGestures to YES.
Hopefully this works for you. It works in the example using only UIScrollView.
If there's anything else then let me know.


Support iframes

🚀 Feature request
Motivation
Hello there, I am evaluating Reakit to figure out if we can use it at work and one constraint we have is that we render our React application inside of an iframe and that when app code uses globals like document, these should be the iframe's.
Example
This is one of the many examples:
https://github.com/reakit/reakit/blob/5f51e395835ae1d1c26fc97699d02197db6ba3eb/packages/reakit-utils/src/hasFocusWithin.ts#L1-L4
Here you are referencing the global document. The fix here is easy enough:
export function hasFocusWithin(element: Element) {
  const activeElement = element.ownerDocument.activeElement
  if (!activeElement) return false;
  return element.contains(activeElement);
}

Possible implementations
Basically every time you reference document or window etc you'd need it to get it from an element (ref?) within the frame. Probably another option is to provide those globals via context.
Thanks in advance for your time, and thank you for the library it looks promising!

I'm not sure how it would be implemented using context? Do you have any CodeSandbox example of that?

Using context is probably the last option I would look at but I'd provide document via a top level provider. I would try to avoid this as much as possible though and try to patch the library like in the example above using ownerDocument.
Do you have a rough idea about how much it would take to implement this? I could spend half a day at work sometime.

The only problem I see is that there are several parts of the code using document and window without any reference to an element.
I still don't know if I understood it correctly. Are you saying that the value of window and document when being accessed from within an iframe are actually referencing the parent window? I'm not experienced with iframes, but I'd expect that it worked the same way from within the iframe, and if you wanted to access the parent window you would have to use window.parent or something similar.

The only problem I see is that there are several parts of the code using document and window without any reference to an element.

That is an issue indeed! Maybe functions and components could have arguments or props which default to globals?

I still don't know if I understood it correctly. Are you saying that the value of window and document when being accessed from within an iframe are actually referencing the parent window?

Correct, imagine that the library code runs in the the host page (parent window) and creates an iframe and renders the React application inside of the iframe.
When you access document, window or any other global those would be the parent's (host) window.
This is a problem when you want to find out what is the activeElement, when you want to position a popover or use portals to append to document.body. To give you a practical example, at work we build a PDF Viewer that can be embedded in a page https://web-examples.pspdfkit.com and we render inside of iframe to isolate styles and other stuff.

The code lives in the parent window. Got it!
I think the first step is to map all the usages of window and document throughout the codebase and determine their situation, for example:

works
doesn't work
may use an element from the scope
may receive an element from parameters
may receive an element from the context
can't receive element (e.g. document.body being used on the top level)

Some progress has been made on this. There are still these lines to update:
https://github.com/reakit/reakit/blob/49db6c007ea82fddf959448328b5f5d572defa40/packages/reakit/src/Dialog/__utils/useFocusTrap.ts#L59
https://github.com/reakit/reakit/blob/49db6c007ea82fddf959448328b5f5d572defa40/packages/reakit/src/Disclosure/__utils/useWarningIfMultiple.ts#L12
https://github.com/reakit/reakit/blob/49db6c007ea82fddf959448328b5f5d572defa40/packages/reakit/src/Form/FormPushButton.ts#L61
https://github.com/reakit/reakit/blob/49db6c007ea82fddf959448328b5f5d572defa40/packages/reakit/src/Form/FormRemoveButton.ts#L56
https://github.com/reakit/reakit/blob/49db6c007ea82fddf959448328b5f5d572defa40/packages/reakit/src/Form/FormRemoveButton.ts#L70
https://github.com/reakit/reakit/blob/49db6c007ea82fddf959448328b5f5d572defa40/packages/reakit/src/Form/FormRemoveButton.ts#L78
https://github.com/reakit/reakit/blob/49db6c007ea82fddf959448328b5f5d572defa40/packages/reakit/src/Form/__utils/getFirstInvalidInput.ts#L3
https://github.com/reakit/reakit/blob/49db6c007ea82fddf959448328b5f5d572defa40/packages/reakit/src/Portal/Portal.tsx#L13
https://github.com/reakit/reakit/blob/49db6c007ea82fddf959448328b5f5d572defa40/packages/reakit/src/Portal/Portal.tsx#L27

Thank you a lot @diegohaz!

Only Portal left now! I'm not sure what to do with that as document is assigned at the module's top-level scope.
Maybe just let people use PortalContext.Provider and pass their own container element.

yeah that'd work. Here's how I do that at work https://github.com/giuseppeg/react-layers-manager/blob/master/src/LayersManager.js (wrapping the app also allows to stack things properly)


Update intercom-cohort.md

Added RTS call out in the considerations section
Amplitude Developer Docs PR
Description
Describe your changes.
Deadline
When do these changes need to be live on the site?
Change type

[ ] Doc bug fix. Fixes #[insert issue number]. Amplitude contributors include Jira issue number.
[ ] Doc update.
[ ] New documentation.
[ ] Non-documentation related fix or update.

PR checklist:

[ ] My documentation follows the style guidelines of this project.
[ ] I previewed my documentation on a local server using mkdocs serve.
[ ] Running mkdocs serve didn't generate any failures.
[ ] I have performed a self-review of my own documentation.

@amplitude-dev-docs

@Brandoncharleskhoo1 is this still in the works, or can be closed?


Latest dev docker - what happened to my node info?

Just updated now, control panel is now missing some node info (most battery ones, some mains powered ones).

Also, when I click debug, I get:
This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). The promise rejected with the reason:
TypeError: this.driver.configManager.getMeterName is not a function
at MeterCC.translatePropertyKey (/usr/src/app/node_modules/zwave-js/src/lib/commandclass/MeterCC.ts:472:40)
at ZWaveNode.translateValueID (/usr/src/app/node_modules/zwave-js/src/lib/node/Node.ts:268:35)
at ZWaveNode.translateValueEvent (/usr/src/app/node_modules/zwave-js/src/lib/node/Node.ts:285:23)
at ValueDB.emit (events.js:314:20)
at ValueDB.EventEmitter.emit (domain.js:483:12)
at ValueDB.setValue (/usr/src/app/node_modules/@zwave-js/core/src/values/ValueDB.ts:224:10)
at MeterCCReport.persistValues (/usr/src/app/node_modules/zwave-js/src/lib/commandclass/MeterCC.ts:620:11)
at new MeterCCReport (/usr/src/app/node_modules/zwave-js/src/lib/commandclass/MeterCC.ts:551:8)
at new CommandClass (/usr/src/app/node_modules/zwave-js/src/lib/commandclass/CommandClass.ts:108:13)
at new MeterCC (/usr/src/app/node_modules/zwave-js/src/lib/commandclass/MeterCC.ts:285:1)
at Function.from (/usr/src/app/node_modules/zwave-js/src/lib/commandclass/CommandClass.ts:331:15)
at new ApplicationCommandRequest (/usr/src/app/node_modules/zwave-js/src/lib/controller/ApplicationCommandRequest.ts:83:32)
at Function.from (/usr/src/app/node_modules/zwave-js/src/lib/message/Message.ts:222:15)
at Driver.serialport_onData (/usr/src/app/node_modules/zwave-js/src/lib/driver/Driver.ts:1362:18)
at SerialAPIParser.emit (events.js:314:20)
at SerialAPIParser.EventEmitter.emit (domain.js:483:12)

Also, when I click debug, I get:
This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). The promise rejected with the reason:
TypeError: this.driver.configManager.getMeterName is not a function
at MeterCC.translatePropertyKey (/usr/src/app/node_modules/zwave-js/src/lib/commandclass/MeterCC.ts:472:40)
at ZWaveNode.translateValueID (/usr/src/app/node_modules/zwave-js/src/lib/node/Node.ts:268:35)
at ZWaveNode.translateValueEvent (/usr/src/app/node_modules/zwave-js/src/lib/node/Node.ts:285:23)
at ValueDB.emit (events.js:314:20)
at ValueDB.EventEmitter.emit (domain.js:483:12)
at ValueDB.setValue (/usr/src/app/node_modules/@zwave-js/core/src/values/ValueDB.ts:224:10)
at MeterCCReport.persistValues (/usr/src/app/node_modules/zwave-js/src/lib/commandclass/MeterCC.ts:620:11)
at new MeterCCReport (/usr/src/app/node_modules/zwave-js/src/lib/commandclass/MeterCC.ts:551:8)
at new CommandClass (/usr/src/app/node_modules/zwave-js/src/lib/commandclass/CommandClass.ts:108:13)
at new MeterCC (/usr/src/app/node_modules/zwave-js/src/lib/commandclass/MeterCC.ts:285:1)
at Function.from (/usr/src/app/node_modules/zwave-js/src/lib/commandclass/CommandClass.ts:331:15)
at new ApplicationCommandRequest (/usr/src/app/node_modules/zwave-js/src/lib/controller/ApplicationCommandRequest.ts:83:32)
at Function.from (/usr/src/app/node_modules/zwave-js/src/lib/message/Message.ts:222:15)
at Driver.serialport_onData (/usr/src/app/node_modules/zwave-js/src/lib/driver/Driver.ts:1362:18)
at SerialAPIParser.emit (events.js:314:20)
at SerialAPIParser.EventEmitter.emit (domain.js:483:12)

Reverted back to 'latest' and it's working again - appears to be an issue with the dev docker.

Reverted back to 'latest' and it's working again - appears to be an issue with the dev docker.

@Swiftnesses Let me check this.
cc @AlCalzone

@Swiftnesses Let me check this.
cc @AlCalzone

@Swiftnesses Could you try to pull last dev tag please?

@Swiftnesses Could you try to pull last dev tag please?

Just pulled dev and it still crashes - I'll try and capture the error.

Just pulled dev and it still crashes - I'll try and capture the error.

@robertsLando:
This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). The promise rejected with the reason:

TypeError: this.driver.configManager.getMeterName is not a function

    at MeterCC.translatePropertyKey (/usr/src/app/node_modules/zwave-js/src/lib/commandclass/MeterCC.ts:472:40)

    at ZWaveNode.translateValueID (/usr/src/app/node_modules/zwave-js/src/lib/node/Node.ts:268:35)

    at ZWaveNode.translateValueEvent (/usr/src/app/node_modules/zwave-js/src/lib/node/Node.ts:285:23)

    at ValueDB.emit (events.js:314:20)

    at ValueDB.EventEmitter.emit (domain.js:483:12)

    at ValueDB.setValue (/usr/src/app/node_modules/@zwave-js/core/src/values/ValueDB.ts:224:10)

    at MeterCCReport.persistValues (/usr/src/app/node_modules/zwave-js/src/lib/commandclass/MeterCC.ts:620:11)

    at new MeterCCReport (/usr/src/app/node_modules/zwave-js/src/lib/commandclass/MeterCC.ts:551:8)

    at new CommandClass (/usr/src/app/node_modules/zwave-js/src/lib/commandclass/CommandClass.ts:108:13)

    at new MeterCC (/usr/src/app/node_modules/zwave-js/src/lib/commandclass/MeterCC.ts:285:1)

    at Function.from (/usr/src/app/node_modules/zwave-js/src/lib/commandclass/CommandClass.ts:331:15)

    at new ApplicationCommandRequest (/usr/src/app/node_modules/zwave-js/src/lib/controller/ApplicationCommandRequest.ts:83:32)

    at Function.from (/usr/src/app/node_modules/zwave-js/src/lib/message/Message.ts:222:15)

    at Driver.serialport_onData (/usr/src/app/node_modules/zwave-js/src/lib/driver/Driver.ts:1362:18)

    at SerialAPIParser.emit (events.js:314:20)

    at SerialAPIParser.EventEmitter.emit (domain.js:483:12)

@robertsLando:
This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). The promise rejected with the reason:

TypeError: this.driver.configManager.getMeterName is not a function

    at MeterCC.translatePropertyKey (/usr/src/app/node_modules/zwave-js/src/lib/commandclass/MeterCC.ts:472:40)

    at ZWaveNode.translateValueID (/usr/src/app/node_modules/zwave-js/src/lib/node/Node.ts:268:35)

    at ZWaveNode.translateValueEvent (/usr/src/app/node_modules/zwave-js/src/lib/node/Node.ts:285:23)

    at ValueDB.emit (events.js:314:20)

    at ValueDB.EventEmitter.emit (domain.js:483:12)

    at ValueDB.setValue (/usr/src/app/node_modules/@zwave-js/core/src/values/ValueDB.ts:224:10)

    at MeterCCReport.persistValues (/usr/src/app/node_modules/zwave-js/src/lib/commandclass/MeterCC.ts:620:11)

    at new MeterCCReport (/usr/src/app/node_modules/zwave-js/src/lib/commandclass/MeterCC.ts:551:8)

    at new CommandClass (/usr/src/app/node_modules/zwave-js/src/lib/commandclass/CommandClass.ts:108:13)

    at new MeterCC (/usr/src/app/node_modules/zwave-js/src/lib/commandclass/MeterCC.ts:285:1)

    at Function.from (/usr/src/app/node_modules/zwave-js/src/lib/commandclass/CommandClass.ts:331:15)

    at new ApplicationCommandRequest (/usr/src/app/node_modules/zwave-js/src/lib/controller/ApplicationCommandRequest.ts:83:32)

    at Function.from (/usr/src/app/node_modules/zwave-js/src/lib/message/Message.ts:222:15)

    at Driver.serialport_onData (/usr/src/app/node_modules/zwave-js/src/lib/driver/Driver.ts:1362:18)

    at SerialAPIParser.emit (events.js:314:20)

    at SerialAPIParser.EventEmitter.emit (domain.js:483:12)

Looks to be the same error as before ^^^ ?

Looks to be the same error as before ^^^ ?

This means there is some wrong version of @zwave-js/config in the image. Don't know why though.

This means there is some wrong version of @zwave-js/config in the image. Don't know why though.

<EMAIL_ADDRESS>uses:
https://unpkg.com/browse/<EMAIL_ADDRESS>

<EMAIL_ADDRESS>uses:
https://unpkg.com/browse/<EMAIL_ADDRESS>

I'm quite sure this is a user issue, @Swiftnesses pplease try with a clean installation to see if this happens. I have just rteleased a new version now

I'm quite sure this is a user issue, @Swiftnesses pplease try with a clean installation to see if this happens. I have just rteleased a new version now

@robertsLando I use Docker and always wipe out my install (only the config files are retained).
It still happens using the latest version (lastest, still works, for now).

@robertsLando I use Docker and always wipe out my install (only the config files are retained).
It still happens using the latest version (lastest, still works, for now).

@Swiftnesses I cannot reproduce this, I suggest you to remove the dev image completely from your pc and pull it again

@Swiftnesses I cannot reproduce this, I suggest you to remove the dev image completely from your pc and pull it again

I always do this... I'll look when there's more time - I don't think it's a use case though.

I always do this... I'll look when there's more time - I don't think it's a use case though.


Update APIClient docs for automated instance creation task

@Jdville03 Fixed as per your suggestions!

This is good merge. We'll do it when the automated create private instance feature is closer to being merged openlawteam/openlaw#1386


Auto select status report

When no beneficiaries have two records wtithin the time range, automatically show the status report. This avoids users being greeted with an error message when we do have a report capable of displaying the data.
Performance may be a consideration here, we may need to consider how we cache the report results locally for reuse.

 Status report

 Status report

 Onboarding 3.0