UPSTREAM: distribution/distribution: 2815 Add code to handle pagination of parts. Fixes max layer size of 10GB bug

This is a back-port of https://github.com/distribution/distribution/pull/2815

/assign @dmage

@flavianmissi is it 2815 or 3840?

2815 is already merged (onto distribution's main branch), so I thought it made more sense to refer to 3840 (the backport to the 2.8 release branch) instead. Additionally, both PR IDs are mentioned in the commit, 3840 is in the commit title, while 2815 is in the commit body.
I recognize that we don't often do backports like this though, so I guess this PR is a little odd...
WDYT?

Nobody reads the commit body when they rebase changes - we have all necessary information in the first line. In your case it should be
UPSTREAM: distribution/distribution: 2815: Add code to handle pagination of parts. Fixes max layer size of 10GB bug

We do it this way because rebasing is already an error-prone task and we want to make it a no-brainer task.
That's what we have so far:
* 8f8f87be UPSTREAM: distribution/distribution: 3647: Allow google oauth client to consume creds for workload identity
* c7c6b8ab UPSTREAM: distribution/distribution: 3647: update golang.org/x/oauth2 to support gcp workload identity
* c4bec89e UPSTREAM: docker/distribution: 3403: add application-credential support for swift driver
* e17c9709 UPSTREAM: docker/distribution: 3057: allow for optional S3 debugging
* db33aa74 UPSTREAM: docker/distribution: 3296: allow pointing to an AWS config file as a parameter for the s3 driver
* 76ff21cc UPSTREAM: docker/distribution: 3248: Ignore self reference object on empty prefix
* 0a438da6 UPSTREAM: docker/distribution: 3131: Remove VirtualHostedStyle from driver struct
* 76ad0646 UPSTREAM: docker/distribution: 3131: Add VirtualHostedStyle to struct
* 7d25ebd9 UPSTREAM: docker/distribution: 3131: Add S3 virtual hosted style paths for custom region endpoints
* b0b174c5 UPSTREAM: docker/distribution: 3127: Fix err shadowing in gcs driver
* ac0de34c UPSTREAM: docker/distribution: 3068: Add dualstack option to S3 storage driver
* dc14d118 UPSTREAM: docker/distribution: <carry>: use application logger for requests
* b58d09a8 UPSTREAM: docker/distribution: <carry>: Do not hide reader error
* 99677704 UPSTREAM: docker/distribution: <carry>: Log failed HEAD requests as a info
* ebcaafd4 UPSTREAM: docker/distribution: <carry>: Prevent wrapping of errcode.Error
* 61bc5d2b UPSTREAM: docker/distribution: 2446: Fix the pointer initialization
* 1bb07077 UPSTREAM: docker/distribution: 2580: Allow to use custom cache provider
* 74735e54 UPSTREAM: docker/distribution: <carry>: custom routes/auth

We have two problematic PRs:
3131 - the author closed it, probably we should open a new one.
3248 - we should re-backport it on next rebase.
3840 is closed without being merged. If I were rebasing this change, this would confuse me and distract from rebasing.

3840 is closed without being merged. If I were rebasing this change, this would confuse me and distract from rebasing.

dammit, I did that by accident 🙄
I'll point to the original PR instead to avoid confusion.

/lgtm
/hold
feel free to remove the hold when you are ready

/label qe-approved

/hold cancel

/cherry-pick release-4.12


Python sets as arguments to jitted functions

As always, thanks very much for making Numba!
Versions
Numba: 0.55.1
Numpy: 1.20.3
Python: 3.8.12
Problem
I need to pass a "set" data-structure to a Numba jitted function, but I get the following deprecation warning:
NumbaPendingDeprecationWarning:
Encountered the use of a type that is scheduled for deprecation: type 'reflected set' found for argument 's' of function 'remove_even_numbers'.

For more information visit https://numba.readthedocs.io/en/stable/reference/deprecation.html#deprecation-of-reflection-for-list-and-set-types

File "../../../../tmp/ipykernel_7231/4119407410.py", line 1:
<source missing, REPL/exec in use?>

  warnings.warn(NumbaPendingDeprecationWarning(msg, loc=loc))

Example
import numba
from numba import njit

@njit
def remove_even_numbers(s):
    # In Python we need to iterate over a copy of the set for this to work,
    # but that is apparently not necessary in Numba. We do it anyway.
    for i in s.copy():
        # If the current number is even.
        if i % 2 == 0:
            # Remove the current number from the actual set.
            s.remove(i)

s = set(range(10))
# We now have: s == {0, 1, 2, 3, 4, 5, 6, 7, 8, 9}

remove_even_numbers(s=s)
# This creates the warning shown above.
# We now have: s == {1, 3, 5, 7, 9}

%timeit set(range(1000))
# 17.7 µs ± 455 ns per loop (mean ± std. dev. of 7 runs, 100000 loops each)

%timeit remove_even_numbers(s=set(range(1000)))
# 66.7 µs ± 4.21 µs per loop (mean ± std. dev. of 7 runs, 10000 loops each)

This shows that the function remove_even_numbers takes around 50 µs which is super-fast. So whatever Numba is doing to copy back/forth with the "reflected set", it is not a problem at all. So why is this being deprecated?
I was then looking for numba.typed.Set similar to numba.typed.List but it is not implemented. There is one called numba.types.Set (note it is numba.typeS instead of numba.typeD) but calling numba.types.Set(s) raises an AssertionError without any comment.
What is the recommend way of passing sets to jitted functions? And why is the "reflected set" being deprecated when it is apparently super-fast?
Thanks!

@Hvass-Labs thank you for asking about this. The reflected set was deprecated at a time when a typed set seemed to be imminently on the horizon. However, the typed Set has not materialized yet and so perhaps it should be un-deprecated. A caveat to this however, is that the reflected set has (at least) one long-standing, critical bug here: https://github.com/numba/numba/issues/6543 <--- and this issue is still looking for a champion.
If you think that un-deprecating reflected set is a good idea, I encourage you to open a new feature request, or perhaps we can rephrase this issue to reflect that ask?

Just a quick note... it's not actually "Deprecated", it is "Pending Deprecation", as per the warning name NumbaPendingDeprecationWarning, but perhaps this isn't sufficiently prominent in the message string or docs. The purpose of this is to provide users plenty of notice about what will be deprecated sometime in the future such that they can assess whether they are happy using such a feature.

And why is the "reflected set" being deprecated when it is apparently super-fast?

It has numerous issues to do with nesting https://numba.readthedocs.io/en/stable/reference/deprecation.html#reason-for-deprecation

I was then looking for numba.typed.Set similar to numba.typed.List but it is not implemented. There is one called numba.types.Set (note it is numba.typeS instead of numba.typeD) but calling numba.types.Set(s) raises an AssertionError without any comment.

The module numba.types contains the type (as in type-system) definitions for the containers. The implementation of the containers (both the LLVM builder code and the high-level Python code) themselves is in numba.typed. For example the type for the reflected list is numba.types.List whereas the type for the  numba.typed.List is actually numba.types.ListType. I hope that makes sense.

Thanks for the quick and detailed reply! And I apologize for my late response; I was finishing an R&D project of my own (where Numba Jit gave me a 50x speed-up over pure Python, by the way!)
I have a few comments:

When I read the warning in my Numba Jitted function for using Python's native list and set data-types, it was not clear to me that it is only maybe going to be deprecated in the future. I thought it was a certainty it was eventually going to be deprecated. But considering that numba.typed.List is still experimental (and very slow in some cases, as we have discussed elsewhere), and you apparently don't have any replacement for the Python set at all, I think it is problematic to flag them as being deprecated or "maybe" deprecated in the future. Not only does it raise uncertainty about how I should implement it, but as I use Numba in Python packages, the warning will show up for the end-user who will also get confused.

As I have also discussed elsewhere, a lot of times my Numba Jitted functions are "read only", so they will not modify the data inside the jitted function - or at least I won't need the changes back in my Python code. I don't know if it will help performance, but if I could somehow signal this to the jit compiler, then perhaps the reflection layer could be made simpler and more efficient. Something like this:
@jit(readonly=True)
def foo(x, y):
# Only read from x and y.

Another suggestion might be that Numba only provides support for simple versions of list and set, e.g. where all the data must have the same type and there are limits on the nesting debt.

Your last comment about the difference between numba.types and numba.typed actually was quite confusing :-) But I figured it had to do with internal vs. external data-types.

Closing this question as it seems to be resolved. Numba now has a discourse forum https://numba.discourse.group/ which is great for questions like this, please do consider posting there in future :) Thanks!


Remove rescue from SemanticRange.parse

It doesn't seem to have any effect, and if there is an error in the version creation then it would be easier to debug without the rescue

Yeah I think it will be fine, I've already got the whole thing wrapped in a rescue in Libraries.io so it doesn't blow up on invalid version numbers.


Mechanism needed for benchmarking update-heavy workflows against create-only or index-only

Currently, rally can be configured to generate metadata that contains conflicting ids for 25% of the documents in a corpus. However, the action specified in the metadata is always index. Since the performance characteristics of update changed significantly in 5.0+, this seems like a blind spot in the current suite.
While I understand that metadata can be interleaved with the documents in a corpus instead of being generated by rally, side-by-side comparison of performance of the same corpus with conflicting ids would be considerably simpler if the create/update workflow could use generated metadata.

Thanks for the suggestion @redneckbeard. I would:

make the amount of conflicts configurable (0 - 100%)
use update instead of index in the action and meta-data line for conflicting ids

As you write, for more complex cases there is always the possibility to provide the action and meta-data line in the original source file.

@danielmitterdorfer that sounds great. Where things got messy for me was having to parse the JSON for the metadata here https://github.com/elastic/rally/blob/master/esrally/track/params.py#L817, and if you have an update, wrap the document json in {"doc": %(document)s}. I figured maintainers would be able to see a cleaner way.

My initial thought was to implement this in GenerateActionMetaData. However, I need to look whether this is really feasible (it probably is) but it will take a little while until I get to it as I'm busy at ElasticON this week.


Switch to using parallel-ssh instead of fabric redux

This has all of the commits from #400 plus some more to fix travis and fix some minor issues. I wanted to make changes before I merged it into master, and I wanted to be able to more easily test things on my machine.

Coverage decreased (-0.7%) to 47.624% when pulling b8e9f25c65779e147d13a4439ef536906f086f46 on tanaysoni-parallel-ssh into d638c301a05b4decb30cfc7a77d1b509ff19096d on master.

It appears the ssh2-python is currently incompatible with PyPy, so I'm going to hold off on this until ParallelSSH/ssh2-python#16 gets addressed.

