how can i use this plugin in my AndroidStudio

how can i use this plugin in my AndroidStudio ? i only find this plugin in vscode market

Hello, for now I only keep pro vscode, but if I'm not mistaken it also has for inteliJ and AS, look in the plugin, otherwise it only exists for inteliJ and vs code.
I still don't think about creating the AS version for him


Training with custom dataset

First of all, thank you for your incredible work.
I would like to train the models in this paper with a custom dataset in Vietnamese. Can you please explain the data format i need to prepare, as well as some step by step instruction?
Thank you.

Thanks for your interest in the project!
The readme now includes a description on how to train and use custom models.
Follow the step-by-step installation guide and make sure you change the base image in the Dockerfile to tensorflow/tensorflow:1.12.0-gpu-py3 in order to have GPU support. Then follow these steps: https://github.com/ad-freiburg/tokenization-repair#custom-models
The training data is a text file with one example sequence per line (e.g. a paragraph of text in each line). The spaces in the training data must be correct. If you need the models to be robust against OCR or spelling errors, the training data should contain such errors (but no space errors).


broot: 0.8.0 -> 0.9.0

Motivation for this change
https://github.com/Canop/broot/releases/tag/v0.9.0
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nix-review --run "nix-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

cc @magnetophon

Works on NixOS too!

https://github.com/Canop/broot/blob/v0.9.0/CHANGELOG.md


Store on observations updated_at and updated_by for changes to taxon_id

Calculating 'novel' observations (e.g. 'first tiger beetle from Oaklahoma' or 'first Mandrill on iNat') require that we know not just when an obs was created, but specifically when the taxon_id changed
Likewise, this when and who the taxon_id changed was raised as a stat that might be useful to track
Seems like both would require adding two columns to the observations table, maybe taxon_id_updated_by and taxon_id_updated at?

So that would basically be the same as observation.identifications.where(taxon_id: observation.taxon_id).order("id ASC").first.created_at and observation.identifications.where(taxon_id: observation.taxon_id).order("id ASC").first.user, or you also want to track when and who for any identification that alters the observation's taxon, not just ones exactly matching the observation's taxon?

sounds like @pleary found a way to implement Globally New Observations without needing this https://github.com/inaturalist/inaturalist/issues/630


Support both global and local style?

Follow:
https://facebook.github.io/create-react-app/docs/adding-a-css-modules-stylesheet

It can be simplified by using the oneOf webpack feature.
I've managed to change the config from outside by using this in next.config.js file:
config.module.rules.forEach(rule => {
  if (rule.test.toString().includes('.scss')) {
    rule.rules = rule.use.map(useRule => {
      if (typeof useRule === 'string') {
        return {
          loader: useRule,
        };
      }
      if (useRule.loader.startsWith('css-loader')) {
        return {
          oneOf: [
            {
              test: /\.global\.scss$/,
              loader: useRule.loader,
              options: {
                ...useRule.options,
                modules: false,
              },
            },
            {
              loader: useRule.loader,
              options: useRule.options,
            },
          ],
        };
      }

      return useRule;
    });

    delete rule.use;
  }
});

@felixmosh yep I think we can customize next.config.js but I want to support options from packages

Damn @felixmosh that should be a part of the docs.

I want it to be part of next-scss/css :)

Please add this, it is super useful during migration to CSS Components.

this is the missing feature that will be very helpful.

I'm going to close this in favor of https://github.com/zeit/next.js/issues/8626
Thanks for your contribution 🙏

Great work, thank you!


Unresolved symbol in Visual Studio 2017 C++ program when using SHA3

I was able to compile SHA3 and all associated files. I could even build if I do not instantiate a class. However, when I instantiate an object in C++ main as follows:
SHA3 <128> mysha3;
mysha3.update(myuuid);   // myuuid is std::string
std::cout << " SHA3 Key = " << mysha3.digest() << std::endl;
I get an unresolved symbol error:
Severity	Code	Description	Project	File	Line	Suppression State
Error	LNK2001	unresolved external symbol "public: class std::basic_string<char,struct std::char_traits,class std::allocator > __thiscall SHA3<128>::digest(void)" (?digest@?$SHA3@$0IA@@@QAE?AV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@XZ)	biosuuid	E:\AArea\ik20a\Comp\HardwareInfo\bios_uuid\getbiosuuid2\main.obj	1
Thank you for any help.
I. Konuk

This sounds like you did not link properly. Are you sure the library file was linked properly?

I believe there is no separate library file. The code given is self contained.
It appears to me like I am not instantiating the SHA3 class properly. It is defined as class template. Honestly this C++ code is too smart and complex for me to understand fully.
In fact, the linker seems to be indicating missing a form of SHA3 symbol:
"public: __thiscall SHA3<128>::SHA3<128>(class std::basic_string<char,struct std::char_traits,class std::allocator > const &)"

I think I figured it out. SHA 3 (not Keccak) is only defined for 224, 256, 384, and 512 bit digests, so using the template, I only defined those here, but did not make it explicit in the header. Those lines define the concrete classes for SHA3<224, 256, 384, and 512>, but not 128 which is why you are getting undefined references. If you want to use SHA3<128>, you have to go through Keccak.
I will review the SHA3 code this weekend.

Thank you very much indeed.

Would you rather I allow for arbitrary lengths, or explicitly prevent lengths of 224, 256, 384, or 512 from being compiled at all?

