Update flannel version in master

Upstream flannel has been moved out from coreos to a new flannel-io arg and all of the changes we were carrying in our fork have been pulled upstream. We should drop use of our custom fork for the 1.21 release and just point at a recent release or commit of flannel-io/flannel.

Done in #3097

Validated using commit id
k3s -v
k3s version v1.21.1+k3s-7e175e8a (7e175e8a)
go version go1.16.4

Flannel version v0.13.1-rc2


Send the course info to the Maizey endpoint as JWT

send the LTI launch course specific data to the Maizey endpoint as JWT once the LTI launch happen and redirect user the Maizey endpoint
Note: Currently the Maizey endpoint doesn't create the Maizey project once received the JWT course info, so send use to the static Maizey URL in separate window.

I will be working on this next.


[Fixes #4246] Introducing CacheTagKey

Prevent string allocations in CacheTagHelper
Fix hash collision by checking the serialized key with the actual content for DistributedCacheTagHelper

:up: :date:
Added some logging when a value can't be deserialized
Moved CacheTagKey to the Cache namespace

Overall looks good to me, but I'll let others chip in. :watch:

:up: :date:
Some refactoring based on feedback, used the StringTokenizer, split some code in more fine grained methods for the service, use of constructors.

:tada:

I assume that deserves some :shipit:  ... plesae

Add a few more tests or tell me how the things I pointed out are being tested and :shipit:
Come talk to me if you disagree and we'll solve it offline

:watch:

:up: :date:
Feedback applied. Still not broken.

:shipit:


Poor documentation

Directions for this sample are incorrect.
AddAzureStorage extension is referencing package Aspire.Hosting.Azure.Storage which is not imported.
Completely missing OrleansContracts project.
This sample is not easy to follow and require a bunch of trouble shooting to make it work.
Reference to samples repository would be helpful.

https://learn.microsoft.com/en-us/dotnet/aspire/frameworks/orleans?tabs=dotnet-cli


[BEAM-239]: Rename RemoveDuplicates to Distinct

Be sure to do all of the following to help us incorporate your contribution
quickly and easily:

[x] Done in the PR:
Refactored the project to replace RemoveDuplicates to Distinct
[x] Ran Travis Locally and mvn clean install with SUCCESS to verify
[x] Replace <Jira issue #> in the title with the actual Jira issue
number, if there is one.
[ ] If this contribution is large, please file an Apache
Individual Contributor License Agreement.

Requesting review.

I think we should stick with verbs for PTransforms, but whatever we do we need to change Python as well.

@robertwb ,thanks for the response. If it is ok, I can perhaps open a new PR/ JIRA for the Python bit after this one goes in.

@eljefe6a do you have some time to help review this?

I think Robert had already volunteered as a reviewer :).
R: @robertwb
I'm thinking harder about Robert's comment. It does seem like most transforms are explicitly verbs, though I do not think this has ever been documented.
And there are plenty of exceptions, like Values.
Short summary: I'm okay with this change, but it may just be better to update the Javadoc. Either way, may be worth discussing on the Beam list.

Either way, the JavaDoc for Distinct/RemoveDuplicates needs to be updated. It should talk about taking the PCollection and creating a distinct list of elements in it.

@dhalperi ,  let me start a topic on it. Thank you. :)

@eljefe6a  thank you.I'll add it to the javadoc in my next commit.

Changing it to MakeDistinct as per the discussion on<EMAIL_ADDRESS>Will post a commit soon.

@eljefe6a , @robertwb , @dhalperi , any thoughts after the discussion?

Need to rebase. Will correct this.

@dhalperi , @eljefe6a, let me know if I need to alter anything.

@dhalperi , please let me know if you have additional comments?

It's fine as-is, but Jesse should merge when he thinks it's ready

Once my credentials are ready, I'll merge.

retest this please

Do a rebase and push. That will kick off another build.

Thanks @robertwb @dhalperi @eljefe6a for the review.


doc.getLine(n: integer) → string returns only a part of the line

Hi,
mentioned function returns only part of the line if line contains '<' sign. Dunno if there are any other chars causing same issue. Minimal setup to reproduce it is in attachment (CM ver. 5.21.0).
getline.tar.gz
Best regards

My fault, I didn't check it correctly. Of course CM returns line correctly but HTML was wrongly displayed (because of trying to interpret <...> as HTML tag). Sorry for troubles.


Viewing angle scatter plots pull request

Added polynomial fit to calculate band risetime, peakmag and delta m15 and a way to make scatter plots for these quantities for multiple viewing angles. Majority of the changes are in lightcurve.py but there are one or two small changes in spectra.py.

Hello @fcallan678! Thanks for opening this PR. We checked the lines you've touched for PEP 8 issues, and found:

In the file artistools/data/refspectra/csv_to_space_seperated.py:

Line 7:1: W391 blank line at end of file

In the file artistools/lightcurve.py:

Line 33:1: E303 too many blank lines (3)
Line 315:121: E501 line too long (155 > 120 characters)
Line 316:121: E501 line too long (155 > 120 characters)
Line 317:121: E501 line too long (155 > 120 characters)
Line 318:121: E501 line too long (155 > 120 characters)
Line 319:121: E501 line too long (155 > 120 characters)
Line 320:121: E501 line too long (155 > 120 characters)
Line 321:121: E501 line too long (155 > 120 characters)
Line 322:121: E501 line too long (155 > 120 characters)
Line 331:5: E303 too many blank lines (2)
Line 362:29: E225 missing whitespace around operator
Line 363:29: E225 missing whitespace around operator
Line 364:32: E225 missing whitespace around operator
Line 364:54: E225 missing whitespace around operator
Line 364:76: E262 inline comment should start with '# '
Line 364:121: E501 line too long (126 > 120 characters)
Line 400:17: E303 too many blank lines (2)
Line 401:121: E501 line too long (123 > 120 characters)
Line 402:121: E501 line too long (143 > 120 characters)
Line 407:21: E265 block comment should start with '# '
Line 410:90: E225 missing whitespace around operator
Line 410:116: E222 multiple spaces after operator
Line 410:121: E501 line too long (169 > 120 characters)
Line 410:142: E225 missing whitespace around operator
Line 411:121: E501 line too long (176 > 120 characters)
Line 412:25: E265 block comment should start with '# '
Line 416:30: E225 missing whitespace around operator
Line 420:40: E225 missing whitespace around operator
Line 421:48: E225 missing whitespace around operator
Line 432:17: E303 too many blank lines (2)
Line 432:112: W291 trailing whitespace
Line 433:109: W291 trailing whitespace
Line 436:20: E111 indentation is not a multiple of four
Line 437:20: E111 indentation is not a multiple of four
Line 439:20: E111 indentation is not a multiple of four
Line 440:24: E111 indentation is not a multiple of four
Line 441:20: E111 indentation is not a multiple of four
Line 442:24: E111 indentation is not a multiple of four
Line 444:20: E111 indentation is not a multiple of four
Line 445:20: E111 indentation is not a multiple of four
Line 446:20: E111 indentation is not a multiple of four
Line 446:30: E231 missing whitespace after ','
Line 447:20: E111 indentation is not a multiple of four
Line 448:20: E111 indentation is not a multiple of four
Line 449:20: E111 indentation is not a multiple of four
Line 450:20: E111 indentation is not a multiple of four
Line 451:20: E111 indentation is not a multiple of four
Line 452:20: E111 indentation is not a multiple of four
Line 453:20: E111 indentation is not a multiple of four
Line 454:20: E111 indentation is not a multiple of four
Line 455:20: E111 indentation is not a multiple of four
Line 456:20: E111 indentation is not a multiple of four
Line 456:51: E225 missing whitespace around operator
Line 457:20: E111 indentation is not a multiple of four
Line 473:9: E303 too many blank lines (3)
Line 480:121: E501 line too long (188 > 120 characters)
Line 481:121: E501 line too long (158 > 120 characters)
Line 493:121: E501 line too long (123 > 120 characters)
Line 501:121: E501 line too long (155 > 120 characters)
Line 504:121: E501 line too long (182 > 120 characters)
Line 506:121: E501 line too long (151 > 120 characters)
Line 507:121: E501 line too long (154 > 120 characters)
Line 512:36: E225 missing whitespace around operator
Line 512:54: E225 missing whitespace around operator
Line 512:63: E225 missing whitespace around operator
Line 513:121: E501 line too long (123 > 120 characters)
Line 524:121: E501 line too long (148 > 120 characters)
Line 526:121: E501 line too long (154 > 120 characters)
Line 527:13: E128 continuation line under-indented for visual indent
Line 527:58: E231 missing whitespace after ','
Line 532:29: E225 missing whitespace around operator
Line 532:32: E225 missing whitespace around operator
Line 538:26: E225 missing whitespace around operator
Line 538:36: E225 missing whitespace around operator
Line 545:36: E225 missing whitespace around operator
Line 545:54: E225 missing whitespace around operator
Line 545:63: E225 missing whitespace around operator
Line 546:121: E501 line too long (123 > 120 characters)
Line 554:121: E501 line too long (121 > 120 characters)
Line 555:121: E501 line too long (149 > 120 characters)
Line 557:121: E501 line too long (156 > 120 characters)
Line 558:13: E128 continuation line under-indented for visual indent
Line 558:58: E231 missing whitespace after ','
Line 562:36: W605 invalid escape sequence '\D'
Line 563:29: E225 missing whitespace around operator
Line 563:32: E225 missing whitespace around operator
Line 569:26: E225 missing whitespace around operator
Line 569:36: E225 missing whitespace around operator
Line 574:5: E303 too many blank lines (2)
Line 985:5: E303 too many blank lines (2)

Pull Request Test Coverage Report for Build 430

52 of 190 (27.37%)  changed or added relevant lines in 2 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.8%) to 49.271%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

artistools/spectra.py
0
8
0.0%

artistools/lightcurve.py
52
182
28.57%

Totals

Change from base Build 428:
-0.8%

Covered Lines:
3212

Relevant Lines:
6519

💛  - Coveralls


Crash in IcebergSplitReader when SplitPreload enabled

Bug description
I encountered a crash in gluten UT, when enabling the split preloading: https://github.com/apache/incubator-gluten/actions/runs/8748743592/job/24009286393?pr=5456 .
Crash dump in my local repro:
(gdb) bt
#0  __pthread_kill_implementation (no_tid=0, signo=6, threadid=139812729837120) at ./nptl/pthread_kill.c:44
#1  __pthread_kill_internal (signo=6, threadid=139812729837120) at ./nptl/pthread_kill.c:78
#2  __GI___pthread_kill (threadid=139812729837120, signo=signo@entry=6) at ./nptl/pthread_kill.c:89
#3  0x00007f2a17092476 in __GI_raise (sig=sig@entry=6) at ../sysdeps/posix/raise.c:26
#4  0x00007f2a170787f3 in __GI_abort () at ./stdlib/abort.c:79
#5  0x00007f2a164414b7 in ?? () from /usr/lib/jvm/java-8-openjdk-amd64/jre/lib/amd64/server/libjvm.so
#6  0x00007f2a16d88891 in ?? () from /usr/lib/jvm/java-8-openjdk-amd64/jre/lib/amd64/server/libjvm.so
#7  0x00007f2a16bd4faa in JVM_handle_linux_signal ()
   from /usr/lib/jvm/java-8-openjdk-amd64/jre/lib/amd64/server/libjvm.so
#8  0x00007f2a16bc80fc in ?? () from /usr/lib/jvm/java-8-openjdk-amd64/jre/lib/amd64/server/libjvm.so
#9  <signal handler called>
#10 0x00007f28bd9b9823 in facebook::velox::AlignedBuffer::allocate<signed char> (numElements=512,
    pool=0x74756c672f746967, initValue=std::optional<signed char> [no contained value])
    at /var/git/gluten/ep/build-velox/build/velox_ep/./velox/buffer/Buffer.h:320
#11 0x00007f28c5430679 in facebook::velox::dwio::common::ensureCapacity<signed char> (data=..., capacity=512,
    pool=0x74756c672f746967) at /var/git/gluten/ep/build-velox/build/velox_ep/./velox/dwio/common/BufferUtil.h:30
