linker error when using module as a test dependency

I get linker errors on x86-linux-native when using cpputest as a test framework. If I make cpputest as a direct dependency, the tests get built properly, but not if I turn them into a targetDepency.
Here's the sort of linker error I get:
-- Configuring done
-- Generating done
-- Build files have been written to: /tmp/cpputest/build/x86-linux-native
[5/5] Linking CXX executable test/mbed-client-trace-test-firsttest
FAILED: : && /usr/bin/c++   -O2 -g -DNDEBUG   test/CMakeFiles/mbed-client-trace-test-firsttest.dir/tmp/cpputest/test/FirstTest/FirstTest.cpp.o test/CMakeFiles/mbed-client-trace-test-firsttest.dir/tmp/cpputest/test/FirstTest/main.cpp.o  -o test/mbed-client-trace-test-firsttest  -rdynamic ym/cpputest/source/libcpputest.a yotta_dummy_lib_mbed_client_trace/libmbed-client-trace.a && :
test/CMakeFiles/mbed-client-trace-test-firsttest.dir/tmp/cpputest/test/FirstTest/FirstTest.cpp.o:(.rodata._ZTV39TEST_FirstTestGroup_FirstTest_TestShell[_ZTV39TEST_FirstTestGroup_FirstTest_TestShell]+0x30): undefined reference to `UtestShell::isNull() const'

Here's the module.json which uses cpputest as a test-dependency.
{
  "name": "mbed-client-trace",
  "version": "0.0.1",
  "description": "Simple Trace library for mbed clients",
  "keywords": [
    "trace",
    "debug",
    "library",
    "client"
  ],
  "author": "Jussi Vatjus-Anttila",
  "repository": {
    "url": "https://github.com/ARMmbed/mbed-client-trace.git",
    "type": "git"
  },
  "homepage": "https://github.com/ARMmbed/mbed-client-trace",
  "licenses": [
    {
      "url": "https://spdx.org/licenses/Apache-2.0",
      "type": "Apache-2.0"
    }
  ],
  "dependencies": {
  },
  "testDependencies": {
    "cpputest": "*"
  }
}

The cpputest module on github/armmbed doesn't support the gcc platform. I'll send you a tar ball for what I've got.

the linker command line in the two cases differs, but there's something more to it than that. I could edit the linker command line in the failing case and get the link to succceed.

could you send me the examples that do/don't work?

works for me now. Thanks!

ahhh, ok, cool!

is it really working ? it doesn't work for me :s


compiler: ResolveImportedFunction should infer the typeID from the importing module

Fixes #2313.
This changes the signature for ResolveImportedFunction() so that it takes an additional index into the typeID section of the "current" module, i.e. the subject of the import.
The current behavior is to search for the import recursively into the chain of dependencies; however, this resolves to a typeID that is specific to that module. For instance:

consider the case of a module m declaring an import m2inst.sym.
let be m2inst.sym an import with type t with ID tid
let be m2inst be linked to an instance of module m2 with type t2 and ID t2id.

Now: we want t to be compatible with t2; this we verify at:
https://github.com/tetratelabs/wazero/blob/6bb9899ea4c745a4ae23179a34fac0540c2ce551/internal/wasm/store.go#L441-L447
The current behavior is for ResolveImportedFunction() to resolve recursively a reference to a function so that we can then jump precisely to its address at runtime; however, we should not carry on its type ID, and instead use the type ID of the import.
In other words, even if the types are compatible, we should be still referring to type t with ID tid from m, and not type ID t2id, because, of course, the index t2id might be different from the local index tid.
The solution is to add another descFunc Index (from the name of the field Import.DescFunc) to the signature of  ResolveImportedFunction(), so that the typeID is correctly resolved from moduleEngine.module.TypeIDs[descFunc] (i.e. the typeID defined in the module that is requiring the imported function).
The tests are adjusted accordingly; notably, this also means that, in order for m.ResolveImportedFunction() to work properly, m must be correctly initialized with an m.module being the module that is performing the import, so the initialization of moduleEngine is pushed down, after the declaration of the "imported" and "importing" modules.
Let me know if you think it is worth adding more tests!
@zshipko please double-check that this is fixing your issue (I have slightly changed my original approach)
@ncruces would you like to double-check this against your sqlite lib?
@anuraaga if you spare any time, would you take a look too? :P

Just tested this and verified it fixes the issue on my end! :partying_face:
Thank you!

Everything seems to work fine.


docs: Typo fix: change correct rule id

Changed the correct rule id in rule's comment. Resolves #3329.

Thanks


Document all conditional compilation symbols

We really need to document all the symbols like I did with Castle Core while they are fresh in our minds with a description of what is missing or different so we've got something to point people to as an overview of what is different and also so we can easily work out what we can remove as new APIs light up in .NET Standard in the future.

Thanks @alinapopa.


New testing option

Hey mate. Thanks for the Pull request.
I'm a little confused at what the change is trying to say.
Is it perhaps:

Disable all other plugins: if nothing above helps, try disabling all other plugins and restart Sketch.

I'm not quite sure this text adds much value; as it isn't necessary in order to test Paddy 2.
So I might close this pull request.
Thanks for the contribution though. I really appreciate it 👍


tests: net: ipv6: Must use Ethernet L2 instead of Dummy L2

As the test is testing neighbor discovery which needs to know
link addresses, we must run the test using Ethernet L2.
Signed-off-by: Jukka Rissanen<EMAIL_ADDRESS>

Codecov Report

Merging #9251 into master will decrease coverage by 0.51%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #9251      +/-   ##
==========================================
- Coverage   52.77%   52.26%   -0.52%
==========================================
  Files         201      201
  Lines       25288    25288
  Branches     5285     5285
==========================================
- Hits        13346    13217     -129
- Misses       9813     9984     +171
+ Partials     2129     2087      -42

Impacted Files
Coverage Δ

include/net/net_if.h
51.68% <0%> (-11.24%)
:arrow_down:

subsys/net/ip/ipv6.c
39.35% <0%> (-6.36%)
:arrow_down:

subsys/net/ip/icmpv6.c
30.31% <0%> (-6.28%)
:arrow_down:

include/net/net_pkt.h
80.51% <0%> (-2.57%)
:arrow_down:

include/net/net_ip.h
69.07% <0%> (-1.32%)
:arrow_down:

subsys/net/ip/route.c
52.99% <0%> (-1.29%)
:arrow_down:

subsys/net/ip/net_if.c
62.99% <0%> (-0.72%)
:arrow_down:

subsys/net/ip/utils.c
79.53% <0%> (-0.29%)
:arrow_down:

subsys/net/ip/net_pkt.c
63.99% <0%> (-0.13%)
:arrow_down:

subsys/net/ip/net_core.c
72.93% <0%> (+0.75%)
:arrow_up:

... and 2 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 bab3551...a9dee55. Read the comment docs.


Some pages are broken

https://www.alltheplaces.xyz/spiders and https://www.alltheplaces.xyz/wikidata pages does not work anymore, maybe after this commit: https://github.com/alltheplaces/alltheplaces.xyz/commit/6c37dbc36785011ba768f312144286349abf3b9d
Console log on spiders page:

Sorry about that. I was trying to move some domains over to Cloudflare to save some bandwidth and it looks like I can't use redirects for these. I undid that change so the pages should work now.

Thanks!


CUDA kernel errors might be asynchronously reported at some other API call

RuntimeError: CUDA error: unknown error CUDA kernel errors might be asynchronously reported at some other API call,so the stacktrace below might be incorrect. For debugging consider passing CUDA_LAUNCH_BLOCKING=1.
When running 4. Diffuse!
Any thoughts?

Can you please provide:
OS
PyTorch version
Cuda toolkit version, and how was this installed (as I recommend in the README or another way?)
GPU make and RAM
Do you have any other GPU applications running?
I've had this issue if I've previously ran some tensorflow code but haven't restarted the kernel (so memory wasn't freed up), or when I tried running on my  laptop with only 4GB VRAM


use the default editor in the terminal

It's working for me 👍
I'm just wondering, would it be possible to have literally the same functionality but only triggered when you do the l key on a given readable file. That way if you want to open in a text editor application you hit enter and if you want to edit in terminal you hit l?

We can add this but I think this is unnecessary because if the user wants to use for example vscode he just needs to set the EDITOR variable also


R 2.20 update faq risk update 24

Internal Tracking ID: EXPOSUREAPP-12290

Typos fixed, changes approved.
Thanks for review @MikeMcC399 !

Please delete the branch of this RR. Thanks!


carstate cleanup

Resolved TODO in CarState.py.
Refactored and cleaned up snippet of the code to improve code quality.

There are two variants, one simplified inline, and other with if/else structure...

This is not the point of the TODO. I suggest picking up an issue that is completely unambiguous.


What is changed in v2.6.7?

I just have found that latest version of express is v2.6.7.
It is updated about 30 minutes ago.
@visionmedia, where can I see "change log" of express for version updates?
I cannot find any since v2.4.5 in "History.md"

check the 2.x branch (I'll update history.md in master once 3.x is rolling)


Pretrain weights for segmentation tasks

Hi,thank you for your work. Can you share the pretrain weights for segmentation task？

Since some of our ckpt files have not been sorted out and reviewed, we will release these files at a later time. Thanks!

+1. Being very interested in your model, pretrains for coco instance please!


Validation fails when parsing SHACL graph

My tests in SBOL-utilities are failing due a failure in the document validation method, while it is attempting to parse the results of running SHACL validation.
This runs successfully with 1.0a9, but is now failing with 1.0b2
Failing build: https://github.com/SynBioDex/SBOL-utilities/runs/2670675901?check_suite_focus=true
Key error excerpt:
>       for shacl_report, in shacl_graph.subjects(rdflib.RDF.type,
                                                  shacl_ns.ValidationReport):
E                                                 ValueError: too many values to unpack (expected 1)

/usr/local/lib/python3.9/site-packages/sbol3/document.py:390: ValueError

This seems to be a test coverage issue. The pySBOL3 unit tests do not execute the method that is having the ValueError. I am suspicious of the for shacl_report, in shacl_graph.subjects because of the trailing comma on after shacl_report. The first step is to create a unit test that executes this line of code. We'll take it from there.

The trailing comma is indeed the issue. That is a holdover from a slightly different design for walking the graph generated by pySHACL. The comma was not eliminated during the redesign, and there were no unit tests executing the code so it went unnoticed.

Looks like this is working in my local build as well now with the new release.
Now I just need to figure out the validation errors...


Visual studio and rider cannot load a template project

Can we please have a getting started manual which works?

Could you give us the steps what exactly you tried?
Else we do not know how we can help you.

So I ran into this issue today playing with Fabulous on the stream when running the basic SqueekyApp. You can see it here
https://www.twitch.tv/videos/435836117?t=00h28m47s

The head project has a different version of forms than the cross platform
I couldn't get it to compile on VS2019
The templates should probably be updated to latest essentials, forms, fabulous?

Don't know why but it seems that it uses a very old template.
XF has normally4.0... and it is no longer Elmish.XamarinForms but Fabulous.....
@PureWeen
did you have an older version on your computer?
I couldn't see in the video if the installation/update worked correctly.
Could you maybe try the same steps with powershell/bash not the developer prompt?
On my machine it works correct, so it is kinda hard to identify the parts.

@PureWeen Ok, I think I know why. Had to rewatch a few times to make sure.
You're creating a new SqueakyApp under your H:\streamhub\ folder.
But then you open in Visual Studio H:\SqueakyApp\SqueakyApp.sln which seems an old version from the time of Elmish.XamarinForms

@TimLariviere That's hilarious.... I guess I should have called it something else when I newed it up hunh? Sorry about that
I reran the template and opened the correct app and look at that it works.
Alright so now that I have a theoretically correct sample :-)
Can the support libraries be updated to API 28? Since the android project is 9.0? That's also where users will be able to use the material elements as well.

Can the support libraries on those templates be updated to API 28? Since the android project is 9.0? That's also where users will be able to use the material elements as well.

@PureWeen Yes, definitely!
Opened issue #442 to track it


BUG:login page form not responsive

Is there an existing issue for this?

[X] I have searched the existing issues

What went down?
In the small and medum screens the login form is not responsive.

Record

[X] I agree to follow this project's Code of Conduct
[ ] I'm a gssoc-24-ext contributor
[X] I have starred the repository
[x] I want to work on this issue
[X] I check the issue doesn't exist

go for it @Shahharshii also do signup page responsive

go for it @Shahharshii also do signup page responsive

yes sure


crypto.hash_string?

Hi there!
A hash_string function would be very nice to have, instead of being required to use BitString.
Let's say we want to hash a string composed of other strings without compromising performance (a very common operation with crypto-releated stuff).
With Elixir, we could do something like this:
  def hash_block(block) do
    :crypto.hash(:sha256, [block.id, block.data, Integer.to_string(block.timestamp])
  end

With Gleam this is a little bit more complicated, since crypto.hash method requires a BitString. The code above would probably look like something like this:
pub fn hash_block(block: Block) {
  bit_builder.from_string(block.id)
  |> bit_builder.append_string(block.data)
  |> bit_builder.append_string(int.to_string(block.timestamp))
  |> bit_builder.to_bit_string
  |> crypto.hash(crypto.Sha256, _)
  ...
}

This is obviously too much.
Instead, there could be a function that takes String as an input. The code above would look something like this:
pub fn hash_block(block: Block) {
  string_builder.from_strings([
    block.id,
    block.data,
    int.to_string(block.timestamp)
  ])
  |> string_builder.to_string
  |> crypto.hash_string(crypto.Sha256, _)
  ...
}

Much better!
NOTE: I tried adding the function and it works just fine, passes all tests + new ones I added for this purpose specifically. I don't think it will cause any problems since Gleam already uses UTF-8 binaries under the hood. If it sounds good to you guys I can create the pull request with everything.

Could be handy, though in this specific case I would use a bit string literal.
pub fn hash_block(block: Block) {
  crypto.hash(
    crypto.Sha256,
    <<
      block.id:string,
      block.data:string,
      int.to_string(block.timestamp):string,
    >>
  )
}

Closing due to lack of activity.


Choose a licence for semver parser

As user of the semver parser library,
I would like to know the licence of semver parser,
so that I can decided if I could use the library in my project or not and.

ASL 2.0. Done


{Packaging} Loosen cryptography dependency

Description

Fix #19635

Reasons why we can loose the cryptography dependency now:
For upper bound
https://github.com/Azure/azure-cli/pull/15687#discussion_r578898876 set an upper bound for cryptography due to https://github.com/pyca/cryptography/issues/5771.
By following https://cryptography.io/en/latest/installation/#alpine, I am now able to install cryptography 3.4.8 on Alpine Linux (https://github.com/Azure/azure-cli/issues/19591). There is no need to set upper bound now.
For lower bound
Community packagers ask us not to bump the minimum dependency in setup.py as this causes trouble for platforms that doesn't support newer versions of cryptography (https://github.com/Azure/azure-cli/pull/15687#issuecomment-878819248). By loosing the dependency on cryptography, users or packagers themselves are now responsible for security vulnerabilities in older versions of cryptography.
As we still pin the version in requirements.*.txt, packages distributed by us still contain cryptography which is security-complaint.

Packaging

@glaubitz, I have totally removed the lower bound. Will this suit your need?

Is version 3.0 actually the absolute minimum that you need now? That is, is there functionality that you need that is not part of version 2.8?

We don't require >3.0 now. Any version works.

Then either remove the version requirement or use at least 2.8 which is what SLE-12 and SLE-15 are shipping at the moment.

Then either remove the version requirement

It is already removed.


What happens to a project that is "Waiting Confirmation"?

If someone would like to explain the lifecycle of a project I would gladly turn it into a wiki page.  My immediate question right now is what do you do with a project that is Waiting Confirmation?  Is this project then unchecked?  Can finish?
Thank you for explaining this.

The life-cycle of a project looks like this:

First of all, the project owner clicks on "Submit your project", accept the guidelines, send us the proejct, we recieve an email with its details and start a conversation with him.

When the project is ready to go online, we or the project owner create the project through /projects/new. At this point, the project is not visible yet.

In order to publish a project and start the campaign, we set visible = true on /projects/pending.

If we don't accept the project, we mark rejected = true on /projects/pending.

During the campaign, we can manage "recommended" and "home_page" on /projects/pending in order to make it appear on the recommended projects, on /explore, and on the home page.

When the project reaches its deadline, it becomes "expired?" and can have one of three states: "successful?", "waiting_confirmation?", or unsuccessful (this last state does not have a method, so we know it by excluding the others).

If the project's total confirmed backers >= to its goal, an expired? project is successful?.

If the project is expired? and not successful?, and it is within a 3 weekdays timeframe after its deadline, a project is waiting_confirmation?. The "waiting confirmation" process is more or less like this:

Work with "boleto bancário", which is a payment option we have in Brazil. It's basicly a document you print and go to the bank to pay. This is very common here, and necessary for us.

It takes up to 3 weekdays to confirm a payment. So, if a "boleto" was generated right before the project reaches its deadline, and the project did't reach its goal with already confirmed payments, we'll have to wait up to 3 weekdays to know if the project was successful or not.

I wrote this in a rush, so please let me know it I left anything out of it! Please do create the Wiki page for us :D thanks a lot!

Ok thank you for this.  I have two questions remaining.

A project is past deadline and did NOT receive it's goal.  Through what checkboxes, etc. do you initiate the close of the project and refunding of credits to the backers?

A project is past deadline and DID receive it's funding goal.  Through what checkboxes, etc. do you mark the project as successful?

I'm confused as to that process.  Thanks!

Hi,
I knew I was forgetting something :) these would account for a step 11 in my original list, and then you'll have a 12 also:
11 . A project is past deadline and there are NO MORE "boletos" waiting confirmation (you'll know this only through MoIP's web interface and we can't automate this process right now...but if you don't use MoIP or "boletos", you wont need this): then you go to /projects/pending and click on "Can finish?". After that, the project will be selected by our daily cron to be really finished.
12 . We have a Heroku Cron Addon set to run once per day and run "rake cron". As you can see in cron.rake, "rake cron" goes through all projects that have can_finish = true and finished = false, and run project.finish! for each of them. project.finish! is the method that generate credits for the backers if the project wasn't successful, and also generate notifications for both successful and unsuccessful projects.
 I hope we manage to automate the waiting for the "boletos" confirmation soon: this way we wont need to mark "Can finish?" for every project. Today we have to do this manually for each project that can be considered finished.
[]'s,
Daniel


Smiles Parse Error after RDKit Canonicalization

Describe the bug
I am attempting to canonicalize the SMILES string for Alumina pural, "C1=[Al]C(=NC2=C1NC=N2)C=O". RDKit canonicalizes it as "O=Cc1nc2nc[nH]c2c[al]1". Subsequently I re-load it into RDKit.  I get a smiles parse error.
[08:49:31] SMILES Parse Error: syntax error while parsing: O=Cc1nc2nc[nH]c2c[al]1 [08:49:31] SMILES Parse Error: Failed parsing SMILES 'O=Cc1nc2nc[nH]c2c[al]1' for input: 'O=Cc1nc2nc[nH]c2c[al]1'
To Reproduce
Chem.MolFromSmiles(Chem.CanonSmiles('C1=[Al]C(=NC2=C1NC=N2)C=O'))
Expected behavior
I expect to be able to reload the molecule. I know that the attached code looks redundant (as I can just load the molecule from the original string), but it is part of a workflow in which I save off canonicalized SMILES to a separate text file and then reload it later for downstream processing.
Configuration (please complete the following information):

RDKit version: 2024.03.2
OS: [e.g. Ubuntu 20.04] Ubuntu 18.04
Python version (if relevant): 3.8.19
Are you using conda? No
If you are using conda, which channel did you install the rdkit from?
If you are not using conda: how did you install the RDKit? pip

Appears to be related to #3722. In that thread, the fix was that the user was not getting error messages. I am getting error messages, just not for this molecule. We also have a case of what appears to be aromatic nitrogens, similar to #3722.


[MUI] [Card-component] The Highlighting of card component on back gesture on  Android 13 device

Steps to reproduce
Steps:

Open this link to live example: (https://github.com/vasimpathan22/react-mui-cap-poc)
Refer Readme file of code to reproduce the issue
use Android 13 emulator or physical device

https://github.com/user-attachments/assets/82e619fe-9785-467d-be61-457102690bf0
to produce the issue
Current behavior
The card is getting highlighted with the black color gradually and its also retaining that color even after opening the app
Expected behavior
the card should not be get highlighted
Context
So basically i am using the material ui ,react and capacitor to develop the native application in which i have used the card components of mui where i have seen that at some stage while performing the back gesture on this card the card is getting highlighted and also it is retaining the state of the card, This issue only arising on Android 13 devices specially.  The respective video is attached.

  Output from `npx @mui/envinfo` goes here.

Search keywords: CardActionArea,Mui

On clicking the card there is ripple effect which is of light gray color but dont know how the effect is activating even though i am not clicking the card component while going back with the help of gesture

Hey @vasimpathan22, thanks for the report.
If this isn't reproducible with Android 14 or 15, it looks to me like there was a bug in Android 13 that was fixed.
Have you tried using disableRipple={true} on CardActionArea?

Using disableRipple={true} it is working but the Ripple effect should be only shown when the card is clicked, also that effect is accumulating on card while using gesture.
And after using disable ripple how can i add that effect on the card is there any alternative way

And after using disable ripple how can i add that effect on the card is there any alternative way

Sadly not, the workaround I proposed is removing the ripple, which I though was going to remove the accumulating grid gray overlay. It didn't?
As I mentioned, this looks like a bug in Android 13's side. May I ask you to search for any similar issues reported on their repo? I don't think there's anything we can do on our side.

After using disable ripple there is no any gray overlay accumulating I will check if any issue had been raised on their repo

I'm tentatively closing as the bug has been fixed in the latest Android versions, and the workaround for Android 13 is disabling the ripple. @vasimpathan22, feel free to reopen if you have new evidence pointing to an issue on the Material UI side.


[RFC] new make target: test-integration-cli-parallel

What I did
Introduced make test-integration-cli-parallel, which executes multiple integration tests in parallel.
Experimental result: 3.8 times faster
on GCE n1-standard-32 (32 vCPUs, 120GB RAM, standard HDD)

DOCKER_INCREMENTAL_BINARY=1 make test-integration-cli: about 49 minutes
DOCKER_INCREMENTAL_BINARY=1 make test-integration-cli-parallel:  about 13 minutes

Next steps
The next step is to improve the regexp strings (TestA, TestB, .., TestZ) to shorten the makespan (described below).
The further next step is to execute the tests in parallel across a Docker Swarm cluster, but I think it can/should be done in an external tool.
Actually I've been already working on such a tool for k8s, and the tool will soon support Docker Swarm as well: https://github.com/osrg/namazu-swarm
Also, the support for "privilged" services would be needed for running integration tests across a Docker Swarm cluster: https://github.com/docker/docker/issues/24862
How I did it
Executes equivalents of the following commands in parallel across multiple docker-dev containers, using parallel(1):

TESTFLAGS='-check.f TestA' make test-integration-cli
TESTFLAGS='-check.f TestB' make test-integration-cli
..
TESTFLAGS='-check.f TestZ' make test-integration-cli

As you can see this regexp granularity is not sufficient yet, and we need to improve regexp strings.
I think we can shorten the makespan to less than 5 minutes.
How to verify it
$ sudo apt-get install parallel
$ make test-integration-cli-parallel
$ cat bundles-parallel/joblog
Seq     Host    Starttime       JobRuntime      Send    Receive Exitval Signal  Command
6       :<PHONE_NUMBER>.858     107.385      0       0       0       0       /home/suda/gopath/src/github.com/docker/docker/contrib/.test-integration-cli-parallel 6 TestF
26      :<PHONE_NUMBER>.935     126.559      0       0       0       0       /home/suda/gopath/src/github.com/docker/docker/contrib/.test-integration-cli-parallel 26 TestZ
15      :<PHONE_NUMBER>.880     131.152      0       0       0       0       /home/suda/gopath/src/github.com/docker/docker/contrib/.test-integration-cli-parallel 15 TestO
17      :<PHONE_NUMBER>.886     159.350      0       0       0       0       /home/suda/gopath/src/github.com/docker/docker/contrib/.test-integration-cli-parallel 17 TestQ
24      :<PHONE_NUMBER>.920     163.412      0       0       0       0       /home/suda/gopath/src/github.com/docker/docker/contrib/.test-integration-cli-parallel 24 TestX
25      :<PHONE_NUMBER>.927     168.750      0       0       0       0       /home/suda/gopath/src/github.com/docker/docker/contrib/.test-integration-cli-parallel 25 TestY
10      :<PHONE_NUMBER>.866     173.161      0       0       0       0       /home/suda/gopath/src/github.com/docker/docker/contrib/.test-integration-cli-parallel 10 TestJ
13      :<PHONE_NUMBER>.874     191.733      0       0       0       0       /home/suda/gopath/src/github.com/docker/docker/contrib/.test-integration-cli-parallel 13 TestM
23      :<PHONE_NUMBER>.916     191.693      0       0       0       0       /home/suda/gopath/src/github.com/docker/docker/contrib/.test-integration-cli-parallel 23 TestW
11      :<PHONE_NUMBER>.869     198.926      0       0       0       0       /home/suda/gopath/src/github.com/docker/docker/contrib/.test-integration-cli-parallel 11 TestK
7       :<PHONE_NUMBER>.860     203.895      0       0       0       0       /home/suda/gopath/src/github.com/docker/docker/contrib/.test-integration-cli-parallel 7 TestG
14      :<PHONE_NUMBER>.877     206.988      0       0       0       0       /home/suda/gopath/src/github.com/docker/docker/contrib/.test-integration-cli-parallel 14 TestN
8       :<PHONE_NUMBER>.862     218.861      0       0       0       0       /home/suda/gopath/src/github.com/docker/docker/contrib/.test-integration-cli-parallel 8 TestH
20      :<PHONE_NUMBER>.897     243.567      0       0       0       0       /home/suda/gopath/src/github.com/docker/docker/contrib/.test-integration-cli-parallel 20 TestT
22      :<PHONE_NUMBER>.912     247.565      0       0       0       0       /home/suda/gopath/src/github.com/docker/docker/contrib/.test-integration-cli-parallel 22 TestV
9       :<PHONE_NUMBER>.864     302.562      0       0       0       0       /home/suda/gopath/src/github.com/docker/docker/contrib/.test-integration-cli-parallel 9 TestI
21      :<PHONE_NUMBER>.908     305.033      0       0       0       0       /home/suda/gopath/src/github.com/docker/docker/contrib/.test-integration-cli-parallel 21 TestU
12      :<PHONE_NUMBER>.872     328.861      0       0       0       0       /home/suda/gopath/src/github.com/docker/docker/contrib/.test-integration-cli-parallel 12 TestL
5       :<PHONE_NUMBER>.856     381.825      0       0       0       0       /home/suda/gopath/src/github.com/docker/docker/contrib/.test-integration-cli-parallel 5 TestE
19      :<PHONE_NUMBER>.893     414.353      0       0       0       0       /home/suda/gopath/src/github.com/docker/docker/contrib/.test-integration-cli-parallel 19 TestS
3       :<PHONE_NUMBER>.852     490.608      0       0       0       0       /home/suda/gopath/src/github.com/docker/docker/contrib/.test-integration-cli-parallel 3 TestC
1       :<PHONE_NUMBER>.848     625.009      0       0       0       0       /home/suda/gopath/src/github.com/docker/docker/contrib/.test-integration-cli-parallel 1 TestA
16      :<PHONE_NUMBER>.883     634.078      0       0       0       0       /home/suda/gopath/src/github.com/docker/docker/contrib/.test-integration-cli-parallel 16 TestP
4       :<PHONE_NUMBER>.854     641.451      0       0       1       0       /home/suda/gopath/src/github.com/docker/docker/contrib/.test-integration-cli-parallel 4 TestD
18      :<PHONE_NUMBER>.890     666.172      0       0       0       0       /home/suda/gopath/src/github.com/docker/docker/contrib/.test-integration-cli-parallel 18 TestR
2       :<PHONE_NUMBER>.850     767.139      0       0       1       0       /home/suda/gopath/src/github.com/docker/docker/contrib/.test-integration-cli-parallel 2 TestB
$ cat bundles-parallel/results/1/TestA/stdout
...

(TODO: rename bundles-parallel to bundles/test-integration-cli-parallel ?)
Observations from the result:

Even though Test[FJOQXYZ] does nothing, they consume a few minutes due to setting up the environment. We really need to remove these regexp strings and deduplicate the setup code.

TestB is long (767 seconds), but the longest test in TestB  (TestBuildAddChangeOwnership) just takes 34 seconds.

Almost all the test cases complete within 30 seconds. A small number of exceptions:
PASS: docker_cli_pull_test.go:201: DockerHubPullSuite.TestPullAllTagsFromCentralRegistry       116.797s
PASS: docker_cli_health_test.go:53: DockerSuite.TestHealth     64.648s
PASS: docker_cli_push_test.go:666: DockerRegistryAuthTokenSuite.TestPushMisconfiguredTokenServiceResponseError 50.14
PASS: docker_cli_port_test.go:180: DockerSuite.TestUnpublishedPortsInPsOutput  42.324s
PASS: docker_cli_pull_test.go:41: DockerHubPullSuite.TestPullNonExistingImage  35.059s
PASS: docker_cli_build_unix_test.go:84: DockerSuite.TestBuildAddChangeOwnership        34.808s
PASS: docker_cli_network_unix_test.go:1621: DockerSuite.TestDockerNetworkInternalMode  33.914s
PASS: docker_cli_links_test.go:33: DockerSuite.TestLinksPingLinkedContainers   30.975s
PASS: docker_cli_port_test.go:14: DockerSuite.TestPortList     30.037s

So  I think we can shorten the makespan to less than 5 minutes.
Description for the changelog
new make target: test-integration-cli-parallel
A picture of a cute animal (not mandatory but encouraged)**

Signed-off-by: Akihiro Suda<EMAIL_ADDRESS>

The go testing framework supports parallel testing... go-check does not (but I do have a branch that adds it). Really need a way to spin up test daemons for each parallel runner, have it loaded with fixtures, and reset after each test.

@cpuguy83 Yes, and this PR can spin up daemons for each parallel runners by just running multiple docker-dev containers in parallel.

Please keep in mind some failures might be hard to reproduce when the tests are run in parallel. The parallel tests should be used for development and to catch failures without a 49 minutes test run on the CI. The current sequential test run should still be used for deterministic test runs on the CI.

As long as each parallel build uses its own isolated daemon I would think that it should be fine to run the tests in parallel.
I think even a 9 minute test run is way too slow for local development. Anything longer than a minute and I'm going to run it on jenkins. I think the main benefit of a change like this is to speed up test execution on CI, not locally.
I really like this idea, but using the test name to bucket the tests isn't going to result in an even distribution. It might be a good start, but the improvements to go-check that @cpuguy83 suggests should improve it further.

@unclejack
You are right. This PR doesn't replace the sequential test.
@dnephin

I really like this idea, but using the test name to bucket the tests isn't going to result in an even distribution.

I will create a tool that lists up the Test* functions in the package.
Then we don't need to rely on TestA, TestB, TestC.. buckets.

It might be a good start, but the improvements to go-check that @cpuguy83 suggests should improve it further.

Yes, but there is still an advantage in using an external tool rather than go-check; it can be executed in parallel across a Docker cluster (it would needs support for --privilege) or just VMs in the future.

@AkihiroSuda @cpuguy83 what's up here?

We need a tool for spinning up isolated daemons, no?

@LK4D4
I'll prepare a tool that lists up all the test functions, instead of TestA, TestB, TestC.. buckets.
Maybe it will be after the release of 1.13...
@cpuguy83

We need a tool for spinning up isolated daemons, no?

Here it is: https://github.com/docker/docker/pull/26684/files#diff-67511ebcb3ad515f901c7a9f75d4af1aR18
$(BINDDIR="bundles-parallel/$1/bundles" make --silent echo-docker-run) sh -c "ln -s bundles-parallel/$1/bundles bundles ; KEEPBUNDLE=1 DOCKER_INTEGRATION_TESTS_VERIFIED=1 TESTFLAGS=\"-check.f $2\" hack/make.sh test-integration-cli"

(TODO: shorten the line)
In this line, make --silent echo-docker-run generates a command line for docker run.
So it spins up isolated DinD daemons for each of TestA, TestB, TestC..

ping @AkihiroSuda @cpuguy83 any news?

I changed the bucket system from {"TestA*", "TestB*", "TestC*", .., "TestZ*"} to {"TestAPIClientVersionOldNotSupported", "TestAPICreateDeletePredefinedNetworks", .., "TestWaitNonBlockedExitZero"}.
Hope it is faster than the previous revision, but maybe it is slower due to overhead in spinning up a container for the each of the buckets.
I'll try to do benchmark ASAP.

Instead of this PR, probably we should better:

Split integration-cli to multiple packages
Allow running multiple make test-integration-cli in parallel (currently impossible because bundle directory cannot be shared)
Allow running make test-integration-cli with remote daemon (for distributed execution)

Also, we need to take https://github.com/docker/docker/pull/28952 into consideration
@vdemeester

Allow running multiple make test-integration-cli in parallel (currently impossible because bundle directory cannot be shared)
Allow running make test-integration-cli with remote daemon (for distributed execution)

Now I'm trying to work on this using funker.
It is not working properly yet, but I would like to share my WIP branch: https://github.com/docker/docker/compare/master...AkihiroSuda:integration-cli-on-swarm.20161207?expand=1
We also need to split integration-cli to multiple packages

Split integration-cli to multiple packages

That's pretty cool


Verify that "Sălciua" is listed in the dropdown menu when searched

Description : When user is typing "Sălciua " in the search bar, the location should appear in the dropdown menu correctly spelled and with locality information (as in Law nr. 2 din 16 februarie 1968)
Precondition : The website is up and running.

> Step 1 : Type "Sălciua" in the search bar .
Expected result : "Sălciua" is listed as an option in the dropdown menu, and appears as "Sălciua, Alba"

Step 1 : Type "Sălciua" in the search bar .

> Step 1 : Type "Sălciua" in the search bar . Expected result : "Sălciua" is listed as an option in the dropdown menu, and appears as "Sălciua, Alba"

Expected result : "Sălciua" is listed as an option in the dropdown menu, and appears as "Sălciua, Alba"


fix: measureRef infinite loop in firefox while zoom

closes #159

Please merge ASAP, it's a major bug fix!

:tada: This PR is included in version 2.7.2 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Add NuGet Badge to README

Hey Jonathan!
Thanks for making the MemoryAnalyzers NuGet Package - I love it! I just opened a PR to add it to CommunityToolkit.Maui to help us squash any potential memory leaks too 🙌: https://github.com/CommunityToolkit/Maui/pull/1371
This PR just adds the NuGet Badge to the README. Long story short, when I discovered this repo today, I at first didn't realize it was already published to NuGet and had to do some digging to find it. Hopefully this helps future devs find your NuGet package too!

Thanks!


RHOARDOC-1547: Sync Thorntail 2.4

Can one of the admins verify this patch?

ok to test

One more thing, the doc doesn't validate, so please fix that too, @inoxx03. Thanks.

LGTM, merging.


pdf file is not opened when url contains the parameter also

Like Example.
My url is https://XXXXXXXXXproto.s3.eu-central-1.amazonaws.com/app/5a02c5751fecdc86/5a02c5785751fecdc87/OUuLXE7B-Test_Robo_Advisor.pdf?
X-Amz-A=AWS4-HMAC-SHA256&X-Amz-Credential=ASIAJ6KFeu-central-1%2Fs3%2Faws4_request&X-Amz-Date=2014231Z&X-Amz-Expires=900&X-Amz-Security-Token=FQoDYXdzEHMaDMEgjl%2B5vtvcIGV%2FIwuTkdsI3EbRdNiScI80C2cI0z8l8LoKuH7%2FHSBQ%3D%3D&X-Amz-Signature=0e97ba9b4623829a2809364ac&X-Amz-SignedHeaders=host
Link doesn't work because url contains the parameter..  How i can solve this problem

I look at this, sorry at the moment i have not much time.

I'm also running into this issue. Just a guess (I'm not very familiar with objective c), could it be a url encoding issue? Seems like there's some encoding being done here:
NSURL* url = [NSURL URLWithString:[urlStr stringByAddingPercentEscapesUsingEncoding:NSUTF8StringEncoding]];

Any chance that's not playing nice with already encoded url params like in the url in the above example?

Hi @komaldeep,
Were you able to resolve/workaround this? I am encountering the same issue.

I confirm the problem :
Works with https://www.w3.org/WAI/ER/tests/xhtml/testfiles/resources/pdf/dummy.pdf
But not with https://www.w3.org/WAI/ER/tests/xhtml/testfiles/resources/pdf/dummy.pdf?arg=1
No errror, it only shows fileName & "données"
Callback args
error: null
url: [
  {
    fileName: "dummy_pdf.pdf",
    fileNameOptional: "dummy_pdf.pdf",
    url: "https://www.w3.org/WAI/ER/tests/xhtml/testfiles/resources/pdf/dummy.pdf?onearg=1"
  }
]

For anyone else with this issue, the problem is as @sam1463 pointed out - the full url is being encoded. In our case this was messing with our parameters which were already being encoded. It seems to me that a better solution is to let the plugin encode the URL but leave the parameters as is.
Just change:
NSURL* url = [NSURL URLWithString:[urlStr stringByAddingPercentEscapesUsingEncoding:NSUTF8StringEncoding]];

to:
NSArray *items = [urlStr componentsSeparatedByString:@"?"];
if ([items count] >= 1) {
    NSString *str = [items objectAtIndex:0];
    if (str != nil) {
           str = [str stringByAddingPercentEscapesUsingEncoding:NSUTF8StringEncoding];
    }
}
NSString *urlStrFinal = [items componentsJoinedByString:@"?"];
NSURL* url = [NSURL URLWithString:urlStrFinal];


Disable experimental flag on "repl" page

ES7 features could be pretty cool and having quick community response on them is very valuable.
But static analysis tools like eslint, jscs, jshint now getting issues for supporting those constructions, whereas it seems users that do submit those issues are not fully aware of their statuses.
Which means people start using these syntaxes in production environment. Experimental semantics in production environment might be a very bad thing, for obvious reasons.
To limit this "dangerous" impact, i would like to suggest to disable "experimental" flag by default or remove it entirely from the "repl" page.

... it seems users that do submit those issues are not fully aware of their statuses.

I find this very hard to believe.

@markelog There is no "experimental" flag anymore in Babel itself, it has been replaced by --stage=n option which hopefully conveys it's stability better. We do try our best to explain this option and its risks.
I do not want to remove the option from the REPL because it frequently gets used in discussions about these new specs. We could turn it off by default though (just change this to false).
People using experimental proposals in production environments is definitely a concern for anything before stage 2. I'm interested in any ideas you have to stop that (at least for the people who don't know what they are doing completely).
As for static analysis tools getting requests for support, I don't see the real harm in that. They can get tagged for future releases and tracked that way.

@Dashed that was unnecessary to say.

Please do disable this by default.
People start playing around, and don't notice any difference between ES6 and experimental ES7 drafts - they take them as given, working, tested, and continue to use them in their actual code. When someone points out that they are not using ES6 syntax they get totally confused.
While I'm not suggesting to remove the option entirely, it should at least be non-selected.
Also it might help to group the features on the main page's "ES2015 and beyond" section by spec/draft stage. I guess most people don't understand what "and beyond" means here, and take all of these to be part of ES6.

People start playing around, and don't notice any difference between ES6 and experimental ES7 drafts - they take them as given, working, tested, and continue to use them in their actual code. When someone points out that they are not using ES6 syntax they get totally confused.

I'm okay turning it off by default, but please don't pretend you can speak for everyone. Especially when you've given nothing to back that up.

Yes, I cannot speak for everyone of course, and it might as well be that the majority of developers doesn't notice this problem at all. Yet as one of the main contributors to the ES6 tag on StackOverflow I do regularly see this, e.g. here or there. I'd estimate class initialisers and decorators are the most common mis-attributed ES7 draft features, as they are heavily used with Angular and React.
Thanks for turning it off!


Severe UI instability with large library

Describe the bug
An very unstable experience with large libraries (5k+ records), even on a high-end modern rig. Crashes inevitable within a minute.
To Reproduce
Steps to reproduce the behavior:

Go to any interactive UI element
Click on that element
within a few seconds go to another element and click on it
Playnite hangs, then crashes in its entirety. Sometimes when restarting it will warn me that that crash was cause by a plugin, offering safe mode.
Throughout all these steps from 2 onwards, up to the crash, the UI responsiveness is very sluggish

Expected behavior
Stability
Screenshots
N/A, but please advise on what artefacts I can share
Desktop (please complete the following information):

OS: Windows 11
Version [e.g. 22]: Latest versions of all plugins, including theme modifier.

Additional context
I am sure the problem is with EMixedNightMC as I have disabled all other UI extensions
Disabling ThemeModifier did not improve stability much.
I tried with eMixedNite and it was faster with the same sized library without the lag preceding the inevitable crash. Overall seemed much more stable than the EMixedNightMC fork.
The crashes seem to happen when any new UI element(s) is/are presented to the user, through basic interaction (changing filters, changing a background, opening a game menu through edit on teh details panel. In fact the only place where it 100% doesn't happen is the Playnite menu itself.
Even when using a small pool of records on screen (through the filter), crashes still happen
I would love to share some log files but I'm not sure where to begin. Any suggestions?

I removed a few DataTriggers, it may help performance. Also be sure to disable the extension BackgroundChanger if you use it because it makes the UI lag. The problem with BackgroundChanger will be fix on next update.
This theme is big and has a lot of components in it, for my library of around 2.5k its still smooth with a modern high-end computer. Let me know if its better in any way after the version 3.6!

Hello. Have same problem. My playnite loading each details page poorly. I am not using Background Changer extansion. Have 12000 intel and 3060 rtx. Display is 2560x1440.
Video captured this lag (video recorder not made this loading lag worse):
https://drive.google.com/file/d/1z4_AohgVqhvHSqQqMXxm_M9G5jeYJf-o/view?usp=sharing

I found one demisolution for this. This theme MUCH easier loading .jpg backgrounds than .png
Using Photoshop Converter tool made this loading issue less noticeable.

Turned off HLTB - no more lags at all.

I found one demisolution for this. This theme MUCH easier loading .jpg backgrounds than .png Using Photoshop Converter tool made this loading issue less noticeable.

Turned off HLTB - no more lags at all.

Thanks for the info @docHOLO! I just tried disabling HLTB and there was a noticeable change in performance so ill try to investigate and see if I can come up with a better way to integrate this plugin.
For images being in jpeg it sure helps but don't do this for your icon or logo because you will loose any transparency effect. For me I use the plugin Game Media Processor from azuravian with these settings to resize every images.

Media Type
Width x Height

Cover
385 x 545

Background
1295 x 766

Icon
256 x 256

Logo
500 x 300

Be sure to use the "Resize" panel with both "Keep Aspect Ratio" and "Only Shrink" options enabled. That way it will only downsize any images that's bigger than the Width x Height chosen while keeping the original aspect ratio of the images so its not deformed.

I then use the plugin Image Cache Size Saver from darklinkpower to ease up things a little bit more! I do this after I added a few games but technically you could do this anytime you add a game. I use 2k resolution and the settings for resizing the images does not affect the quality. If you run on 4K, adjust the settings to get better images resolution.
With these done I have a pretty smooth experience using eMixedNiteMC with all the addon it support + some other and having a ~2.5k library, its even better when disabling HLTB and BackgroundChanger but its still ok and not as bad as it is on your video when both are enabled, even with background and cover function enabled in BackgroundChanger.

HLTB integration has been improved in v3.85! The plugins left that could maybe be better implemented would be the cover function of BackgroundChanger and the plugin SuccessStory.


[Question] Order of execution (saga/reducer) life cycle

I wonder if it is guaranteed that the reducers will execute right after put
before the next yield.
This would be a silly example.
// Assuming the initial value of the flag is false, and there is a reducer
// that sets the flag true when SET_A_FLAG is dispatched with enabled: true
function* sillyWorker() {
  yield put({ type: 'SET_A_FLAG', payload: { enabled: true } })
  const isFlagEnabled = yield select(state => state.enabled)
}

Will the reducer always have time to change the value in the store,
before yield seelct is executed ?

Sorry for opening this, it is very clearly explain in the docs.
It's important to note that when an action is dispatched to the store, the middleware first forwards the action to the reducers and then notifies the Sagas. This means that when you query the Store's State, you get the State after the action has been applied

Keep in mind that's true if you do not introduce async middleware AFTER redux-saga's one (there is like noone doing that, but it's worth noting that the described behaviour might not be ALWAYS true).


add wrapper ClassName // DOM_CONTENT_UPDATED

Added:

DOM_CONTENT_UPDATED notification when a module is updated with updateDom()
set className for njk wrapper:

There is no class name to the main wrapper of the module and It's dificult to identify it
---> define it to <module_name>-njk

jeez that sounds like a lot of waste.. notifications on every dom update.. WHY?  what is the use case?
If YOU need to know put a change event on the node

see the Observer and  Mutation events
https://stackoverflow.com/questions/3219758/detect-changes-in-the-dom

really ? ... and with njk ?


Cannot perform member access on this type

Member access through references don't work

@ryanfleury This also happens when trying to access a pointer, but dereferencing it and then access the members using '.' works

Reproduced the reference . operator case, I must've broken this at some point... Fixing that now.
@Husamdababneh it should work on pointers. Can you be more specific about what you're seeing? Are your pointers modified in any way, e.g. const or volatile?

Fixed accessing reference members in f11b128a07e251fa8f65e017f72d2e575007a6d4.

Fixed constant pointer/reference member accesses in f75ee24a2b5e0b4316c6ea95c95a14ada36ebf29. Regular pointers should work, so I think I've addressed the bug you were referencing @Husamdababneh. Let me know if that is not the case.

@ryanfleury Yes It was actually const pointer, thank you
This following image is just to make it clear for other readers (Watch window, last two lines)

Cool. Yep, this should be fixed now.

@ryanfleury , I'm very sorry, but another thing I just noticed, dereferencing the pointer does not do anything

That should be fixed in 2a27b5af51fab3daea793beecdc1a1153db2d54d.


Exp func example

Hi guys,
I update the exp example. Please take a look and feel free to comment.
ps. for the narrative format, I am trying to keep the same format with @sivakornchong so that it will look consistent when people look into tutorial.

Looks good to me

Hey @carinaya, I pulled the branch and try to run the R cell block, but could not.

How did you do it?


Issue-change date format parsing for display

Automated Review Comments
Issues in examples/streamGraphExample/src/components/Axis.js:

(3, 'Hardcoded string found')
(7, 'Hardcoded string found')

I got it.


[Task]: JSObject Variable Mutation

Is there an existing issue for this?

[X] I have searched the existing issues

POC tasks

[x] #19912
[ ] #19907
[ ] #19908 ( 0.5 )
[ ] #19909 ( 1 )
[ ] #19910 ( 0.5 )

Unit Tests

[ ] #19913

[ ] Objects
[ ] Arrays
[ ] Maps
[ ] Sets
[ ] Normal function
[ ] Referential mutation

Code refactors ( Only after main logic is done )

[ ] #19911

Closing this as we are tracking subtasks with epic.


Update distribution doc for IBM IKS

update the deployment instructions to use v1.7-branch
update the OWNERS files to reflect the ownership changes

/cc @Tomcli

/lgtm
/approve


websocket route

Hi Ben,
It's me again :)
I am trying to to implement a websocket route for reloading the page in the browser when the server restarts, for now using this library: golang.org/x/net/websocket
Same question as before, how would you implement a websocket route with the same regex table approach? https://benhoyt.com/writings/go-routing/#regex-table
ed

@edimoldovan Assuming CreateRoute takes an http.HandlerFunc as its third argument like newRoute did, you don't actually need to convert to an http.HandlerFunc -- the websocket.Handler(Live).ServeHTTP is already an http.HandlerFunc, so you can just do:
// if CreateRoute takes an http.HandlerFunc:
CreateRoute("GET", "/live", websocket.Handler(Live).ServeHTTP)
// or, if CreateRoute takes an http.Handler:
CreateRoute("GET", "/live", websocket.Handler(Live))


cannot query in Hebrew

Description:

when i puth hebrew into db query i get eror java heap space
Steps to reproduce:
i have made query into oracledb with this select
"SELECT * " +
"FROM srvc.emplr_class_s2_mvw " +
"WHERE insured_name like '%בירמן%'"Affected Versions:*
i tried to make the query with varibale and i got the same error
OS, DB, other environment details and versions:
if i made this query with english or number evertthing is ok
Ballerina version 1.0.3
Related Issues (optional):

Suggested Labels (optional):

Suggested Assignees (optional):

Closing this issue as the above scenario worked fine with the latest Ballerina(Swan Lake Alpha4) and H2 Database.
The above scenario sample code for the latest ballerina:
import ballerina/io;
import ballerina/sql;
import ballerinax/java.jdbc;

jdbc:Client jdbcClient = check new ("jdbc:h2:file:./target/sample1");

type Student record {
    int id;
    string name;
};

public function main() returns error? {
    io:println("The update operation - Creating a table");
    sql:ExecutionResult result = check jdbcClient->execute("CREATE TABLE " +
                                        "student(id number(10), name varchar(50))");
    io:println("Create student table", " status: ", result.affectedRowCount);

    io:println("\nThe update operation - Inserting data to a table");
    result = check jdbcClient->execute("INSERT INTO student(id, name) VALUES " +
                          "(23, 'בירמן')");

    io:println("\nThe select operation - Select data from a table");
    stream<record{}, error> resultStream = jdbcClient->query("Select * FROM student " +
                                              "where name like '%בירמן%'", Student);
    stream<Student, sql:Error> studentStream = <stream<Student, sql:Error>>resultStream;
    error? e = studentStream.forEach(function(Student student) {
        io:println(student);
    });
    if (e is error) {
        io:println(e);
    }

    io:println("\nThe update operation - Drop the student table");
    result = check jdbcClient->execute("DROP TABLE student");
    io:println("Create student table", " status: ", result.affectedRowCount);
}

Output:
The update operation - Creating a table
Create student table status: 0

The update operation - Inserting data to a table

The select operation - Select data from a table
{"id":23,"name":"בירמן"}

The update operation - Drop the student table
Create student table status: 0


Incorrect package.json "main" entry

Other than linked PR below, Workaround to downgrade package version to "bitpay-sdk": "^1.4.2102"

#47 should fix this

Hi, we could not reproduce this issue but I suggest you try our testing package that includes a couple of changes that will be available in the next stable version. The testing package is called "bittest" and it's an acceptance copy of the official package:
https://www.npmjs.com/package/bittest
Here's an example of the two ways to initialise it:
        const {Client, Env, Currency, Models, Tokens, Facade} = require('bitpay-sdk');
        ...

        let tokens = Tokens;

        tokens.merchant = 'MERCHANT_TOKEN';

        let keyPlainTextOrPathToKeyFile = 'PRIVATE_KEY_HEX_OR_PATH';

        let client = new Client(null, Env.Test, keyPlainTextOrPathToKeyFile, tokens);
        // OR
        let client = new Client("PATH_TO_FILE");

This was fixed in #40

@anbugal @jekh I've done the integration with V1 package, which was workaround then as latest version, upon npm install, puts the script in path that is mismatching with the specified path in package.json therefore affecting users to import. Steps to reproduce is to install latest version 2.x from npm and try require bitpay sdk, which errors out.

Hi @svashish305 we're working on a new version that also replaces "request-native" and should solve this issue, could you please try it out? it is deployed to our testing package called "bittest"
https://www.npmjs.com/package/bittest

Hi @svashish305 we're working on a new version that also replaces "request-native" and should solve this issue, could you please try it out? it is deployed to our testing package called "bittest" https://www.npmjs.com/package/bittest

Hi @anbugal, i replaced my version of bitpay-sdk with latest version of bittest and I'm able to instantiate client, create and retreive invoices. Would be great if this gets live soon so everyone can implement without any hassles.

@svashish305 you can now use the version 3.0.2202


Look at vnets for securing postgres DB a bit more

https://docs.microsoft.com/en-us/azure/postgresql/flexible-server/how-to-manage-virtual-network-cli


Stop Joystick swapping back

Hi yoannmoinet, Love your work!
Is there a way to station the joystick knob where the user moved it to without it swapping back to its original position?
I want to achive this -

Thanks!

This could be possible, using a static joystick and adding a new option in the code.
Then, put this statement behind the condition of this option.
That would block the movement and keep the joystick in its latest position.
I don't have much time, feel free to submit a pull request for this.
Or I'll try to add it sometime later.

@yoannmoinet Thanks, alot, works like a charm. I have sent you a pull request.
https://github.com/yoannmoinet/nipplejs/pull/50

Wow! thank you @MalithHatananchchige for the fast PR !! 🙌
I'll have a look later this week I sware!

Updates?

Waiting for @MalithHatananchchige PR to be updated.

I was looking for this feature too, so I added it and made a PR: https://github.com/yoannmoinet/nipplejs/pull/59, could be useful if @MalithHatananchchige hasn't got a fix for his PR close at hand.

Has been closed with #59


Is there a plan to increase support for core2.0?

Hi：@ivanz
Is there a plan to increase support for core2.0?
Currently unable to use MSpec in core2.0

hi: @robertcoltheart
I tried to run the test and it is still not available
2018.07.12 00:02:45.301    WARN Element Tests.Companies.shoud_create_company was left pending after its run completion.

Hi, @Y2zz can you please attach a sample project so we can reproduce and fix?

@robertcoltheart
I am very sorry, forgot to say my situation.
I am using visual studio 2017 (15.7.5), resharper 2018.1.3 can not run

Yes, I understand. But can you please upload a zip file with a solution and code that reproduces this? I can't reproduce this locally and need your help if I am to fix this.

I have created a console demo project for testing Resharper found MSpec test target
https://github.com/Y2zz/MSpec-Runtime-Test.git

There are a couple of problems with your sample:

You need to reference Microsoft.NET.Test.Sdk in order to properly run tests
You should delete the Program.cs file.
Ideally the It statement should actually test something like true.ShouldBeTrue() or something, but this is ok for now.

Once I do (1) and (2), the tests are discovered and run as normal, see below:

Please provide any further amendments to your sample so that we can check if this is a genuine issue, otherwise I'll go ahead and close this.

@robertcoltheart
Sorry, I only saw the information at this time.
After further modification, the test can be run, but the relevant options for the test are not found in the right-click menu.

This is a known issue with VS and R#. The code needs to be built first, then the option will show up. In any case, it isn't an issue within MSpec, so I'm going to close this issue.


Drobpox: Can't sync file - cannot unmarshal number error?

Hi Nick,
What does this error mean? The only thing unusual about this directory is that there are some large files (several GB). Is there a file size limit?
darren@serverb3:~$ rclone -v sync --size-only  dropbox:Videos/ /home/storage/video/ --dry-run
2015/06/15 13:21:32 Dropbox root 'Videos': Open rclone datastore
2015/06/15 13:21:33 Local file system at /home/storage/video: Modify window is 1s
2015/06/15 13:21:33 Local file system at /home/storage/video: Building file list
2015/06/15 13:21:33 Local file system at /home/storage/video: Waiting for checks to finish
2015/06/15 13:21:33 Dropbox root 'Videos': Open rclone datastore finished
2015/06/15 13:21:33 Dropbox root 'Videos': Couldn't list: json: cannot unmarshal number<PHONE_NUMBER> into Go value of type int
2015/06/15 13:21:33 Local file system at /home/storage/video: Waiting for transfers to finish
2015/06/15 13:21:33 Local file system at /home/storage/video: Not deleting files as there were IO errors

Transferred:            0 Bytes (   0.00 kByte/s)
Errors:                 1
Checks:                 0
Transferred:            0
Elapsed time:  1.848898883s

2015/06/15 13:21:33 Go routines at exit 12
darren@serverb3:~$ rclone -V
rclone v1.17

Thanks.

I'd say you have a file bigger than 2 GB and that you are running on a 32 bit machine.
It will work if you try it on a 64 bit machine most likely.
However that does look like a bug
In github.com/stacktic/dropbox/dropbox.go it looks like the below should be an int64 instead of an int.
type Entry struct {
	Bytes                int       `json:"bytes,omitempty"`        // Size of the file in bytes.

I'll investigate further - thanks.

Thanks Nick. Yes, it's a 32-bit box so that's probably it.

On 15 Jun 2015, at 14:16, Nick Craig-Wood<EMAIL_ADDRESS>wrote:
I'd say you have a file bigger than 2 GB and that you are running on a 32 bit machine.
It will work if you try it on a 64 bit machine most likely.
However that does look like a bug
In github.com/stacktic/dropbox/dropbox.go it looks like the below should be an int64 instead of an int.
type Entry struct {
Bytes                int       json:"bytes,omitempty"        // Size of the file in bytes.
I'll investigate further - thanks.
—
Reply to this email directly or view it on GitHub.

Just FYI, on the same box I seem to be able to download a >4GB file from Dropbox using this script: https://github.com/andreafabrizi/Dropbox-Uploader so it's not necessarily a problem to download big files on 32-bit systems.

You are right, it is a bug in the dropbox library I'm using.  I'll submit a fix to the author, but it will require a breaking interface change so I don't know how well it will go down.

Upstream issue stacktic/dropbox#19 created

Proposed fix for the above stacktic/dropbox#20

Works a treat now. many thanks.

This has now made it to the v1.18 release
Thanks for the report


SSIM is much lower!

Thanks for the great work! I ran the std evaluation code but got different results with the paper.
The MSE and LPIPS values align with those reported in the paper, but the SSIM values obtained are significantly lower. I would like to know if additional parameter settings or other reasons are causing this discrepancy. The result is shown in the following fig.

Hi @p4r4mount, and thank you for your interest in our work!
You are right; the SSIM scores generated with the latest code in this repo are different than those reported in the paper. This is because we made a small change in the code (in this commit 68b13a7, after the paper was published) regarding how the SSIM values are calculated. Now, the correct range of pixel values is considered during the calculations. You can see here for more details about the reason for this change.
Please note that this applies to the SSIM scores of all methods, without affecting the rankings much. Therefore, the conclusions we draw from the scores are not changing. We are planning to submit a new version of the paper to arXiv, including these updated SSIM scores.

Thank you for your response!  It's very helpful to me.


Add a minimal PyTorch GPU example

I noticed that we didn't have a minimal GPU example, and all the examples in the 06_gpu folder were more complex programs, so I added a simple one with just the boilerplate.
If someone just wants to quickly run something on a GPU, I can link them this. Perhaps we could link the code from the https://modal.com/docs/guide/gpu page too?

Thanks – we could potentially link to this one under "integrations" – I think it would be useful to have a long list of basic scaffolding for various frameworks/providers


google-common[patch]: adding client-info

Fixes # (issue)

I don't know what the format of Client-Info is supposed to be (is it a standard HTTP header? I can't find a reference if so), but it almost certainly isn't the output toString() provides.
See other inline notes.
Might also be good to have a test to make sure these are in the format expect. See the test in llms.test.ts called "user agent header"

I think it looks better after these updates.
Remaining thoughts:

As @jacoblee93 and I observed - env?.libraryVersion is undefined at the moment. So this new header may not be giving you what you think. What are you expecting it to be?
Run the tests in "chat_models.test.ts", particularly the "user agent header" test to make sure it still passes.
Add another test to "chat_models.test.ts" to test the expected outcomes from the Client-Info header.

Agree with @afirstenberg's comments above - the libraryVersion check looks like an oversight in first place. Could you verify this is doing what you expect?

Hi @afirstenberg @jacoblee93 ,
I was researching through langchain documentations in order to understand how to get langchain version in the runtime. Unfortunately i am not able to find the same in the docs and in API reference portal here https://api.js.langchain.com/.
For now, i think we can make this hardcoded as we have mentioned in the package.json. Any thoughts?

For now, i think we can make this hardcoded as we have mentioned in the package.json. Any thoughts?

Hardcoded to what value?
If you mean hardcoded to the same value in "package.json", there would need to be some way to update that value every time the value in package.json gets updated.

Yes,lets just keep in mind to update this value, until we figure out some solution?

Yes,lets just keep in mind to update this value, until we figure out some solution?

That doesn't scale, and is unlikely to happen. The release process itself is highly automated precisely so updating the versions manually aren't required.
Is there a  reason we can't leave this set at 0?  Or 0.0.0 if you insist on that formatting?
What analytics are you trying to get from this version info, specifically?

Understood, I have informed the team, lets see if zero is fine. Will get back to you on this.

We currently don't support getting the current version at runtime :(
The solution would be to export some file with a string we update on release, but would need to build that out.

The package.json file isn't accessible at runtime to my knowledge

Hi, I did the original implementation for this tracking in the Python LangChain library. If it's not possible to get the version number for the LangChain JS library, then I think it's fine to just put zeroes in place. This was arbitrarily added by me just so we could track it if it's useful.

Sure, @holtskinner , I will put it as zero.

I'm just going to hardcode this to 0 rather than rely on a non-existent parameter.

I'm just going to hardcode this to 0 rather than rely on a non-existent parameter.

I would have said to keep it as env?.libraryVersion ?? "0".
RuntimeEnvironment.libraryVersion is a valid parameter of that type as returned by getRuntimeEnvironment(), so it might be set some day. {:
And the test will catch it if so.
But I'm at the point where it clearly doesn't matter.
LGTM

@jacoblee93 , I have added formatting too, is there anything else I should add or its good to go?


App rejected by Apple because "using Safari" to log FB

Today I got my app rejected:
"We noticed that the user is taken to Safari to sign in or register for an account, which provides a poor user experience."
Is anything I can change from my side? It seems crazy ...
Thanks!

Although I'd like to know how to set the behavior on Angular Typescript,  a fast fix is in
login.manager.ios.js
On Line 9
change
if (fbLoginBehavior === void 0) { fbLoginBehavior = login_behavior_1.LoginBehavior.LoginBehaviorBrowser; }
to
if (fbLoginBehavior === void 0) { fbLoginBehavior = login_behavior_1.LoginBehavior.LoginBehaviorNative; }

Hi @arcovoltaico,
Just pass the desired LoginBehavior as a second parameter to the init method of the plugin (LoginBehaviorBrowser is the default value).
...
import { LoginBehavior } from "nativescript-facebook";
...
nsFacebook.init("fb_id", LoginBehavior.LoginBehaviorNative);
...

Thanks so much !


Relations not appearing in JSON export

Describe the bug
After annotating entities and their relations, when I come to export the JSON-MIN for the annotations, the entities are present in the JSON but the relations are not.
To Reproduce
Steps to reproduce the behavior:

Setup relation annotation task
Here is my labelling config

<View>
  <Relations>
    <Relation value="refers_to"/>
  </Relations>
  <Labels name="label" toName="text">
    <Label value="Name" background="green"/>
    <Label value="Reference" background="blue"/>
  </Labels>
  <Text name="text" value="$Full_Text" granularity="word"/>
</View>

Annotate a task with entities and add relation
Click on export and select JSON-MIN
Exported JSON files does not contain the relations
Here is an example:

    "id": 5297,
    "label": [
      {
        "start": 148,
        "end": 168,
        "text": "Electric City Corp.,",
        "labels": [
          "Name"
        ]
      },
      {
        "start": 197,
        "end": 204,
        "text": "Company",
        "labels": [
          "Reference"
        ]
      },
      {
        "start": 212,
        "end": 241,
        "text": "Electric City of Illinois LLC",
        "labels": [
          "Name"
        ]
      },
      {
        "start": 244,
        "end": 255,
        "text": "Distributor",
        "labels": [
          "Reference"
        ]
      }
    ]

Expected behavior
The JSON file should have the annotations for the entities and for the relations.
Environment (please complete the following information):

Ubuntu
Label Studio Version 1.4.0

Additional context
Add any other context about the problem here.

@uwaisiqbal I've checked your config and it looks like a bug in JSON-MIN export with relations. As a fast walkaround I would recommend that you use the common JSON format.

ah ok sure - is there some boilerplate code that creates the JSON-MIN from the full JSON format that I can just modify to include the relational data? Or is it just easier to write something from scratch?

@uwaisiqbal https://github.com/heartexlabs/label-studio-converter/blob/master/label_studio_converter/converter.py#L359 the entry point is here. It would be great if you could share your PR with our community!


kitematic.com inaccessible on some networks

Not enough info. Closing. (Please re-open if there is more info)


Windows 10 enterprise vagrant up

Issue Type

Bug Report / Support Request

Your Environment
The provider 'PROVIDER' could not be found, but was requested to
back the machine 'default'. Please use a provider that exists.
When running vagrant up prompted to run vagrant up --provider=PROVIDER

### Your OS

Windows 10 enterprise

@ikit-claw - Interesting... Do you have VirtualBox installed on Windows? I haven't run into this before.

Also, does it say that after you do vagrant up alone (without the --provider part)?
See potentially related Vagrant issue: https://github.com/mitchellh/vagrant/issues/5189

I'm running VMware12

Ah, if you want to use Vagrant with VMware, you also have to buy and install the vagrant-vmware plugin—see https://www.vagrantup.com/vmware/
(This is why I've stopped using VMware for my own environments... after three times paying for upgrades to VMware + Vagrant's plugin, I decided it's not worth the effort/price).
Otherwise, if you install VirtualBox, Vagrant will detect it's present and work with it instead of VMware.

So if I go back to using VirtualBox it should work?

I guess you should put that in the notes.

How I get couldn't open base

Hmm, what's the exact error message? Is it something like https://github.com/geerlingguy/drupal-vm/issues/672

Okay I followed the suggestions in 672 and it worked played with it a little but today it won't load at all. Why do people use windows argh

Why do people use windows argh

Haha... but to that point: Developing with VirtualBox and Vagrant on Windows.
What messages are you getting when it's not loading? Can you grab a screenshot of the console or somehow copy out the text? Also, one other question—what terminal/CLI emulator are you using? I've had the best luck with Cmder or Cygwin, though Powershell and plain old Git Bash may work in some cases too.

Sorry I've just uninstalled it for now. It was supposed to be a quick thing for a tutorial I might circle back around to this later when I have time to get into it.


Flagged as Malware

I've used Nightfall for a long time- love it!
Today I got this popup when trying to start it:

If I press "Cancel", it just returns after a few seconds.
System Preferences / Security doesn't show the usual dialog / allow button.
Any insight into what this is about?  I'm on Big Sur via 2019/2020 MBP

AFAIK, this is caused by a problem with the signing certificate used when building the app. This issue should be fixed in version 2.1.3. You should move your currently installed version to the trash.
See also: #13


misplace when move while placing

When I easyplace it and move over - or rotate, blocks are often misplaced with any interval (or placing rounds per cycle).
It happens in singleplayer / multiplayer, creative / survival.
Seems its placement behavior is relative postion.
*I'm using it instead of paste schematic in creative server - thanks for it anyway

I've tested this tons including while flying in creative. I am personally unable to reproduce this error.


Helper functions / verbose debugging to triage IAM (S3) issues

It is not uncommon to hit "Access Denied" errors with S3 and other AWS services when Metaflow uses incorrect AWS credentials. Currently, it is hard to debug issues like this, since there are no easy ways to see what profiles/credentials Metaflow is using.
We could provide an option to surface more debugging information about credentials.
Example https://gitter.im/metaflow_org/community?at=60abcd90d0f55b33ba07781f

another example https://gitter.im/metaflow_org/community?at=60aeee3978e1d6477d68ef9a


implement dh

https://www.ietf.org/rfc/rfc2631.txt

https://github.com/NegaScout/ToyPublicKeys/pull/24


feat: remove dead code

@vatsalaggarwal  you missed https://github.com/metavoiceio/metavoice-src/blob/main/fam/llm/mixins/init.py#L2 and broke the build.

sorry, thanks for that... should be fixed in https://github.com/metavoiceio/metavoice-src/pull/24


[Feature]  720 HQ bitrate

Device
All devices
Suggestion
Hi, 1080 HQ is a great feature. Could you had a high bitrate  too for 720. I'm using your app on my Nintendo switch. There is an Android partition ( android 11) on it. Yes, it's true:) . Better X-cloud app works well. The screen cap to 720 in handle and when I set 1080 normal mode on better x-cloud, fps is only at 30 even if I've setted 60 fps (limitation of the wifi ?) But graphics definition are better.
So could you had a 720 HQ with a better bitrate ?
I'm using Moonlight app  to stream my PC on my Nintendo switch directly. Not using the android partition. It works very well.
Is it possible possible to port Better X-cloud app in native for Nintendo Switch like for Moonlight ?

Only xCloud can add this


Use of Mutation Events is deprecated. Use MutationObserver instead. tiny_mce.js:1:0

Hello
This is an awesome plugin but it shows this error
Use of Mutation Events is deprecated. Use MutationObserver instead. tiny_mce.js:1:0
Can you please fix this and let me know  ?
Thanks

Hey @kressly sorry for not replying to this earlier. Would you mind making a pull request for this? I'll be happy to review and merge it.
Thanks,


[Python] Daily work

Python Daily work include:
(1) release request issue
(2) handle customer-reported issue
(3) handle contributor PR
(4) swagger review
...

morning meeting : https://microsoft-my.sharepoint.com/:x:/p/yuchaoyan/ERBFulQ0O-xCpVOw1-QuBXgB_n4l4-WVE6Tuhwoo1go2IQ?e=eNEaZv

https://github.com/Azure/azure-sdk-for-python/pull/21689


[zh-cn] sync contribute/docs.md

content/zh-cn/docs/contribute/docs.md

Seems those changes of #44686 shall be included in this PR.

Updated

/lgtm


Abstract classes cannot be created with a 'new' expression

language/
abstract_exact_selector_test: StaticWarning
abstract_runtime_error_test: StaticWarning
stderr:
WARNING|STATIC_WARNING|NEW_WITH_ABSTRACT_CLASS|/Users/scheglov/Source/Dart/dart/tests/language/abstract_exact_selector_test.dart|18|14|3|Abstract classes cannot be created with a 'new' expression
Command[dartanalyzer]: sdk/bin/dartanalyzer_developer --ignore-unrecognized-flags --show-package-warnings --package-root=xcodebuild/ReleaseIA32/packages/ --machine --no-hints /Users/scheglov/Source/Dart/dart/tests/language/abstract_exact_selector_test.dart
Took 0:00:02.659000
Short reproduction command (experimental):
    python tools/test.py -mrelease -cdartanalyzer -rnone -t240 language/abstract_exact_selector_test

I don't get a failure running either python tools/test.py -mrelease -cdart2analyzer -rnone -t240 language/abstract_exact_selector_test or python tools/test.py -mrelease -cdart2analyzer -rnone -t240 language_2/abstract_exact_selector_test
Should we close this?


Subject of the issue
Describe your issue here.
Your environment

OS:
Packages:
Env:

Steps to reproduce
Tell us how to reproduce this issue. Please provide a working and simplified example.
🎉 BONUS POINTS for creating a minimal reproduction and uploading it to GitHub. This will get you the fastest support. 🎉
Expected behaviour
What should happen?
Actual behaviour
What happens instead?

在window上图片加载不出来，在mac上可以。希望解决一下哈。

vite的问题，可以向vite提issue


Updated Bootstrap Select to version 1.12.4

Coverage remained the same at 100.0% when pulling a3e9abc22844abf5ca1540986c2994c28381df65 on bselect-update into 0773596aa36a1e60116adb46980a09138fac0014 on master.


Update newsletter.html

Added link to October 2020 newsletter.

Hey @PanosParalakis - I've just updated this page to add a link to the October 2020 newsletter.
If you're happy with everything, this can be pushed straight away. Thanks mate.

This is ready for you to merge now @PanosParalakis - thanks mate.


Webpack - caching improvements

Description
- Use case 1 : Buggy app

Deploy an app that is somehow buggy. Even best dev make mistakes
A client access the app via your favourite browser (which is probably supporting cache api and service worker). Your app is cached by service worker (sw).
Redeploy your app with correction
Same client access the app via the same browser by pressing f5. He's getting the sw cached version.
Note that if client closes its tabs, browser ... then access the app, he will get the new version. This is related to the new deployment which generates a new sw.js file. This file will be executed by service worker but because of sw lifecycle, it will be used only when all clients stop using the previous one

- Use case 2 : Subsequent deployments

Deploy an app
A client access the app via his favourite browser (which is probably supporting cache api and service worker). Your app is cached by service worker (sw).
Redeploy your app with correction, improvements. Hey, aren't we suppose to push continously (CI/CD)
Same client access the app via the same browser by pressing f5. He's getting the sw cached version.
Note that if client closes its tabs, browser ... then access the app, he will get the new version. This is related to the new deployment which generates a new sw.js file. This file will be executed by service worker but because of sw lifecycle, it will be used only when all clients stop using the previous one

Steps to reproduce
Nothing in particular
Expected behavior
I think we should discuss the offlinePlugin configuration of webpack.
This plugins generates a sw.js file which contains the caching strategy that will be executed by browsers service workers.
I think we should discuss the caching we want and either adapt the offlinePlugin configuration or generate a custom sw strategy.
From my point a view, last version deployed should always be served first as it contains improvements, bugs corrections, ... Maybe you guys have other point of view ?

One simple way of doing this would probably be to exclude index.html from the sw configuration (I think this can be done by adding index.html next to the .htaccess in the configuration of the plugin - I'll check that and let you know).
Another way could be to configure the plugin to autoUpdate more frequently that 24 hours (which is the default caching time) .
Another way could be to configure the sw with skipWaiting feature. This does not seems to be supported by offlinePlugin

By the way, this link  explains very well the differences in refresh scenarios (F5, CTRL+F, ...)
Versions

React-Boilerplate: latest
Node/NPM: latest
Browser: chrome latest

Close in favor of this


[FEAT] Create .readthedocs.yaml

Closes #
📑 Description

✅ Checks

[ ] My pull request adheres to the code style of this project
[ ] My code requires changes to the documentation
[ ] I have updated the documentation as required
[ ] All the tests have passed

ℹ Additional Information

Based upon example YAML at https://docs.readthedocs.io/en/stable/config-file/v2.html
See also: #66

Not sure that this is still needed.
Superseded by #73


Error

Message: Interface\AddOns\GSE\API\GUIFunctions.lua:142: GSE isn't registed with AceConfigRegistry, unable to open config
Time: 01/13/17 20:45:34
Count: 2
Stack: [C]: ?
...nfig-3.0\AceConfigDialog-3.0\AceConfigDialog-3.0.lua:1801: in function Open' Interface\AddOns\GSE\API\GUIFunctions.lua:142: in function OpenOptionsPanel'
Interface\AddOns\GSE\GUI\Viewer.lua:235: in function <Interface\AddOns\GSE\GUI\Viewer.lua:235>
(tail call): ?
[C]: ?
[string "safecall Dispatcher[4]"]:9: in function <[string "safecall Dispatcher[4]"]:5>
(tail call): ?
Interface\AddOns\GSE\Lib\AceGUI-3.0\AceGUI-3.0.lua:314: in function `Fire'
...s\GSE\Lib\AceGUI-3.0\widgets\AceGUIWidget-Button.lua:22: in function <...s\GSE\Lib\AceGUI-3.0\widgets\AceGUIWidget-Button.lua:19>
Locals: (*temporary) = "GSE isn't registed with AceConfigRegistry, unable to open config"