ssh2-python has fixed the issue on their end, but still waiting for a new parallel-ssh release with the fix there.

Coverage decreased (-0.7%) to 47.46% when pulling ba677e2ffa8d6d0d818b4b75858a432a2c86a1d0 on tanaysoni-parallel-ssh into dda844707a04d7b60bcbd2dfcfb8affdf8f2f581 on master.

This is very close to being ready to merge. I am currently being foiled by ParallelSSH/ssh2-python#51 though.

I've tested this with submitting topologies and running them locally, and it all seems to work now.

Seems like there's still an issue with getting all of the options resolved properly with this branch. A topology.subprocess.timeout setting I had in config.json was not being applied when deploying with this branch. I'll figure that out next week I guess.

Closing as very stale


Use ScanInterpreter for all relevant shell commands, not just scan

When using the shell to perform scans, the table.interepreter property is used to interpret the supplied begin and end row text. However, this property is not used for other operations which also interact with -b and -e flags for begin and end rows:

compact
merge
flush
deletemany
deleterows
etc

and other operations which take rows and/or column families or column qualifiers as arguments:

addsplits
delete
insert
etc

This behavior is confusing to users of the shell, because some interfaces show and accept reformatted key components, and some others accept raw key components.
I propose that the interpreter should be applied to all parameters provided by the user before they are passed to Accumulo.
Alternatively, the interpreter construct could be dropped entirely (see discussion in #1138).

Since we now have use of JShell, I think it would be reasonable to just deprecate and eventually drop the scan interpreter stuff (especially since it's not even spelled correctly). It's a bit weird to have shell-specific config stored in the per-table config on the server-side anyway. JShell is a much more powerful and flexible tool, and a lot less work to support, than these quirky shell behaviors.


Angular dropdown multi-select component not working as expected

Detailed description

Describe in detail the issue you're having.

Using following version of carbon components:
"carbon-components": "^10.6.2",  "carbon-components-angular": "^3.16.3"
Angular dropdown multi-select component does not fire an event when the last value is unchecked from a list of selections.

Is this a feature request (new component, new icon), a bug, or a general issue?

Bug

Is this issue related to a specific component?

Angular dropdown multi-select component

What did you expect to happen? What happened instead? What would you like to see changed?

Expected that on unselecting the last selection in a multi-select component, it fires an event.
Instead, no event was fired and hence the model always contain the last selection.

What browser are you working in?

Bug is observed on all major browsers like Chrome, Firefox and Edge

What version of the Carbon Design System are you using?

"carbon-components": "^10.6.2",  "carbon-components-angular": "^3.16.3"
Steps to reproduce the issue
As can be seen, I have selected two roles, and have printed the selection at top for convenience

Now, I remove role "REGULAR" by unselecting it and it works fine

I proceed to remove the remaining role "ADMINISTRATOR" but it is not removed! It is just unchecked from UI but the model is not changed (as no event is fired on unchecking the last remaining item)

I can not seem to reproduce this error, #809 may have also fixed this.

I can not seem to reproduce this error, #809 may have also fixed this.

The bug is still reproducible. I tested with "carbon-components-angular": "^3.20.1" version.

I will look into this further.


Basic Image Manipulation in WebUI

Is your feature request related to a problem? Please describe.
Depending on image metadata, an image may or may not be oriented properly.
Describe the solution you'd like
Having some basic image manipulation in the web UI would be a nice. Having those edits saved or reflected in export would be a plus.

[ ] Rotating an image (90deg increments)
[ ] Flipping an image (along X, along Y)
[ ] Cropping an image
[ ] Adjusting image profile (brightness, contrast, saturation, ...)
[ ] Keyboard shortcuts

Additional context
Orientation/rotation is handling in the goexif

This work could be paired with #26


Fixed OpenAI chat completion usage

Currently the requirements.txt pins the openai version at 0.28 which does not match the current chat completion usage in gpt.py. I had to make this change to get it working(w/ Docker). Also fixed the spelling of Gemini.

@philipbankier fixed in #189, run git pull origin main


updated FAQ.md , added hyperlinks to mails

added hyperlinks to mails , please check

Checklist:

[x] I have read freeCodeCamp's contribution guidelines.
[x] My pull request has a descriptive title (not a vague title like Update index.md)
[x] My pull request targets the main branch of freeCodeCamp.
[x] I have tested these changes either locally on my machine, or GitPod.

Closes #43894

Thanks for your PR. @ShaunSHamilton - yes, you are correct.

thanks for your valuable reviews


As a user, I want to see circulation information on book search and detail pages so I understand how much and when a book circulated.

notes for testing

check the books list page: each book should include a circulation block with the number of events and years that the book circulated
check the book biography page: should have the same information (event count & years)
check both pages against the designs in zeplin for all screens: book search; bibliography desktop tablet mobile
make sure you some books with a few events and some with lots; check books with only one year and check others with several

Desktop:

YES, on the book list page each book now includes a circulation block. See here:

YES, the info matches the info on the individual book biography page:

YES, events with a ton of events looks correct. I checked "Portrait of an Artists," which has 63 events.

QUESTION: I've been checking books with single year circulation/one event. There's a borrow for 1914 and other Poems by member John Varney but the card is appearing twice:

I've checked other single borrows and don't see the repeat so I'm not sure what's happening with Varney.

@clmahoney I think there are two footnotes for that event, can you confirm?

@rlskoeser yes you're right!!

@rlskoeser is there any way to to an export to see if there are multiple identical footnotes?

@clmahoney no, but I can probably come up with a quick query to check for multiple footnotes — probably not too many events with multiple footnotes, right?

@rlskoeser I don't think there should be, but it would be good to know and do a cleanup of the repeats so this display issue doesn't happen again. Should I make you an asana task?

@clmahoney I will just do it now. Where do you want me to put the list of events I find with multiple footnotes?

@rlskoeser Thank you! Maybe just in the data work folder in drive?

Mobile:

YES, on the book list page each book now includes a circulation block. See here:

YES, the info matches the info on the individual book biography page:

YES, books with many events look fine; Pilgrimage on the test site is still bunched together so it has the most events:

Tablet:

All looks good here too

YES,  each book has a circulation block with the number of events and years that the book circulated

YES, the book biography page has the same info!


FacebookSDK or CocoaPods for ios?

Hello,
which one to use when setting the app for iOS
asked here as well
https://stackoverflow.com/questions/50634576/setting-up-facebook-app-for-ios-in-flutter-with-cocoapods-or-facebooksdk

Use pub.
https://pub.dartlang.org/packages/flutter_facebook_login#-installing-tab-


Create persistent store for robots/warehouse/etc.

Need to store:

Grid (size, obstacles)
Time step (real-world rate vs sim rate, ex. 1 time step per real second)
Robots (current pos, paths)
Robots-Task assignment table
Item Pickup table
Station Location table

Most of this stuff is coordinates/lists, not ideal for SQL-based databased, might prefer NoSQL-based DB here, something lightweight.

[ ] Decide persistent data store - NoSQL / SQL?
[ ] Decide whether to use Python / Node JS interface

wip with dd1872535dcdf98f943a7ac6295b20477c731ebd


[ngrx-data-websocket-client] Additional query parameters?

Hi, first off, thanks a lot for creating this very helpful library :)
Sorry if this is not the right place to ask, but I was wondering if it's possible to somehow supply additional query parameters to the .getAll() service call.
For example I'd like to query my stories with an additional filter and userId param like so:
this.storyWsService.getAll({ extraFilterParam: 'onlyRecent', userId: 123  });
or
this.storyWsService.getAll(options, { extraFilterParam: 'onlyRecent', userId: 123  });
What would be the best way to achieve this (by forking)?
Thank you

Hi, first off, thanks a lot for creating this very helpful library :)
Sorry if this is not the right place to ask, but I was wondering if it's possible to somehow supply additional query parameters to the .getAll() service call.
For example I'd like to query my stories with an additional filter and userId param like so:
this.storyWsService.getAll({ extraFilterParam: 'onlyRecent', userId: 123  });
or
this.storyWsService.getAll(options, { extraFilterParam: 'onlyRecent', userId: 123  });
What would be the best way to achieve this (by forking)?
Thank you

You would want to use getWithQuery
https://ngrx.io/guide/data/entity-dataservice

Awesome, thank you very much @yharaskrik :)


Verification

[X] My "brew doctor output" above says Your system is ready to brew. and am still able to reproduce my issue.
[X] I ran brew update twice and am still able to reproduce my issue.
[X] This issue's title and/or description do not reference a single formula e.g. brew install wget. If they do, open an issue at https://github.com/Homebrew/homebrew-core/issues/new/choose instead.

brew config output
HOMEBREW_VERSION: 4.0.16
ORIGIN: https://github.com/Homebrew/brew
HEAD: 01e0c20d01c6aab28d844280d130f0e745e2ddd9
Last commit: 4 days ago
Core tap JSON: 04 May 08:21 UTC
HOMEBREW_PREFIX: /opt/homebrew
HOMEBREW_CASK_OPTS: []
HOMEBREW_EDITOR: nvim
HOMEBREW_MAKE_JOBS: 10
HOMEBREW_NO_AUTO_UPDATE: set
HOMEBREW_VERBOSE: set
Homebrew Ruby: 2.6.10 => /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/bin/ruby
CPU: 10-core 64-bit arm_firestorm_icestorm
Clang: 14.0.0 build 1400
Git: 2.38.1 => /opt/homebrew/bin/git
Curl: 7.87.0 => /usr/bin/curl
macOS: 12.6.5-arm64
CLT: <IP_ADDRESS>.1.1668646533
Xcode: 14.2
Rosetta 2: false

What were you trying to do (and why)?
Compile a trivial program with openssl@3.
#include <iostream>
#include <openssl/crypto.h>

int main(int argc, char* argv[]) {
  std::cout << "wat" << std::endl;
  return 0;
}

What happened (include all command output)?
Building and running this like so
c++ -std=c++20 test.cpp -o test -I<EMAIL_ADDRESS>-lcrypto -L<EMAIL_ADDRESS>&& lldb --one-line run test

