build fails: Could not download Node.js: Got error code 404 from the server.

OS: Mac OS
CPU: M1
It is trying to download old version of node that is not released for M1
https://nodejs.org/dist/v14.16.0/node-v14.16.0-darwin-arm64.tar.gz
~/repo/spline-ui % mvn install
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Build Order:
[INFO]
[INFO] project                                                            [pom]
[INFO] UI Core                                                            [pom]
[INFO] Spline Web UI                                                      [war]
[INFO]
[INFO] --------------------< za.co.absa.spline.ui:project >--------------------
[INFO] Building project 1.0.0-SNAPSHOT                                    [1/3]
[INFO] --------------------------------[ pom ]---------------------------------
[INFO]
[INFO] --- maven-install-plugin:2.4:install (default-install) @ project ---
[INFO] Installing /Users/abac720/repo/spline-ui/pom.xml to /Users/abac720/.m2/repository/za/co/absa/spline/ui/project/1.0.0-SNAPSHOT/project-1.0.0-SNAPSHOT.pom
[INFO]
[INFO] --------------------< za.co.absa.spline.ui:ui-core >--------------------
[INFO] Building UI Core 1.0.0-SNAPSHOT                                    [2/3]
[INFO] --------------------------------[ pom ]---------------------------------
[INFO]
[INFO] --- frontend-maven-plugin:1.10.3:install-node-and-npm (install node and npm) @ ui-core ---
[INFO] Installing node version v14.16.0
[INFO] Downloading https://nodejs.org/dist/v14.16.0/node-v14.16.0-darwin-arm64.tar.gz to /Users/abac720/.m2/repository/com/github/eirslett/node/14.16.0/node-14.16.0-darwin-arm64.tar.gz
[INFO] No proxies configured
[INFO] No proxy was configured, downloading directly
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary for project 1.0.0-SNAPSHOT:
[INFO]
[INFO] project ............................................ SUCCESS [  0.117 s]
[INFO] UI Core ............................................ FAILURE [  0.509 s]
[INFO] Spline Web UI ...................................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  0.686 s
[INFO] Finished at: 2022-11-29T15:07:23+01:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal com.github.eirslett:frontend-maven-plugin:1.10.3:install-node-and-npm (install node and npm) on project ui-core: Could not download Node.js: Got error code 404 from the server. -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn <args> -rf :ui-core

I tried to use new version of node, but then I got another error:
[INFO] --- frontend-maven-plugin:1.10.3:npm (install node modules) @ ui-core ---
[INFO] Running 'npm ci' in /Users/abac720/repo/spline-ui/ui
[INFO] npm ERR! code ERESOLVE
[INFO] npm ERR! ERESOLVE could not resolve
[INFO] npm ERR!
[INFO] npm ERR! While resolving<EMAIL_ADDRESS>[INFO] npm ERR! Found<EMAIL_ADDRESS>[INFO] npm ERR! node_modules/@angular-devkit/build-angular
[INFO] npm ERR!   dev<EMAIL_ADDRESS>from the root project
[INFO] npm ERR<EMAIL_ADDRESS>from<EMAIL_ADDRESS>[INFO] npm ERR!   node_modules/@angular-builders/custom-webpack
[INFO] npm ERR!     dev<EMAIL_ADDRESS>from the root project
[INFO] npm ERR!
[INFO] npm ERR! Could not resolve dependency:
[INFO] npm ERR! peer<EMAIL_ADDRESS>from<EMAIL_ADDRESS>[INFO] npm ERR! node_modules/@angular-eslint/builder
[INFO] npm ERR!   dev<EMAIL_ADDRESS>from the root project
[INFO] npm ERR!
[INFO] npm ERR! Conflicting peer dependency<EMAIL_ADDRESS>[INFO] npm ERR! node_modules/@angular-devkit/build-angular
[INFO] npm ERR!   peer<EMAIL_ADDRESS>from<EMAIL_ADDRESS>[INFO] npm ERR!   node_modules/@angular-eslint/builder
[INFO] npm ERR!     dev<EMAIL_ADDRESS>from the root project
[INFO] npm ERR!
[INFO] npm ERR! Fix the upstream dependency conflict, or retry
[INFO] npm ERR! this command with --force, or --legacy-peer-deps
[INFO] npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
[INFO] npm ERR!
[INFO] npm ERR! See /Users/abac720/.npm/eresolve-report.txt for a full report.
[INFO]
[INFO] npm ERR!      /Users/abac720/.npm/_logs/2022-11-29T14_54_27_471Z-debug-0.log

what npm version are you using?

8.19.3

Is there any progress or new findings on this one?


PHP7/OS X

I seem to be having trouble getting zephir to work correctly on OS X with PHP7. I'm running into the following issues:
Zephir\ParseException: Syntax error in phalcon/cphalcon/phalcon/paginator/adapter/querybuilder.zep on line 168
      var groups = totalBuilder->getGroupBy();

I can get around this by commenting out the code. After that, I get this error:
Class 'Memcached' does not implement method: 'getServerList' in  phalcon/cphalcon/phalcon/cache/backend/libmemcached.zep on line 111
I can only presume this is due to a version issue of the stock memcached, even though it is using PHP7. Does anyone have any thoughts on this? I may end up having to create a port for memcached/7 as it doesn't appear to exist currently.

---
Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/32487123-php7-os-x?utm_campaign=plugin&utm_content=tracker%2F280146&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F280146&utm_medium=issues&utm_source=github).

Make sure you have 0.9.2a installed

I was on the development branch, so that was part of the issue. Went back to master and the version is registering correctly. However, PHP is failing with 'unable to load library...Symbol not found: _zval_used_for_init'

May of figured out what is going on. I sym linked the /usr/bin/php to PHP 7. I didn't do the same for the php-config and phpize apps, so they are still 5.4 it looks like. Will fix that and then try again.

Resolved/Closing. I used macports to install php 7. This didn't update the phpize/php-config software, so I tried http://php-osx.liip.ch/ to upgrade php instead. This also upgraded the phpize correctly. After that, I added the new php7 install to $PATH and it ran correctly.


please, there is no pretrained model I can find.can you give me a link

you mean follow links?
weight_dic = {'afhqwild.pt': 'https://drive.google.com/file/d/14OnzO4QWaAytKXVqcfWo_o2MzoR4ygnr/view?usp=sharing',
'afhqdog.pt': 'https://drive.google.com/file/d/16v6jPtKVlvq8rg2Sdi3-R9qZEVDgvvEA/view?usp=sharing',
'afhqcat.pt': 'https://drive.google.com/file/d/1HXLER5R3EMI8DSYDBZafoqpX4EtyOf2R/view?usp=sharing',
'ffhq.pt': 'https://drive.google.com/file/d/1AT6bNR2ppK8f2ETL_evT27f3R_oyWNHS/view?usp=sharing',
'metfaces.pt': 'https://drive.google.com/file/d/16wM2PwVWzaMsRgPExvRGsq6BWw_muKbf/view?usp=sharing',
'seg.pth': 'https://drive.google.com/file/d/1lIKvQaFKHT5zC7uS4p17O9ZpfwmwlS62/view?usp=sharing'

You don't need to manually download these pre-trained models. When you run the code for the first time, it will automatically download the models for you.  Also, please git pull the newest repo for improvements and new features.

thanks


Student Attendence

dataSchema:

Teacher name
Student ID - mongooseID
subject
date
No. of periods

routes:
/v1/teacher/post - to post new attendence
/v1/student/attendence/all - to view all attendence
/v1/student/attendence/:subject - to get attendence of a particular subject

I'm interested, kindly assign it to me!

Resolved with PR #10


400 mins free brancher allowance

Jira: https://teamdotblue.atlassian.net/browse/NL3WEB3-1470

Free Usage Allowance: First 400 Minutes per Hypernode
You are entitled to a complimentary allocation of 400 minutes for each Hypernode. This means
you will not be charged for your Brancher minutes usage until it surpasses the threshold of 400 minutes per month
per Hypernode, applicable throughout the year 2024. We value your usage and aim to ensure you enjoy the benefits of > our service without incurring additional costs within this specified limit.

Placement of the paragraph is good :)
Small adjustments to the text:
All Combell Openstack and AWS plans (Falcons and Eagles) include 400 complimentary Brancher minutes for each Hypernode as part of the base package. This means you will not be charged for your Brancher minutes usage until it surpasses the threshold of 400 minutes per month per Hypernode. We aim to ensure that you enjoy the benefits of our service without incurring additional costs within this specified limit.

@tdgroot i wrote in pycharm then i use mdformat. I also test and build locally with ./bin/ tools


More integration fixes

While working on #9 , I found that getLinearAcceleration did not return the correct value. Investigating that further, I found that the integration fix in #5 did not apply when constraint impulses are involved. Furthermore, I found problems with the integration of position in FreeJoint::integratePosition when the COM of a body is not at the origin. This PR fixes both issues and adds a test for the COM offset issue. I wasn't able to create a simple test for the first issue, but I will update #9 to use getLinearAcceleration in the test.
The linear acceleration issue is fixed by a Coriolis term from the acceleration before integrating it to obtain a new velocity. My intuition for this is that the FreeJoint::integratePosition updates the spatial velocity based on the newly integrated position. This update to spatial velocity is in itself an acceleration and it does what the Coriolis term would have done had we FreeJoint::integratePosition not updated the spatial velocity.
The COM offset issue is fixed by transforming all quantities into the COM frame before integration. After integration, the values are transformed back into the body's origin frame.
I have tested this PR with Gazebo-classic and it fixes the test AddForce test in INTEGRATION_physics_link. I was even able to remove the tolerance adjustment in https://github.com/osrf/gazebo/blob/a9f093f2fc7fa7fc49efa73719f6536ad28f8af7/test/integration/physics_link.cc#L164

this sounds great! I'll try running the benchmarks from https://github.com/scpeters/benchmark as well


Patch for IE11

This fix should make it work in IE11 as well

Thanks for care and improvements, @martinborst.


how to use mixup in detection model with keras?

how to change the source code to fix detection, about two image size and box label add.
can it support keras Sequence, make the data generator to multi-processes version?

I think it is easier to write dedicated codes from scratch for these purposes.
The data generator highly depends on object detection frameworks.


Adds PostgreSQL scheme. Adds simple CRUD operations

I have added a proposed db schema as an sql dump file at backend/app/app/db/init.sql.
Correspondent docker-compose db service was also updated.
Simple CRUD operations (creating students/trainers, creating/deleting sport groups, inserting quiz answers, etc.) were also added.

Can you rewrite CRUD for groups using pedantic model?


awscli reads in the environment's PYTHONPATH (it should ignore it to avoid issues when you have PYTHONPATH set inside a nix-shell)