Do you still have GS-SequenceEditor in your addons from GSE 1?
TimothyLuke

On 14 Jan 2017, at 7:16 am, Spoony36<EMAIL_ADDRESS>wrote:
Message: Interface\AddOns\GSE\API\GUIFunctions.lua:142: GSE isn't registed with AceConfigRegistry, unable to open config
Time: 01/13/17 20:45:34
Count: 2
Stack: [C]: ?
...nfig-3.0\AceConfigDialog-3.0\AceConfigDialog-3.0.lua:1801: in function Open' Interface\AddOns\GSE\API\GUIFunctions.lua:142: in functionOpenOptionsPanel'
Interface\AddOns\GSE\GUI\Viewer.lua:235: in function <Interface\AddOns\GSE\GUI\Viewer.lua:235>
(tail call): ?
[C]: ?
[string "safecall Dispatcher[4]"]:9: in function <[string "safecall Dispatcher[4]"]:5>
(tail call): ?
Interface\AddOns\GSE\Lib\AceGUI-3.0\AceGUI-3.0.lua:314: in function `Fire'
...s\GSE\Lib\AceGUI-3.0\widgets\AceGUIWidget-Button.lua:22: in function <...s\GSE\Lib\AceGUI-3.0\widgets\AceGUIWidget-Button.lua:19>
Locals: (*temporary) = "GSE isn't registed with AceConfigRegistry, unable to open config"
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.

Nope, I deleted my interface folder and did a fresh install because I was getting errors pop up every couple of seconds, it's still doing it to with a fresh install. Just pops up for no known reason and it's annoying when in bg as it appears right in the middle of screen lol
Love the addon though and it's been my life saver :) Keep up the good work.
Message: Interface\AddOns\GSE\API\Storage.lua:217: bad argument #1 to 'pairs' (table expected, got nil)
Time: 01/13/17 21:09:52
Count: 1
Stack: [C]: in function pairs' Interface\AddOns\GSE\API\Storage.lua:217: in function ReloadSequences'
Interface\AddOns\GSE\API\Events.lua:98: in function ?' ...\GSE\Lib\CallbackHandler-1.0\CallbackHandler-1.0.lua:145: in function <...\GSE\Lib\CallbackHandler-1.0\CallbackHandler-1.0.lua:145> [string "safecall Dispatcher[2]"]:4: in function <[string "safecall Dispatcher[2]"]:4> [C]: ? [string "safecall Dispatcher[2]"]:13: in function ?'
...\GSE\Lib\CallbackHandler-1.0\CallbackHandler-1.0.lua:90: in function Fire' ...terface\AddOns\GSE\Lib\AceEvent-3.0\AceEvent-3.0.lua:120: in function <...terface\AddOns\GSE\Lib\AceEvent-3.0\AceEvent-3.0.lua:119> [C]: in function LoadAddOn'
Interface\FrameXML\UIParent.lua:407: in function UIParentLoadAddOn' Interface\FrameXML\UIParent.lua:494: in function AchievementFrame_LoadUI'
Interface\FrameXML\UIParent.lua:660: in function `ToggleAchievementFrame'
[string ":OnClick"]:1: in function <[string ":OnClick"]:1>
Locals: (*temporary) = nil
(*temporary) = "table expected, got nil"
=  defined =[C]:-1