results in
* thread #1, queue = 'com.apple.main-thread', stop reason = EXC_BAD_INSTRUCTION (code=1, subcode=0x4a03000)
  * frame #0: 0x0000000100613328 libcrypto.3.dylib`_armv8_sve_probe
    frame #1: 0x0000000100613830 libcrypto.3.dylib`OPENSSL_cpuid_setup + 600
    frame #2: 0x0000000100021f4c dyld`invocation function for block in dyld4::Loader::findAndRunAllInitializers(dyld4::RuntimeState&) const + 164
    frame #3: 0x000000010004b784 dyld`invocation function for block in dyld3::MachOAnalyzer::forEachInitializer(Diagnostics&, dyld3::MachOAnalyzer::VMAddrConverter const&, void (unsigned int) block_pointer, void const*) const + 340
    frame #4: 0x0000000100041ed8 dyld`invocation function for block in dyld3::MachOFile::forEachSection(void (dyld3::MachOFile::SectionInfo const&, bool, bool&) block_pointer) const + 528
    frame #5: 0x000000010000df98 dyld`dyld3::MachOFile::forEachLoadCommand(Diagnostics&, void (load_command const*, bool&) block_pointer) const + 168
    frame #6: 0x0000000100041c80 dyld`dyld3::MachOFile::forEachSection(void (dyld3::MachOFile::SectionInfo const&, bool, bool&) block_pointer) const + 192
    frame #7: 0x000000010004b1d4 dyld`dyld3::MachOAnalyzer::forEachInitializer(Diagnostics&, dyld3::MachOAnalyzer::VMAddrConverter const&, void (unsigned int) block_pointer, void const*) const + 516
    frame #8: 0x0000000100021e8c dyld`dyld4::Loader::findAndRunAllInitializers(dyld4::RuntimeState&) const + 172
    frame #9: 0x0000000100022038 dyld`dyld4::Loader::runInitializersBottomUp(dyld4::RuntimeState&, dyld3::Array<dyld4::Loader const*>&) const + 216
    frame #10: 0x0000000100022014 dyld`dyld4::Loader::runInitializersBottomUp(dyld4::RuntimeState&, dyld3::Array<dyld4::Loader const*>&) const + 180
    frame #11: 0x0000000100022104 dyld`dyld4::Loader::runInitializersBottomUpPlusUpwardLinks(dyld4::RuntimeState&) const + 124
    frame #12: 0x00000001000373ac dyld`dyld4::APIs::runAllInitializersForMain() + 312
    frame #13: 0x0000000100011dbc dyld`dyld4::prepare(dyld4::APIs&, dyld3::MachOAnalyzer const*) + 3136
    frame #14: 0x000000010001106c dyld`start + 488

On my computer. This is in principle an openssl issue, as I could reproduce it by manually building the release used in the formula, and it is not present when building openssl's current master.
What did you expect to happen?
Program terminates with 0 exit status.
Step-by-step reproduction instructions (by running brew commands)
brew install openssl@3
c++ -std=c++20 test.cpp -o test -I<EMAIL_ADDRESS>-lcrypto -L<EMAIL_ADDRESS>lldb --one-line run test

This seems to be this issue: https://github.com/openssl/openssl/issues/20753
So I am not sure if I should close this. Would it make sense for the brew formula to be adjusted? It appears the fix is present on master, but there is no release with it yet.

This is in principle an openssl issue, as I could reproduce it by manually building the release used in the formula, and it is not present when building openssl's current master.

Closing based on that, we don't keep issues open for upstream issues.
For future reference:

that isn't the output from brew doctor

Create an issue with the title This issue's title and/or description do not reference a single formula e.g. brew install wget. If they do, open an issue at https://github.com/Homebrew/homebrew-core/issues/new/choose instead.. Press Enter to convert to an issue instantly. Press Option-Enter to open the create new issue form in the current tab. Press Shift-Enter to open the create new issue form.

This should have been opened in homebrew-core.


setup redux

https://flowbite.com/docs/components/timeline/
refer this link for UI elements and styles


Feature OpenSearch Handler

I has the following repo: https://github.com/geangontijo/monolog-opensearch-handler
I think would be a good one monolog have a built-in opensearch handler.
For any doubt i am here!🎉

IMO it's perfect as a third party package so people who need it can use it :) Feel free to add it to https://github.com/Seldaek/monolog/wiki/Third-Party-Packages


[nrfconnect] Fix examples' initialization order

Problem
While investigating the root cause of #15295 we found out that the initialization code in a lot of examples may be racy as it starts the CHIP thread before initializing all other components.
Change overview
Make sure that all the initialization code in nRF Connect examples happens prior to the point in which the CHIP thread is started to guarantee no data races can occur in that phase.
Testing
I ran all nRF Connect examples on hardware and tried to commission them.

/rebase


[Prefetch buffer] - various bug fixes

