[Fjord] Apply blob to devnet

I applied the blob based on the Fjord network upgrade to the devnet. (This PR is for review purposes, and we need to discuss whether it should be merged into the main branch.)
Guide: https://www.notion.so/tokamak/How-to-run-devnet-for-blob-260b11da54e948de92fee1315b93122f?pvs=4

Suggestion: Since Thanos uses the specification with EIP-4844 applied, it would be beneficial to add instructions for setting up a devnet that utilizes blobs in the official Thanos guide (https://docs.tokamak.network/home/service-guide/tokamak-l2/thanos-testnet/network-for-development-environment). The code can either be merged into the main branch as the default or maintained in a separate branch with a guide on how to check out that branch.

@tokamak-network/layer2-core Any comments for my suggestion? If not, I will keep this branch and update Thanos developer guide. Please check out and leave a opinion by today. Thanks!


MSBuild Out of Memory Error when run from Jenkins

Hello. I've been running into this problem for the last couple days on a project I'm working on and can now reliably reproduce it.
We have a jenkins machine setup to build a Visual Studio solution. The solution is generated from CMake and has about 2 dozen projects in it. The build takes about 20 minutes.
I wanted to speed it up so I added the /m[axcpucount] option. The machine has 6 CPUs. Running MSBuild on the machine directly or through SSH with the /m flag works fine and the build is faster. For some reason, running the command from Jenkins causes the machine to continuously spawn MSBuild.exe or MSBuild.dll* processes which eventually causes Windows to run out of memory.
I really don't understand why this is the case from Jenkins but it doesn't happen when running MSBuild on the machine directly in DOS, MSBuild console or MSYS2 (which is how I'm connecting over SSH).
Has anyone seen similar behavior or have an idea what might be the culprit?
This is with a setting of /m:3

The command jenkins was running is
cmd.exe /C " chcp 1252 && "C:\Program Files (x86)\MSBuild\14.0\Bin\MSBuild.exe" /m:3 C:\Path\to\Solution.sln

The output is:
Active code page: 1252
Microsoft (R) Build Engine version 14.0.25420.1
Copyright (C) Microsoft Corporation. All rights reserved.
Build started 6/20/2018 8:11:22 PM.
1>Project "C:\Path\to\Solution.sln" on node 1 (default targets).
1>ValidateSolutionConfiguration:
Building solution configuration "Debug|x64".
ValidateProjects:
The project "PROJECT_1" is not selected for building in solution configuration "Debug|x64".
The project "PROJECT_2" is not selected for building in solution configuration "Debug|x64".
The project "PROJECT_3" is not selected for building in solution configuration "Debug|x64".
The project "PROJECT_4" is not selected for building in solution configuration "Debug|x64".

After the first 4 projects it hangs. When running MSBuild on the machine directly though it continues and builds the rest of the solution.
Any help here would be greatly appreciated. Thank you!

That sounds like the entry-point MSBuild.exe is correctly creating nodes, but then can't connect to them for some reason.
There may be some debugging information available by setting the environment variable MSBUILDDEBUGCOMM=1, which enables tracing to the %TEMP% directory (in recent MSBuild the directory is configurable but you're on 14 based on the log).

Closing due to lack of information.


API that takes only a function

Currently the lap function is somehow more like the jvp function, which takes not only the function, but also a list of primals, jacobians and laplacians.
One may expect the laplace transformation to take only a function and return a transformed function that shares the same input space of the original function. For example, like the jax.jacfwd.
Is there occasions that we want to manually specify primals, jacobians and laplacians? Or is it due to technical difficulty?

Thanks for the issue! This is an intentional choice, as I want to expose lower level interface to the user, following what jvp and jet did. There are several benefits, for example:

Current interface allows one to compute the function itself, its gradient and its laplacian at the same time.
There's also a partial eval version follows the same interface
There are indeed cases where one may pass non-identity jacs_in, such as calculating kinetic energies for particles with different mass

And I think it would be fairly easy for user to implement their own functional transform interface. For functions with one variable and no aux output, something like the following would do:
def laplacian(fun):
    def lapfun(x):
        eye = jnp.eye(x.size).reshape(-1, *x.shape)
        zero = fwdlap.Zero.from_value(flat_x) # or use jnp.zeros_like(x), should be the same
        return fwdlap.lap(fun, (x,), (eye,), (zero,))[-1]
    return lapfun

Please note that I did not test the above code so there might be an error. But the idea is like that.
For more than one variables, one may first ravel all the inputs, or refer to the implementation of jacfwd as well.

Good to know that, thanks.
BTW, I have a feeling that we could generalize to allow the user to nest grad and linear operations in any order, and compile them into the most efficient implementation. The tracing mechanism may not be enough to perform these optimizations, we may need to capture a higher order graph and perform graph rewriting on top.
e.g.

rewrite trace(nabla(nabla(f))) to lap(f)
jet rules can be implemented by recursively applying the rewriting rule $D(f\circ g)(x)=D(f)(g(x))\circ D(g)(x)$.

Let me know if you happen to have any thoughts!

That would be very cool! However it also sounds very challenging and I don't have a clue on how to achieve that. It would definitely beyond the scope of this project (so I'll close this issue for now) but I'm happy to discuss possibilities and maybe collaborate if you have some more detailed ideas!


Syntax issue with tabs

Declaration of arrays works with tabs like this:
obj-list =
>---*_
>--->---name: \tessa
>--->---age:  23
>---*_
>--->---name: \kendall
>--->---age:  19

Where >--- means tabs and _ means space.
But without space after * we have error:
obj-list =
>---*
>--->---name: \tessa
>--->---age:  23
>---*
>--->---name: \kendall
>--->---age:  19

stray star on line 2
It's a syntax bug?

Found good solution for current release:
obj-list =
>---do
>--->---name: \tessa
>--->---age:  23
>---do
>--->---name: \kendall
>--->---age:  19

or
obj-list =
>---do
>--->---name: \tessa
>--->---age:  23
>---...

Right. * is very simple (basically [] =) and I don't think it'd be easy to fix this, but maybe I'm just not thinking of the right way.


Incorrect Titan blob files size metrics

Bug Report

What version of TiKV are you using?
v4.0.x
What operating system and CPU are you using?

Steps to reproduce
Run TiKV with Titan enabled and insert some data. The "Titan - kv -> blob file size" metrics in Grafana is way smaller than the actual titandb directory size.

What did you expect?
What did happened?

@yiwu-arbug Would you mind to provide the concrete step to reproduce this issue? We follow the step you provided but didn't reproduce the issue. Was there other operations you have did for this cluster?

Same as https://github.com/tikv/tikv/issues/15971
Fixed.


STAR-1697: Port keyspace renaming (KeyspaceMetadata::rename) from DB-…

…3896
Required by CNDB-3170 and CNDB-4909.

Make DistributedSchema.keyspaces protected since it's accessed by CNDB.

Merging this since Jacek is OOO for the rest of the week and the failures are unrelated.


Feat: Add support for ip

Add support for getting the world time data based on your IP.
http://worldtimeapi.org/api/ip

This can be quite useful if you want to validate if the user changed the clock on his device.

I missed that you are using another api currently


Pad the rows when converting dataframes to dictionaries for Triton requests

Bug description
I am trying to serve a TF4Rec model to TIS with Torch backend. When I send a request to TIS, I get the following error if my df is not padded.
response = run_ensemble_on_tritonserver('./models', input_schema, df[input_schema.column_names], output_schema.column_names, "ensemble_model")

ValueError                                Traceback (most recent call last)
Cell In [36], line 4
      1 # ===========================================
      2 # Send request to Triton and check response
      3 # ===========================================
----> 4 response = run_ensemble_on_tritonserver(
      5    './models', input_schema, train_df[input_schema.column_names], output_schema.column_names, "ensemble_model"
      6 )

File /usr/local/lib/python3.8/dist-packages/merlin/systems/triton/utils.py:139, in run_ensemble_on_tritonserver(tmpdir, schema, df, output_columns, model_name)
    137 response = None
    138 with run_triton_server(tmpdir) as client:
--> 139     response = send_triton_request(
    140        schema, df, output_columns, client=client, triton_model=model_name
    141    )
    143 return response

File /usr/local/lib/python3.8/dist-packages/merlin/systems/triton/utils.py:188, in send_triton_request(schema, df, outputs_list, client, endpoint, request_id, triton_model)
    185 if not client.is_server_live():
    186     raise ValueError("Client could not establish commuincation with Triton Inference Server.")
--> 188 inputs = triton.convert_df_to_triton_input(schema, df, grpcclient.InferInput)
    190 outputs = [grpcclient.InferRequestedOutput(col) for col in outputs_list]
    191 with client:

File /usr/local/lib/python3.8/dist-packages/merlin/systems/triton/__init__.py:58, in convert_df_to_triton_input(schema, batch, input_class, dtype)
     38 def convert_df_to_triton_input(schema, batch, input_class=grpcclient.InferInput, dtype="int32"):
     39     """
     40    Convert a dataframe to a set of Triton inputs
     41
   (...)
     56        A list of Triton inputs of the requested input class
     57    """
---> 58     df_dict = _convert_df_to_dict(schema, batch, dtype)
     59     inputs = [
     60         _convert_column_to_triton_input(col_name, col_values, input_class)
     61         for col_name, col_values in df_dict.items()
     62     ]
     63     return inputs

File /usr/local/lib/python3.8/dist-packages/merlin/systems/triton/__init__.py:84, in _convert_df_to_dict(schema, batch, dtype)
     82     else:
     83         values = col.list.leaves.values_host
---> 84         values = values.reshape(*shape).astype(col_schema.dtype)
     85         df_dict[col_name] = values
     87 else:

ValueError: cannot reshape array of size 63 into shape (5,newaxis)

Steps/Code to reproduce bug
Repro code will be provided in a gist.
Expected behavior
convert_df_to_triton_input function should handle the non-padded, variable length sequences, so may be the simplest way is to create a padding script in this function so we dont get this reshape error.
Environment details

Merlin version:
Platform:
Python version:
PyTorch version (GPU?):
Tensorflow version (GPU?):

Merlin-pytorch:22.10 with latest main branches pulled.

related to https://github.com/NVIDIA-Merlin/Merlin/issues/255

This behavior is expected so it's not really a bug per se—we definitely do need a way to handle this though. To me, it seems like padding might be a reasonable thing to do when converting from a dataframe to a dictionary (which we don't really have a standard way to do yet.) Would that make sense?

It seems like this will either be addressed by adding ragged support to T4R or by creating a padding operator, which I expect will happen in 23.04 or 23.05

@rnyak Please review if another ticket is required for functionality

This can be closed since we can remove padding in ETL pipeline now, as seen in this example.


Adding disable-gpu flag

Before disabling this flag on MacOs: Runtime was: 90+ seconds
After this change MacOs: Runtime down to 17.80s:
The disable gpu flag was added to application_system_test_case.rb application system test case

Fixes slow system specs on MacOs

Closes: https://github.com/Shopify/maintenance_tasks/issues/990

Thanks a lot!


Does ui-scroll incorporate recycling of elements / save old data?

I'm curious. It states:
uiScroll directive solves this problem by dynamically destroying elements as they become invisible and recreating them if they become visible again.
So it does not recycle the html elements? (illustrated in the gif below for clarification)
http://rad-js.com/wp-content/uploads/2014/02/list3.gif
My other question is when an element is removed, is the data from the element stored (so the application does not have to re-fetch the data), an example would be http://davidchin.me/blog/endless-scrolling-in-angularjs/ which does a shallow copy, truncates it, and uses ng-repeat directive to render the truncated collection.
Also may you put up at least one example without using coffee (I do not use coffee).
Also how does one install this module, there are no clear instructions.

to answer your questions:

No, the elements are not recycled. The template instantiated for element can be anything, depending on the data the element to be removed may or may not be similar to what is about to be added.

The scroller does not keep the data used to generate elements - just the HTML. When an item is instantiated, the data are pulled using get method of the datasource, Whether or not the datasource pulls the data from the server or from its internal cache is up to you. As a matter of fact one of the examples implements the cache in browser


Add Save button to submode editor

If one only wants to edit the regex of a submode, the only way to save the changes is to klick "continue", which is not obvious and unnecessarily opens the format editor.
There could be two buttons instead:
"Save" will save changes and close window.
"Save and Continue" or "Continue to Format" will save changes and open the format editor.
Ideally in this case the format editor should automatically open the corresponding format rather than having to choose it manually.

Re: the last paragraph: Maybe the programm is supposed to work the way I want, but right now its not doing it.
After choosing an existing submode and klicking on "Weiter" the format editor opens with the corresponding name in "Formatname" but "Format" shows "auswählen" and all the settings are at their default values. I have to manually select the format from the dropdown.

Looks good!


basestring is not supported in python 3

While trying to use it with python 3 getting following issue
 File "D:\frejun\frejun_backend\vEnv\lib\site-packages\onesignalsdk\one_signal_sdk.py", line 50, in __init__     assert isinstance(version, basestring), 'version is not valid' NameError: name 'basestring' is not defined
A faster fix for this could be
try:     unicode = unicode except NameError:     # 'unicode' is undefined, must be Python 3     str = str     unicode = str     bytes = bytes     basestring = (str,bytes) else:     # 'unicode' exists, must be Python 2     str = str     unicode = unicode     bytes = str     basestring = basestring
That is what I am using in my project.

Should I fork and raise a pull request?

Hi @sujittiwari ,
I am main contributor to this SDK but now I don't have access to this repo. Also, this repo is not being maintained by anyone. I've forked this and added support for Python3. You can install by adding this line in requirements.txt.

git+https://github.com:mzohaibqc/one-signal-python-sdk.git@master

I will see
thanks


Handle system tray as a module

Is your feature request related to a problem? Please describe.
Trays not getting rounded, not as easily fitting in with themes, not being able to be placed on the left of right-aligned modules, etc.
Why does polybar need this feature?
Instead of having to go through and fix all these individual issues, I would imagine making a module out of it instead would make it integrate a lot easier, and being able to set underlines or place it in any position would help a lot with theming.
Describe the solution you'd like
Create a system tray module, instead of handling system tray separate from the modules.

Duplicate of #314


Migrate the python workflows yaml module to use ruamel.yaml

Is your feature request related to a problem? Please describe
Coming from the PR, which requires the modification  version increment workflow to auto add the branch entry, as part of developing this automation, the package ruamel.yaml, seems to be a better fit when compared to PyYaml. My proposal is to have a single library for yaml parsing and use ruamel.yaml as it makes it simple to work on complex yaml parsing.

Using ruamel.yaml it's easy to override the methods like explicit_start, preserve_quotes and right indent which honors yamllint and gh workflow .yml rules.

ruamel.yaml also does not change the on key to boolean (default the library considers on as boolean) which is not easy with PyYAML, need some extra logic to create constructer and override methods.
https://stackoverflow.com/questions/36463531/pyyaml-automatically-converting-certain-keys-to-boolean-values

---, this is also preserved with ruamel.yaml easily compared to PyYAML, without this the GH and yamllint flags it as error.

Describe the solution you'd like
Use ruamel.yaml
Some more useful details: https://snyk.io/advisor/python/ruamel-yaml
ruamel.yaml difference with PyYAML: https://yaml.readthedocs.io/en/latest/pyyaml.html#
Describe alternatives you've considered
No response
Additional context
cookiecutter migration to ruamel.yaml https://github.com/cookiecutter/cookiecutter/issues/557

Files that need to be changed (Please add more if I have missed)
manifests/manifest.py:14:import yaml
manifests/manifest.py:15:import yamlfix
test_workflow/integ_test/service_opensearch.py:11:import yaml
test_workflow/integ_test/service_opensearch_dashboards.py:12:import yaml
test_workflow/test_recorder/test_recorder.py:12:import yaml
test_workflow/perf_test/perf_test_runner_opensearch.py:10:import yaml
3c06303dce2c:src pgodithi$ vi manifests/manifest.py

The Synk profile for ruamel.yaml is showing stats from the GitHub repository of PyOxidizer. The Ruamel project is hosted on Sourceforge and does not have an up-to-date mirror on GitHub, at least for the first few results that come up. The latest release is not yet 1.0 and therefore should not be considered API stable.
While the claimed improvements from YAML 1.2 support are significant, there are a number of red flags:

Weak evidence of projects migrating from PyYAML to ruamel.yaml from GitHub issues (even cookiecutter moved away to a custom YAML parser).
Sub 1.0 version number, and the PyPI classifier is "4 - Beta". The documentation continues to show a 2019 date despite the latest release being in 2022.
Libraries.io profiles show [PyYAML] has 14.2k dependent packages and 57.2k dependent repositories while ruamel.yaml has only 1.4k and 2.05k dependents.
YAML 1.2 support requires the pure Python implementation, which is optional by default. That means code that does not mandate the pure Python implementation will parse YAML differently depending on how it is deployed.

I'm not affiliated with either parser or with opensearch. I came here trying to decide for myself which parser to use.

Hey @jace thanks for the inputs, also I found this useful https://stackoverflow.com/questions/20805418/pyyaml-dump-format/36760452#36760452, in terms of maintenance I see ruamel.yaml is being updated actively compared to PyYaml

I don't have a strong opinion about whether these red flags should prevent anyone from using ruamel.yaml. Sounds like it was added in https://github.com/opensearch-project/opensearch-build/pull/2602 to avoid having to explicitly lint updated .yaml files. Why wasn't it an issue with other YML files created? @prudhvigodithi do you have an example of differences when PyYaml is used vs. ruamel.yaml for the file you are modifying in https://github.com/opensearch-project/opensearch-build/pull/2602?


implementations: add bwrap-oci and crun

LGTM

@wking I've changed bubblewrap to be a reference-style link

LGTM

LGTM


Cheese issues

the bot will accept all gifs if cheese then more is posted

Your bug report is very important and will be treated with the utmost respect


Duplicate permalinks when sharing data object

Hi, I've been tinkering around with elderjs and have gotten stuck on an issue where I'm creating duplicate permalinks.  I don't think elderjs is behaving as I expect it to, but perhaps I'm not using elderjs in the way it was meant to be used either!
Repo demonstration (based off template):  https://github.com/paulhovey/elderjs-route-bug/commit/099f92525f974d6cf2833ed2e6b869b9ba48cbdd
Essentially, I have an array in my data object that I populate once in hooks.js (going to be using a database, in the example it's just a hardcoded array).
let simpleRoutes = [{name: 'testdata1', slug: 'simple' },             {name: 'testdata2', slug: 'simple2' }];
The goal is to generate /simple/simple , /simple/simple2, /simpletwo/simple, and /simpletwo/simple2 , if that makes sense.  I'm realizing now I could've named those differently for the example :sweat_smile:
It appears that the first route (in the example, 'simple') gets added correctly, but the 'route' key is added to the object in 'data', and then isn't being updated for the second route.  A hack debug message inside of simpletwo/route.js: all() yields:
data in simpletwo:  {   markdown: { blog: [ [Object], [Object], [Object] ] },   simpleRoutes: [     { name: 'testdata1', slug: 'simple', route: 'simple' },     { name: 'testdata2', slug: 'simple2', route: 'simple' }   ] }
I don't think route: 'simple' should be there!  I've tried looking through the most likely culprit ( https://github.com/Elderjs/elderjs/blob/34e54d26e0eb2b4c0fe517b9343b46ccc69b16eb/src/Elder.ts#L275 ) but nothing looks immediately faulty to me.  If this is abusing how elderjs is supposed to operate and there's a better way to generate the same slugs for two routes, then I'd appreciate the insight there!  Thanks!

@paulhovey Sorry for the delay on this.
This has to do with JS' pass by reference on objects.
We could in theory use allRequestsForRoute = JSON.parse(JSON.stringify(route.all)); but I fear that would break lots of sites unexpectedly.

OK, I've got a fix. Will push with next release.

Thanks so much, @nickreese !


TreeCache tests

Added a quick testcase for TreeCache, and some other minor updates.

Great! Thank you @xose !


Do filesystem checks on resin-rootA, resin-rootB and resin-state from the initramfs

Build finished.

Build finished.

@resin-jenkins retest this please

Build finished.

@resin-jenkins retest this please

Build finished.

@resin-jenkins retest this please

Build finished.

@resin-jenkins retest this please

Build finished.

@resin-jenkins retest this please

Build finished.


enable encryption on logging bucket

@aroder did you test this? LGTM

@aroder did you test this? LGTM

Yes tested. Been a while though. Thanks for the review. And for this library, very helpful.
I do not have write access to the repo. so I cannot merge


Tech writer refactor of GCP deployment docs

fixes https://github.com/kubeflow/website/issues/675
This PR reworks most of the GCP deployment docs, applying tech writing style and standards.
Notes:

I have NOT fixed up the IAP / basic auth issues described in https://github.com/kubeflow/website/issues/673
I have also NOT fixed the missing information about the option to create permanent storage https://github.com/kubeflow/website/issues/674
I've removed the Next Steps doc that's currently at https://www.kubeflow.org/docs/gke/deploy/next-steps/, as it duplicates the info already given at the end of the deployment guides. I haven't added a redirect, as this doc is new and I'm guessing there are very few external references to it. I've checked for internal references from with the Kubeflow website - there are none.

This change is

I've also taken care to include a mention of GCP at the top of each doc, for people who may wander in off the internet and not notice the breadcrumb, therefore not realizing that these docs are GCP specific.

Previews:

https://deploy-preview-676--competent-brattain-de2d6d.netlify.com/docs/started/getting-started-gke/
https://deploy-preview-676--competent-brattain-de2d6d.netlify.com/docs/gke/deploy/
https://deploy-preview-676--competent-brattain-de2d6d.netlify.com/docs/gke/deploy/project-setup/
https://deploy-preview-676--competent-brattain-de2d6d.netlify.com/docs/gke/deploy/oauth-setup/
https://deploy-preview-676--competent-brattain-de2d6d.netlify.com/docs/gke/deploy/deploy-ui/
https://deploy-preview-676--competent-brattain-de2d6d.netlify.com/docs/gke/deploy/deploy-cli/
https://deploy-preview-676--competent-brattain-de2d6d.netlify.com/docs/gke/deploy/delete-cli/
https://deploy-preview-676--competent-brattain-de2d6d.netlify.com/docs/gke/deploy/delete-ui/
https://deploy-preview-676--competent-brattain-de2d6d.netlify.com/docs/gke/deploy/reasons/

This PR is now ready for review. I'm applying a hold to allow for multiple reviewers.
/hold

/hold cancel
/assign @abhi-g

Thanks Sarah.
/lgtm
/approve


Fix randomization seed

Summary
While debugging some apparently order dependent failures on my cucumber scenarios, I noticed that it's currently impossible to reproduce order dependent failures, because the seed cucumber says it has used is not the seed it has really used.
Details

My changes make sure that the seed that cucumber uses to randomize the scenarios is the same that cucumber informs in the UI, so the same scenario order can actually be reproduced in subsequent runs.
In order to test this, I needed to use some stuff from newer versions of aruba, so I upgraded the scenarios to use that first. Happy to extract that to a separate PR, of course.
Motivation and Context
This change makes it possible to reproduce order dependent failures when running scenarios in random order. Previously, it was not working.

How Has This Been Tested?
I added a test that runs cucumber in random order and with summary format, then runs cucumber again with the seed the previous command informed, and then checks that both commands give the same output (excluding runtime).

Screenshots (if appropriate):
Types of changes

[ ] Refactor (code change that does not change external functionality)
[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)

Checklist:

[x] I've added tests for my code
[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.

I splitted this PR into #1330, #1331 and #1332. Once those PRs are merged and reviewed, I'll rebase this one :+1:.

I rebased this PR that should be fully focused now and I added a changelog entry for it.

It's the information about the running time, something like "0m1.234s", which obviously might differ for both runs.

Ok, going in! Thanks for your review @luke-hill!


The listed model(s) have been modified in the brain-bican/models repo…

…: models_py-autogen/library_generation.py. New version of model(s) in pydantic format are being pushed from brain-bican/models to brain-bican/bkbit.

This was a PR generated while testing new push_to_bkbit workflow in brain-bican/models repo. This PR does not need to be merged.


HID disconnects unless large delay() used

For some reason, Windows is not seeing a HIDGeneric device unless I put a large (50-100ms) delay() in my loop. Occasionally it will enumerate and immediately disconnect, or simply not be visible at all. This is with an ESP32-S2 feather,
Obviously one of the advantages of HID is the data rate, so this does seem counterproductive.

Okay, I think this is a conflict between my write and my callbacks--is the sample code writing to the devices own input EP? What's the best way to set up separate input/output EPs?

Actually, it seems that I can't send or receive any data sent through HID Generic. The debug serial monitor shows that it thinks the data is sending, but no software I've tried can read the data, and I get an error when writing HID data to it as well.

I am having the same issue.  And sometimes sending data causes the ESP32-S2 to reboot


Community nurse log update- critical are index

Is your feature request related to a problem? Please describe.
Currently, Community nurses file the log update (round type- "Community nurse log update") whenever they visit a patient at home.
the form has various fields which are most commonly used.
However, some of the other sections in the critical care index may also be relevant for the patient like I/O balance, etc.
Describe the solution you'd like
When user submits the log update (round type- "Community nurse log update"), take user to the critical care index.
Hide ABG, dialysis and nursing Care sections from the index since these are not needed.
(Eg: look at the log update (round type- "Doctor's Progess Note") to see the suggested flow)

Hey @rithviknishad , I'd like to contribute to this issue. Could you please assign it to me?

@aparnacoronasafe @Jacobjeevan hold this issue, we are planning to rebuild the entire section.

Closing the issue as it would be resolved with the new form builder


Add 1.3.1 with Mixtral

Issue #, if available:
Description of changes:
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Merged https://github.com/awslabs/llm-hosting-container/pull/43.


As a developer, I would like to have a VS template to create a new Skill dialog so I can get started sooner

Describe the solution you'd like
Similar to having templates for Skills, it would be nice if we had a template for a Skill Dialog that:

Inherits from SkillTemplateDialog
Creates the project constructor
Creates the response files and adds the t4 template
Creates simple multiprompt dialog (similar to the one created by the Skills template)

Describe alternatives you've considered
We manually create new dialogs today.

The SkillDialog item template is included in the latest skill template vsix. The docs for how to use the template can be found here: https://github.com/Microsoft/AI/blob/master/solutions/Virtual-Assistant/docs/virtualassistant-skillenablement.md


Correctly print swift Int property as NSUInteger when it overrides an NSUInteger objc property.

Noticed odd behavior around objc generated headers, a swift property of type Int was being printed as NSInteger even though it overrides an ObjC property of type NSUInteger . Tracked it down to a change in clang where it looks like clang is now providing ElaboratedType instead of an unwrapped TypedefType as the QualType of ObjCPropertyDecl.
isNSUInteger tries to cast ElaboratedType to TypedefType, this fails as they are different classes and returns false. Updated isNSUInteger to check if clangTy is an ElaboratedType and desugar it first, before checking if clangTy is a TypedefType.
With this change we can re-enable the two disabled tests in PrintAsObjC as they are now passing again:

PrintAsObjC/availability-real-sdk
PrintAsObjC/override

@swift-ci please test


api: Include realm_web_public_access_enabled in server settings.

Adds realm_web_public_access_enabled as a realm-specific server setting potentially returned by the /get-server-settings endpoint so that clients that support browsing of web-public stream content without an account can generate a login page that supports that type of access. See this CZO chat for more details about the issue.
Testing plan: Updated relevant test in test_auth_backends.py and OpenAPI documentation for schema testing. Also, tested manually in the dev environment.
GIFs or screenshots:

Merged, after a small tweak to the language in zulip.yaml to explain how clients might want to use this flag.  Thanks @laurynmm!


Market orders by price instead of volume

Question:
Is it possible to submit a market order by amount you want to spend, rather than volume you want to buy?
e.g. Submit order to purchase $1 of BTC versus purchasing n of BTC and estimate required funds

@Hopperman I hope your question is answered. You may open the issue again if you have more to ask.


az vm create --tags: docs confusing

az vm create --help says:
    --tags                        : Multiple semicolon separated tags in 'key[=value]' format. Omit
                                    value to clear tags.

What does it mean clearing tags? I don't have any tags yet as I don't have the VM? It sounds very confusing.

Dupe of #536. The tag's help should be finer tuned


Support ingestion from Custom CloudWatch Logs

Discussed in https://github.com/aws-solutions/centralized-logging-with-opensearch/discussions/178

Originally posted by teemuniiranen August  3, 2023
I don't see CloudWatch Logs in the Service Log options but I undestand that it's used in some pipeline configurations. Can you create pure Log Group subscriptions with Centralized Logging or do I need to handle these manually from member accounts with "Create Amazon OpenSearch Service subscription filter" functionality?

There is a feature allowing customer to query CWL from OpenSearch, the issue is no longer valid.


[5pt] Standardize output location of depth grids, hec-ras output folders and rating curves

A recent change created a mis-match of output locations from some files.
Depth grid files, folder 05 hec-ras output folders and rating curves now live in separate locations.
Pre recent change:  (example)
\05_hecras_output\HUC_120401010302\1466236\Depth_Grid\1466236-1.tif (and more tifs)
\05_hecras_output\HUC_120401010302\1466236\HEC-RAS\ (various files and folders)
\05_hecras_output\HUC_120401010302\1466236\Rating_Curve\1466236_rating_curve.csv
Post recent change:  (example)
*06_metric\Depth_Grid*\HUC_120401010302\1466236\1466236-1.tif (and more tifs)
\05_hecras_output\HUC_120401010302\1466236\HEC-RAS\ (various files and folders)
\05_hecras_output\HUC_120401010302\1466236\Rating_Curve\1466236_rating_curve.csv
Consider standardizing the outputs, or possibly putting them back to their original locations.

The new plan (similar to the original plan for standardization), as discussed in Scrum, is to be:
06_metric\Depth_Grid\HUC_120401010302\1466236\1466236-1.tif (and more tifs)
06_metric\RatingCurve\HUC_120401010302\1466236\Rating_Curve\1466236_rating_curve.csv
\05_hecras_output\HUC_120401010302\1466236\HEC-RAS\ (various files and folders)
\05_hecras_output\HUC_120401010302\1466236\Rating_Curve\1466236_rating_curve.cs


not able to send csrf tocken back to server in ios

Hi Team,
I need small help, actually i was developed one web project using angular framework Backend will be java. There I was use CSRF token to authenticate the client (User) .
Now I am doing Mobile application using same services (Java is backend), Now I am trying sending back CSRF token to server, Android automatically taken care by browser but iOS it is not working, any one any have idea to solve the problem:
I am using below code every service call added this method:
  private httpOptions = {
    headers: new HttpHeaders({
      'Content-Type': 'application/json',
      'charset': 'UTF-8',
      'Access-Control-Allow-Origin': '*'
    }),
    withCredentials: true
  };

Below code is taken care by chrome browser and android   withCredentials: true

You probably have to add it to your headers manually, but this is a support issue. Please try asking on stack overflow, or the ionic support forums.


Update to the newest swift version?

I have downloaded and installed this library but it cannot compile.
I fixed the errors so that it can compile successfully but the ios simulator cannot run.
Do the authors have any plan to update this library to the newest version of swift?
There are many similar issues on board. It seems that the authors' update is highly appreciated.

+1
Same here. Months ago I started a project with this dependence. I'm trying to run today with Swift 2.0 and errors everywhere. I hope will see a new version of SwiftyJSON soon.

Are you checking out the "xcode7" branch?

@iamtomcat Thanks!

No worries man. Just so you're aware most libraries that are built on swift generally have a branch where they update to the latest version of swift.

Good to know! Thanks again
On Tue, Aug 25, 2015 at 11:36 Tom Clark<EMAIL_ADDRESS>wrote:

No worries man. Just so you're aware most libraries that are built on
swift generally have a branch where they update to the latest version of
swift.
—
Reply to this email directly or view it on GitHub
https://github.com/SwiftyJSON/SwiftyJSON/issues/309#issuecomment-134651132
.

Hi I just wondering when the xocde 7 branch was going to get merged into develop. Since xcode 7 has been seeded

Any idea when these changes will make it to master / released to Cocoapods / production ready?

+1

Looks like the xcode7 branch has been merged in to master. Is there a plan to update the podspec?

+1

@cmoulton Looks like the podspec was updated... atleast the readme.
Requirements
iOS 7.0+ / Mac OS X 10.9+
Xcode 7

CocoaPods is updated
:beers:


Adds impl FromSkyhashBytes for RawString and a TODO

This is just a code sketch, as I'm a bit unclear on a couple things:

I'm not sure why this wasn't already included (and I assume you have a good reason).
I don't understand why you're encoding the key / value data the way you are. For example, in line 475 you seem to assume primitives are encoded as UTF8 strings, which seems very odd. Rather I'd expect everything in the DB to be (arbitrary, not UTF8) Vec<u8>s. I think you can convert all these primitives to bytes using functions like _.to_le_bytes().

Relatedly, I'm not sure why you need the RawString type instead of just implementing the appropriate traits for Vec<u8>.

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

I don't understand why you're encoding the key / value data the way you are. For example, in line 475 you seem to assume primitives are encoded as UTF8 strings,

The FromSkyhashBytes trait is more of an application layer parsing impl than anything related to how Skytable itself stores data. It is provided for convenience. Since currently the database allows storing a string/binary as a key/value and permutations of the same, you might have done something like this in your application code:
db.set("myint", "100").unwrap();

Now let's say your table stores: string key -> binary value. If you did a parse into the actual protocol level type, you'd run this:
let protocol_element: Element = db.get("myint").unwrap();

This would give you Element::Binary, but you actually wanted an integer. This is why the FromSkyhashBytes trait exists to make it convenient for you to simply run this:
let myint: u8 = db.get("myint").unwrap();

I hope this clears things up a bit :)


[PyTorch] Debug CUDA graph support with operation-based API

Description
This PR debugs CUDA graph support with the operation-based API (see https://github.com/NVIDIA/TransformerEngine/pull/707). The CUDA graph logic is similar to the module-based API.
Type of change

[ ] Documentation change (change only to the documentation, either a fix or a new content)
[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Infra/Build change
[ ] Code refractor

Changes

Debug CUDA graph support with operation-based API
Refactor CUDA graph tests

Checklist:

[x] I have read and followed the contributing guidelines
[x] The functionality is complete
[x] I have commented my code, particularly in hard-to-understand areas
[x] I have made corresponding changes to the documentation
[ ] My changes generate no new warnings
[x] I have added tests that prove my fix is effective or that my feature works
[x] New and existing unit tests pass locally with my changes

/te-ci pytorch

/te-ci pytorch

/te-ci pytorch

/te-ci pytorch

/te-ci pytorch

/te-ci pytorch

Merging with approval from @ptrendx and @ksivaman.


Add "Compilation and runnning C with Geany"

you can fill there about geany

[x] I have read freeCodeCamp's contribution guidelines.
[x] My pull request has a descriptive title (not a vague title like Update index.md)
[x] My pull request targets the master branch of freeCodeCamp.
[x] None of my changes are plagiarized from another source without proper attribution.
[x] My article does not contain shortened URLs or affiliate links.

If your pull request closes a GitHub issue, replace the XXXXX below with the issue number.
Closes #XXXXX

Closed and Reopened this PR to attempt to resolve a specific Travis build failure.


Edx Application Super User Creation Fix - explicitly specify account details during creation

What's this PR do? Any additional context?
When creating the user account that will be used as the application Super User, the username is derived from the email address if it is not explicitly specified. When the the edxapp user name doesn't match the  derived user name, setting the super user status fails quietly. This PR explicitly sets the account details instead of relying on defaults.
Where should the reviewer start?
All changes are in create_superuser.sh.
How can this be manually tested? (brief repro steps)
On your existing fullstack/stamp installation, run the following:

sudo bash /oxa/oxa-tools/playbooks/roles/edxapp/files/create_superuser.sh 123<EMAIL_ADDRESS>oxamaster12

This will result in an error while setting the created account as super user.
On the same instance, copy the new script (in this PR), and run the following:

sudo bash /oxa/oxa-tools/playbooks/roles/edxapp/files/create_superuser.sh 123<EMAIL_ADDRESS>oxamaster12

This will succeed.
What are the relevant TFS items? (list id numbers)
Definition of done:

[x] Title of the pull request is clear and informative
[ ] Add pull request hyperlink to relevant TFS items
[x] For large or complex change: schedule an in-person review session

Reminders BEFORE merging

Get at least two approvals
If you're merging into the development branch then "flatten" or "squash" commits
If merging from development into master then don't "flatten" or "squash" commits

Reminders AFTER merging

Delete the remote branch
Resolve relevant TFS items
(reverse merge) If you merged into master then check to see if there are any changes in master that can be merged down to the development branch (like hotfixes, etc)

Thanks. Now, this needs to move to oxa/master.fic


Filter private hosted zones to avoid conflicts while certifying

Description
Tested functionally it works. Even with two hosted zones (private and public) having the same name behind a same domain, now Zappa manages to select the public hosted zone, certify and expose the custom domain name.
Though I didn't manage to run the tests of the project :(
GitHub Issues
Resolve #459

Looks good, can you confirm that all zones will have the PrivateZone field? Else zone['Config']['PrivateZone'] will crash

Yep, I can confirm that. It's a mandatory field from boto3 response therefore always there: True for private zones and False for public ones.

Ah, okay.
I think the only thing left to do here is to add test Config fields to the test in tests/tests.py#860.
Why can't you get the tests to run? You should just be able to install pip install -r test_requirements.txt; ./test.sh - if that doesn't work, then that's a separate bug..

Yes that is what I was doing but it fails because my region profile is eu-west-1:
self.assertEqual(z.boto_session.region_name, 'eu-west-1') AssertionError: 'us-east-1' != 'eu-west-1'
Anything to do to avoid that and being able to run the tests locally ?
Thought I didn't notice that in Travis it was failing because of missing key Config. I'll look at it closer and try to add some tests.

Coverage increased (+0.01%) to 78.733% when pulling c272b363312e851cb93e9b2c940bdb3f9bc8aa35 on acharp:handle-private-hosted-zones into 427f4cdc2e534ecb720fb417bc72e90790f10a9b on Miserlou:master.

Looks better with testing :)
Nevertheless I didn't find why I'm not able to run the tests locally.
It still fails with self.assertEqual(z.boto_session.region_name, 'eu-west-1') AssertionError: 'us-east-1' != 'eu-west-1'
I will investigate that further when I have a room.

Gorgeous! Tusen takk!


Issue with k8s.io/docs/tutorials/stateless-application/guestbook-logs-metrics-with-elk/

This is a Bug Report

Problem:
Unable to deploy file beat
kubectl create -f filebeat-kubernetes.yaml

Error :
unable to recognize "filebeat-kubernetes.yaml": no matches for kind "DaemonSet" in version "extensions/v1beta1"

Proposed Solution: Had to follow link
Page to Update:
https://kubernetes.io/...

Kubernetes Version:
Client Version: v1.18.8
Server Version: v1.18.3

Sounds like it needs tidying up (or possibly removing).
/kind cleanup
/language en

The latest version of kubernetes supported by this project is v1.16, and the adaptation of v1.18 is far away. I agree with @sftim . I suggest that we remove some operation steps of the page and provide only functional support introduction and jump links to solve the problem of page update.
Reference: https://github.com/kubernetes/kube-state-metrics#compatibility-matrix

See https://github.com/kubernetes/website/issues/20232#issuecomment-728373191

Please assign to @DanRoscigno

I think this can be closed, the files are updated in the Elastic Examples repo:
https://github.com/elastic/examples/blob/master/beats-k8s-send-anywhere/filebeat-kubernetes.yaml
https://github.com/elastic/examples/blob/master/beats-k8s-send-anywhere/metricbeat-kubernetes.yaml
https://github.com/elastic/examples/blob/master/beats-k8s-send-anywhere/packetbeat-kubernetes.yaml

and have been tested.


Is there a way to change the default value of the onCreate callback function?

because of this issue : https://github.com/malihu/malihu-custom-scrollbar-plugin/issues/663
I would like to put this bugfix function as the defaults property of onCreate.
Due to the circumstances of the project, I can't call a function for fixing bugs with onCreate callbacks everywhere I am creating mCustomScrollbar.
onCreate callbacks everywhere I am creating mCustomScrollbar.
Is there a way to make this bugfix function default to the onCreate function, other than by modifying the library script itself?
I tried this method,
$.mCustomScrollbar.defaults.callbacks.onCreate = function () { mCustomScrollbarBugFix(this); };

but it didn't work because the onCreate function was replaced after the mCustomScrollbar was created and already tried to call the onCreate function. Also, this method was not possible because I had to go through all the mCustomScrollbars and pass the appropriate arguments.
Is there any other way?

I have sent pr to solve this problem fundamentally.


CHA-RL3j: release on initialized status - re-order for continuity

Re-orders the spec points around CHA-RL3j to provide better continuity when reading.
CHA-716

@AndyTWF Btw, might not be related to this PR, but I needed more clarification for
[CHA-RL3h] - Upon operation completion, the underlying Realtime Channels are released from the core SDK prevent leakage.
I couldn't find any references for the same in code/tests for chat-js SDK.
The only thing we do as a part of room-release is make sure channels go into either detached or failed state.

@AndyTWF Btw, might not be related to this PR, but I needed more clarification for [CHA-RL3h] - Upon operation completion, the underlying Realtime Channels are released from the core SDK prevent leakage. I couldn't find any references for the same in code/tests for chat-js SDK. The only thing we do as a part of room-release is make sure channels go into either detached or failed state.

It's a bit oddly placed, but it's here: https://github.com/ably/ably-chat-js/blob/0e1b52336a9e15c711d62848a0c3ba841dc6ae77/src/core/room.ts#L203-L218
Test here: https://github.com/ably/ably-chat-js/blob/0e1b52336a9e15c711d62848a0c3ba841dc6ae77/test/core/room.test.ts#L183-L214

Okay, this kinda comes under a new world we were talking about. Ideally, should have been part of room-lifecycle-manager-> mutex. But we placed it here since lifecycle-manager doesn't have access to realtime.channels : (

Okay, this kinda comes under a new world we were talking about. Ideally, should have been part of room-lifecycle-manager-> mutex. But we placed it here since lifecycle-manager doesn't have access to realtime.channels : (

From a specification point of view - it can absolutely go in the lifecycle manager (I'm not sure why we didn't in JS, if I'm honest).

Okay, found the channels.release method. Seems, you can call channels.release on channel object itself
channel.client.channels.release(channel.name)

So, https://github.com/ably/ably-chat-js/blob/0e1b52336a9e15c711d62848a0c3ba841dc6ae77/src/core/room-lifecycle-manager.ts#L891 can be updated accordingly.

Okay, found the channels.release method. Seems, you can call channels.release on channel object itself
channel.client.channels.release(channel.name)

So, https://github.com/ably/ably-chat-js/blob/0e1b52336a9e15c711d62848a0c3ba841dc6ae77/src/core/room-lifecycle-manager.ts#L891 can be updated accordingly.

There isn't a method that lets you call release on the actual channel object - you have to call it on realtime.channels, so still need the realtime client available, or at least its channel map.

That's what I meant, you can access realtime client from channel itself
BaseRealtime client = channel.client

So
channel.client.channels.release(channel.name)

is possible.

That's what I meant, you can access realtime client from channel itself
BaseRealtime client = channel.client

So
channel.client.channels.release(channel.name)

is possible.

I don't think that's exported by ably-js? At least, I can't see it in the RealtimeChannel def in ably.d.ts.

Yeah, seems not exported, but client object is surely accessible
(channel : any | { client: RealtimeClient }).client.channels.release(channel.name)

Btw, thanks for the info. Will implement accordingly in kotlin 👍


[Event Request] table 9650 "Custom Report Layout" - OnImportReportLayoutBeforeCheckType

Hello, would it be possible to add OnImportReportLayoutBeforeCheckType event to table 9650 "Custom Report Layout", like this:
procedure ImportReportLayout(DefaultFileName: Text)
...
          if IsEmpty() then
             Error(NoRecordsErr);

         IsHandled := false;
>         OnImportReportLayoutBeforeCheckType(IsHandled); //New Event

         if not IsHandled then
             if not CanBeModified then
                 exit;

local procedure OnImportReportLayoutBeforeCheckType(var IsHandled: Boolean)

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.


Support parameter --build-from-source for package.

Please support parameter --build-from-source like https://github.com/mapbox/node-sqlite3.
Purpose: We can integrating with customize sqlite3 library or ciphersql.

One small correction: sqlcipher vs ciphersql.

This is now supported in version 5.0.0. Read the instructions here.


TA High EC2 Util Resize Automation with Approval

Created TA High EC2 Util Resize Automation with Approval
Please Review

Add CloudFormation Instructions.
Adjust Readme.md


Updating README.md to do not use deprecate methods (#545)

I just updated the README to use the non deprecated newInstance

+1


[stable/mongodb-replicaset] Fix CAFile in README

What this PR does / why we need it:
The /ca directory doesn't exist when the bootstrap container is run
and this causes the on-start.sh script to fail. Whereas the
/data/configdb directory does existing throughout the process and is
the path that people have reported using in other issues.
Checklist

[x] DCO signed

Good point, I've folded it into #8261.


Vi mode support

This is a feature I've been eagerly searching for in a Node REPL.
I have found readline-vim, which provides Vim keybindings support for the readline module, but it doesn't look like this project uses that?
For reference, GNU Readline supports vi mode, as does Python's prompt_toolkit, and Zsh's Zsh Line Editor.
Thanks!

Any interest in pursuing this? It seems that several people have expressed interest in the past couple of years.

A couple of years later, and this remains an open issue. Any word on this?

Bump!

I join insurmountable @dionyziz in his calls to bring vi mode to readline.


Memory protection unit fault when running socket CAN program

Describe the bug
When running socket CAN code for my board, I get MPU FAULT. It did not happen a month ago, when I last modified by code. Since then, I only updated (by executing git pull) Zephyr directory.  I initialize a single thread from this function:
bool FazuaHandler::Initialize() {
  LOG(INFO) << "Initializing fazua handler";

  if (!can_driver::Open(&_socket_id)) {
    LOG(ERROR) << "Failed to open CAN interface";
    return false;
  }

  const std::vector<uint32_t> hmi_messages = {0x600, 0x601};
  if (!can_driver::SubscribeToMessages(_socket_id, hmi_messages)) {
    LOG(ERROR) << "Failed to subscribe to HMI messages";
    return false;
  }

  k_tid_t ret = k_thread_create(&_read_thread, _read_thread_stack,
                                K_THREAD_STACK_SIZEOF(_read_thread_stack),
                                Callback<FazuaHandler>::callback, NULL, NULL,
                                NULL, K_PRIO_PREEMPT(5), 0, K_NO_WAIT);
  if (ret == NULL) {
    LOG(ERROR) << "Failed to create CAN reading thread";
    _running = false;
	  return false;
  }
  LOG(INFO) << "Fazua handler successfully initialized";
  return true;
}

The problem seems to occur only when SubscribeToMessage function is called, since when this function is not there, no MPU FAULT happens (because this function enables reception of the CAN frames). Function is implemented as following (although I believe it's implementation is not relevant for the problem, since the problem lies deeper in the code).
bool SubscribeToMessages(const uint32_t socket_id,
                         const std::vector<uint32_t> &can_ids) {
  auto message_ids = can_ids;
  std::sort(message_ids.begin(),message_ids.end());
  const auto mask = CreateControllerAreaNetworkMask(message_ids);

  LOG(INFO) << "Setting filter ID: " << std::hex << std::showbase
            << message_ids[0] << ", mask: " << mask;

#pragma GCC diagnostic push      // save the current warning state
#pragma GCC diagnostic ignored "-Wnarrowing" // disable the warning
  const struct zcan_filter zfilter = {
      .id_type = CAN_STANDARD_IDENTIFIER,
      .rtr = CAN_DATAFRAME,
      .std_id = message_ids[0],
      .rtr_mask = 1,
      .std_id_mask = mask};
#pragma GCC diagnostic pop  // restore previous default behaviour

  struct can_filter filter;
  can_copy_zfilter_to_filter(&zfilter, &filter);

  const auto ret = setsockopt(socket_id, SOL_CAN_RAW, CAN_RAW_FILTER, &filter,
                       sizeof(filter));
  if (-1 == ret) {
    LOG(ERROR) << "Failed to subscribe to CAN messages, reason: "
              << strerror(errno);
    return false;
  }

  return true;
}

Impact
I have no CAN communication with my system and project is at the halt at the moment.
Logs and console output
 000151 [INFO] power_sequence.cpp:147:[WaitModuleOk] | All power pins initialized
000159 [INFO] fazua_handler.cpp:76:[Initialize] | Initializing fazua handler
[00:00:00.166,000] <dbg> net_ctx.net_context_bind: (main): Context 0x20001158 binding to 1 iface[1] 0x200005f0
[00:00:00.179,000] <dbg> net_conn.conn_register_debug: (main): [0x200015b8/1/4/0x05] remote -/0
[00:00:00.190,000] <dbg> net_conn.conn_register_debug: (main):   local ?/0 cb 0x8010071 ud (nil)
000202 [INFO] can.cpp:119:[SubscribeToMessages] | Setting filter ID: 0x600, mask: 0x7fe
[00:00:00.210,000] <dbg> net_sock_can.can_register_filters: (main): Registering 1 filters
[00:00:00.221,000] <dbg> net_sock_can.can_register_receiver: (main): Max 1 receivers
[00:00:00.231,000] <dbg> can_driver.can_stm32_set_filter: Setting filter ID: 0x600, mask: 0x7fe
[00:00:00.242,000] <dbg> can_driver.can_stm32_set_filter: Filter type: standard ID with mask (0)
[00:00:00.254,000] <dbg> can_driver.can_stm32_set_filter: Filter set! Filter number: 0 (index 0)
000266 [INFO] fazua_handler.cpp:98:[Initialize] | Fazua handler successfully initialized
000274 [INFO] fazua_handler.cpp:49:[read_thread] | Executing read thread
[00:00:00.335,000] <dbg> can_driver.can_stm32_rx_isr_handler: Message on filter index 0
[00:00:00.346,000] <dbg> can_driver.can_stm32_rx_isr_handler: Message on filter index 0
[00:00:00.356,000] <dbg> net_core.net_recv_data: (): prio 0 iface 0x200005f0 pkt 0x20006180 len 14
[00:00:00.368,000] <err> os: ***** MPU FAULT *****
[00:00:00.376,000] <err> os:   Instruction Access Violation
[00:00:00.384,000] <err> os: r0/a1:  0x20008790  r1/a2:  0x20008790  r2/a3:  0x20004628
[00:00:00.395,000] <err> os: r3/a4:  0x00000004 r12/ip:  0x4f464e49 r14/lr:  0x00000000
[00:00:00.406,000] <err> os:  xpsr:  0x61000000
[00:00:00.413,000] <err> os: Faulting instruction address (r15/pc): 0x4f464e48
[00:00:00.423,000] <err> os: >>> ZEPHYR FATAL ERROR 0: CPU exception on CPU 0
[00:00:00.433,000] <err> os: Current thread: 0x20000890 (rx_q[0])
[00:00:00.442,000] <err> os: Halting system

Environment (please complete the following information):

OS: Linux Ubuntu 16.04
Toolchain: Zephyr SDK version 0.11.4
Commit: on the latest Zephyr master commit at the time of writing (aa07f8a drivers: wifi: winc1500: remove unused send_cb and send_user_data)

Additional context
My code for the CAN communication has not been modified from my side for over a month, and it used to work then. That is why I believe it could have something to do with the Zephyr repository. I tried increasing stack size of my thread to 2048 (normally I used 1024), but it did not help. Has this problem been reported maybe by someone else already lately, or the problem lies somewhere else (indirectly, in my code)? How do I trace MPU fault?

Is the fault address 0x4f464e48 a valid one, at a quick glance it does not look like a valid address?
If it is not a valid address, then there is probably a stack problem somewhere.

I understand there is a stack problem, but I do not understand how I can fix it. I added a few more logs, where it can be seen that read_thread is the one experiencing problems. Also, now it returns BUS FAULT, instead of MPU FAULT.
000274 [INFO] main.cpp:30:[main] | main thread id = 0x20000ae8
000280 [INFO] fazua_handler.cpp:49:[read_thread] | Executing read thread
000287 [INFO] fazua_handler.cpp:53:[read_thread] | read_thread id = 0x20004880
[00:00:00.294,000] <err> os: ***** BUS FAULT *****
[00:00:00.302,000] <err> os:   Imprecise data bus error
[00:00:00.310,000] <err> os: r0/a1:  0x200001c0  r1/a2:  0x20002cec  r2/a3:  0x20002d4c
[00:00:00.321,000] <err> os: r3/a4:  0x08040098 r12/ip:  0x080414bc r14/lr:  0x0802392b
[00:00:00.332,000] <err> os:  xpsr:  0x210f0000
[00:00:00.339,000] <err> os: Faulting instruction address (r15/pc): 0x08023976
[00:00:00.349,000] <err> os: >>> ZEPHYR FATAL ERROR 0: CPU exception on CPU 0
[00:00:00.359,000] <err> os: Current thread: 0x20004880 (unknown)
[00:00:00.368,000] <err> os: Halting system

Furthermore, now PC is at another location. This is different from the last time, and it seems to me since stack overflow happens, everything messes up.
Read thread has the following implementation:
void FazuaHandler::read_thread(void *p1, void *p2, void *p3) {
  LOG(INFO) << "Executing read thread";
  int32_t can_id_read;
  uint32_t data_length;
  std::array<uint8_t, can_driver::kMaxDataLength> can_data;
  LOG(INFO) << "read_thread id = " << k_current_get();

  while (_running) {
    if (!can_driver::Read(_socket_id, &can_id_read, &data_length, can_data)) {
      k_msleep(0);
      continue;
    }
    switch (can_id_read) {
      case 0x600:
        can_driver::Write(_socket_id, 0x300, can_data, data_length);
        break;
      case 0x601:
        can_driver::Write(_socket_id, 0x301, can_data, data_length);
        break;
      default:
        LOG(INFO) << "Message " << std::hex << std::showbase << can_id_read
                  << " not defined";
        break;
    }
  }
  LOG(INFO) << "Exiting read thread" << std::endl;
}

And it's stack size is set to 1024.
constexpr int kStackSize = 1024;
K_THREAD_STACK_DEFINE(_read_thread_stack, kStackSize);

Is there some general stack configuration I am missing? As in prj.conf file?

And it's stack size is set to 1024.

And you tried to increase this size?
You can see all the stack sizes like this
$ ack STACK <you app build dir>/zephyr/.config
CONFIG_X86_EXCEPTION_STACK_TRACE=y
CONFIG_MAIN_STACK_SIZE=2048
CONFIG_IDLE_STACK_SIZE=256
CONFIG_ISR_STACK_SIZE=2048
CONFIG_TEST_EXTRA_STACKSIZE=0
CONFIG_SYSTEM_WORKQUEUE_STACK_SIZE=1024
# CONFIG_HW_STACK_PROTECTION is not set
CONFIG_PRIVILEGED_STACK_SIZE=1024
# CONFIG_STACK_GROWS_UP is not set
CONFIG_ARCH_HAS_STACK_PROTECTION=y
CONFIG_THREAD_STACK_INFO=y
CONFIG_INIT_STACKS=y
# CONFIG_STACK_CANARIES is not set
CONFIG_STACK_POINTER_RANDOM=0
CONFIG_UART_MUX_RX_STACK_SIZE=512
# CONFIG_STACK_USAGE is not set
# CONFIG_STACK_SENTINEL is not set
CONFIG_EXCEPTION_STACK_TRACE=y
CONFIG_LOG_PROCESS_THREAD_STACK_SIZE=768
CONFIG_NET_TX_STACK_SIZE=1200
CONFIG_NET_RX_STACK_SIZE=1500
CONFIG_NET_MGMT_EVENT_STACK_SIZE=768
# CONFIG_NET_DEBUG_MGMT_EVENT_STACK is not set
CONFIG_NET_CONNECTION_MANAGER_STACK_SIZE=512
CONFIG_SHELL_STACK_SIZE=2048

Some more info. I will refer to the log shown below:
006416 [ERROR] can.cpp:196:[Read] | Timeout while receiving CAN message
006723 [ERROR] can.cpp:196:[Read] | Timeout while receiving CAN message
007030 [ERROR] can.cpp:196:[Read] | Timeout while receiving CAN message
007338 [ERROR] can.cpp:196:[Read] | Timeout while receiving CAN message
007645 [ERROR] can.cpp:196:[Read] | Timeout while receiving CAN message
007952 [ERROR] can.cpp:196:[Read] | Timeout while receiving CAN message
008259 [ERROR] can.cpp:196:[Read] | Timeout while receiving CAN message
008566 [ERROR] can.cpp:196:[Read] | Timeout while receiving CAN message
008873 [ERROR] can.cpp:196:[Read] | Timeout while receiving CAN message
009180 [ERROR] can.cpp:196:[Read] | Timeout while receiving CAN message
009487 [ERROR] can.cpp:196:[Read] | Timeout while receiving CAN message
009794 [ERROR] can.cpp:196:[Read] | Timeout while receiving CAN message
010101 [ERROR] can.cpp:196:[Read] | Timeout while receiving CAN message
010408 [ERROR] can.cpp:196:[Read] | Timeout while receiving CAN message
010716 [ERROR] can.cpp:196:[Read] | Timeout while receiving CAN message
011023 [ERROR] can.cpp:196:[Read] | Timeout while receiving CAN message
011330 [ERROR] can.cpp:196:[Read] | Timeout while receiving CAN message
011637 [ERROR] can.cpp:196:[Read] | Timeout while receiving CAN message
011944 [ERROR] can.cpp:196:[Read] | Timeout while receiving CAN message
012251 [ERROR] can.cpp:196:[Read] | Timeout while receiving CAN message
012558 [ERROR] can.cpp:196:[Read] | Timeout while receiving CAN message
[00:00:12.858,000] <dbg> can_driver.can_stm32_rx_isr_handler: Message on filter index 0
[00:00:12.869,000] <dbg> can_driver.can_stm32_rx_isr_handler: Message on filter index 0
[00:00:12.880,000] <dbg> net_core.net_recv_data: (): prio 0 iface 0x200005f0 pkt 0x20007d80 len 14
[00:00:12.891,000] <err> os: ***** MPU FAULT *****
[00:00:12.899,000] <err> os:   Instruction Access Violation
[00:00:12.907,000] <err> os: r0/a1:  0x2000a390  r1/a2:  0x2000a390  r2/a3:  0x20006228
[00:00:12.918,000] <err> os: r3/a4:  0x00000004 r12/ip:  0x4f464e49 r14/lr:  0x00000000
[00:00:12.929,000] <err> os:  xpsr:  0x61000000
[00:00:12.936,000] <err> os: Faulting instruction address (r15/pc): 0x4f464e48
[00:00:12.946,000] <err> os: >>> ZEPHYR FATAL ERROR 0: CPU exception on CPU 0
[00:00:12.956,000] <err> os: Current thread: 0x20000890 (rx_q[0])
[00:00:12.965,000] <err> os: Halting system

I have two parts of a system, for the sake of discussion, two CAN nodes. Timeout is written when those two nodes are disconnected from each other. As soon as I connect them, there is a MPU FAULT. This has to be some low level memory corruption or kernel issue. Hopefully, this can be resolved at some point.

And you tried to increase this size?

Yes, to 2048, 4096 and 8192. I did not cause any change.

@mejtejt do you have an application that you could share to replicate the issue?
You said your setup used to work earlier. Are you able to bisect the issue?
cc: @alexanderwachter

@mejtejt can you check the fault address with addr2line?
Is the thread running in user mode?

Ok guys, I did some investigation, and I have some interesting results.

The above image shows part of the code which is reading messages 0x600 and 0x601,  and forwards them as 0x300 and 0x301.
I have PEAK analyzer connected to the board. When I comment out the following defines in prj.conf file, everything works fine.

Now, when those "debug" lines in prj.conf file are enabled, there is an error.

This is on the Zephyr side. On my side, there is a problem also, which I am able to avoid, but I do not understand it at the moment. I will write it down, maybe you can tell me is it related to some flash/memory stuff.
Debug messages can be sent out to UART either through std::cout, or through the wrapper which I will show you later.
The example usage is like this:

If line 61 is commented out, and problematic defines in prj.conf file are also commented out, I get normal CAN behavior like the one shown above. However, as soon as uncomment line 61, I get no more communication on CAN.

LOG is a macro, which calls a class StreamLogger.
#define LOG(severity) logger::StreamLogger{LOG_LEVEL(#severity), FILE_LINE, FUNCTION_NAME}
StreamLogger.h file:

StreamLogger.cpp file:

Macros are defined as follows:

And their implementation:

As you can see, it writes out to the port as expected, but CAN thread is not working anymore.

As I said, I can (temporarily) get around this by using std::cout directly, but I would really like to understand why is this implementation problematic. It seems as it takes some resources/memory, which kernel/other parts of the underlying OS are using.
Looking forward to your inputs.

You cannot use log immediate in an ISR. There is LOG code in the can driver which crashes your system. Either decrease the log level for CAN or use the threaded logging.

@alexanderwachter , I don't understand quite your last response. I will break it up in a sections. First of all, what do you mean by "cannot use log in ISR"? I have no ISR which is using log lines. read_thread is (one of) foreground thread(s), created with k_thread_create.

Secondly, how do I "decrease the log of CAN"? I tried the following configuration:
CONFIG_LOG=y
CONFIG_CAN_LOG_LEVEL_OFF=y
Didn't help.
I also tried

There is a log from the can rx ISR in your screenshot. I don't recommend to use immediate logging. Some other drivers might also do logging from ISRs

I would like to provide an update on this issue. I have been able to resolve it. What made a difference, was in addition to increasing stack size of _read_thread, I also had to set the following in prj.conf file: CONFIG_MAIN_STACK_SIZE=2048. Now, CAN thread is not crashing any more. But there was no error in Zephyr CAN implementation, it was a coincidence that the stack which was corrupted was the one belonging to the CAN. I will therefore mark this issue as resolved.


Abstract from page sizes and build both a4 and a3 and X

Page dimensions could be given via environment variables

Nah, one paper size at a time is fine.


No contributor profile link

I'm not sure if this is a bug or not, but the contributor name on this transaction does not link to a profile.
https://opencollective.com/tauiwi-tautoko/contributions/713315
How can a contributor exist in the system but have no profile?

There are two kinds of accounts where no profile gets created:

Guest contributors
Vendors

This contribution is facing the 2nd case.


problem for using multiple solver in same time

Hello
When three classes are built from this library at the same time, the calculations for the third class are not done correctly.
self.brush_arm= Actuator(['y', [0., 0., 0.01], 'x', [0., 0., 1.11], 'x', [0., 0., 1.225]])
self.left_leg = Actuator(['x', [0., 0., 1.175], 'x', [0., 0., 1.225],'x', [0., 0., .001] ])
self.right_leg = Actuator(['x', [0., 0., 1.175], 'x', [0., 0., 1.225],'x', [0., 0., .001] ])

Hello.
After you instantiate the actuator, what operations are you doing and what errors are you getting?
Basically, each actuator object should be independent of the other, so I don't think creating multiple objects will affect each other. It may be a different problem though.

Hello.
After you instantiate the actuator, what operations are you doing and what errors are you getting?
Basically, each actuator object should be independent of the other, so I don't think creating multiple objects will affect each other. It may be a different problem though.

You can try on this notebook. When three objects are defined, the first object does not work properly while the second and third objects work properly. And by changing the order of the object definition, the first object does not work properly again. I tried all kinds of modes and definitions but it didn't work. As you can see in the notebook, the results are not correct.
https://colab.research.google.com/drive/1R_xqPb3Qt81U60sp3CuSZ79WKkSogbVH?usp=sharing

@mostafanorouzi Thank you! The problem was reproduced in my environment as well. I found that it was a rudimentary bug related to optimizer initialization. Thanks to you, I was able to find this bug.
I've implemented a fix patch and released a new version 2.1.1 without the problem, so please try it.
Thank you very much!


Add support for cargo features to playground server

In Seahorse when using Pyth, it is an optional dependency that is enabled using anchor build -- --features pyth-sdk-solana
This enables code in the generated src/lib.rs:
    #[cfg(feature = "pyth-sdk-solana")]
    pub use pyth_sdk_solana::{load_price_feed_from_account_info, PriceFeed};

I think for Playground to compile this code we'd need to have it pass the feature flag.
I think ideally we should be able to pass features: ["pyth-sdk-solana"] to the /build server, alongside rust files + uuid, and then have the build server include this feature flag when building
One thing I'm not sure about is how dependencies work in the build server, because we don't pass cargo.toml in. I guess the build server would need to detect the pyth dependency only if that feature flag is passed in?

I'll close this, we don't need this for seahorse features any more and doesn't seem to have been any other interest in the idea. Probably not worth doing!


CI: Upgrade GEOS versions

Another maintenance update for shapely-1.8, to use the latest versions of GEOS.

GEOS 3.9.2 announcement
GEOS 3.10.1 announcement

If we get around to shapely-1.8.1, the binary wheels should probably be packaged with GEOS 3.9.2.

Coverage remained the same at 85.362% when pulling d94608a29abf8c3cc356d90f06b764a728a4113b on mwtoews:1.8-upgrade-geos into bc2a908c17b11d2df89a7e771dd0fd2bd6f65368 on Toblerity:maint-1.8.

Might as well also upgrade:

GEOS 3.6.5 announcement
GEOS 3.8.2 announcement

Doctests fail with GEOS 3.8.2, as it seems there are small differences with coordinate values in WKT and in area calculations. I can't tell if the results from that version are better, but all other releases don't have these issues. Considering rolling GEOS back to 3.8.1

Doctests now run on Python 3.9, and were made to be a bit more robust, and should run the same on any combination of Python and GEOS.
ecf0d6cbb692e398c028228b2b95c273c3554368 could be cherry-picked into main

GEOS 3.8.1 is kept for Windows, as 3.8.2 does not compile without being patched with https://github.com/libgeos/geos/commit/da1b246f28df4c2b7863920fbc913b316ca77062

ecf0d6c could be cherry-picked into main

I am doing that in https://github.com/Toblerity/Shapely/pull/1228


Fixed bug to disable dns resolver service

-Fix bug to disable dns resolver service when validate system_domain_local_zone_type input
-Implemented hideGeneral() function to hide all inputs and removed disableDHCP() that disabled all inputs

Before this pull request can be accepted you must first sign a CLA as described at https://www.pfsense.org/about-pfsense/#cla. Please read for more details.

Send by e-mail the CLA license.

Send eletronic form #JSXA1


Bioregional groups

https://www.figma.com/file/vgZwDRfvIAahIg0u7RYj2b/Places?node-id=321%3A356

[ ] Define bioregions: boundaries, names, descriptions, icon, banner image
[ ] Create groups with them as the boundaries in the database.
[ ] What are privacy settings? Closed unless you are inside them?
[ ] Show them to people when they join to see if they want to join
[ ] Section to find them in nav drawer?
[ ] How does moderation work?
[ ] What if someone's address changes?
[ ] Creating new regional groups? When/how would we show those to people?

Pondering two questions at the moment.

How do we define bioregions and thus represent them on the platform
How do we manage the integration of bioregional groups into the platform

Lets say we figure out 1) and can generate a decent dataset (perhaps initially just in north america).
So we then... make hundreds of empty groups? Then we have to figure out governance/moderation. Users of the explorers (map and group) will be dazzled with all these groups but find they are largely empty... I struggle to see how those early moments in a bioregional groups life will be a fly-wheel that generates worth to its members unless there is a critical mass of folk on the platform in that bioregion.
To that end, I wonder if there is some merit in bioregional groups being a different group type, that is initially locked until a critical mass of users are in that bioregion. We can start experimenting then with the process of bioregional group activation; deciding a threshold for user numbers, sending out an invite and convening some initial posts and discussions to get things rolling, trialing a process of determining mods. Maybe by then more of the governance functionality will be available. At least we won't have to answer some of the questions posed in the epic ticket upfront (What are privacy settings? Closed unless you are inside them? How does moderation work? etc)


Fix Authentication Documentation

I am not sure why this is declared, but it took me an hour to figure out that the Authentification isn't what you are supposed to put at the beginning of the program to send emails. It's just a bit confusing imo

Hey @mtthidoteu,
Thank you for taking the time to create an issue, we appreciate it :)
Authentication is described in this section of SDK docs. Did you follow those instructions and failed to authenticate?
You can also provide me with a code snippet of what you were trying to achieve and had trouble with. I understand your issue was with the Emails endpoint. In that case, either of the following 2 examples would work:
With defined API key:
from mailersend import emails

# will use "my-api-key" as API key value
mailer = emails.NewEmail("my-api-key")

# define an empty dict to populate with mail values
mail_body = {}

mail_from = {
    "name": "Your Name",
    "email"<EMAIL_ADDRESS>}

recipients = [
    {
        "name": "Your Client",
        "email"<EMAIL_ADDRESS>    }
]

reply_to = [
    {
        "name": "Name",
        "email"<EMAIL_ADDRESS>    }
]

mailer.set_mail_from(mail_from, mail_body)
mailer.set_mail_to(recipients, mail_body)
mailer.set_subject("Hello!", mail_body)
mailer.set_html_content("This is the HTML content", mail_body)
mailer.set_plaintext_content("This is the text content", mail_body)
mailer.set_reply_to(reply_to, mail_body)

# using print() will also return status code and data
mailer.send(mail_body)

Using the MAILERSEND_API_KEY environment variable - you don't need to refer to it by code since if no declaration is made the SDK will automatically fallback to os.environ.get("MAILERSEND_API_KEY") as value.
from mailersend import emails

# will use MAILERSEND_API_KEY environment variable
mailer = emails.NewEmail()

# define an empty dict to populate with mail values
mail_body = {}

mail_from = {
    "name": "Your Name",
    "email"<EMAIL_ADDRESS>}

recipients = [
    {
        "name": "Your Client",
        "email"<EMAIL_ADDRESS>    }
]

reply_to = [
    {
        "name": "Name",
        "email"<EMAIL_ADDRESS>    }
]

mailer.set_mail_from(mail_from, mail_body)
mailer.set_mail_to(recipients, mail_body)
mailer.set_subject("Hello!", mail_body)
mailer.set_html_content("This is the HTML content", mail_body)
mailer.set_plaintext_content("This is the text content", mail_body)
mailer.set_reply_to(reply_to, mail_body)

# using print() will also return status code and data
mailer.send(mail_body)

cc @mtthidoteu we amended the documentation to include the NewEmail() function as SDK authentication example. Let us know if you still have any questions on SDK usage, we'll be happy to help!


Protect more

Protect against stealer advanced who have admin and kill process of your protect cookies

even stealers with admins are still protected against, and for killing processes i don't think this is a good idea, i think it's better to let the user decide.

even stealers with admins are still protected against, and for killing processes i don't think this is a good idea, i think it's better to let the user decide.

why ? its better if you do a good protection like have autorisation of system just a stealer whos as admin can kill process and stoll information if you cant counter that your cookie protector is bad

you can add fully protected browsers like password stealer ect do a complete protection

even stealers with admins are still protected against, and for killing processes i don't think this is a good idea, i think it's better to let the user decide.

why ? its better if you do a good protection like have autorisation of system just a stealer whos as admin can kill process and stoll information if you cant counter that your cookie protector is bad

do you know how the protection even work? are you stupid? there's no "process" that is being created when the protection is enabled in the first place, i don't like being rude but you can't call a project "bad" because there's a feature that the developer don't want to add, i won't kill a process that tried to access browser files, it's better to let the user know and block it.

but how ?

even stealers with admins are still protected against, and for killing processes i don't think this is a good idea, i think it's better to let the user decide.

why ? its better if you do a good protection like have autorisation of system just a stealer whos as admin can kill process and stoll information if you cant counter that your cookie protector is bad

do you know how the protection even work? are you stupid? there's no "process" that is being created when the protection is enabled in the first place, i don't like being rude but you can't call a project "bad" because there's a feature that the developer don't want to add, i won't kill a process that tried to access browser files, it's better to let the user know and block it.

but how ?

Read the source code and you will figure out how !


ERROR: not all ranks! on -rank_trees

Hi All,
I am trying to run pranc but I found that I have some issues on running. Could you help me to figure them out?
#test examples:

$ cat unrgt_5taxon.txt
((B,E),(A,(C,D)));
$ pranc -rank_trees unrgt_5taxon.txt
$ cat outRankTopos.txt
((B:3,E:3):1,(A:2,(C:1,D:1):1):2);
((B:2,E:2):2,(A:3,(C:1,D:1):2):1);
((B:1,E:1):3,(A:3,(C:2,D:2):1):1);

#my data

cat treedist_1.txt
(Orangutan,(HMO,(NLE,(SSY,HLE))));
$ pranc -rank_trees treedist_1.txt
ERROR: not all ranks!

Is there something wrong with my tree?
Thank you so much.
Best,
Yafei

PRANC didn't know how to work with the long taxa names for -rank_trees. The issue is now fixed. The output looks like this: (Orangutan:4,(HMO:3,(NLE:2,(SSY:1,HLE:1):1):1):1);


Fixes bug in responsive rows

Open since 2015: https://github.com/kenwheeler/slick/issues/1871

Cool, only thing this needs is some test demos. Here's this codepen template you can use, just replace with your branch

I'm concerned as myself and two others raised the above 'fix' as breaking for other sliders on the same page. I assume this has been tested in that use case?

@danjaywing I concur. The fix doesn't really make sense to me. Correct me if I'm wrong, but I believe _.options.rows isn't ever supposed to be <= 0. How else would it distinguish between single-row and multi-row? Should those code blocks really be getting executed in single-row mode?

This PR made slick unusable, going totally in favor of swiper...


EventMetadata interface added

As discussed here: http://jsr377-api.40747.n7.nabble.com/Event-API-td197.html

More methods of the metadata class will be added in future based on discussions in the EG.


[Doc] Add NFS-on-Longhorn documentation

As a user of Longhorn, I would like to know how I can help support the applications I deploy that require RWX. It has been brought to my attention that running an NFS layer atop longhorn will facilitate that type of use case. Can we add supporting documentation to help walk through users in the setup of this approach?

Depends on the result of https://github.com/longhorn/longhorn/issues/1105

We need a test plan for NFS. Ideally, we should test it end to end for the workload cases.

Pre-merged Checklist

[ ] Does the PR include the explanation for the fix or the feature?

[ ] Is the backend code merged?
The PR is at

[ ] Is the reproduce steps/test steps documented?

[ ] If the fix introduces the code for backward compatibility Has an separate issue been filed with the label release/obsolete-compatibility?
The compatibility issue is filed at

[ ] If labeled: area/ui Has the UI issue filed or ready to be merged?
The UI issue/PR is at

[ ] if labeled: require/doc Has the necessary document PR submitted or merged?
The Doc issue/PR is at

[ ] If labeled: require/automation-e2e Has the end-to-end test plan been merged? Have QAs agreed on the automation test case?
The automation skeleton PR is at
The automation test case PR is at

[ ] if labeled: require/automation-engine Has the engine integration test been merged?
The engine automation PR is at

[ ] if labeled: require/manual-test-plan Has the manual test plan been documented?
The updated manual test plan is at

One additional thing to consider is when after we implement #1470 , it should be easy for the user to upgrade. My biggest concern is if the user can use the same StorageClass name longhorn-nfs in the later version and seamlessly migrate to the new solution.

Validation - Passed
Followed the docs https://staging.longhorn.io/docs/1.0.0/advanced-resources/rwx-workloads/ example workloads are coming up healthy properly.
The links of yamls are broken currently but will be fixed with https://github.com/longhorn/website/pull/159/files
RWX functionality is working fine.
Test cases executed from https://rancher.atlassian.net/wiki/spaces/LON/pages/515376490/RWX+Volumes

This is great! Except that I've now spent a lot of time extracting the state out of some apps into s3/minio (+redis for some things) and you suddenly give me an easier way.
FWIW, I did try NFS provisioner on-top of a longhorn volume, and I had some inconsistent results.  e.g. I STILL have a stuck pod on a production cluster that cannot be removed for some reason and it was part of that experiment.
I will try the longhorn built in when ready.

@jaredkipe Did you try the longhorn provided nfs provisioner deployment?

FWIW, I did try NFS provisioner on-top of a longhorn volume, and I had some inconsistent results. e.g. I STILL have a stuck pod on a production cluster that cannot be removed for some reason and it was part of that experiment.

@jaredkipe Was this using the longhorn provided nfs-provisioner deployments that will be released with 1.0.1?

@joshimoo No, I mean like a year ago on one cluster and 6 months ago on another.

@khushboo-rancher added a tracking issue for the e2e integration tests #1606 can you close this issue?


fixed LSoftTechnologies.ActiveDiskEditor

PackageVersion and PackagUrl
Microsoft Reviewers: Open in CodeFlow

will always be in a constant loop of updating

Ouch, that's bad. So, should I create a new PR where the PackageVersion is still 7 and I put the '7.0.19' in the ShortDescription? (And of course add the PackagUrl)

Ouch, that's bad. So, should I create a new PR where the PackageVersion is still 7 and I put the '7.0.19' in the ShortDescription? (And of course add the PackagUrl)

I think it's fine as is, because even on the website, https://www.disk-editor.org/index.html,  I see version 7 rather than 7.0.19, and if it's added into the ShortDescription, those that are using wingetcreate update may not notice that they'll have to update that too.

I see version 7 shown rather than 7.0.19

Well, the Download-Link on that page actually (and wrongly) states "7.0.15" (the light-blue rectangle labeled "FREEWARE for WINDOWS" on the top/right) - that's a bit of a mess. I am wondering how a future update would be handled by winget when the publisher releases another bugfix-update (7.0.xx) that is still called "7".

This is a duplicate of the existing 7 manifest. The URL is not different and hash is the same. Why aren't you editing the existing one? The version in this manifest is wrong. You have to use the control panel verison. I do not believe this should be approved.

In addition, you did not accept the policies of the repro and confirm that the installation works. If this manifest was tested and verified you would have found the version shows as 7 in winget even with this manifest.

Ahh you're right, @donid just close the PR


Translation Engish

Hello guys,
Sorry to bother you here, is there a translation in english of your website demo with the gantt planning that i see here ?
http://gantt.ngnice.com/components/basic
Thanks in advance,
And congrats for your work

Hello guys, Sorry to bother you here, is there a translation in english of your website demo with the gantt planning that i see here ? http://gantt.ngnice.com/components/basic
Thanks in advance, And congrats for your work

There is already the same issuse below, we will support it as soon as possible.
https://github.com/worktile/ngx-gantt/issues/222


how to train the vocoder

If I usa another sampling rate like 16kHz, how should I train the new vocoder?

In the latest version, we’ve added a guide for vocoder training. You can follow the instructions provided here: Optional Vocoder Training.


RDK-41460: Mapping of Thunder Network Plugin APIs to GNome NM API

Reason for change: nm 1.36.2
Test Procedure: Build and verify.
Risks: High
Signed-off-by:Zameerun Rasheed M S<EMAIL_ADDRESS>

WARNING: A Blackduck scan failure has been waived
A prior failure has been upvoted

Upvote reason: Spurious

Commit: 070d9d1a1a30ba4603489361dbf5ce79edde459f

Closing older PRs. Pls bring to latest sprint or topic branch.


⚠ Bofrost.be has degraded performance

In 07bca2b, Bofrost.be (https://www.bofrost.be) experienced degraded performance:

HTTP code: 200
Response time: 959 ms

Resolved: Bofrost.be performance has improved in 2b443c7.


Add conditional properties for cross-platform build support

Do you know if the ordering of DALAMUD_HOME matters here? Could it be moved to the top of the list to give it priority over the hard-coded paths?

Do you know if the ordering of DALAMUD_HOME matters here? Could it be moved to the top of the list to give it priority over the hard-coded paths?

Sorry, I just checked this for myself. It seems like DALAMUD_HOME takes priority by being on the bottom, so its in the logical place already.

this is fine thanks


Need to add information about Spark support

I am the PM on Azure Data Lake Store. This should be in the doc.

Hi @sachincsheth, I'm your friendly neighborhood Azure Pull Request Bot (You can call me AZPRBOT). Thanks for your contribution!

This seems like a small (but important) contribution, so no contribution license agreement is required at this point. Real humans will now evaluate your PR.

TTYL, AZPRBOT;

@sachincsheth : Thanks for your contribution to the Azure documentation! The author, @nitinme, has been notified to review your proposed change.

@sachincsheth - Thanks Sachin.

@cjgronlund Please merge.


fix broken links

[ ] fix dead links detected by #958

see daily workflow builds on https://circleci.com/gh/iterative/dvc.org (e.g. https://circleci.com/gh/iterative/dvc.org/2131) for an up-to-date list

[ ] should warnings (status codes 0xx, 3xx etc) be counted as errors instead?

The latest build (https://circleci.com/gh/iterative/dvc.org/2145) failed, but that's before #979. Will need to wait until the next daily run because I don't have permission to trigger it manually. Unless you happen to be around now or before the next run @shcheklein 🙂

For now my local run of yarn link-check | grep ERROR on master found something like this:
 ERROR:404:http://ogp.me/ns
public/static/docs//user-guide/managing-external-data.md:public/static/docs//user-guide/troubleshooting.md:ERROR:1 failures
 ERROR:404:https://dvc.org/static/img/<filename>.gif
 ERROR:406:http://millionsongdataset.com/pages/getting-dataset/
 WARNING:000:https://dvc.org$
public/static/docs//use-cases/versioning-data-and-model-files.md:ERROR:1 failures
public/static/docs//command-reference/cache/dir.md:ERROR:1 failures
 ERROR:404:https://example.com/path/to/file
ERROR:1 failures
 ERROR:404:https://code.dvc.org/foo/bar
 ERROR:404:https://data.dvc.org/foo/bar
 ERROR:404:https://dvc.org/doc/command-reference/foo
 ERROR:404:https://dvc.org/foo
 ERROR:404:https://example.com/foo
 ERROR:404:https://example.com/foo/bar?baz
 ERROR:404:https://man.dvc.org/foo
 ERROR:404:https://remote.dvc.org/foo/bar
 ERROR:404:https://s3-us-east-2.amazonaws.com/dvc-public/code/foo/bar
 ERROR:404:https://s3-us-east-2.amazonaws.com/dvc-public/data/foo/bar
 ERROR:404:https://s3-us-east-2.amazonaws.com/dvc-public/remote/foo/bar
 ERROR:403:https://s3-us-east-2.amazonaws.com/dvc-s3-repo/deb/foo
 ERROR:403:https://s3-us-east-2.amazonaws.com/dvc-s3-repo/rpm/foo
 ERROR:404:https://www.dvc.org/foo
ERROR:1 failures

I'm not sure I understand the output as some of these are already in the exclude list, but I'm trying to solve all these in #978 (please review). Most of the new ones come from server: refactor redirects so they're more declarative #943 and related PRs.

After fixing those though, the command now crashes for me:
...
README.md:jest.config.js:OK
server.js:OK
OK
OK
OK
OK
OK
OK
OK
error Command failed with exit code 1.

🙁
AND it's also happening on the PR 😕 https://circleci.com/gh/iterative/dvc.org/2152


New feature for Practice App: Cities

I will be creating an API endpoint and a front-end functionality that allows users to search for cities using some filters. The GeoDB cities API will be used. Users will be able to save cities to their favorites list.

Decided on which filters can be used, minimum population and maximum population will be used.

I'll add 'namePrefix' filter too. Otherwise the same cities will return.

Created the components such as FavouriteCities, CityForm, CityData. Axios method for get is created.

Create the backend service, controller, repository etc. There will be two methods in controller, one for post and one for get. Get will return all favourite cities, and post will add a city to favourite list.

Finished the code, tested.


Collapse component on Demo page will stop to functioning after several clicks using chrome

In chrome Version 56.0.2924.87 (64-bit), the Collapse Component on demo page will stop functioning after some number of clicks. sometimes a few clicks, sometimes a lot. The corresponding JS log The show/hidden.bs.collapse event fired is stopped too. After i cloned this repo and checkout to gh-pages, and trying to reverting/bisect commits, i found this issue started after 369c3ea... Replaced `duration`  option with `transitionEnd`. The commit before that, which is e4dbfaf... Removed isIE detection utility from V4 is ok. I can click the collapse action many many times
Note: This doesn't happen in Safari

Does this happen after the last commit? https://github.com/thednp/bootstrap.native/commit/0e7aa35543298461119c2899f049284bb9d7844d

@chenull ?

Hi, i git pulled the last commit, fire up simple http server, do the clicks from chrome, and whenever the collapse stop working, i copy-pasted logs from JS console and here the result:
for log in clicks-*; do echo -n $log; cat $log | wc -l; done
clicks-01      88
clicks-02     124
clicks-03      92
clicks-04       3
clicks-05     147
clicks-06     379
clicks-07      19
clicks-08       3
clicks-09     115
clicks-10      15

so yes, it still happen, though it takes longer to be happen than my first time i visit your demo page. only happen twice with 3 clicks. it was happen quicker before.

Cannot reproduce, the demo works properly for me, but I suspect why it happens on your end.

yeah, me too, it's hard to reproduce after your last commit. but i managed to create a gif animation when this happen

https://cloud.githubusercontent.com/assets/1737556/23052857/458833e2-f507-11e6-8f0e-2c5b76029892.gif

oh.. one more thing to note that, when it stopped working. the current collapsed item (the lorem ipsum text) is always in hidden condition. then next click, which should be the show event, is not happening.

@chenull please confirm this test for the tabs example, it involves a similar isssue I hope I fixed.

@chenull are you in Linux? On my Windows 8.1 with Google Chrome, Firefox and IE10 everything works perfect, I am now typing from Ubuntu, and I confirm the issue persists.
I believe this must be related to the fact that Linux is a bit slower executing some nested setTimeout functions and it gets stuck somewhere, but I am now working with Linux and working on a fix to make it full proof.

I think I fixed the issue, I will do some tests in Windows with IE10 and commit asap.

@chenull
Please test the latest commit ASAP. I will release a new tag once you confirm the issues to be fixed.

@thednp yeah it fixed 👍 i am on a mac though, not linux

@thednp yeah it fixed 👍 i am on a mac though, not linux

Same for me.. OK thanks for the confirm.

After testing with hundreds of click,  demo page  I think this bug still exist in firefox.


Fix wheel creation

Without this, attempting to build a wheel produces:
$ python setup.py bdist_wheel
/path/to/venv/lib/python2.7/site-packages/setuptools/dist.py:333: UserWarning: Normalizing '1.2.1.post.dev3' to '1.2.1.post0.dev3'
  normalized_version,
running bdist_wheel
error: invalid truth value ''

:+1:
not sure what codecov/project mean...

Hmmm. Yes, universal = 1 should have been there from the onset. I think it's a typo.
I'm also not sure what codecov/project means, and how it is different than codecov/patch, and also how can coverage go down (unless codecov didn't run for some changes I made), as pickle_core.py wasn't even changed.
Which means I'm pulling it, as it passes all tests.
I can bump coverage in a separate PR, if I deem it necessary, anyway.
Thanks, man!

I am, however, not pushing a new version to PyPI, as I'm only hosting source distribution there, and as far as I understand this is only relevant when building from source (i.e. pulling the repo and running python setup.py bdist_wheel in its root folder.

Thanks @shaypal5 !

My actual use case is building a wheel from pypi for local redistribution. For now, I've pointed my requirements.txt to git, but it would be nice to be able to build a wheel from the version at pypi.
Alternatively, is there any reason you don't publish wheels along with the tarballs?

Hmmm. Oh, then tell me what I have to do?
Just run python setup.py sdist bdist_wheel upload instead of just python setup.py sdist upload?

exactly

Cool. Read about it a tiny bit and uploaded v1.2.2 to PyPI, including a wheel.
Can you take a look, try it out, and tell me if it's all good?

looks great, thank you very much!