Can you upload this file for me.  I'll see what I can replicate
c:\path\to\world of warcraft\WTF\Account\Accountname\SavedVariables\GSE.lua
TimothyLuke

On 14 Jan 2017, at 7:41 am, Spoony36<EMAIL_ADDRESS>wrote:
Nope, I deleted my interface folder and did a fresh install because I was getting errors pop up every couple of seconds, it's still doing it to with a fresh install. Just pops up for no known reason and it's annoying when in bg as it appears right in the middle of screen lol
Love the addon though and it's been my life saver :) Keep up the good work.
Message: Interface\AddOns\GSE\API\Storage.lua:217: bad argument #1 to 'pairs' (table expected, got nil)
Time: 01/13/17 21:09:52
Count: 1
Stack: [C]: in function pairs' Interface\AddOns\GSE\API\Storage.lua:217: in functionReloadSequences'
Interface\AddOns\GSE\API\Events.lua:98: in function ?' ...\GSE\Lib\CallbackHandler-1.0\CallbackHandler-1.0.lua:145: in function <...\GSE\Lib\CallbackHandler-1.0\CallbackHandler-1.0.lua:145> [string "safecall Dispatcher[2]"]:4: in function <[string "safecall Dispatcher[2]"]:4> [C]: ? [string "safecall Dispatcher[2]"]:13: in function?'
...\GSE\Lib\CallbackHandler-1.0\CallbackHandler-1.0.lua:90: in function Fire' ...terface\AddOns\GSE\Lib\AceEvent-3.0\AceEvent-3.0.lua:120: in function <...terface\AddOns\GSE\Lib\AceEvent-3.0\AceEvent-3.0.lua:119> [C]: in functionLoadAddOn'
Interface\FrameXML\UIParent.lua:407: in function UIParentLoadAddOn' Interface\FrameXML\UIParent.lua:494: in functionAchievementFrame_LoadUI'
Interface\FrameXML\UIParent.lua:660: in function `ToggleAchievementFrame'
[string ":OnClick"]:1: in function <[string ":OnClick"]:1>
Locals: (*temporary) = nil
(*temporary) = "table expected, got nil"
= defined =[C]:-1
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.

Hi tomothy, I did another fresh install and it seems to be working now, maybe some remnants didn't delete properly or something first time.
Still I can't import macro's though, i'm guessing that's a work in progress as it throw's yo a string "storage" error, unexpected symbol near ?

No that means what you are trying to import has an error

On 14 Jan 2017, at 8:24 am, Spoony36<EMAIL_ADDRESS>wrote:
Hi tomothy, I did another fresh install and it seems to be working now, maybe some remnants didn't delete properly or something first time.
Still I can't import macro's though, i'm guessing that's a work in progress as it throw's yo a string "storage" error, unexpected symbol near ?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.

I have made some changes - can you please recheck this in the next update?

Hi Timothy.
Really appreciate your work and realise how overloaded you must be at the moment.
Still getting the string error when trying to import macro's, I thought i'd try your ret pala macro as I know this was updated yesterday by yourself and you won't make an error in the macro but still get the  string "storage" error, unexpected symbol near ?
Anyway I loaded the sample macro's and got another error
Message: Interface\AddOns\GSE\API\StringFunctions.lua:113: attempt to index local 'macroversion' (a nil value)
Time: 01/14/17 10:25:53
Count: 1
Stack: Interface\AddOns\GSE\API\StringFunctions.lua:113: in function CleanMacroVersion' Interface\AddOns\GSE\API\Storage.lua:463: in function OOCUpdateSequence'
Interface\AddOns\GSE\API\Events.lua:240: in function `?'
...terface\AddOns\GSE\Lib\AceTimer-3.0\AceTimer-3.0.lua:53: in function <...terface\AddOns\GSE\Lib\AceTimer-3.0\AceTimer-3.0.lua:48>
Locals: macroversion = nil
(*temporary) =  defined @Interface\AddOns\GSE\API\StringFunctions.lua:64
(*temporary) = nil
(*temporary) = "attempt to index local 'macroversion' (a nil value)"
GSE =  {
TranslateSequence =  defined @Interface\AddOns\GSE\API\Translator.lua:42
GUIShowDebugWindow =  defined @Interface\AddOns\GSE\GUI\DebugWindow.lua:17
GetClassIcon =  defined @Interface\AddOns\GSE\API\CharacterFunctions.lua:37
CloneSequence =  defined @Interface\AddOns\GSE\API\Storage.lua:14
modules =  {
}
CancelTimer =  defined @Interface\AddOns\GSE\Lib\AceTimer-3.0\AceTimer-3.0.lua:145
GetCurrentTalents =  defined @Interface\AddOns\GSE\API\CharacterFunctions.lua:82
UnregisterComm =  defined @Interface\AddOns\ArtifactPathFinder\Libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:179
OutputQueue =  {
}
MediaPath = "Interface\Addons\GSE\Media"
GUIRecordFrame =  {
}
DebugDumpButton =  defined @Interface\AddOns\GSE\API\Storage.lua:536
GetSpecNames =  defined @Interface\AddOns\GSE\API\CharacterFunctions.lua:68
GUIConfirmDeleteSequence =  defined @Interface\AddOns\GSE\API\GUIFunctions.lua:16
CurrentGCD = 0
GSSlash =  defined @Interface\AddOns\GSE\API\Events.lua:192
IsEnabled =  defined @Interface\AddOns\ArtifactPathFinder\Libs\AceAddon-3.0\AceAddon-3.0.lua:482
UsedSequences =  {
}
PerformPrint =  defined @Interface\AddOns\GSE\API\Init.lua:23
UnsavedOptions =  {
}
UpdateIcon =  defined @Interface\AddOns\GSE\API\Storage.lua:776
ADDON_LOADED =  defined @Interface\AddOns\GSE\API\Events.lua:81
RegisterMessage =  defined @Interface\AddOns\ArtifactPathFinder\Libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:116
UnregisterMessage =  defined @Interface\AddOns\ArtifactPathFinder\Libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:179
TranslateSpell =  defined @Interface\AddOns\GSE\API\Translator.lua:182
pairsByKeys =  defined @Interface\AddOns\GSE\API\StringFunctions.lua:135
SendCommMessage =  defined @Interface\AddOns\GSE\Lib\AceComm-3.0\AceComm-3.0.lua:84
UpdateSequence =  defined @Interface\AddOns\GSE\API\Storage.lua:451
UnregisterAllComm =  defined @Interface\AddOns\ArtifactPathFinder\Libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:200
SetEnabledState =  defined @Interface\AddOns\ArtifactPathFinder\Libs\AceAddon-3.0\AceAddon-3.0.lua:455
isSpecIDForCurrentClass =  defined @Interface\AddOns\GSE\API\CharacterFunctions.lua:56
ZONE_CHANGED_NEW_AREA =  defined @Interface\AddOns\GSE\API\Events.lua:55
DebugOutput = ""
Static =  {
}
StandardAddInPacks =  {
}
GUI =  {
}
TranslatorAvailable = true
CloneMacroVersion =  defined @Interface\AddOns\GSE\API\Storage.lua:30
GetSequenceNames =  defined @Interface\AddOns\GSE\API\Storage.lua:653
ImportMacroCollection =  defined @Interface\AddOns\GSE\API\Storage.lua:135
IsLoopSequence =  defined @Interface\AddOns\GSE\API\Storage.lua:245
UnregisterAllEvents =  defined @Interface\AddOns\ArtifactPathFinder\Libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:200
GetOptionsTable =  defined @Interface\AddOns\GSE\GUI\Options.lua:6
GUIDeleteSequence =  defined @Interface\AddOns\GSE\API\GUIFunctions.lua:5
Create

I just put out a 2.0.6
Do you want to have a look at it?
On Sat, Jan 14, 2017 at 9:00 PM, Spoony36<EMAIL_ADDRESS>wrote:

Hi Timothy.
Really appreciate your work and realise how overloaded you must be at the
moment.
Still getting the string error when trying to import macro's, I thought
i'd try your ret pala macro as I know this was updated yesterday by
yourself and you won't make an error in the macro but still get the string
"storage" error, unexpected symbol near ?
Anyway I loaded the sample macro's and got another error
Message: Interface\AddOns\GSE\API\StringFunctions.lua:113: attempt to
index local 'macroversion' (a nil value)
Time: 01/14/17 10:25:53
Count: 1
Stack: Interface\AddOns\GSE\API\StringFunctions.lua:113: in function CleanMacroVersion'
Interface\AddOns\GSE\API\Storage.lua:463: in functionOOCUpdateSequence'
Interface\AddOns\GSE\API\Events.lua:240: in function `?'
...terface\AddOns\GSE\Lib\AceTimer-3.0\AceTimer-3.0.lua:53: in function
<...terface\AddOns\GSE\Lib\AceTimer-3.0\AceTimer-3.0.lua:48>
Locals: macroversion = nil
(*temporary) = defined @Interface https://github.com/Interface
\AddOns\GSE\API\StringFunctions.lua:64
(*temporary) = nil
(*temporary) = "attempt to index local 'macroversion' (a nil value)"
GSE =
{
TranslateSequence = defined @Interface https://github.com/Interface
\AddOns\GSE\API\Translator.lua:42
GUIShowDebugWindow = defined @Interface https://github.com/Interface
\AddOns\GSE\GUI\DebugWindow.lua:17
GetClassIcon = defined @Interface https://github.com/Interface
\AddOns\GSE\API\CharacterFunctions.lua:37
CloneSequence = defined @Interface https://github.com/Interface
\AddOns\GSE\API\Storage.lua:14
modules = {
}
CancelTimer = defined @Interface https://github.com/Interface
\AddOns\GSE\Lib\AceTimer-3.0\AceTimer-3.0.lua:145
GetCurrentTalents = defined @Interface https://github.com/Interface
\AddOns\GSE\API\CharacterFunctions.lua:82
UnregisterComm = defined @Interface https://github.com/Interface\AddOns
ArtifactPathFinder\Libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:179
OutputQueue = {
}
MediaPath = "Interface\Addons\GSE\Media"
GUIRecordFrame = {
}
DebugDumpButton = defined @Interface https://github.com/Interface
\AddOns\GSE\API\Storage.lua:536
GetSpecNames = defined @Interface https://github.com/Interface
\AddOns\GSE\API\CharacterFunctions.lua:68
GUIConfirmDeleteSequence = defined @Interface
https://github.com/Interface\AddOns\GSE\API\GUIFunctions.lua:16
CurrentGCD = 0
GSSlash = defined @Interface https://github.com/Interface
\AddOns\GSE\API\Events.lua:192
IsEnabled = defined @Interface https://github.com/Interface\AddOns
ArtifactPathFinder\Libs\AceAddon-3.0\AceAddon-3.0.lua:482
UsedSequences = {
}
PerformPrint = defined @Interface https://github.com/Interface
\AddOns\GSE\API\Init.lua:23
UnsavedOptions = {
}
UpdateIcon = defined @Interface https://github.com/Interface
\AddOns\GSE\API\Storage.lua:776
ADDON_LOADED = defined @Interface https://github.com/Interface
\AddOns\GSE\API\Events.lua:81
RegisterMessage = defined @Interface https://github.com/Interface
\AddOns\ArtifactPathFinder\Libs\CallbackHandler-1.0
CallbackHandler-1.0.lua:116
UnregisterMessage = defined @Interface https://github.com/Interface
\AddOns\ArtifactPathFinder\Libs\CallbackHandler-1.0
CallbackHandler-1.0.lua:179
TranslateSpell = defined @Interface https://github.com/Interface
\AddOns\GSE\API\Translator.lua:182
pairsByKeys = defined @Interface https://github.com/Interface
\AddOns\GSE\API\StringFunctions.lua:135
SendCommMessage = defined @Interface https://github.com/Interface
\AddOns\GSE\Lib\AceComm-3.0\AceComm-3.0.lua:84
UpdateSequence = defined @Interface https://github.com/Interface
\AddOns\GSE\API\Storage.lua:451
UnregisterAllComm = defined @Interface https://github.com/Interface
\AddOns\ArtifactPathFinder\Libs\CallbackHandler-1.0
CallbackHandler-1.0.lua:200
SetEnabledState = defined @Interface https://github.com/Interface
\AddOns\ArtifactPathFinder\Libs\AceAddon-3.0\AceAddon-3.0.lua:455
isSpecIDForCurrentClass = defined @Interface
https://github.com/Interface\AddOns\GSE\API\CharacterFunctions.lua:56
ZONE_CHANGED_NEW_AREA = defined @Interface https://github.com/Interface
\AddOns\GSE\API\Events.lua:55
DebugOutput = ""
Static = {
}
StandardAddInPacks = {
}
GUI = {
}
TranslatorAvailable = true
CloneMacroVersion = defined @Interface https://github.com/Interface
\AddOns\GSE\API\Storage.lua:30
GetSequenceNames = defined @Interface https://github.com/Interface
\AddOns\GSE\API\Storage.lua:653
ImportMacroCollection = defined @Interface https://github.com/Interface
\AddOns\GSE\API\Storage.lua:135
IsLoopSequence = defined @Interface https://github.com/Interface
\AddOns\GSE\API\Storage.lua:245
UnregisterAllEvents = defined @Interface https://github.com/Interface
\AddOns\ArtifactPathFinder\Libs\CallbackHandler-1.0
CallbackHandler-1.0.lua:200
GetOptionsTable = defined @Interface https://github.com/Interface
\AddOns\GSE\GUI\Options.lua:6
GUIDeleteSequence = defined @Interface https://github.com/Interface
\AddOns\GSE\API\GUIFunctions.lua:5
Create
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/TimothyLuke/GnomeSequencer-Enhanced/issues/194#issuecomment-272615601,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAjBFS-dFM-xkInTYxQEvrtABMiGFlnYks5rSKO0gaJpZM4LjStK
.

Everything seems fine apart from the macro importing. Every macro I try to import throws up the storage error.
Heres the latest macro i'm trying to import
Sequences['MMRaiding'] = {
  Author="Raxons@Thrall",
  SpecID=254,
  Talents = "1313113",
  Default=1,
  MacroVersions = {
    [1] = {
      StepFunction = "Sequential",
      KeyPress={
      },
      PreMacro={
        "/targetenemy  [noharm][dead]",
        "/cast Windburst",
      },
        "/cast Trueshot",
        "/cast Marked Shot",
        "/castsequence Aimed Shot, Aimed Shot, Aimed Shot",
        "/cast Arcane Shot",
        "/cast Aimed Shot",
        "/castsequence Arcane Shot, Arcane Shot, Arcane Shot",
        "/cast Marked Shot",
        "/castsequence Aimed Shot, Aimed Shot",
      PostMacro={
      },
      KeyRelease={
      },
    },
  },
}

Storage error work is continuing at #202
Menu Options reset added in #215
Closing this out.