Fix incorrect address output to mepc on interrupt (fixes #320)
Fix instruction address changing before grant (fixes #296)
Remove excess address flops in fetch_fifo
Remove restriction on outstanding requests

@udinator - hopefully this fixes the mepc issue in #320. I'd really appreciate it if you could run a few tests on this PR since it's quite a big change. Thanks!

Hi @tomroberts-lowrisc - I ran another interrupt test using your modifications to the prefetch buffer, and it looks like a lot of the signals within the buffer are being driven to X's just after core reset, as shown below:

@tomroberts-lowrisc - My interrupt tests are all passing with your latest changes! mepc is being assigned correctly upon traps.

Thanks for the testing @udinator - I have included a few changes to hopefully address #340 here.

Hi @tomroberts-lowrisc , I'm seeing #340 still being an issue after the updated commit, the scenario is below:

The testbench asserts an instr_fetch_err for the rdata corresponding to the instruction fetch address addr=0x80001e64, and returns a randomly generated data word 0xaebb46d8 to the instruction fetching buffers. Similarly to #340, Ibex decodes this instruction, this time as a compressed load (instr_rdata_c_id_o=0x46d8), and performs compressed expansion on this random data, giving instr_rdata_id_o = 0xc6a703, which is a valid load instruction (lw x14, 12(x13)). However since an error was asserted during this instruction fetch, the LSU does not activate, but stall_lsu_i goes high for the rest of the simulation, effectively causing the core to hang, waiting for the load request to become valid.
I'm not sure how feasible this would be, but do you think it's possible to prevent instructions returned by erroneous instruction fetches to not be piped into the ID stage at all? This seems to be the root cause of these resultant issues.

Thanks again @udinator - you're right it's a bit problematic since the ID stage looks at a lot of the raw decoded signals but I need the instruction to appear valid in order for the controller to take the exception.
I have pushed another fix which should stop any of the multicycle logic activating. Hopefully that does the trick!

@tomroberts-lowrisc - your latest fix has resolved the issue, all of my memory error tests are passing now!
One small thing, the $display function being called here will print out its "Illegal instruction" message on erroneous instruction fetches that return some random garbage data, could you add a check to ensure that the illegal instruction is not due to a instr_fetch_err_i?
Thanks so much for all of the changes.

Hi @tomroberts-lowrisc,
Quick question regarding the RVFI, in particular this section regarding its set of memory access signals. The description for this whole set of signals specify that they should indicate only valid data, when applicable, but when I monitor these signals in Ibex after injecting a load or store error into the memory response, I see that these buses will still contain the calculated memory address and read/write data and corresponding mask, even though the assertion of the error signal should invalidate the transaction. Is this correct behavior?
Best,
Udi

Thanks @udinator - $display function updated as requested.
For the RVFI question, maybe we should open a separate issue? Even if we didn't update the address/data etc. when a load/store received an error response, wouldn't it still look like a load/store instruction was successfully executed (to some previous address) in the RVFI trace?

Sure, I opened issue #348 addressing this concern.


Parsing tests fail during build attempt

As noted also at rt.cpan.org bug # 108416;  which associates it with which version of the PGObect module is being run;  parsing tests are failing at least with versions of PGObject at 1.402.9.
In my case; I found this when doing a test build of its Debian package  under the current Debian testing ('stretch'). which currently has PGObject (llibpgobject-perl) version 1.402.9 under Perl version v5.22.
See attached file for the results there of running make test:
BuildErrors.txt

Should be fixed with latest version (2.0) to be released shortly.  I just removed the PGObject dependency.

As more info, 2.0 has a major backwards-breaking change which removes the auto-deserialization.  This means we don't need any other dependencies.  It means the module can be used more places.  And it means the test failures are easier to address.

2.0 uploaded to PAUSE.  On to closing the RT ticket as well.


[RIP-10] Add UT for PrintMessageSubCommand

What is the purpose of the change

add ut for PrintMessageSubCommand
adjust the code style

Brief changelog
XX
Verifying this change
XXXX
Follow this checklist to help us incorporate your contribution quickly and easily. Notice, it would be helpful if you could finish the following 5 checklist(the last one is not necessary)before request the community to review your PR.

[x] Make sure there is a Github issue filed for the change (usually before you start working on it). Trivial changes like typos do not require a Github issue. Your pull request should address just this issue, without pulling in other changes - one PR resolves one issue.
[x] Format the pull request title like [ISSUE #123] Fix UnknownException when host config not exist. Each commit in the pull request should have a meaningful subject line and body.
[x] Write a pull request description that is detailed enough to understand what the pull request does, how, and why.
[x] Write necessary unit-test(over 80% coverage) to verify your logic correction, more mock a little better when cross module dependency exist. If the new feature or significant change is committed, please remember to add integration-test in test module.
[x] Run mvn -B clean apache-rat:check findbugs:findbugs checkstyle:checkstyle to make sure basic checks pass. Run mvn clean install -DskipITs to make sure unit-test pass. Run mvn clean test-compile failsafe:integration-test  to make sure integration-test pass.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

As above said,you should notice the apache code formate header of java class,you also should see the failed ci testing case.You can look at the logs,the logs are as follows:
[ERROR] Failed to execute goal org.apache.rat:apache-rat-plugin:0.12:check (default-cli) on project rocketmq-tools: Too many files with unapproved license: 1 See RAT report in: /home/travis/build/apache/rocketmq/tools/target/rat.txt -> [Help 1]

close it and renew

Coverage increased (+0.02%) to 49.427% when pulling 1dd4da506780b6784434827484959258d6e6a008 on linuful:develop into 02e2abb5eecf76ea2cd5ab2d30a6927441c60067 on apache:develop.


Debian on GCE fails

For some reason the arp proxying that Rancher uses does not seem to function on the default Debian images on GCE.  More investigation is needed here.

@ibuildthecloud, is this still an issue?

I believe so, I have not tried on Debian 7 again

I just tested out the Debian GNU/Linux 7.8 (wheezy) amd64 with backports kernel and SSH packages built on 2015-05-26 and had no issues with launching and connecting Rancher.


Feature

Ability To Delete People on The App

While this feature is not currently available on IGdm, please check out IGdm Pro which has support for this feature and a few others

closing as duplicate


Commit in question: 2812ca07bc874a9ba5ea6d98cc0ec3d1e66a9a29

Temporary fix pushed


How are the parameters synchronised?

How are the parameters synchronised?
Are you averaging them or you use another methodology?
Thank you

We use EASGD, there is more details in the README on the main page.
"The framework allows multiple data-parallel algorithms, but only
EASGD and ASGD is currently implemented."
The documentation in param_sync.py line 60 gives more information.
Simply put we, every T updates, we take the difference between the worker params and the master params and update both with a fraction of that difference.
diff = w_worker - w_master
w_worker = w_worker - alpha * diff
w_master = w_master + alpha * diff


refactor Complete metrics for operators

Proposed changes
Issue Number: close #xxx

run buildall

run buildall

run buildall


Cleans code style of '/src/data'. #1018

Code style clean up based on conventions that have been agreed upon most recently.

jsdoc doesn't seem to like the .pdfs and .htmls. Not sure how to fix that while keeping at least the text there so the files can at least be named.

Why is netlify still failing?


Fixes #3904 - content negotiation test failure

This PR resolves #3904.
This PR changes the logic for the bypass for locally hosted images, which should cause the tests to succeed once again.

This is failing on CircleCi since I removed the tests as part of the ESM conversion. Could you add them back into this PR?

[!WARNING]
<EMAIL_ADDRESS>test:content-negotiation
jest "server/middleware/.*.spec.js" --verbose
No tests found, exiting with code 1

Will do


FetchFromServiceException

FetchFromServiceException: Connection error when attempting to fetch diff store metadata

Traceback (most recent call last):
File "/app/src/fdk_reports_bff/elasticsearch/datasets.py", line 98, in insert_datasets_timeseries
diff_store_metadata = loop.run_until_complete(
File "/usr/local/lib/python3.9/asyncio/base_events.py", line 647, in run_until_complete
return future.result()
File "/app/src/fdk_reports_bff/service/service_requests.py", line 110, in fetch_diff_store_metadata
raise FetchFromServiceException(
fdk_reports_bff.service.utils.FetchFromServiceException
Connection error when attempting to fetch diff store metadata from

(fjernet intern url fra trace)

diff-store har blitt arkivert, lukker denne


[Bug] lineLimit truncation does not work as expected when markdown content ends with a link

Build Information
Markdown UI Version: Latest (1.1.1 at time of writing)
Xcode Version: 13.4.1
iOS Simulator: iPhone 13 Pro, iOS 15.5 (reproduces on a physical iPhone 11 Pro Max -- iOS 15.5 as well)
Issue Description
There seems to be an issue with how the lineLimit modifier affects Markdown when the content ends in a link.
In the example below, the intention is to truncate the full body of the markdown at 4 lines.
import MarkdownUI
import SwiftUI

struct ContentView: View {
    var text: String {
        """
        Lorem ipsum dolor sit amet, consectetur adipiscing elit. \
        Aenean a dolor at enim varius faucibus. Vivamus eget \
        ultrices lorem, non scelerisque enim.

        [https://www.google.com](https://www.google.com)
        """
    }

    var body: some View {
        Markdown(text)
            .lineLimit(4)
            .truncationMode(.tail)
            .padding(16)
    }
}

This renders as below, with the non-truncated version that just removes the lineLimit modifier shown at right:

Truncated
Non-truncated

You can see that the link that is last in the markdown text is shown in both versions, despite being the last line of content overall and not the last line you'd expect to see of truncated content.
The strangeness worsens applying line-spacing, which doesn't seem to impact the spacing preceding the link:
    var body: some View {
        Markdown(text)
            .lineSpacing(12) // <-- addition here
            .lineLimit(4)
            .truncationMode(.tail)
            .padding(16)
    }

Screenshot here:

The last thing to mention is that this behavior doesn't seem to happen when using the built-in SwiftUI.Text markdown support, i.e. Text(.init(text)) in the example above.

Hi @maciesielka,
This is an interesting issue. MarkdownUI renders the markdown into an NSAttributedString and then uses a UITextView/NSTextView to display it in a SwiftUI view hierarchy. MarkdownUI uses the truncation mode, line limit, and line spacing from the SwiftUI environment in the following ways:

Truncation mode and line limit are just passed directly to the internal text view's NSTextContainer
Line spacing is used in NSParagraphStyle.lineSpacing during the NSAttributedString rendering.

The markdown example that you're providing has two paragraphs, and I suspect that the text container is applying truncation mode and line limit per paragraph, which can be the expected behaviour. If you squash the link together with the text in the same paragraph you should see what you expect.
SwiftUI Text markdown support is limited to inline markdown (emphasis, strong, links, etc.) and does not cover blocks (headings, paragraphs, lists, quotes, code blocks, thematic breaks).
Let me know if this clarifies the behaviour you're seeing.
Thanks!
Guille

Ahh okay. Not ideal, but that makes sense at a high level. Maybe I'll use a workaround to remove the interior spacing in the text while I'm attempting truncation.
Appreciate the response!

Hi,
I also tried to use the lineLimit to limit the number of lines the MarkdownUI displays. However, I've encountered the same issue as discussed above. After reading over the discussion above, I agree it's not necessarily a bug.
However, I argue this is a wrong behavior based on the lineLimit semantic in SwiftUI view. It probably should correctly limit the entire content instead of applying it to each paragraph, just like how lineLimit behaves on Text.
I wonder if there is any plan to correct the behavior.

Hi @totoroyyb,
As I mentioned in #188 (a related issue), it is very challenging to implement the truncation behavior that the Text view has. The reason is that a Markdown view is composed of multiple Text and Image views using different layouts.
Here is a list of workarounds:

Truncate the Markdown contents before setting up the view
Clip the view to a fixed height, as shown here.
Use Text in those use cases that require truncation.

I could implement a markdownWordLimit(_:) modifier that limits the Markdown contents to the specified number of words. Would that solve your use case?


Update practice QT tool questions and answers

Background
A request has come in from the QT working group (set up to deliver against the JDF work programme following the QT research project) to update some questions and answers on the practice QT hosted on the JAC website. Additionally, they would like to present the correct answers to the candidates at the end of the test. The expectation is to have made the updates by mid-June.
For clarity, the QT practice test is not hosted on the platform, rather as a self-contained application on the JAC website.
User Story
As the QT working group, I would like to update the content and add answers to the practice QT on the website so that candidates can develop their QT competencies.
Benefit(s) to user (if not already clear from User story)

Candidates gain valuable QT practice feeding into improved understanding of QT format and, in the longer term, an increase in success rates at QTs

Feature(s) Description

[ ] Update specified questions and answers in SJT practice test (see Additional Info section below)
[ ] Add Next Question link on the right hand side of the green top navigation - it is currently not appearing - this should take candidates to the next question
[ ] Edit the text following the Retake test button as follows: 'If you would like to try taking a full qualifying test as a mock candidate then you can register your interest via our website.

You can also [download the correct answers](link TBC) to the practice test.

[ ] Fix bug that ensues when users click Retake test: the whole screen opens in the frame and it is not possible to scroll, see image below

Additional Info

Replacement questions and answers for Q1:

You are conducting a hearing. The witness who is giving evidence has a very strong regional accent, not local to the area where the hearing is taking place. You notice that others in the hearing room, including the parties, appear to be having some difficulty in understanding the evidence.
A)	Interrupt the evidence, tell the witness politely that his accent is difficult to understand, ask him to speak more slowly and tell him you will check with him that you have correctly noted his responses.
B)	Interrupt the evidence and ask everyone in the hearing room to raise their hand if they are finding the witness hard to understand.
C)	Interrupt the evidence, invite the advocates into your chambers, and discuss the issue with them.
D)	Do nothing, on the basis that it is for the advocate to present their case, not for you to help them out.
E)	Summarise the points after the witness has stopped speaking.

Replacement questions and answers for Q3:

You are conducting a hearing in a room where the layout means you and the parties face each other across a table. The room is small, so the clerk is located opposite you, behind the parties. The claimant has provided some medical evidence related to issues he has with anxiety; your review of the paperwork suggests that the claimant might be exaggerating his anxiety, but you are not certain of this. As soon as the claimant enters the room and realises where the clerk will be sitting, he objects and states that someone sitting behind him will cause him stress.
a)	Ask the claimant if you could start the hearing and see if he forgets about the clerk sitting behind him.
b)	Offer to check if there are any other rooms where the hearing could be moved to, explaining this may cause a delay for all concerned.
c)	Offer to adjourn the case so it can be re-listed in a different room.
d)	Ask the claimant if he could identify where in the room the clerk could sit that would make him feel less anxious.
e)	Advise the claimant that he will need to focus all his attention on the proceedings so will soon forget about the clerk.
Acceptance Criteria
It's done when the QT working group are content with the updates.
Definition of Done

[ ] User stories/acceptance criteria met
[ ] Internal reviews passed (feedback actioned)
[ ] User testing passed

User Testing Steps (Internal + RW only)

Take the practice test on the JAC website
Confirm that the questions have been updated
Confirm that answers can be downloaded
Confirm that the specified bugs have bene addressed

Feature Champion
Rachael Worthington

Hey team! Please add your planning poker estimate with Zenhub @drieJAC @HalcyonJAC @tomlovesgithub @warrensearle

I've assigned this to you, @HalcyonJAC , as I believe you built this tool.

@nickaddy What are the correct answers for new Q1 and Q3?

Apologies, @HalcyonJAC, I should have included this info in the ticket!


Update IM/OM

will remove deprecated manifest attributes

done in https://github.com/keboola/docker-bundle/pull/311


When I trie to move my airship it barely moves(update)

So I tried adding more engines yet it change nothing, also one detail I left out was that the ship want even moving just changing the angle and adding more engines just made the angle changing more notable, so im not sure what it might be because the ship still didnt move.Also the ship still doesnt fall when I remove the helm

(Update)It turns out in the world with the airship you cant go to spawn otherwise any large airship you bring with you might get stuck for no reason


Moving WeChat QR code from the home page to the developer comms page.

Clean up the homepage: Remove redundant FAQ, Discord, and GitHub links.
Move the WeChat QR code to the Developer Communications page.

Some thoughts:

Not sure removing FAQ, Discord is a good idea. It will be hard for people to find our Discord link I think but that's only my opinion. Also, not sure removing Discord from main page is a good idea too. @PatrickAlphaC, @ZakAyesh. What do you think?
Agreed to move the WeChat QR code to Comms page though.

Not sure removing FAQ, Discord is a good idea.

Sorry I should have added context. We're planning to replace the Discord link with another module later and changing our FAQ as well. Converting this to Draft for now.

@StephenFluin I modified the CSS for that element. It looks a bit better now. I narrowed down the padding a bit too on these cl boxes.