#12 0x00007f28c542fc6f in facebook::velox::connector::hive::iceberg::IcebergSplitReader::next (this=0x7f283c00a290,
    size=4096, output=std::shared_ptr<facebook::velox::BaseVector> (use count 1, weak count 0) = {...})
    at /var/git/gluten/ep/build-velox/build/velox_ep/velox/connectors/hive/iceberg/IcebergSplitReader.cpp:101
#13 0x00007f28bdda0a45 in facebook::velox::connector::hive::HiveDataSource::next (this=0x7f2860cf7bf0, size=4096)

memory pool address in frame10: 0x74756c672f746967.
(gdb) frame 10
#10 0x00007f28bd9b9823 in facebook::velox::AlignedBuffer::allocate<signed char> (numElements=512,
    pool=0x74756c672f746967, initValue=std::optional<signed char> [no contained value])
    at /var/git/gluten/ep/build-velox/build/velox_ep/./velox/buffer/Buffer.h:320
320         std::cout << "preferredSize:" << pool->preferredSize(checkedPlus<size_t>(size, kPaddedSize)) << std::endl;
(gdb) print pool
$1 = (facebook::velox::memory::MemoryPool *) 0x74756c672f746967

memory pool address in frame12: 0x7f2860d66ba0.
(gdb) frame 12
#12 0x00007f28c542fc6f in facebook::velox::connector::hive::iceberg::IcebergSplitReader::next (this=0x7f283c00a290,
    size=4096, output=std::shared_ptr<facebook::velox::BaseVector> (use count 1, weak count 0) = {...})
    at /var/git/gluten/ep/build-velox/build/velox_ep/velox/connectors/hive/iceberg/IcebergSplitReader.cpp:101
