[GSSOC'23] Number to Words convertor program

Aim

What is the objective of the Script
Convert Number to International system in words.

Details

What the features will your script have
Conversion of the number ->

Input :-
123456
Output :-
One Hundred Twenty Three Thousand Four Hundred Fifty Six.
Please Assign This program to me to contribute in GSSoC'23

Please assign this task to me, Please !

Go Ahead @Avdhesh-Varshney

Thanking you so much sir, @avinashkranjan for assigning this issue to me.

Hey @avinashkranjan  Can you please assign me this issue?

Sirs @avinashkranjan @Yashbhadiyadra , please review my pull request and merge it into the main branch for successful contribution in the program GSSoC'23.


Default credentials - fresh install

Hello - what are the default credentials to login on a fresh install? Cheers, Dave
Update - figured it out:
curl --header "Content-Type: application/json"
--request POST
--data '{"email":"john@doe.com","password":"john"}'
http://<IP_ADDRESS>:3000/api/login
btw: my client is running on port 3000.
It didn't seem to create the user<EMAIL_ADDRESS>for me during the install - just a docker user:
permacoop=# select * from user;
user
docker
(1 row)
permacoop=# select * from user_administrative;
id | joiningDate | leavingDate | annualEarnings | transportFee | healthInsurance | executivePosition | contract
----+-------------+-------------+----------------+--------------+-----------------+-------------------+----------
(0 rows)
permacoop=# select * from customer;
id | name | createdAt | addressId
----+------+-----------+-----------
(0 rows)

Did you use the command make install? It launches the project setup as well as the database migration.
Otherwise you can also use the command make database-migrate.

Thanks, I'll check that out.


RFC: Define discord type using schema library

Current situation/status/issue:

Discord type are defined with interface
No way to validate types
Can't generate fake data with type

Propose:
Define discord type with schema library such as (ajv, zod, yup, etc), then generate type from it.
We can achieve:

Access type in normal js
Test against discord real data for validation
Generate mock/fake discord payload from schema

I think having something like Zod could definitely open up opportunities to ensure safety specifically in our rest package. Right now we just use TypeScript to assume it's fine, we could have an optional setting that enables Zod (for example) validation that ensures the values are parsed.
I'd be totally on board with this and if it's done right we could make it a non-breaking change in v19. The amount of effort it would take would be huge though.


Removed dependence on OpenSSL.  Using TLS module.

Happy New Year!
Well, I've cracked it.  I was able to remove the dependence on the direct call to OpenSSL.  Instead, I'm using the tls module to make the network connection.
TLS returns DER-encoded versions of the certificates using tls.getPeerCertificate().
I base64 encode that to put it back into PEM format so x509 can read it and parse the signature algorithm.
I started this because I wanted IPv6 support in my Chrome extension and traced this back to OpenSSL.  The command line tool does not support IPv6 addresses.  There's a 10 year old thread and several people have proposed patches.  None have been merged!
But nevermind that.  Now we have IPv6 support!  Enable it on your Digital Ocean image for some IPv6-goodness.
I have a development image running this code here: http://shaaaaaaaaaaaaa.devel.netsville.com/
Here it is successfully checking ipv6.google.com:
http://shaaaaaaaaaaaaa.devel.netsville.com/api/check/ipv6.google.com
{
domain: "ipv6.google.com",
cert: {
algorithm: "sha256",
raw: "sha256WithRSAEncryption",
good: true,
root: false,
expires: "2016-03-09T00:00:00.000Z",
name: "*.google.com"
},
intermediates: [
{
algorithm: "sha256",
raw: "sha256WithRSAEncryption",
good: true,
root: false,
expires: "2016-12-31T23:59:59.000Z",
name: "Google Internet Authority G2"
},
{
algorithm: "sha1",
raw: "sha1WithRSAEncryption",
good: false,
root: false,
expires: "2018-08-21T04:00:00.000Z",
name: "GeoTrust Global CA"
},
{
algorithm: "sha1",
raw: "sha1WithRSAEncryption",
good: true,
root: true,
replacement: null,
expires: "2018-08-22T16:41:51.000Z"
}
],
diagnosis: "good"
}

Happy New Year!

Happy New Year! And thank you for the wonderful 2016 gift!
I'm reviewing this now, but it looks generally good to me. I've updated the test suite on master to be current and consistent. I'd like to merge this simultaneously with merging a test for an IPv6 domain too.
It looks like Travis CI supports IPv6 only in legacy containers, so I may need to add sudo: true to the .travis.yml file to get that to work.
I'll update with more comments if I find anything else.

It looks like this implementation isn't using SNI with the given hostname. In the current implementation, the openssl command includes a -servername argument that asks openssl to also tell the server it's looking for the cert for the hostname being evaluated.
I don't have a SNI-specific test, but in my new test suite, I'm using sha1-2017.badssl.com as a hostname we can expect to always use SHA-1. It also seems to require SNI, as I don't get the SHA-1 cert using the new tls-based implementation as I do with the openssl implementation.

Also -- I've got a branch, here in the main repo, called refactor-tls, that has your PR branch rebased against the new master, with a couple additional small commits.

OK, the SNI fix was easy: https://github.com/konklone/shaaaaaaaaaaaaa/commit/ea01b6b50eee53bfed2dc3264e445ab6973aecbe
But now that I'm through that, the tests are failing because the responses for sites include the root certificate, even when the site does not serve the root certificate. See konklone.com or sha1-2017.badssl.com for examples:
Output for konklone.com in the new code:
{
  "domain": "konklone.com",
  "cert": {
    "algorithm": "sha256",
    "raw": "sha256WithRSAEncryption",
    "good": true,
    "root": false,
    "expires": "2016-02-14T04:06:00.000Z",
    "name": "konklone.com"
  },
  "intermediates": [
    {
      "algorithm": "sha256",
      "raw": "sha256WithRSAEncryption",
      "good": true,
      "root": false,
      "expires": "2020-10-19T22:33:36.000Z",
      "name": "Let's Encrypt Authority X1"
    },
    {
      "algorithm": "sha1",
      "raw": "sha1WithRSAEncryption",
      "good": true,
      "root": true,
      "replacement": null,
      "expires": "2021-09-30T14:01:15.000Z",
      "name": "DST Root CA X3"
    }
  ],
  "diagnosis": "good"
}

Under the old code, the DST Root CA X3 intermediate was missing.

So to sum up:

I left some tiny outstanding comments on a few commits.
The refactor-tls branch here has your work, plus a rebase plus some extra commits.
It lacks SNI support, but I've resolved this on refactor-tls.
The output is now including the root certificate, which it did not do before.

One thing I'm concerned about, since it's returning a root cert that the server did not serve, is that the intermediates may also differ. There are OS-specific chain-building bugs that Chrome surfaced during its aggressive deprecation that can cause clients to form chains with SHA-1 intermediates the server did not actually publish.
I want the SHAAAAAAAAAAAAA site and API to evaluate the served chain, not the chain that some clients may accidentally construct despite the server's best intentions. Can you look into whether that's possible with the tls approach?

(Also, this PR motivated me to go enable IPv6 on my Digital Ocean boxes, which was non-trivial but feels great to have done.)

Thanks for all the feedback.  I'll go through this later today.  And checkout the refactor-tls branch.  So the output is including a cert that openssl s_client does not?  Hmm...
Ok, so it looks like the ca: option to tls.connect is forcing the addition of the root.  I had to stick something in there to make it stop.  Null and empty string won't work.  I'll push merge request to refactor-tls so you'll see what I mean.  Seems to do the trick.

This code, via #86 and #87, is now up and deployed: https://shaaaaaaaaaaaaa.com/check/ipv6.google.com


Update README with usage and Q/A; add CONTRIBUTING docs

Here's some ideas for the project's README. I also added a CONTRIBUTING guide for users who want to modify the project. These ideas came after discussing the current state of documentation (#51).
Rendered README.
Closes #53.

This is a great change, and unquestionably an improvement. Mergin.


CE off: between clause and IN-list

                    -> PhysicScanTable orders (cost=476, rows=476) (actual rows=222)
                        Filter: o_orderdate[4]>='1994-01-01' and o_orderdate[4]<'1/1/1995 12:00:00 AM'

and IN-list

done


🐛 [Bug] Unable to import Torch-TensorRT

Bug Description
Hello, I was trying to install and import Torch-TensorRT in a colab notebook, but after following all the steps when I import torch_tensorrt I get the following error:
ImportError: libnvinfer_plugin.so.8: cannot open shared object file: No such file or directory
In some other issues was suggested to import tensorrt before importing torch_tensorrt, but even in this case I get an error:
ImportError: /usr/local/lib/python3.7/dist-packages/torch_tensorrt/_C.cpython-37m-x86_64-linux-gnu.so: undefined symbol: _ZNSt18basic_stringstreamIcSt11char_traitsIcESaIcEEC1Ev
How can I solve this? I also tried on an aws machine and got the same issue.
I can share the notebook where the issue can be easily reproduced: https://colab.research.google.com/drive/1tHRq8Sbe-kE-UoQ4mNlI_IEyDAOoW2sK?usp=sharing
To Reproduce
Steps to reproduce the behavior:

Start a colab environment with gpu
Install pytorch 1.11: pip install torch==1.11.0+cu113 torchvision==0.12.0+cu113 torchaudio==0.11.0 --extra-index-url https://download.pytorch.org/whl/cu113
Install tensorrt: pip install --upgrade nvidia-tensorrt
Install pytorch-tensorrt: pip install torch-tensorrt -f https://github.com/pytorch/TensorRT/releases

Environment

Torch-TensorRT Version: 1.1.0
PyTorch Version: 1.11
How you installed PyTorch: pip
Python version: 3.7
CUDA version: 11.2
GPU models and configuration: Tesla P100

I have the same problem

This issue is solved in Torch-TensorRT 1.2.
Adding the following to install Torch-TRT from our CI should give you a build to try out.
I did notice that CoLab is still on CUDA 11.2 so not sure if you will run into issues re: CUDA incompatibility

Thank you @narendasan, I tried with that wheel and it works even on colab! Do you have wheels like that also for python 3.8 and 3.9?

Yes you can pull from here: https://app.circleci.com/pipelines/github/pytorch/TensorRT/464/workflows/a07892ac-38f6-4ac9-9d48-69bbc0ce3acb/jobs/1396/artifacts

Thank you @narendasan, for now I'll definitely use those links, looking forward for release 1.2 to be officially out!

@narendasan can you share me the torch-tensorrt-1.2.0a0 whl file ?, the link above didn't work anymore


fix(modal): correctly remove custom class

Fix removal of custom class on closing/dismissing of modal

This fixes #4171.

:+1:


How to get filed value?

How to get or set filed value?

I believe we must use FastForm.of(context)?.values. However, for some reason FastForm.of(context) is always returning null

Values should always be read via onChanged listener on FastForm or FastFormField
Values should only be set via initialValue constructor parameter

FastForm.of replicates Form.of and should not be used from the outside.

If you need to retrieve FastFormState via FastForm.of() you need to pass context either by using Builder or wrapping your form fields into a stand-alone widget (see https://youtu.be/xXNOkIuSYuA)


Crash: no such file or directory

It seems like backmeup can't handle links yet.
2021/01/26 03:53:03 open /etc/alternatives/libblas.so.3-x86_64-linux-gnu: no such file or directory
Info about the file:
lrwxrwxrwx 1 root root 43 Dec 28  2017 /etc/alternatives/libblas.so.3-x86_64-linux-gnu -> /usr/lib/x86_64-linux-gnu/blas/libblas.so.3

Should be fixed in https://github.com/d-Rickyy-b/backmeup/commit/5d757525bbde26429e90a30ea5fba8d721db6f72


Resolve high security vulnerability (DoS) in existing version of http-proxy

Denial of Service in http-proxy
"Versions of http-proxy prior to 1.18.1 are vulnerable to Denial of Service. An HTTP request with a long body triggers an ERR_HTTP_HEADERS_SENT unhandled exception that crashes the proxy server. This is only possible when the proxy server sets headers in the proxy request using the proxyReq.setHeader function."

also, this version upgrade can possibly fix #182 at the same time


factorio health checks?

can i use rcon somehow?

Yeah, looks like pinging rcon port works fine in a helm chart, albeit makes logs messy af


use Image Orientation (Patient) attribute

Needed to support DICOMs with different image orientations so I made some small modifications in image_helper.
If you'd like to merge it I can refactor the code a bit and add some tests.

@carluri would you be able to take a look at this today?

Hi @w0nsh, I think there is significant interest (#26) in this. Would it be possible for  you to refactor it / add tests? We can then proceed with releasing it once the tests are in,

Hi @w0nsh, I think there is significant interest (see #19) in this. Would it be possible for you to refactor it / add tests? We can then proceed with releasing it once the tests are in,

Okay, done. It should be fixing #19 now

Awesome work @w0nsh! Really cool to see that my linear algebra courses actually came in handy. I've left a few comments and some requests for changes, only minor things really. It all looks good to me though I'm not the most familiar with matrix operations.
Once my comments have been addressed, we can merge this along with #28 and create a new release 🎉


Avoid auto creation of indexes in concat

If we create a Coordinates object using the concatenated result_indexes, and pass that to the Dataset constructor, we can explicitly set the correct indexes from the start, instead of auto-creating the wrong ones and then trying to overwrite them with the correct indexes later (which is what the current implementation does).

[x] Possible fix for #8871
[x] Tests added
[ ] User visible changes (including notable bug fixes) are documented in whats-new.rst
[ ] New functions/methods are listed in api.rst

All the tests in test_concat.py pass, but there is this change causes one failure in test_groupby.py:
FAILED xarray/tests/test_groupby.py::test_groupby_drops_nans - ValueError: no coordinate variables found for these indexes: {'id'}

#8884 is now merged into this PR but all that should do is make the MergeError I'm currently seeing get emitted slightly earlier.

The groupby test is still failing
FAILED xarray/tests/test_groupby.py::test_groupby_drops_nans - ValueError: no coordinate variables found for these indexes: {'id'}

This is weird, because it seems groupby creates a call to concat (on line 1861 of groupby.py) in which it attempts to concatenate along dim='id', but id exists as an index and as a data variable on the inputs, but not as a coordinate variable. The Coordinates constructor I added inside concat then complains about this situation. I can't tell whether this is a bug in groupby's input to concat that I've exposed (i.e. it should have made 'id' a coord), or an edge case for concat to handle.

Wait that's weird - the CI tests pass (though one doctest fails), but locally one of the pytest tests fails for me :/

Okay I've found out what this bug with id is, and it's not groupby's fault. This test reproduces the bug on this branch.
def test_concat_data_variable_without_index(self):
    ds = Dataset({'id': 1.0})
    result = concat([ds, ds], dim='id')  # raises in here
    expected = Dataset({'id': ('id', [1.0, 1.0])})
    assert_identical(result, expected)

ValueError: no coordinate variables found for these indexes: {'id'}

What's happening is that inside _dataset_concat there is a call to ds.expand_dims('id') for all the inputs. This sees that the id variable exists as a 0-D data variable, and promotes it to a 1D variable backed by an index (by calling create_default_index_implicit).
In my case I don't want this index to be created, but I'm not sure what the default behaviour of expand_dims should be. Should I either:

Add an option to ds.expand_dims for opting out of auto-creating the index (i.e. following on from #8711)?
Allow ds.expand_dims to create this index but then immediately discard it on the grounds that the inputs to concat had no indexes?

Basically: in the case that the concat dim doesn't already exist on the inputs, should an index be created along that new dim by default?

I'm starting to think that we should add some state machine hypothesis tests like the ones @dcherian is adding in #8658, which specifically check that:

At no point do we have an entry in ._indexes without a corresponding coordinate variable,
The set of indexes across some input datasets is never expanded silently by operations like concat/expand_dims.

what the default behaviour of expand_dims should be

A third option may be to keep a consistent behavior xarray-wise and expose a global option to (temporarily) change it, e.g.,
with xr.set_options(default_index_type=xr.NO_INDEX):
    # doesn't create any index along the new "x" dimension
    xr.concat(objs, "x")

# The `xr.NO_INDEX` sentinel value is used here instead of `None` to avoid
# confusion with the behavior of, e.g., `xr.Coordinates(coords={...}, indexes=None)`
# that creates default indexes for dimension coordinates.

A third option may be to keep a consistent behavior xarray-wise and expose a global option to (temporarily) change it, e.g.,

This seems like a lot, but it might make the most sense. Whether or not to create a new index whenever a 1D coordinate is created during another operation is something that will come up during concat (and combine_nested), expand_dims, maybe stack, kind of in constructors too?
I'm happy to implement whatever you think makes most sense @benbovy , as I would like to be able to merge this.

@benbovy last meeting @shoyer and I had a conversation about this, and thought that perhaps a new function kwarg should be implemented first, as a stepping stone towards a global flag to change the default of that kwarg later.

This PR now builds on top of #8960. That seemed to fix the groupby error (I think through fixing a buggy edge case in concat rather than actually adding the create_1d_index kwarg).
I'm almost there, but for for one weird test where I check that an UnexpectedDataAccess error is raised when auto-creating a new 1D coordinate index from my ConcatenatableArray class. Somehow the index is being succesfully created, pulling out the numerical value that is supposed to be hidden inside ConcatenatableArray, without triggering the exception. This baffles me how the indexing code has managed to get that number out.

Something weird is going on with the doctest failure - somehow my changes to concat have caused .to_stacked_array() to return a coordinate as a string dtype instead of an object dtype, but without failing any tests...
https://github.com/pydata/xarray/actions/runs/8852520437/job/24311394367?pr=8872#step:7:82

somehow my changes to concat have caused .to_stacked_array() to return a coordinate as a string dtype instead of an object dtype, but without failing any tests...

@benbovy would you mind taking a look at this?
The difference in behaviour occurs when you concatenate objects with a MultiIndex that points to string-dtype variables.
e.g. printing the stackable_vars that get concatenated along z inside .to_stacked_array in the failing doctest example:
[<xarray.DataArray 'a' (x: 2, z: 3)> Size: 48B
array([[0, 1, 2],
       [3, 4, 5]])
Coordinates:
  * z         (z) object 24B MultiIndex
  * variable  (z) <U1 12B 'a' 'a' 'a'
  * y         (z) <U1 12B 'u' 'v' 'w'
Dimensions without coordinates: x,
<xarray.DataArray 'b' (x: 2, z: 1)> Size: 16B
array([[6],
       [7]])
Coordinates:
  * z         (z) object 8B MultiIndex
  * variable  (z) <U1 4B 'b'
  * y         (z) object 8B nan
Dimensions without coordinates: x]

On this branch the resulting concatenated variable has a string dtype, but on main it has an object dtype. To me (who rarely ever uses MultiIndexes) this seems totally reasonable, and the behaviour on main of coercing variable in the result to object dtype seems wrong.
I tried to make up a simpler example, but the simplest example in the docs of a MultiIndex already starts with an object dtype to hold strings, which already seems weird to me
midx = pd.MultiIndex.from_arrays(
    [["R", "R", "V", "V"], [0.1, 0.2, 0.7, 0.9]], names=("band", "wn")
)
mda = xr.DataArray(np.random.rand(4), coords={"spec": midx}, dims="spec")
mda

<xarray.DataArray (spec: 4)> Size: 32B
array([0.642, 0.275, 0.462, 0.871])
Coordinates:
  * spec     (spec) object 32B MultiIndex
  * band     (spec) object 32B 'R' 'R' 'V' 'V'
  * wn       (spec) float64 32B 0.1 0.2 0.7 0.9

i.e. why is band here an object dtype instead of string?
I also don't know why any of this would be affected by the changes in this PR 😕

Thanks @benbovy

having the string dtype instead of the object dtype in the example above seems totally reasonable to me too (even better, actually).

Okay so I've added a regression test and changed the docstring to the new expected dtype.

Okay I think I'm happy with this PR now, ready for a full review!

@benbovy another friendly ping here - I would love to get this merged soon because my virtualizarr package currently can't run off xarray main without this PR! (see https://github.com/TomNicholas/VirtualiZarr/issues/14#issuecomment-2083487645)

Thank you both! ❤


Phone Area Code

Phone Numbers (#58) in the United States (#67 & #15) will have an area code relationship saved in the database. I'm going to use code as the primary field so it is easy to see what it is and here are some validation rules for it:

Allowed ranges: [2–9] for the first digit, and [0-9] for the second and third digits. When the second and third digits of an area code are the same, that code is called an easily recognizable code (ERC). ERCs designate special services; e.g., 800 for toll-free service. The NANP is not assigning area codes with 9 as the second digit.

https://en.wikipedia.org/wiki/North_American_Numbering_Plan

https://www.bennetyee.org/ucsd-pages/area.html


Fix numpy arange overload

Change order of start/stop to comply with numpy documentation (https://numpy.org/doc/stable/reference/generated/numpy.arange.html) and change data types to float.
This is my first ever PR on github for a public repository, so please be gentle. If I need to clear anything up, please let me know.

Hi! Thank you for your PR!
So, looking at the documentation, it seems that if any of start, stop or step is a float, then the return type is an array of float64. Is that right?
If this is the case, then ideally we would add overloads of np.arange which change the output type depending on the input type. It seems you already tried something like this? What was the problem?

Hi! Thank you for your PR!
So, looking at the documentation, it seems that if any of start, stop or step is a float, then the return type is an array of float64. Is that right?
If this is the case, then ideally we would add overloads of np.arange which change the output type depending on the input type. It seems you already tried something like this? What was the problem?

I tested it to make sure and indeed, when any of start, stop or step is a float, numpy will return an ndarray with dtype of float64.
I tried to make a second overload with the special case where all inputs are ints, however the test failed because Overloaded function signature 2 will never be matched: signature 1's parameter type(s) are the same or broader, which is not allowed apparently. I guess it makes sense, but then I don't know how to handle the special case where all inputs are ints, in which case numpy returns an ndarray with int32 or int64, depending on the size of the input integers.

Ah, try reversing the order of the overloads. So, put first the overload with all ints and then the overload with all floats.

Great, that seems to have worked!

Perfect! Thanks!


Improve documentation for Test filters to indicate/explain the difference between "package*" and "package.*"

In the Testing in Java & JVM projects - Test filtering section exists the 2 samples (they are not together )
# all classes at specific package (recursively)
gradle test --tests 'all.in.specific.package*'

....

gradle test --continuous --tests "com.mypackage.foo.*"

I tested both, the latter without --continuous - and both practically do the same, it runs the test classes from the package declared and all its sub-packages.
So I think is fair indicate for the developer in the official documentation what is the difference between package* and package.* (it according from foo.*) and furthermore when is mandatory (and why) use an approach over the other
Thanks for your understanding

This is actually documented as part of this section:

Note that the wildcard '*' has no special understanding of the '.' package separator. It’s purely text based. So --tests *.SomeTestClass will match any package, regardless of its 'depth'.


Fleet - fleet is not getting the latest chart version after upgrade Rancher to 2.5.4-rc5

What kind of request is this:
bug
Steps to reproduce:

Install Rancher v2.5.3 HA RKE
Upgrade Rancher to v2.5.4-rc5

Result:
Fleet stay at version v0.3.1 latest fleet RC is v0.3.2-rc5
Environment information

Rancher version: v2.5.4-rc5
Installation option: HA RKE

Rancher version v2.5.3 to v2.5.4-rc5
Fleet agent and Fleet controller both got upgraded to v0.3.2-rc5 the latest fleet release as expected.
Downstream clusters fleet agents got updated.
Bundles got deployed properly after a new cluster was provisioned too.


Fix https://github.com/spatie/laravel-data/issues/309

An attempt to fix the issue described in https://github.com/spatie/laravel-data/issues/309
I'm not really confident that I put the fix in the right place though; maybe it belongs inside the DataClassValidationRulesResolver instead.

This will all be fixed with v3, gonna close this one for now.


Reference external files inside of scripts

Hello...
good sirs and madams. I have an interesting thought. But first, a little background
With the plethora of Thaumcraft mods, their comes a time when it becomes necessary to do a little cleanup of the thaumcraft research tabs. Removing recipes and pages, re-adding recipes and all the new pages. More importantly, add descriptions that make sense to all those re-added recipes.
Now here is where we com into an issue, file size and the amount of text inside the scripts for the localization of researches. I propose a solution to this. The ability to reference a text file from, wait for it... inside the script!
 Pull the text for the localization from an external location of the script itself, and insert it during the loading of the scripts into the script itself!
"What do you mean?" you might be asking. Well, let me show you my idea!
Examples
Inside of the scripts for Thaumcraft we have this little tidbit.

game.setLocalization("en_US", "tc.research_page.TCWAND_wood1", "Insert description Here");

The sad part is that the description can span multiple pages, and when you start having one script for each page... You can see where this is going. THOUSANDS of lines of code. This leads to very easily making mistakes and/or just plain missing things.
My solution:

game.setLocalization("en_US", "tc.research_page.TCWAND_wood1", "TCWAND_wood1.txt");

Where the file that is named "TCWAND_wood1.txt" would contain the actual description that is going there.
An example you say? Ok, but only a short one.

game.setLocalization("en_US", "tc.research_page.TCWAND_wood1", "TCWAND_wood1.txt");

with the "TCWAND_wood1.txt" containing:

Here is the description. As short or as long as you like
[b]Maybe it could support formatting [/b]

Would function the same as:

game.setLocalization("en_US", "tc.research_page.TCWAND_wood1", "Here is the description. As short or as long as you like, Maybe it could support formatting.");

So... I hope you like my idea.
Forum Post for reference

Nice idea, but in my opinion, this should be implemented in MineTweaker first.


fix: Test/Start buttons unable to click.

Description
When create notification card dismissed, the empty notification panel will still cover on buttons such as Test/Start/Show code. Introduced in #4484

Task Item
close #4644

Screenshots

Coverage decreased (-0.003%) to 55.163% when pulling 4894f068baf36449d3155b1ceabd5f6179040b62 on notification-panel into 3d481cee6f36588899942491c6791a30f38bd0c8 on main.


Add Polish translation

Adds Polish translation to settings bundle generator. Selected the translation to be the same as the one used in Apple's Books app settings.

Hey @Tunous, thanks for your contribution. Please also add pl translations to the SwiftPackageListUI target. Should be a quick thing because 2/3 are matching with what you already have translated!

Done ✅

Thank you, looking good now, will make a release shortly!


refactor(assets-controllers): Simplify TokenBalancesController tests

Explanation
The TokenBalancesController tests have been refactored to use mocks instead of NetworkController and PreferencesController instances. This should make the tests easier to read, and it decouples the tests further from the other controllers.
References
Relates to #3708
Changelog
@metamask/assets-controllers
Added

Add getDefaultTokensState function to the TokensController

Checklist

[x] I've updated the test suite for new or updated code as appropriate
[x] I've updated documentation (JSDoc, Markdown, etc.) for new or updated code as appropriate
[x] I've highlighted breaking changes using the "BREAKING" category above as appropriate

If we're going to use this pattern in more of the tests, is it worth creating some sort of helper that returns fns that keeps track of the listener and a way to trigger them?
const mockStateChangeListener<T>() => {
  const listeners: ((state: T) => void)[] = [];

  return {
    onStateChange: (listener) => {
          listeners.push(listener);
    },
     triggerStateChange: () => {
         for (const listener of listeners) {
          listener(state);
        }
     }
  }
}

Maybe? Not sure if it's complicated enough to warrant the helper though

Good suggestion @jiexi . That sounds like it could be useful, but we may see this pattern used less often as we complete the BaseControllerV2 migrations so maybe the need for it will be eliminated fairly soon.
The BaseControllerV2 controllers will use the messenger rather than on[event] constructor parameters.


fix typo in list.rb

'Not' -> 'Note'

FTW!!!!!!!!!!!
:fireworks:

API docs are the bane of my existence...


Use .cpp instead of .cc

The makefile and associated arduino files are all cc, but Arduino uses .cpp so bringing in cpp files means renaming everything. it would be better to maintain their structure and naming as new files are brought in.

Right. The reason why I have chosen a ".cc" is Google test uses it. It was misdirection, however.


Handle nested copybooks?

I make heavy use of nested RPG copybooks and wondered if there is an appetite to handle this within VS Code?
I miss this mostly in the peek references and hover text but would also like to see it added to the linter.

Context
Version

Code for IBM i version
2.6.2

Visual Studio Code version
1.85.1

Operating System
linux_x64

Active extensions
COBOL (cobol): 9.12.25
Code Coverage for IBM i (code-coverage-ibmi): 0.1.7
Code for IBM i Walkthroughs (vscode-ibmi-walkthroughs): 0.4.0
Db2 for IBM i (vscode-db2i): 0.6.0
ESLint (vscode-eslint): 2.4.2
Emmet (emmet): 1.0.0
Error Lens (errorlens): 3.16.0
Extension Authoring (extension-editing): 1.0.0
Git (git): 1.0.0
Git Base (git-base): 1.0.0
GitHub (github): 0.0.1
GitHub Authentication (github-authentication): 0.0.2
Grunt support for VS Code (grunt): 1.0.0
Gulp support for VSCode (gulp): 1.0.0
IBM i Debug (ibmidebug): 1.0.0
IBM i Notebooks (vscode-ibmi-notebooks): 0.0.6
JSON Language Features (json-language-features): 1.0.0
Jake support for VS Code (jake): 1.0.0
JavaScript Debugger (js-debug): 1.85.0
Markdown Language Features (markdown-language-features): 1.0.0
Markdown Math (markdown-math): 1.0.0
Merge Conflict (merge-conflict): 1.0.0
NPM support for VS Code (npm): 1.0.1
Node Debug Auto-attach (debug-auto-launch): 1.0.0
RPGLE (vscode-rpgle): 0.24.0
Server Ready Action (debug-server-ready): 1.0.0
Simple Browser (simple-browser): 1.0.0
TODO Highlight (vscode-todo-highlight): 1.0.5
TypeScript and JavaScript Language Features (typescript-language-features): 1.0.0

Remote system

Setting
Value

IBM i OS
V7R5M0

Tech Refresh
3

CCSID
1146

SQL
Enabled

Source dates
Disabled

Enabled features

/QOpenSys/pkgs/bin
/usr/bin

/QSYS.LIB
/QIBM/ProdData/IBMiDebugService/bin

bash
attr
ILEDITOR.GETNEWLIBL
QZDFMDB2.PGM
startDebugService.sh

chsh
iconv

git
setccsid

grep

ls

md5sum

sort

stat

tar

In theory it should be possible, but I have not done it this far. I will stick it on my 2024 list.

I actually think I just did this with 0.27.0!

I was really excited when I saw the comment so I upgraded to 0.27.0 and created a simple example but unfortunately it's not working for me.
Here's what I tried ...

Source file called BASE_D.rpgleinc

**free

dcl-s NAME_t varchar(40) template;
dcl-s SHORT_NAME_t varchar(20) template;

Source file called EXAMPLE_D.rpgleinc - note that this references BASE_D.rpgleinc

**free

/include 'BASE_D.rpgleinc'

dcl-s CUSTOMER_NAME_t like(NAME_t) template;
dcl-s CONTACT_NAME_t varchar(20) template;

Source file called EXAMPLE1.pgm.rpgle - note that this references EXAMPLE_D.rpgleinc but not BASE_D.rpgleinc

**free

ctl-opt dftactgrp(*new);

/include 'EXAMPLE_D.rpgleinc'

dcl-s contact_name like(CONTACT_NAME_t);
dcl-s customer_name like(CUSTOMER_NAME_t);
dcl-s work_name like(NAME_t);

work_name = 'Richard';
snd-msg work_name;

return;

If I hover over CONTACT_NAME_t or CUSTOMER_NAME_t I get information about the field but if I hover over NAME_t I don't see anything.

Just tested. Looks like we do, but maybe not based on path. Though that might be a separate issue from this.

@worksofliam, OK, I think I'm getting it now.
In my example I had all three files in the same local directory though that was a sub-directory of my main project directory.
I tried the same example with my three files in the main project directory and I got the results I expected.
I then made a minor tweak to my include statements to point to the current directory (e.g. /include './BASE_D.rpgleinc') and it worked with my files in a sub-directory.

Source file called BASE_D.rpgleinc

**free

dcl-s NAME_t varchar(40) template;
dcl-s SHORT_NAME_t varchar(20) template;

Source file called EXAMPLE_D.rpgleinc - note that this references BASE_D.rpgleinc

**free

/include './BASE_D.rpgleinc'

dcl-s CUSTOMER_NAME_t like(NAME_t) template;
dcl-s CONTACT_NAME_t varchar(20) template;

Source file called EXAMPLE1.pgm.rpgle - note that this references EXAMPLE_D.rpgleinc but not BASE_D.rpgleinc

**free

ctl-opt dftactgrp(*new);

/include './EXAMPLE_D.rpgleinc'

dcl-s contact_name like(CONTACT_NAME_t);
dcl-s customer_name like(CUSTOMER_NAME_t);
dcl-s work_name like(NAME_t);

work_name = 'Richard';
snd-msg work_name;

return;

What confused me was that it found references in my first copybook i.e. EXAMPLE_D.rpgleinc without need to specify ./EXAMPLE_D.rpgleinc but not references in my second nested copybook i.e. BASE_D.rpgleinc. The nested copybook needed to be specified with the correct relative path.
Thank you, I'm excited again!


stack overflow is unrecoverable

the user will not have any chance to log anything

@moozzyk thanks - merged


Can't retrieve Docker Info: error during connect

What kind of request is this (question/bug/enhancement/feature request): Question
Steps to reproduce (least amount of steps as possible):
Rancher is running outside the cluster I'm trying to manage. I simply create a new cluster (in my case using the Hetzner Node Driver) and wait for provisioning. The entire installation and configuration of the nodes works perfectly, but at the end it stucks at "Waiting to register with Kubernetes".
In the logs, I can see the following output:
2021/06/03 07:13:00 [INFO] Creating cluster [c-hqkn7]
2021/06/03 07:13:05 [INFO] kontainerdriver rancherkubernetesengine listening on address <IP_ADDRESS>:46637
2021/06/03 07:13:05 [INFO] cluster [c-hqkn7] provisioning: Initiating Kubernetes cluster
2021/06/03 07:13:05 [INFO] [certificates] Generating CA kubernetes certificates
2021/06/03 07:13:05 [INFO] cluster [c-hqkn7] provisioning: [dialer] Setup tunnel for host [157.90.xxx.xxx]
2021/06/03 07:13:05 [ERROR] cluster [c-hqkn7] provisioning: Failed to set up SSH tunneling for host [157.90.xxx.xxx]: Can't retrieve Docker Info: error during connect: Get "http://%!F(MISSING)var%!F(MISSING)run%!F(MISSING)docker.sock/v1.24/info": can not build dialer to [c-hqkn7:m-pngvb]
2021/06/03 07:13:05 [ERROR] cluster [c-hqkn7] provisioning: Removing host [157.90.xxx.xxx] from node lists
2021/06/03 07:13:05 [ERROR] cluster [c-hqkn7] provisioning: [state] can't fetch legacy cluster state from Kubernetes: Cluster must have at least one etcd plane host: failed to connect to the following etcd host(s) [157.90.xxx.xxx]
2021/06/03 07:13:05 [INFO] [certificates] Generating Kubernetes API server aggregation layer requestheader client CA certificates
2021/06/03 07:13:05 [INFO] [certificates] GenerateServingCertificate is disabled, checking if there are unused kubelet certificates
2021/06/03 07:13:05 [INFO] [certificates] Generating Kubernetes API server certificates
2021/06/03 07:13:05 [INFO] [certificates] Generating Service account token key
2021/06/03 07:13:05 [INFO] [certificates] Generating Kube Controller certificates
2021/06/03 07:13:06 [INFO] [certificates] Generating Kube Scheduler certificates
2021/06/03 07:13:06 [INFO] [certificates] Generating Kube Proxy certificates
2021/06/03 07:13:06 [INFO] [certificates] Generating Node certificate
2021/06/03 07:13:06 [INFO] [certificates] Generating admin certificates and kubeconfig
2021/06/03 07:13:07 [INFO] [certificates] Generating Kubernetes API server proxy client certificates
2021/06/03 07:13:07 [INFO] cluster [c-hqkn7] provisioning: Successfully Deployed state file at [management-state/rke/rke-471135093/cluster.rkestate]
2021/06/03 07:13:07 [INFO] kontainerdriver rancherkubernetesengine stopped
2021/06/03 07:13:07 [INFO] cluster [c-hqkn7] provisioning: Building Kubernetes cluster
2021/06/03 07:13:07 [ERROR] cluster [c-hqkn7] provisioning: Cluster must have at least one etcd plane host: please specify one or more etcd in cluster config
2021/06/03 07:13:07 [ERROR] error syncing 'c-hqkn7': handler cluster-provisioner-controller: Cluster must have at least one etcd plane host: please specify one or more etcd in cluster config, requeuing

Other details that may be helpful:
I'm starting the Rancher container using docker run -d --restart=unless-stopped -p 80:80 -p 443:443 --privileged rancher/rancher:latest. The container is reachable via https://localhost.
I already checked other (already solved) issues but none of these solved my issue.
Environment information

Rancher 2.5.8 (Docker Hub container image)

The container is reachable via https://localhost. Not sure if you also configured this as server-url when you logged into Rancher, this needs to be a resolvable and accessible address for the agent that is started on the created node so it can connect to Rancher and set up the tunnel that is needed to provision the node.
The logs of the created rancher/rancher-agent container on the created node will also reveal why it cannot connect to Rancher.

Ah, okay. I see... no, since it's a locally installed Rancher (Docker) instance, it cannot connect to Rancher. I guess this already answers/solves the problem. But just a small question... what's the reason that Rancher must be resolvable/accessible address? I assumed Rancher works the other direction (Rancher connects to the Nodes and not vice versa).


MAINT: bundle Mathjax with built docs

Alternative to gh-7358
The bundled Mathjax is 5M, smaller than the generated images. Not sure about cross-browser friendliness.
Before merging, the scipy-mathjax submodule should be moved under the scipy organization, and we need also to decide whether we want to do it this way.
circleci: https://circle-artifacts.com/gh/scipy/scipy/2713/artifacts/0/home/ubuntu/scipy/doc/build/html-scipyorg/index.html
The scipy-mathjax repository (added as a submodule): https://github.com/scipy/scipy-mathjax
The rebuild.sh script there rebuilds (and commits) the stripped-down Mathjax package from scratch, so the rebuild process hopefully is reproducible in future if we need to update the bundled library.

The signal processing page renders pretty quickly on my desktop. It takes a couple of seconds on mobile. One minor disadvantage is in the "make mobile friendly" option in my browser, it doesn't render at all, whereas the static SVG from #7358 renders normally. But I do like that we don't have to ship as many binaries, so I don't have a strong opinion either way. If I had to choose one I'd go +0.5 for this (bundle-mathjax) method.

ok, moved the submodule under scipy organization, so this is no longer WIP
However, the move seems to have confused circleci --- it looks like it's caching the old submodule from the previous build...

You can force it to rebuild without cache from the CircleCI UI. I'll do that now.

That doesn't seem to affect the cached submodule.

Travis-ci manages to check it out just fine, so this seems to be just circleci flaking out.

It looks like the "no cache" option doesn't prevent it from using the source cache scipy/.git, so that's probably the source of the(ir) problem.

I'll close this PR and start a new one.


Improve parsing speed by ~4x

Moving back and forth between String and Character is pretty slow, as well as repeatedly computing String offsets using the custom subscripts.
Since all of the valid characters consume a single UTF8 code unit (by design) we can safely iterate on the string's UTF8View.
This approach is adapted from https://github.com/pointfreeco/swift-parsing/
Using swift-benchmark this change results in about a 4x speedup of the Mesh initializer.
name     time        std        iterations
------------------------------------------
Original 6208.000 ns ±   6.76 %     220336
Revised  1541.000 ns ±  14.90 %     897459

Looks great, thanks! That parsing code came from https://github.com/woltapp/blurhash in case you’d like to contribute these changes there as well.


Remote: support multiple remote library instances

Originally submitted to Google Code by kormbrek on 18 Feb 2014

When using remote libraries, sometimes there is a need to have the same library running on multiple hosts. Ideally a user keyword that executes a remote keyword should be able to ignore the particular instance being used. If Remote supported multiple instances and had a way to switch between them (as Switch Browser in Selenium2Library or Switch Connection in SSHLibrary), the user keywords would not need to "know" which instance to communicate with.
As a workaround, I created a proof of concept library[1] that encapsulates Remote and adds these to keywords: Switch Remote Library and Add Remote Library.
From the activity on the user group, I believe adding similar keywords to Remote would be beneficial for everyone, although there is some risk of BWIC due to name collision.
[1] https://groups.google.com/d/msg/robotframework-users/ZwRAPhrGEJI/pVAe8wfomEoJ

No interest since 2014. Closing.


[TA] (416) A user can add a property

Context
Miro
Changes in this PR

Brings the design of the add a property page closer to designed wireframes, sending data to match our new schema

Screenshots of UI changes
Before

After

 CAS1 Properties are not viewable in 'view list of properties'


paper-chip-input-autocomplete doesn't work on Safari or Firefox (on Mac)

Tested the demo on MacOS (10.12.) Safari / Firefox (latest versions). Search results are not displayed at all.

Indeed, there is a bug in the demo page, thanks! I will fix this for Safari.
Firefox has a few more problems with the polyfills. Actually, I don't know if I can fix it soon.

#22 fixed


Missing verifyEmail Action

Please insert "verifyEmail" action like in go client

Hi alexodus, the python client provides a public method GetEmailVerificationLink(email) which is expected to be called from your server, since the Identity Toolkit Javascript widget does not provide a UI to trigger the email verification flow.
Do you need other features that are missing from the GetEmailVerificationLink() method?

Oops! I had missed this function. Thanks and sorry


Add more fixes to multi cluster app

Based on review comments https://github.com/rancher/rancher/pull/18144, following things need to be done,

[x] Move namespace creation to user controller
[x] Avoid using cluster contexts in management controller, add data/conditions if required
[ ] Use timestamp on app and not multi cluster app to figure out if interval has passed
[ ]  replace interval map with TTL

Moving out of 2.2 as this is mostly covers backend improvements that are not fixing any bugs/issues.


Is the project up?

Checklist

[x] I'm asking a question
[x] I've looked through the README and FAQ for similar questions
[x] I've searched the bugtracker for similar questions including closed ones

Question

Is the project up? The latest commit was made on Jul 1.

It seems dead at the moment...
Search the bug tracker and you'll find some threads:
https://github.com/ytdl-org/youtube-dl/issues?q=is%3Aissue+is%3Aopen+dead
Common recommendation:
The yt-dlp fork.

I have an alternate package here:
https://github.com/89z/mech

Yeah it's still up on github if that's what u meant.
It did go down like 2-3 years ago bcoz of DMCA but it came back soon after that.

Yeah it's still up on github if that's what u meant. It did go down like 2-3 years ago bcoz of DMCA but it came back soon after that.

It's indeed 'up' here on GitHub, but the quality of the issue tracker is rapidly deteriorating due to the absence of any moderation...
A few examples:
https://github.com/ytdl-org/youtube-dl/issues/30311
https://github.com/ytdl-org/youtube-dl/issues/30281
https://github.com/ytdl-org/youtube-dl/issues/30264

Duplicate of #29965.

@nicolaasjan It’s not even the worst of it: #29809

@nicolaasjan It’s not even the worst of it: #29809

That's indeed really bad...

But almost worth it for @RonRicoSuave's solution, which I guess no-one tagged with a laugh just in case the OP took it seriously ... "guerilla moderation"

Whoa guys there's a new release!!!

Whoa guys there's a new release!!!

Unfortunately very little has changed.
See also this Reddit thread.
For example the throttling issue with YouTube is not fixed.


[Feature Request] Refresh button #166

TODO - add refresh rate advanced setting to all cypher-reports.


[BEAM-1330] - DatastoreIO Writes should flush early when duplicate keys arrive

Implementing mechanism to flush batches when a duplicated entity is found.

Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:

[ ] Choose reviewer(s) and mention them in a comment (R: @username).
[ ] Format the pull request title like [BEAM-XXX] Fixes bug in ApproximateQuantiles, where you replace BEAM-XXX with the appropriate JIRA issue, if applicable. This will automatically link the pull request to the issue.
[ ] Update CHANGES.md with noteworthy changes.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

See the Contributor Guide for more tips on how to make review process smoother.

GitHub Actions Tests Status (on master branch)

See CI.md for more information about GitHub Actions CI.

What is the next step on this PR?

What is the next step on this PR?

Hi @aaltay ! I need to add a new test to confirm the changes are good. All the tests in DatastoreV1Test linked to DatastoreWriterFn ran successfully, but I was thinking we need a new one.
What do you think?

Adding a new test for this use case sounds like a good idea

I agree with both of you. It would be good to add a new test.

thanks @fernando-wizeline - this PR looks good. I just added a couple comments.

Thanks for the feedback @pabloem ! I'm on PTO this week but will resume work on this next Monday.

Run Java PostCommit

Run Java PostCommit

LGTM!

Run Java PreCommit


Aggregation delay conversion to double

Aggregation function aggregate as double to avoid numeric overflow, but converting blocks to double[] too soon has two drawbacks:

double[] are larger than float[] and int[] and this may result in twice the footprint on heap when these arrays are retained by the DataBlockCache
If the values are read directly from a ForwardIndexReader, reading int/long/float values as double prevents autovectorization, resulting in a performance penalty.

Codecov Report

Merging #8139 (1dcbe6b) into master (8bbf93a) will decrease coverage by 57.20%.
The diff coverage is 0.00%.

@@              Coverage Diff              @@
##             master    #8139       +/-   ##
=============================================
- Coverage     71.39%   14.18%   -57.21%
+ Complexity     4303       81     -4222
=============================================
  Files          1624     1579       -45
  Lines         84198    82347     -1851
  Branches      12602    12405      -197
=============================================
- Hits          60116    11684    -48432
- Misses        19970    69797    +49827
+ Partials       4112      866     -3246

Flag
Coverage Δ

integration1
?

integration2
?

unittests1
?

unittests2
14.18% <0.00%> (-0.01%)
:arrow_down:

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

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


blog(geolocation): 5.0.0 Release

Pending successful vote and NPM release of<EMAIL_ADDRESS>

@NiklasMerz I made a change to address a concern raised in the discuss thread regarding the engine declarations, let me know if you still think it's good.


[DO NOT MERGE] Potential API change to table!

The goal that I'm trying to accomplish with this change is to allow you to reference users without the ::table, but not have to use users::dsl::*. I've found that when I'm writing functions which are working with a large number of tables (e.g. I can't import dsl), having ::table all over the place feels really verbose. This change is possible because Rust has two namespaces: "values" (constants, functions, etc) and "types" (structs, enums, type aliases, modules, etc).
However, I'm not 100% sure I want to make this change on its own. A common point of confusion among new users is when the dsl module should be imported, and what exactly that does. (I've also seen people do users::table when users::dsl::table is in scope, which gives a confusing error because users::table will be referencing http://docs.diesel.rs/diesel/associations/trait.HasTable.html#tymethod.table). This will just make that situation more confusing. Knowing when you can do users::id vs users.id vs id requires knowledge of exactly what we generate, and thorough knowledge of name resolution in Rust. It's something that's extremely hard for us to document well in the places people will be looking for it. Additionally, this many use lines just feels even more verbose. I'd want a solution that requires a single use line, or a way to eliminate them entirely.
So I think if we make this change, we should try to make this the canonical way to do things, or at least have users.id always work. This is actually possible, since we can re-export just the constant but not the type at the same level as the module. The main downside to doing that is all code which looks like this would break:
use schema::*;

let users = ...

This would error since you cannot have a let binding with the same name as a constant. This only affects code that was not using the dsl module, since you also cannot have a let binding with the same name as a unit struct.
I generally think that let users = users::table.stuff is a bit funky looking anyway, so I'm not sure if I'm actually concerned about this or not. If nothing else it'll cause a lot of breakage in our own test suite since I always use schema::*, but it's possible that the migration will be easier. If nothing else, I want to see how much work it is to migrate our test suite and crates.io, and also how much this improves the codebase of crates.io
If we do make this change, I think we can remove the dsl module entirely, and code which wants that can do use users::columns::* instead which is much more explicit about exactly what happens.

Immediately found code which validates my concerns in crates.io. Approximately this:
use schema::versions;

#[derive(Identifiable)] // <--- This requires `schema::versions` be in scope for the module
pub struct Version {
    // ...
}

impl Version {
    //       v---- This variable name will always error if `schema::versions` is in scope for the module
    fn max(versions: Vec<Self>) -> Self {
        // This function does not do anything Diesel related
    }
}

If we made this change, I'd probably end up fixing our test suite by either limiting the imports we do from schema or always importing them at the function level instead of the module level. The problem is, we have code that enforces that you do the import at the module level. With this change, you could no longer use a variable with the same name as the table anywhere in the file, even though it's often the most convenient variable name for a collection in functions which have nothing to do with Diesel.

Yeah so I think this is pretty much dead unless we're ok with this change as is. I explored if we could have all our derives which take the table name take a path instead, and it's basically impossible unless we change Rust to allow a path fragment to be followed by ::


Initialize UI

Get everything setup and basic boilerplate code for initial UI

bun package manager
Vite tsx app
elysia webserver
zustand stores for state management
zod schemas

done


updated link in constructs reference to proper 'learn about retry str…

…ategies location'
Affected Components

[ ] Content & Marketing
[ ] Pricing
[ ] Test
[X ] Docs
[ ] Learn
[ ] Other

Pre-Requisites

[ X] Code is linted (npm run lint)

Notes for the Reviewer

I updated a hyperlink to work appropriately.
New Dependency Submission

The link was broken

@tnolet I can't personally preview as I don't have access, but here is the PR


Update post integration issues

After the integration is updated, all Bluetooth mesh devices in the multi-mode gateway will be offline. After the integration is closed, restart and return to normal???

Homeassistant has also been updated to the latest version

How many gateways do you have?

6个
发自我的iPhone
------------------ Original ------------------
From: Alex X @.>
Date: Tue,Jun 15,2021 9:46 PM
To: AlexxIT/XiaomiGateway3 @.>
Cc: hbwy1314 @.>, Author @.>
Subject: Re: [AlexxIT/XiaomiGateway3] Update post integration issues (#363)

Xiaomi has a bug if user has more than one BLE Mesh gateway. I working on fix

I have 1 gateway, connected to the EUR server, and all my HT2 bluetooth devices don't report any values. 2 of them report what seems to be stuck data and not related to the read data the devices are showing. Is it the same issue?

@modem no. This problem only with Mesh switches and Mesh bulbs.

I was able to solve my issues. I'm behind PiHole DNS and the gateway was not able to connect to the cloud. I restored the Pihole interface settings and it all started to work.


allow sorting by product name in trader dashboard inventory tab

probably need to split this into 2 columns

#98


Validation documentation isn't comprehensive

It seems that the documentation generator ignores important items such as:

[ ]  Nested object documentation
[ ]  Conditionals like Joi.when
[ ]  Min + Max on arrays
[ ]  String sizes
[x]  Nested array items
[x] Restricted inputs (Joi.only())

Would be great to support these!

Thank you for the contribution, next release will cover these.


M1.3: Manage Encryption

Encryption - For enhanced privacy the documents and other metadata shall be encrypted as follows:
The files will be encrypted using AES256-GCM and Chacha20 as symmetric cyphers in cascade and a random private key of 512 bit. The symmetric private key will be encrypted by the asymmetric public key of the user. The user will be able to decrypt using his/her own asymmetric public key.
The documents to be signed from the counter part shall be encrypted with a random private key and the same shall be encrypted with the public key of the recipient. The recipient will be able to decrypt using his/her own asymmetric private key.
The Dapp must manage the settings of the initial asymmetric public/private keys.
The open source library that we will use is libsodium which offers the necessary primitives:
https://doc.libsodium.org/
https://www.npmjs.com/package/libsodium

the functions to encrypt/decrypt have been done.
We need to generate/store a key pair dedicated to encrypt/decrypt because it's not possible to access the private key of the wallet and there is no encryption api exposed.

an UI part has to be done inside the settings.

Settings is done. Storing the encrypted file on chain has been done. It's pending the reading back and decryption.


[Feature]: Timeout disconnection from broker

Feature Description
Timeout disconnection from broker
Use Case
Timeout disconnection from broker
Proposed Solution
No response

don't delete sub chips on disconnect


removed tutorial about erlang api

removal as they got replaced by tutorials using the sdk, we don't endorse this way of node interaction and they are most likely not up-to-date any more

This would be good developers onboarding, but I agree, not for users


Peer feedback

The dashboard is really fancy, but something here appears to be a little bit confusing:

The title says "top 30 most productive directors" for each category, but some genre contains less than 30 directors in the bar chart, which is opposite to the title;
The trend becomes a bit messy when many directors are selected.

Thank you for your feedback.
Complied feedback here: https://github.com/UBC-MDS/DSCI532_GROUP104_Movies/issues/69


Support for Espressif ESP32

Similar to #1, support for the ESP32 micro-controller opens up a large number of inexpensive edge devices that come stock with wifi, bluetooth and crypto.

I think there's a port of freertos that works in esp32, but it's unofficial.

espressif IDF utilizes FreeRTOS already
see here

I assume there is still additional work to be done for Amazon to validate their libs but that’s great that it already supports FreeRTOS in general.

Thank you for the valuable feedback. Such requests are important to us and we will take them into consideration in prioritizing our support for the ESP32 device.

Is there support for ESP32 or will it take time ?

We value your input, and will consider support for ESP32 in our future plans.

Any update on this?

Thanks again for your interest. ExpressIf and Amazon FreeRTOS (AFR) are currently collaborating on a project to allow AFR to support ESP32 (see here). We will keep you appraised about when the port to ESP32 is available.

Nice. Ordering new esp32 boards now!

I hope it will come out soon !

Any comments on the future direction of this? Will you be porting ESP32 specific (SMP related) FreeRTOS changes to AFR or pushing for ExpressIf to integrate AFR related bits into their SDK? This impacts future planning as their current AWS IoT integration is based on the aws-iot-device-sdk-embedded-C which AFR is not using (as far as I can see. Any rationale on this?)

Would also be curious if FreeRTOS will integrate the SMP and other changes, but also if the ESP code will still use the lwip stack or if the goal is to use the AFR tcp/ip stack?
Little off topic, but for the esp8266 recent changes support an extra 16k of iram that makes SSL more practical, and might make this a possible limited target too.
'SSL maximum fragment size' support on the Amazon servers is badly needed and is there any chance of  changes on that side too to better support the IoT using limited devices?

We are currently working with Espressif to launch support for ESP32. We are using a single core only, but the SMP version from Espressif may be compatible, if needed for your use case.

Same question here =) Would be nice to have an ETA even not precise but we can get an idea, I got an huge project coming, If i start with espressif SDK and three weeks later it's release I wlll waste time.

Support for Espressif ESP32 is now available with the release of Amazon FreeRTOS 1.2.5.

That's great news!

No, dual core is not supported at this time with Amazon FreeRTOS for ESP32.

Adding to the above comment, Espressif has developed ESP-IDF FreeRTOS which is a modified version of Vanilla FreeRTOS with support for SMP.
It might be possible in your case to combine the ESP-IDF version of the FreeRTOS kernel with Amazon FreeRTOS libraries to run FreeRTOS on dual cores and securely connect to AWS IOT.

@ravibhagavandas ESP-IDF also has support for AWS IoT using the AWS IoT SDK for C

Anybody else having trouble with compiling demo code -because of current lwip stack of IDF-? :hand:
i.e. lwip/ip_addr.h:85:39: error: 'ip_addr_t {aka const struct ip4_addr}' has no member named 'u_addr'

cagdasdoner (If IDF_PATH is set then is recommend that you remove it before building Amazon FreeRTOS

All the demos run properly, except the OTA update demo, it give following error ,undefined reference to `vStartOTAUpdateDemoTask'.
I just executed all demos, by commenting and commenting demos in aws_demo_runner.c
Looks like something minor, kindly help

Amazon doesn't support lwIP which is required for OTA updates.  You'll need to update the OS to support lwIP or update OTA to use the sockets that Amazon is using.  I suspect updating the OTA would be easier.
I've switched to using the official ESP-IDF instead of a:FreeRTOS.

@Noggin01 , Got it, thanks for the reply!!

As ESP32 is now supported, I am closing this. Let us know if you need anything else.
Thanks.


Parameter hints eat arrow keys

VSCode Version: 1.23.1
OS Version: Windows 10 x64

Steps to Reproduce:

Start typing a method with multiple signatures.
After entering parameters, try going down using arrow keys.
Instead of cursor going to next line, it cycles the signatures in the parameter hint popup.

Does this issue occur when all extensions are disabled?: Yes

In the above screenshot, when the cursor is after the last parameter, i.e. after s of this.totalPages, I cannot go to the next line without dismissing the hint.
 I don't want to completely disable it but I don't want to hit esc key everytime I enter few chars. It'd be nice if:

it didn't steal focus
can appear after a delay
or disabled but can be manually invoked with a key combo

Agreed. Although that'd still be cumbersome with langs that run overloading on steroids (c#, java etc.) but in this case, it's better than current behavior.

This is an annoyance of mine as well. VS Code is completely obnoxious for editing lists because of it, and is annoying day to day as well. This, and the tooltip text being selectable and in the way, are serious issues that detract from everyday usability.
I think it would be best for the list to close if you've typed something that's valid.
For example, if I'm making a list of values, I'll copy and past the first one, then try to use the arrow keys to navigate to each additional item to edit it. However, because each item is an property, VS Code keeps the menu open with suggestions even though I've already finished typing what I want it to be.
// In-progress list, menu pops after editing each line
private readonly freeLevels = [
    LevelId.L1,
    LevelId.L1,
    LevelId.L1,
    LevelId.L1,
    LevelId.L1,
];

// After editing each item
private readonly freeLevels = [
    LevelId.L1,
    LevelId.L2,
    LevelId.L3,
    LevelId.L4,
    LevelId.L5,
];

Hey @jrieken - is this ready for implementation at least for the one-cycle option? Would love to take it if so.

 Go for it.

Okay here's my go at it:
#53757
I also made it so that if you go up and are on the first signature it closes the hints. Basically, if you're going out of bounds of the list, you're closing the hints. Seems like the right solution, and will help with the larger sets of signatures issue.


Updated check_tfrecords usage in README.md

Seems that in README.md the usage for check_tfrecords hasn't been updated yet.

@googlebot I signed it!


How to override default configuration for formatters and linters?

Describe the bug

First it's not a bug, but more like a question:
conform and nvim-lint help don't say anything about overriding the default configuration or rules of any formatter or linter.
How can this be achieved? Do these plugins pickup config files inside a project? is there a way to add global configuration that these plugins will pick?
Perhaps it could be worth adding a NOTE with an exaple on how to do it for any language formatter/linter.
To Reproduce

Format or lint any filetype for which you have a formatter or linter set.
Desktop

OS: macOS Sonoma 14.4.1
Terminal: iTerm2

Neovim Version

NVIM v0.9.5
Build type: Release
LuaJIT 2.1.1710088188
   system vimrc file: "$VIM/sysinit.vim"
  fall-back for $VIM: "/opt/homebrew/Cellar/neovim/0.9.5/share/nvim"

I wouldn't know. It would be best if this question is raised in the respective plugins, they will be better able to answer this. The only examples that I use is the default kickstart provided stylua with .stylua.toml config file and the lsp clang with the .clang-format config file.


OpenLens does not work from launcher, however it works from the installed path.

Describe the bug
I installed OpenLens using homebrew on a Mac M1 Pro,  but it does not connect when opened from /Applications/OpenLens.app, however when opened from the terminal through this path "/opt/homebrew/Caskroom/openlens/6.5.2-366/OpenLens.app/Contents/MacOS/OpenLens", it works fine
To Reproduce
Steps to reproduce the behavior:

install OpenLens thorugh homebrew using ´brew install openelns´
after having aws and kubectl configured and working fine
open Applications and click on OpenLens app to open
See error

Expected behavior
The application should work fine from the launcher but it does not
Screenshots
Opened from the launcher

Opened from terminal through /opt/homebrew/Caskroom/openlens/6.5.2-366/OpenLens.app/Contents/MacOS/OpenLens

Environment (please complete the following information):

Lens Version: 6.5.2
OS: [e.g. OSX] MacOS 13.5.1 (22G90)
Installation method (e.g. snap or AppImage in Linux): homebrew

Logs:
When you run the application executable from command line you will see some logging output. Please paste them here:
E0904 11:37:15.384216 4992 proxy_server.go:147] Error while proxying request: getting credentials: exec: executable aws not found

It looks like you are trying to use a client-go credential plugin that is not installed.

To learn more about this feature, consult the documentation available at:
https://kubernetes.io/docs/reference/access-authn-authz/authentication/#client-go-credential-plugins

Failed to get /version for clusterId=: Internal Server Error

Kubeconfig:
apiVersion: v1
clusters:
- cluster:
    certificate-authority-data:
    server:
  name:
contexts:
- context:
    cluster:
    user:
  name:
current-context:
kind: Config
preferences: {}
users:
- name:
  user:
    exec:
      apiVersion: client.authentication.k8s.io/v1beta1
      args:
      - --region
      - eu-west-1
      - eks
      - get-token
      - --cluster-name
      -
      - --output
      - json
      command: aws
      env:
      - name: AWS_PROFILE
        value: saml

Same here, listening on on this issue

I also have the same problem but with kubectl command


Update knowlege in both directions

if we learn something from a channel in direction A --> B we currently update the A-->B arc in the uncertainty network. However we also learn something about the B-->A arc which we completely neglect as of now. This should be fixed before the release

BTW. we have this in renepay plugin,  here flow.h. We first realized that a bound in the liquidity [a,b), meaning that the liquidity satisfies a<=l0<b, implies that the liquidity in the opposite direction l1 is bounded by [a',b'), where c is the capacity of the channel, a'=c-b and b'=c-a.
When knowledge is updated in a direction, we update the [a,b) and we recompute [a',b').


Create automatically the requirements.txt

Using the module graph dependencies, we could use it to generate which are the modules that we need to install and build the requirements.txt automatically.

We could use pydeps2requirements (I have to update it to fix a small error ) that we could use for that ... (and possibly improve it)
TEST 1:
pydeps test/code_inspector/src/ --max-bacon=0 --show-raw-deps --nodot --noshow | python pydeps2requirements.py
astor           # from: src.staticfg.model
cdmcfparser     # from: src.code_inspector
click           # from: src.code_inspector
colorama        # from: click._compat
docstring_parser # from: src.code_inspector
graphviz        # from: src.staticfg.model
TEST 2:
pydeps /Users/rosafilgueira/HW-Work/Research/somef/src/somef  --max-bacon=0 --show-raw-deps --nodot --noshow | python pydeps2requirements.py
IPython         # from: ipykernel.connect, ipykernel.displayhook, ipykernel.e...
OpenSSL         # from: urllib3.contrib.pyopenssl
PIL             # from: ipykernel.pylab.config, matplotlib.backend_bases, mat...
PyQt5           # from: IPython.external.qt_loaders, PIL.ImageQt, pandas.io.c...
_cffi_backend   # from: cffi.api, cffi.commontypes, cffi.verifier
_distutils_hack # from: setuptools
_pytest         # from: pytest
_scandir        # from: scandir
appnope         # from: ipykernel.eventloops
asn1crypto      # from: cryptography.hazmat.backends.openssl.backend, cryptog...
atomicwrites    # from: _pytest.assertion.rewrite
attr            # from: _pytest._code.code, _pytest.fixtures, _pytest.main, _...
backcall        # from: IPython.core.events
bcrypt          # from: paramiko.ed25519key, paramiko.pkey
botocore        # from: pandas.io.s3
bs4             # from: pandas.io.html, somef.cli, somef.createExcerpts, soup...
certifi         # from: requests.certs
cffi            # from: PIL.Image, PIL.PyAccess, scipy._lib._ccallback, zmq.u...
chardet         # from: bs4.dammit, html5lib._inputstream, pygments.lexer, re...
click           # from: somef.main
click_option_group # from: somef.main
colorama        # from: IPython.terminal.interactiveshell, click._compat, jed...
cryptography    # from: OpenSSL.SSL, OpenSSL._util, OpenSSL.crypto, paramiko....
cycler          # from: matplotlib.pyplot, matplotlib.rcsetup
dateutil        # from: ipyparallel.util, jupyter_client.jsonutil, jupyter_cl...
decorator       # from: IPython.core.formatters, IPython.core.history, IPytho...
defusedxml      # from: nbconvert.filters.strings
dill            # from: ipykernel.pickleutil, ipyparallel.client._joblib, ipy...
funcsigs        # from: _pytest.compat
html5lib        # from: bs4.builder._html5lib, rdflib.term
idna            # from: cryptography.x509.general_name, jsonschema._format, r...
importlib_metadata # from: jsonschema, markdown.util
ipykernel       # from: IPython, IPython.core.display, IPython.core.pylabtool...
ipyparallel     # from: ipykernel.pickleutil, ipykernel.zmqshell
ipython_genutils # from: ipykernel.comm.manager, ipykernel.connect, ipykernel....
ipywidgets      # from: tqdm.notebook
isodate         # from: rdflib.term
jedi            # from: IPython.core.completer
jinja2          # from: nbconvert.exporters.html, nbconvert.exporters.templat...
joblib          # from: ipyparallel.client._joblib, ipyparallel.client.view, ...
jsonschema      # from: nbformat.validator
jupyter_client  # from: IPython.kernel, ipykernel.connect, ipykernel.displayh...
jupyter_core    # from: ipykernel.kernelapp, ipykernel.zmqshell, jupyter_clie...
kiwisolver      # from: matplotlib._layoutbox
lxml            # from: bs4.builder._lxml, html5lib.treebuilders.etree_lxml, ...
markdown        # from: somef.cli, somef.createExcerpts
markupsafe      # from: jinja2, jinja2.Environment, jinja2.asyncsupport, jinj...
matplotlib      # from: IPython.core.pylabtools, ipykernel.pylab.backend_inli...
mistune         # from: nbconvert.filters.markdown_mistune
more_itertools  # from: _pytest.python_api
mpi4py          # from: ipyparallel.engine.engine
nacl            # from: paramiko.ed25519key
nbconvert       # from: IPython.utils.io, notebook.services.contents.filemana...
nbformat        # from: IPython.core.interactiveshell, IPython.core.magics.ba...
networkx        # from: nltk.parse.DependencyGraph, nltk.parse.dependencygraph
nltk            # from: somef.configuration, textblob.base, textblob.blob, te...
nose            # from: IPython.external.decorators._decorators, IPython.exte...
notebook        # from: IPython.html, IPython.utils.io, nbconvert.preprocesso...
numpy           # from: IPython.core.formatters, IPython.core.magics.namespac...
pandas          # from: networkx.convert, networkx.convert_matrix, sklearn.ut...
paramiko        # from: zmq.ssh.tunnel
parso           # from: jedi.api, jedi.api.classes, jedi.api.completion, jedi...
pathlib2        # from: PIL.Image, _pytest.pathlib, importlib_metadata._compa...
pexpect         # from: IPython.utils._process_posix, zmq.ssh.tunnel
pickleshare     # from: IPython.core.interactiveshell
pluggy          # from: _pytest._code.code, _pytest.config, _pytest.hookspec
prometheus_client # from: notebook.base.handlers, notebook.metrics
prompt_toolkit  # from: IPython.terminal.debugger, IPython.terminal.interacti...
psutil          # from: joblib.externals.loky.backend.utils, joblib.externals...
ptyprocess      # from: pexpect.pty_spawn, terminado.management
pvectorc        # from: pyrsistent._pvector
py              # from: _pytest._code.code, _pytest._code.source, _pytest.ass...
pycparser       # from: cffi.cparser
pygments        # from: IPython.core.oinspect, IPython.lib.display, IPython.l...
pygraphviz      # from: networkx.drawing.nx_agraph
pyrsistent      # from: jsonschema._types
pytest          # from: _pytest.compat, _pytest.config, _pytest.fixtures, _py...
pytz            # from: pandas.core.arrays.datetimes, pandas.core.dtypes.dtyp...
rdflib          # from: somef.data_to_graph, somef.schema.software_schema
regex           # from: nltk.classify.textcat, nltk.tokenize.casual
requests        # from: jsonschema.validators, nltk.parse.corenlp, somef.cli,...
scandir         # from: pathlib2
scipy           # from: networkx.algorithms.assortativity.correlation, networ...
send2trash      # from: notebook.services.contents.filemanager
setuptools      # from: cffi.ffiplatform, numpy.distutils.command.bdist_rpm, ...
sip             # from: IPython.external.qt_loaders
six             # from: OpenSSL.SSL, OpenSSL._util, OpenSSL.crypto, pytest....
sklearn         # from: nltk.classify.scikitlearn, nltk.parse.transitionparser
soupsieve       # from: bs4.element
sqlalchemy      # from: pandas.io.sql
terminado       # from: notebook.terminal, notebook.terminal.handlers
testpath        # from: IPython.testing.plugin.ipdoctest, nbconvert.exporters...
textblob        # from: somef.header_analysis
threadpoolctl   # from: sklearn.cluster._kmeans
tornado         # from: ipykernel.ipkernel, ipykernel.kernelapp, ipykernel.ke...
tqdm            # from: nltk.util
traitlets       # from: IPython.core.alias, IPython.core.application, IPython...
typing_extensions # from: sklearn.externals._arff
urllib3         # from: requests, requests.adapters, requests.exceptions, req...
wcwidth         # from: IPython.terminal.ptutils, prompt_toolkit.utils
webencodings    # from: html5lib._inputstream
yaml            # from: networkx.readwrite.nx_yaml, nltk.data
zipp            # from: importlib_metadata
zmq             # from: ipykernel.eventloops, ipykernel.heartbeat, ipykernel....

Will we know which version should be used?
I think this is a potential interesting problem. We should definitely have this issue here and revisit it later (e.g., when creating Dockerfiles that build and run a component).

Another tool that I found for this is pipreqs
pipreqs code_inspector --- it automatically generates a file called requirements.txt
requirements.txt:
cdmcfparser==2.3.2
Click==7.0
matplotlib==3.1.1
astor==0.8.1
graphviz==0.16
docstring_parser==0.7.3
networkx==2.5.1
(mypython3) MBP-RF:code_inspector rosafilgueira$ more rosa.txt
cdmcfparser==2.3.2
docstring_parser==0.7
astor
graphviz
click

very cool. This one: https://github.com/jupyterhub/repo2docker is the one used to create Dockerfiles, so I guess it may use it underneath it.

Simple fully compatible pipreqs wrapper that supports python files and jupyter notebook pipreqsnb

I run with pigar (removing code_visualization.py) and this is the requirements.txt. It is also very good!
pigar -P .
Automatically generated by https://github.com/damnever/pigar.
code_inspector/code_inspector.py: 24
Click == 7.0
code_inspector/staticfg/model.py: 7
astor == 0.8.1
code_inspector/code_inspector.py: 25
cdmcfparser == 2.3.2
code_inspector/code_inspector.py: 26
code_inspector/test/test_docstring_parser/google_docstring_test.py: 3
code_inspector/test/test_docstring_parser/numpy_docstring_test.py: 3
code_inspector/test/test_docstring_parser/sphinx_docstring_test.py: 3
code_inspector/test/test_docstring_parser/sphinx_docstring_test_v2.py: 3
docstring_parser == 0.7.3
code_inspector/staticfg/model.py: 8
graphviz == 0.16

I think for this we should probably have a corpus of tricky ones and give it a try. I am sure they will all work with code inspector, but once you start digging we will find some issues.

Ok! I have integrated Pigar in code_inspector. For doing that, I have created a method called find_requirements in which we call Pigar (it will be very easy to call to another tool if we want to in the future).
The requirements are integrated in the final json file :) ! And I delete the intermediare txt file created by Pigar - but in the future we might want to keep it - since we might have to use it (to install the requirements and later try to execute automatically a repository).
Pigar has an option to search PyPI for the missing modules and filter some unnecessary modules, answering y\N. I have configured to answer 'y' ... but we might want to change this in the future (answering to 'N'). It will be also easy to do it as an additional parameter.
Furthermore, I have created an additional argument (-r) to indicate if we want to find the requirements (by default it doesnt do it).
For example:
python code_inspector.py -i /Users/rosafilgueira/HW-Work/Research/somef -r

Already supported by integrating pigar


Mobile Trading Page: Positions showing wrong data

This is wrong:
looks to be pulling in the positions from Portfolio

Should be:

Needs to pull in information for positions in that specific market trading pg....it is currently pulling in information from the portfolio pg which contains different information.

Appears to be fixed. A couple of tweaks:
Can the 'TYPE' label line up to the left with outcome and type - 16px from left.
@Chwy5 With Unrealized P/L can this follow the same rules with hiding the full decimal value and revealing on hover? Showing 9 decimal places won't fit on mobile as can be seen above

yes

@matt-bullock and @Chwy5  If this tix is fixed then close it. If there are addition changes create a different tix.
by sending us back this tix you are saying the developer failed in addressing the issue.

Correct data - clsong this ticket  @matt-bullock plz create a new ticket for "Type"


Issue on edit profile pic

Can't put any info in bio even putting my profile pic.
Always freeze.

SKK HYPER X CORE
Android version 6.0

Discussing with @Shadyzpop


Payment history

Client library should be able to produce an array of payments.
I have a branch that implements a very simple version of this for Fluttermint. But we should probably store more metadata than just paid e.g. "timestamp" or perhaps "description"? Should also think about how to include on-chain payments.
@your-sudden-death is going to take this one. Could you reply here so I can assign it to you?

I think we can close this now that we have the operation log.


List levels are not correctly mapped to Jira markdown

Following list in Obsidian
- top level 1
	- sub item 1
	- sub item 2
- top level 2
	- sub item 3

is translated into
-- top level 1
- sub item 1
- sub item 2
- top level 2
- sub item 3

which is not correct. It should  be something like
- top level 1
-- sub item 1
-- sub item 2
- top level 2
-- sub item 3

I'm using latest version of the plugin (0.0.3) and Obsidian v1.4.14

I took a look at the relevant post and agree with you, I will make appropriate adjustments there and bring forward a smaller update.

I'm glad to hear that, I'll update soon so that callouts can be transferred as well.

The latest version now fixes the bug and support callouts too. 👍

Thanks for fixing but after upgrade to 0.1.0 I'm having different kind of problem - when I try to migrate note to Jira format I get only last line - for example for:
- top level 1
	- sub item 1
	- sub item 2
- top level 2
	- sub item 3

#tag #other

note conversion gives me only this:
h1.tag #other

Same for the selection - only last line is being copied

Thank you for this report. I directly fixed it and published a hotfix for it.


On Android your  Digital Assets Links Json File is failing To be verified

Users will not go directly to your app from links associated with this path, but will see the app picker or be directed to the web browser. Once you have fixed these issues and published a new version, users need to update their app before the links will work.
FIX DOMAIN ISSUES
3 domains failed validation
Fix domain issues by verifying ownership of web links associated with this path

Ok apparently  you can add missing hashes inside Appsflyer platform


Query that worked in 2.2.29 doesn't work in 3.0.24

OrientDB Version: 3.0.24
Java Version: 1.8.0_221
OS: Windows 10
Expected behavior
A query I had running in Orient 2.2.29 doesn't behave the same as in 3.0.24
Actual behavior
UnionAll appears to behave differently. Is there something I need to check in this query?
 The explanation seems to be fine though.

FETCH FROM SUBQUERY

LET (once)
$scope =
+-------------------------
| + FETCH FROM SUBQUERY
|   + FETCH FROM RIDs
|     [#9:5]
|   + DEPTH-FIRST TRAVERSE
|     [out('scopedEdge')]
| + FILTER ITEMS WHERE
|   $depth > 0
+-------------------------
LET (once)
$$$SUBQUERY$$_0 =
+-------------------------
| + LET (once)
|   $$$SUBQUERY$$_0 =
|     +-------------------------
|     | + LET (once)
|     |   $$$SUBQUERY$$_0 =
|     |     +-------------------------
|     |     | + FETCH FROM VARIABLE
|     |     |   $scope
|     |     | + FILTER ITEMS WHERE
|     |     |   n_3aname = 'BW1'
|     |     +-------------------------
|     | + LET (once)
|     |   $$$SUBQUERY$$_1 =
|     |     +-------------------------
|     |     | + FETCH FROM VARIABLE
|     |     |   $scope
|     |     | + FILTER ITEMS WHERE
|     |     |   n_3aname = 'NW1'
|     |     +-------------------------
|     | + GENERATE 1 EMPTY RECORD
|     | + CALCULATE PROJECTIONS
|     |   unionall(($$$SUBQUERY$$_0), ($$$SUBQUERY$$_1))
|     | + EXPAND
|     +-------------------------
| + LET (once)
|   $$$SUBQUERY$$_1 =
|     +-------------------------
|     | + LET (once)
|     |   $$$SUBQUERY$$_0 =
|     |     +-------------------------
|     |     | + FETCH FROM SUBQUERY
|     |     |   + FETCH FROM SUBQUERY
|     |     |     + FETCH FROM VARIABLE
|     |     |       $scope
|     |     |     + CALCULATE PROJECTIONS
|     |     |       out('n_3aparent')
|     |     |     + EXPAND
|     |     |   + FILTER ITEMS WHERE
|     |     |     n_3aname = 'PointsA'
|     |     | + CALCULATE PROJECTIONS
|     |     |   in('n_3aparent')
|     |     | + EXPAND
|     |     +-------------------------
|     | + LET (once)
|     |   $$$SUBQUERY$$_1 =
|     |     +-------------------------
|     |     | + FETCH FROM SUBQUERY
|     |     |   + FETCH FROM SUBQUERY
|     |     |     + FETCH FROM VARIABLE
|     |     |       $scope
|     |     |     + CALCULATE PROJECTIONS
|     |     |       out('n_3aparent')
|     |     |     + EXPAND
|     |     |   + FILTER ITEMS WHERE
|     |     |     n_3aname = 'PointsB'
|     |     | + CALCULATE PROJECTIONS
|     |     |   in('n_3aparent')
|     |     | + EXPAND
|     |     +-------------------------
|     | + GENERATE 1 EMPTY RECORD
|     | + CALCULATE PROJECTIONS
|     |   unionall(($$$SUBQUERY$$_0), ($$$SUBQUERY$$_1))
|     | + EXPAND
|     +-------------------------
| + GENERATE 1 EMPTY RECORD
| + CALCULATE PROJECTIONS
|   intersect(($$$SUBQUERY$$_0), ($$$SUBQUERY$$_1))
| + EXPAND
+-------------------------
GENERATE 1 EMPTY RECORD
LET (for each record)
$scope = ($scope)
CALCULATE PROJECTIONS
intersect(($$$SUBQUERY$$_0), $scope)
EXPAND

CALCULATE PROJECTIONS
*
DISTINCT

Hi @ErikShiken
The old executor has a lot of hard-coded behaviours, so it's possible that something is slightly different.
I tend to say that if the execution plan is correct, also the result is supposed to be correct, but we can investigate.
What's the difference in the results?
Thanks
Luigi

We're expecting 4 items to come back but we only get 2 of the 4 we expect and its based on the n_3aname property being either 'PointsA' or 'PointsB' in $$$SUBQUERY$$_0.$$$SUBQUERY$$_1.$$$SUBQUERY$$_1. Changing $$$SUBQUERY$$_0.$$$SUBQUERY$$_1.$$$SUBQUERY$$_1 directly impacts the query results but changes to $$$SUBQUERY$$_0.$$$SUBQUERY$$_1.$$$SUBQUERY$$_0 doesn't seem to do anything. That leads me to suspect $$$SUBQUERY$$_0.$$$SUBQUERY$$_1.$$$SUBQUERY$$_0 could be ignored in this query. Also, when I take those two subqueries and union them myself in Orient Studio, I get the results I expect.

Hi @ErikShiken
it's hard to say what's going on, I'm afraid I'll need a reproducer, any chance to have a dataset to test the query?
Thanks
Luigi

This query is run in test code so I can provide the test data we run this query on. Do I just paste it here? How do I export the data from Orient?

Hi @ErikShiken
Yes, thank you.
For the DB, I'd suggest to just zip the db folder and share it with a file sharing platform (eg. google drive).
Thanks
Luigi

Sorry for the delay. I'm unable to provide a link due to company firewall restrictions. I'll set something up when I get home from work.

Here is a link to the zipped DB. Let me know if you need help accessing it.
User = admin
PW = admin

Hi @ErikShiken
I cannot see the link...
Thanks
Luigi

Sorry about that.
https://drive.google.com/file/d/0B3yTkYjSpDnddnhabEkzVmJ2TVZjbHRkaHJzTzVvLUZFbmZV/view?usp=sharing

Hi,
What's the status of this? can we close this issue?
Regards

There's definitely something wrong with either the union or intersect
function. We're using a hack to work around the broken code
On Mon, Jun 1, 2020, 8:55 AM tglman<EMAIL_ADDRESS>wrote:

Hi,
What's the status of this? can we close this issue?
Regards
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/orientechnologies/orientdb/issues/9083#issuecomment-636844987,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAEPGPK64JFCYPH443M7IBLRUOQLBANCNFSM4JYLH5YA
.


test

test branch test

Deployment started for this pull request.

Deployment failed. Please check the logs.


add usecase of qiniu

Contributing guidelines
Please read our contribution workflow before submitting a pull request.

@CrazyJvm
Can you change the commit message to
doc: add usecase of qiniu

You can do this by
git commit --amend

change commit message

git push ... -f

Thanks!

Codecov Report

Merging #7431 into master will decrease coverage by -0.27%.
The diff coverage is 45.69%.

@@            Coverage Diff             @@
##           master    #7431      +/-   ##
==========================================
- Coverage   70.94%   70.67%   -0.27%
==========================================
  Files         236      237       +1
  Lines       21106    21226     +120
==========================================
+ Hits        14973    15002      +29
- Misses       5003     5096      +93
+ Partials     1130     1128       -2

Impacted Files
Coverage Δ

etcdserver/config.go
77.21% <ø> (ø)
:white_check_mark:

auth/jwt.go
0% <0%> (ø)

embed/etcd.go
67.22% <100%> (+0.18%)
:white_check_mark:

etcdmain/config.go
79.37% <100%> (+0.12%)
:white_check_mark:

embed/config.go
71.16% <100%> (+0.17%)
:white_check_mark:

etcdserver/v3_server.go
63.81% <100%> (+0.87%)
:white_check_mark:

etcdserver/server.go
79.27% <50%> (-0.5%)
:x:

auth/store.go
83.81% <59.09%> (-1.62%)
:x:

auth/simple_token.go
86.72% <86.66%> (-2.67%)
:x:

mvcc/watchable_store.go
72.72% <0%> (-11.04%)
:x:

... and 12 more

Continue to review full report at Codecov.

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


Adding in Monroe University

Requesting to add Monroe University to the edu domain.

@haringummidi Thank you for your patience while waiting for a review and processing your request. Pull request merged. Please start applying for JetBrains educational subscription at https://www.jetbrains.com/shop/eform/students in an hour, to allow the changes to propagate through JetBrains systems.


Add a reload() method when the data binding is not available

It would be convenient to reload the items on demand


TSServer: Unrecognized JSON command: typeDefinition

I'm trying to send a typeDefinition request as defined here
{
  "seq": 5,
  "type": "request",
  "command": "typeDefinition",
  "arguments": {
    "line": 2,
    "file": "/home/icholy/code/test/foo.ts",
    "offset": 1
  }
}

It returns an error saying the command is not recognized.
I'm able to make definition requests without any issues.
{
  "seq": 0,
  "type": "response",
  "command": "unknown",
  "success": false,
  "request_seq": 5,
  "message": "Unrecognized JSON command: typeDefinition"
}

It sends the correct response after the error response.
{
  "seq": 0,
  "type": "response",
  "command": "typeDefinition",
  "success": false,
  "request_seq": 5,
  "message": "No content available."
}

Hi @icholy, what version of TypeScript are you using?

@DanielRosenwasser 1.5.0-beta

It certainly appears that it's in 1.5, but I'm not certain if it made it to 1.5 beta - @mhegazy do you know?
Could you also share the file that you're testing this out on and confirm that the definition request is working at that location as well?

As @DanielRosenwasser pointed out, this change was not in 1.5-beta; you can use the latest from release-1.5 branch, and that should have what you are looking for. this should be part of the next public release.

Ah, makes sense.


[CARBONDATA-3375] [CARBONDATA-3376] Fix GC Overhead limit exceeded issue and partition column as range column issue

Problem1 : When only single data item is present then it will be launched as one single task wich results in one executor getting overloaded.
Solution: When only a single range then we divide the splits and give to different tasks in order to ensure one executor does not overload.
Problem2 : When the range col is given as partitioned by column then compaction is failed because compaction goes to Range Column flow.
Solution: Added a check for Partition Table when range column is present so that it goes through the old flow and compaction passes.
Be sure to do all of the following checklist to help us incorporate
your contribution quickly and easily:

[ ] Any interfaces changed?

[ ] Any backward compatibility impacted?

[ ] Document update required?

[ ] Testing done
Please provide details on
- Whether new unit test cases have been added or why no new tests are required?
- How it is tested? Please attach test report.
- Is it a performance related change? Please attach the performance test report.
- Any additional information to help reviewers in testing this change.

[ ] For large changes, please consider breaking it into sub-tasks under an umbrella JIRA.

Build Success with Spark 2.3.2, Please check CI http://<IP_ADDRESS>:8080/job/carbondataprbuilder2.3/11403/

Build Success with Spark 2.2.1, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder1/3337/

Build Success with Spark 2.1.0, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder2.1/3145/

Build Success with Spark 2.3.2, Please check CI http://<IP_ADDRESS>:8080/job/carbondataprbuilder2.3/11410/

Build Success with Spark 2.2.1, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder1/3344/

Build Success with Spark 2.1.0, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder2.1/3146/

Build Success with Spark 2.3.2, Please check CI http://<IP_ADDRESS>:8080/job/carbondataprbuilder2.3/11411/

Build Success with Spark 2.2.1, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder1/3345/

LGTM

retest this please

Build Success with Spark 2.3.2, Please check CI http://<IP_ADDRESS>:8080/job/carbondataprbuilder2.3/11457/

Build Success with Spark 2.1.0, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder2.1/3191/

Build Success with Spark 2.2.1, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder1/3388/