Sorry about that. Somehow I reverted my .css changes after testing them locally. I restored the changes. https://deploy-preview-322--dreamy-villani-0e9e5c.netlify.app/docs/developer-communications/


Enable multiarch images work

This allows compiling the binaries and the images with
GOARCH=arm ARCH=arm32v7 make bin/submariner-route-agent

docker build . -f package/Dockerfile.submariner --build-arg ARCH=arm32v7/ -t mangelajo/submariner-route-agent:manifest-arm32v7

while still not perferct, it enables starting the work,
the route-agent image has been moved to fedora:33 to allow arm32v7 images.
Signed-off-by: Miguel Angel Ajo<EMAIL_ADDRESS>

See https://github.com/submariner-io/submariner/pull/964 for an alternative approach which doesn’t require prefixing the base image name, and which will ultimately allow multiarch images to be built.

Love your patches, more like a finished product ;-)


add testing (mostly ptest)

since nimib is mostly example-driven (initial commits was essentially driven by hello_nimib example) it makes sense that testing is also example based. I have given a look at ptest and I think I could adapt it to my needs (possibly not directly using the exact script there).
Also other testing for core modules (e.g. capture) should be added.

ptest added in 06021eda6e0c38ad791f220d398956aee19002ef

after release of 0.1 I plan to add CI and at least the unit test for captureStdout


Integrated Terminal in VSCode 1.28 does not show unicode characters correctly

VSCode Version: 1.28.0
OS Version: Windows 10 Enterprise
Git version: 2.19.1.windows.1 (Git for Windows)
Note: Integrated terminal is configured to Git Bash (C:\Program Files\Git\bin\bash.exe)

Steps to Reproduce:

Checkout any repository that contains non-ASCII text files
Run git diff @~ in the Integrated Terminal
Any non-ASCII character in the diff result is displayed as a sequence of control characters.

Example: 패치 → <ED><8C><A8><EC><B9><98>, 버전 → <EB><B2><84><EC><A0><84>

Note: Downgrading to VSCode 1.27.2 solves the issue.

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

This is likely related to winpty, tracking in https://github.com/Microsoft/vscode/issues/45693

@pastelmind What version of Windows are you on?

Also reported in https://github.com/Microsoft/vscode/issues/60256

I found a workaround: as mentioned here, providing an environment variable LESSCHARSET=utf8 solves the problem. To make the environment variable available to all VS Code instances, I added the following to my user settings (settings.json):
{
    "terminal.integrated.env.windows": {
        "LESSCHARSET": "utf-8"
    }
}

Oddly enough, the problem does not occur when I run git diff directly in Git Bash, even though it does not have the LESSCHARSET environment variable set.

@pastelmind What version of Windows are you on?

Windows 10 Enterprise (Korean) version 1803 (build 17134.345)

It seems that the issue is not restricted to Git diff results; the ls command also displays garbled characters for unicode (Korean) file names.
To fix the issue, use LC_ALL=C.UTF-8 instead of LESSCHARSET.
In your settings.json:
{
    "terminal.integrated.env.windows": {
        "LC_ALL": "C.UTF-8"
    }
}


Error building in DevOps

I'm currently using this plugin https://github.com/CrossGeeks/GoogleClientPlugin
which uses these libs:
Xamarin.Google.iOS.SignIn
Xamarin.Firebase.iOS.Core
I can compile without error on my mac.
I'm unable to compile on a build pipeline in DevOps. Getting these errors.
`MTOUCH : error MT5214: Native linking failed, undefined symbol: _kGIDSignInErrorDomain. This symbol was referenced by the managed member Google.SignIn.SignIn.SignInErrorDomainKey. Please verify that all the necessary frameworks have been referenced and native libraries linked.
MTOUCH : error MT5211: Native linking failed, undefined Objective-C class: GIDSignInButton. The symbol 'OBJC_CLASS$_GIDSignInButton' could not be found in any of the libraries or frameworks linked with your application.
MTOUCH : error MT5211: Native linking failed, undefined Objective-C class: GIDSignIn. The symbol 'OBJC_CLASS$_GIDSignIn' could not be found in any of the libraries or frameworks linked with your application.
MTOUCH : error MT5211: Native linking failed, undefined Objective-C class: GIDGoogleUser. The symbol 'OBJC_CLASS$_GIDGoogleUser' could not be found in any of the libraries or frameworks linked with your application.
MTOUCH : error MT5211: Native linking failed, undefined Objective-C class: GIDProfileData. The symbol 'OBJC_CLASS$_GIDProfileData' could not be found in any of the libraries or frameworks linked with your application.
MTOUCH : error MT5211: Native linking failed, undefined Objective-C class: GIDAuthentication. The symbol 'OBJC_CLASS$_GIDAuthentication' could not be found in any of the libraries or frameworks linked with your application.
`

Hey! Same problem.


Support for Reproducible Version Qualifiers?

Can this somehow support Reproducible Version Qualifiers (https://wiki.eclipse.org/Tycho/Reproducible_Version_Qualifiers) ?

I haven't used RVQ before, but from reading that document it appears that RVQ has these features:

Generate the same version qualifier when building from the same git commit.
Only produce new artifact version when there are changes.
Guarantee consistent artifact id, version and contents.

Satisfying 1 can easily be done by generating the qualifier from the git commit SHA.  Satisfying 2 would be harder, but possible, by generating the qualifier from a hash of the jar file's content.  I think that 3 is ill-defined.
The qualifier is generated by the bndmanifest plugin, whose javadoc are here.
The current logic for generating the qualifier is here.
Depending on your requirements, we could add a flag to the existing bndmanifest plugin, something like qualifierFromGitHash = true, to easily meet requirement 1.  If you need something more complicated, then it would probably make sense to make a new plugin.

Feel free to reopen if there's future interest.


docs: add serialization section to data fetching

🔗 Linked issue

❓ Type of change

[x] 📖 Documentation (updates to the documentation or readme)
[ ] 🐞 Bug fix (a non-breaking change that fixes an issue)
[ ] 👌 Enhancement (improving an existing functionality like performance)
[ ] ✨ New feature (a non-breaking change that adds functionality)
[ ] ⚠ Breaking change (fix or feature that would cause existing functionality to change)

📚 Description
This PR adds a serialization section to the data fetching page, including information on type conversion behavior, toJSON, and a workaround for using superjson (and other serializers).
follow-up to https://github.com/unjs/nitro/pull/1002.

📝 Checklist

[x] I have linked an issue or discussion.
[x] I have updated the documentation accordingly.

@danielroe Thanks for the review. I was checking the doc site again and superjson link is broken. I forgot to add https :)

fixed ✅
thanks for spotting!


update the try-it comment when it exists

Fix https://github.com/microsoft/typespec/issues/5434

when the try-it comment exists, update it, otherwise create one.

You can try these changes here

🛝 Playground
🌐 Website
📚 Next docs
🛝 VSCode Extension


ci: Create GitHub Workflow

Add support for building, tagging, and releasing via CICD

I'm going to add some Earthfile changes for setting the image repo correctly


Fix code scanning alert no. 1: Clear-text logging of sensitive information

Fixes https://github.com/Benjamin-Stefan/uqmi-client/security/code-scanning/1
To fix the problem, we need to ensure that sensitive information such as passwords is not logged. This can be achieved by sanitizing the messages before logging them. Specifically, we should avoid including the password field in any debug messages.

Modify the logDebug function to sanitize the message before logging it.
Ensure that any sensitive information is either removed or masked in the debug messages.

Suggested fixes powered by Copilot Autofix. Review carefully before merging.

loggin is removed


toMatchObject check for different Error objects

Summary
To fix issue #3859. Not sure if my approach is right, feel free to correct me.
Test plan
Added this test case to matchers-test.js group {pass: false}

Codecov Report

Merging #3864 into master will increase coverage by 0.01%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master    #3864      +/-   ##
==========================================
+ Coverage   57.63%   57.65%   +0.01%
==========================================
  Files         194      194
  Lines        6782     6784       +2
  Branches        6        6
==========================================
+ Hits         3909     3911       +2
  Misses       2870     2870
  Partials        3        3

Impacted Files
Coverage Δ

packages/jest-matchers/src/matchers.js
98.32% <100%> (+0.01%)
:arrow_up:

Continue to review full report at Codecov.

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

I'll close this pr due to correct solution in #3866, thanks @nathanforce

Thanks @dmitrika for tackling this too!


[OPR-169]: Initial work on Cloud Kit example

This is some initial work to setup the Cloud Kit example. However there are some bugs which need to be ironed out before this can be fixed.
It will be a number of tickets/PRs before #169 is actually done.

Current coverage is 73.94%

Merging #172 into development will not affect coverage as of 3f3f7f6

@@            development    #172   diff @@
===========================================
  Files                51      51
  Stmts              3278    3278
  Branches              0       0
  Methods
===========================================
  Hit                2424    2424
  Partial               0       0
  Missed              854     854

Review entire Coverage Diff as of 3f3f7f6

Powered by Codecov. Updated on successful CI builds.


HDDS-6305: Add metrics - number of FSO bucket creates

What changes were proposed in this pull request?
Added numFSOBucketCreates metrics to reflect the number of FSO bucket creation requests.
What is the link to the Apache JIRA
https://issues.apache.org/jira/browse/HDDS-6305
How was this patch tested?
Existing unit tests.

Thanks for the contribution @tanvipenumudy! I have added one comment around the metrics. Please check that out.
There seems to be an issue with the formatting, please run ./checkstyle.sh script present in ozone/hadoop-ozone/dev-support/checks directory to find the issues and correct them.

Thanks @tanvipenumudy for the contribution.
Thanks @ayushtkn @siddhantsangwan @JyotinderSingh for the reviews.
+1LGTM, will merge it shortly.


Issue with LTS container

After pulling and running the ibmcom/mq:9-lts or /mq:lts container, I'm unable to access the web interface.
I tried on docker for Windows 10, as well as on Ubuntu 16.04.4 LTS
Attempting to use curl on the exposed port resulted in the following:
steven@hostname:~$ curl -v -k https://localhost:9443/ibmmq/console