Issue description
If you are in a nix-shell using Python 3 with PYTHONPATH set. And you also bring in awscli package and try to run aws, most likely it will fail.
Currently I see an error like:
Traceback (most recent call last):
  File "/nix/store/hv342l77q68hknq2g4ngqki9v0cjmz95-awscli-1.14.50/bin/.aws-wrapped", line 20, in <module>
    import awscli.clidriver
  File "/nix/store/hv342l77q68hknq2g4ngqki9v0cjmz95-awscli-1.14.50/lib/python2.7/site-packages/awscli/clidriver.py", line 36, in <module>
    from awscli.help import ProviderHelpCommand
  File "/nix/store/hv342l77q68hknq2g4ngqki9v0cjmz95-awscli-1.14.50/lib/python2.7/site-packages/awscli/help.py", line 20, in <module>
    from docutils.core import publish_string
  File "/nix/store/fvfhzwvyy8qbcn4d7x2091zh8b4c9yxn-python3.6-docutils-0.14/lib/python3.6/site-packages/docutils/core.py", line 246
    print('\n::: Runtime settings:', file=self._stderr)
                                         ^
SyntaxError: invalid syntax

The solution is to run aws without a PYTHONPATH environment variable: PYTHONPATH='' aws. Since awscli currently is installed as a CLI program, and not as a library, then it should make sense to create a make wrapper around the aws script which sets the PYTHONPATH environment variable that ignores external PYTHONPATH variables.
Steps to reproduce
Get into a nix-shell with Python 3, and then use awscli aws.

I believe fixing this, should also fix: https://github.com/NixOS/nixpkgs/issues/42903

I have a workaround temporarily:
        (buildEnv {
          name = "wrapped-awscli-${awscli.version}";
          paths = [ awscli ];
          pathsToLink = [ "/bin" ];
          buildInputs = [ makeWrapper ];
          postBuild = ''
            wrapProgram $out/bin/aws --unset PYTHONPATH
          '';
        })

And installing that instead.

+1 to wrapping awscli

I'm using that workaround in an overlay, but would it be feasible to merge that into the official derivation?

Yes this should be merged into the official derivation. Wrap the awscli executable to avoid inheriting the PYTHONPATH from the environment. This makes the most sense.
Unless one is actually developing on awscli...

Encountered this as well. I use this in my buildInputs (effectively same as the above wrapper thing):
(awscli2.overrideAttrs (old: {
  makeWrapperArgs = (old.makeWrapperArgs or []) ++ ["--unset" "PYTHONPATH"];
}))

This issue affects in the other direction. In other words, introducing awscli2 into the development shell using nix-shell or nix develop pollutes the shell's PYTHONPATH, which causes other Python scripts to fail. This includes nixos-test-driver (link).
For example,
# clean PYTHONPATH
$ echo $PYTHONPATH

# runs successfully
$ ./result/bin/nixos-test-driver

# awscli2 introduces conflicting package (prompt-toolkit-2.0.10) to PYTHONPATH,
$ nix-shell -p awscli2
$ echo $PYTHONPATH
/nix/store/2hpzy5p770xivzp02igjaqyh009dvwfn-awscli2-2.3.4/lib/python3.9/site-packages:/nix/store/nb5v9mhafkgkzn9mvjfrq2bg3c1h976c-python3.9-awscrt-0.12.4/lib/python3.9/site-packages:/nix/store/5bh6rpya1ar6l49vrhx1rg58dsa42906-python3-3.9.6/lib/python3.9/site-packages:/nix/s
tore/lgxyj89524zyplrma87309qspw219q4h-python3.9-bcdoc-0.16.0/lib/python3.9/site-packages:/nix/store/dsbl7kb2ayq9svnk3ll3bpll2p0kcvbi-python3.9-botocore-2.0.0dev155/lib/python3.9/site-packages:/nix/store/4szmsas2djzc6iqsqxffrxxcrbbgs6n3-python3.9-python-dateutil-2.8.2/lib/py
thon3.9/site-packages:/nix/store/j3s61z5mdrhizcwcb41g38i3yga4kq5p-python3.9-six-1.16.0/lib/python3.9/site-packages:/nix/store/ss20fkw3isgf1dm7s7vagh659g902ad0-python3.9-jmespath-0.10.0/lib/python3.9/site-packages:/nix/store/9pf3f0hai749x097mpjd53fahdadydjj-python3.9-ply-3.1
1/lib/python3.9/site-packages:/nix/store/ymm2cb622sls6i5i46k8cybd8dm6av9j-python3.9-docutils-0.17.1/lib/python3.9/site-packages:/nix/store/g01hz7ap9jysga10mm56w0z15p12whh4-python3.9-ordereddict-1.1/lib/python3.9/site-packages:/nix/store/njjd21pi4akpvxkkvd7z4svyg76vxs3f-pyth
on3.9-simplejson-3.17.5/lib/python3.9/site-packages:/nix/store/jl18pq80zm0i4hxfx6igrl6abw4ybv26-python3.9-urllib3-1.26.7/lib/python3.9/site-packages:/nix/store/shng6prqxs67q3wn2bmv4lisnji0k5xr-python3.9-brotli-1.0.9/lib/python3.9/site-packages:/nix/store/hx41qhkpybrzyr972jk
7b84nhrpxfcw5-python3.9-pysocks-1.7.1/lib/python3.9/site-packages:/nix/store/f6lq4va011bnkxy2vxj2ggr22bdaq23g-python3.9-colorama-0.4.4/lib/python3.9/site-packages:/nix/store/iqyx4fqax9qhiyxkqq0qra5y0pwagzq3-python3.9-packaging-20.9/lib/python3.9/site-packages:/nix/store/yky
lz2jhp37dak53a5ds77f7vxqp7xmd-python3.9-pyparsing-2.4.7/lib/python3.9/site-packages:/nix/store/nrf62pcs9fgjkhx1kxqiavgrdqsm8qsn-python3.9-pycparser-2.20/lib/python3.9/site-packages:/nix/store/c8lq7y7fiknvsp5xiqmyizjyk9y5xgkd-python3.9-cffi-1.14.6/lib/python3.9/site-packages
:/nix/store/yd07gq5480rcg6pz67a2sn3q05i0w9g9-python3.9-cryptography-3.4.8/lib/python3.9/site-packages:/nix/store/8n39rvcmi754zadvh9b24s1kaq0my1l0-python3.9-distro-1.6.0/lib/python3.9/site-packages:/nix/store/l9gr0jv778714mpck9zwg5nw6y0pf1bz-python3.9-prompt-toolkit-2.0.10/l
ib/python3.9/site-packages:/nix/store/6n8f61w67x2hs8vizspmfals44cj6zgv-python3.9-wcwidth-0.2.5/lib/python3.9/site-packages:/nix/store/v0sq1qcn6sywrxn7cw7nbpy426g7kzgi-python3.9-setuptools-57.2.0/lib/python3.9/site-packages:/nix/store/yjkf7d9phc2ibyyq4blbmvjbafk3bqb4-python3
.9-PyYAML-<IP_ADDRESS>/lib/python3.9/site-packages:/nix/store/nvxp7d6ikbga2abrd0ndqwqci6q0f8bs-python3.9-rsa-4.7.2/lib/python3.9/site-packages:/nix/store/jdhbjdfyi0xryj2fv2kb3cksd98an5ik-python3.9-pyasn1-0.4.8/lib/python3.9/site-packages:/nix/store/lhiy16vy3f75l267zykg6gyc56xnfb
d6-python3.9-ruamel-yaml-0.17.16/lib/python3.9/site-packages:/nix/store/axnrwjrdfc8wmy8555sarm47ai0mvfaw-python3.9-ruamel-base-1.0.0/lib/python3.9/site-packages:/nix/store/wl9ymwfs58849qa1xrzrakjhf1x52v43-python3.9-ruamel-yaml-clib-0.2.4/lib/python3.9/site-packages:/nix/sto
re/5wz8g5jb1hkjik9zywbn5mpdix59k3ns-python3.9-s3transfer-0.4.2/lib/python3.9/site-packages

# which breaks nixos-test-driver
$ ./result/bin/nixos-test-driver
Traceback (most recent call last):
  File "/nix/store/wf1lz21604ivlv19zvgh0jdjidl93vqw-nixos-test-driver/bin/.nixos-test-driver-wrapped", line 15, in <module>
    import ptpython.repl
  File "/nix/store/ysrxss08nx2ch5lsh4y8lw89fabxwjm4-python3-3.9.6-env/lib/python3.9/site-packages/ptpython/__init__.py", line 1, in <module>
    from .repl import embed
  File "/nix/store/ysrxss08nx2ch5lsh4y8lw89fabxwjm4-python3-3.9.6-env/lib/python3.9/site-packages/ptpython/repl.py", line 21, in <module>
    from prompt_toolkit.formatted_text import (
ImportError: cannot import name 'AnyFormattedText' from 'prompt_toolkit.formatted_text' (/nix/store/l9gr0jv778714mpck9zwg5nw6y0pf1bz-python3.9-prompt-toolkit-2.0.10/lib/python3.9/site-packages/prompt_toolkit/formatted_text/__init__.py)

The workaround is unsetting PYTHONPATH, as shown in https://github.com/kreisys/nur-packages/commit/3df38aaae420fd9c7b0fe895d918511c2e67a8f2.


What to do if session couldn't be acquired for incoming message

The tenant module has a limit on max concurrent open sessions, and a timeout to acquire a session. If the max has been reached and a sessions doesn't get released within the timeout (either because there's a queue or the sessions take long) an error will be thrown and the session creation will be aborted.
This is 'fine' when you want to get a tenant agent, as it will throw an error and your session will be aborted. But when receiving a message via inbound transport and we fail to acquire a session, the message will be lost.
The question is, what should we do in this case? Should we add priority to inbound messages? Should we create a queue and try again later? Should we store them and process them later? The end goal here should be to minimize the change of message loss.
Thoughts?

Ideas:

retry multiple times
dedicated set of sessions for inbound message processing
higher priority for incoming messages
make 1 second provide a warning and then 3-5 seconds is the error—that way it doesn’t blow up as readily for individuals without giving them advanced warning

Suggesting option retry multiple times is a good initial step, because:

Cheap and straight forward to implement
a. Fail to acquire throws an error -> catch it and retry (only needs a counter and try/catch
Can also include a 'send problem report' back after all retries fail.
keeps logic simple and within what a framework should do as opposed to adding a queue or db or other infrastructure
Since magnitude and frequency of occurrence are somewhat unknown/unmeasured this would possibly addresses the issue sufficiently for time being so we atm don't over-engineer a solution to a non-problem.

If maintainers are happy with this suggestion I'm willing to work on this(so so you can assign me)

Makes sense @morrieinmaas! Some notes

a. Fail to acquire throws an error -> catch it and retry (only needs a counter and try/catch

We should probably add a custom error that extends the aries framework error so we can catch the specific error type. I think it now just throws an aries framework error.

Can also include a 'send problem report' back after all retries fail.

That'll be tricky as we need a session to decrypt/encrypt the message. So we would need to send an unencrypted message, or we would need to look at a way to encrypt the message in anoncrypt (so anonymous encryption), but I still think we need a session for that.

But otherwise I'm happy with this suggestion and feel free to work on it. We should however look where to add this logic. If we only want to do retries for inbound message we should do it in the MessageReceiver.receiveMessage method, but that doesn't feel like the right place to me. This is more of a tenant module thing, so it would fit better in the TenantAgentContextProvider or the TenantSessionCoordinator, but those methods are also used for the getTenantAgent calls, which defeats the purpose of this change. We could just increase the timeout and we have the same effect (5x 1 second or 1 x 5 seconds doesn't really matter).
So then the question arises, what is the benefit of re-trying if we can just increase the timeout? I think retry logic is often in place when integrating with systems you can't control, but in this case we do control the system. Having a longer timeout for inbound messages over getting tenant agents would achieve the same in this case.
Thoughts?

@TimoGlastra hmm, interesting thoughts. I'll have to have a more detialed look at this before I can give a (more) qualified feedback.


Add last changed by to repo page

The same information should be available on both the repo and stage page.
Column placement: after path column.

@FreHu something like this?

Its only for a remote repo.
I'm using zcl_abapgit_objects=>changed_by method, ty_repo_item is extended with a new field for holding the username.
You can check in https://github.com/wozjac/abapGit/commit/fda2aaec4362f7cf395e25d3c657110e08083913

i tried it, looks good. feel free to submit a PR


Clean stages in aggregate builder when execute the query

Feature Request

Q
A

New Feature
yes

RFC
yes/no

BC Break
yes/no

Summary
I would like to reuse the aggregate builder in the same instance, but when execute a query, not clean the stages, then there are acumulated in the next queries.
Can be possible to clean there when execute or make a function to remove a stage or all stages?
Thanks

For now I would suggest creating a new aggregation builder. When I wrote it I didn't think of using it like the query builder where it would create a query object for you. In hindsight I probably should have, but I haven't 🤷♂
I'll keep this open and consider it for 2.0 since it's a BC break, I'm just not sure yet what route to take here.

After giving this some thought, I've decided that we'll leave the API like this for 2.0. While the aggregation builder doesn't return a query object like the query builder does, the behavior is the same for both: fetching a query from the query builder does not reset the builder instance, this has to be done manually.
Since it's relatively easy to fetch a new builder object (be it aggregation builder or query builder), I don't see a lot of sense to reset the builder instance when the aggregation pipeline is executed.


Fix numpy issue with windows

This PR fix an issue found in the windows CI reached during the installation process.

@pariterre, this is ready to be merged.


zebra_zcash_listener_conflict test occasionally fails

Motivation
The zebra_zcash_listener_conflict zebrad acceptance test occasionally fails with:

conflicted node2 was still running, but the test expected a panic

One of the launched processes does panic:

Message:  Opening Zcash network protocol listener <IP_ADDRESS>:58261 failed: Os { code: 98, kind: AddrInUse, message: "Address already in use" }. Hint: Check if another zebrad or zcashd process is running. Try changing the network listen_addr in the Zebra config.

The launch timing is right for node2, but the panic check isn't seeing the panic (it runs just before these lines):
    return node2
        .kill_on_error::<(), _>(Err(eyre!(

This has happened about once a day for the past week:
https://github.com/ZcashFoundation/zebra/runs/5114636264?check_suite_focus=true#step:13:1744
Diagnostic Suggestions
Turn on full backtraces in the acceptance tests using COLORBT_SHOW_HIDDEN=1.
Fix Suggestions
Use expect_stdout_line_matches right after node1 is launched, rather than using wait_with_output.
(node1 could be blocking on output, and never getting to run the conflicting port or file code.)
If this doesn't fix the bug, it will help with diagnostics.
Related Work

Hey team! Please add your planning poker estimate with ZenHub @dconnolly @gustavovalverde @conradoplg @jvff @oxarbitrage @teor2345 @upbqdn


[Event Request] - "OnAfterCalcAmount" in Page 9233 "G/L Balance by Dim. Matrix"

Plase consider adding the "OnAfterCalcAmount" event inside Page 9233 "G/L Balance by Dim. Matrix":
    [IntegrationEvent(false, false)]
    local procedure OnAfterCalcAmount(var AnalysisByDimParameters: Record "Analysis by Dim. Parameters"; var GLAcc: record "G/L Account"; var Result: Decimal);
    begin
    end;

and call it inside the "CalcAmount" procedure:
...
...
            AnalysisByDimParameters."Show Actual/Budgets"::"Index%":
                begin
                    Amount := CalcBudgAmount();
                    if Amount <> 0 then
                        Amount := Round(100 * CalcActualAmount() / Amount);
                end;
        end;

        **OnAfterCalcAmount(AnalysisByDimParameters, GLAcc, Amount);**

        TempDimensionCodeAmountBuffer."Line Code" := Code;
        TempDimensionCodeAmountBuffer."Column Code" := ColumnCode;
        TempDimensionCodeAmountBuffer.Amount := Amount;
        TempDimensionCodeAmountBuffer.Insert();
        exit(Amount);
    end;

Thank you

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


support Iterable objects, such as Map, Set, String

I added support for iterable objects using [Symbol.iterator],
also tests are written

It is better to use common.iter to iterate over the iterable.

It is better to use common.iter to iterate over the iterable.

Sorry, use metasync.asyncIter instead of common.iter

@o-rumiantsev I have one misunderstanding with you. It is said that
Asynchronous map (iterate parallel) and there isn't used any async/await or promises, only call back next(). If I insert common.iter I will get the same that I had. If I insert metasync.iter it will be some different, and I also get strange error messages Message: Failure after end: callback is not a function. Or I just can't understand something.

Now I have one inaccuracy.  I will get wrong behavior. Because string this.execute() is async, and I return this which isn't calculated yet. It could be solved with Promise or async/await but you might solute something else.
test/chain.js 'for chain after fetch' I am talking about this one.
ArrayChain.prototype.fetch = function(fn) {
  this.chain.push({ op: 'fetch', fn });
  this.execute();
  return this;
};

@SemenchenkoVitaliy @belochub I noticed one interesting detail, I can be wrong so correct me if I am.
If I rewrite metatest 'for chain after fetch'  to process.nextTick like this
metatests.test('for chain after fetch', test => {
  metasync
    .for([1, 2, 3, 4])
    .map((item, cb) => process.nextTick(() => cb(null, item * item)))
    .filter((item, cb) => process.nextTick(() => cb(null, item > 5)))
    .fetch((error, result, resume) => {
      test.error(error);
      test.strictSame(result, [9, 16]);
      process.nextTick(() => resume(null, result));
    })
    .filter((item, cb) => {
      process.nextTick(() => cb(null, item > 10));
    })
    .map((item, cb) => {
      process.nextTick(() => cb(null, --item));
    })
    .fetch((error, result) => {
      test.error(error);
      test.strictSame(result, [15]);
      test.end();
    });
});

I will get async functions, but it doesn't work as should, I will get errors. (it is master)
And If I rewrite all methods to asyncIter as I made, I will get the same errors with any fn.
How should it be solute?

In last commit I have described my problem with lib/chain.js I am trying to find the solution for this. And you can check and say what you think about lib/array.js.

Closed due to https://github.com/metarhia/metasync/issues/420.

ping @belochub.


Voltron's EntityConfigurationException is too noisy

When I throw an exception on the server-side to indicate that a configuration is bad, I have to catch that exception and transform it into a ConfigurationException to meet the Voltron API. That then causes an EntityConfigurationException to be thrown on the client-side. I would expect that the EntityConfigurationException has a message that closely corresponds to the message of the exception on the server-side or that at least the cause of the EntityConfigurationException does. However, there are several layers of extra exceptions that are added.
For example, catching an exception that my code produces (a StorageFactoryException), I create a ConfigurationException with the same message and the StorageFactoryException as a cause. The message is:
"Unknown offheap resource: unknown-offheap-resource-name"
On the client-side, I receive an EntityConfigurationException with a message of:
"Entity: com.terracottatech.store.client.VoltronDatasetEntity:Dataset-address lifecycle exception: Entity: com.terracottatech.store.client.VoltronDatasetEntity:Dataset-address lifecycle exception: Entity: com.terracottatech.store.client.VoltronDatasetEntity:Dataset-address lifecycle exception: org.terracotta.entity.ConfigurationException: Unknown offheap resource: unknown-offheap-resource-name".
And the stack of causes in the EntityConfigurationException was as follows:
EntityConfigurationException
  -> EntityConfigurationException
    -> EntityConfigurationException
      -> ServerSideExceptionWrapper (representing the ConfigurationException)
        -> ServerSideExceptionWrapper (representing the StorageFactoryException exception)

So, to get my original message, I have to call e.getCause().getCause().getCause().getMessage(). This is too nested. Additionally, the message that I get has an extra prefix of "org.terracotta.entity.ConfigurationException: " which I do not want.
I should be able to get the original message of my exception by calling something well defined such as getMessage() or getCause().getMessage(). Note that I had ensured that the ConfigurationException that I threw had the message as I wanted it.

This should probably be in terracotta-core, since it is more of implementation issue (the API doesn't explicitly define how to reach through these exceptions).
In general, we need to decide how this unwrapping should work.  One possibility would be to not wrap the lower-level exception, at every point, but wrap the cause (so there is only ever one level of wrapping).  The potential problem is that this would drop all the internal stack frames.  That might be desired, though.


fix(api): post requests should be urlencoded instead of JSON

/domain @chukkwagon @aburgel @samandmoore
/platform @samandmoore @aburgel @joejansen
While testing the latest patch of this client against the Chrome extension, I discovered an issue with our POST requests to the TestTrack server. The POST requests needed to be of type application/x-www-form-urlencoded instead of application/json and the X-Requested-With header needed to be removed to allow for a successful CORS check.
This patch pulls in qs for the query string encoding and has been tested against a local version of retail and the current Chrome extension. I also fixed a small race condition around loading the Visitor.

<<domainlgtm

huh, surprised the encoding makes a difference. i would have assumed that rails decodes json if the content type is set.

<< platformlgtm
left a couple of comments/suggestions. i'll leave it to you to decide if they make sense. thanks for finding and fixing this!

I was also surprised to find that this didn't work properly with our Rails
backend. Is the difference between this branch and the 1.x series missing
the content type header on the requests?
On Fri, Nov 8, 2019, 22:26 nanda-prbot<EMAIL_ADDRESS>wrote:

Approved! 🌟 👌 👏
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/Betterment/test_track_js_client/pull/24?email_source=notifications&email_token=AADDQIWXVAGZAAW7TFOZQBLQSYUXDA5CNFSM4JLAGB5KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEDT4ULY#issuecomment-552061487,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AADDQITCVVJQARM7MRQ2HVTQSYUXDANCNFSM4JLAGB5A
.

I was also surprised to find that this didn't work properly with our Rails
backend

The 1.x clients using $.ajax used the default encoding of urlencoded data, so I did my best to match those requests to get this working with the Chome extension.

Bump
@aburgel I made the changes you suggested. :+1:


xcode'error unknow class method in the running App

Hi, I add react-native-pathjs-charts and link this in the my project.
when running, Xcode'error: "unknow class method for selector UIFont:nil withFamily:fontDict[@"fontFamily"] size:fontDict[@"fontSize"] weight:fontDict[@"fontWeight"] style:fontDict[@"fontStyle"] scaleMultiplier:1.0]; " in the "RNSVG/Utils/RCTConvert+RNSVG.m".
I think the react-native-svn'version is too old, so I npm install react-native-svn@latest and again link, I find the code is different about upper description, and I success run app, but I don't see chats, I still failed.
I don't know the reason, who can tell me why is it that?

When you say  react-native-svn'version is too old, I'm guessing you mean react-native-svg. #16 indicated the same issue and I just pushed an updated release to the public npm registry. Try again with a clean npm install which should pull more recent versions of the dependencies and will likely fix your issue. We can reopen if a problem still exists after updating.


Turns out I broke fuzz testing

Also turns out we forgot to turn fuzz testing back on in CI...


Rendering Excel files In Browser Through Office Online via WOPI Protocol

I am trying to understand the overall integration flow to integrate a enterprise web application with Office Online to render Excel files in browser. I understood the overflow by going through the documentation but I have a few questions

Is the excel file rendering responsive on mobile (both android & iOS)? I understand the file rendering is responsive when viewed in the excel mobile app but the question is mainly about rendering it inside our app which is a hybrid (cordova based - web view) app.
Can we install Office Online server on-premise when using it for rendering excel files in production mode?
Do we need to implement authentication given that the application from which the user clicks on the file has authentication mechanism already in place? In this context a related question is do we need to generate access tokens?
If we go with the Office online server deployment in the microsoft cloud, would it be a dedicated server deployed for our needs? Would it be scalable based on the server load?

Thanks.
P.S - I couldn't find a better channel to get my questions clarified hence posting as an issue.

Please raise these questions in the CSPP Yammer group.


Exception handling for index out of bounds exception

Purpose

To handle Index out of bound exception [Index 0 out of bounds for length 0]

Fixes #26128
Approach

Exception handling

Samples

throw exceptions have been declared.

Remarks

Check List

[x] Read the Contributing Guide

[x] Updated Change Log

[x] Checked Tooling Support (#)

[x] Added necessary tests
Test cases for Interop Exception.pdf
Test cases for Interop Exception.pdf

[ ] Unit Tests
[ ] Spec Conformance Tests
[ ] Integration Tests
[x] Ballerina By Example Tests

[x] Increased Test Coverage

[ ] Added necessary documentation

[ ] API documentation
[ ] Module documentation in Module.md files
[ ] Ballerina By Examples

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.Gabilan Ganeshwaran seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.

Shall we use Imperative mood for commit messages? https://chris.beams.io/posts/git-commit/#imperative
Probably like "Handle ArrayIndexOutOfBoundsException for wrong param count"


feat: add by volume_tac to get a default measure in AEStronglyMeasurable

This is already the case for Integrable and AEMeasurable.

LGTM!
bors r+


API for explicit VIO shutdown.

It would be good to have an explicit "cancel IO" mechanism available in the core and to plugins. The failure scenario is

Set up a VIO.
Error happens and the VIO initiator shuts down and destroys its Continuation.
IO happens and target of the VIO calls the now destroyed Continuation.

The goal would be to add a step "2A" which is "cancel VIO". Currently this is usually done by starting another VIO but with null / zero values. That's ugly, unclear, and error prone. If that's how it's done internally, fine, but the external API should be clean and clear by having an explicit "stop this VIO".

Seems like a good addition.   Where I generally see this being a problem is the VC times out.  But there still is a read_vio from the previous transaction active against the the VC.  The core logic sends the INACTIVITY_TIMEOUT event to the now deleted transaction (or other continuation associated with the now deleted transaction).  We tracked down a lot of these cases in core.  Just ran into this scenario in a plugin.

If this is a proposal please tag it as a proposal and send an email to the dev@ mailing list with [PROPOSAL] in the subject.  Also, it should have a function declaration for the API.

My guess is that


update aws-sdk-java to 1.11.821

update aws-sdk-java to newest version to support IAM roles for kubernetes service accounts.
https://github.com/aws/aws-sdk-java/blob/master/aws-java-sdk-core/src/main/java/com/amazonaws/auth/DefaultAWSCredentialsProviderChain.java#L49

@cgroschupp Why did you close this?
This PR is useful.

Because jenkins use the aws sdk version installed by plugin manager.

Because jenkins use the aws sdk version installed by plugin manager.

I can confirm after trying to use this plugin that authentication to SSM fails because the plugin is using a node role as opposed to IRSA.  This to me means that the plugin is using the older version of the aws java sdk which doesn't support IRSA.


Unsetting configuration values in deeper configuration files should be possible

Problem
The Cargo configuration documentation states:

If a key is specified in multiple config files, the values will get merged together. Numbers, strings, and booleans will use the value in the deeper config directory taking precedence over ancestor directories, where the home directory is the lowest priority. Arrays will be joined together.

This seems to lead to it being impossible to use deeper configuration directories to un-set values for keys that have been set in ancestors, which seems counter to the documented idea that deeper levels should take presedence.
For example, if ~/.cargo/config.toml has
[source.crates-io]
replace-with = "foo"

then ~/some-project/.cargo/config.toml cannot disable source replacement for the crates-io source. It could very well change the replace-with key's value string to something else than "foo", but that doesn't actually disable source replacement. For that, the key would have to be unset.
Proposed Solution
If it is indeed desired that deeper configuration files should take presedence (something that seems reasonable), then it should also be possible to unset/undefine keys defined by ancestors. Otherwise this presedence is only partial.
Notes
No response

I believe this is a duplicate of #8687 and #8112, so closing in favor of those.


Release v1.47.0 as latest-rc

Building latest-rc [skip-validate-pr]

looks ok.  Will get another round tomorrow.


Fix issue #1276 - ustream.tv KeyError: 'url'

in array channel["stream"] there are elements like:
{ 'varnishUrl': u'http://uhs-akamai.ustream.tv/ams/ams-uhs02/streams/httpflv/ustreamVideo/19983544/',
'name': u'uhs_akamai' }
who do not have the key, "url". This patch skips such elements.

it should be possible to rewite the ustream module to use their http api instead of the rtmp, if you block port 1935 you can see all the chunk infos can be got over the http.


Update Example: react/virtualized-rows

I did this update out of frustration trying to find examples of doing this with the V3 version of react-virtual and also figuring out how to virtualize the table using the Window scrollbar (useWindowVirtualizer).
The example has been updated to switch between two versions of the virtualized table, one a fixed height container as in the original example, and the other using the Window Scrollbar so users can scroll down the page:

Updated to use latest version of @tanstack/react-virtual: 3.0.0-beta.33
Migrated existing example to fixedHeightTable.tsx
Added windowHeightTable.tsx with example of how to render page length virtualized table using useWindowVirtualizer
A few other fixes that were causing TypeScript errors in my IDE

Fixed all comments and updated filenames to PascalCase.

It would be cool to still get fixed height and window examples into the docs. Closing for now because of merge conflicts. Can work with you if you are interested, albeit, a year later.
I started a whole virtualization guide in the table docs that can definitely use these concepts


typescript generated type of pgvector/vector is string

Enable Vector Extension in public schema, then create a table:
create table dejoma_test (
  id serial primary key,
  title text not null,
  body text not null,
  embedding vector(1536)
);

Then execute:
supabase gen types typescript --schema "public" --linked > example.ts
To find that:
dejoma_test: {
        Row: {
          body: string
          embedding: string | null
          id: number
          title: string
        }
        Insert: {
          body: string
          embedding?: string | null
          id?: number
          title: string
        }
        Update: {
          body?: string
          embedding?: string | null
          id?: number
          title?: string
        }
      }

which then in turn get's flagged by my typescript server:

Please help, I (expect) that I can fix this locally by changing those types to number[] after generating the fles.

@dejoma you can also try the workaround here - you can still use JSON number arrays to insert values into the column, but for fetching data you'll want to use a computed column so you don't have to cast all the time.

Closing this unless a better solution comes up for handling vector types

In case anyone is still interested, I came up with a workaround for this issue. You can find it in the TS playground

Do we have to create vector db like this; ?
create table dejoma_test (   id serial primary key,   title text not null,   body text not null,   embedding vector(1536) );
cant we assign the type from table UI ?


feat(Nav): new component Nav

Contributes to #4136.
Migrating Nav from Products v1 / Security / Components / Nav.
v1 references: GitHub, Storybook.
What did you change?
This is a new v2 component.

Nav, NavList, and NavItem were all changed from React class components to functional components
Restructured the component js files to all be top-level inside of in its own folders, to maintain consistency with other v2 components
Consolidated original 2 stories (Default and Long NavItem test case) into one

How did you test and verify your work?

[x]  Storybook review.
[x]  Unit tests migrated and added to.
[x]  Design review.

I have read the DCO document and I hereby sign the DCO.

Design review:

Tab navigation looks good
Colours styles look good
Text styles look good

Noted inconsistencies in focus and active states & spacing.

https://github.com/carbon-design-system/ibm-products/assets/157747366/8581c0d5-0812-47ba-a237-e4af1bf86d0e
Nav item 1-2 is triggering Nav list 2 expanded on page load to open when clicked

Another option could be a render prop, if you need to add props to one of the children. This is used across Carbon (see Dropdown) and is also one of the recommended alternatives to cloneElement and Children.map from the React docs.

The plan is to support the changes and enhancements suggested by David at a later date.

Happy to pop it into the merge queue! 😄


don't trim GELF message

Fix https://github.com/docker/docker/issues/18568#issuecomment-163790273

Please sign your commits following these rules:
https://github.com/docker/docker/blob/master/CONTRIBUTING.md#sign-your-work
The easiest way to do this is to amend the last commit:
$ git clone -b "gelf-no-trim-18568" git@github.com:mariussturm/docker.git somewhere
$ cd somewhere
$ git commit --amend -s --no-edit
$ git push -f

Ammending updates the existing PR. You DO NOT need to open a new one.

LGTM


Relaunching with sudo when not running as root

Elevating the privileges from inside the application is very complicated, so we are replacing the current process with a sudo version of the same command using execvp internally.
This works especially well on Raspbian, where the default pi user has passwordless sudo. When sudo is not passwordless, the user is asked for password with the regular sudo prompt.
Change-Type: patch
Connects-To: #122
---- Autogenerated Waffleboard Connection: Connects to #122

We discussed this outside of GH, so I will repost.
First is to clarify why we need to run WiFi Connect as root. NetworkManager has different policies across systems - in a desktop environment it will allow creating the hotspot with a regular user, but on Raspbian for example it does not. We have similar restrictions about opening port 80 and running dnsmasq. Since it will be quite a lot of work to elevate privileges from inside the app, e.g. using policykit, then we are left with the option of requiring the app to be run as root only.
I explored what I could find on GitHub as solutions and I think the sudo one is closest to what my original idea was. The other option would be to just tell the user that he need to run the application as root and exit. But since he will do sudo wifi-connect anyway, we can just do it for him directly. Works quite nicely on Raspbian, since the default pi user there is in the sudoers list and has passwordless sudo enabled.
Although not very common there are tools that use this approach. My assumption is that people are not aware that this can be done quite seamlessly, so they just print an error and exit. I guess the closest to this is how sudo can be invoked in a shell script - the shell script will show the sudo prompt and continue further. This one is different as it does not invoke only commands, but uses services that need privileges.
Possible drawbacks need to be investigated before merging though. Otherwise we will just error out with a root requirement message and exit.

@majorz I think I agree with @abrodersen on this one, I would be more comfortable just printing an error and telling the user to start wifi-connect with sudo. In this way they feel they have more control, even if it is the same level of control :)

Thanks guys, we are printing an error now.


Construct the API URL based on specified input parameters

[x] Add the data year to the query: https://api.census.gov/data/{&year}

[x] Add the dataset name acronym: https://api.census.gov/data/2019/"acs/acs1"

[x] Add ?get= to the query: https://api.census.gov/data/2019/acs/acs1?get=

[x] Add group and your desired table ID in parenthesis: https://api.census.gov/data/2019/acs/acs1?get=group(B02015)

[x] Add geographies: https://api.census.gov/data/2019/acs/acs1?get=group(B02015)&for=state:* // * for all states, NC=37, REQUIRED=05 (Arkansas)

[x] Specify numeric variables to be returned.
 # - Defaults: [PWGTP=ALWAYS,AGEP=OPTIONAL,USER_PROVIDED={user specified list}]
 # - list includes: AGEP, GASP, GRPIP, JWAP (time), JWDP (time), and JWMNP

[x] Specify Categorical Variables to be returned
#   -   Defaults: [SEX=ALWAYS,FER,HHL,HISPEED,JWAP,JWDP,JWTRNS,SCH,SCHL]

[x] Create a helper function to convert the data returned by GET() into a nicely formatted tibble.

completed.


race condition when PRs are closed (almost) simultaneously

Over at leanprover-community/mathlib we use the bors bot (bors-ng) to merge PRs for us. (CI takes > 1 hour, and we have 10 - 20 PRs per day, so we need some sort of way to run CI on multiple PRs at once.)
If several PRs are marked as ready-to-merge, and the simultaneously pass the CI test, then bors will merge all of them into master and close the PRs.
However, if PR X depends on Y and Z, and both Y and Z are in the same batch that bors is closing, this seems to cause a race condition for sync-task-issues.
See the edit history of the top post of the following PR for an example:
https://github.com/leanprover-community/mathlib/pull/4268

ah, yeah I see what you're saying.  I'm not sure up front of the best way to solve this due to separate runs of the action not knowing about each other.  If you have any suggestions I'm happy to hear them, otherwise I'm going to have to think about this.
Maybe adding a random-ish small sleep in the action would work around this?
- run: sleep $((1 + RANDOM % 5))

I guess such a sleep might solve 99% of the problems :+1:
I don't know enough of how github actions work, and what data is available when one of them runs, but suppose that we are in the scenario that I sketched above. X depends on Y and Z, and at some point Y and Z are both closed. Then we get some race, and suppose that Z wins by a tiny margin, and it checks off the dependency on Z, a little while later Y is running, and it wants to check off Y. Can that action also check the status of all other dependencies that are mentioned in that post? Because then Y would also see that Z has been closed, and check off Z again (which is not a problem).
Anyway, I think the small sleep is a pragmatic solution, so that would be great!


Create a setting for disabling bankruptcy.

Getting "bankrupted" is very helpful, but some users might want to be able to disable it if they find it unnecessary or unhelpful with their workflow. There could be an setting, maybe in the notifications section, called Disable bankruptcy that allowed users to turn it off.
(Maybe there is an option for this, but I was unable to find it. Let me know if there is!)

Thanks for the suggestion @skunkmb! I think the first step here is probably to fix the bankruptcy experience, and then see how people feel about it. #4120 would be a great issue to work on (assuming it's doable, I haven't read the issue thread in a while).

@rishig OK, I'll start working on #4120. Thanks!


[Request} Use different torrent engine

I have transmission running over split tunnel, with a kill switch.  Id like to request that we have the option to use a different torrent server instead of the built in one. Sickrage and Couchpotato have this option already. I don't know if its possible to use have elementum send the torrent to transmission then play it back. Having it playback this way is a much safer way due to the kill switch if the vpn disconnects.
The other option would be to have elementum use a different user. My setup has two users. USER1 runs kodi with its addons, USER2 runs openvpn along with transmission and allow split tunnel for safer torrents. Is there anyway to make the elementum addon to use USER2 instead of USER1? This is what I used to set it up
https://www.htpcguides.com/force-torrent-traffic-vpn-split-tunnel-debian-8-ubuntu-16-04/
Cheers

Ok a workaround would be to allow the torrent to be picked on the client and run on the server instead. At the moment its no possible to pick on the client only the server. Any plans to implement such a feature?

There are enough plugins that use external torrent engines. You can use any.


Update content

:x: Validation status: errors

File
Status
Preview URL
Details

:x:Error

Details

[Error] filemap T:/20180315-205707-f4eb974e/ztqctwws.r4e doesn't exist.
Line 46: [Error] Call W:\bt3s-s.optemp\packages\opbuild.filemappreprocessor.1.46.2\tools\Microsoft.OpenPublishing.Build.Applications.FileMapPreProcessor.exe to preprocess T:/20180315-205707-f4eb974e/vr3j1oof.4mi,T:/20180315-205707-f4eb974e/bnd2cyfe.di0,T:/20180315-205707-f4eb974e/lezcxlbl.oxh,T:/20180315-205707-f4eb974e/ztqctwws.r4e,T:/20180315-205707-f4eb974e/gy5mkuyb.fwj,T:/20180315-205707-f4eb974e/tlqvc2kk.1i1,T:/20180315-205707-f4eb974e/3kh5w4wu.4v3 failed
Line 334: [Error] Failed to preprocess filemaps
[Warning] Failed to restore filemap with depot name: MSDN.office-docs-ref-javascript, locale: en-us, branch: live, details: The operation has timed out.

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Improve the contributing guide

Because:

We're getting more offers to help lately.  Hooray!
It often goes to the wrong branch, and we have to cherry-pick it.
I don't want to implement a burdensome CLA.  Hopefully this is enough legalese.
I don't want an attribution crisis, so remind people.
This is just better all around.  Thanks, Cats.

👍


How can simple_form be directed to produce :button instead of  :submit

Is there a config setting that tells simple_form's generator to create forms with
= f.button :button

instead of
= f.button :submit

In a Rails 5 app using simple_form for scaffolding, submit button are rendered like this:
= f.button :submit

which then gets rendered as
<input type="submit" ...

I ran into a problem when using a certain UI framework (materialize) the submit buttons only work if you click right on the text, but if you click off to the side the button css special effects activate but the button is not actually clicked.

Thank you for the report.
See https://github.com/plataformatec/simple_form/pull/1482#issuecomment-293965259


Unable to request API Key

I want to get some match statistics. I go to https://deadlock-api.com/, click on the "Request API-Key" button and then the Discord page about the expired invitation opens. This is the only place where I was able to contact you.

The Invitation Link is set to never expire and still works (just tested).
Here is another invite link valid for 7 days: https://discord.gg/hSZyCFAZ

Alternativly send me a friend request on discord: "manuelhexe"

Unfortunately, this did not help(
Is there any other way I can get the key?


Use the Erlang logger

Hello! Thanks for making this library, I like the kv-pair logging.
Currently this library prints to stdout rather than using the logger, which has performance implications when under load, doesn't integrate with other packages in Erlang/Gleam/etc, and misses out on all the features the logger provides.
It would be great to use the logger instead! The log emitting functions can use the logger ones, and the formatting etc functions can use the logger formatter APIs.
Thanks,
Louis

Sounds like a good suggestion to me. I'll work on drafting up some translation modules for javascript and erlang to keep the interfaces compatible.

With v0.2.x the package will use the erlang logger when using the erlang backend.


Revert "Dev to master"

Reverts hpi-swt2/workshop-portal#210
Heroku crashed, maybe because of a5cc3ff. Dev worked before. Lets try reverting.

Coverage remained the same at 100.0% when pulling a800519502c818733fed86e9f55ba96381bbe191 on revert-210-dev into f2f2fe009ad79b98b5b94bd915c9174bc00a0f5d on master.


Adding CODE_OF_CONDUCT

Was this accidentally submitted here instead of SwiftNIO?
We have this PR going on:
https://github.com/apple/swift-driver/pull/198


Laravel Reverb not connecting, everytime I make changes

Reverb Version
"laravel/reverb": "v1.0.0@beta",
Laravel Version
11.8.0
PHP Version
8.3.7
Description
I just tried laravel reverb, and I noticed that everytime I make some changes in the code, I can't connect to the websocket.
I returned the code back to where I started, but I still can't connect to the websocket. Please do take note that this was working flawlessly when I started.
I checked on the laravel documentation, it said to use this command
php artisan reverb:restart
To reflect the changes. but this doesn't seem working out for me.
Steps To Reproduce
I added new public channel:
Broadcast::channel('ewpChanges', function () { return true; });
Then created an event:
class ewpChangesEvent implements ShouldBroadcast { use Dispatchable, InteractsWithSockets, SerializesModels;
/**

Create a new event instance.
*/
public function __construct(public array $data)
{
//
}

/**

Get the channels the event should broadcast on.

@return array<int, \Illuminate\Broadcasting\Channel>
*/
public function broadcastOn(): array
{
return [
new Channel('ewpChanges'),
];
}
}

Then suddenly I can't connect to the websocket

Hi there,
Thanks for reporting but it looks like this is a question which can be asked on a support channel. Please only use this issue tracker for reporting bugs with the library itself. If you have a question on how to use functionality provided by this repo you can try one of the following channels:

Laracasts Forums
Laravel.io Forums
StackOverflow
Discord or InertiaJS Discord for Inertia questions
Larachat
IRC

However, this issue will not be locked and everyone is still free to discuss solutions to your problem!
Thanks.

Upon debugging further, I found out that the issue only persists on my Brave Browser. Now I am using chrome just to test the realtime functionality of the application I am making.


Running examples/finetuning.py problem

I'm trying to use the finetuning example. I installed the provided installations with pip.
pip install --extra-index-url https://download.pytorch.org/whl/test/cu118 llama-recipes
And I saw it is necessary to install the Pytorch-nightly version.
pip3 install --pre torch torchvision torchaudio --index-url https://download.pytorch.org/whl/nightly/cu118
And I ran the finetuning example torchrun --nnodes 1 --nproc_per_node 2  examples/finetuning.py --enable_fsdp --model_name Llama-2-7b-hf --use_peft --peft_method lora --output_dir fine-tune-7b
`[2023-09-19 13:35:12,994] torch.distributed.elastic.multiprocessing.redirects: [WARNING] NOTE: Redirects are currently not supported in Windows or MacOs.
[2023-09-19 13:35:13,028] torch.distributed.run: [WARNING]
[2023-09-19 13:35:13,028] torch.distributed.run: [WARNING] *****************************************
[2023-09-19 13:35:13,028] torch.distributed.run: [WARNING] Setting OMP_NUM_THREADS environment variable for each process to be 1 in default, to avoid your system being overloaded, please further tune the variable for optimal performance in your application as needed.
[2023-09-19 13:35:13,028] torch.distributed.run: [WARNING] *****************************************
[W socket.cpp:686] [c10d] The client socket has failed to connect to [kubernetes.docker.internal]:29500 (system error: 10049 - 內容中所要求的位址不正確。).
FalseFalse
===================================BUG REPORT======================================================================BUG REPORT===================================
D:\conda_env\llama-recipe\lib\site-packages\bitsandbytes\cuda_setup\main.py:166: UserWarning: Welcome to bitsandbytes. For bug reports, please run
python -m bitsandbytes
warn(msg)
D:\conda_env\llama-recipe\lib\site-packages\bitsandbytes\cuda_setup\main.py:166: UserWarning: Welcome to bitsandbytes. For bug reports, please run
python -m bitsandbytes
warn(msg)
The following directories listed in your path were found to be non-existent: {WindowsPath('D')}The following directories listed in your path were found to be non-existent: {WindowsPath('D')}
D:\conda_env\llama-recipe\lib\site-packages\bitsandbytes\cuda_setup\main.py:166: UserWarning: D:\conda_env\llama-recipe did not contain ['libcudart.so', 'libcudart.so.11.0', 'libcudart.so.12.0'] as expected! Searching further paths...
warn(msg)
D:\conda_env\llama-recipe\lib\site-packages\bitsandbytes\cuda_setup\main.py:166: UserWarning: D:\conda_env\llama-recipe did not contain ['libcudart.so', 'libcudart.so.11.0', 'libcudart.so.12.0'] as expected! Searching further paths...
warn(msg)
CUDA_SETUP: WARNING! libcudart.so not found in any environmental path. Searching in backup paths...CUDA_SETUP: WARNING! libcudart.so not found in any environmental path. Searching in backup paths...
The following directories listed in your path were found to be non-existent: {WindowsPath('/usr/local/cuda/lib64')}The following directories listed in your path were found to be non-existent: {WindowsPath('/usr/local/cuda/lib64')}
DEBUG: Possible options found for libcudart.so: set()DEBUG: Possible options found for libcudart.so: set()
CUDA SETUP: PyTorch settings found: CUDA_VERSION=118, Highest Compute Capability: 8.6.CUDA SETUP: PyTorch settings found: CUDA_VERSION=118, Highest Compute Capability: 8.6.
CUDA SETUP: To manually override the PyTorch CUDA version please see:https://github.com/TimDettmers/bitsandbytes/blob/main/how_to_use_nonpytorch_cuda.md
CUDA SETUP: To manually override the PyTorch CUDA version please see:https://github.com/TimDettmers/bitsandbytes/blob/main/how_to_use_nonpytorch_cuda.mdCUDA SETUP: Loading binary D:\conda_env\llama-recipe\lib\site-packages\bitsandbytes\libbitsandbytes_cuda118.so...
CUDA SETUP: Loading binary D:\conda_env\llama-recipe\lib\site-packages\bitsandbytes\libbitsandbytes_cuda118.so...argument of type 'WindowsPath' is not iterable
argument of type 'WindowsPath' is not iterableCUDA SETUP: Problem: The main issue seems to be that the main CUDA runtime library was not detected.
CUDA SETUP: Solution 1: To solve the issue the libcudart.so location needs to be added to the LD_LIBRARY_PATH variableCUDA SETUP: Problem: The main issue seems to be that the main CUDA runtime library was not detected.
CUDA SETUP: Solution 1a): Find the cuda runtime library via: find / -name libcudart.so 2>/dev/nullCUDA SETUP: Solution 1: To solve the issue the libcudart.so location needs to be added to the LD_LIBRARY_PATH variable
CUDA SETUP: Solution 1b): Once the library is found add it to the LD_LIBRARY_PATH: export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:FOUND_PATH_FROM_1a
CUDA SETUP: Solution 1c): For a permanent solution add the export from 1b into your .bashrc file, located at ~/.bashrcCUDA SETUP: Solution 1a): Find the cuda runtime library via: find / -name libcudart.so 2>/dev/null
CUDA SETUP: Solution 2: If no library was found in step 1a) you need to install CUDA.CUDA SETUP: Solution 1b): Once the library is found add it to the LD_LIBRARY_PATH: export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:FOUND_PATH_FROM_1a
CUDA SETUP: Solution 2a): Download CUDA install script: wget https://github.com/TimDettmers/bitsandbytes/blob/main/cuda_install.shCUDA SETUP: Solution 1c): For a permanent solution add the export from 1b into your .bashrc file, located at ~/.bashrc
CUDA SETUP: Solution 2b): Install desired CUDA version to desired location. The syntax is bash cuda_install.sh CUDA_VERSION PATH_TO_INSTALL_INTO.CUDA SETUP: Solution 2: If no library was found in step 1a) you need to install CUDA.
CUDA SETUP: Solution 2b): For example, "bash cuda_install.sh 113 ~/local/" will download CUDA 11.3 and install into the folder ~/localCUDA SETUP: Solution 2a): Download CUDA install script: wget https://github.com/TimDettmers/bitsandbytes/blob/main/cuda_install.sh
CUDA SETUP: Solution 2b): Install desired CUDA version to desired location. The syntax is bash cuda_install.sh CUDA_VERSION PATH_TO_INSTALL_INTO.
Traceback (most recent call last):
CUDA SETUP: Solution 2b): For example, "bash cuda_install.sh 113 ~/local/" will download CUDA 11.3 and install into the folder ~/local  File "D:\conda_env\llama-recipe\lib\site-packages\transformers\utils\import_utils.py", line 1184, in _get_module`
I am in the Windows system, but it desired the Linux system package.
The problem I encountered previously, I couldn't resolve it at that time, and instead, I had to reconstruct a new environment to make it work properly. However, after installing the recipe, I encountered the same issue again.
Has anyone faced the same issue?

I found that if I ran the installation code, it would come out with the same problem. Even I do not install the nightly version.

The issue appears to be related to CUDA. If you are using conda to manage your environment, you can install the CUDA dependency with conda.
conda install -c nvidia cudatoolkit nvidia-nvcc

@Lucien20000118 The issue appears to be related to CUDA. If you are using conda to manage your environment, you can install the CUDA dependency with conda.
conda install -c nvidia cudatoolkit nvidia-nvcc

@polym Thanks for your reply. I tried this command, but conda has no this package to install.
And as I know that the pytoch installation will install the cudatoolkit too?

@Lucien20000118 Sorry for the wrong command I provided. Right one is conda install -c nvidia cudatoolkit cuda-nvcc. BTW, can you find  libcudart.so in your system path?

@Lucien20000118 Sorry for the wrong command I provided. Right one is conda install -c nvidia cudatoolkit cuda-nvcc. BTW, can you find libcudart.so in your system path?

@polym Thanks for your reply.
I think because I'm in the Windows system, I only have the cudart.dll. Is it right?

I changed to use Ubuntu to solve this problem. Thanks!


logs: log line count differs per container

Description of problem
Running and deleting a number of containers, and then examining what is generated in the runtime/proxy/shim logs, shows that we quite a different 'number of log entries' for each container, which was unexpected to me (as nominally all the containers are identical).
Expected result
I expected all the containers to have the same number of entries, and most likely fairly identical entries (apart from the obvious timestamp/pid/cid etc.), and in the same order.
(all except the one 'dead' container I'm actually trying to debug that is).
Actual result
Running this script:
#!/bin/bash

set -e

NUMBER=${NUMBER:-110}
ITERATIONS=${ITERATIONS:-100}

run() {
        for n in $(seq 1 ${NUMBER}); do
                echo "Run number $n"
                docker run -tid --runtime=kata-runtime nginx
        done

        echo "We have now:"
        docker ps

        echo "And kill them all off"
        docker rm -f $(docker ps -qa)

        echo "And now have:"
        docker ps
        docker ps -qa
}

grab_logs() {
        RUNTIME_LOGFILE=runtime.log
        PROXY_LOGFILE=proxy.log
        SHIM_LOGFILE=shim.log

        echo "Remove any old log backup"
        rm -f ${RUNTIME_LOGFILE}.bup || true
        rm -f ${PROXY_LOGFILE}.bup || true
        rm -f ${SHIM_LOGFILE}.bup || true

        echo "Backup iany old logs"
        mv ${RUNTIME_LOGFILE} ${RUNTIME_LOGFILE}.bup || true
        mv ${PROXY_LOGFILE} ${PROXY_LOGFILE}.bup || true
        mv ${SHIM_LOGFILE} ${SHIM_LOGFILE}.bup || true

        echo "And grab the logs"
        sudo journalctl -q -o cat -a -t kata-runtime --since "${STARTTIME}" --reverse > ${RUNTIME_LOGFILE}
        sudo journalctl -q -o cat -a -t kata-proxy --since "${STARTTIME}" --reverse > ${PROXY_LOGFILE}
        sudo journalctl -q -o cat -a -t kata-shim --since "${STARTTIME}" --reverse > ${SHIM_LOGFILE}
}

death() {
        echo "Died!!! - grab the logs"
        grab_logs
}

main() {
        trap death EXIT QUIT KILL
        for i in $(seq 1 ${ITERATIONS}); do
                echo "Iteration $i"
                STARTTIME=$(date +"%Y-%m-%d %H:%M:%S")
                run
                grab_logs
        done
}

echo "Starting"
main
echo "And finished successfully"

and then using this to do the count:
#!/bin/bash

containers="91d5709b8654be649337b4ddc2891020d9bf44964909f4dcde5f9441985291e3 \
        4043834e10ef31df878b91cbd8c85d53065a6a387b2bd10887578a1350af69ba \
        a1b5cf0a27b483f22c9a42443c815b006271c45889c48647292627a1a25e678d \
        abd386bb2ba587fdf39efc69d07c9cfb733e19f93743b588c536acc2981bbc6b \
        69a9a70217ddbd4a13ebad2efe382321c0b76916e56ad0c9dc33453ec3749749 \
...
        615d13d56abce91af937028dc0d909a245c73c02920620181ecc4c0d5eb41829 \
        eea1d7311afda83551f4bcd36b3f9c33a427df2647de4921160149642ca50833"

echo "What Runtime Proxy Shim"
for c in $containers; do
        rn=$(grep -i $c runtime.log | wc -l)
        pn=$(grep -i $c proxy.log | wc -l)
        sn=$(grep -i $c shim.log | wc -l)
        echo "Container $c : $rn $pn $sn"
done

I get output like:
What Runtime Proxy Shim
Container 91d5709b8654be649337b4ddc2891020d9bf44964909f4dcde5f9441985291e3 : 23 2 3
Container 4043834e10ef31df878b91cbd8c85d53065a6a387b2bd10887578a1350af69ba : 23 2 3
Container a1b5cf0a27b483f22c9a42443c815b006271c45889c48647292627a1a25e678d : 18 2 2
Container abd386bb2ba587fdf39efc69d07c9cfb733e19f93743b588c536acc2981bbc6b : 13 2 2
Container 69a9a70217ddbd4a13ebad2efe382321c0b76916e56ad0c9dc33453ec3749749 : 13 2 2
Container 14890f5288977c9900df9e6da2cdc38cb5e6d8ab71f82bef2478634152b42739 : 14 2 2
Container aae8fa1ba41196c564c2d71877ab4717ded64a8a634e9be30ba8153ad7327cb3 : 13 2 2
Container 117e182096a9bd5dcb203f96f759a031c2c1f4aff37c9080905643474e367904 : 13 2 2
Container fabea68acc5a3665e68dfdf2a8cb6aaf6b6b7da97d95cf076f296160dac41f03 : 13 2 2
Container 4c96c1b2dc6ee032ae08d98f55ee40e8178213ae257bb1b410365c0e2d491f45 : 13 2 2
Container 5226e72e82149a2ea86f267d3f0c5d26743f99778157fc7110676cc816c5e962 : 14 2 2
Container 930102d2129c5253a7e6611d6b3157ed0f619b6a22d710a1b2aa66d0f7ea23ae : 13 2 2
Container 94826f102c04afd1c4669f9f86a379170e0784de37efc4dce08c8369137d5ed1 : 13 2 2
Container 0b27aacc34dd27440ef0b9a400075f2ba8381abc80af5c3d16c5f78e280d4b24 : 7 0 0
Container 06e5543d484e916fe75463cb814d8ff6bbcac428f5276a6947170cafba176b7a : 13 2 2
Container d929e9a9582d9687c4817b3c1f397c6a8c876e95c6d1ed9b6bd1a719f964041d : 13 2 2
Container 5d4c67515b689db7358de6a5b9bde055130aa0b39b97125657b1f3f7f760992e : 13 2 2
Container 249b103545b5cfebdaa51cc6ac03093ef1db72f202d4e085d0dea6ef620a9edf : 12 1 1
Container c47de480760a70de1bbc95bdb55f6c6c46437b53f1bb5e8c4b407da2fe5334c9 : 12 1 1
Container 52e4bed8bcab6a5f69a4ce5c95aca58994dc1759a053874655f30c5fc2f2e6fb : 12 1 1
Container 10ba979686a7fb958f3e898c2fac204e847dfa35af37ae3ffb6953cfb2927209 : 12 1 1
Container acb0959e537b24197f6d96a2433be18796dd036a703a25891a96b96a9007a3ed : 21 1 2
Container bfe11201a0add17bd28caef4eaf2df6c5c9118b473d5ac395b26138fc97c2683 : 20 1 2
Container 9a625e24e996e1a8cac64a9cc810de8cd70f5d88b36db7da31ed749bc8c9a04f : 15 1 1
Container 27700cd890b5190c2fd4b290c811a4c4fd255bb3faa247c9b11451f2b0ac8c59 : 11 1 1
Container 29af4983f4e12b9769f188815e6dd2b0f538df68a5328e0e652058231b512d70 : 10 1 1
Container 121595b441b991e77f153b51aea7fcffc39018b1e0699517ba1d8d4ffa00fd9d : 9 1 1
Container 4fb1c770d0b4461875f352c4b1fb58c100d4a88009faed6d4779a88a2afbfee1 : 7 1 1
Container 3ab5676f7ebab294739daca43a2472f15fa68359e8c98c72264d6dd7a5756ee0 : 7 1 1
...

Note, that 0b27aacc container is the one I'm trying to debug - it got 'stuck'. I don't think this disparity of log entries is due to that stuck container (but, we should not completely rule that out).

I'll just drop the kata-env here for the minute - we can grab a full debug output later if we need. My runtime has a single modification to time out on the stuck grpc call after 120s, which is when the test script then notices the fail and grabs the logs.
[Meta]
  Version = "1.0.12"

[Runtime]
  Debug = false
  [Runtime.Version]
    Semver = "1.0.0"
    Commit = "6f409b9528b66c46814eacf72083e2a54645ee89-dirty"
    OCI = "1.0.1"
  [Runtime.Config]
    Path = "/usr/share/defaults/kata-containers/configuration.toml"

[Hypervisor]
  MachineType = "pc"
  Version = "QEMU emulator version 2.7.0, Copyright (c) 2003-2016 Fabrice Bellard and the QEMU Project developers"
  Path = "/usr/bin/qemu-lite-system-x86_64"
  BlockDeviceDriver = "virtio-scsi"
  Msize9p = 8192
  Debug = false

[Image]
  Path = "/usr/share/kata-containers/kata-containers-2018-06-13-10:50:04.393273528+0100-3375e73"

[Kernel]
  Path = "/usr/share/kata-containers/kata-vmlinuz-4.14.22.container"
  Parameters = ""

[Initrd]
  Path = ""

[Proxy]
  Type = "kataProxy"
  Version = "kata-proxy version 1.0.0-a69326b63802952b14203ea9c1533d4edb8c1d64"
  Path = "/usr/libexec/kata-containers/kata-proxy"
  Debug = true

[Shim]
  Type = "kataShim"
  Version = "kata-shim version 1.0.0-087a5371680f069d45baed8544a09b4e6353c06e"
  Path = "/usr/libexec/kata-containers/kata-shim"
  Debug = true

[Agent]
  Type = "kata"

[Host]
  Kernel = "4.4.0-104-generic"
  Architecture = "amd64"
  VMContainerCapable = true
  [Host.Distro]
    Name = "Ubuntu"
    Version = "16.04"
  [Host.CPU]
    Vendor = "GenuineIntel"
    Model = "Intel(R) Core(TM) i5-6260U CPU @ 1.80GHz"

We'll start simple. Looking at my shim logs, I believe it is the 'version' Info() I only got for 2 out of 10 containers. From this line: https://github.com/kata-containers/shim/blob/master/main.go#L67
Maybe this is related to the pending https://github.com/kata-containers/shim/pull/95

For the proxy log, in a run of 10 containers, I got 8 of these:
time="2018-06-27T14:35:56.693935519+01:00" level=fatal msg="accept unix /run/vc/sbs/a1f66753615378a34200775dcfb3792a945410b60fdb5d72ec6ecca136e1fe39/proxy.sock: use of closed network connection" name=kata-proxy pid=11899 source=proxy

and 2 of these:
time="2018-06-27T14:35:56.712073777+01:00" level=debug msg="shutting down" name=kata-proxy pid=12242 source=proxy

OK, I applied https://github.com/kata-containers/shim/pull/95 to the shim, and ran the test again.
That looks to have improved things (I seem to get more log entries for all of runtime/shim/proxy), but I still see inconsistencies across all three in their linecounts-per-container. I'll do a re-eval of them now.

Note, I ran into the log disparity whilst trying to debug #406 , which utilises the soak test over at https://github.com/kata-containers/tests/pull/414 to show the issue. You do not have to use those to show the log issue though - using the script at the top of this Issue is good enough (and is less likely to hang up the runtime, which might perturb or mix two issues together).

@jodh-intel asked if I can upload some log examples.
In the attached, I used the script at the top of this Issue with NUMBER=10 and ITERATIONS=1. I captured the output in a file called crud, and used a noddy script to get some log stats:
#!/bin/bash

containers="$(grep nginx crud | awk '{print $1}')"

echo "What Runtime Proxy Shim"
for c in $containers; do
        rn=$(grep -i $c runtime.log | wc -l)
        pn=$(grep -i $c proxy.log | wc -l)
        sn=$(grep -i $c shim.log | wc -l)
        echo "Container $c : $rn $pn $sn"
done

Here are my notes, including the output of that script:
Log disparity - with patch shim#95 in place - which looks to make things better, but there are still disparities:

What Runtime Proxy Shim
Container 3fcfac9a9f5f : 18 2 3
Container 3bf59640bbeb : 14 2 2
Container 79aa7c11f888 : 13 2 2
Container 64632e2b2653 : 13 2 2
Container bc43a5ec2a4c : 13 2 2
Container bdcea7fe8917 : 14 2 2
Container 55559b43c334 : 14 2 2
Container 756d427bca67 : 14 2 2
Container 84e83b06b6a3 : 18 2 2
Container bbc4c414dc53 : 23 1 3

(note, logs are in reverse...)

Shim
----
3fcfac:
  exitcode=137
  rpc error: Unknown read /dev/ptmx
  version

3bf596:
  exitcode=137
  rpc error code /dev/ptmx

Still missing 'version'

Proxy
-----
3fcfac:
  use of closed network connection
  discarding a signal as container stopped

bbc4c4
  discarding a signal as container stopped

had to rename crud->crud.txt to upload.

This was with shim#95 applied, which improved things.
I've been staring at they 'why do we get a ptmx grpc error on some not others', which @devimc suspects is a race, and I suspect he is right. I'll contemplate that some more tomorrow. Races might explain a lot of the log disparity, but I'm not sure all of it (such as why do we get the 'version' log line missing in some of the shims?)
proxy.log
readme.txt
runtime.log
shim.log
crud.txt

Small update @jodh-intel. Adding some sleeps into the test run vastly improves things (but I've not proven things are 'wholly fixed' yet). The key might have been a sleep between the last docker run and the docker rm -f. I suspect as the test is using -tid on the run command, we are launching many VMs in parallel, and not all of them have finished before we issue the kill.
So, adding the delay gets us log-counts per container that look closer, but still not that close. I do suspect adding the sleep is only masking or avoiding some issues, and is almost definitely not a fix or workaround. I'll keep digging.

See https://github.com/kata-containers/documentation/issues/181 - turns out, on my system (which I believe is using the general journald defaults, so probably on many systems), we get rate limited by journald.
There are workarounds, and I'll write that up in our developer documents and do a PR.

ohhhhhh really, that's interesting. Because I had the same thing when I was debugging with too many logs enabled, sometimes I had the logs and sometimes I simply didn't get them (when everything was working perfectly). I am eager to hear how we can tune the journal :)

The quick fix is to globally disable rate limiting - which is maybe a little 'dangerous', which is whey I'll see if we can do this on a per-unit basis. Details here how to edit /etc/systemd/journald.conf:
https://www.rootusers.com/how-to-change-log-rate-limiting-in-linux/

Nice find @grahamwhaley! We don't need to modify per unit, but possibly per identifier would be useful if that is supported?
Presumably, since we enable full debug on all our CI (and metrics?) systems, we'll need to encode disabling rate limiting in the setup scripts/configs to make problem determination possible?
/cc @chavafg, @cboylan, @nitkon, @Pennyzct.

I think... we can probably close this one now can't we - with the rate limiting find and the logging improvements we did?

wfm - wdyt @chavafg?

Agree, closing it.


Be able to run the project locally

Right now it is not intuitive to test this project on local machine.
We should refactor project so it is easy to test it locally and not only on CI

I think this is now possible :)


Added SnackBar.hide()

SnackBar has already click listener, but I needed a explicit method that hides snackbar.
Thanks.

Hey BattleShipPark, these changes look good but can you merge this into the dev branch instead? Now that it's no longer in beta I can't merge into master anymore. Thanks.

Hi, I close this and merge into dev branch.
Thanks.


Functions In C

Description
I have prepared a documentation on:

What is a function?
Why do we need Function?
Types of Functions
Parts of Functions
It's Importance

Do read and learn :)
Domain
C/CPP
Type of Contribution
Documentation
Code of Conduct

[X] I follow Contributing Guidelines & Code of conduct of this project.

/assign

@nickel-28  Her PR has already been  merged... So this issue is closed


cuboid roundings incorrect if $fn not divisible by 4

Rounding some (not all) edges gives incorrect results:
cuboid(10, rounding=2, edges=TOP,$fn=5);

cuboid(10, rounding=2, edges=TOP,$fn=25);

I think the only way to fix this is to quantize $fn to 4 inside the internal module corner_shape().

Well, it may be possible to carefully align all the sub-cylinders, but I think the results will still look kind of bad compared to just quantizing $fn to 4.

I think forcing $fn up to the next multiple of 4 is a totally reasonable solution.

Consistent with what?

Consistent in that both xcyl() and ycyl() should have an edge facing the same way (up or down).  I assume both cyl() and zcyl() and cylinder() have an edge towards X+.

Do zcyl and cylinder have an edge towards x+ or a line towards x+?

xcyl() has an edge towards Z- and a face towards Z+:

ycyl() has an edge towards X+ and a face towards X-:

zcyl() has an edge towards X+ as well, and a face towards X-:

cyl() and cylinder() are oriented like zcyl().

I'm thinking both xcyl() and ycyl() should have their starting edge towards Z+

cuboid() is fixed by quantization in PR #755

If cylinders have starting edge towards z+ then they'll have an edge down for even $fn.  Is that ok?

Original issue fixed.


Tag dropdown in portal

When you assign a tag in the portal, the dropdown is populated with tags that supposedly already exist. What determines the tags that appear in this dropdown? I've added the tag "DoNotDelete" many times but it's still not in the dropdown. How do I put it there?

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: bc003943-8bc8-10ac-e633-5640cff3c397
Version Independent ID: f8826361-f601-acf9-3e3d-c96579c02093
Content: Tag Azure resources for logical organization
Content Source: articles/azure-resource-manager/resource-group-using-tags.md
Service: azure-resource-manager
GitHub Login: @tfitzmac
Microsoft Alias: tomfitz

@v-kydela Thanks for the Comment. We are actively investigating and will get back to you soon.

@v-kydela - there is a tag taxonomy for your subscription. It may be that your account has permissions to tag a resource but does not have permission to add a tag to the taxonomy. You could try running the az tag commands to see if your account is able to read and write tags to the taxonomy for your subscription.

I tested with az tag list and it showed me 4 tags for my subscription (Bot Framework Support Team), including my DoNotDelete tag. I tested az tag create and was able to create a 5th tag named test. Though the list command only returns 5 tags, the tag assignment dropdown contains 19 tags (including the 3 tags returned by the list command that I didn't create).
C:\Program Files\Microsoft SDKs\Azure\.NET SDK\v2.9>az tag list -o table
TagName
-----------------
defaultExperience
ms-resource-usage
displayName
DoNotDelete
test

When I go to the Resource groups page in the Azure portal, the tag filter only includes the tags that are presently used by resources in the subscription, including DoNotDelete. That means I the tag filter dropdown contains the 4 tags returned by the list command that aren't the "test" tag that isn't currently assigned to any resource. The tag assignment dropdown that contains 19 tags still does not contain "DoNotDelete" or "test". Where is it getting its tags and how do I make sure a tag can be selected from the dropdown?

#please-close


Update Kong operator to v0.2.2

Updates to existing Operators
OLM has not been tested. Fresh installations have, and we test upgrades of the chart within the operator independently. Please let us know if you'd need us to conduct an OLM test to proceed.

[x] Is your new CSV pointing to the previous version with the replaces property?
[x] Is your new CSV referenced in the appropriate channel defined in the package.yaml ?
[ ] Have you tested an update to your Operator when deployed via OLM?
[x] Is your submission signed?

Your submission should not

[x] Modify more than one operator
[x] Modify an Operator you don't own
[x] Rename an operator - please remove and add with a different name instead
[x] Submit operators to both upstream-community-operators and community-operators at once
[x] Modify any files outside the above mentioned folders
[x] Contain more than one commit. Please squash your commits.

Operator Description must contain (in order)

[x] Description about the managed Application and where to find more information
[x] Features and capabilities of your Operator and how to use it
[x] Any manual steps about potential pre-requisites for using your Operator

Operator Metadata should contain

[x] Human readable name and 1-liner description about your Operator
[x] Valid category name1
[x] One of the pre-defined capability levels2
[x] Links to the maintainer, source code and documentation
[x] Example templates for all Custom Resource Definitions intended to be used
[x] A quadratic logo

Not sure if the linter failure is tied to the Travis failure--it's fairly light on output indicating what actually failed.
The Travis failure appears to be due to https://github.com/operator-framework/operator-registry/issues/47
The two patch releases were issues with metadata and some of the chart files, and there's no reason to run 0.2.0 or 0.2.1: users can and should go directly from 0.1.0 to 0.2.2. Does it make sense to remove the replaces info for the first two 0.2.x releases and set 0.2.2 to replaces: 0.1.0?
That will probably actually be in a 0.2.3 FWIW.

restarting tests

/test CVP

@rainest

you need commit signed from the original contributor @hbagdi.
Travis complains about kong.v0.2.2 specifies replacement that doesn't exist in catalog so far.
linting has an issue with kind with no more details provided, worth looking at.

Linter issue appears to be a limitation of how Python describes KeyErrors. With --verbose on courier:
  File "/usr/local/lib/python3.8/site-packages/operatorcourier/validate.py", line 476, in _ui_validation_io
    if self._ui_csv_fields_format_validation_io(csv) is False:
  File "/usr/local/lib/python3.8/site-packages/operatorcourier/validate.py", line 605, in _ui_csv_fields_format_validation_io
    alm_kinds = get_alm_kinds(json.loads(annotations["alm-examples"]))
  File "/usr/local/lib/python3.8/site-packages/operatorcourier/validate.py", line 567, in get_alm_kinds
    res.append(example["kind"])
KeyError: 'kind'

Not sure there's any great way to handle that without turning on --verbose for the backtrace. Catching KeyErrors to rework the error message works, but there are presumably a lot of places you'd need to add that sort of things.
I've fixed the linter errors and am working with Harry to sign off on the commits.

Continuing in #1579


Executor state assigned as Failed on successfull Job

Executor assigned "FAILED" state despite job finished successfully.

application state:

+-----------+----------------+----------------+-----------------------------+--------------------+--------------------+-------------------+

|   STATE   | SUBMISSION AGE | COMPLETION AGE |         DRIVER POD          |     DRIVER UI      | SUBMISSIONATTEMPTS | EXECUTIONATTEMPTS |

+-----------+----------------+----------------+-----------------------------+--------------------+--------------------+-------------------+

| COMPLETED | 1h             | 1h             | coretest-sparkpitest-driver | <IP_ADDRESS>:4040 |                  1 |                 1 |

+-----------+----------------+----------------+-----------------------------+--------------------+--------------------+-------------------+

executor state:

+-------------------------------------------+--------+

|               EXECUTOR POD                | STATE  |

+-------------------------------------------+--------+

| coretest-sparkpitest-1573732141507-exec-1 | FAILED |

+-------------------------------------------+--------+```

Looks like you also ran into #671 based on what you described.
This issue is reproduced with changes from #671 fix.
Problem is quite similar, but the condition added to solve #617 is not strong enough for my case.
In this case, executor is set as FAILED because it's finished, while Driver is still RUNNING.

Thanks for the PR! Merged it and closing this issue.


Cannot delete or move point if 2 points are on top of each other.

Hi,
there is an issue with deleting and moving 2 points that overlap. Draw a simple polyline with the draw demo. Then move 2 consecutive points on top of each other. Save the new line. Enable editing again. If you then click on it, it will not be deleted, but a new one will be added underneath. You just cannot delete or move the point. If you move it, it creates a new one instead.
I'm using Chrome 26 on Mac.
This situation can happen often when editing GPS tracks, because sometimes a lot of points are very close to each other. A lot of my users are experiencing this problem.
Let me know if I need to create a detailed example.
Thanks,
Nick,

May be I am too late for the discussion, my workaround for the issue is to avoid creating middle ghost points when the points are two close. Something like this:
    _createMiddleMarker: function (marker1, marker2) {
      // Fixed can not delete overlapped or too-closed points
      if (marker1.getLatLng().distanceTo(marker2.getLatLng()) < 10) return;
...
}


⚠ Jerry Savelle Ministries International Australia has degraded performance

In 437fcdd, Jerry Savelle Ministries International Australia (https://jsmiaustralia.org) experienced degraded performance:

HTTP code: 200
Response time: 8662 ms

Resolved: Jerry Savelle Ministries International Australia performance has improved in 1b37e47 after .


getting the stat's for oneself

initialized flake.nix and updated gitignore
tried to convert commands to slash commands

IMPORTANT CHANGES
Everything is now a slash command. You just type / and the command should just pop up. No more typing lc leaderboard.
You can now get the stat's for yourself from leetcode, including how many problems you have done in your lifetime,
the difficulty, and count, etc.
To enable this, you must first register your leetcode username to the bot, which it will then use to query leetcode's graphql api.
There may be some bugs, like what happens if you try getting stat's before registering, what happens if you want to reregister a name, etc.
I have yet to test these features, but if they do come up, please just make a comment here or ping me on discord and I'll fix it.

lgtm


Is *.a library supported?

In my ios app, there are several *.a static library used. How are these libraries supported? I tried WinObjC on my project and turns out it can't link these libraries.

Interested, but in my case I've also available an .dll version.

I guess you can try to use .dll or .winmd

In my case, the dll version library only support vs2010, _MSC_VER = 1600. When I use VS2015, it just refuse to link, which is also the biggest trouble for me to make the original UWP app. So I hope the bridge for IOS can solve this.

1600 I would guess you mean by pixels

We support .lib. So if you have the source for those libraries you can re-compile them to generate .lib static libs and link against them.


Remove prop-types

These are slow to compute in dev, particularly on the planning
page, and are unnecessary as we have typescript to statically
check things for us.
I tried this locally and navigating the planning tree in dev is
dramatically faster.

The only other ones are in a test component I think?

They seem to be from smaller components within the files as opposed to the main component
grep propTypes -i -r src/**/*.js
src/FilteringContainer.js:import PropTypes from 'prop-types';
src/FilteringContainer.js:    unfilteredNodes: PropTypes.arrayOf(PropTypes.shape(Node)).isRequired,
src/TreeContainer.js:import PropTypes from 'prop-types';
src/TreeContainer.js:    unfilteredNodes: PropTypes.arrayOf(PropTypes.shape(Node)),
src/UnstableFastTree.js:import PropTypes from 'prop-types';
src/UnstableFastTree.js:    unfilteredNodes: PropTypes.arrayOf(PropTypes.shape(Node)),
src/shapes/nodeShapes.js:import PropTypes from 'prop-types';
src/shapes/nodeShapes.js:  expanded: PropTypes.bool,
src/shapes/nodeShapes.js:  deletable: PropTypes.bool,
src/shapes/nodeShapes.js:  favorite: PropTypes.bool,
src/shapes/nodeShapes.js:  id: PropTypes.oneOfType([PropTypes.number, PropTypes.string]).isRequired,
src/shapes/nodeShapes.js:  name: PropTypes.string,
src/shapes/nodeShapes.js:  state: PropTypes.shape(NodeState),
src/shapes/nodeShapes.js:Node.children = PropTypes.arrayOf(PropTypes.shape(Node));
src/shapes/nodeShapes.js:  deepness: PropTypes.number.isRequired,
src/shapes/nodeShapes.js:  parents: PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.number, PropTypes.string])),
src/shapes/rendererShapes.js:import PropTypes from 'prop-types';
src/shapes/rendererShapes.js:  measure: PropTypes.func,
src/shapes/rendererShapes.js:  onChange: PropTypes.func.isRequired,
src/shapes/rendererShapes.js:  node: PropTypes.shape(FlattenedNode),
src/shapes/rendererShapes.js:  index: PropTypes.number.isRequired,

I think some of these are used for contextTypes, which isn't covered by typescript and isn't what's slow, so didn't seem worth to remove, and the others aren't actually components but rather standard 'types' for this library's prop-types