101         dwio::common::ensureCapacity<int8_t>(
(gdb) print *this
$2 = {<facebook::velox::connector::hive::SplitReader> = {
    _vptr.SplitReader = 0x7f28cfa40b28 <vtable for facebook::velox::connector::hive::iceberg::IcebergSplitReader+16>,
    hiveSplit_ = std::shared_ptr<const facebook::velox::connector::hive::HiveConnectorSplit> (use count 3, weak count 0) = {get() = 0x7f2860dec2f0},
    hiveTableHandle_ = std::shared_ptr<const facebook::velox::connector::hive::HiveTableHandle> (use count 6, weak count 0) = {
      get() = 0x7f2860d63c10}, partitionKeys_ = 0x7f283c00d5c8, connectorQueryCtx_ = 0x7f2860d9a980,
    hiveConfig_ = std::shared_ptr<const facebook::velox::connector::hive::HiveConfig> (use count 7, weak count 0) = {
      get() = 0x7f2a1324a210},
    readerOutputType_ = std::shared_ptr<const facebook::velox::RowType> (use count 1, weak count 0) = {get() = 0x7f283c00eaf0},
    ioStats_ = std::shared_ptr<facebook::velox::io::IoStatistics> (use count 16, weak count 0) = {
      get() = 0x7f283c00a150}, fileHandleFactory_ = 0x7f2a1324a148, executor_ = 0x7f2a13248d40,
    pool_ = 0x7f2860d66ba0,
    scanSpec_ = std::shared_ptr<facebook::velox::common::ScanSpec> (use count 4, weak count 0) = {get() = 0x7f283c00d7e0},

These two addresses should be same but they are different. This issue is because ConnectorQueryCtx is created in line 311 and captured by the lambda. After async source move, the function is released and also the ctx is released . So the connectorQueryCtx_ in SplitReader becomes a dangling pointer. And IcebergSplitReader uses it in next method and triggers the crash.
System information
Velox System Info v0.0.2
Commit: 3f5db597f6d99616c0fb98218dfd0322fe7a708d
CMake Version: 3.22.1
System: Linux-<IP_ADDRESS>-microsoft-standard-WSL2
Arch: x86_64
C++ Compiler: /usr/bin/c++
C++ Compiler Version: 11.4.0
C Compiler: /usr/bin/cc
C Compiler Version: 11.4.0
CMake Prefix Path: /usr/local;/usr;/;/usr;/usr/local;/usr/X11R6;/usr/pkg;/opt
Relevant logs
No response

@Yuhta  and @yingsu00 , could you please help take a look, https://github.com/facebookincubator/velox/pull/9544?
Thanks.


Getting this error on mac

failed to solve: rpc error: code = Unknown desc = failed to solve with frontend dockerfile.v0: failed to create LLB definition: no match for platform in manifest sha256:578266a8f2de6e1a6896c487dd45cfc901a82ddf50be13bb7c56f97ecd693f77: not found
I am trying to use this on my mac and i am getting this error.

Hi @200263830,
Unfortunately, we don't support macOS and Win, Linux only.


Document behaviour/configuration of AWS/KeyCloak sessions/tokens

Describe the issue
There is confusion/lack of clarity about how Keycloak and AWS sessions related and interact, and the associated UX. We want to document this in a clear way for tenant users, and potentially for security audiences.
Which Sprint Goal is this issue related to?

Note: 'Milestone' is a ZenHub term that we use synonymously with 'Sprint'.

The 'Milestone' description (created in ZenHub) should clearly list Sprint Goals. This section should indicate which 'goal' this issue is related to.
Additional context
Add any other context, attachments or screenshots
Definition of done

documentation/slide describing login process/configuration.
Create in CloudOps repo

No longer relevant


UI toast appears too small on Chromebook and needs scrollbars

The latest uProxy "toast" UI is appearing too small on Chromebooks (tested with an HP Chromebook), and is requiring vertical+horizontal scroll bars.
Option 1: try to make the toast window bigger
Option 2: make uProxy responsive to different window sizes (same as https://github.com/uProxy/uproxy/issues/687)

Will be fixed in https://github.com/uProxy/uproxy/issues/730


[feat] Get rid of python-jwt in favour of PyJWT, or make it an optional dependency.

Description
python-jwt is installed as a mandatory package by guardrails. This is conflicting with PyJWT (namespace conflict) which has far more reach and popularity. It makes guardrails impossible to use when other packages depend on PyJWT. This is a known conflict and impossible to manage.  https://github.com/GehirnInc/python-jwt/issues/36
Why is this needed
Some other packages depend on PythonJWT which is a more popular, modern and feature rich jwt implementation. It becomes impossible to install or use PythonJWT when guardrails package is installed.
Implementation details
Switch should be easy because PyJWT is well documented.

Thanks for bringing it to attention. Will track and try to resolve by 0.5.1

Bump on this. PyJWT is also the package Auth0 uses in much of their documentation and has much more recent releases suggesting it is actively maintained.

Hey I want to contribute here can I pick it up if it's still open.

@zsimjee bumping this. We use pyJWT in our project, and thus are not able to deploy guardrails in the project

@AlejandroEsquivel is going to try and impl this. If we don't regress this'll come out in 0.5.0

@shiv07tiwari volunteered to work this task.

Thank you very much! I'm using a cloned version of your repo with a hotfix. Happy to wait for the official release to pointing back to the official repo.


centos7_cluster job crashes locally with an error

Bug Report
What happened: Running a  CI job locally for luminous against centos7_scenario leads to an error with the following traceback -
The full traceback is:
Traceback (most recent call last):
  File "<stdin>", line 113, in <module>
  File "<stdin>", line 105, in _ansiballz_main
  File "<stdin>", line 48, in invoke_module
  File "/tmp/ansible_ceph_key_payload_SjfPup/__main__.py", line 714, in <module>
  File "/tmp/ansible_ceph_key_payload_SjfPup/__main__.py", line 710, in main
  File "/tmp/ansible_ceph_key_payload_SjfPup/__main__.py", line 656, in run_module
  File "/tmp/ansible_ceph_key_payload_SjfPup/__main__.py", line 475, in lookup_ceph_initial_entities
NameError: global name 'module' is not defined

fatal: [ceph-mon1]: FAILED! => {
    "changed": false,
    "rc": 1
}

MSG:

MODULE FAILURE
See stdout/stderr for the exact error

MODULE_STDERR:

Traceback (most recent call last):
  File "<stdin>", line 113, in <module>
  File "<stdin>", line 105, in _ansiballz_main
  File "<stdin>", line 48, in invoke_module
  File "/tmp/ansible_ceph_key_payload_SjfPup/__main__.py", line 714, in <module>
  File "/tmp/ansible_ceph_key_payload_SjfPup/__main__.py", line 710, in main
  File "/tmp/ansible_ceph_key_payload_SjfPup/__main__.py", line 656, in run_module
  File "/tmp/ansible_ceph_key_payload_SjfPup/__main__.py", line 475, in lookup_ceph_initial_entities
NameError: global name 'module' is not defined

What you expected to happen: The job should've completed running successfully.
How to reproduce it (minimal and precise): Running following command with repo root as CWD should be enough - sudo ANSIBLE_FORCE_COLOR=TRUE RELEASE=luminous SCENARIO=centos7_cluster WORKSPACE=./ bash -x ./ceph-ansible-prs.sh | tee ~/centos7_cluster.log

I could reproduce this issue on my own machine as well as on a machine from Sepia lab. Right now, I am trying to fix it by adding custom debug message to library/ceph_keys.py and by trying to find the commit that leads to this error since luminous-centos7_cluster completed running successfully on an unupdated repo.

@rishabh-d-dave see the referenced PR. It looks like the undefined variable error is actually masking another error. So I would expect that when you re-run the tests you'll see another error.

@noahdesu You are right I did see a different error. I saw error the error 'auth_dump' key not present in json output, mostly emanated from this line.
Following command gets executed at line #564 in ceph_key.py sudo ceph -n mon. -k /var/lib/ceph/mon/ceph-ceph-mon1/keyring --cluster ceph auth ls -f json which returns an empty JSON value (i.e. {}). And when the execution proceeds, the expected keys turn out to be absent, which leads to the error mentioned above.

@noahdesu master branch

@leseb The root cause (reported here) behind this issue is not yet fixed.
The error mentioned in my original report is replaced by the following one -

<ceph-mon1> (1, '\n{"msg": "\'auth_dump\' key not present in json output:", "failed": true, "rc": 1, "invocation": {"module_args": {"directory_mode": null, "force": null, "remote_src": null, "cluster": "ceph", "import_key": true, "owner": "ceph", "follow": false, "group": "ceph", "unsafe_writes": null, "secret": null, "content": null, "serole": null, "setype": null, "state": "fetch_initial_keys", "dest": "/etc/ceph/", "selevel": null, "caps": null, "regexp": null, "src": null, "name": null, "seuser": null, "delimiter": null, "mode": "0400", "attributes": null, "backup": null}}}\n', '')
fatal: [ceph-mon1]: FAILED! => {
    "changed": false,
    "invocation": {
        "module_args": {
            "attributes": null,
            "backup": null,
            "caps": null,
            "cluster": "ceph",
            "content": null,
            "delimiter": null,
            "dest": "/etc/ceph/",
            "directory_mode": null,
            "follow": false,
            "force": null,
            "group": "ceph",
            "import_key": true,
            "mode": "0400",
            "name": null,
            "owner": "ceph",
            "regexp": null,
            "remote_src": null,
            "secret": null,
            "selevel": null,
            "serole": null,
            "setype": null,
            "seuser": null,
            "src": null,
            "state": "fetch_initial_keys",
            "unsafe_writes": null
        }
    },
    "rc": 1
}

MSG:

'auth_dump' key not present in json output:

Would it be more appropriate to open a new issue with this error?

If auth_dump is not present, this means there is something wrong with your cluster, make sure it's healthy.

I don't think the master branch is intended to work with luminous, but I may be wrong when it comes to functional tests. Despite tox letting you run them, I had some issues with this configuration that were resolved when I either switched to stable-3.2 or run with dev-xxx in master. @leseb confirm?


Improve landscape mode

Please improve the landscape mode.

Try the latest pre-release.
Made some improvements on the MainActivity.
Happy New Year!

Let's mark this issue as resolved.


Fix simplification package related issues in image segmentation tasks

Description
Fixed the automl image segmentation tests failure started happening after we removed "simplification" package since this package is not supported in 3.11
All SDK Contribution checklist:

[x] The pull request does not introduce [breaking changes]
[x] CHANGELOG is updated for new features, bug fixes or other significant changes.
[x] I have read the contribution guidelines.

General Guidelines and Best Practices

[x] Title of the pull request is clear and informative.
[x] There are a small number of commits, each of which have an informative message. This means that previously merged commits do not appear in the history of the PR. For more information on cleaning up the commits in your PR, see this page.

Testing Guidelines

[x] Pull request includes test coverage for the included changes.

/azp run python - ml-automl - tests

/azp run python - ml-automl - tests

/azp run python - ml-automl - tests

/azp run python - ml-automl - tests

/azp run python - ml-automl - tests

/azp run python - ml-automl - tests

/azp run python - ml-automl - tests

/azp run python - ml-automl - tests

/azp run python - ml-automl - tests

/azp run python - ml - ci

/azp run python - ml-automl - tests

/azp run python - ml-automl - tests

/azp run python - ml-automl - tests

/azp run python - ml-automl - tests

/azp run python - ml-automl - tests

/azp run python - ml-automl - tests

/azp run python - ml-automl - tests

/azp run python - ml-automl - tests

/azp run python - ml-automl - tests

/azp run python - ml-automl - tests

/azp run python - ml-automl - tests (Public_Test ubuntu2004_pypy37_disablecov_true)

/azp run python - ml-automl - tests

/azp run python - ml-automl - tests

/azp run python - ml - ci

/azp run python - ml-automl - tests


R custom eval function help

Hi all,
I am having trouble trying to create a custom evaluation function for R package. I would like lightgbm to evaluate the models based on the AUPRC instead of AUC (if this is possible?). I am a newbie to predictive models and I'm sure I'm making multiple errors here. I tried to follow the example I found from Laurae2. I originally tried to modify the summary function (the last lines of code) but it prompts for grad & hess being present.. so I tried to use the example logregobj below with my evalauprc. Any help is greatly appreciated. Thanks!!
EXAMPLE I FOUND:
logregobj <- function(preds, dtrain) {
  labels <- getinfo(dtrain, "label")
  preds <- 1 / (1 + exp(-preds))
  grad <- preds - labels
  hess <- preds * (1 - preds)
  return(list(grad = grad, hess = hess))
}
evalerror <- function(preds, dtrain) {
  labels <- getinfo(dtrain, "label")
  err <- as.numeric(sum(labels != (preds > 0.5))) / length(labels)
  return(list(name = "error", value = err, higher_better = FALSE))
}

MY  EVAL FUNCTION:

evalauprc <- function(preds, dtrain) {
  labels <- getinfo(dtrain, "label")
  the_curve <- pr.curve(scores.class0=preds,
                        weights.class0 = labels,
                        curve = TRUE)
  auprc <- the_curve$auc.integral
  return(list(name = "auprc", value = auprc, higher_better = TRUE))
}

ATTEMPT TO MODIFY SUMMARY FUNCTION
auprcSummary <- function(preds, dtrain){

  labels <- getinfo(dtrain, "label")
  preds <- 1 / (1 + exp(-preds))

  roc <- roc(labels, preds)
  auc <- auc(roc)

  the_curve <- pr.curve(scores.class0=preds,
                        weights.class0 = labels,
                        curve = FALSE)

  pr <- the_curve$auc.integral
  return(list(auc=auc, auprc= pr))
  }

Note: Using the pr.curve function from PRROC package.

@DSQueen can you provide a script example for your use case, such as iris with 2 classes only? (for easier reproducibility, not sure where to put your auprcSummary fits)

ping @DSQueen


cross-origin when trying to embed the single-spa app, with devtools enabled, in an iframe

I am trying to embed a single-spa application in an iframe as part of my project requirement. When I enable the devtools flag, I am seeing a cross-origin DOMException in the console and cannot see the import maps override UI in the browser. If I access the app in standlone, its working as expected.

My problem was already reported and fixed as issue https://github.com/single-spa/import-map-overrides/pull/62


ArcGIS Pro 3.3.2 Toolbar not functioning

Great tool thank you. I've just installed it on Pro 3.3.2 and the toolbar isn't launching the functions. Is there a debug menu to see what errors it might be throwing?

Directly loading in the toolbox still works.

Thanks @headart
No debug I'm afraid. I haven't had a look at this tool for awhile, so probably needs a good revisit. I should have some time in a week, might go back in and clean up. Keep an eye on it.

The plugin has now been updated to support Pro 3.3+ and .NET8.
Works on my Pro 3.4 ver. Thanks!

Thanks for updating that. I seem to be having the same issues still with the update. Would you be able to let me know what version of .NET you are running or if there are any other issues that might be causing it?

Strange - the latest Arc SDK needs .NET 8 or above. I believe 3.3. introduced this.
I am running on Pro 3.4, perhaps try latest Pro version if not. Also, try uninstalling the plugin, retsrarting Pro to clear the cache, then install again.
I'll try it on a laptop later and see how it goes.
Thanks.

I'm still coming up with the same issue as initial but I found esri's diagnostic monitoring tool which flagged the following error:

Well, that issue would explain why your buttons are greyed out. It can't seem to find one of the SDK buttons (technically a gallery type). This is certainly in the project during compilation and is being found in my installs.
This could possibly be an issue with your ArcGIS Pro assembly cache, where an older version of the plugin isn't properly being removed when you install the new plugin.
Can you uninstall the plugin through ArcGIS Pro UI, then go to the cache e.g. C:/Users//AppData/Local/ESRI/ArcGISPro/AssemblyCache/
And delete the plugin manually there. Then, launch ArcGIS Pro once and then immediately close it to force reset the cache, then install the plugin.
The above method has helped me reset addin cache issues before, such as "stuck" libraries.
If the above doesn't work I'm not sure what is wrong, as I cannot replicate your issue on my end. The outdated info on the plugin will be fixed but it won't cause any issues, it's just cosmetic.


Fix grammatical error

Type of issue
Typo
Description
.NET SDK projects automatically import the correct Page and Compile items for you and you don't need to do declare these.
Suggested changes:

Replace do declare with declare — the "do" is unnecessary in this context
Added a comma before "and" to separate the clauses.

Page URL
https://learn.microsoft.com/en-us/dotnet/desktop/wpf/windows/?view=netdesktop-9.0
Content source URL
https://github.com/dotnet/docs-desktop/blob/main/dotnet-desktop-guide/net/wpf/windows/index.md
Document Version Independent Id
02653ec8-ce70-979e-c96c-5949fa5befd6
Article author
@adegeo
Metadata

ID: c50c7729-f1ce-2f8e-cd77-186a94846c64
Service: dotnet-desktop
Sub-service: wpf

Related Issues

Hi, could this issue be assigned to me please? I would like to edit the document and create a PR

@muneeb-devp Absolutely! Sorry for the delay!


python312Packages.types-docopt: <IP_ADDRESS> -> <IP_ADDRESS>41107

Things done

Built on platform(s)

[ ] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
25.05 Release Notes (or backporting 24.11 and 25.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[ ] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

nixpkgs-review result
Generated using nixpkgs-review.
Command: nixpkgs-review pr 357804

x86_64-linux

:white_check_mark: 6 packages built:

catcli
catcli.dist
python311Packages.types-docopt
python311Packages.types-docopt.dist
python312Packages.types-docopt
python312Packages.types-docopt.dist


Adds subdag functionality

Allows for Dagman objects to be added to other Dagman object, in addition to Job objects. See issue #29

This PR also adds travis ci integration


update npmignore file

Solves #199
Checklist:

[x] Code contains relevant tests for the problem you are solving
[x] Ensure all new and existing tests pass
[x] Update any relevant READMEs and docs
[x] Submit to the develop branch instead of master

Description:
This PR updates the .npmignore files to exclude unnecessary files from the package
Testing Steps

Start a local npm registry with verdaccio

npm install -g verdaccio
verdaccio

On a separate shell window

npm adduser --registry  http://localhost:4873
cd origin-js
npm publish --registry http://localhost:4873

Test the installation

mkdir testing-npm-install-origin
cd testing-npm-install-origin
npm i -S origin
tree -L 2 node_modules/origin

ref https://docs.npmjs.com/misc/developers#keeping-files-out-of-your-package

just realized this doesn't do what I thought it was doing. Reviewing it.

nevermind this PR


Add files via upload

android enhancement to have a fixed aspect ratio as per user input width and height.

Platforms affected
android only
What does this PR do?
android enhancement to have a fixed aspect ratio as per user input width and height.
What testing has been done on this change?
local android device testing is performed successfully.
Checklist

[ ] Reported an issue in the JIRA database
[ ] Commit message follows the format: "CB-3232: (android) Fix bug with resolving file paths", where CB-xxxx is the JIRA ID & "android" is the platform affected.
[ ] Added automated test coverage as appropriate for this change.

do not want to merge to master

do not want to merge to master as this is a specific issue to be addressed for my reqruirement


Allow special characters on Pin Input

🚀 Feature request
When using Pin Input component in numeric, I would like to allow user to paste specials characters (like "-")
🧱 Problem Statement / Justification
I've received the following email :

When i copy paste 063-569 my code input component doesn't work because of the - character.
✅ Proposed solution or API
// pin-input.types.ts

type PublicContext = DirectionProperty & {
   ...
   whiteList: string
}

// pin-input.machine.ts

export function machine(ctx: UserDefinedContext = {}) {
  return createMachine<MachineContext, MachineState>({
    ...,
    context: {
      whiteList: ''
     }
  })
})

function isValidType(value: string, type: MachineContext["type"], whiteList: MachineContext["whiteList"]) {
  if (!type) return true
  const filteredValue = [...value].filter(char => !whiteList.includes(char)).join()
  return !!REGEX[type]?.test(filteredValue)
}

and use it like this :
useMachine(pinInput.machine({ whiteList: '-' }))

↩ Alternatives
There is no alternative, because alphanumeric doesn't allow special characters.

Thanks for requesting this. After much thought, we've decided to provide a pattern property in the machine's context to help achieve this.
See: https://github.com/chakra-ui/zag/blob/main/.changeset/nice-buses-provide.md
It'll be made available in the next release.


Redefine what counts as a branch on ABC Size

I was thinking if it would be possible to not count getter methods as a branch. I know this has been asked before (can't find the issue now, but I de remember reading something about it) and I'm just wondering if it may be possible with a plugin instead of a configuration setting.
The reason for it is pretty simple, take this method for example
def search
  @posts = model.active.visible_by(current_user)
    .search(params[:q], skip: @skip)

  @posts = model.some_process(@posts, current_user)
  @posts = model.another_process(@posts, current_user)

  render 'pages/search/page', locals: { model: model }
end

It's ABC would be <3, 15, 0> = 15.3
Now, if instead of calling model and current_user every time, you assign their values to a variable you get:
def search
  the_model = model
  user = current_user
  @posts = the_model.active.visible_by(user)
    .search(params[:q], skip: @skip)

  @posts = the_model.some_process(@posts, user)
  @posts = the_model.another_process(@posts, user)

  render 'pages/search/page', locals: { model: the_model }
end

It's ABC would be <5, 10, 0> = 11.18
So the reason this bothers me is that the last method is considered the least complex one, but in reality it takes more time for someone to read through it.
Branches are defined as "an explicit forward program branch out of scope", I would say getter methods in ruby are not really "explicit" as they pretty much look like just any variable. But I'm aware that's highly a matter of personal opinion.
So wrapping up, is there a way to not count any getter method (defined for this purpose as any method that receives no arguments) as branch while calculating ABC? I had a look at AbcSizeCalculator class but I can't figure out where the node.type comes from in the branch?(node) method

It is indeed tricky. As you realize, it's impossible to know if, in your example, model is just a attr_reader or a method that makes a web request synchronously, thanks to the dynamic nature of Ruby.
The AbcSize metric was tweaked extensively recently (#8037) and also we reduced some repeated conditional paths (#8408). I didn't add a setting for that last tweak as it would be plausible for Ruby to actually optimize this internally. In this particular case, Ruby can not optimize this (even if it is an attr_reader, as the instance variable @model can change at any time). So I don't think we can justify not counting it by default.
That said, we could discuss a setting to discount repeated send without arguments. In this example:
def foo
  model.do_something  # branch +2
  model.user.send_email if model.user.needs_invoice? # condition +1, branch +3 instead of +6
end

The first model would count as +1, but not the others, and only the first .user could be counted.

That said, we could discuss a setting to discount repeated send without arguments

Yeah, that actually makes more sense than not counting them at all

@jonas054 I'd love your input on this and #8986

@marcandre I have no objections to your idea about counting multiple instances of the same method call with no arguments as 1 within a method. Technically these method calls could be "branching out of scope" like any other. Nevertheless, it makes sense to view them differently as we continue to shoehorn this metric into the world of Ruby. :slightly_smiling_face:

PR #9053 is up


x509: certificate has expired or is not yet valid

Description
Trying to create the following PVC:
---
kind: PersistentVolumeClaim
apiVersion: v1
metadata:
  namespace: default
  name: pvtest
spec:
  accessModes:
    - ReadWriteOnce
  storageClassName: openebs-hostpath
  resources:
    requests:
      storage: 1Gi

One cluster is OK:

k apply -f tpv.yaml --> persistentvolumeclaim/pvtest created
k delete -f tpv.yaml --> persistentvolumeclaim "pvtest" deleted

Another cluster:

k apply -f tpv.yaml -->

Error from server (InternalError): error when creating "tpv.yaml": Internal error occurred: failed calling webhook "admission-webhook.openebs.io": Post https://admission-server-svc.openebs.svc:443/validate?timeout=30s: x509: certificate has expired or is not yet valid

Both clusters were deployed in the same way, have the same configuration, and both worked just fine for about 6 months until today (I didn't change anything on their config)
Expected Behavior

The second cluster should just create a PVC, then delete.
Actually, I've noticed this while trying to drop and delete again one namespace. 1st cluster was OK, 2nd is frozen on terminating that namespace forever, after some time I've found that the root cause for this is the inability to delete that namespace's PVCs. They're now reported as "lost".

Get namespaces:
sds                      Terminating   36d

PVCs in that namespace:
sds-0   Lost     pvc-07c870dd-41c9-11ea-a753-022eab783cb2   0                         openebs-hostpath   36d
sds-1   Lost     pvc-07c6a170-41c9-11ea-a753-022eab783cb2   0                         openebs-hostpath   36d
sds-2   Lost     pvc-07c949ec-41c9-11ea-a753-022eab783cb2   0                         openebs-hostpath   36d
sds-3   Lost     pvc-07c77cf6-41c9-11ea-a753-022eab783cb2   0                         openebs-hostpath   36d

kubectl get nodes:

ip-192-168-25-150.us-west-2.compute.internal   Ready    <none>   180d   v1.13.8-eks-cd3eb0
ip-192-168-49-247.us-west-2.compute.internal   Ready    <none>   180d   v1.13.8-eks-cd3eb0
ip-192-168-64-125.us-west-2.compute.internal   Ready    <none>   180d   v1.13.8-eks-cd3eb0
ip-192-168-83-36.us-west-2.compute.internal    Ready    <none>   180d   v1.13.8-eks-cd3eb0
``
* `kubectl get pods --all-namespaces`:

NAMESPACE                NAME                                              READY   STATUS      RESTARTS   AGE
default                  local-storage-nfs-nfs-server-provisioner-0        1/1     Running     1          36d
dev-analytics-api-prod   dev-analytics-api-7c7f56b8fc-448mh                1/1     Running     0          7h11m
dev-analytics-api-prod   dev-analytics-api-7c7f56b8fc-jsksj                1/1     Running     0          7h11m
dev-analytics-api-prod   dev-analytics-api-migration-1567762361901059583   0/1     Completed   0          180d
dev-analytics-ui         dev-analytics-ui-6c984d9958-8z26v                 1/1     Running     0          11d
json2hat                 json2hat-1581814860-dckpn                         0/1     Completed   0          17d
json2hat                 json2hat-1582419660-jj47j                         0/1     Completed   0          10d
json2hat                 json2hat-1583024460-rb7t8                         0/1     Completed   0          3d15h
kibana                   kibana-7567969554-mvvp6                           0/1     Running     0          31m
kibana                   kibana-7567969554-vnfcq                           0/1     Running     0          31m
kube-system              aws-node-lrh7d                                    1/1     Running     0          180d
kube-system              aws-node-qnnjk                                    1/1     Running     0          180d
kube-system              aws-node-rkn9z                                    1/1     Running     0          180d
kube-system              aws-node-xp6mf                                    1/1     Running     1          180d
kube-system              coredns-79d667b89f-22p4h                          1/1     Running     0          42d
kube-system              coredns-79d667b89f-fb8x5                          1/1     Running     0          42d
kube-system              kube-proxy-dv7bn                                  1/1     Running     0          180d
kube-system              kube-proxy-mfpwx                                  1/1     Running     1          180d
kube-system              kube-proxy-rs7d7                                  1/1     Running     0          180d
kube-system              kube-proxy-sp9jm                                  1/1     Running     0          180d
mariadb                  backups-page-dcc76bd4d-kbzh9                      1/1     Running     0          36d
mariadb                  mariadb-backups-1583203500-p4zmb                  0/1     Completed   0          37h
mariadb                  mariadb-backups-1583289900-cvpqr                  0/1     Completed   0          13h
mariadb                  mariadb-master-0                                  1/1     Running     3          153d
mariadb                  mariadb-slave-0                                   1/1     Running     0          153d
openebs                  maya-apiserver-c54455947-44k2r                    1/1     Running     0          42d
openebs                  openebs-admission-server-b945f5f94-bwlgk          1/1     Running     0          30m
openebs                  openebs-localpv-provisioner-6c778bbc9c-7ckjp      1/1     Running     0          27m
openebs                  openebs-ndm-259t6                                 1/1     Running     1          180d
openebs                  openebs-ndm-dxhml                                 1/1     Running     0          180d
openebs                  openebs-ndm-ht9dw                                 1/1     Running     0          180d
openebs                  openebs-ndm-m725n                                 1/1     Running     0          180d
openebs                  openebs-ndm-operator-796785b89f-dfgq7             1/1     Running     0          36d
openebs                  openebs-provisioner-7db48b57f4-wq5nd              1/1     Running     1          42d
openebs                  openebs-snapshot-operator-5664bf5777-cssqm        2/2     Running     7          180d
sortinghat-api           sortinghat-api-5f9d67cd8d-hx5kq                   1/1     Running     0          180d
* `kubectl get services`:

NAME                                       TYPE        CLUSTER-IP       EXTERNAL-IP   PORT(S)                                  AGE
kubernetes                                 ClusterIP   <IP_ADDRESS>               443/TCP                                  182d
local-storage-nfs-nfs-server-provisioner   ClusterIP   <IP_ADDRESS>           2049/TCP,20048/TCP,51413/TCP,51413/UDP   36d
* `kubectl get sc`:

NAME                        PROVISIONER                                                AGE
gp2 (default)               kubernetes.io/aws-ebs                                      182d
local-storage               kubernetes.io/no-provisioner                               182d
nfs-openebs-localstorage    cluster.local/local-storage-nfs-nfs-server-provisioner     36d
openebs-device              openebs.io/local                                           182d
openebs-hostpath            openebs.io/local                                           182d
openebs-jiva-default        openebs.io/provisioner-iscsi                               182d
openebs-snapshot-promoter   volumesnapshot.external-storage.k8s.io/snapshot-promoter   182d
* `kubectl get pv`:

NAME                                       CAPACITY   ACCESS MODES   RECLAIM POLICY   STATUS   CLAIM                                                     STORAGECLASS               REASON   AGE
pvc-050a7761-d075-11e9-95db-024cac4c3a40   4Gi        RWO            Delete           Bound    mariadb/data-mariadb-master-0                             openebs-hostpath                    180d
pvc-050e5e66-d075-11e9-95db-024cac4c3a40   4Gi        RWO            Delete           Bound    mariadb/data-mariadb-slave-0                              openebs-hostpath                    180d
pvc-57f3604e-41c8-11ea-a753-022eab783cb2   4Gi        RWO            Delete           Bound    default/data-local-storage-nfs-nfs-server-provisioner-0   openebs-hostpath                    36d
pvc-63fe9708-41c8-11ea-a753-022eab783cb2   4Gi        RWX            Delete           Bound    mariadb/mariadb-backups                                   nfs-openebs-localstorage            36d
* `kubectl get pvc`:

NAME                                              STATUS   VOLUME                                     CAPACITY   ACCESS MODES   STORAGECLASS       AGE
data-local-storage-nfs-nfs-server-provisioner-0   Bound    pvc-57f3604e-41c8-11ea-a753-022eab783cb2   4Gi        RWO            openebs-hostpath   36d
* OS (from `/etc/os-release`):

NAME="Ubuntu"
VERSION="18.04.2 LTS (Bionic Beaver)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 18.04.2 LTS"
VERSION_ID="18.04"
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
VERSION_CODENAME=bionic
UBUNTU_CODENAME=bionic
* Kernel (from `uname -a`):

Linux ip-172-31-34-53 4.15.0-1043-aws #45-Ubuntu SMP Mon Jun 24 14:07:03 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux

OpenEBS version: `1.1.0`

Found this here:
When a user creates or deletes a PVC, there are validation triggers and a request has been intercepted by the admission webhook controller after authentication/authorization from kube-apiserver. By default admission webhook service has been configured to 443 port and the error above suggests that either port 443 is not allowed to use in cluster or admission webhook service has to be allowed in k8s cluster Proxy settings.

But I don't know what actually should I do/can I do?

Fixed via OpenEBS Slack online help:
The fix was:
kubectl delete validatingwebhookconfigurations validation-webhook-cfg
kubectl delete deploy openebs-admission-server -n openebs

Then kubectl create -f example.yaml and kubectl delete -f example.yaml` started to work again on example.yaml file:
---
kind: PersistentVolumeClaim
apiVersion: v1
metadata:
  namespace: default
  name: pvtest
spec:
  accessModes:
    - ReadWriteOnce
  storageClassName: openebs-hostpath
  resources:
    requests:
      storage: 1Gi

Thanks again rateek14 from Slack.
I'll mention OpenEBS usage in CNCF here: https://github.com/openebs/openebs/issues/2719 (as requested on slack).
I will do it today, ASAP, just need to fix other stuff that was broken due to my issue, some things need to be redeployed, restarted etc once all is green I’ll add my use case there

@niladrih please check if this is still an issue.

This is still an issue @avishnu afaik, https://github.com/openebs/openebs/issues/2951#issuecomment-906791139 is the resolution at the moment.

This issue have a lot of commentary for 4 years. - Either is resolved for we need to fix it. It can persist on.
What's that status here? @avishnu @niladrih

Looks like a few users (e.g. @dpedu @flatboyseb ) have identified work-arounds (documented in this thread) that are viable solutions.
We may close this issue in 7 days if nobody objects. - @niladrih ? and @avishnu ?

The adminssion controller has been removed as a part of OpenEBS v4. This issue has been resolved.


Strange Silkscreen Behavior

Issue:
HTML view offsets any silkscreen that is not either a value or refdes. This issue may be macOS dependent, I have not tested on Windows. The issue appears to be present on multiple web browsers within macOS.
Screenshots:
Showing board close up: https://snipboard.io/oU4Dix.jpg
Zoomed out to show silkscreen offset: https://snipboard.io/jpY8ta.jpg
*Silkscreen offset can be seen in bottom right on board preview
Version info:
Version: 7.0.7, release build
Libraries:
wxWidgets 3.2.2
FreeType 2.13.0
HarfBuzz 7.3.0
FontConfig 2.14.2
libcurl/7.87.0 (SecureTransport) LibreSSL/2.8.3 zlib/1.2.11 nghttp2/1.41.0
Platform: macOS Big Sur Version 11.7.8 (Build 20G1351), 64 bit, Little endian, wxMac
Build Info:
Date: Aug 14 2023 15:55:50
wxWidgets: 3.2.2 (wchar_t,wx containers)
Boost: 1.82.0
OCC: 7.7.0
Curl: 7.77.0
ngspice: 38
Compiler: Clang 13.0.0 with C++ ABI 1002

I can't reproduce.
Can you attach a board file that shows this issue? Feel free to remove everything that is sensitive and leave only board outline and the silkscreen elements that dont render correctly.

Sure thing!
Here's the BOM as generated:
InteractiveBOMTestPCB.html.zip
Here's the board file that I generated the above BOM with:
InteractiveBOMTestPCB.kicad_pcb.zip
I hope that ZIP format is okay, I couldn't upload the files in their native format.

Interesting. I see the issue in your generated bom file but I don't get the same result if I generate it from the board myself.
Few things I noticed: the offset seems consistent and scaled by same number. All text items also use a custom font.
Did you use some batch text modification function before generating the bom?
Do you get the offset silkscreen issue even after closing kicad, reopening the board and generating bom again?
In the past some kicad apis had issue where some update operations did not fully update the internal state correctly and the API was returning wrong values which were fixed after the board was reloaded. Maybe it's a similar case here?

Can you share the font you use? I tried it with custom font on my end and can not reproduce it but it's not the same font.

Sure! It's Microgramma D Bold Extended, and I think I downloaded the font from here: https://fontsgeek.com/fonts/MicrogrammaDBolExt-Regular

Good news: I was able to reproduce it.
Bad news: it's a kicad bug https://gitlab.com/kicad/code/kicad/-/issues/15767
Most likely you will need to wait until it's fixed there unless I find a workaround.

Turns out it was already caught and fixed for next build. You can get testing build from https://downloads.kicad.org/kicad/macos/explore/7.0-testing

This is fixed in 7.0.8


Trying to get property of non object (null)

Hi,
If the request timeout the following Exception is caught in your method check():
		} catch(ConnectException $e) {
			$response = $e->getResponse();
            dd($e->getResponse());
			$this->responseCode = $response->getStatusCode();
		}

getResponse() is not accessible...
:-)

Thank you for the heads up... I will look into this.

+1. The ConnectException overwrites the method getStatusCode and return null. I would appreciate a fix.

This has been resolved. Run composer update to get the latest version with the fix.


Bumps versions to 0.9.0-SNAPSHOT.

Yea, jib-core's version is never actually bumped because we don't release it.


KeyPoint tracker

Track objects described by key points.

Any updates or examples on keypoint tracking (e.g. human pose) would be appreciated. Is there such feature?

@ogencoglu keypoint tracker is not yet implemented. I don't have spare time last time to complete the code. But I plan to do that.


[BUG] The information in commit detail page was incorrect

Gitea version (or commit ref):
Git version:
Operating system:
Database (use [x]):

[ ] PostgreSQL
[ ] MySQL
[ ] MSSQL
[X] SQLite

Can you reproduce the bug at https://try.gitea.io:

[X] Yes (provide example URL) https://gitea.com/gitnex/GitNex/commit/7f0689524f2132cd52042f53eee93c43778358b8?lang=en-US
[ ] No
[ ] Not relevant

Log gist:

Description
When you visit a commit's detail page, if this commit is a merge opeation. The information on the page was a bit incorrect.
As you can see in this screenshot:
The parent commit is incorrect.

Screenshots

What exactly do you mean by that?
The commit 7f0689524f2132cd52042f53eee93c43778358b8 has two parents: 29756511f3f3c2e32a7d89bb051a2494cc942211 and a4afa5fbc2fe9e6fea17788975987cf6faab382f
You should get same result by doing git log -1 7f0689524f2132cd52042f53eee93c43778358b8

What exactly do you mean by that?
The commit 7f0689524f2132cd52042f53eee93c43778358b8 has two parents: 29756511f3f3c2e32a7d89bb051a2494cc942211 and a4afa5fbc2fe9e6fea17788975987cf6faab382f
You should get same result by doing git log -1 7f0689524f2132cd52042f53eee93c43778358b8
commit 7f0689524f2132cd52042f53eee93c43778358b8
Merge: 2975651 a4afa5f
Author: M M Arif<EMAIL_ADDRESS>Date:   Fri May 15 22:08:29 2020 +0000

    Merge pull request 'Add corners to popup dialogs' (#495) from ui-enhancements into master

    Reviewed-on: https://gitea.com/gitnex/GitNex/pulls/495
    Reviewed-by: opyale<EMAIL_ADDRESS>

I am very sorry for the late reply.
After checking about this again, i confirm you are right, that is only a ui issue.
Thanks for your pr!


Collapse and Expand Icons are switched

Hi,
I recently started using this extension and was a bit confused in the beginning.

When I saw this screen, I assumed that my file did not Parse correctly since none of the components showed up in (what I assumed) was the expanded list.

When I clicked on it, the Icon switched to the "collapsed" Icon but content showed up.
This is inverse to how it is handled in the rest of VSCode, where ">" indicated collapsed sections and "v" indicates expanded ones.

I've also taken a look at other software like MacOs Finder, Windows Explorer and the Gnome file Manager and the behavior seems to be universal.

I did check for the corresponding lines of code and will enter a PR shortly.
Thanks for your efforts, it is a great time-saver!

Fixed with #136


Line 9 Error

I have done (as far as I know) everything from the README file but I have the 'dilemma' on how to start the actual bot, do I make an .exe file out of the index file, or do I just run in thru cmd, but the thing is that I get the error message from the right and on the left is what I 'changed' in the code. Have I done something wrong and if not how do I run it?

Hello,
It looks like you're starting Redditube the wrong way.
You should run your own "index.js" file with NodeJS (install it if you don't have it on your computer).
To do that, you can run node index.js or npm start in a terminal (CMD).

I have downloaded node, in fact deleted it and downloaded it before, but if I run npm start I get missing script: start. I think messed up when running npm install redditube because I didn't run it in the folder where redditube is, and to ix that I deleted everything, but when I tried to run npm install redditube it basically says to me that it is installed somewhere else. Is there I can delete it and download it again?

I have downloaded node, in fact deleted it and downloaded it before, but if I run "npm start" I get "missing script: start". I think I messed up when running "npm install redditube: because I didn't run it in the folder where redditube is, and to fix that I deleted everything, but when I tried to run "npm install redditube" it basically says to me that it is installed somewhere else. Is there I can delete it and download it again?

This is what I get when I run "node index.js" and "npm start"

Hey, sorry for the late response. Just to be clear, you don't need to download Redditube from GitHub yourself, if you already installed it with npm install redditube.
Here are some simple steps

Create a folder for your project
Inside of it, run npm install redditube, this will download Redditube so that you can use it in your project.
Create a JavaScript file (e.g. "index.js") and put your own code into it (e.g. this example code)
Finally, try running your file with node index.js

I hope this helps.


[WIP] Attributes RST Tutorial

Motivation and Context
This document is to serve the purpose of exposing the json tags that are supported in the various physics manager, scene and object configuration files.  It should also be expanded to present tutorial python code for attributes modification and consumption.
EDIT(JT) : Note, this is still a WIP, and won't be ready to merge until Scene configurations have been implemented.

How Has This Been Tested
Compiles locally within docs

Types of changes

[x] Docs change / refactoring / dependency upgrade
[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Checklist

[ ] My code follows the code style of this project.
[x] My change requires a change to the documentation.
[x] I have updated the documentation accordingly.
[x] I have read the CONTRIBUTING document.
[x] I have completed my CLA (see CONTRIBUTING)
[ ] I have added tests to cover my changes.
[x] All new and existing tests passed.

I left a bunch of minor comments just as feedback from a user perspective. Don't feel obligated to respond or make changes. Thanks for writing good documentation!

Thank you for being thorough Eric, I am glad you looked things over, and sorry I didn't include you as a reviewer. :)

This has been pre-empted by this PR


added achievements section

Related Issue
None
Fixes:  #3742
Description
added badges for various tasks on hover title is displayed(for achievement button, badge earned in my profile)
#3742
Type of PR

[ ] Bug fix
[X] Feature enhancement
[ ] Documentation update
[ ] Other (specify): _______________

Screenshots / videos (if applicable)
added a bubble

main site for badge information:

added some badges in my profile

Checklist:

[X] I have made this change from my own.
[X] I have taken help from some online resources.
[X] My code follows the style guidelines of this project.
[X] I have performed a self-review of my own code.
[X] I have commented my code, particularly in hard-to-understand areas.
[X] I have made corresponding changes to the documentation.
[X] My changes generate no new warnings.
[X] I have tested the changes thoroughly before submitting this pull request.
[X] I have provided relevant issue numbers and screenshots after making the changes.

can u add this functionality --> that if user signin to website , then they get the points --> and the respective badge is displayed on the profile page  .
like  github profile badges .

@abhi03ruchi but I have already added some badges in my profile. Are you suggesting to make changes there too?

u have added all badges in the my profile for now .
i was saying , add functionality where badges actually earned by user are displayed in there profile . like u get badge and points if u signin to SwapReads , so if user sign in karta hai toh , usse woh badge deekhe my profile par .

like github mein hota hai . i have completed tasks and fulfilled some conditions so i have 3 badges .  u have 2 badges which u have earned .

do u understand what i am trying to say . mujhe tuhmara samjh nhi aaya . temporary nhi hoga na , jo earn kiya hai woh rahega


support parquet version > 1

When reading parquet file generated by pyarrow v9.0.0
See https://github.com/dvirtz/vscode-parquet-viewer/issues/55
birthdays-v9.zip

Thanks @ehiggs-deliverect. As far as I know the arrow js API doesn't support parquet yet.

@dvirtz is this planned to be added? we are getting error:
Error: invalid parquet version when trying to parse V2 parquet generated with pyarrow

@saritvakrat I don't plan to work on this library any more. If you want a JS parquet library you can try parquet-wasm


Source Code for Goldmine Problem in C++

Related Issue
Solved issue number: #487
Describe the changes you've made
Adding Source Code for Goldmine Problem in C++
Describe if there is any unusual behaviour of your code(Write NA if there isn't)
NA
Language used for coding
C++
Checklist:

[x] My code follows the style guidelines of this project.
[x] I have performed a self-review of my own code.
[x] I have commented my code, particularly in hard-to-understand areas.
[x] I have documented the code.
[x] New and existing unit tests pass locally with my changes.

Please review my code ;-)


[regression-test](bloom filter) Add bloom filter hit test

Proposed changes
Issue Number: close #xxx

Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

run buildall

run buildall

run buildall

run buildall


How to configure Steam auth?

There is no "/auth/steam" folder. How should I set it up?

There's no auth/steam folder because it shouldn't exist. It's a route that is handled by express.

Exactly. Set it up in the config.js

How do I find the TwoFactor Code tho? I've the Identity and Shared Secret.

What do you mean by that @Dakshster ?

@Dakshster shared secret is same as two factor code

Ohh Okay, Thanks 👍


Changes for aggregate score computation, full log exports

This PR changes the algorithm for computing aggregate scores, and adds full-log export functionality to the task evaluation scripts.

I had to modify the requirements.txt file in order to get the automated tests to pass. The issue is not with correctness, but rather that the test platform is running out of disk space due to a limitation that pip must download packages in order to resolve dependency conflicts. This is typically not a big issue, but here pip is downloading multiple versions of tensorflow which is typically ~500MB, which then exhausts our available space. I'm not sure what the best solution is here.


How to Add Linux Image in docker-compose.yml?

How can we add linux image at the top?
Thanks.

I think php image uses linux distribution i.e. Alpine example: FROM php:7.4.10-fpm-alpine

This is correct. The PHP image used is pulled down from the Docker hub, and currently using 7.4-fpm-alpine.

This is correct. The PHP image used is pulled down from the Docker hub, and currently using 7.4-fpm-alpine.


Fix chinese locale

For song which needs ffmpeg to transcode and its path contains chinese characters, it will fail because the characters removed from the path passed to ffmpeg. This fix is to change the default locale to zh_CN.UTF-8 which fixes this issue.

use en_US.UTF8 would be better, I will make another pull request. Thanks.


Constant goofys crash

I'm getting a consistent crash on every moderate sized upload:
goroutine 28 [running]:
github.com/kahing/goofys/internal.(*Inode).DeRef(0xc437888ea0, 0x1, 0xc437888ea0)
        /home/plasma/work/src/github.com/kahing/goofys/internal/handles.go:290 +0x26d
github.com/kahing/goofys/internal.(*Goofys).ForgetInode(0xc420165ee0, 0xa07340, 0xc45719ff20, 0xc43786d5b0, 0x89c240, 0xc43786d5b0)
        /home/plasma/work/src/github.com/kahing/goofys/internal/goofys.go:697 +0x79
github.com/jacobsa/fuse/fuseutil.(*fileSystemServer).handleOp(0xc4203b21e0, 0xc4203a81a0, 0xa07340, 0xc45719ff20, 0x89c240, 0xc43786d5b0)
        /home/plasma/work/src/github.com/jacobsa/fuse/fuseutil/file_system.go:151 +0x8c4
github.com/jacobsa/fuse/fuseutil.(*fileSystemServer).ServeOps(0xc4203b21e0, 0xc4203a81a0)
        /home/plasma/work/src/github.com/jacobsa/fuse/fuseutil/file_system.go:119 +0x11c
github.com/jacobsa/fuse.Mount.func1(0xa02260, 0xc4203b21e0, 0xc4203a81a0, 0xc420176018)
        /home/plasma/work/src/github.com/jacobsa/fuse/mount.go:89 +0x3f
created by github.com/jacobsa/fuse.Mount
        /home/plasma/work/src/github.com/jacobsa/fuse/mount.go:88 +0x497

Which operation causes this?  Can you reproduce a test case?

I meet the same issue:
panic: Unknown inode: 2209

goroutine 40 [running]:
github.com/kahing/goofys/internal.(*Goofys).getInodeOrDie(0xc420220680, 0x8a1, 0xc422d3dec0)
	/opt/ml/bin/work/src/github.com/kahing/goofys/internal/goofys.go:421 +0x126
github.com/kahing/goofys/internal.(*Goofys).ForgetInode(0xc420220680, 0xa00a00, 0xc4230111a0, 0xc422d55000, 0x896dc0, 0xc422d55000)
	/opt/ml/bin/work/src/github.com/kahing/goofys/internal/goofys.go:696 +0x58
github.com/jacobsa/fuse/fuseutil.(*fileSystemServer).handleOp(0xc4202a81c0, 0xc42032e820, 0xa00a00, 0xc4230111a0, 0x896dc0, 0xc422d55000)
	/opt/ml/bin/work/src/github.com/jacobsa/fuse/fuseutil/file_system.go:151 +0x8c4
github.com/jacobsa/fuse/fuseutil.(*fileSystemServer).ServeOps(0xc4202a81c0, 0xc42032e820)
	/opt/ml/bin/work/src/github.com/jacobsa/fuse/fuseutil/file_system.go:119 +0x11c
github.com/jacobsa/fuse.Mount.func1(0x9fb920, 0xc4202a81c0, 0xc42032e820, 0xc4202b0028)
	/opt/ml/bin/work/src/github.com/jacobsa/fuse/mount.go:89 +0x3f
created by github.com/jacobsa/fuse.Mount
	/opt/ml/bin/work/src/github.com/jacobsa/fuse/mount.go:88 +0x497

what version is this, could you try master?

Also have this issue on the latest build version
2018/12/07 17:04:52.924861 fuse.DEBUG <-- LookUpInode 4 ecc65405-fe6a-45c4-9b72-7d4f726553cd.jpg
2018/12/07 17:04:52.924946 fuse.DEBUG Op 0x00000415        connection.go:478] -> OK (inode 981)
2018/12/07 17:04:52.925063 fuse.DEBUG Op 0x00000416        connection.go:395] <- ReadDir (inode 4)
2018/12/07 17:04:52.925211 fuse.DEBUG ReadDir 4 pa [977]
panic: invalid offset 977, base=999
goroutine 1165 [running]:
github.com/kahing/goofys/internal.(*DirHandle).ReadDir(0xc4200ab3c0, 0x3d1, 0xc4200ab3c8, 0xc420a3c970, 0x1)
/tmp/go/src/github.com/kahing/goofys/internal/dir.go:342 +0x12ca
github.com/kahing/goofys/internal.(*Goofys).ReadDir(0xc420183930, 0x5604af468540, 0xc420eecd80, 0xc420657b80, 0x0, 0x0)
/tmp/go/src/github.com/kahing/goofys/internal/goofys.go:814 +0x255
github.com/jacobsa/fuse/fuseutil.(*fileSystemServer).handleOp(0xc4203a6b60, 0xc420500750, 0x5604af468540, 0xc420eecd80, 0x5604af376c60, 0xc420657b80)
/tmp/go/src/github.com/jacobsa/fuse/fuseutil/file_system.go:181 +0xc87
created by github.com/jacobsa/fuse/fuseutil.(*fileSystemServer).ServeOps
/tmp/go/src/github.com/jacobsa/fuse/fuseutil/file_system.go:121 +0x178
Issue is when there are a lot of files in the bucket

+1

I also have the "panic: invalid offset", occasionally, while running a find on moderately full directories (can't provide stats right now, but hundreds, not thousands of files, let's say).
It's the issue that @dannykitchen is reporting, probably different than the others in this issue. Perhaps they should be split?

Upon further testing:
it happens, not always, but periodically, on directories with more than 1000 files.
/var/opt/girocount/settlements/1-116 # ls -ltr | wc -l
1282
/directory/mounted # ls -ltr | wc -l
1282
/directory/mounted # ls -ltr | wc -l
986
/directory/mounted # ls -ltr | wc -l
ls: .: Socket not connected
0
/directory/mounted #```

The same directory, listed from a container based on ubuntu:18.04 never causes a crash.
Listing it from an alpine container (sharing the mount with ubuntu:18.04) causes the crash of the ubuntu container.

have you tried master?

Honestly, I haven't.
I changed a bit the design of the system using it, and now I am not sharing the mountpoint with alpine anymore.
The next time I work on it I'll try to set up a test for it.

We are using goofys to mount a S3 bucket so our customer can use FTP client to upload files to S3, but goofys crashes sometimes.
Here is our configuration:

goofys is running in a container (centos:centos7.4.1708) with memory limit 2GB. goofys version is 0.19.0-943e017724ea820eb4185419ef3c41d6f921a324
S3 bucket has 10TB+ files
When we use 50 concurrent FTP clients to upload files, goofys crashe. The error is as below.
panic: runtime error: index out of range

goroutine 23491354 [running]:
github.com/kahing/goofys/internal.(*Inode).isDir(...)
/home/khc/Code/go/src/github.com/kahing/goofys/internal/handles.go:151
github.com/kahing/goofys/internal.(*Inode).findInodeFunc.func1(0x1244, 0x863300)
/home/khc/Code/go/src/github.com/kahing/goofys/internal/handles.go:151 +0xaa
sort.Search(0x1245, 0xc430f1c540, 0x15)
/usr/local/go/src/sort/search.go:66 +0x58
github.com/kahing/goofys/internal.(*Inode).insertChildUnlocked(0xc420726630, 0xc42d2fec60)
/home/khc/Code/go/src/github.com/kahing/goofys/internal/handles.go:240 +0x13b
github.com/kahing/goofys/internal.(*Goofys).insertInode(0xc4201d28f0, 0xc420726630, 0xc42d2fec60)
/home/khc/Code/go/src/github.com/kahing/goofys/internal/goofys.go:687 +0x53
github.com/kahing/goofys/internal.(*Goofys).CreateFile(0xc4201d28f0, 0xc89020, 0xc42f75d0e0, 0xc4203ff180, 0x0, 0x0)
/home/khc/Code/go/src/github.com/kahing/goofys/internal/goofys.go:973 +0x138
github.com/jacobsa/fuse/fuseutil.(*fileSystemServer).handleOp(0xc4203b61a0, 0xc42057e0c0, 0xc89020, 0xc42f75d0e0, 0x8ba240, 0xc4203ff180)
/home/khc/Code/go/src/github.com/jacobsa/fuse/fuseutil/file_system.go:160 +0x547
created by github.com/jacobsa/fuse/fuseutil.(*fileSystemServer).ServeOps
/home/khc/Code/go/src/github.com/jacobsa/fuse/fuseutil/file_system.go:121 +0x176

I've been running into this a lot lately. It is exacerbated by running parallel scans with multiple threads and I can make it happen regularly in this use case on a relatively large bucket (~25mil files).
I have used master and here's my reproduced traceback. (fuse logging and s3 logging were both turned on, but it doesn't look like they are very helpful)
2019/06/02 22:35:43.049582 fuse.DEBUG <-- ReadDir<PHONE_NUMBER>0770944332 enron85/farmer-d/discussion_threads [112. 120]
2019/06/02 22:35:43.049594 fuse.DEBUG <-- ReadDir<PHONE_NUMBER>0770944332 enron85/farmer-d/discussion_threads [1120. 121]
2019/06/02 22:35:43.049612 fuse.DEBUG <-- ReadDir<PHONE_NUMBER>0770944332 enron85/farmer-d/discussion_threads [1121. 122]
2019/06/02 22:35:43.049626 fuse.DEBUG <-- ReadDir<PHONE_NUMBER>0770944332 enron85/farmer-d/discussion_threads [1122. 123]
2019/06/02 22:35:43.049638 fuse.DEBUG <-- ReadDir<PHONE_NUMBER>0770944332 enron85/farmer-d/discussion_threads [1123. 124]
2019/06/02 22:35:43.049650 fuse.DEBUG <-- ReadDir<PHONE_NUMBER>0770944332 enron85/farmer-d/discussion_threads [1124. 125]
2019/06/02 22:35:43.049661 fuse.DEBUG <-- ReadDir<PHONE_NUMBER>0770944332 enron85/farmer-d/discussion_threads [1125. 126]
2019/06/02 22:35:43.049672 fuse.DEBUG <-- ReadDir<PHONE_NUMBER>0770944332 enron85/farmer-d/discussion_threads [1126. 127]
2019/06/02 22:35:43.049683 fuse.DEBUG <-- ReadDir<PHONE_NUMBER>0770944332 enron85/farmer-d/discussion_threads [1128. 128]
2019/06/02 22:35:43.049724 fuse.DEBUG Op 0x0016c0b1        connection.go:478] -> OK ()
panic: deref 1 from 0
goroutine 83 [running]:
github.com/kahing/goofys/internal.(*Inode).DeRef(0xc00a085560, 0x1, 0xc000165b58)
/home/doug/go/src/github.com/kahing/goofys/internal/handles.go:292 +0x23c
github.com/kahing/goofys/internal.(*Goofys).ForgetInode(0xc000165ad0, 0xa75180, 0xc0514bbe00, 0xc04698e9b0, 0x0, 0x0)
/home/doug/go/src/github.com/kahing/goofys/internal/goofys.go:718 +0xde
github.com/jacobsa/fuse/fuseutil.(*fileSystemServer).handleOp(0xc000310400, 0xc00009e680, 0xa75180, 0xc0514bbe00, 0x8dff80, 0xc04698e9b0)
/home/doug/go/src/github.com/jacobsa/fuse/fuseutil/file_system.go:151 +0x8c4
github.com/jacobsa/fuse/fuseutil.(*fileSystemServer).ServeOps(0xc000310400, 0xc00009e680)
/home/doug/go/src/github.com/jacobsa/fuse/fuseutil/file_system.go:119 +0x11c
github.com/jacobsa/fuse.Mount.func1(0xa70020, 0xc000310400, 0xc00009e680, 0xc000280038)
/home/doug/go/src/github.com/jacobsa/fuse/mount.go:89 +0x3f
created by github.com/jacobsa/fuse.Mount
/home/doug/go/src/github.com/jacobsa/fuse/mount.go:88 +0x492

My theory is that DeRef is being called in parallel threads for the same inode when there is a lot of parallel activity going on. I'm guessing ForgetInode is being called twice from Fuse somehow? I have hacked around it for my testing (since the S3 is static) by changing DeRef to issue a warning when the link count would go < 0 on a double deref, set stale and count to 0, and return instead of doing a panic. I'm not sure what would happen if the bucket was actually being written during this. Probably nothing good, but it's good for my test use case on a readonly mount.

I seem to still get these (2019-11-05) in mainline master. 0.22.0
2019/11/05 15:34:45.842798 main.ERROR stacktrace from panic: deref 4 from 2
goroutine 55 [running]:
runtime/debug.Stack(0xc0000bfcd8, 0xce7b40, 0xc1051dc290)
/usr/lib/golang/src/runtime/debug/stack.go:24 +0xa7
github.com/kahing/goofys/api/common.LogPanic(0xc0000bfeb8)
/home/doug/go/src/github.com/kahing/goofys/api/common/panic_logger.go:32 +0x6e
panic(0xce7b40, 0xc1051dc290)
/usr/lib/golang/src/runtime/panic.go:513 +0x1b9
github.com/kahing/goofys/internal.(*Inode).DeRef(0xc0cdab2510, 0x4, 0xc0694d5d08)
/home/doug/go/src/github.com/kahing/goofys/internal/handles.go:249 +0x23c
github.com/kahing/goofys/internal.(*Goofys).ForgetInode(0xc0002959a0, 0x1020240, 0xc114be4ff0, 0xc111f30370, 0x0, 0x0)
/home/doug/go/src/github.com/kahing/goofys/internal/goofys.go:729 +0x9e
github.com/kahing/goofys/api/common.FusePanicLogger.ForgetInode(0x102c400, 0xc0002959a0, 0x1020240, 0xc114be4ff0, 0xc111f30370, 0x0, 0x0)
/home/doug/go/src/github.com/kahing/goofys/api/common/panic_logger.go:57 +0x81
github.com/kahing/goofys/vendor/github.com/jacobsa/fuse/fuseutil.(*fileSystemServer).handleOp(0xc0000d8420, 0xc0000a52b0, 0x1020240, 0xc114be4ff0, 0xcbe860, 0xc111f30370)
/home/doug/go/src/github.com/kahing/goofys/vendor/github.com/jacobsa/fuse/fuseutil/file_system.go:151 +0x8c4
github.com/kahing/goofys/vendor/github.com/jacobsa/fuse/fuseutil.(*fileSystemServer).ServeOps(0xc0000d8420, 0xc0000a52b0)
/home/doug/go/src/github.com/kahing/goofys/vendor/github.com/jacobsa/fuse/fuseutil/file_system.go:119 +0x11c
github.com/kahing/goofys/vendor/github.com/jacobsa/fuse.Mount.func1(0x1015ac0, 0xc0000d8420, 0xc0000a52b0, 0xc0000aa048)
/home/doug/go/src/github.com/kahing/goofys/vendor/github.com/jacobsa/fuse/mount.go:89 +0x3f
created by github.com/kahing/goofys/vendor/github.com/jacobsa/fuse.Mount
/home/doug/go/src/github.com/kahing/goofys/vendor/github.com/jacobsa/fuse/mount.go:88 +0x492
But, if I run goofys -f, it doesn't seem to be fatal to the process and I can still run ls operations.


Building Data Pipeline

[x] gather and annotate Oxford Flower 102 dataset
[ ] split data into test/ train/ validation
[ ] dataloading with TorchVision

Using stratified sampling because dataset had 102 different categories.

Need to add labels to validation loader.

[ ] Remove images with watermarks

Closed with 5b2a79a

Handled in 5b2a79a.


Docker deployment and why docker guide

Answer deployment story,
Can we have ?
ENTRYPOINT ["source", ".env", "&&", mix]

assume releases are a good idea there are two deploy stories. To Vm and To docker,
Each of these solutions could have a generator at the top umbrella level.
Generator should setup config/service discovery. use Tokumei.Config as alternative to CongEx
Good article about the Docker ecosystem
https://www.digitalocean.com/community/tutorials/the-docker-ecosystem-an-introduction-to-common-components
Handle hosting, https://blog.codeship.com/the-shortlist-of-docker-hosting/
Network overlays
Use Docker to wrap a generator? Is that possible
https://stackoverflow.com/questions/23439126/how-to-mount-host-directory-in-docker-container
docker run tokumei/umbrella my_app -v .:/some/workdir
cd my_app
docker run tokumei/api

looks for apps dir to see if in umbrella
source aliases.sh
iex # runs in development docker
mix # runs in development docker

example of full development setup, looks to closely match my current vagrant dev env
https://floriank.github.io/post/using-phoenix-with-docker-part-3-containerization/#kitteh-dockerfile
docker best practise
https://docs.docker.com/engine/userguide/eng-image/dockerfile_best-practices/#volume
references to prior art
https://github.com/bitwalker/alpine-elixir
https://gist.github.com/vbalazs/d25504c5eb8933fe26fe
https://github.com/msaraiva/docker-alpine/blob/master/dockerfiles/elixir-dev/1.3.4/Dockerfile
docker run --env-file=.env

https://medium.com/@alexeiled/docker-pattern-the-build-container-b0d0e86ad601

Reasons for using docker,

heterogenious deployment environment
many scalable cloud services available

even when deploying without docker

no need for packet manager, install correct Elixir version in development environment.
standardise development environment. e.g use of inotifytools for file watches
secret management. no need to add development secrets to machine, loaded to docker containers only

https://docs.docker.com/engine/userguide/eng-image/multistage-build/

https://zorbash.com/post/docker-multi-stage-elixir-distillery-releases/


Publish main to live on 9/22 @ 10:30 am

Docs Build status updates of commit b69524d:
:bulb: Validation status: suggestions

File
Status
Preview URL
Details

spmt/spmt-ps/spmt/Add-SPMTTask.md
:bulb:Suggestion
View (spmt-ps)
Details

spmt/spmt-ps/spmt/Get-SPMTMigration.md
:bulb:Suggestion
View (spmt-ps)
Details

spmt/spmt-ps/spmt/Register-SPMTMigration.md
:bulb:Suggestion
View (spmt-ps)
Details

spmt/spmt-ps/spmt/Remove-SPMTTask.md
:bulb:Suggestion
View (spmt-ps)
Details

spmt/spmt-ps/spmt/Show-SPMTMigration.md
:bulb:Suggestion
View (spmt-ps)
Details

spmt/spmt-ps/spmt/Start-SPMTMigration.md
:bulb:Suggestion
View (spmt-ps)
Details

spmt/spmt-ps/spmt/Stop-SPMTMigration.md
:bulb:Suggestion
View (spmt-ps)
Details

spmt/spmt-ps/spmt/Unregister-SPMTMigration.md
:bulb:Suggestion
View (spmt-ps)
Details

exchange/exchange-ps/exchange/Connect-ExchangeOnline.md
:white_check_mark:Succeeded
View (exchange-ps)

exchange/exchange-ps/exchange/Connect-IPPSSession.md
:white_check_mark:Succeeded
View (exchange-ps)

exchange/exchange-ps/exchange/Connect-Mailbox.md
:white_check_mark:Succeeded
View (exchange-ps)

exchange/exchange-ps/exchange/Delete-QuarantineMessage.md
:white_check_mark:Succeeded
View (exchange-ps)

exchange/exchange-ps/exchange/Disable-AddressListPaging.md
:white_check_mark:Succeeded
View (exchange-ps)

exchange/exchange-ps/exchange/Disable-AntiPhishRule.md
:white_check_mark:Succeeded
View (exchange-ps)

exchange/exchange-ps/exchange/Disable-App.md
:white_check_mark:Succeeded
View (exchange-ps)

exchange/exchange-ps/exchange/Disable-ATPProtectionPolicyRule.md
:white_check_mark:Succeeded
View (exchange-ps)

exchange/exchange-ps/exchange/Disable-CmdletExtensionAgent.md
:white_check_mark:Succeeded
View (exchange-ps)

exchange/exchange-ps/exchange/Disable-DistributionGroup.md
:white_check_mark:Succeeded
View (exchange-ps)

exchange/exchange-ps/exchange/Disable-EOPProtectionPolicyRule.md
:white_check_mark:Succeeded
View (exchange-ps)

exchange/exchange-ps/exchange/Disable-HostedContentFilterRule.md
:white_check_mark:Succeeded
View (exchange-ps)

exchange/exchange-ps/exchange/Disable-HostedOutboundSpamFilterRule.md
:white_check_mark:Succeeded
View (exchange-ps)

exchange/exchange-ps/exchange/Disable-InboxRule.md
:white_check_mark:Succeeded
View (exchange-ps)

exchange/exchange-ps/exchange/Disable-JournalArchiving.md
:white_check_mark:Succeeded
View (exchange-ps)

exchange/exchange-ps/exchange/Disable-JournalRule.md
:white_check_mark:Succeeded
View (exchange-ps)

exchange/exchange-ps/exchange/Disable-Mailbox.md
:white_check_mark:Succeeded
View (exchange-ps)

This comment lists only the first 25 files in the pull request.

spmt/spmt-ps/spmt/Add-SPMTTask.md

Line 2, Column 1: [Suggestion: description-missing - See documentation] Missing required attribute: 'description'.

spmt/spmt-ps/spmt/Get-SPMTMigration.md

Line 2, Column 1: [Suggestion: description-missing - See documentation] Missing required attribute: 'description'.

spmt/spmt-ps/spmt/Register-SPMTMigration.md

Line 2, Column 1: [Suggestion: description-missing - See documentation] Missing required attribute: 'description'.

spmt/spmt-ps/spmt/Remove-SPMTTask.md

Line 2, Column 1: [Suggestion: description-missing - See documentation] Missing required attribute: 'description'.

spmt/spmt-ps/spmt/Show-SPMTMigration.md

Line 2, Column 1: [Suggestion: description-missing - See documentation] Missing required attribute: 'description'.

spmt/spmt-ps/spmt/Start-SPMTMigration.md

Line 2, Column 1: [Suggestion: description-missing - See documentation] Missing required attribute: 'description'.

spmt/spmt-ps/spmt/Stop-SPMTMigration.md

Line 2, Column 1: [Suggestion: description-missing - See documentation] Missing required attribute: 'description'.

spmt/spmt-ps/spmt/Unregister-SPMTMigration.md

Line 2, Column 1: [Suggestion: description-missing - See documentation] Missing required attribute: 'description'.

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
Note: Your PR may contain errors or warnings or suggestions unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel


Box not applying any attribute styles

<Box mt={2} mb={6} p={3}  color="text.primary"> does not apply any margin, padding, or colors

[x] The issue is present in the latest release.
[x] I have searched the issues of this repository and believe that this is not a duplicate.

Current Behavior 😯
<Box mt={2} mb={6} p={3}  color="text.primary"> does not apply any margin, padding, or colors
Expected Behavior 🤔
<Box mt={2} mb={6} p={3}  color="text.primary"> should apply a margin, padding to the div container it creates, and set a color style for it's children to inherit.
Steps to Reproduce 🕹

Test this page - is built from this open source code  - but does not have any of the set padding / margins / colors (1 color is set from App.css though)

or git clone https://material-ui.com/components/box/ && yarn install && yarn start

Your Environment 🌎
Our package.json uses React 16.14 and Material-UI 4.11.3

- I've tested this in Chrome, Firefox and Safari.
- Per the [warning in the docs](https://material-ui.com/components/box) , I am import Box "last" in any component it's used.

@mnajdova , I guess I was hoping there's a known conflict with one of these packages or something:
"@camberi/firecms": "^0.41.1",
    "@date-io/moment": "^2.10.11",
    "@draft-js-plugins/alignment": "^4.0.0",
    "@draft-js-plugins/anchor": "^4.0.0",
    "@draft-js-plugins/buttons": "^4.0.0",
    "@draft-js-plugins/drag-n-drop": "^4.0.0",
    "@draft-js-plugins/drag-n-drop-upload": "^4.0.0",
    "@draft-js-plugins/editor": "^4.0.0",
    "@draft-js-plugins/focus": "^4.0.0",
    "@draft-js-plugins/image": "^4.0.0",
    "@draft-js-plugins/inline-toolbar": "^4.0.0",
    "@draft-js-plugins/resizeable": "^4.0.0",
    "@draft-js-plugins/static-toolbar": "^4.0.0",
    "@draft-js-plugins/video": "^4.0.0",
    "@material-ui/core": "^4.11.3",
    "@material-ui/icons": "^4.11.2",
    "@material-ui/lab": "^4.0.0-alpha.48",
    "@material-ui/pickers": "^3.2.10",
    "@testing-library/jest-dom": "^4.2.4",
    "@testing-library/react": "^9.3.2",
    "@testing-library/user-event": "^7.1.2",
    "@types/draft-js": "^0.10.44",
    "@types/jest": "^26.0.20",
    "@types/node": "^14.14.20",
    "@types/react": "^17.0.0",
    "@types/react-dom": "^17.0.0",
    "@types/react-router-dom": "^5.1.7",
    "axios": "^0.21.1",
    "caniuse-lite": "^1.0.30001191",
    "connected-react-router": "^6.8.0",
    "draft-js": "^0.11.7",
    "draft-js-export-html": "^1.4.1",
    "firebase": "8.6.2",
    "material-ui-dropzone": "^3.5.0",
    "moment": "^2.29.1",
    "notistack": "^0.8.8",
    "react": "^16.14.0",
    "react-beforeunload": "^2.4.0",
    "react-dom": "^16.14.0",
    "react-draggable": "^4.4.3",
    "react-masonry-css": "^1.0.16",
    "react-redux": "^7.2.2",
    "react-router": "^5.2.0",
    "react-router-dom": "^5.2.0",
    "react-sanitized-html": "^2.0.0",
    "react-scripts": "3.4.3",
    "redux": "^4.0.5",
    "redux-immer": "~1.0.5",
    "redux-immutable-state-invariant": "^2.1.0",
    "redux-thunk": "^2.3.0",
    "sanitize-html": "^2.4.0",
    "styled-components": "^5.2.1",
    "typescript": "^4.2.2",
    "video-stream-merger": "^3.6.3"

I'll try to narrow it down

I'll try to narrow it down

That will help us! We don't have the bandwidth to go trough all issues, unless we have a clear reproduction.

Closing since no reproduction was provided.


Appointment Scheduler System

Objective: Implement the appointment scheduler with transportation booking.
Tasks:

[x] Integrate APIs for direct appointment booking with healthcare providers.
[x] Ensure synchronization with the user's calendar.
[x] Implement appointment reminders and follow-ups through the app.

Used: Leaflet API


feat: Futbin/Futwiz price on search filter

Prerequisites

[X] I have searched for existing issues that already include this feature request, without success.

Describe the Feature Request
Add Futbin/Futwiz price to Max Bid Price and/or Max Buy Now Price
Describe the Use Case
I set the filter to use Futbin price to buy cards at X %.
The filter is searching cards that are more expensive than my max purchace price.
It is useless make a lot of request for nothing.
For exemple :
I'm searching for De Gea. Futbin say it cost 15000 and I'm buying it at 100%.
I don't need the filter to search card over 15000. It would be great that automatically, the filter search cards that are under or equals at 15000 and no more.
Describe Preferred Solution
No response
Describe Alternatives
No response
Additional Information
No response

This wont be possible as we need to playerID to fetch futbin price which will be available only player search result

Hello, I don’t understand why its not possible as you know the player to search, you check first the futbin price then make the search…


Update hook description

Update hook description in event_notification section.
More details on hook filtering and hook APIs are added.

@anhou @sunnyqianzhang @yyscamper


[BUG] PerCallTimeoutCall causing OOM

Describe the bug
The PR 40017 introduced the class PerCallTimeoutCall.
This class holds a static Timer with strong references to every call it processes.
When uploading a blob in blocks, each block is a call that gets added to the Timer, not released quickly enough and causing the Timer to hold all calls in memory without the garbage collector being able to free them. This causes the system to deplete its memory.
See BlobClient
public Response<BlockBlobItem> uploadWithResponse(BlobParallelUploadOptions options, Duration timeout,
        Context context) {

Exception or Stack Trace

To Reproduce
Set up any project using the Azure Java SDK and upload binaries at moderate pace using the method BlobClient.uploadWithResponse
Code Snippet
See PerCallTimeoutCall
private static final Timer TIMER = new Timer("azure-okhttp-response-timeout-tracker", true);

...

public void beginPerCallTimeout(Call call) {
        if (perCallTimeout > 0) {
            TimerTask currentTimeout = new PerCallTimerTask(this, call);

            TIMER.schedule(currentTimeout, perCallTimeout);
            TimerTask existing = CURRENT_TIMEOUT_UPDATER.getAndSet(this, currentTimeout);
            if (existing != null) {
                existing.cancel();
            }
        }
    }

Expected behavior
The system shouldn't run out of memory.
Screenshots

Setup (please complete the following information):

OS: Any
IDE: Any
Library/Libraries: com.azure:azure-core:1.51.0, com.azure:azure-core-http-okhttp:1.12.2 (the behavior was introduced in com.azure:azure-core-http-okhttp:1.12.0)
Java version: 17
App Server/Environment: Tomcat
Frameworks: Any

If you suspect a dependency version mismatch (e.g. you see NoClassDefFoundError, NoSuchMethodError or similar), please check out Troubleshoot dependency version conflict article first. If it doesn't provide solution for the problem, please provide:

verbose dependency tree (mvn dependency:tree -Dverbose)
exception message, full stack trace, and any available logs

Additional context
Add any other context about the problem here.
Information Checklist
Kindly make sure that you have added all the following information above and checkoff the required fields otherwise we will treat the issuer as an incomplete report

[x] Bug Description Added
[x] Repro Steps Added
[x] Setup information Added

Thanks for filing this issue @arikogan, I'll follow-up on this shortly after I look into this more.

@arikogan, for a quick check to make sure this isn't an issue where the network isn't uploading quick enough, could you construct an OkHttp-based HttpClient instance using
HttpClient httpClient = new OkHttpAsyncHttpClientBuilder()
    .responseTimeout(Duration.ZERO)
    .build();

This will disable the usage of the Timer to track actively running requests to ensure they response within an appropriate time limit.

Hi @alzimmermsft , thanks for the reply.
So that's exactly our current mitigation mechanism. We've set the environment variable AZURE_REQUEST_RESPONSE_TIMEOUT to 0 to disable the new functionality.
And now for not relying on the party in charge of deploying the code to set the environment variable properly, we are disabling the mechanism through code:
private static void disablePerCallTimeoutCall(BlobServiceClientBuilder builder) {
        Configuration configuration =
                new ConfigurationBuilder().putProperty(PROPERTY_AZURE_REQUEST_RESPONSE_TIMEOUT, "0").build();
        builder.configuration(configuration); // Not necessary but added for clarity
}

Not ideal but lucky we were able to disable through the environment variable.
The default timeout is 60 seconds. On a system running quite a few operations, the chunks are uploaded faster than that but the static Timer doesn't allow the GC to reclaim that memory.

Glad to hear the workaround has prevented this @arikogan.
I've also had a chance to review this code path more deeply and have realized the mistake I've made with the implementation. I didn't realize that TimerTask.cancel() doesn't remove that task from the queue within Timer.
I've filed this PR which should resolve this problem: https://github.com/Azure/azure-sdk-for-java/pull/42887


iPhone SE - Multiple layout issue

When using 3bot connect on iPhone SE, there are two layout issue:

When requesting to « Show Phrase », the pin-pad is a a little bit hidden. It still usable but not right :)

When we are logged-in, the text should be centered or at least some margin are missing IMO

Second part is also fixed.


Make getCurrentActivity public on ReactContext

Addresses #8661

By analyzing the blame information on this pull request, we identified @foghina and @ginandi to be potential reviewers.

Please use these powers for good :)
@facebook-github-bot shipit

Thanks for importing. If you are an FB employee go to Phabricator to review internal test results.

YAS!!!!!!!


Cursor keep moving after pressing a key for a while and release

I think this is a delayed responsive issue.
When I press j or k for a while to move up / down continuously, the cursor will go as I keep the key pressed.
However, when I release the key, in other front-end like neovim-qt, the cursor will stop moving immediately.
But in Nvy, the cursor will keep moving for a while.
(the effect is very obvious on my machine after moving the cursor for around 30-50 lines).
OS: Windows 11

@xarthurx
It's really bad with such lag. Sometimes I check editor responsiveness by going to Visual Block mode and holding % on a brace of some decent sized function, too big will always appear slow, too small will always be fast.
In my opinion neovim-qt is also okay with performance but I'd say a bit worse than Nvy. What I've noticed is, despite looking sluggish, neovim-qt will stop almost immediately as you release the button - probably it won't queue excessive keyboard events.
Anyway holding j or k should never much lag.
Fix what really slows you down
Is the lag also noticeable when ran with no config - Nvy.exe -u NORC? I doubt it and its most likely some nasty plugins causing the lag. Or are some autocommands causing it?
I strongly suggest you try to disable parts of your config, especially plugin activation, until you find the culprit.
Try commenting half of the plugins and checking again, continue until you find the problem. I have eliminated many slow plugins this way, some don't even look like they take lots of processing power to operate. I'm sure u can find performant alternative for your bottleneck, lua is often much faster.
Actually I'm on Nvy because it almost never crashes and has pretty good performance. I'm on Windows 10 though.
Alternatives
For best performance you probably want to get Alacritty - a terminal emulator. It has the smoothest feel but it also seems to queue up the keyboard events, so you might not be happy there. Though raw speed of Alacritty should compensate and you should rarely find yourself watching your action continue as you stop holding a button. Seems like Nvy is also no match for Alacritty when it comes to performance.
Maybe you have your repeat rate of keyboard set as too high (set in control panel), reducing that speed will make your text editor less likely to be overwhelmed by the keyboard events. I have it at max speed though and nothing will make me reduce it :) Changing it will most likely require some time to get used to.
There is also a small chance your font might be wrongly configured, is it rendering correctly?
You might consider using different way of moving through the file than holding j or k, there are so many more ways. To name a few:

<c-d> and <c-u> - I'm not a fan of its mapping but its useful for quick scrolling
{ and } - to jump between empty lines, works pretty good unless your text has too few of them
zj and zk - to navigate between folds, default binding is cumbersome but u can change it
lightspeed or vim-sneak - when you see what you're looking for
/ - when you know what you're looking for

j and k should be ideally used for minor adjustments.
Conclusion
I guess issue is still valid as doing some heavy task by holding a button can keep it going for several seconds after release, while nvim-qt found a way to prevent it.

have the same problem
the follow setting will increase the latency
set curosrline
set foldenable
set foldlevel=1
set foldmethod=indent

@VladimirMarkelov Thank you for your input!
I suspected its more of a problem of plugins and configuration than Nvy performance itself. Though it still behaves badly when it's slow (lag).
I hope you will get into making your nvim more snappy in a free time! It might be good enough but its much more pleasant when its fast, as the lag will most likely affect you in most of your actions anyway.

@EtiamNullam
in my situation:
1.remove all the init.lua or init.vim
2.open nvy with a golang file(about 1000 line)
3.set the following settings by command line
set curosrline
set foldenable
set foldlevel=1
set foldmethod=indent
4.the latency happened

1.remove all the init.lua or init.vim

Try starting Nvy with Nvy.exe -u NORC instead, to make sure it's not loading anything by accident.

2.open nvy with a golang file(about 1000 line)
3.set the following settings by command line set curosrline set foldenable set foldlevel=1 set foldmethod=indent

I always have these options (and many more) yet I never experience lag while simply scrolling in Nvy. So it has to be something else. So there is still some lag with these options disabled?