*   Trying <IP_ADDRESS>...
* Connected to localhost (<IP_ADDRESS>) port 9443 (#0)
* found 148 certificates in /etc/ssl/certs/ca-certificates.crt
* found 592 certificates in /etc/ssl/certs
* ALPN, offering http/1.1
* gnutls_handshake() failed: The TLS connection was non-properly terminated.
* Closing connection 0
curl: (35) gnutls_handshake() failed: The TLS connection was non-properly terminated.

steven@hostname~$ curl -v -k http://localhost:9443/ibmmq/console

*   Trying <IP_ADDRESS>...
* Connected to localhost (<IP_ADDRESS>) port 9443 (#0)
> GET /ibmmq/console HTTP/1.1
> Host: localhost:9443
> User-Agent: curl/7.47.0
> Accept: */*
>
* Recv failure: Connection reset by peer
* Closing connection 0
curl: (56) Recv failure: Connection reset by peer

Seems that the internal listener for the container is not receiving to requests passed through the exposed port.
However, the ibmcom/mq:latest container IS functional

The web console was introduced in the Continuous Delivery (CD) release of MQ, in V9.0.1.  The current Long Term Support (LTS) release is MQ V9.0.0, so doesn't include the web console.  Part of the split between CD and LTS is that the LTS releases are very stable, and don't receive any new features.  You'll have to use the CD stream (ibmcom/mq:latest) instead, for now.


HomeObject should be set at method definition time?

Traceur includes this test but after checking the spec I can't find where this behaviour is actually defined?
9.2.11 MakeMethod ( F, homeObject) Abstract Operation

The abstract operation MakeMethod with arguments F and homeObject configures F as a method by performing the following steps:

Assert: F is an ECMAScript function object.
Assert: Type(homeObject ) is either Undefined or Object.
Set the [[NeedsSuper]] internal slot of F to true.
Set the [[HomeObject]] internal slot of F to homeObject.
Return NormalCompletion(undefined).

From what I can tell the [[HomeObject]] is actually set when the method is defined instead of when evaluating super. Am I reading this correctly?

[[HomeObject]] is set when the method is defined but we still need to walk the [[Prototype]] chain. That same test passes in V8 (if you add 'use strict' and run with --harmony) and should pass in IE Preview

@arv Ah great, just making sure. Thanks!


Go to Definition not working for C

Hello,
The "Go to Definition" function is not working for C files, same for menu, F12 and hyperlink.
Kind regards,
Daniel

VSCode Version: Code 1.17.2 (b813d12980308015bcd2b3a2f6efa5c810c33ba5, 2017-10-16T13:59:46.104Z)
OS Version: Windows_NT x64 6.1.7601
Extensions:

Extension
Author (truncated)
Version

Bookmarks
ale
0.17.0

code-gnu-global
aus
0.2.2

Steps to Reproduce:

Reproduces without extensions: Yes/No

Since this is an issue for the C/C++ extension, please create an issue there.

@Densi27 and you need to install the Cpp extension as well to get Goto definition support for C++


Vulnerability support

Hi, yo can update pdfbox artifact to use new version? I check https://mvnrepository.com/artifact/org.apache.pdfbox/pdfbox
and it has insecure code.

Tagging with release v<IP_ADDRESS>, due on June 26th for now. The changes look simple, so they could be included in an earlier release than that.
The relevant CVEs are CVE-2021-27807, CVE-2021-27906, CVE-2021-31811, and CVE-2021-31812. The risks of these CVEs in versions without fixes is that certain PDFs make cause infinite loops and crash the app.


Bzip2 Decompression Failing

root@backup:/root# ./mysqldumpsplitter.sh --decompression bzip2 --desc --source mysql-dump-20170119.bz2
Results IN the following error:
ERROR: Source file not specified or does not exist. (Entered: )

Usage: file [-bcEhikLlNnprsvzZ0] [--apple] [--extension] [--mime-encoding] [--mime-type]
            [-e testname] [-F separator] [-f namefile] [-m magicfiles] file ...
       file -C [-m magicfiles]
       file [--help]
/bin/bzip2
File  is a regular dump.
 Default decompression method for source is gzip.
 The input file  does not appear a compressed dump.
 We will try using no decompression. Please consider specifying --decompression none argument.
Setting output directory: out.
Processing: Extract DESCRIBE  from  with compression option as gzip and output location as out
-------------------------------
Database                Tables
-------------------------------

Thanks for the report djeraseit ! It was an exit condition miss and the issue has been fixed.
Please note that --source has to be the first argument.
Regards,
Kedar.


add Visual Studio 64bit build configuration

It's basically just the copy of 32bit settings for convenience that I use for 64bit builds for imgui.net and imgui-pas, except RuntimeLibrary: MultiThreaded setting in Release build. This was changed in a recent PR (accidentally?), I changed it to MultiThreaded dll to match the Debug build.

if something changed there it was not me because i unfortunately can't test on windows :(

No problem, thanks for merging!


Issue 1698: adding additional check for nonstandard package names

This PR attempts to address issue https://github.com/openrewrite/rewrite/issues/1698
I added tests for "nonstandard" package names. So far I have only found issues with imports that:

include a lower case class name in the package path
include multiple camel cased names in the package path

I attempted to investigate why this was happening but ultimately found that the underlying code in the JCTree was returning these values. What I have proposed here was something I found to work by trial and error.

Thanks for tracking this down @tclayton-newr !


admin rights?

@thuijskens you did not give me admin rights to transfer the repo.
i don't see the settings button.

Hi @agramfort ! I am unable to locate the settings screen where I can give you admin access:

but I have sent you a transfer request of the repository. Perhaps you can use that?

you need to add me to Admins not Collaborators

repo is there https://github.com/scikit-learn-contrib/stability-selection


[master]  Auto Release Update for v1.1.0

/merge-when-ready release-note-not-required docs-not-required delete-branch

OK, I will merge the pull request when it's ready, leave the commits as is when I merge it, and delete the branch after I've merged it.


Add sugar to call super methods in a MethodAssembly

This greatly simplifies situations that require calling superclass methods, such as during initialisation.

Why not make the default superClass the current ClassAssembly's super-class?

Why not make the default superClass the current ClassAssembly's super-class?

Great idea! I will update the PR when I'm next available.

If we want to continue this, I think:

The function doesn't need to be in an object
superClass should default to ClassAssembly.node.superName

Closing this PR in favour of one that should be finished up in a few months.


[BUG] Failed to scale python component

Affected project(s)

[ ] documentation
[X] examples
[ ] wasmCloud host
[ ] wasmCloud CLI (wash)
[ ] wasmCloud dashboard UI (washboard)
[ ] capability providers
[ ] provider bindgen
[ ] control interface client
[ ] other / not sure

Describe the bug
2024-07-31T16:24:21.313394Z ERROR wasmcloud_host::wasmbus: failed to scale component component_ref=file:///Users/brooks/tmp/tut-tes
t/hello-py/build/http_hello_world_s.wasm component_id=python_hello_world-http_component err=failed to compile component

Caused by:
    memory index 0 has a minimum page size of 198 which exceeds the limit of 160

Steps to reproduce

Run wash new component to generate a python component
wash build
wash up -d
wash app deploy ./wadm.yaml
See error

Expected behavior
I expect for the python to component to start and work
Environment

OS: [e.g. Linux, MacOS]
Shell [e.g. bash, zsh, powershell]
wasmcloud Version [e.g. 0.81.0] v1.1.0-beta.2

Screenshots / Logs / Additional context
No response

This is the size bug! Should be fixed by https://github.com/wasmCloud/wasmCloud/commit/3c414c52d4dfd31094b4cd2cee7e2f159cad639f, right? How big is the WASM component?

How big is the WASM component?

It's 36 mb 😢
#2650 does fix this, but I'm leaving it in draft because even though it instantiates it doesn't successfully invoke

Hey @brooksmtownsend this is fixed right?

@vados-cosmonic yep!


Membership of the hackspace and young hackers

we should include something about young hackers and under 16's in here

What's the current policy? Is it that under 16s are welcome, if accompanied by a responsible adult?

Yes
On 26 Dec 2015 14:29, "rlp10"<EMAIL_ADDRESS>wrote:

What's the current policy? Is it that under 16s are welcome, if
accompanied by a responsible adult?
—
Reply to this email directly or view it on GitHub
https://github.com/NottingHack/rules/issues/12#issuecomment-167327745.

I just noticed that the rules already say at https://github.com/NottingHack/rules/blob/rtd-draft/guests-and-visitors.rst:

Included in this are both children and animals - it is common courtesy to ask on the Google Group
before attending the Hackspace with either an animal or a child. The exception to this notification is on
open days and nights - members should assume that animals or children may be present at those times.

Please do not leave your animal, child or guest unattended in the Hackspace. They are your
responsibility and must be attended at all times.

dpslwk, does that cover what you wanted?

Young Hackers still needs including - 16-18 year olds can be members of the hackspace only with their parent/guardian's consent
We have a procedure in place, but we should codify this into the rules.

We have some notes, and I will try and work this up into a procedure document, but basically:
Young Hacker (YH) and Parent(s)/Guardians(s) (P) get a tour, from a Trustee
Trustee emphasises the adult nature of the space:

There is alcohol in the space.  This is not locked away
There are solvents in the space. These are not locked away
There are sharp and dangerous tools in the space.  These are not locked away
Members at the space are not CRB checked - their child may be alone with members
We will not control their child’s access to the space - their access card will work 24/7

Trustee evaluates YH's maturity level, specifically taking them out of their comfort zone to get a rounded picture
Trustee and P sign off on the YH hacker joining


Not being able to find a class definition for FFmpeg.

While trying to test the library I've got this error...

Exception in thread "main" java.lang.NoClassDefFoundError: com/google/common/base/MoreObjects
at net.bramp.ffmpeg.FFmpeg.(FFmpeg.java:34)
at test_mixer.OggEncoder.oggEncoder(OggEncoder.java:28)
at test_mixer.Main.recordAudio(Main.java:96)
at test_mixer.Main.main(Main.java:29)
Caused by: java.lang.ClassNotFoundException: com.google.common.base.MoreObjects
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
... 4 more

The paths that I have are the following ones...
				String ffmpegPath = "C:\\Users\\Test\\EclipseWorkspace\\test_mixer\\ffmpeg\\bin\\ffmpeg.exe";
String ffprobePath = "C:\\Users\\Test\\EclipseWorkspace\\test_mixer\\ffmpeg\\bin\\ffprobe.exe";
Error is thrown while trying to instantiate the FFmpeg class. (I suposse the same will happen with the FFprobe class).
FFmpeg ffmpeg = new FFmpeg(ffmpegPath);

See issues #70 (same issue as this).
Basically your project, or one of your dependencies is using a older version of Guava. Please ensure you are using at least version 18.0.


Fills in variable values for mlab-staging cluster

The mlab-staging cluster is now fully under Terraform control, using the changes in this PR.

This change is

I also just pushed a commit, which modifies the boot disk images for mlab-sandbox instances to resolve an issue. I'd like to also update the boot disk images for staging, but wanted to test that sandbox was working first, which I won't get to until Monday.
Could you hold off on reviewing this PR for now?


UI: refreshing the UI starts suspended pipelines

Task Description
Refreshing the UI (eg: cmd+r) causes a suspended pipeline to be erroneously restarted
Steps to Reproduce

run a pipeline
suspend
refresh and relogin

I believe this was resolved. You can run into this issue only if the run was not properly suspended and as such has not been stored in localstorage as a suspended run.


upgrade intl package

Because every version of calendar_appbar depends on intl ^0.17.0 and myflutterapp depends on intl ^0.18.0, calendar_appbar is forbidden.
So, because myflutterapp depends on calendar_appbar any, version solving failed.

Please update this app to use intl 0.18.0. Many Thanks

Did someone find an alternative solution for this? Or a similar AppBar Calendar on pub.dev?

Did someone find an alternative solution for this? Or a similar AppBar Calendar on pub.dev?

You can use: https://pub.dev/packages/calendar_agenda

Thanks, @malikdoksoz  I appreciate it!


document '%f' microsecond formatter (appears to come from Python, not glibc?)

I see a %f microsecond modifier was added in 720f6bf7.
I would like to suggest possibly documenting this in the readme and Go documentation.
The readme currently mentions the glibc extensions, and both the readme and g docs link to https://linux.die.net/man/3/strftime for full formatter documentation.  As far as I can tell though, it appears %f is not included in those glibc strftime extensions?
From what I can tell via web searches, it may come from the python datetime library, which in its documentation points at the C89 reference ("The following is a list of all the format codes that the 1989 C standard requires, and these work on all platforms with a standard C implementation").  However, the %f format specifier does not appear to actually appear in the C standard, even after the C99 extensions: https://en.cppreference.com/w/c/chrono/strftime.  I can't find a reference to it in any other strftime implementation outside of Python, so I guess that may be where it originated?
Either way, it's useful, but I only found it via the source code, so I'd recommend documenting it for posterity. (I can make a PR if you prefer, but not sure how you would like to explain it in the docs.)

Thanks for reporting. The original intention was to support microseconds in gojq, after seeing https://github.com/stedolan/jq/issues/1409. Also I looked imperfectgo/go-strftime which supports this directive, but I failed investigate its origin. Though this library was intended not to include an extension like this, but %f is already used by the dependants, so hardly to drop support. I'll add a note in README.md.


Coming Soon Landing Page Using JavaScript Timers

Article
Article checklist
ATTENTION: In your PR - add the ISSUE (topic form) # that this PR corresponds to. You can do this by also adding a comment that states "This fixes #(enter your Idea Content Form #)" to link and close your Idea Content (issue) when the PR is merged.
NOTE: (Please ensure that you have only one open issue + linked pull request at a time. This will ensure that we complete the article in a timely manner from inception to publishing.)
If you have not already please go over our Resources Page for more tips and tricks on how to improve our overall technical writing.
Preliminary Checks - Formatting and Structure

[x] Is the article you are submitting an in-depth and unique article? Does it go beyond what is in the official docs and what is covered in other blog sites. See these articles as examples.
[x] Does your article follow any of the suggested structure formats? - see example formats
[x] Is your article properly formatted in Markdown? - see Github Markdown guide
[x] Have you used the correct folder and file structure? - see Contribution Guidelines
[x] Is your article over 750 words? - Tool: Wordcounter.net
[x] Have you used our preferred heading structure? - H3 (###) and up
[x] Does your article provide enough value and detail about your topic? - Articles should be clear, accurate, and fully explained.
[x] Can your article be understood by beginners? - Assume the audience is smart but has no prior exposure to the common terminology in your article.
[x] Have you included a hero image that is 600x400 pixels and have the copyright to use it? - Tools: Pixlr Image Editor for resizing and Unsplash for Creative Commons images
[x] In your PR - add a comment that states "This fixes #(enter your Idea Content Form #)" to link and close your Idea Content (issue) when the PR is merged.

Grammar & plagiarism checks

[x] Have you spellchecked and grammar checked your article? - Tools: Write&Improve - ProWritingAid -  Grammarly
[x] Please place your article through a 3rd party plagiarism checker? We suggest using Quetext, this tool is free and has a daily limit. We typically accept articles with 10% or less.
[x] Have you checked your article for readability? - Tool: Hemmingway
[ ] Have you added sources for quotes and images that aren't yours?

Technical checks

[x] Are your code snippets properly formatted for syntax highlighting - see Syntax guide

Contribution guidelines
For first-time contributors and for more details, see Contributing Guidelines
This fixes #3118

@EssyG10
Coming Soon Landing Page Using JavaScript Timers #3357.pdf
👋 Good afternoon - and welcome to the EngEd program.
I'll be running a final review on your PR when ready.
Upon running your article through our 3rd party plagiarism checker it seemed to raise a few flags and the % was higher than we typically accept.
Please see attached PDF - and revisit the article to ensure we are contributing wholly unique and original content.
Be sure to see our resources page to see more info on plagiarism and what is considered as such.

@hectorkambow, changes are in place

cc @jumamiller

@jumamiller,changes are in place

@jumamiller, Requested changes have been implemented.

@EssyG10 , I've made major edits on this article, kindly go over those commits and look at the changes. For example, we've HTML and not 'html', we've JavaScript and NOT 'javaScript'. These are minor issues you can resolve if you take your time and go through your article. And once again, internal JavaScript are only placed at the top (head) of HTML or bottom(footer). Why are you placing them inside the HTML body. There is a case you directed users to enter a script after a certain paragraph. Kindly revise this article thoroughly. We only have a maximum of 3 revisions or your article risks being closed. Thanks.

Do not forget to run your article on Grammarly. Several typos were encountered.

@jumamiller, I did run my article on Grammarly and the overall score was 96% and In Javascript, SCRIPT tags can be inserted into three places: in between the two BODY tags, in between the two HEAD tags, and as a link to an external file, also in the HEAD section. I did advocate putting the SCRIPT tags in the BODY section before committing changes in this article, right at the end. The reason why I did it this way is that the web page itself will have loaded before the script is read.🙄🙄Thanks.

In general you should place script references at the bottom of your page. Scripts not only need to be downloaded, they must also be evaluated and executed before the block is released and the page proceeds with the rendering process. Things like Modernizr should be placed in the top because it does some feature detections as well as HTML5 shims that you will probably want.
Another reason you want to try to place scripts at the bottom of the page is Single Points of Failure or SPOFs. This is where a script call times out or for some other reason blocks the page execution. This can happen a lot with third party advertising libraries, etc.
Yes you may have to think a little harder about how you architect your application, but I found it to become very natural very quickly for me. I have built hundreds of web apps over the past 4 years with the script at the bottom and I can tell the difference. I may be 500ms it might be 5000ms but it all matters.
However, no JS files should be enclosed within 'body' tags. Just coding standards. It will work wherever you place them, but let's have a standard pool of contents.

Grammarly doesn't guarantee no mistakes, my point was quite clear, "there were typos". Correct typos and we're good. Thanks.

@jumamiller,minor changes fixed

@jumamiller, Thanks😉

Hi @EssyG10
Thanks for this article. It is easy to follow through and quite informative
Also, welcome to Section's Eng-Ed community. We're looking forward to reading more awesome content from you.
cc: @jumamiller - you had forgotten the front matter and your peer reviewer line.
Please ensure you add them in future articles


java.sql.SQLNonTransientConnectionException: No operations allowed after connection closed.

I am working on a project for school which is creating a scheudling application(WGU C195) and keep facing this error when I try to log in
as far as I got the issue is in the DBConnection file
package main;
import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.PreparedStatement;
import java.sql.SQLException;
/**

The {@code DBConnection} class manages the database connection lifecycle,

including establishing and closing connections to the database.
*/
public class DBConnection {
// Database connection details
private static final String PROTOCOL = "jdbc";
private static final String VENDOR_NAME = ":mysql:";
private static final String IP_ADDRESS = "//<IP_ADDRESS>:3306/client_schedule";
private static final String JDBC_URL = PROTOCOL + VENDOR_NAME + IP_ADDRESS + "?connectionTimeZone=SERVER";
private static final String MYSQL_JDBC_DRIVER = "com.mysql.cj.jdbc.Driver";
// Database credentials
private static final String USERNAME = "sqlUser";
private static final String PASSWORD = "Wjg5obl4K1heryz88GVlxeEc1EMW6Vi";
// Database connection instance
private static Connection conn = null;
/**

Starts the database connection if it is not already active.

@return the active database connection.
*/
public static Connection startConnection() {
if (conn == null) {  // Check if the connection is already established
try {
Class.forName(MYSQL_JDBC_DRIVER);  // Load the JDBC driver
conn = DriverManager.getConnection(JDBC_URL, USERNAME, PASSWORD);  // Establish the connection
logConnectionStatus("Database connection established.");  // Log successful connection
} catch (ClassNotFoundException | SQLException e) {
logConnectionStatus("Failed to connect to the database.");  // Log failure to connect
e.printStackTrace();  // Print the stack trace for debugging
}
}
return conn;  // Return the active connection
}

/**

Returns the current database connection. If no connection is active,
it attempts to start a new one.

@return the active database connection.
*/
public static Connection getConnection() {
try {
if (conn == null || conn.isClosed()) {  // Ensure a connection is available
return startConnection();  // Start a new connection if none exists or if the existing one is closed
}
} catch (SQLException e) {
logConnectionStatus("Error checking connection status.");  // Log the error
e.printStackTrace();  // Print the stack trace for debugging
}
return conn;  // Return the existing connection
}

/**

Prepares a new {@code PreparedStatement} for a given SQL statement.

@param sqlStatement the SQL statement to be prepared.
@return a {@code PreparedStatement} object for executing the SQL statement.
@throws SQLException if the SQL statement cannot be prepared or if the connection is null.
*/
public static PreparedStatement createPreparedStatement(String sqlStatement) throws SQLException {
Connection conn = getConnection();  // Ensure we have a valid connection
if (conn != null && !conn.isClosed()) {
return conn.prepareStatement(sqlStatement);  // Prepare and return a new PreparedStatement
} else {
throw new SQLException("Connection is null or closed. Cannot prepare statement.");  // Handle null or closed connection
}
}

/**

Closes the database connection and any provided {@code PreparedStatement}.

@param ps the {@code PreparedStatement} to close.
*/
public static synchronized void closeConnection(PreparedStatement ps) {
try {
if (ps != null && !ps.isClosed()) {
ps.close();  // Close the PreparedStatement
}
if (conn != null && !conn.isClosed()) {
conn.close();  // Close the connection
conn = null;
logConnectionStatus("Database connection closed.");
}
} catch (SQLException e) {
logConnectionStatus("Failed to close PreparedStatement or connection.");
e.printStackTrace();
}
}

/**

Overloaded method to close the database connection without needing a {@code PreparedStatement}.
*/
public static synchronized void closeConnection() {
closeConnection(null);  // Call the other closeConnection method with null
}

/**

Logs the connection status.

@param message the message to log.
*/
public static void logConnectionStatus(String message) {
System.out.println(message);  // Print the message to the console
}
}

@Hamed0911 could you format code using backticks? It's unreadable in this state

Ask this on stackoverflow or to ChatGPT.


Nested Entities

Is it possible to find overlapping/nested entities?

Search for two red balls with dots and the playing cards in an orange bucket

I am new to snips-nlu so I'm not sure whether it can solve my use case but I'm hoping to transform that imperative into something like:
{
    intent: "find",
    entities: [
        {
            text: "two red balls with dots",
            type: "object_to_find",
            subentities: [
                { value: 2, attribute: "number", text: "two" },
                { value: "red", attribute: "color", text: "red" },
                { value: "ball", attribute: "type", text: "balls" },
                { value: "dotted", attribute: "decoration", text: "with dots" },
            ]
        }, {
            text: "playing cards",
            type: "object_to_find",
            subentities: [
                { value: "cards", attribute: "type", text: "playing cards" },
            ]
        }, {
            text: "an orange bucket",
            type: "location_filter",
            subentities: [
                { value: "orange", attribute: "color", text: "orange" },
                { value: "bucket", attribute: "type", text: "bucket" },
            ]
        }
    ]
}

I need to distinguish between multiple search terms ("objects") that each have attributes and other search filters (like the "location_filter"). I have used wit.ai to do this before but I'm wondering whether snips can solve for my use case and where I should look for an example like this or some documentation.

I have a similar use-case..
We already have a very complex rhasspy nlu dataset, where we have nesting in entities of certain intents.
And, we are building a custom parser for our use.
Since the "rhasspy-snips-nlu" parser always generates all possible sentences in the data, it is unusable for us and creates millions of utterance sentences for certain intents.
Does SNIPS support such nesting of entities? I could not find any information regarding it.

@datta-aerosys FWIW, I moved on to another platform...

@datta-aerosys Eventually I stopped trying to roll my own and just used Azure's cognitive services. I might return to this in the future, but it was for a side project.

@datta-aerosys Eventually I stopped trying to roll my own and just used Azure's cognitive services. I might return to this in the future, but it was for a side project.

Ahh, ok. Online services are not possible for me, since my target edge-device has to be offline and standalone capable.


High CPU utlization on windows server after configuring the otelcol

High CPU utlization on windows server after configuring the otelcol

Good bot, especially the first three steps.


Remove redundant cant_signin template

The route & action (but not the template) was removed in this commit and the template should've been removed at the same time.

I don't think there's a massive benefit to creating a release just for this change, so I'm going to wait until we have another more impactful change before doing that...


Morph within an animation frame

I think in general the browser knows when it's executing JavaScript and doesn't need to be in a requestAnimationFrame callback to optimize renders, nor does using requestAnimationFrame guarantee that you or some other code won't do something that requires synchronous layout, which isn't painting as such but is still quite costly, so I'm not sure this particularly helps with performance—but it definitely changes the semantics of the code!
I.e., the work of myMorph.morph is now async with no guaranteed timeline and no explicit way to await its completion, so the actual morphing now happens at an arbitrary-ish time after any other synchronous code that's in execution order after myMorph.morph(). This means:

Previously, some other xhr event handlers could assume that the morph work will be done by the time they run, and now they cannot.
Multiple morphs (e.g. in phlex JS) called one after the other may fail in messy ways, as the DOM node against which a later morph was enqueued may not be part of the DOM anymore by the time it actually runs.

At a minimum, with morph being async, I would expect it to return a promise that's resolved once it's done (which would also simplify your tests).

Summarizing further comments from Discord, separating the morphing from the identifying the nodes to be morphed introduces infinite race conditions: with this change, literally anything can happen to the page between the time someone calls morph(node, reference) and the time that we attempt to morph node with the new content from reference. It is also not possible for calling code to remove the risk of nodes changing or being queried between call and effect.
Bottom line: with this change reverted, it would still be trivial for calling code to morph within an animation frame callback if desired, but with this change retained, it is impossible to morph synchronously or race-safely.
This is irreconcilably incompatible with (at least) Idiomorph's behavior/API and is not a polite choice for an implement-an-algorithm library to make. The change should be reverted.

Thanks for bringing this up. 🙏


functional test build fails on hotspot jdk8

The functional test build is failing on hotspot jdk8, messages like:
19:45:15      [javac] Compiling 10 source files to /home/jenkins/workspace/Test_openjdk8_hs_sanity.functional_aarch64_linux/openjdk-tests/functional/cmdLineTests/J9security/bin
19:45:16      [javac] /home/jenkins/workspace/Test_openjdk8_hs_sanity.functional_aarch64_linux/openjdk-tests/functional/cmdLineTests/J9security/src/com/ibm/j9/jsr292/indyn/TestJSR292.java:25: error: package jdk.internal.org.objectweb.asm does not exist
19:45:16      [javac] import static jdk.internal.org.objectweb.asm.Opcodes.ACC_PUBLIC;
19:45:16      [javac]                                             ^
19:45:16      [javac] /home/jenkins/workspace/Test_openjdk8_hs_sanity.functional_aarch64_linux/openjdk-tests/functional/cmdLineTests/J9security/src/com/ibm/j9/jsr292/indyn/TestJSR292.java:25: error: static import only from classes and interfaces
19:45:16      [javac] import static jdk.internal.org.objectweb.asm.Opcodes.ACC_PUBLIC;
19:45:16      [javac] ^
19:45:16      [javac] /home/jenkins/workspace/Test_openjdk8_hs_sanity.functional_aarch64_linux/openjdk-tests/functional/cmdLineTests/J9security/src/com/ibm/j9/jsr292/indyn/TestJSR292.java:26: error: package jdk.internal.org.objectweb.asm does not exist
19:45:16      [javac] import static jdk.internal.org.objectweb.asm.Opcodes.ACC_STATIC;
19:45:16      [javac]                                             ^
19:45:16      [javac] /home/jenkins/workspace/Test_openjdk8_hs_sanity.functional_aarch64_linux/openjdk-tests/functional/cmdLineTests/J9security/src/com/ibm/j9/jsr292/indyn/TestJSR292.java:26: error: static import only from classes and interfaces
19:45:16      [javac] import static jdk.internal.org.objectweb.asm.Opcodes.ACC_STATIC;
19:45:16      [javac] ^
19:45:16      [javac] /home/jenkins/workspace/Test_openjdk8_hs_sanity.functional_aarch64_linux/openjdk-tests/functional/cmdLineTests/J9security/src/com/ibm/j9/jsr292/indyn/TestJSR292.java:27: error: package jdk.internal.org.objectweb.asm does not exist
.......

The build started failing on May 17th 2021: https://ci.adoptopenjdk.net/job/Test_openjdk8_hs_sanity.functional_aarch64_linux/.
May be due to https://github.com/eclipse-openj9/openj9/commit/765cecbc30ef68880261cd3b75ba6dcc94bc1fe3#diff-1ea954c0b0701fd2637d25d7ddd714d76d0e990df6ec8f03691d7f80e483bc63

Fixed upstream via  https://github.com/eclipse-openj9/openj9/issues/12756 and passing since May 26th


Add parser for Wallabag Atom feeds

This Pull Request for Atom Feeds generated by Wallabag.
I have not tested how it impacts Shaarli import tool which also parses an Atom feed.

thank you! this is great


BUG: Updating templateflow does not update the repo

For S3-backed systems, this requires 1) identifying that this is an update; 2) unzip new files in the skeleton.
For Datalad-backed systems, this requires 1) identifying that this is an update; 2) datalad update --merge -r.