Thank you for generous offer. What you have provided has more than satisfied my need for the time being, but if it is not much time I could use an arbitrary length version.
By the way, I am truly impressed with your neat and tight C++ code. I have never seen a const non-type being used like you do in a C++ template. I know now why you have used it. In addition, I am still struggling to understand  how (cleverly) you used dependent names in a template (I am referring to "::" in statements like:
typename SHA3 ::StateArray SHA3 ::
SHA3 ::StateArray Aprime = A;
Not only your code has solved a practical problem for me, but it provided me the best training in C++ templates I needed for long time. Would you recommend me some reading or resource to digest the topic better?
Thank you again very much.  With kindest regards.

I meant to type "::"

<d>::

SHA3 now allows for any digest size that is a multiple of 8 bits. Please let me know if something isnt working right.

Would you recommend me some reading or resource to digest the topic better?

I recommend writing actual code. When I hit something that I do not know how to do, I search for similar ideas online and usually end up on StackOverflow or https://en.cppreference.com/, and try to map the results to my problem. This allows me to internalize the solution, since it is no longer a bunch of abstract ideas that I will never use - it becomes a solution to a problem I am familiar with.

Thank you for generous offer. What you have provided has more than satisfied my need, but if it is not much time I could use an arbitrary length version.
By the way, I am truly impressed with your neat and tight C++ code. I have never seen a const non-type being used like you do. In addition, I am still struggling to understand  how (cleverly) you used dependent names in a template (I am referring to <

Thnak you again very much. I tried to compile the new version of sha3. Both Visual Studio 2017 and 2019 gave compilation errors C2760 and C7510 in lines 7,30,54,65,84 indicating a typedef is required. I inserted typedef like:
typename SHA3 <d, Valid>::StateArray A = {{0}};
on line 7. However, I started getting missing symbol errors LNK2001 like:
Severity	Code	Description	Project	File	Line	Suppression State Error	LNK2001	unresolved external symbol "class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > __cdecl hexlify(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &,bool)" (?hexlify@@YA?AV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@ABV12@_N@Z)	biosuuid	E:\AArea\ik20a\Comp\HardwareInfo\bios_uuid\getbiosuuid3\main.obj	1
and
Severity	Code	Description	Project	File	Line	Suppression State Error	LNK2001	unresolved external symbol "class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > __cdecl little_end(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &,unsigned int const &)" (?little_end@@YA?AV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@ABV12@ABI@Z)	biosuuid	E:\AArea\ik20a\Comp\HardwareInfo\bios_uuid\getbiosuuid3\main.obj	1
I tried to include my own name space like in this example:
https://stackoverflow.com/questions/44774036/why-use-a-tpp-file-when-implementing-templated-functions-and-classes-defined-i
It did not help.

Did you compile and link includes.cpp?

What did you mean by self contained? Did you only compile SHA3.cpp (before it got deleted)? What about the rest of the files?

These are the include files in front of the new sha3.h:
`#include
#include <type_traits>
#include "cryptomath.h"
#include "includes.h"
#include "HashAlg.h"
#include "KECCAK_Const.h"`

No, I did not include old sha3.cpp. Just the new sha3.tpp. I tried placing it both in the header and source sections.

I am not missing anything, I think, because it is compiling with the modifications I listed. Linker is giving the missing symbol error.

include != link. You need to convert includes.cpp into binary and link your executable with it so that it knows what hexlify and little_end are. Right now, the compiler simply knows that they exist, without knowing how they are implement.

I apologize. It was all my mistake. When I did the first project, I combined all cpp files (I know it is a terrible practice. When I deleted sha3.cpp, I lost includes.cpp and HashAlg.cpp implementations.
I tried 256, 88, 104 at the same time. It is working perfectly. I would like to express my gratitude and I apologize again. You may close this case if you wish now. THANK YOU!


Feature/clear command

Added clear command and documentation.

Thanks for the feedback, Codespool. The PR has been updated based on your comments.

Hi @ipapandinas, thank you for your comments in the code. I've resolved the bugs and improve the code based on your tips!


Influxdb 2.0 cloud - alerting HTTP notification endpoint posts no data

Configure an alert check with a status message template and a notification rule to trigger an HTTP notification endpoint. When the configured alert check triggers an alert the HTTP POST sent contains no data.
An example status message template:
{
  "check_name": ${ r._check_name },
  "level": ${ r._level },
  "measurement": ${ r._measurement }
}

results in an HTTP POST notification that does not contain any data.

Retracting this bug report. I had a bug in the receiving side of my HTTP notification.


nndet_generate_detection_maps.py memory problems

The nndet_generate_detection_maps.py failed for me a few times, even when using a node with 32 GB RAM. For me, commenting out line 113 fixes this. This line saves the detection map for each case, leading to a slowly filling RAM. Is there a reason detection maps are saved in RAM and returned? (they are not used in this script directly)

Thanks for raising this issue! There is no reason why the detection maps should always be returned.
I've made a flag to disable this behaviour in https://github.com/DIAGNijmegen/picai_baseline/commit/35f120fcb843d1aa842a484002b8c8cf0eddd7a9. By default it will keep collecting the detection maps, to allow others who have incorporated this function in their workflow to keep using it in the same way.
However, setting return_detection_maps=False will now prevent collecting the detection maps, and therefore the high RAM requirements.


CachingFileSystem.save_cache might fail with KeyError if multiple processes accessing cache:

When I'm running multiple scripts that all use a CachingFileSystem with the same directory but not accessing the same cached files, sometimes  CachingFileSystem.save_cache fails with a KeyError:
This code:
import s3fs, fsspec.implementations.cached
fs_s3 = s3fs.S3FileSystem(anon=True)
cache_storage_block = "/media/x22264/cache/ABI-block-cache/"
fs_block = fsspec.implementations.cached.CachingFileSystem(
        fs=fs_s3,
        cache_storage=cache_storage_block,
        cache_check=600,
        check_files=False,
        expiry_times=False,
        same_names=False)
fs_block.open(
        "noaa-goes16/ABI-L1b-RadM/2019/152/00/OR_ABI-L1b-RadM1-M6C10_G16_s20191520028490_e20191520028559_c20191520028584.nc",
        block_size=65536)

sometimes, but not always, fails with:
Traceback (most recent call last):
  File "mwe106.py", line 11, in <module>
    fs_block.open(
  File "/opt/pytroll/pytroll_inst/miniconda3-exp/envs/py38/lib/python3.8/site-packages/fsspec/implementations/cached.py", line 376, in <lambda>
    return lambda *args, **kw: getattr(type(self), item)(self, *args, **kw)
  File "/opt/pytroll/pytroll_inst/miniconda3-exp/envs/py38/lib/python3.8/site-packages/fsspec/spec.py", line 897, in open
    f = self._open(
  File "/opt/pytroll/pytroll_inst/miniconda3-exp/envs/py38/lib/python3.8/site-packages/fsspec/implementations/cached.py", line 376, in <lambda>
    return lambda *args, **kw: getattr(type(self), item)(self, *args, **kw)
  File "/opt/pytroll/pytroll_inst/miniconda3-exp/envs/py38/lib/python3.8/site-packages/fsspec/implementations/cached.py", line 327, in _open
    self.save_cache()
  File "/opt/pytroll/pytroll_inst/miniconda3-exp/envs/py38/lib/python3.8/site-packages/fsspec/implementations/cached.py", line 376, in <lambda>
    return lambda *args, **kw: getattr(type(self), item)(self, *args, **kw)
  File "/opt/pytroll/pytroll_inst/miniconda3-exp/envs/py38/lib/python3.8/site-packages/fsspec/implementations/cached.py", line 158, in save_cache
    if cache[k]["blocks"] is True:
KeyError: 'noaa-goes16/ABI-L1b-RadM/2019/152/00/OR_ABI-L1b-RadM1-M6C08_G16_s20191520040519_e20191520040576_c20191520041017.nc'
Exception ignored in: <function AbstractBufferedFile.__del__ at 0x7f3a452814c0>
Traceback (most recent call last):
  File "/opt/pytroll/pytroll_inst/miniconda3-exp/envs/py38/lib/python3.8/site-packages/fsspec/spec.py", line 1505, in __del__
  File "/opt/pytroll/pytroll_inst/miniconda3-exp/envs/py38/lib/python3.8/site-packages/fsspec/implementations/cached.py", line 326, in <lambda>
  File "/opt/pytroll/pytroll_inst/miniconda3-exp/envs/py38/lib/python3.8/site-packages/fsspec/implementations/cached.py", line 376, in <lambda>
  File "/opt/pytroll/pytroll_inst/miniconda3-exp/envs/py38/lib/python3.8/site-packages/fsspec/implementations/cached.py", line 342, in close_and_update
  File "/opt/pytroll/pytroll_inst/miniconda3-exp/envs/py38/lib/python3.8/site-packages/fsspec/implementations/cached.py", line 376, in <lambda>
  File "/opt/pytroll/pytroll_inst/miniconda3-exp/envs/py38/lib/python3.8/site-packages/fsspec/implementations/cached.py", line 154, in save_cache
NameError: name 'open' is not defined

Just now I ran this script six times.  It succeeded three times and failed three times.  At the same times, three other processes were running on the same machine, that were occasionally (but not continuously) accessing the same blockcache, but not the same files.
I noticed there is a comment relating to file locking in the source code:
https://github.com/intake/filesystem_spec/blob/e5ca6a82d7c74c4b7fe3301c0a526142e84ebb13/fsspec/implementations/cached.py#L150-L151
Perhaps accessing the same blockcache from multiple processes is simply not supported at the moment, in which case this is a feature request.  If it's supposed to work then this issue may be considered a bug report.  Either way, I would welcome possibly work-arounds (one work-around would be for each process to have its own cache directory, but that makes it difficult to re-use a cache, which somewhat defeats the point of the on-disk cache).
As a side-issue, there is also still an ignored exception in AbstractBufferedFile.__del__, despite the closure of the related issue #404.

There is indeed a single file containing the caching information, which is updated time-to-time by each instance accessing the directory. The intent is, as stated in the comment, that this might cause rereads sometimes, but should not fail - so I would say this is a bug.
I believe the following fixes it:
--- a/fsspec/implementations/cached.py
+++ b/fsspec/implementations/cached.py
@@ -155,7 +155,7 @@ class CachingFileSystem(AbstractFileSystem):
                 cached_files = pickle.load(f)
             for k, c in cached_files.items():
                 if c["blocks"] is not True:
-                    if cache[k]["blocks"] is True:
+                    if k in cache and cache[k]["blocks"] is True:
                         c["blocks"] = True
                     else:
                         c["blocks"] = set(c["blocks"]).union(cache[k]["blocks"])

but I have not thought of a way to add a test for this.

The fix (or silencing) for del would look like
@@ -339,7 +339,12 @@ class CachingFileSystem(AbstractFileSystem):
         c = self.cached_files[-1][path]
         if c["blocks"] is not True and len(["blocks"]) * f.blocksize >= f.size:
             c["blocks"] = True
-        self.save_cache()
+        try:
+            self.save_cache()
+        except IOError:
+            logger.debug("Cache saving failed while closing file")
+        except NameError:
+            logger.debug("Cache save failed due to interpreter shutdown")
         close()

The first condition could be simulated b making the cache metadata file read-only. It's the second condition that you are seeing though - perhaps monkeypatch could be used to make  open in the module to raise a NameError.


Rename the Event Sourcing repository's add() method to save().Fixes #114

Per the discussion in #114, renames the add() method to save()

:+1:

:+1:

:+1: what is left for a quick merge? cc @wjzijderveld ?

Thanks @mbadolato
@cordoval Lack of time :disappointed:


Spanish language

Which parameter do i need to use to select a spanish language.
'es', 'es-mx'
Also i need to disable the possibility to select a date that has passed, is there an option, i did check in the documentation but couldn't see it, perhaps the minDate, but do i need to make a now or today function? how is this will work?

how ?

how ?


ceph-facts: check for mon socket in its own host

delegate to its own host after checking mon socket to findout if mon socket is in-use or not.
Signed-off-by: Seena Fallah<EMAIL_ADDRESS>

jenkins test centos-non_container-update

jenkins test centos-container-update

jenkins test centos-non_container-switch_to_containers

jenkins test centos-container-all_daemons

jenkins test centos-container-all_daemons


Rework of logging functions

The following is taken out of already closed
https://github.com/test-fullautomation/robotframework-testsuitesmanagement/issues/67
(because issue 67 contained too much aspects)
We have two methods with different functionality:
logger.error(<error message>) and BuiltIn().unknown(<error message>)
And the first one prints the error message starting with red [ERROR] string. The second one makes the test result UNKNOWN and also provides the possibility to define an error message.
We are in situations where we need to call both functions, but we do not want to have the error message printed twice. Therefore only one of the function calls should contain this error message - maybe the logger.error(). Then BuiltIn().unknown() is called without error message.
Unfortunately this does not work properly.
Because logger.error(<error message>) does not write the error message into the text log file (-b command line option) - but BuiltIn().unknown(<error message>) does. We do not have the error message twice any more in console, but we also do not have the error message in text log file any more. In my opinion this is not acceptable.
And also BuiltIn().unknown() has it's own issue: Already several times it was annoying for me to see this message in the text log file:
UNKNOWN - Unknown exception occurs. Details: None
An exception without any details about it? Sounds worryingly for me.
In RobotFramework\python39\Lib\site-packages\robotframework-4.1.3-py3.9.egg\robot\errors.py I found the reason:
   def _get_message(self):
       msg = "Unknown exception occurs. Details: %s" % self.msg
       return msg

With self.msg initialized with None.
I do not like this implementation! The default value makes the error message an option! And in case of a user decides not to provide an error message when he uses BuiltIn().unknown() - for what reason ever - then the function has to be quiet! Then the function has to set the test result to UNKNOWN, nothing else.
In my opinion the self.msg has to be checked against None and "". And only in case of a user provides something, the function is allowed to add "Unknown exception occurs. Details: " to the message. Otherwise self.msg should be returned unchanged.
But this also does not solve the problem mentioned above. We need a strict separation of concern:

A function only for printing an error message, but to every possible destination (console and all log files) and without doing anything else
A function influencing the test result (with maybe printing also an error message, but only as option)

Hello Holger,
I can summary your comment into two main issues you currently face:

The same error message occurs twice in console log.
Unknow status with reason "Details: None"

For the second issue "Unknow status with reason 'Details: None", we can discuss with Thomas then come with final decision. This is related to Robot Framework core and @milanac030988 will create a change.
For the first issue: From my point of view, it makes sense to have error message at beginning of console log then this error message again is displayed at the end of console log to inform users that all testsuites are in "Unknow" status due to this error message.
In reality, a console log is quite long it depends to the number of test cases, for example please take a look into the console log below:
.. code::
Testsuites
[ ERROR ] Testsuite management - Loading configuration level 2 failed!
The variant 'default' is not defined in 'C:\Users\mas2hc\Desktop\data_storage\workspace\ROBFWAIO-OSS\robotframework-tutorial\900_Building_testsuites\exercise-08\config\exercise-08_variants.json'
[ ERROR ] Did not find configuration file: ''!
Testsuites.component-A
Testsuites.component-A.feature-A-1
Testsuites.component-A.feature-A-1.exercise-08-feature-A-1-test
Test Case exercise-08-feature-A-1-test :: exercise-08-feature-A-1-... | UNKNOWN |
Variable '${teststring_common}' not found.
Testsuites.component-A.feature-A-1.exercise-08-feature-A-1-test       | UNKNOWN |
1 test, 0 passed, 0 failed, 1 unknown
Testsuites.component-A.feature-A-1                                    | UNKNOWN |
1 test, 0 passed, 0 failed, 1 unknown
Testsuites.component-A.feature-A-2
Testsuites.component-A.feature-A-2.exercise-08-feature-A-2-test
Test Case exercise-08-feature-A-2-test :: exercise-08-feature-A-2-... | UNKNOWN |
Variable '${teststring_common}' not found.
Testsuites.component-A.feature-A-2.exercise-08-feature-A-2-test       | UNKNOWN |
1 test, 0 passed, 0 failed, 1 unknown
Testsuites.component-A.feature-A-2                                    | UNKNOWN |
1 test, 0 passed, 0 failed, 1 unknown
Testsuites.component-A                                                | UNKNOWN |
2 tests, 0 passed, 0 failed, 2 unknown
Testsuites.component-B
Testsuites.component-B.feature-B-1
Testsuites.component-B.feature-B-1.exercise-08-feature-B-1-test
Test Case exercise-08-feature-B-1-test :: exercise-08-feature-B-1-... | UNKNOWN |
Variable '${teststring_common}' not found.
Testsuites.component-B.feature-B-1.exercise-08-feature-B-1-test       | UNKNOWN |
1 test, 0 passed, 0 failed, 1 unknown
Testsuites.component-B.feature-B-1                                    | UNKNOWN |
1 test, 0 passed, 0 failed, 1 unknown
Testsuites.component-B.feature-B-2
Testsuites.component-B.feature-B-2.exercise-08-feature-B-2-test
Test Case exercise-08-feature-B-2-test :: exercise-08-feature-B-2-... | UNKNOWN |
Variable '${teststring_common}' not found.
Testsuites.component-B.feature-B-2.exercise-08-feature-B-2-test       | UNKNOWN |
1 test, 0 passed, 0 failed, 1 unknown
Testsuites.component-B.feature-B-2                                    | UNKNOWN |
1 test, 0 passed, 0 failed, 1 unknown
Testsuites.component-B                                                | UNKNOWN |
2 tests, 0 passed, 0 failed, 2 unknown
Testsuites.Exercise-08
Test Case exercise-08 :: exercise-08                                  | UNKNOWN |
Variable '${teststring_common}' not found.
Testsuites.Exercise-08                                                | UNKNOWN |
1 test, 0 passed, 0 failed, 1 unknown
Testsuites                                                            | UNKNOWN |
Suite setup failed:
Unknown exception occurs. Details: Testsuite management - Loading configuration level 2 failed!
The variant 'default' is not defined in 'C:\Users\mas2hc\Desktop\data_storage\workspace\ROBFWAIO-OSS\robotframework-tutorial\900_Building_testsuites\exercise-08\config\exercise-08_variants.json'
5 tests, 0 passed, 0 failed, 5 unknown
Debug:   C:\Users\mas2hc\Desktop\data_storage\workspace\ROBFWAIO-OSS\debug_log.log
Output:  C:\Users\mas2hc\Desktop\data_storage\workspace\ROBFWAIO-OSS\output.xml
Log:     C:\Users\mas2hc\Desktop\data_storage\workspace\ROBFWAIO-OSS\log.html
Report:  C:\Users\mas2hc\Desktop\data_storage\workspace\ROBFWAIO-OSS\report.html

Please refer to #96

Hello Thomas,
The logging function was updated in the pull-request #116
Thank you,
Son

solved and already merged wiht #116


refactor - update several typings to fix mypy testing

:tada: This issue has been resolved in version 0.2.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


[lua] Export cmake targets, rewrite CMakeLists and delete usage

Since FindLua.cmake sets the default search path, and the header file is included in lua-version by default, it is impossible to find the lua generated by vcpkg correctly, export the targets and modify the cmake wrapper to adapt to the search method of the old version.
Fixes #15497.

@williamxin Can you please test this PR?
Thnaks.

@williamxin Can you please test this PR?
Thnaks.

@williamxin Can you please test this PR?
Thanks.

thank you!
i am working on it, but there is another issue in vcpkg,  everything works perfect on windows, but bootstrap.sh failed on my mac

@williamxin Can you please test this PR?
Thanks.

thank you!
i am working on it, but there is another issue in vcpkg,  everything works perfect on windows, but bootstrap.sh failed on my mac

@williamxin Can you please test this PR?
Thanks.

now cmake can finish on my centos,  the problem has been solved, thank you

@williamxin Can you please test this PR?
Thanks.

now cmake can finish on my centos,  the problem has been solved, thank you

@ras0219-msft Do you have any other questions?

I tried this PR on Ubuntu 20.10 and still face a problem: see here.

The tensorflow-cc regression will be resolved by #19165.

Thanks for your contribution!


Make aside less alarming

Follow-on to #1041, because I somehow missed a commit.

Merging based on prior approval for what was supposed to be in #1041 ... 😂


knife google server create => uninitialized constant KnifeSolo::Bootstraps

Version:
Chef Development Kit Version: 3.1.0
chef-client version: 14.2.0
delivery version: master (6862f27aba89109a9630f0b6c6798efec56b4efe)
berks version: ERROR
kitchen version: 1.22.0
inspec version: 2.1.72
knife-google version: 3.2.0
knife-solo version: 0.7.0.pre3, 0.6.0
Arch Linux box with kernel: 4.17.4-1-ARCH and ruby 2.5.1p57 (2018-03-29 revision 63029) [x86_64-linux]
Scenario:
knife google server create little-waterfall --config .chef/knife-google.rb --gce-use-private-ip --gce-public-ip none --gce-image _obfuscated_ -m f1-micro --gce-network _obfuscated_ --gce-subnet eu-west1b-private --ssh-user _obfuscated_ --identity-file _obfuscated_ --run-list "role[base]" --gce-tags base

Content of knife-google.rb
knife[:berkshelf_path] = "cookbooks"
knife[:solo] = true
knife[:ssh_user] = "_obfuscated_"
Chef::Config[:ssl_verify_mode] = :verify_peer if defined? ::Chef

# GCP
knife[:gce_project] = '_obfuscated_'
knife[:gce_zone]    = 'europe-west1-b'
knife[:machine_type] = 'f1-micro'

Result:
After running above command, this is the output:
Creating instance...

Current status: PENDING.
Current status: RUNNING.

Instance created!
Instance Name: little-waterfall
Status: RUNNING
Machine Type: f1-micro
Project: _obfuscated_
Zone: europe-west1-b
Network: _obfuscated_
Private IP: _obfuscated_
Public IP: unknown
Bootstrapping the server by using bootstrap_protocol: ssh and image_os_type: linux

Waiting for sshd to host (_obfuscated_).done
WARNING: `--identity-file` is deprecated, please use `--ssh-identity-file`.
WARNING: `--identity-file` is deprecated, please use `--ssh-identity-file`.
Bootstrapping Chef...
FATAL: Check if --bootstrap-protocol and --image-os-type is correct. uninitialized constant KnifeSolo::Bootstraps
Traceback (most recent call last):
	10: from /opt/chefdk/embedded/bin/knife:23:in `<main>'
	 9: from /opt/chefdk/embedded/bin/knife:23:in `load'
	 8: from /opt/chefdk/embedded/lib/ruby/gems/2.5.0/gems/chef-14.2.0/bin/knife:25:in `<top (required)>'
	 7: from /opt/chefdk/embedded/lib/ruby/gems/2.5.0/gems/chef-14.2.0/lib/chef/application/knife.rb:160:in `run'
	 6: from /opt/chefdk/embedded/lib/ruby/gems/2.5.0/gems/chef-14.2.0/lib/chef/knife.rb:220:in `run'
	 5: from /opt/chefdk/embedded/lib/ruby/gems/2.5.0/gems/chef-14.2.0/lib/chef/knife.rb:441:in `run_with_pretty_exceptions'
	 4: from /opt/chefdk/embedded/lib/ruby/gems/2.5.0/gems/chef-14.2.0/lib/chef/local_mode.rb:44:in `with_server_connectivity'
	 3: from /opt/chefdk/embedded/lib/ruby/gems/2.5.0/gems/chef-14.2.0/lib/chef/knife.rb:442:in `block in run_with_pretty_exceptions'
	 2: from /opt/chefdk/embedded/lib/ruby/gems/2.5.0/gems/knife-cloud-1.2.1/lib/chef/knife/cloud/command.rb:54:in `run'
	 1: from /opt/chefdk/embedded/lib/ruby/gems/2.5.0/gems/knife-cloud-1.2.1/lib/chef/knife/cloud/server/create_command.rb:79:in `after_exec_command'
/opt/chefdk/embedded/lib/ruby/gems/2.5.0/gems/knife-cloud-1.2.1/lib/chef/knife/cloud/server/create_command.rb:91:in `rescue in after_exec_command': Check if --bootstrap-protocol and --image-os-type is correct. uninitialized constant KnifeSolo::Bootstraps (NameError)

I can't find a way past the "uninitialized constant KnifeSolo::Bootstraps" error, what could be wrong? Let me know if you need more info about my environment etc
Thanks!

Ah interesting. We did testing ages ago for knife bootstrap support with ec2, but never knife-google or knife-cloud. Normally bootstraps would be defined in https://github.com/matschaffer/knife-solo/blob/master/lib/knife-solo/bootstraps.rb - we'll need to find out how it's being wrapped though.
Looks like knife-cloud has it's own bootstrap components - https://github.com/chef/knife-cloud/blob/master/lib/chef/knife/cloud/chefbootstrap/bootstrapper.rb
Have you tried uninstalling knife-solo and working with the knife-cloud bootstrappers instead?

Hi,
thanks for the quick reply! We are using knife ec2 a lot and recently started testing with google cloud platform. I will do as you propose and test with the knife-cloud bootstrappers. Will get back with the results..

Hi again,
I have uninstalled knife-solo and tried again. I get the following behaviour:
DEBUG: Bootstrapping the server...
Bootstrapping the server by using bootstrap_protocol: ssh and image_os_type: linux
....
ERROR: Connection refused connecting to https://localhost/nodes/nameless-fire, retry 1/5

I guess this is because it expects a chef-server (in my case: localhost) to serve the node-config for the new machine?

Would seem that way. Can't say for sure if I'll get the time to look into this, but if you were motivated to dig in, I'd get it set up like you did for the original error and hook a debugger up to see what's happening at /opt/chefdk/embedded/lib/ruby/gems/2.5.0/gems/knife-cloud-1.2.1/lib/chef/knife/cloud/command.rb:54 and maybe get some sense as to why KnifeSolo::Bootstraps is undefined.
My best guess is that knife-cloud is shelling out to knife-solo in some odd way such that it can't find it's own dependencies.

Hi,
an update on some progress I've made. I have added some requirements to lib/chef/knife/solo_prepare.rb (see below) and now I get further when using knife google server create. It is "uploading the kitchen" when I get this error:
uninitialized constant Chef::Cookbook::Chefignore
/home/os/.rvm/gems/ruby-2.2.2/gems/knife-cloud-1.2.1/lib/chef/knife/cloud/server/create_command.rb:91:in `rescue in after_exec_command': Check if --bootstrap-protocol and --image-os-type is correct. uninitialized constant Chef::Cookbook::Chefignore (NameError)
	from /home/os/.rvm/gems/ruby-2.2.2/gems/knife-cloud-1.2.1/lib/chef/knife/cloud/server/create_command.rb:80:in `after_exec_command'
	from /home/os/.rvm/gems/ruby-2.2.2/gems/knife-cloud-1.2.1/lib/chef/knife/cloud/command.rb:54:in `run'
	from /home/os/.rvm/gems/ruby-2.2.2/gems/chef-12.16.42/lib/chef/knife.rb:443:in `block in run_with_pretty_exceptions'
	from /home/os/.rvm/gems/ruby-2.2.2/gems/chef-12.16.42/lib/chef/local_mode.rb:44:in `with_server_connectivity'
	from /home/os/.rvm/gems/ruby-2.2.2/gems/chef-12.16.42/lib/chef/knife.rb:442:in `run_with_pretty_exceptions'
	from /home/os/.rvm/gems/ruby-2.2.2/gems/chef-12.16.42/lib/chef/knife.rb:219:in `run'
	from /home/os/.rvm/gems/ruby-2.2.2/gems/chef-12.16.42/lib/chef/application/knife.rb:156:in `run'
	from /home/os/.rvm/gems/ruby-2.2.2/gems/chef-12.16.42/bin/knife:25:in `<top (required)>'
	from /home/os/.rvm/gems/ruby-2.2.2/bin/knife:23:in `load'
	from /home/os/.rvm/gems/ruby-2.2.2/bin/knife:23:in `<main>'
	from /home/os/.rvm/gems/ruby-2.2.2/bin/ruby_executable_hooks:24:in `eval'
	from /home/os/.rvm/gems/ruby-2.2.2/bin/ruby_executable_hooks:24:in `<main>'

These are the requirements I added...
require 'chef/knife'
require 'knife-solo'
require 'knife-solo/ssh_command'
require 'knife-solo/node_config_command'
require 'knife-solo/ssh_connection'
require 'knife-solo/bootstraps'
require 'knife-solo/berkshelf'
require 'knife-solo/librarian'
require 'knife-solo/librarian'

Any thoughts/comments?

Odd, that's a core chef class - https://github.com/chef/chef/blob/master/lib/chef/cookbook/chefignore.rb
The use of rvm has me wondering if possibly knife-cloud is doing something that's un-rvm-ing the environment before invoking knife-solo.
Have you tried doing this with rbenv or chefdk?

Hi,
actually using knife ec2 server create  with chef-dk have stopped working for me (have no idea why). It hangs on "chef_gem[aws-sdk] action install" so I am forced now to use RVM. I have no experience using rbenv.
All in all I am getting worried we can't get knife-solo to work with knife google. Are we going to be forced to install a chef-server, or is it maybe chef-zero we should try out - we have managed to avoid this for so long..
Thanks for your help so far..

Hrm... normally I'd expect you can remove re-install chefdk to get normal behavior back again. It's pretty isolated.
Might be worth rooting that out first since if you're having trouble with gem/ruby environments that could be contributing to the problems resolving constants that should be there.


Podman Desktop fails to download components when behind transparent network proxy (self signed cert error)

Bug description
Many corporate users will be beind a transparent proxy. This means https connections will get intercepted and the corporate cert will be inserted. Clients will fails to validate the connection with a "self-signed" cert error - unless we add the corporate cert to the root of trust. This is all very common and boring.
There is documentation for how to add the cert inside the podman machine - but I can't find how to add the cert to podman desktop itself. For this reason the program fails to download things like the Compose extension. Have tested this on multiple windows systems (both a weird lts enterprise one, and normal win11 one).
The system I am running on does have certs configured properly in control panel. I can run "curl https://github.com" from commandline without errors - but Podman Desktop is not using the windows certs it seems. How to add them?
Operating system
Windows 11
Installation Method
Installer from website/GitHub releases
Version
1.14.0
Steps to reproduce
No response
Relevant log output
kubectl-cli] Error when downloading kubectl CLI latest release information. HttpError: self signed certificate in certificate chain
console.	@	VM5:2
Additional context
No response

Some more notes:
I tested this on other systems without corporate security software, and not on corporate network - it works fine there.
The recent feature added to configure network proxies is not useful for solving this - as it's a transparent proxy. All traffic goes through it whether we like it or not. The only fix is to trust the corporate CA - which should be easy, but I can't see where to add it.

I manually downloaded and ran podman-compose (and added it to systemwide path). My compose applications shows up as running fine in the Desktop GUI now. But the compose extension still shows as not setup and keep trying and failing to download. Does this even matter?

There are other errors like this:
[compose] GET /repos/docker/compose/releases - 500 with id UNKNOWN in 140ms
Error: Error invoking remote method 'command-registry:executeCommand': Error: An object could not be cloned.
My restricted environment stops me from posting videos or screenshots unfortunately.

I'm in the same position as you @failboat79.
I've using Rancher Desktop as a replacement, which works fine with my corporate proxy. However, it does fail with .NET Aspire due to a networking bug/ support, but that's unlikely to affect you.


Added hot pink theme using emotion-theming

Used emotion-theming library and added a hot pink theme take a look and let me know.

Thanks! But you shouldn't need to use the ThemeProvider directly, since this library uses Theme UI, see https://github.com/jxnblk/mdx-deck/blob/master/docs/theming.md


Firefox round issue

If you zoom totally out on some images, firefox gives an error when you want to get the image.
Line 159:
ctx.drawImage(img, left, top, width, height, 0, 0, outWidth, outHeight);
Before that I added:
width = Math.round(width);
height = Math.round(height);
outWidth = Math.round(outWidth);
outHeight = Math.round(outHeight);
And now it works :-)

Thanks for the detailed information.  Firefox seems to have other zooming/decimal problems, we might need to round all of our numbers to a more manageable decimal point.  In either case, this is helpful.
We'll try to get to it as soon as possible, probably in the next couple weeks.

I'm wondering if the fix for #23 also fixed this one.  Can you pull 1.0.3 and see if you're still having issues?


Decrease old sql heartbeat frequency to detect parent server exits faster

We want to heartbeat more often for non-queue based workers so they can detect the server disappearing faster:  Some wait around 1 minute after the server exits before they exit, causing all sorts of oddities in development environments where the puma workers get a port already in use error. (ask @mkanoor)
Queue based workers tend to detect an exited server process within "poll" (3) seconds because that's how often they poll for MiqQueue messages via DRb.  Dropping our heartbeat frequency to every 10 seconds shouldn't have much impact on the server process since it's already getting this 3 second poll for queue messages from the queue workers.

To do this we need to:

[x] log_ruby_object_usage: determining the size of objects is problematic and not useful so remove it.
[x] log_ruby_object_usage: cleanup the output
[x] log_ruby_object_usage: make them public class methods so it's easier to test
[x] Move log_ruby_object_usage out of the heartbeat and allow it to only run every 60 seconds from the main loop.
[x] Heartbeat every 10 seconds for all workers, limited by your poll value
[x] Drop the UI/Web Service/Web Socket workers really high poll from 60 to the default of 3.

Before  (UI Worker takes ~ 1 minute after server exits before it exits)
[----] I, [2016-04-22T16:30:31.282669 #51403:3ffe5885e1fc]  INFO -- : MIQ(EvmServer) PID [51403] Interrupt signal (SIGTERM) received. Server exiting.
[----] E, [2016-04-22T16:30:32.005421 #51428:3ffe5885e1fc] ERROR -- : MIQ(MiqGenericWorker::Runner) ID [509000000000053] PID [51428] GUID [820681d4-08c7-11e6-8d50-3c15c2c9babc] Error communicating with WorkerMonitor because <druby://<IP_ADDRESS>:50108 - #<Errno::ECONNREFUSED: Connection refused - connect(2) for "<IP_ADDRESS>" port 50108>> Worker exiting.
[----] E, [2016-04-22T16:30:33.520601 #51430:3ffe5885e1fc] ERROR -- : MIQ(MiqReportingWorker::Runner) ID [509000000000054] PID [51430] GUID [8223dc3e-08c7-11e6-8d50-3c15c2c9babc] Error communicating with WorkerMonitor because <druby://<IP_ADDRESS>:50108 - #<Errno::ECONNREFUSED: Connection refused - connect(2) for "<IP_ADDRESS>" port 50108>> Worker exiting.
[----] E, [2016-04-22T16:31:27.193119 #51432:3ffe59598174] ERROR -- : MIQ(MiqUiWorker::Runner) ID [509000000000055] PID [51432] GUID [8231f210-08c7-11e6-8d50-3c15c2c9babc] Error heartbeating to MiqServer because DRb::DRbConnError: druby://<IP_ADDRESS>:50108 - #<Errno::ECONNREFUSED: Connection refused - connect(2) for "<IP_ADDRESS>" port 50108> Worker exiting.

After  (UI Worker exits within a few seconds after the server)
[----] I, [2016-04-22T15:42:58.242602 #50130:3fd394c5e200]  INFO -- : MIQ(EvmServer) PID [50130] Interrupt signal (SIGTERM) received. Server exiting.
[----] E, [2016-04-22T15:42:58.715365 #50156:3fd394c5e200] ERROR -- : MIQ(MiqReportingWorker::Runner) ID [509000000000051] PID [50156] GUID [48398398-08c2-11e6-bf6c-3c15c2c9babc] Error communicating with WorkerMonitor because <druby://<IP_ADDRESS>:49746 - #<Errno::ECONNREFUSED: Connection refused - connect(2) for "<IP_ADDRESS>" port 49746>> Worker exiting.
[----] E, [2016-04-22T15:43:00.285428 #50154:3fd394c5e200] ERROR -- : MIQ(MiqGenericWorker::Runner) ID [509000000000050] PID [50154] GUID [481dc40a-08c2-11e6-bf6c-3c15c2c9babc] Error heartbeating to MiqServer because DRb::DRbConnError: druby://<IP_ADDRESS>:49746 - #<Errno::ECONNREFUSED: Connection refused - connect(2) for "<IP_ADDRESS>" port 49746> Worker exiting.
[----] E, [2016-04-22T15:43:02.485672 #50159:3fd3951cd984] ERROR -- : MIQ(MiqUiWorker::Runner) ID [509000000000052] PID [50159] GUID [48464aec-08c2-11e6-bf6c-3c15c2c9babc] Error heartbeating to MiqServer because DRb::DRbConnError: druby://<IP_ADDRESS>:49746 - #<Errno::ECONNREFUSED: Connection refused - connect(2) for "<IP_ADDRESS>" port 49746> Worker exiting.

Note, the log ruby object usage, when enabled via advanced settings or console:
Settings.workers.worker_base.top_ruby_object_classes_to_log = 20
[----] I, [2016-04-26T16:54:00.496474 #97602:3fddc585e200]  INFO -- : Ruby Object Usage: [["String", 475660], ["Array", 97001], ["RubyVM::InstructionSequence", 50492], ["Hash", 25620], ["ActionDispatch::Journey::Nodes::Cat", 19628], ["Proc", 14402], ["RubyVM::Env", 12909], ["ActionDispatch::Journey::Format", 8462], ["ActionDispatch::Journey::Nodes::Slash", 8394], ["ActionDispatch::Journey::Nodes::Symbol", 5628], ["ActionDispatch::Journey::Format::Parameter", 5628], ["ActionDispatch::Journey::Nodes::Literal", 5611], ["ActionDispatch::Journey::Nodes::Group", 5610], ["Class", 4322], ["MIME::Types::Container", 3850], ["Gem::Requirement", 3518], ["Regexp", 3229], ["ActionDispatch::Journey::Path::Pattern", 2852], ["ActionDispatch::Journey::Route", 2852], ["ActionDispatch::Routing::RouteSet::Dispatcher", 2850]

@mkanoor Can you try this PR out?  I guess this is a bug depending who you ask.  Clearly, rake evm:stop is slowed down by this bug.
@Fryguy @chessbyte Does this make sense?
cc @carbonin

@gtanzillo @skateman you may also have seen this problem...

Looks good to me 👍

@jrafanie
👍
Is the process name still supposed to stay as puma?

Is the process name still supposed to stay as puma?

Yes, for clarity, puma owns the proctitle but allows us to customize it a bit by specifying a tag.
It looks like this in top/ps:
puma 3.3.0 (tcp://<IP_ADDRESS>:5000) [MIQ: Web Server Worker]
Note, we specify the details in the [] here.  I didn't go crazy trying to specify if it's a UI/WebService/WebSocket Worker since you can readily tell based on the port.

🙇 @gtanzillo


Trailing Stop Limit order?

Does your lib support IBs Trailing Stop Limit order?
https://interactivebrokers.github.io/tws-api/basic_orders.html#trailingstoplimit
I looked at your doc and I see TrailingStopOrder but unsure how to use that for Trailing Stop Limit.
https://stoqey.github.io/ib-doc/classes/trailingstoporder.html
thanks,
Andrew

Never mind. I think I see it.
It's a TRAIL LMT with TrailStopPrice, LmtPriceOffset and AuxPrice.
Please correct me if I'm wrong but I will close this.
thanks,
Andrew

There is no TrailingStopLimitOder class, but the order type is supported, so you should be able to transform the IB code like:
Order order = new Order();
order.Action = action;
order.OrderType = "TRAIL LIMIT";
order.TotalQuantity = quantity;
order.TrailStopPrice = trailStopPrice;
order.LmtPriceOffset = lmtPriceOffset;
order.AuxPrice = trailingAmount;
=>
const order: Order = {
action,
orderType: OrderType.TRAIL_LIMIT,
totalQuantity: quantity,
trailStopPrice = trailStopPrice,
lmtPriceOffset = lmtPriceOffset,
auxPrice = trailingAmount;
};

Thanks!!!


Mycobank groups

Improves link to MycoBank for a Name with rank == group
Delivers Pivotal ##107050456.
Manual test script

In current production branch, goto http://mushroomobserver.org/name/show_name/24858 (Name page for Boletus edulis group.
Click on MycoBank link.
Result:  2,856 Items in 15 Page(s) (i.e., anything with "boletus" in the MycoBank Name)
Repeat steps 1-2 in the mycobank_groups branch.
Result:  53 Items in 1 Page (i.e., anything with "boletus edulis" in the MycoBank Name)

Coverage increased (+0.0009%) to 84.507% when pulling 57f6e90bf9172b19de5bf09bbe92a5f1790d05a5 on JoeCohen:mycobank-groups into 5a7014163db169d391ba27c1ce13a3543ef8063d on MushroomObserver:master.

Only a drop in the bucket (and a trivial one at that). But until we decide which way to go with #230 (Advanced Fixtures), I don't want to make changes which require new associations in fixtures.

Coveralls report says there is one fewer line covered in app/helpers/object_link_helper.rb.  That's because there's one fewer line in the file, not because any coverage has been dropped.

Temporarily closing this because GitHub now says there's a conflict with master.

No need to re-open.  Jason fixed this directly and merged it.


feat(metrics): proxy reconnect count

Signed-off-by: nshankar13<EMAIL_ADDRESS>
Description: Add metric for number of reconnects from known proxies to OSM controller

Affected area:

Functional Area

New Functionality
[ ]

Documentation
[ ]

Install
[ ]

CLI Tool
[ ]

Certificate Management
[ ]

Control Plane
[ ]

Ingress
[ ]

Egress
[ ]

Networking
[ ]

Observability
[X]

SMI Policy
[ ]

Sidecar Injection
[ ]

Security
[ ]

Upgrade
[ ]

Tests
[ ]

CI System
[ ]

Demo
[ ]

Performance
[ ]

Other
[ ]

Please answer the following questions with yes/no.

Does this change contain code from or inspired by another project? No

Did you notify the maintainers and provide attribution?

Is this a breaking change? No

Codecov Report

Merging #3844 (6fb139f) into main (0a870d7) will decrease coverage by 0.23%.
The diff coverage is 75.00%.

@@            Coverage Diff             @@
##             main    #3844      +/-   ##
==========================================
- Coverage   67.70%   67.47%   -0.24%
==========================================
  Files         198      198
  Lines       11034    11042       +8
==========================================
- Hits         7471     7451      -20
- Misses       3514     3542      +28
  Partials       49       49

Flag
Coverage Δ

unittests
67.47% <75.00%> (-0.24%)
:arrow_down:

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

Impacted Files
Coverage Δ

cmd/osm-controller/osm-controller.go
13.58% <0.00%> (-0.09%)
:arrow_down:

pkg/envoy/ads/stream.go
3.91% <0.00%> (-0.03%)
:arrow_down:

pkg/metricsstore/metricsstore.go
100.00% <100.00%> (ø)

pkg/crdconversion/crdconversion.go
41.30% <0.00%> (-28.27%)
:arrow_down:

Continue to review full report at Codecov.

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


Update base.js

Coverage remained the same at 77.918% when pulling a5244b2a5293fcd6406317dac9034341f841e0ec on logging-changes into 1905715a56c975a90d742c01d6af94091dd4fc86 on master.


Refactor TextArea from a class component to a functional component

Description
This issue is related to refactoring the TextArea component.
Acceptance Criteria
Refactor the component from a class component to a function component.
Feel free to contribute other improvements to the component while refactoring if you come across any opportunities.
Refer to other components to keep formatting consistent. For example, reference the Badge, BadgeButton, or Tabs components.
How to Contribute
Please review the contributing documentation beforehand.
Steps to Contribute:

Fork the repository.
Clone it to your local system.
Create a new branch. Please adhere to branch formatting, for example <your_initials>/refactor/<component_name>
Make your changes. Make sure that tests are still passing. To update snapshot tests, run npm run test -- -u and include the updated tests in your commit.
Commit your changes.  When committing be sure to prefix with the appropriate conventional commit type. For example, refactor: button component.
Push up your changes. In GitHub, click the compare & pull request button to begin drafting your pull request.
Fill out the pull request form and attach the "ready to review" label when complete.

Hi @nataliepina, could you please assign me?

I've assigned it to you @leonardomaier, thanks!


No such file or directory

Got this error when running python -m venv venv && source venv/bin/activate.
I'm using windows 10 and running the command using Git Bash console.

Try to execute it line by line to see what happens, if you are in windows
pip install virtualenv
cd stream-cli virtualenv --python C:\Path\To\Python\python.exe
Then activate it with
.\venv\Scripts\activate
Read more

@redelka00 , it seemed to worked when I ran that.
created virtual environment CPython3.10.4.final.0-64 in 3799ms
  creator CPython3Windows(dest=D:\Projects\stream-cli\.venvScriptsactivate, clear=False, no_vcs_ignore=False, global=False)
  seeder FromAppData(download=False, pip=bundle, setuptools=bundle, wheel=bundle, via=copy, app_data_dir=C:\Users\tealiedie\AppData\Local\pypa\virtualenv)
    added seed packages: pip==22.0.4, setuptools==62.1.0, wheel==0.37.1
  activators BashActivator,BatchActivator,FishActivator,NushellActivator,PowerShellActivator,PythonActivator
(venv)

but after running python main.py top and entered the index of the movie, I got this error..
Traceback (most recent call last):
  File "D:\Projects\stream-cli\main.py", line 54, in <module>
    app()
  File "D:\Projects\stream-cli\venv\lib\site-packages\typer\main.py", line 214, in __call__
    return get_command(self)(*args, **kwargs)
  File "D:\Projects\stream-cli\venv\lib\site-packages\click\core.py", line 1130, in __call__
    return self.main(*args, **kwargs)
  File "D:\Projects\stream-cli\venv\lib\site-packages\click\core.py", line 1055, in main
    rv = self.invoke(ctx)
  File "D:\Projects\stream-cli\venv\lib\site-packages\click\core.py", line 1657, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "D:\Projects\stream-cli\venv\lib\site-packages\click\core.py", line 1404, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "D:\Projects\stream-cli\venv\lib\site-packages\click\core.py", line 760, in invoke
    return __callback(*args, **kwargs)
  File "D:\Projects\stream-cli\venv\lib\site-packages\typer\main.py", line 500, in wrapper
    return callback(**use_params)  # type: ignore
  File "D:\Projects\stream-cli\main.py", line 32, in top
    apprun(TopMoviesSpider, True)
  File "D:\Projects\stream-cli\main.py", line 26, in apprun
    stream(magnet, default_player=player)
  File "D:\Projects\stream-cli\src\stream.py", line 29, in stream
    subprocess.run(["webtorrent", magnet, f"--{default_player}"], check=True)
  File "C:\Users\tealiedie\AppData\Local\Programs\Python\Python310\lib\subprocess.py", line 501, in run
    with Popen(*popenargs, **kwargs) as process:
  File "C:\Users\tealiedie\AppData\Local\Programs\Python\Python310\lib\subprocess.py", line 966, in __init__
    self._execute_child(args, executable, preexec_fn, close_fds,
  File "C:\Users\tealiedie\AppData\Local\Programs\Python\Python310\lib\subprocess.py", line 1435, in _execute_child
    hp, ht, pid, tid = _winapi.CreateProcess(executable, args,
FileNotFoundError: [WinError 2] The system cannot find the file specified
(venv)

Try to execute it line by line to see what happens, if you are in windows pip install virtualenv cd stream-cli virtualenv --python C:\Path\To\Python\python.exe Then activate it with .\venv\Scripts\activate
Read more

After using this command am getting the error bash: cd: too many arguments

You can run it without creating a virtualenv, just pip install -r requirements.txt

You can run it without creating a virtualenv, just pip install -r requirements.txt

Thanks buddy it worked for me!

@redelka00 , it seemed to worked when I ran that.
created virtual environment CPython3.10.4.final.0-64 in 3799ms
  creator CPython3Windows(dest=D:\Projects\stream-cli\.venvScriptsactivate, clear=False, no_vcs_ignore=False, global=False)
  seeder FromAppData(download=False, pip=bundle, setuptools=bundle, wheel=bundle, via=copy, app_data_dir=C:\Users\tealiedie\AppData\Local\pypa\virtualenv)
    added seed packages: pip==22.0.4, setuptools==62.1.0, wheel==0.37.1
  activators BashActivator,BatchActivator,FishActivator,NushellActivator,PowerShellActivator,PythonActivator
(venv)

but after running python main.py top and entered the index of the movie, I got this error..
Traceback (most recent call last):
  File "D:\Projects\stream-cli\main.py", line 54, in <module>
    app()
  File "D:\Projects\stream-cli\venv\lib\site-packages\typer\main.py", line 214, in __call__
    return get_command(self)(*args, **kwargs)
  File "D:\Projects\stream-cli\venv\lib\site-packages\click\core.py", line 1130, in __call__
    return self.main(*args, **kwargs)
  File "D:\Projects\stream-cli\venv\lib\site-packages\click\core.py", line 1055, in main
    rv = self.invoke(ctx)
  File "D:\Projects\stream-cli\venv\lib\site-packages\click\core.py", line 1657, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "D:\Projects\stream-cli\venv\lib\site-packages\click\core.py", line 1404, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "D:\Projects\stream-cli\venv\lib\site-packages\click\core.py", line 760, in invoke
    return __callback(*args, **kwargs)
  File "D:\Projects\stream-cli\venv\lib\site-packages\typer\main.py", line 500, in wrapper
    return callback(**use_params)  # type: ignore
  File "D:\Projects\stream-cli\main.py", line 32, in top
    apprun(TopMoviesSpider, True)
  File "D:\Projects\stream-cli\main.py", line 26, in apprun
    stream(magnet, default_player=player)
  File "D:\Projects\stream-cli\src\stream.py", line 29, in stream
    subprocess.run(["webtorrent", magnet, f"--{default_player}"], check=True)
  File "C:\Users\tealiedie\AppData\Local\Programs\Python\Python310\lib\subprocess.py", line 501, in run
    with Popen(*popenargs, **kwargs) as process:
  File "C:\Users\tealiedie\AppData\Local\Programs\Python\Python310\lib\subprocess.py", line 966, in __init__
    self._execute_child(args, executable, preexec_fn, close_fds,
  File "C:\Users\tealiedie\AppData\Local\Programs\Python\Python310\lib\subprocess.py", line 1435, in _execute_child
    hp, ht, pid, tid = _winapi.CreateProcess(executable, args,
FileNotFoundError: [WinError 2] The system cannot find the file specified
(venv)

Am getting the same issue

This issue is about creating and setting up a vietualenv in windows.
I wrote a simple instruction for it here


Issue/1921 extend version overview with more versions (#7513)

Pull request opened by the merge tool on behalf of #7513

Pull request rejected by merge tool. The tests for this branch did not succeed.

Closed in favor of https://github.com/inmanta/inmanta-core/pull/7584


No error shown upon sails lift when connect-redis is unable to connect to Redis

See #3589
When session adapter is set to redis in config/sessions.js and connect-redis is properly installed, but cannot connect to a Redis instance using the configured settings (perhaps because no Redis instance is running!) no error is displayed in the console, making it appear as if the server lifted without incident when in fact the app will be unable to handle sessions.

+1

For anyone who wants to take a pass at this, here's the spot in core where we get access to the session store instance: https://github.com/balderdashy/sails/blob/master/lib/hooks/session/index.js#L172
If I was able to dive into this right now, what I would do is probably console.log(sessionConfig.store) and see what I could see.  Then I would check out the relevant file in the source code for connect-redis and see if I could figure out where the raw redis client instance was lurking in there.  Then I would double-check the README to see if direct access to the redis client was a documented part of connect-redis.  If not, I would post back here with what I found, then I would create an issue or PR in connect-redis (depending on what their contribution guidelines suggest) that describes our use case, links to this issue,  and either implements or asks for official support for handling errors via some kind of notifier interface (preferably a function we pass in with the rest of the redis config, but agreeing to document the home for the redis client instance is also good enough).
On the other hand, if I found that the redis client was already an officially documented part of the store instance, or that there was another way to bind an error handler, awesome!  I would implement that error handling in that file I linked to above in the session hook within Sails core.
If anyone reading this has time to help with that, I'd appreciate it.  No need to send a proposal since this isn't a change to usage-- a patch PR that links back to this issue would be perfect.  If no one else in the community can get to this in the next couple of weeks, I'll look at it asap.  Thanks!


Please document app.yml / app.yaml _version: 2 to work / find keys properly

After frustration, I found closed issue #60 to solve my problem.
If _version: 1 in app.yml / app.yaml, the locale parameter of t!("key", locale = "en") is prepended, resulting in an invalid key like: en.key. Thus, the resolution fails.
I found I must set _version: 2 in the file per issue #60.
And here I thought that _version was to specify my "version" of the translations, but it is in fact the rust-i18n API version.
Can you please add this to the README right in the app.yml section so that in the future, people know they must use _version: 2 to get this format to work?
Thank you.

Here is the doc describe it
https://github.com/longbridgeapp/rust-i18n?tab=readme-ov-file#all-localized-texts-in-one-file


[RC] Add package version tag

What does this PR do?

Add a new tag to datadog.agent.running metric when the agent is managed by the updater
PackageVersion is different from the AgentVersion, as it refers to an internal version catalog with more detailed informations that the AgentVersion.
See the install_dir override for the updater https://github.com/DataDog/datadog-agent/blob/main/.gitlab/package_build/remote_updater.yml#L5
Motivation

Additional Notes

Possible Drawbacks / Trade-offs

Describe how to test/QA your changes

/merge

/merge


Does not autoplay

When the song ends it doesn's automatically start the next one
Expected Behavior
after the song ends, it should start the next one automatically
(What did you expect to happen?)
Actual Behavior
when the song ends, it stops playing music
(What actually happened?)
Steps to Reproduce the Problem

Specifications

Browser: Chrome
OS: Windows

I'm having the same problem with Music Player for Google Drive:

Open the app
Open one of my preciously stored Playlist
One song opens & starts playing
I can advance to the next song on the Playlist or back back up to the prior song
Thereafter, unable to to advance or back up further
App fails to auto-advance to play thru the complete playlist

Mine will only play one song, and stops after that. Once the song is over, I can click play for the song to repeat again, but selecting a new song or putting it on autoplay does nothing. I am basically stuck on one song, and cannot even add new songs to my playlists either.


advice for debugging incremental compilation hashing failures etc

Over in https://github.com/rust-lang/rust/issues/47935, @michaelwoerister wrote:

The [dependency tracking] readme is largely outdated. The "Testing the dependency graph" and "Debugging the dependency graph" sections are still correct, I think, but the rest is probably just confusing at this point.

I think we ought o move some of those sections over, and/or add some new material on how to debug incremental compilation failures. This is always something I have to kind of rediscover.

@michaelwoerister, think you'd be up for that? =)

It depends on how much of a priority it is :)

Honestly, I was just going to create a new subchapter and copy/paste those two sections into it. But if you're interested in doing something more interesting with those sections, that would be great!

@mark-i-m starting with that seems ok =)

Ok, created #92 which is pretty much a straight copy/paste.


Question if the capabilities for 'yang-library' return by Netopeer-cli status has the correct version

This is my build of Netopeer2-server
$ sudo netopeer2-server -V
netopeer2-server 1.1.12
compile time: Feb 14 2020, 10:46:36

The capabilities being return is
	urn:ietf:params:netconf:capability:yang-library:1.0?revision=2019-01-04&module-set-id=31

It looks like the current implementation is supporting '1.1'.   I have not found where it is generated in the source yet to check to see if there is just an issue there.
From RFC 8525, I see
Note that for a NETCONF server implementing the NETCONF extensions to
   support the NMDA [RFC8526], a change of the YANG library content
   identifier results in a new value for the :yang-library:1.1
   capability defined in [RFC8526].

It looks like RFC 8526 is supported as there is the support for 'get-data' and 'edit-data'.   So maybe just the version reported in the capabilities needs to be updated?

Hi,
you are right, but it was just an outdated capability name, should be fixed now in libnetconf2 (https://github.com/CESNET/libnetconf2/commit/f0fba4e738c903aad75d1c03f6fa6427539801a8).
Regards,
Michal

It is correct now so closing


Links on info window displays as subdomain with github url

Hi!
I've a map created with google sheets and everything works fine. The only problem that I'm encountering is that on the info window of the map points the links if I click on them they send me a relative URL of the map domain.
Example:
I have www.google.com link on info window. When I press it it sends me to :
https://venturaeffect.github.io/project/www.google.com
How can I do that it sends me to www.google.com?
Thank you!

Try changing it to https://www.google.com

@venturaEffect let me know if it helped so I can close the issue.

Yes!
Sorry. It was right!


How to add to list? Artificy - image generation service for free

How I can add information about service?

Service of free image generation: Artificy.com

Free for personal use
We use all most fresh, models for example
Different aspect ratios, predefined styles
Fast and simple interface
Social network features: make & share!
Work in progress every day

Just doing it like this is good enough. Thanks for the link, I'll add it later


Feat:(issue_1960) make defaults validation optional

What type of PR is this?
(REQUIRED)

documentation
feature

What this PR does / why we need it:
(REQUIRED)

The feature allows default validation to be optional.
Which issue(s) this PR fixes:
(REQUIRED)

Fixes #1960
Special notes for your reviewer:
(fill-in or delete this section)

Testing
(fill-in or delete this section)

make test
Release Notes
(REQUIRED)

Defaults validation is optional(false). Validation of defaults, values from env can be enabled by setting ValidateDefaults to true

@urfave/cli I'm wondering if we need to validate values from ValueSources(like Env, File etc) but not the default that the user sets explicitly via Value . Thoughts ?

I'm wondering if we need to validate values from ValueSources(like Env, File etc) but not the default that the user sets explicitly via Value . Thoughts ?

I believe this would be a valuable feature. We could potentially create a Validator struct to accommodate future extensions, such as:
type Validator[T any] struct {
	ValidateFunc     func(T) error `json:"-"`
	ValidateDefaults bool          `json:"validateDefaults"`
	ValidateSources  bool          `json:"validateSources"`
}


Register IdpProfile in the admin interface.

Coverage increased (+0.007%) to 90.694% when pulling a4837791059c7d53e70c512e0c53af4dbdd179d5 on akatsoulas:admin-idpprofile into 14c061f50f2435afb82e7d1f8fa50408310d0186 on mozilla:master.


Added possibility to receive data with no transport allocations

This makes having a buffer in transport and reusing it possible, thus removed need of allocating a new array per packet.

About GC optimizations: this is the hottest hotpath in all code, all data goes through here

@vis2k   I like this change,  I can use it in both TcpTransport and websockets.
But I would like to get rid of the old "OnDataReceived",   just have 1 event with the ArraySegment.   The queue based transports can still allocate their byte array but just return the ArraySegment with the full array instead.

will have to stress test this to see if it's worth it.
might take a few days.

@vis2k It depend on how big packets the game sends, because it literally removes allocation of 100% received data.

So, theoretically in my game it would save allocating 42kB per frame (if i haven't made any mistakes in my calculations)

Wait, i did make a mistake, it should be 5.5kB

@vis2k In my tests this removed 1 out of 11 allocations per message.
At this point the biggest allocators by far are the NetworkReaders

This will only help with transports having buffers, then they'll work like LLAPI was changed in this PR

from discord, how to test:

If you want less lines, code can be shortened by removing overloads and making base methods also have offset and count, that would only make changes with transport

In the last commit, the WebSockets transport was modified to utilize this method of receiving. I think it will be a big boon for games that can use these transports given this is the hottest possible path.

This could also benefit Ignorance. I would have to test but this is a dependency for Ignorance's PR, https://github.com/SoftwareGuy/Ignorance/pull/45 . I cannot test that Ignorance PR unless this gets merged, or I branch off master, merge this in and run my own tests with Ignorance.

closing this because arraysegments are in master now.
katori open a separate PR for your websockets buffering.
thanks


Lower compression rate on APK zip for faster builds

In my project I generate a 1.4MB .so file. The measurements take into account the removal of Jarsigner, #57

Compression Level 0:

419ms
1381019 bytes (1.4MB)

Compression Level 4:

425ms
414363 bytes (405k)

Compression Level 9:

642ms
397979 bytes (389K)

With both changes, my build goes from 1050ms to 425ms

I wonder how often do you build your project when you need to save 0.5s?

Well, shorter build times dramatically extend what's possible - it's one of the selling points of rawdraw android already.
250~ms of 425ms are still spent signing the APK. If those could be gone, you'd be looking at a 175ms build cycle, which is fantastic

there is no reason not to save 175ms per build cycle!! What PC are you running on though?  Normally my compression cycle takes like 10ms.

This is on a
model name      : 12th Gen Intel(R) Core(TM) i5-1240P

And this is what I see in my project:
$ ls -lhrt *.so
-rwxr-xr-x 1 david david 1.4M May 29 17:29 libcnfgtest.so

On -9
$ time zip -9 <libcnfgtest.so >out
  adding: - (deflated 72%)

real    0m0.232s
user    0m0.214s
sys     0m0.005s
$ ls -lhrt out
-rw-rw-r-- 1 david david 379K May 30 18:27 out

vs -4
$ time zip -4 <libcnfgtest.so >out
  adding: - (deflated 70%)

real    0m0.028s
user    0m0.028s
sys     0m0.001s
$ ls -lhrt out
-rw-rw-r-- 1 david david 399K May 30 18:27 out

I am ok with this change.  If anyone wants to go extreme they can do -9.
I would like it if you could add a comment to the Makefile, but I will accept this with the comment explaining -4 vs -9.
Comment can be very short, like
# We use -4 here for the compression ratio, -9 will make a smaller executable but takes longer to build


Fix bucket creation and list expansion

Issue #, if available: None
Description of changes: Fix doc and implementation for non-existing buckets. Fix list expansion.
Why is this change necessary: New projects without bucket don't work
How was this change tested: Manual test with non-existing and non-accessible bucket, unit tests changed
Any additional information or context required to review the change:
Issue 1 reproduction:

Run component build and component publish on a new project without an existing bucket

Issue 2 reproduction:

Create a component recipe like this: https://github.com/awslabs/aws-greengrass-labs-bluetooth-gateway/blob/main/src/recipe.json
Run component build
Check greengrass-build/recipe.json and see that operations and resources are now empty lists
--> this will cause the component deployment to fail

Checklist:

[x] Updated the README if applicable
[x] Updated or added new unit tests
[ ] Updated or added new integration tests
[ ] Updated or added new end-to-end tests
[ ] If your code makes a remote network call, it was tested with a proxy
[ ] You confirm that the change is backwards compatible

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Can confirm both issues.
Can also confirm that this PR fixes both issues. Looks like they were introduced in 1.2.2

Thank you for your contribution.
PR looks good to me. But to proceed further, please update the commit messages to match the conventional commits format for the GitHub workflow checks to pass. You can also refer to the previous commits of this repository.


Move off Bootstrap

I just saw in your backlog https://github.com/vmware/clarity/projects/1  that you are planning to move away from bootstrap.
Is this an idea or is it already planned. If you are really thinking about moving away from bootstrap than we have to rethink our decision with clarity as well.
I know that bootstrap has its issues and drawbacks, but on the inevitable pro side is the huge eco system and popularity and knowledge among devs and ui experts.

The plan is to move off of Bootstrap starting with version 2.0. So that's a long way off.
And version 1.0 of Clarity will stay on v4 Bootstrap -- as much as it is today.
As with any long term goals, the community will have every opportunity to influence our decision and ultimate direction.
I'm closing this issue because it is a question that has been answered.


Soap Proxy Client

With this code we will be able to use most of the soap web services out there directly from AL without having to go though Azure Funztions or to manually create the soap request.

Hi Jesper.
We need this function as well
[External]
PROCEDURE SetSecurityProtocolType@38(SecurityProtocolTypeText@1000 : Text);
VAR
  ServicePointManager@1001 : DotNet "'System, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=b77a5c561934e089'.System.Net.ServicePointManager";
  SecurityProtocolType@1002 : DotNet "'System, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=b77a5c561934e089'.System.Net.SecurityProtocolType";
BEGIN
  ParseEnum(SecurityProtocolType,GETDOTNETTYPE(SecurityProtocolType),SecurityProtocolTypeText);
  ServicePointManager.SecurityProtocol := SecurityProtocolType;
END;

to be able to set
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12

ok! Hope to get around to look at your request beginning of next week.

We might even need two more functions to set the GlobalParameter from Xml and get the GlobalParameter from Xml.  Will create those..

I will hold back until you're done :-) Let me know when you are!

Ok.  I am done and will be writing a blog about this with more usage examples.
[External]
PROCEDURE SetGlobalParameterValueFromXml@41(TempBlob@1000 : Record 99008535);
VAR
  XmlSerializer@1001 : DotNet "'System.Xml, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=b77a5c561934e089'.System.Xml.Serialization.XmlSerializer";
  XmlDoc@1002 : DotNet "'System.Xml, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=b77a5c561934e089'.System.Xml.XmlDocument";
  XmlNodeReader@1003 : DotNet "'System.Xml, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=b77a5c561934e089'.System.Xml.XmlNodeReader";
  InStr@1004 : InStream;
BEGIN
  TempBlob.Blob.CREATEINSTREAM(InStr);
  XmlDoc := XmlDoc.XmlDocument;
  XmlDoc.Load(InStr);
  XmlNodeReader := XmlNodeReader.XmlNodeReader(XmlDoc.DocumentElement);
  XmlSerializer := XmlSerializer.XmlSerializer(GlobalParameter.GetType,GetTargetNamespace);
  GlobalParameter := XmlSerializer.Deserialize(XmlNodeReader);
END;

[External]
PROCEDURE GetGlobalParameterAsXml@39(VAR TempBlob@1000 : Record 99008535);
VAR
  XmlSerializer@1001 : DotNet "'System.Xml, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=b77a5c561934e089'.System.Xml.Serialization.XmlSerializer";
  OutStr@1002 : OutStream;
BEGIN
  TempBlob.INIT;
  TempBlob.Blob.CREATEOUTSTREAM(OutStr);
  XmlSerializer := XmlSerializer.XmlSerializer(GlobalParameter.GetType,GetTargetNamespace);
  XmlSerializer.Serialize(OutStr,GlobalParameter);
END;

One question though.  If I want import a X509 Certificate to store in my BLOB field.  Can I do that from AL or do I need to add that function to this Codeunit as well ?
Perhaps a function in TempBlob to import a Certificate would be nice ?

I don't recall us having anything that meets your needs, no! I like your idea of adding a little helper for that to TempBlob :) Or do we have a certificate management codeunit of some sort? It's doesn really fit into the encryption management one, does it? Your call :-)

What function can we use from AL to import a file into TempBlob ?

Also, I suggest that you add field 3, File Name Text[250] to TempBlob

Importing of certificate into Blob is done in Czech localization I think with use of the encryption, and I will expect to encrypt the certificate inside the DB... ;-)

Hi Jesper.
I have updated the code and added one more codeunit for X509 Certificates.
Ready for you to work on.

Hi Gunnar,
let us schedule a call to discuss the format of pull requests we'd ideally like to receive in this repository. We need to have focus on reusability when wrapping .NET methods. I will reach out to you today to set something up.

Now that BC for Iceland is soon online we need this codeunits, at least in the Icelandic Localization.  Without these codeunits will not be able to communicate with tax authorities, pension funds and online banking.

Hi Gunnar,
I will have to discuss your solution once more with my colleagues. As discussed previously, you are not following the format we'd like to use going forward, which is why I'm receiving push back on your pull request(s). Your library will fit your specific needs, rather than introducing reusable .NET wrappers as found in codeunits 3000 and upwards. I do, however, see the usefulness of your library and understand why you need it. Let me get back to you beginning of next week. I need to play around with a few solutions. Maybe we can meet in the middle :-)

Hi
Jesper
This is a generic solution.  I believe the every AL developer can use this library to connect to any SOAP service out there.
The other codeunit that allows you to import and save a certificate is as generic as the can get.
Kind regards,
Gunnar Þór Gestsson
From: Jesper Schulz-Wedde<EMAIL_ADDRESS>Sent: fimmtudagur, 21. júní 2018 09:16
To: Microsoft/cal-open-library<EMAIL_ADDRESS>Cc: Gunnar Gestsson<EMAIL_ADDRESS>Author<EMAIL_ADDRESS>Subject: Re: [Microsoft/cal-open-library] Soap Proxy Client (#61)
Hi Gunnar,
I will have to discuss your solution once more with my colleagues. As discussed previously, you are not following the format we'd like to use going forward, which is why I'm receiving push back on your pull request(s). Your library will fit your specific needs, rather than introducing reusable .NET wrappers as found in codeunits 3000 and upwards. I do, however, see the usefulness of your library and understand why you need it. Let me get back to you beginning of next week. I need to play around with a few solutions. Maybe we can meet in the middle :-)
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/Microsoft/cal-open-library/pull/61#issuecomment-399033737, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AWd6jSUu0CusWIvCj1XNMqQxllBg5ZMhks5t-2Q6gaJpZM4TPDKq.

Sure, in that sense it is reusable, but if someone else wanted to use e.g. System.Security.Cryptography or System.Convert, they wouldn't be able to do that with your solution. They'd have to submit another PR, which is what we'd like to avoid. By wrapping the .NET libraries like in COD3000, the wrappers become multi purpose and resuable and every partner can create their own libraries using the wrappers without having to submit them all to the baseapp. We would be able to isolate and reuse .NET wrappers. Hence the push back. We have to start isolating .NET calls to a higher degree, as we else won't be able to cope with the inflow of requests.

Agreed. In that sense this is not a dotnet wrapper but rather a dotnet library.
We should be able to move some of the functions to wrappers. Do you want me to take a look at the proxy from that point?
On Jun 22, 2018 08:01, Jesper Schulz-Wedde<EMAIL_ADDRESS>wrote:
Sure, in that sense it is reusable, but if someone else wanted to use e.g. System.Security.Cryptography or System.Convert, they wouldn't be able to do that with your solution. They'd have to submit another PR, which is what we'd like to avoid. By wrapping the .NET libraries like in COD3000, the wrappers become multi purpose and resuable and every partner can create their own libraries using the wrappers without having to submit them all to the baseapp. We would be able to isolate and reuse .NET wrappers. Hence the push back. We have to start isolating .NET calls to a higher degree, as we else won't be able to cope with the inflow of requests.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/Microsoft/cal-open-library/pull/61#issuecomment-399357519, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AWd6jVf3JhqGxzhseb0PcfNbS9RfizSNks5t_KRIgaJpZM4TPDKq.

If you could wrap, that would be fantastic! And then the push back would be gone and I could submit your code. The problem is, that all code we accept now which isn't using wrappers, adds work load to our own backlog as we will have to refactor it soon. If you could do so, it would be highly appreciated!

Cancelling pull request upon Gunnars request. He will create a new PR for the individual .NET wrappers to make the solution better reusable.


Webhook event should be triggered when an Identity overridden feature is reset to the environment defaults

Webhook events are not sent when an identity override is sent for an Edge API project.

any updates on this issue?

Hi @nihaha , I'm afraid we don't have any updates on this issue at the moment. If you'd like to submit a PR, we'd be grateful to receive it. Otherwise, if you have a paid support contract with Flagsmith, feel free to reach out to our support team at<EMAIL_ADDRESS>and we can discuss further.


[🐞] pnpm create qwik@latest asks  to install dependencies but does not install them

Which component is affected?
Qwik Runtime
Describe the bug
Let's create a  Qwik App  ✨ (v1.1.1)
│
◇  Where would you like to create your new project? (Use '.' or './' for current directory)
│  ./qwik-app
│
●  Creating new project in  D:\Source\qwik-app  ... 🐇
│
◇  Select a starter
│  Basic App (QwikCity)
│
◇  Would you like to install pnpm dependencies?
│  Yes
│
◇  Initialize a new git repository?
│  Yes
│
◇  Created App 🐰
│
◇  Git initialized 🎲
│
◇  Failed to install dependencies 📋
Reproduction
https://stackblitz.com/edit/qwik-starter
Steps to reproduce
pnpm create qwik@latest
System Info
System:
    OS: Windows 10 10.0.22621
    CPU: (8) x64 Intel(R) Core(TM) i7-10510U CPU @ 1.80GHz
    Memory: 1012.99 MB / 15.77 GB
  Binaries:
    Node: 20.1.0 - C:\Program Files\nodejs\node.EXE
    Yarn: 3.5.1 - C:\Program Files\nodejs\yarn.CMD
    npm: 9.6.4 - C:\Program Files\nodejs\npm.CMD
  Browsers:
    Edge: Spartan (44.22621.1702.0), Chromium (113.0.1774.35)
    Internet Explorer: 11.0.22621.1
  npmPackages:
    @builder.io/qwik: ^1.1.1 => 1.1.1
    @builder.io/qwik-city: ^1.1.1 => 1.1.1
    undici: 5.22.0 => 5.22.0
    vite: 4.3.5 => 4.3.5

Additional Information
No response

This isn't the fix, but it should help log any errors we're not seeing: https://github.com/BuilderIO/qwik/pull/4187

do you get the error message of why it failed to install dependencies?

@manucorporat I do not get any error

This isn't the fix, but it should help log any errors we're not seeing:  https://github.com/BuilderIO/qwik/pull/4187

@adamdbradley  Shall I merge this in my personal fork and try again?

Can you try again in 1.1.2? it should print the error message!

│
○  Installing pnpm dependencies
│
■  EXDEV: cross-device link not permitted, rename 'C:\Users\Yoga\AppData\Local\Temp\create-qwik-1axyk132in9\node_modules' -> 'D:\Source\test-app\node_modules'
│
│
│
■   pnpm install failed
│   You might need to run "pnpm install" manually inside the root of the project.
│
◇  Failed to install pnpm dependencies 📋

Ok! This gives me an idea of what’s going on!! We should be able to fix it in next release

Facing same issue with npm (v9.6.6) (OS: Archlinux)
◇  App Created 🐰│
◒  Installing npm dependencies...
│
■  EXDEV: cross-device link not permitted, rename '/tmp/create-qwik-1xy4rohj08f/node_modules' -> '/home/krishna/Code/Qwik/deno-qwik-login-app/node_modules'
│
│
│
■   npm install failed
│   You might need to run "npm install" manually inside the root of the project.
│
◇  Failed to install npm dependencies 📋

@jordanw66 even windows users are facing the problem because of pnpm store is not under the project.
First run of pnpm fails on Windows as the store is linked to the temp folder and asks to recreate the whole node_modules directory.
@manucorporat we need to change the location as sub-folder of the project.

Same issue with Yarn:
○  Installing yarn dependencies
│
■  EXDEV: cross-device link not permitted, rename '/tmp/create-qwik-y69244vbbi/node_modules' -> '/home/ian/Projects/tmp/yarn-workspaces/apps/qwik-app/node_modules'
│
│
│
■   yarn install failed
│   You might need to run "yarn install" manually inside the root of the project.

@ianlet are you using the latest version of Qwik? Which is your environment?

@ianlet are you using the latest version of Qwik?

Yes, sorry I forgot to mention it:
@builder.io/qwik: 1.2.10
@builder.io/qwik-city: 1.2.10
vite: 4.4.7
undici: 5.1.6

Hi @ianlet
Just a quick question: when u run the install w/o selecting the install dependencies option and then cd into the app dir, would it then successfully install w/o errors?

Hi @zanettin
Yes, in my case it does install without errors.

I just tested the latest version, and all dependencies installed as expected for npm and pnpm but fail for yarn
Closing this issue in favor of https://github.com/BuilderIO/qwik/issues/5045

I'm running into this too @zanettin - just trying to run bun create qwik@latest as is on the website and I'm getting the following issue:
EXDEV: cross-device link not permitted, rename '/var/folders/7c/c396xbkd7sbbj_5zz4mk1nlr0000gn/T/create-qwik-u5d7s6a9ia/node_modules' -> '/.../node_modules'
Any help would be much appreciated.

Just to expand a bit from the previous comment - I tried bun, npm and yarn all coming up with the same issue.

So I ended up fixing the issue with:
npm install fs-extra
then
node -e "require('fs-extra').move('/var/folders/7c/c396xbkd7sbbj_5zz4mk1nlr0000gn/T/create-qwik-1rnvb666kff/node_modules', '/Volumes/Primary/Code/.../.../node_modules', { overwrite: true }, console.log)"

No idea what the original issue was but thanks perplexity.ai for the fix 😂

Facing same issue with node(20.11.0), npm(10.2.4), Ubuntu 22.04
┌  Let's create a  Qwik App  ✨ (v1.3.5)
│
◇  Where would you like to create your new project? (Use '.' or './' for current directory)
│  ./qwik_test
│
●  Creating new project in  /media/files/ws/qwik/qwik_test  ... 🐇
│
◇  Select a starter
│  Basic App (Qwik City + Qwik)
│
◇  Would you like to install npm dependencies?
│  Yes
│
◇  Initialize a new git repository?
│  Yes
│
◇  Finishing the install. Wanna hear a joke?
│  Yes
│
◇  🙈 ───────────────────────────────────────╮
│                                            │
│  What do you do when you see a space man?  │
│  Park your car, man.                       │
│                                            │
├────────────────────────────────────────────╯
│
◇  App Created 🐰
│
◇  Git initialized 🎲
│
◒  Installing npm dependencies│
■  EXDEV: cross-device link not permitted, rename '/tmp/create-qwik-rmf4tc4dvi/node_modules' -> '/media/files/ws/qwik/qwik_test/node_modules'
│
│
│
■   npm install failed
│   You might need to run "npm install" manually inside the root of the project.
│
│
◇  Failed to install npm dependencies 📋

I just tested the latest version, and all dependencies installed as expected.
So I'm closing this issue for now, feel free to re-open it if it's still an issue for you.


fix a bug in node - [closed]

In GitLab by @luotian-github on Sep 13, 2017, 05:41
Merges devs -> dev
fix a bug in node

In GitLab by @wknet123 on Nov 13, 2019, 09:58
closed


Fix forget for real: only skip it when completing

Codecov Report

Merging #239 into master will decrease coverage by 0.06%.
The diff coverage is 62.5%.

@@            Coverage Diff            @@
##           master    #239      +/-   ##
=========================================
- Coverage   63.36%   63.3%   -0.07%
=========================================
  Files           3       3
  Lines        2282    2289       +7
  Branches      209     209
=========================================
+ Hits         1446    1449       +3
- Misses        761     764       +3
- Partials       75      76       +1

Impacted Files
Coverage Δ

pdb.py
43.7% <0%> (-0.21%)
:arrow_down:

testing/test_pdb.py
77.98% <71.42%> (-0.04%)
:arrow_down:

Continue to review full report at Codecov.

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


Seeing an issue on ubuntu

Traceback (most recent call last):
File "/usr/lib/python2.7/SocketServer.py", line 295, in _handle_request_noblock
self.process_request(request, client_address)
File "/usr/lib/python2.7/SocketServer.py", line 321, in process_request
self.finish_request(request, client_address)
File "/usr/lib/python2.7/SocketServer.py", line 334, in finish_request
self.RequestHandlerClass(request, client_address, self)
File "/usr/lib/python2.7/SocketServer.py", line 649, in init
self.handle()
File "werkzeug/serving.py", line 217, in handle
rv = BaseHTTPRequestHandler.handle(self)
File "/usr/lib/python2.7/BaseHTTPServer.py", line 340, in handle
self.handle_one_request()
File "werkzeug/serving.py", line 252, in handle_one_request
return self.run_wsgi()
File "werkzeug/serving.py", line 200, in run_wsgi
from debug.tbtools import get_current_traceback
ImportError: No module named debug.tbtools
But if I try from python command line, I can import the module

I assume you have a very old version of werkzeug? The line in werkzeug.serving does not look like that.


[main] Upgrade to latest dependencies

Cron -knative-prow-robot
/cc knative/func-approvers
/assign knative/func-approvers
Produced by: knative-extensions/knobots/actions/update-deps

/override "codecov/project"

/approve
/lgtm


What's the effect of DiscoveryClient#getOrder

I wonder how to use the  org.springframework.cloud.client.discovery.DiscoveryClient#getOrder .
And when to use it.
@ryanjbaxter @spencergibb

Closing due to lack of requested feedback. If you would like us to look at this issue, please provide the requested information and we will re-open the issue.


Add airnode address to POST / endpoint

When we try to scale signed-api over airnode addresses on a single domain, it's possible to route GET /delayed/<airnodeAddress> and GET /real-time/<airnodeAddress> because the airnode address uniquely determines which container to use. However, routing the POST / address that accepts signed data complicates the routing process in a simple way. So adding airnode address to POST endpoint e.g. POST /<airnodeAddress> will make routing easier.
Blocker for https://github.com/api3dao/tasks/issues/507

Also remove GET /?

Also remove GET /?

I created separate issue. It's not blocking https://github.com/api3dao/tasks/issues/507.


<EMAIL_ADDRESS>update ilspy to v8

Note that I updated version and hash manually, as autoupdate does not work, but I have no clue how to fix it

[x] I have read the Contributing Guide.

/verify

/verify


Deprecation notice

We want to express our sincere gratitude for your support and contributions to the Hypernova open source project. As we are no longer using this technology internally, we have come to the decision to archive the Hypernova repositories. While we won't be providing further updates or support, the existing code and resources will remain accessible for your reference. We encourage anyone interested to fork the repository and continue the project's legacy independently. Thank you for being a part of this journey and for your patience and understanding.

npm package has also been deprecated https://www.npmjs.com/package/hypernova-client
Reviewer: @lencioni

Is that something you'd be interested in?

If a new owner or canonical fork emerges, we can consider transferring ownership or at least highlighting it in the readme. Otherwise, we'll proceed with archiving for now.


UART does not return to REPL

micro:bit support: 44148
from microbit import *
def uart_test():
    uart.init(baudrate=115200,tx=pin0,rx=pin1)
    display.scroll("UART")
    uart.init(baudrate=115200)
    return ('done son')

On v1 program displays 'UART' and returns the string 'done son' in the REPL
on V2 program displays 'UART' but does not return the string 'done son' in the REPL
Tested in https://python.microbit.org/v/beta
Flash the script  then open a serial connection. Call the uart_test() function
>>>print(uart_test())
Notice the program works as expected on V1 but hangs V2.
Clicking on on send CTRC-C or CTRL-D does not reset the REPL

Removing the display.scroll() and the function shows the same issue:
from microbit import *

print("this prints normally")
sleep(1000)
uart.init(baudrate=115200,tx=pin0,rx=pin1)
print("this goes to the edge connector pins")
sleep(1000)
uart.init(baudrate=115200)
print("this doesn't print on serial")
sleep(1000)

I can replicate this as well in MakeCode (the stable deployment with CODAL 0.2.25:
serial.writeLine("this prints normally")
basic.pause(1000)
serial.redirect(SerialPin.P0, SerialPin.P1, BaudRate.BaudRate115200)
serial.writeLine("this goes to the edge connector pins")
basic.pause(1000)
serial.redirect(SerialPin.USB_TX, SerialPin.USB_RX, BaudRate.BaudRate115200)
serial.writeLine("this doesn't print on serial")
basic.pause(1000)

@martinwork could you try to create a test in C++ to see if this is reproducible in the CODAL side?
If a normal call to uBit.serial.redirect() with the edge connector pins, and then with the internal pins doesn't work we can try to replicate the MicroPython uart.init call:
https://github.com/microbit-foundation/micropython-microbit-v2/blob/e0f3e60c5e7755eb71c789b3a765d271320b2e17/src/codal_port/microbit_uart.c#L86
https://github.com/microbit-foundation/micropython-microbit-v2/blob/b7a76e449cf1b437972c21efaf468fbe5891c6a2/src/codal_app/microbithal.cpp#L210-L221

Created https://github.com/lancaster-university/codal-microbit-v2/issues/92

@martinwork thanks for looking into this!
Is PR https://github.com/lancaster-university/codal-nrf52/pull/31 the only thing pending for this being fixed in CODAL, or are there more?

@microbit-carlos I believe that PR on its own should fix this issue, but I haven't tested it in a micropython build.

This is now waiting on a tag in codal-microbit-v2

Latest tagged release is in https://github.com/lancaster-university/codal-microbit-v2/releases/tag/v0.2.26 which I think should resolve this issue.

Fixed by 291e05c8440de4e90dcf1f443136d2b7005272a1


Specify CA Name on mkcert -install

Would like to request the ability to specify a name for the CA certificate's subject common name when running mkcert -install.
Example: mkcert -instal -name 'My Dev CA 01'
The built-in method for generating the CN of the CA certificate uses parenthesis in the name which have to be escaped properly in certain languages, bash as an example.

This is a common request, but I prefer not to make the root customizable for a few reasons:

The UX is unclear, what happens if you re-run -install without -name or with a different -name? Does it destroy the current root?
There are too many customization options, so we'd need full Subject syntax, and probably also something for the names on the leaf certificates
mkcert is targeted at development. It happens to work as a private CA with one user, but scaling past that with mkcert is not using it for what it's designed, and customizable names encourage that.

If parens are annoying, we can remove them. Can you tell us more about how you're using the root to understand what would work?

That makes sense on wanting to keep it development focused and not customizable. If removing the parentheses is possible then that would be great.
I tried to remember specifically what use case I was testing mkcert with at the time of posting this, but honestly cannot remember. I was probably testing a certificate scenario  using a combination of Python/bash and ran into a character escaping problem with the parentheses.

Some app must run in LAN. It need be customed

especially in the development phase it customization is important. as developer who thinks about his variable names carefully i would really prefer to set a custom name (and maybe later much more). the custom name would help me in team development and also i would love to name the cert something like AAA.... to keep it at the top of all certs.
from user security point of view we could also argue that a development certificate with an "unknown" name (a name not chosen by myself), can lead to forget such a cert in the browser which could lead to misuse from people who want to do harm.
trying to protect developers is a noble cause but in the end it is annoying most of the time. it leaves an odd feeling as if someone other is thinking for you.
so this is my vote for customizing the  name.


Cannot record roles named User ID, Username, or Display Name

Parsing and writing of CSV files using csv.DictWriter and csv.DictReader don't support multiple columns with the same name, so roles with the same name as the first three columns User ID, Username, or Display Name won't export or import correctly.

Additionally, Discord role names are not unique, so a complete fix would support duplicate role names as well.

If CSV backups titled role columns by their IDs instead of names, all role name collisions would go away. However, backups would become frail if they only contained IDs, since a guild-hack scenario with deleted-then-recreated roles using new IDs could never be restored.
Role column headers could encode both the ID and role name.  The previous guild-hack scenario still wouldn't be automatically recoverable, but a dedicated admin could swap the backup's IDs by hand based on its role names.