Yeah, I'm not really sure how things work without datalad. I guess you could include a repo revision hash that also goes into S3, make a best-effort check for the single S3 file and re-download if the hash has changed?


Preparing v1.5.1 release

Doesn't work for me in my local, after pip install -e . and xcube serve. The viewer endpoint doesn't return the viewer interface but only a blank page

Doesn't work for me in my local, after pip install -e . and xcube serve. The viewer endpoint doesn't return the viewer interface but only a blank page

Could you provide some more details please? What is shown in the browser's developer tools? Anything interesting in the server logs? What OS, browser?

Doesn't work for me in my local, after pip install -e . and xcube serve. The viewer endpoint doesn't return the viewer interface but only a blank page

Could you provide some more details please? What is shown in the browser's developer tools? Anything interesting in the server logs? What OS, browser?

works now!


Bump VPR + delayless switch fix

This PR bumps VPR to the recent master+wip with post synthesis netlist write fix (analysis targets work). Also suppresses emission of __vpr_delayless_switch__ to the arch.xml. It is now implicitly defined.

@tcal-x Unfortunately yes. This is related to this issue https://github.com/SymbiFlow/symbiflow-arch-defs/issues/1400


Gitea could be configured out of the box to be more usable

Is your feature request related to a problem? Please describe.
Gitea is provided empty, with just an admin account. Once we have #80 solved, it would be great to create user accounts in the workspace Gitea deployment, automatically.
If we decide to have a global Gitea, we should also create accounts there, with appropriate rights.

This should also include setting up SSH keys etc.


feat(copr): enable configuring chroot-specific options

namely, all the additional_*
Detailed and well written ask from @evgeni:
https://github.com/packit/packit/issues/1429#issuecomment-1373209874
Fixes #1429
I thought about the design what exactly should we pass from p-s to create_copr_project_if_not_exists.
The problem is that job_config causes a circular dependency (aliases require copr_helper).
TODO:

[x] Write new tests or update the old ones to cover new functionality.
[x] Update doc-strings where appropriate.
[ ] Update or write new documentation in packit/packit.dev. https://github.com/packit/packit.dev/pull/583
[ ] once approved, pass targets_dict to the copr_helper method in a new p-s PR https://github.com/packit/packit-service/pull/1833

RELEASE NOTES BEGIN
Target-specific configuration for Copr builds can now be defined and Packit will set it for the appropriate Copr chroots.
RELEASE NOTES END

Btw. Isn't it easier to leave users define multiple jobs?

We already have this for the tests job where folks can define mapping between distros. So we just reuse that here.

(I like the syntax but having yet another level of config not so much...)
edit: thinking about that again, it would probably not work because of how Copr handle these... or?

Yes, agreed. I'm afraid it wouldn't work :/ or we would have to do a lot of magic on our side.