Yaml parser fails when handling "!Ref" function form

The yaml parser fails when handling the "!Ref" function form used to reference values provided in Parameters with the following error stack:
Traceback (most recent call last):
  File "../dynamodb-local-cloudformation/parse.py", line 25, in <module>
    for table in cloudFormationParser.parse_cloud_formation_template(args.filename):
  File "/home/py/dynamodb-local-cloudformation/dynamodb_cloud_formation/cloud_formation_parser.py", line 29, in parse_cloud_formation_template
    cloud_formation_json = self.load_yaml(file_name)
  File "/home/py/dynamodb-local-cloudformation/dynamodb_cloud_formation/cloud_formation_parser.py", line 24, in load_yaml
    yamlData = yaml.load(fileHandle)
  File "/usr/local/lib/python2.7/site-packages/yaml/__init__.py", line 71, in load
    return loader.get_single_data()
  File "/usr/local/lib/python2.7/site-packages/yaml/constructor.py", line 39, in get_single_data
    return self.construct_document(node)
  File "/usr/local/lib/python2.7/site-packages/yaml/constructor.py", line 48, in construct_document
    for dummy in generator:
  File "/usr/local/lib/python2.7/site-packages/yaml/constructor.py", line 398, in construct_yaml_map
    value = self.construct_mapping(node)
  File "/usr/local/lib/python2.7/site-packages/yaml/constructor.py", line 208, in construct_mapping
    return BaseConstructor.construct_mapping(self, node, deep=deep)
  File "/usr/local/lib/python2.7/site-packages/yaml/constructor.py", line 133, in construct_mapping
    value = self.construct_object(value_node, deep=deep)
  File "/usr/local/lib/python2.7/site-packages/yaml/constructor.py", line 88, in construct_object
    data = constructor(self, node)
  File "/usr/local/lib/python2.7/site-packages/yaml/constructor.py", line 414, in construct_undefined
    node.start_mark)
yaml.constructor.ConstructorError: could not determine a constructor for the tag '!Ref'

According to documentation, we can reference Parameters using !Ref function form or the full dictionary form. Both of these methods are not working with dynamodb-local-cloud-formation.

Closing, I had missed the Known Issues section...


Spelling Issue

Line 11 inside the h2 tag for the home.html file has a misspelled interactive as interative

Fixed. Thanks for the report!!


Add time, count and error based handling to all the plugins.

Also adds support for full configuration for sampling over environment variables.

I think, we need to redesign sampler API and change the way how it is handled:

I see that in the sampler configs, there are all the samplers are defined and each of them is checked one by one. With the every sampler, this is going to be more complex. Therefore, we should have CompositeSampler which gets list of samplers and an operation (AND and OR) to combine results of each given samplers.

Currently, sampler configs make sampling decision but they should just be config and should not have sampling behaviour.

I think, we don't need sampler configs. Samplers to be used can be directly passed in the InvocationConfig, TraceConfig, MetricConfig and LogConfig programmatically. No need to make everything through environment variable, especially it will be very complex when we introduce CompositeSampler.

Configs (InvocationConfig, TraceConfig, etc ...) can only have one sampler instance which can be CountAwareSampler, TimeAwareSampler, CompositeSampler as a combination of any other samplers (for ex. combination of CountAwareSampler and TimeAwareSampler) or any custom sampler. So no need to have all the types of samplers in the config.

Pull Request Test Coverage Report for Build 403

0 of 0   changed or added relevant lines in 0 files are covered.
19 unchanged lines in 5 files lost coverage.
Overall coverage increased (+0.9%) to 68.739%

Files with Coverage Reduction
New Missed Lines
%

dist/plugins/Metric.js
1
93.91%

dist/ThundraWrapper.js
1
95.35%

dist/plugins/config/TimeAwareSamplerConfig.js
4
40.0%

dist/plugins/Trace.js
6
89.18%

dist/plugins/Log.js
7
75.25%

Totals

Change from base Build 391:
0.9%

Covered Lines:
1913

Relevant Lines:
2603

💛  - Coveralls

You can find the examples of the new API in here : https://github.com/thundra-io/thundra-examples-lambda-nodejs/blob/master/sampling-demo/index.js

There are fails in the CircleCI: https://circleci.com/gh/thundra-io/thundra-lambda-agent-nodejs/406


Fix for cocoalumberjack 2.0b

Opening this up for discussion:
This updates for CocoaLumberjack 2.0.0-beta4 release. Since its a pre-release I'll update this accordingly when i notice a new release has happened.
Most of the changes are just with accessing variables and dealing with renames.
This should (probably) not be merged until v2.0.0 of CocoaLumberjack is officially released also.

Hi @dmiedema I think I will wait for the official release of CocoaLumberJack. There are quite a few issues still in the betas, for example not being able to build using CocoaPods for certain deployment targets.

Hi there, I'm just wondering if this PR will fix some issues I've bene having with the latest version of XCode? If I follow the documentation it results in this error:
2015-02-11 06:02:41.399 LogglyTest[1558:84724] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '*** setObjectForKey: object cannot be nil (key: appname)'
There's a mention of variables up there in a commit message, so thought I'd check.

Hi @ChrisChinchilla ,
I don't think this PR will help. For some reason it seems like the key CFBundleDisplayName is missing in the info.plist file in your xcode project. To resolve the problem, please insert this key in your plist file. Using xcode you can do this by selecting the plist file in the folder tree to the left, select the row "Information Property List" and click the plus sign to the right of this row. Then select "Bundle display name", press return. Double click the value column for this new row and enter a name for your app. This is the name that will show up beneath the app icon on the home screen, so choose a short name.
If you are using localized plist files, you need to do this in all of them. Hope this helps.
Cheers,
/Mats

Yeah, that works. Thanks. No idea why there wasn't one there.

Looks like CocoaLumberjack 2.0 was released today (about 20 minutes ago as of this comment) so this merge should be all good to go.

Thanks @dmiedema I also added the new 2.0 imports and enums for flags and levels. Also using new major version 2.0.0, to note that the upgrade comes with breaking API changes, not in LogglyLoggerCocoaLumberjack, but in the dependency CocoaLumberjack 2.0.


change changeset for get more info in the changelog

Hey, I just made a Pull Request!

This is an attempt to close #19973
I was digging into the https://github.com/changesets/changesets, and they use this plugin here to get this:

The problem is: I don't have a simple way to test this because we don't have a dry-run option in the cli (https://github.com/changesets/changesets/issues/614), so I accept some suggestions about this :)
:heavy_check_mark: Checklist

[ ] A changeset describing the change and affected packages. (more info)
[ ] Added or updated documentation
[ ] Tests for new functionality and regression tests for bug fixes
[ ] Screenshots attached (for UI changes)
[x] All your commits have a Signed-off-by line in the message. (more info)

Go away bot! @awanlin help me please 🥺

Go away bot! @awanlin help me please 🥺

Sorry @angeliski, this fell in the cracks of my emails. Sadly I actually don't know how we would go about testing this but I'll do some digging

Nice tip @awanlin
I tried to release, but the npm package is the same, so I got error. But I discovered running  yarn changeset version gets me the CHANGELOG locally generated. And works really nicely:

@awanlin @Rugvip help again?

Just resolved package.json conflicts before merging 🙌🏻

This is AWESOME @angeliski, thanks for taking the time to figure this out! 🚀 (also sorry for going MIA been on a bit of vacation and now I'm in Chicago for BackstageCon/KubeCon)
Many thanks for @camilaibs, @vinzscam, and @freben for getting it over the line 😄

Looks like we're running into issues with this as we might have too many changesets which causes some weird errors with Github when trying to create the release line.
https://github.com/changesets/changesets/issues/1239
https://github.com/latticexyz/mud/issues/1660
Thinking that we probably need to contribute something to the upstream plugin to limit the amount of nesting in this query:
https://github.com/changesets/changesets/blob/main/packages/get-github-info/src/index.ts#L27-L66

Huum, backstage is too much for them 😅
I will try to look at how to reproduce this behavior and send a fix for the package. Thanks for the report


Add a way to use SecretStoreFile on MacOS

When KEYBASE_SECRET_STORE_FILE=1 is defined and in devel run mode, Keybase on MacOS will "fall back" to SecretStoreFile instead of keychain-based secret store, allowing for running multiple test users on one machine easier.

Thanks for looking. Do you think there are multi user MacOS systems that could benefit from having this prod-enabled? Also I'm not entirely sure how Keychain works.
To make it not limited to Darwin, maybe simple way is to change func NewSecretStoreLocked(g *GlobalContext) *SecretStoreLocked to check env variable and call NewSecretStoreFile instead of NewSecretStoreAll.

That could work too.
I'm just thinking about which problem is more likely:

Will someone set this variable such that it's visible to their prod service, but hope that it doesn't have any effect, and then be surprised that it does?
Will someone do that hoping that it does have an effect, and then be surprised that it doesn't?

I feel like the second case is more likely, but I don't really know. Totally your call.

I was more looking it from an angle that one of us can set it by mistake (or have it "left over" from some testing session) and mess up their real account somehow.

Yep, that's a fair worry.

Merging this as is because I find it very useful for branches I'm working on right now. We can always change it later. Thanks!


pagination of inlined resources?

what if there are a bunch of related resources? v2 api I believe limits how many inlined resources are returned.

yeah, we should have this, it could look something like
"included": {
"apps": {
pagination: {}
resources: {}
}
}

would be nice to include an example of a pagination request on a related resource inclusion request (e.g,
/v2/spaces/ab09cd29-9420-f021-g20d-123431420768?include=apps&include_apps_order_by=-state,-date)

a small typo on
https://github.com/cloudfoundry/cc-api-v3-style-guide#pagination-of-related-resources
GET /v3/apps/:guid?include=space,organization
with pluralized resource name should be GET /v3/apps/:guid?include=spaces,organizations

https://www.pivotaltracker.com/story/show/103430116

@gberche-orange
The example was broken, but it's actually the response keys were incorrect. The request is single because apps only have one space, spaces have one org, etc, but the response must be pluralized as it's an indeterminate number of the resources returned. It's been fixed.
@cppforlife
We've also since written up a proposal for paginated resources.

Closing this issue.  If there are concerns about the proposal, please open a new issue.


so many issues

Steps to Reproduce:
Step 1  [Pending]
Step nr one
Step 2  [Pending]
Second step

Open Defect in TestQuality

Test Sample test in Run Run 550 (linked to Cycle All tests).


[Feature Request] Allow for more than 10 search result vertices in search bar

Graph Explorer Version (and Graph Database and Version used if applicable)
Latest
Is your feature request related to a problem? Please describe.
When searching for nodes in the search bar, the results only display up to 10 nodes. There is no way to add more / all search results in order to add to the canvas in bulk.
Describe the solution you'd like
An ability to search for and add more than 10 vertices via a paginated format or other method would be extremely helpful when dealing with large amounts of data. Oftentimes, we wish to add 10+ or even all nodes into the canvas at once based on search result.
Additional context

I also think this would be a very useful feature to have. I had a case recently where I could not find what I was looking for as many properties had similar names and the ones I wanted were not in the 10 offered.


obfuscate jwt trace logs

PR description
Obfuscate JWT token in trace logs, leaving enough to compare with what would have been sent for debugging purposes.
Fixed Issue(s)

addresses static analysis alerts 597 and 810

closing


Build fails on Debian/sid

The build breaks completely, possibly due to some bcc incompatibilities.
First step
mkdir build
cd build
cmake ..
make

ended with errors
ProcMon-for-Linux/src/configuration/../tracer/ebpf/ebpf_tracer_engine.h:6:10: fatal error: bcc/BPF.h: No such file or directory
    6 | #include <bcc/BPF.h>
      |          ^~~~~~~~~~~

Then I install libbpfcc-dev which provides this file. Now compilation fails at the loading stae:
[ 96%] Linking CXX executable procmon
/usr/bin/ld: /usr/bin/ld: DWARF error: could not find variable specification at offset 999e
/usr/bin/ld: DWARF error: could not find variable specification at offset 9a1a
.... many of these DWARF errors ...
src/tracer/libtracer-static.a(ebpf_tracer_engine.cpp.o): in function `ebpf::BPF::BPF(unsigned int, ebpf::TableStorage*, bool, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, bool)':
/usr/include/bcc/BPF.h:56: undefined reference to `ebpf::BPFModule::BPFModule(unsigned int, ebpf::TableStorage*, bool, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, bool, char const*)'
collect2: error: ld returned 1 exit status

Furthermore, the provided .deb file does not work due to missing and unavailable libraries (panel and ncurses.so.5).

Switching the bcc git tag to 0.14:
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -22,7 +22,7 @@ include(FetchContent)
 FetchContent_Declare(
   bcc
   GIT_REPOSITORY https://github.com/iovisor/bcc.git
-  GIT_TAG        v0.10.0
+  GIT_TAG        v0.14.0
 )

 FetchContent_GetProperties(bcc)

allows the build to finish, but core dumps:
(gdb)
#0  __GI___libc_free (mem=0x560f00000000) at malloc.c:3102
#1  0x0000560f3cd6ec1e in ebpf::StatusTuple::~StatusTuple (this=0x7fffe8905e50, __in_chrg=<optimized out>)
    at /usr/include/bcc/bcc_exception.h:24
#2  0x0000560f3cd6b61f in EbpfTracerEngine::EbpfTracerEngine (this=0x560f40300110, storageEngine=..., targetEvents=...)
    at /home/norbert/Development/procmon/ProcMon-for-Linux/src/tracer/ebpf/ebpf_tracer_engine.cpp:50
#3  0x0000560f3cd3e004 in ProcmonConfiguration::ProcmonConfiguration (this=0x560f402fba90, argc=1, argv=0x7fffe8906d58)
    at /home/norbert/Development/procmon/ProcMon-for-Linux/src/configuration/procmon_configuration.cpp:180
#4  0x0000560f3cd3b905 in __gnu_cxx::new_allocator<ProcmonConfiguration>::construct<ProcmonConfiguration, int&, char**&> (
    this=0x7fffe89067ef, __p=0x560f402fba90) at /usr/include/c++/9/ext/new_allocator.h:147
#5  0x0000560f3cd3b7da in std::allocator_traits<std::allocator<ProcmonConfiguration> >::construct<ProcmonConfiguration, int&, char**&>
    (__a=..., __p=0x560f402fba90) at /usr/include/c++/9/bits/alloc_traits.h:484
#6  0x0000560f3cd3b612 in std::_Sp_counted_ptr_inplace<ProcmonConfiguration, std::allocator<ProcmonConfiguration>, (__gnu_cxx::_Lock_policy)2>::_Sp_counted_ptr_inplace<int&, char**&> (this=0x560f402fba80, __a=...) at /usr/include/c++/9/bits/shared_ptr_base.h:548
#7  0x0000560f3cd3b303 in std::__shared_count<(__gnu_cxx::_Lock_policy)2>::__shared_count<ProcmonConfiguration, std::allocator<ProcmonConfiguration>, int&, char**&> (this=0x7fffe8906b88, __p=@0x7fffe8906b80: 0x0, __a=...) at /usr/include/c++/9/bits/shared_ptr_base.h:679
#8  0x0000560f3cd3b01e in std::__shared_ptr<ProcmonConfiguration, (__gnu_cxx::_Lock_policy)2>::__shared_ptr<std::allocator<ProcmonConfiguration>, int&, char**&> (this=0x7fffe8906b80, __tag=...) at /usr/include/c++/9/bits/shared_ptr_base.h:1344
#9  0x0000560f3cd3aaef in std::shared_ptr<ProcmonConfiguration>::shared_ptr<std::allocator<ProcmonConfiguration>, int&, char**&> (
    this=0x7fffe8906b80, __tag=...) at /usr/include/c++/9/bits/shared_ptr.h:359
#10 0x0000560f3cd3a76f in std::allocate_shared<ProcmonConfiguration, std::allocator<ProcmonConfiguration>, int&, char**&> (__a=...)
    at /usr/include/c++/9/bits/shared_ptr.h:702
#11 0x0000560f3cd3a091 in std::make_shared<ProcmonConfiguration, int&, char**&> () at /usr/include/c++/9/bits/shared_ptr.h:718
#12 0x0000560f3cd388ff in main (argc=1, argv=0x7fffe8906d58) at /home/norbert/Development/procmon/ProcMon-for-Linux/src/procmon.cpp:38

The build breaks completely, possibly due to some bcc incompatibilities.
First step
mkdir build
cd build
cmake ..
make

ended with errors
ProcMon-for-Linux/src/configuration/../tracer/ebpf/ebpf_tracer_engine.h:6:10: fatal error: bcc/BPF.h: No such file or directory
    6 | #include <bcc/BPF.h>
      |          ^~~~~~~~~~~

Then I install libbpfcc-dev which provides this file. Now compilation fails at the loading stae:
[ 96%] Linking CXX executable procmon
/usr/bin/ld: /usr/bin/ld: DWARF error: could not find variable specification at offset 999e
/usr/bin/ld: DWARF error: could not find variable specification at offset 9a1a
.... many of these DWARF errors ...
src/tracer/libtracer-static.a(ebpf_tracer_engine.cpp.o): in function `ebpf::BPF::BPF(unsigned int, ebpf::TableStorage*, bool, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, bool)':
/usr/include/bcc/BPF.h:56: undefined reference to `ebpf::BPFModule::BPFModule(unsigned int, ebpf::TableStorage*, bool, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, bool, char const*)'
collect2: error: ld returned 1 exit status

Furthermore, the provided .deb file does not work due to missing and unavailable libraries (panel and ncurses.so.5).

I have the same problem

Duplicate of #70


Updated DJI.DJIAssistant2ForBatteryStation version V<IP_ADDRESS>

[X] Have you signed the Contributor License Agreement?
[X] Have you checked that there aren't other open pull requests for the same manifest update/change?

[X] Does your manifest conform to the 1.0 schema?

Note: manifests\d\DJI\DJIAssistant2ForBatteryStation\V<IP_ADDRESS> is the name of the directory containing the manifest you're submitting.

Microsoft Reviewers: Open in CodeFlow

/azp run


Add projection matrix to Camera class

Necessary for Issue #13 and Issue #17
In addition to storing the view of a Camera, also store the projection

Prior commit resolved.


Prefixing generated classes names with a custom string

Is there a way to prefix or alter the generated classes names while building the output CSS file? For example, if I do below:
./node_modules/.bin/tailwind build style.css -o output.css --prefix-class="my-tailwind-"

And the classes names would be generated like my-tailwind-container, my-tailwind-text-center, my-tailwind-bg-red and etc.
I think this will help using Tailwind with other frameworks and avoids any conflicts with them. Maybe I am wrong, please let me know what you think.

@adamwathan is making a @prefix at-rule in tailwindcss/tailwindcss#100 🙂

@MichaelDeBoey awesome, thank you, closing this.


Clean up i18n support for import / export

This pull request combines the two previous pull requests (#2711 & #2712) since they ended up being intertwined.
Fixes #1197. Fixes #1352. Those issues contain test data files. The basic pieces are:

#1197 - use ContentDisposition: attachment to force download instead of ContentType: application/x-unknown. The funky content type is what was interfering with the non-BMP UTF-8 characters. Took a while to figure that out!
As part of the above, switch to consistently using option preview: true to control preview vs download. It was used in some place, but others used the content type.
While investigating 1197 I tried upgrading our HTML output to XHTML 1.1, which didn't help, but seemed useful, so I left it in.
#1352 - Multinational characters are now supported on both import and export. On import just the characters "._-" are converted to spaces and everything else, including, notably, international characters, are left untouched. On output, a multi-OS filename character blacklist is used, including "*/:;,?"<>|#". Some are not technically illegal, but just a pain to deal with. The cleaning is centralized in ExporterManager.stripNonFileChars() which we now use wherever this is needed.
The SQL exporter still needs more love. It will output multinational characters in the SQL filename, but still aggressively cleans the table, but doesn't appear to clean the column names. One improvement that I made is that the user can now see the cleaned tablename during their preview.

@tfmorris OK, waiting on this to finalize then...before testing again.

@thadguidry the non-BMP UTF-8 export wasn't really touched with the additional work & merge, so shouldn't need to be retested, but I'll leave that up to you.
Loading up a project name with not only multinational characters, but also as many potentially troublesome punctuation characters would be good for testing the various exporters. The one I used for my testing was 選挙2020/-)(:;!@#$^&():"<>;',.[]{}

@wetneb I would be more worried about not delivering these important (longstanding) bug fixes into 3.4 for our users.  It gives the wrong impression to the community, that we care to deliver good quality, not less.  From my limited testing, it helps regardless of a an additional very small risk of some corner-case bug arising.

@wetneb Thanks for the review. Sorry it's so big. If you reviewed all the changes together, reviewing by commit might provide more insight into what's what.
Having said that, since I went back and reordered & merged commits before finalizing this joint PR, it might not be that difficult now to split it back apart and get at least the fixes for #1352 into 3.4. Also the XHTML 1.1 support could clearly be pulled out. It's all in a single commit.
As far as

we will need end user testing to avoid any regression.

goes, how will we do that if people don't test the betas?

OK, after a quick review, it looks like there's only one commit, for the SQL exporter, that straddles the two issues and needs to be split. I think I can relatively easily split this into four pieces: one for each of the bug fixes, XHTML 1.1, and then all the miscellaneous cleanups. They're all in separate commits (except for SQL), so should be straightforward.
I probably won't get to it for 6-8 hours though.

I've put up 4 new branches/PRs for review.

@tfmorris slow down.  We might end up owing you a million dollars at this rate! :-)  Thanks so much!

Thanks a lot for splitting up the PR! It really helps.

how will we do that if people don't test the betas?

My aim is just to make sure that any patch that could potentially have unintended non-trivial side effects stays in master for long enough before being released. Obviously safe fixes can make it into the release branch directly, but it is of course a difficult call to make for each PR. I think only merging patches which fix regressions is common practice to ensure the stability of releases.
If you have suggestions about how we could better encourage people to use the beta more, I am keen to hear them :) (beyond announcing the releases properly on the mailing list…)
We already have quite a few Wikidata edits made with 3.4-beta (166,099 as of now):
https://www.wikidata.org/w/index.php?hidebots=1&hidecategorization=1&tagfilter=openrefine-3.4&limit=50&days=7&enhanced=1&title=Special:RecentChanges&urlversion=2
But it is true that only 1 746 downloads is not that much.


What is the best location for setup the ENV variable CONTENT_TRUST

Hello! I'm wondering what is the best location for setup for all users/services the environment variable CONTENT_TRUST. I have some candidates but I would appreciate your suggestions:

On sysconfig/docker
On /etc/systemd/system/docker.service.d/
On /etc/enviroment

Thanks!

@judavi: admittedly I mostly use OSX to develop so I don't have a preference between those three - from my understanding, they all should work fine :)

Great thanks @riyazdf


python,stdlib: Support added for multiple disk boards

This commit introduces the initial support for using multiple disks on different gem5 boards. Currently, only the necessary infrastructure has been added to support multiple disks on the board without implementing full functionality.
Procedure for adding additional functionality:
#Your _add_disk_to_board and _finalize_workload from your_board.py should be something like this:
@overrides(KernelDiskWorkload)
    def _add_disk_to_board(self, disk_image: AbstractResource, is_root: bool):
        image = CowDiskImage(
            child=RawDiskImage(read_only=True), read_only=False
        )

        image.child.image_file = disk_image.get_local_path()

        if is_root:
            self.disk.vio.image = image

        else:
            idx = len(self._disks)
            new_disk_pio_addr = 0x10009000 + 0x1000 * len(self._disks)
            new_disk = RiscvMmioVirtIO(
                vio=VirtIOBlock(),
                interrupt_id=0x8,
                pio_size=0x1000,
                pio_addr=new_disk_pio_addr,
            )

            new_disk.vio.image = image

            setattr(self, f"disk{idx}", new_disk)
            disk = getattr(self, f"disk{idx}")

            self._disks.append(disk)

    @overrides(KernelDiskWorkload)
    def _finalize_workload(self): #You should create this new method
        # Connect the additional disks added to the board
        self._off_chip_devices += self._disks
        self._setup_io_devices()
        self._setup_pma()

        self.generate_device_tree(m5.options.outdir)
        self.workload.dtb_filename = os.path.join(
            m5.options.outdir, "device.dtb"
        )

        self.workload.dtb_addr = 0x87E00000

cc: @aarmejach
Change-Id: I21d30660bb4dc126ce418f3252f0feb65b41ee0c

Am I correct in thinking this is still a WIP/Draft? I'm wondering how much feedback you want here for now.
I'm in strong support of this endevour. In general I think there's a lot we can do to improve the KernelDiskWorkload class. Notably how the device path is determined (I really have no good answers for this, it's a mess right now).

This board changes are fully supported in riscv. We are already using this changes locally, but I was not sure if you wanted to modify any existing board to use it. Although, I have added the changes in the riscv_matched board as an example. Let me know if I should proceed in a different way.

Am I correct in thinking this is still a WIP/Draft? I'm wondering how much feedback you want here for now.
I'm in strong support of this endevour. In general I think there's a lot we can do to improve the KernelDiskWorkload class. Notably how the device path is determined (I really have no good answers for this, it's a mess right now).

This board changes are fully supported in riscv. We are already using this changes locally, but I was not sure if you wanted to modify any existing board to use it. Although, I have added the changes in the riscv_matched board as an example. Let me know if I should proceed in a different way.

Am I correct in thinking this is still a WIP/Draft? I'm wondering how much feedback you want here for now.
I'm in strong support of this endevour. In general I think there's a lot we can do to improve the KernelDiskWorkload class. Notably how the device path is determined (I really have no good answers for this, it's a mess right now).

This board changes are fully supported in riscv. We are already using this changes locally, but I was not sure if you wanted to modify any existing board to use it. Although, I have added the changes in the riscv_matched board as an example. Let me know if I should proceed in a different way.

I've made some suggested changes on the PR via my review.I think it'd be good to split this change up into 1 commit which makes the necessary changes to the the KernelDiskWorkload class and one additional commit for each board updated to utilize this multiple disk image feature. I don't think updating every board to use this is necessary for this PR to be merged (see my review comments for more context on how to implement this).
I would ask for some tests to be included to verify the multiple disk image feature for the boards you submit actually work. I can help you with that: you'd need to provide me with a config script which utilizes multiple disk images on a board and some way to verify that the images have been loaded. This can wait a bit until all the changes have been implemented but should be thought about.

Am I correct in thinking this is still a WIP/Draft? I'm wondering how much feedback you want here for now.
I'm in strong support of this endevour. In general I think there's a lot we can do to improve the KernelDiskWorkload class. Notably how the device path is determined (I really have no good answers for this, it's a mess right now).

This board changes are fully supported in riscv. We are already using this changes locally, but I was not sure if you wanted to modify any existing board to use it. Although, I have added the changes in the riscv_matched board as an example. Let me know if I should proceed in a different way.

Am I correct in thinking this is still a WIP/Draft? I'm wondering how much feedback you want here for now.
I'm in strong support of this endevour. In general I think there's a lot we can do to improve the KernelDiskWorkload class. Notably how the device path is determined (I really have no good answers for this, it's a mess right now).

This board changes are fully supported in riscv. We are already using this changes locally, but I was not sure if you wanted to modify any existing board to use it. Although, I have added the changes in the riscv_matched board as an example. Let me know if I should proceed in a different way.

I've made some suggested changes on the PR via my review.I think it'd be good to split this change up into 1 commit which makes the necessary changes to the the KernelDiskWorkload class and one additional commit for each board updated to utilize this multiple disk image feature. I don't think updating every board to use this is necessary for this PR to be merged (see my review comments for more context on how to implement this).
I would ask for some tests to be included to verify the multiple disk image feature for the boards you submit actually work. I can help you with that: you'd need to provide me with a config script which utilizes multiple disk images on a board and some way to verify that the images have been loaded. This can wait a bit until all the changes have been implemented but should be thought about.

I've prepared the following script, have in mind that the rootfs.img and the benchmarks.img should have your own route.
import argparse

from gem5.isas import ISA
from gem5.prebuilt.riscvmatched.riscvmatched_board import RISCVMatchedBoard
from gem5.resources.resource import (
    obtain_resource,
    DiskImageResource,
)
from gem5.simulate.simulator import Simulator
from gem5.utils.requires import requires

requires(isa_required=ISA.RISCV)

parser = argparse.ArgumentParser(
    description="A script which uses the RISCVMatchedBoard in FS mode."
)

parser.add_argument(
    "-i",
    "--to-init",
    action="store_true",
    help="Exit the simulation after the Linux Kernel boot.",
)

args = parser.parse_args()

# instantiate the riscv matched board with default parameters
board = RISCVMatchedBoard(
    clk_freq="1.2GHz",
    l2_size="2MB",
    is_fs=True,
)
additional_disk_images = ["rootfs.img",
                          "benchmarks.img"
                         ]
disk_array = []
for i in range(len(additional_disk_images)):
    if i == 0:
        disk_array.append(
            DiskImageResource(
                local_path=additional_disk_images[i], root_partition="1"
            )
        )
    else:
        disk_array.append(
            DiskImageResource(
                local_path=additional_disk_images[i],
            )
        )
kernel=obtain_resource("riscv-bootloader-vmlinux-5.10")
board.set_kernel_disk_workload(
    kernel=kernel,
    disk_image=disk_array[0],
    additional_disk_images=disk_array[1:],
)

simulator = Simulator(board=board)
simulator.run()

@amatabsc : I've added two commits to this PR. The first is just minor formatting changes (nothing functional). The other adds a test for booting multiple disks on the RISCVMatched board. This test is simple. The same disk image is mounted twice and when the system is finished booting, lsblk is run and the output checked to ensure both disks are present.
I'm going to rerun this test to double-check this works (RISCVMatched takes a long time to boot, so bare with me...)/

I've found getting test to verify this features is harder than I expected. I'm going to play around a bit with this configuration manually just to confirm this works but I may have to submit this without a test for now.


Dataset preparation

Hello, Thank you for share this work!
I would like to inquire about which version of the Waymo dataset to download.

Another question : Analysis and Visualization
In the tools/analyze.py, the line (11) from detectron2.utils.logger import setup_logger
Where could I find the 'detectron2' folder."
By the way
In the create_gt_database.py, the line (11) should be changed from from detector.utils.det3d to from e2edet.utils.det3d.

Hi, I think I was using v1.2 for Waymo Dataset.
For detectron2, you should install it by yourself following their instruction. But the speed function does not require detectron2 so you can modify them.

Thanks! I have resolved the previous issue and successfully trained  2D model.
However, I'm encountering another problem during the preprocessing of 3D data. After running create_gt_database.py, I'm supposed to execute create_imdb.py, but I can't find the commands on lines 20 and 21.
(20) from detector.utils.kitti.general import generate_3d_corners, read_calib_file
(21) from detector.utils.kitti.transform3d import corners3d_to_img_boxes

Hi, I think I was using v1.2 for Waymo Dataset.
For detectron2, you should install it by yourself following their instruction. But the speed function does not require detectron2 so you can modify them.

Thanks! I have resolved the previous issue and successfully trained 2D model.
However, I'm encountering another problem during the preprocessing of 3D data. After running create_gt_database.py, I'm supposed to execute create_imdb.py, but I can't find the commands on lines 20 and 21.
(20) from detector.utils.kitti.general import generate_3d_corners, read_calib_file
(21) from detector.utils.kitti.transform3d import corners3d_to_img_boxes

Thank you for your response.
I have successfully trained the model and obtained good results in BoxeR-2D.
I would like to inquire if there are any notebooks or tips available for BoxeR-3D visualization?

We use mayavi which supports visualization within jupyter notebook. However, like other 3D libraries, it needs a bit of effort to install properly :-).
For jupyter notebook:
from mayavi import mlab
mlab.options.offscreen = True

You can just call draw_scenes within jupyter notebook and it should work:
import mayavi.mlab as mlab
import matplotlib
import matplotlib.pyplot as plt
import numpy as np
import torch

from detector.utils.det3d.box_ops import center_to_corner_box2d, boxes_to_corners_3d

box_colormap = ["black", "peru", "red", "black", "purple"]

def visualize_pts(
    pts,
    fig=None,
    bgcolor=(0, 0, 0),
    fgcolor=(1.0, 1.0, 1.0),
    show_intensity=False,
    size=(600, 600),
    draw_origin=True,
):
    if isinstance(pts, torch.Tensor):
        pts = pts.cpu().numpy()

    if fig is None:
        fig = mlab.figure(
            figure=None, bgcolor=bgcolor, fgcolor=fgcolor, engine=None, size=size
        )

    if show_intensity:
        G = mlab.points3d(
            pts[:, 0],
            pts[:, 1],
            pts[:, 2],
            pts[:, 3],
            mode="point",
            colormap="gnuplot",
            scale_factor=1,
            figure=fig,
        )
    else:
        G = mlab.points3d(
            pts[:, 0],
            pts[:, 1],
            pts[:, 2],
            mode="point",
            colormap="gnuplot",
            scale_factor=1,
            figure=fig,
        )
    if draw_origin:
        mlab.points3d(0, 0, 0, color=(1, 1, 1), mode="cube", scale_factor=0.2)
        mlab.plot3d([0, 3], [0, 0], [0, 0], color=(0, 0, 1), tube_radius=0.1)
        mlab.plot3d([0, 0], [0, 3], [0, 0], color=(0, 1, 0), tube_radius=0.1)
        mlab.plot3d([0, 0], [0, 0], [0, 3], color=(1, 0, 0), tube_radius=0.1)

    return fig

def draw_sphere_pts(
    pts, color=(0, 1, 0), fig=None, bgcolor=(0, 0, 0), scale_factor=0.2
):
    if isinstance(pts, torch.Tensor):
        pts = pts.cpu().numpy()

    if fig is None:
        fig = mlab.figure(
            figure=None, bgcolor=bgcolor, fgcolor=None, engine=None, size=(600, 600)
        )

    if isinstance(color, np.ndarray) and color.shape[0] == 1:
        color = color[0]
        color = (color[0] / 255.0, color[1] / 255.0, color[2] / 255.0)

    if isinstance(color, np.ndarray):
        pts_color = np.zeros((pts.__len__(), 4), dtype=np.uint8)
        pts_color[:, 0:3] = color
        pts_color[:, 3] = 255
        G = mlab.points3d(
            pts[:, 0],
            pts[:, 1],
            pts[:, 2],
            np.arange(0, pts_color.__len__()),
            mode="sphere",
            scale_factor=scale_factor,
            figure=fig,
        )
        G.glyph.color_mode = "color_by_scalar"
        G.glyph.scale_mode = "scale_by_vector"
        G.module_manager.scalar_lut_manager.lut.table = pts_color
    else:
        mlab.points3d(
            pts[:, 0],
            pts[:, 1],
            pts[:, 2],
            mode="sphere",
            color=color,
            colormap="gnuplot",
            scale_factor=scale_factor,
            figure=fig,
        )

    mlab.points3d(0, 0, 0, color=(1, 1, 1), mode="cube", scale_factor=0.2)
    mlab.plot3d(
        [0, 3],
        [0, 0],
        [0, 0],
        color=(0, 0, 1),
        line_width=3,
        tube_radius=None,
        figure=fig,
    )
    mlab.plot3d(
        [0, 0],
        [0, 3],
        [0, 0],
        color=(0, 1, 0),
        line_width=3,
        tube_radius=None,
        figure=fig,
    )
    mlab.plot3d(
        [0, 0],
        [0, 0],
        [0, 3],
        color=(1, 0, 0),
        line_width=3,
        tube_radius=None,
        figure=fig,
    )

    return fig

def draw_grid(x1, y1, x2, y2, fig, tube_radius=None, color=(0.5, 0.5, 0.5)):
    mlab.plot3d(
        [x1, x1],
        [y1, y2],
        [0, 0],
        color=color,
        tube_radius=tube_radius,
        line_width=1,
        figure=fig,
    )
    mlab.plot3d(
        [x2, x2],
        [y1, y2],
        [0, 0],
        color=color,
        tube_radius=tube_radius,
        line_width=1,
        figure=fig,
    )
    mlab.plot3d(
        [x1, x2],
        [y1, y1],
        [0, 0],
        color=color,
        tube_radius=tube_radius,
        line_width=1,
        figure=fig,
    )
    mlab.plot3d(
        [x1, x2],
        [y2, y2],
        [0, 0],
        color=color,
        tube_radius=tube_radius,
        line_width=1,
        figure=fig,
    )
    return fig

def draw_multi_grid_range(fig, grid_size=20, bv_range=(-60, -60, 60, 60)):
    for x in range(bv_range[0], bv_range[2], grid_size):
        for y in range(bv_range[1], bv_range[3], grid_size):
            fig = draw_grid(x, y, x + grid_size, y + grid_size, fig)

    return fig

def draw_scenes(
    points, gt_boxes=None, ref_boxes=None, ref_scores=None, ref_labels=None
):
    if isinstance(points, torch.Tensor):
        points = points.cpu().numpy()

    if ref_boxes is not None and not isinstance(ref_boxes, np.ndarray):
        ref_boxes = ref_boxes.cpu().numpy()
    if gt_boxes is not None and not isinstance(gt_boxes, np.ndarray):
        gt_boxes = gt_boxes.cpu().numpy()
    if ref_scores is not None and not isinstance(ref_scores, np.ndarray):
        ref_scores = ref_scores.cpu().numpy()
    if ref_labels is not None and not isinstance(ref_labels, np.ndarray):
        ref_labels = ref_labels.cpu().numpy()

    fig = visualize_pts(points)
    fig = draw_multi_grid_range(fig, bv_range=(0, -40, 80, 40))
    if gt_boxes is not None:
        corners3d = boxes_to_corners_3d(gt_boxes)
        fig = draw_corners3d(corners3d, fig=fig, color=(0, 0, 1), max_num=100)

    if ref_boxes is not None and len(ref_boxes) > 0:
        ref_corners3d = boxes_to_corners_3d(ref_boxes)
        if ref_labels is None:
            fig = draw_corners3d(
                ref_corners3d, fig=fig, color=(0, 1, 0), cls=ref_scores, max_num=100
            )
        else:
            for k in range(ref_labels.min(), ref_labels.max() + 1):
                cur_color = tuple(box_colormap[k % len(box_colormap)])
                mask = ref_labels == k
                fig = draw_corners3d(
                    ref_corners3d[mask],
                    fig=fig,
                    color=cur_color,
                    cls=ref_scores[mask],
                    max_num=100,
                )
    mlab.view(azimuth=-179, elevation=54.0, distance=104.0, roll=90.0)
    return fig

def draw_corners3d(
    corners3d,
    fig,
    color=(1, 1, 1),
    line_width=2,
    cls=None,
    tag="",
    max_num=500,
    tube_radius=None,
):
    """
    :param corners3d: (N, 8, 3)
    :param fig:
    :param color:
    :param line_width:
    :param cls:
    :param tag:
    :param max_num:
    :return:
    """
    import mayavi.mlab as mlab

    num = min(max_num, len(corners3d))
    for n in range(num):
        b = corners3d[n]  # (8, 3)

        if cls is not None:
            if isinstance(cls, np.ndarray):
                mlab.text3d(
                    b[6, 0],
                    b[6, 1],
                    b[6, 2],
                    "%.2f" % cls[n],
                    scale=(0.3, 0.3, 0.3),
                    color=color,
                    figure=fig,
                )
            else:
                mlab.text3d(
                    b[6, 0],
                    b[6, 1],
                    b[6, 2],
                    "%s" % cls[n],
                    scale=(0.3, 0.3, 0.3),
                    color=color,
                    figure=fig,
                )

        for k in range(0, 4):
            i, j = k, (k + 1) % 4
            mlab.plot3d(
                [b[i, 0], b[j, 0]],
                [b[i, 1], b[j, 1]],
                [b[i, 2], b[j, 2]],
                color=color,
                tube_radius=tube_radius,
                line_width=line_width,
                figure=fig,
            )

            i, j = k + 4, (k + 1) % 4 + 4
            mlab.plot3d(
                [b[i, 0], b[j, 0]],
                [b[i, 1], b[j, 1]],
                [b[i, 2], b[j, 2]],
                color=color,
                tube_radius=tube_radius,
                line_width=line_width,
                figure=fig,
            )

            i, j = k, k + 4
            mlab.plot3d(
                [b[i, 0], b[j, 0]],
                [b[i, 1], b[j, 1]],
                [b[i, 2], b[j, 2]],
                color=color,
                tube_radius=tube_radius,
                line_width=line_width,
                figure=fig,
            )

        i, j = 0, 5
        mlab.plot3d(
            [b[i, 0], b[j, 0]],
            [b[i, 1], b[j, 1]],
            [b[i, 2], b[j, 2]],
            color=color,
            tube_radius=tube_radius,
            line_width=line_width,
            figure=fig,
        )
        i, j = 1, 4
        mlab.plot3d(
            [b[i, 0], b[j, 0]],
            [b[i, 1], b[j, 1]],
            [b[i, 2], b[j, 2]],
            color=color,
            tube_radius=tube_radius,
            line_width=line_width,
            figure=fig,
        )

    return fig


Trigger an event when a video is loaded

Closed. Use getVideoObject().

Does this mean that there are no events?

Does this mean that there are no events?

I don't see any reason to trigger same events as HTMLVideoElement does.
https://developer.mozilla.org/en-US/docs/Web/Guide/Events/Media_events

I wasn't aware that those events existed. Maybe, we could add a reference to it in the README?

How can getVideoObject() be used to trigger an event after load?

The only way that worked for me was the following:
var video = $('.video-section').data('vide').getVideoObject();

if (video.readyState >= video.HAVE_FUTURE_DATA) {
  removeLoading();
} else {
  video.addEventListener('canplay', function () {
      removeLoading();
  }, false);
}

Please post if you find a better solution


[stakes.social] update document

Detailed description
delete those sections
・create property
・authenticate market
・set stokens uri
Context
write later
Possible implementation
write later
Additional information
write later
Code of Conduct

[X] I agree to follow this project's Code of Conduct

https://github.com/dev-protocol/docs.devprotocol.xyz/pull/185

https://github.com/dev-protocol/docs.devprotocol.xyz/pull/199


due date component created with date component

[start date ,due date ,time] closes #226 , #227, #211  date component used to create due date ,start date, remaining time

i don't under stand what you mean by importing with @assets but i've changed the image to asset folder
props has been spread
hardcoded date because i that was what i was told to do...when the date comes we can easily convert it to string
prop type removed
colors gotten from tailwind.config file


Automatic "publicPath"

Why is output.publicPath: 'auto' not supported?
When are you planning to role this feature?

@kumardeepakxyz

Why is output.publicPath: 'auto' not supported?
Because auto value is a "black magic" and is very complex to implement. I don't known any usage case for auto.
It will be never released, because it has no sense.

okay,
So how can I resolve the problem of 404 when deploying the website to a sub directory with output.publicPath = '/'
output.publicPath = '/' meaning it can find the files in the server root, so when website is on the root everything is fine, but once its moved to a sub directory, its link to css, js, images etc. are broken as they still refer to the server root.
I have tried
output.publicPath = '' - it fails to load SCSS URL Images
output.publicPath = './' - it also fails to load SCSS URL Images
OUTPUT OF URL RESOLVE
/path/to/assets...
EXPECTED OUTPUT
path/to/assets...
/ should be somehow eliminated.


[BUG] Restore terminal environment on exit.

The terminal environment isn't being restored on program close.
Trendy_Terminal.Shutdown should be called on exit.  Due to some internals, this requires a second look at a clean way to properly do this, I'm thinking an RAII type in the main event loop.

Partially fixed with Trendy_Terminal.Environments in https://github.com/pyjarrett/trendy_terminal/commit/6379c767dcc8e57f7ec594e986f91a1d6888fc26

Made Signals_As_Input in pyjarrett/trendy_terminal@74bdd978b44b78a8c66e4385ec306954f72305d2 and pyjarrett/trendy_terminal@ffd505082437115f2953fa3fa4d3bdf5b326b0a7.  This covers the case of during input, but not during output dumping.  I want to be able to capture and use Ctrl-C to stop output during reporting.

Ctrl- C during output is a separate issue.  The environment RAII type of Trendy Terminal restores on normal exit.


interval settings on timepicker don't work with v. 3.1.3_3 of tsega:bootstrap3-datetimepicker

Any chance you can enable  compatibility with the latest version of tsega:bootstrap3-datetimepicker? When I use version 3.1.3_3, the values I set for the "stepping" option have absolutely no effect; but the timepicker has the desired intervals when I install version 4.14.30_4. Problem is, with that version, a lot of meteor-autoform-bs-datetimepicker stops working correctly.

Closing all issues. The plugin was a proof of concept which others have forked and made better alternatives.


gitlab (repo) support for Entity File URL

Is it possible to specify gitlab repository for an existing entity file URL when registering an existing component to the catalog.
At the moment, it looks like only github repositories can be specified? I've tried a URL to a gitlab repo, but it throws an error:
Unable to read url, NotAllowedError: Reading from 'https://<gitlabl>/<repo>/blob/master/quota-api-component.yaml' is not allowed

Hi!
You have to add an entry under integrations in your app-config that tells the backend how to interact with your gitlab source.
See the in-repo app-config file for some examples. There's also a config schema to look at.
Closing for now - feel free to reopen if this didn't solve the problem!


How to use feature_fraction,bagging_fraction,bagging_freq with RandomizedSearchCV

Hey,
I want to create a parameter grid using RandomizedSearchCV, however, it appears that the scikit binding doesn't include those parameters (maybe under a different name?)
Am I missing something or is this yet to be implemented?
Thanks,
Dan

feature_fraction -> colsample_bytree
bagging_fraction -> subsample
bagging_freq -> subsample_freq

Thanks!


128 bit descriptor support

Add 128 bit UUID custom descriptors to noble GATT. Fixing issue #724.

Yes it surely can, I don't understand why the checks fail for example.
I don't have a concrete Case of existig Devices with a 128 Bit UUID, but I'm using these for Research purposes and trying out new types of Descriptors. That's why I needed this fix.

Please forward the change to:
https://github.com/noble/noble/issues/923


Treat default value getters as accessible.

They are called from other compilation units and their names can change
when a new overload is added to a method with default values.
Fixes #136.

review by @adriaanm (as per team meeting)

LGTM!


ISSUE[ #6250]: fix wrong value of MessageStoreConfig#storePathEpochFile

fix wrong value of MessageStoreConfig#storePathEpochFile

issue: https://github.com/apache/rocketmq/issues/6250
Make sure set the target branch to develop
What is the purpose of the change

fix #
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.

Codecov Report

Merging #6251 (60e4f5c) into develop (ce99a7f) will increase coverage by 0.01%.
The diff coverage is 0.00%.

@@              Coverage Diff              @@
##             develop    #6251      +/-   ##
=============================================
+ Coverage      43.21%   43.22%   +0.01%
- Complexity      8852     8859       +7
=============================================
  Files           1094     1094
  Lines          77193    77194       +1
  Branches       10070    10070
=============================================
+ Hits           33358    33369      +11
+ Misses         39672    39661      -11
- Partials        4163     4164       +1

Impacted Files
Coverage Δ

...ache/rocketmq/store/config/MessageStoreConfig.java
58.16% <0.00%> (-0.26%)
:arrow_down:

...va/org/apache/rocketmq/store/FlushDiskWatcher.java
81.25% <0.00%> (-9.38%)
:arrow_down:

...tmq/remoting/protocol/body/ConsumerConnection.java
95.83% <0.00%> (-4.17%)
:arrow_down:

...pl/consumer/ConsumeMessageConcurrentlyService.java
47.05% <0.00%> (-2.27%)
:arrow_down:

...a/org/apache/rocketmq/store/StoreStatsService.java
34.53% <0.00%> (-0.56%)
:arrow_down:

...che/rocketmq/acl/plain/PlainPermissionManager.java
78.22% <0.00%> (-0.54%)
:arrow_down:

...he/rocketmq/client/trace/AsyncTraceDispatcher.java
83.65% <0.00%> (-0.49%)
:arrow_down:

...he/rocketmq/client/impl/consumer/ProcessQueue.java
61.67% <0.00%> (-0.45%)
:arrow_down:

...mq/store/ha/autoswitch/AutoSwitchHAConnection.java
70.16% <0.00%> (-0.27%)
:arrow_down:

...main/java/org/apache/rocketmq/store/CommitLog.java
65.13% <0.00%> (-0.11%)
:arrow_down:

... and 14 more

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


new extension about abbreviation

NOTE: i was really bored and i had never really made an extension before or used java script so there may be some problems
This extension adds a lot of block to abbreviate numbers

it adds blocks to abbreviate and un-abbreviate
blocks to do simple math functions with the abbreviated numbers like: (1k + 2.3m)
and blocks to compare abbreviated numbers like: (4.3k > 8.1m)

Thats basically it.

What is this for again? Sorry, I don't get it

What is this for again? Sorry, I don't get it

for abbreviating numbers, so 1000 = 1k and 1000000 = 1m. so you can use larger numbers in your game


Save movie failed

Describe the bug
I download the prebuilt version of mrv2 in this link: https://github.com/ggarra13/mrv2/releases/download/v1.2.4/mrv2-v1.2.4-Windows-amd64.zip
Firstly, i tried some main features, this tool is really easy to use and can help our art pipeline a lot.
When i try to export video with some annotations, it failed since all the frames are black , no pixel color at all....
Desktop (please complete the following information):

OS: Windows 10
Version mrv2 v1.2.4

Results:

First, download this beta of v1.2.5 and see if it fixes the issue:
.exe:
https://mega.nz/file/SOYyzAaB#kRQSO_dsnLxwSpd9neGkzahiNtfdnW41gW_cl40Es5k
.zip:
https://mega.nz/file/XOIjBJqY#JGLQ3-qJEor_P_pOOIpqWZ994dneFAHwdUpYv9T2ATY
If not, try:

Saving without annotations.  What happens?
Saving with a different profile, like "None"?

First, download this new beta of v1.2.5 and see if it fixes the issue:
.exe: https://mega.nz/file/WagnRTzC#kPlt9BYtx5u5LUJYbeATS9zH1aBOnrjMvhT-gzD7fVg
.zip: https://mega.nz/file/WKw3CSpC#q2fKUgaoMQZHS-xGmjlOzzmKcFpVXV-V1fvaafLlqHQ
If not, try:

Saving without annotations.  What happens?
Saving with a different profile, like "None"?

@Insecty I noticed you closed and reopened the issue. Is the problem still present in v1.2.5 linked above? Did you try the other things I suggested? Can you provide a sample movie where it fails?

Sorry, i clicked the wrong button this morning, but I just verified the latest version v1.2.5, and this issue has been fixed. I think i can close this issue now. Thank you !  :)


Behavior of detecting the file language

VSCode Version: 1.46.1
OS Version: macOS 10.15.5

Steps to Reproduce:

create a file named dockerfile.go, dockerfile.py or other extensions.
you can see the file is detected as a Dockerfile, but it should be a go file or python file.

Related logic:
I found the file detecting logic is here:
https://github.com/microsoft/vscode/blob/697b702e47d05fa71f480a2620ab5849f52f55c3/src/vs/base/common/mime.ts#L195-L208
Filename Match has the higher priority than Extension Match, I think it should be reconsidered. Extension Match should have the highest priority.

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

I can reproduce in Code stable, but not Insiders, but have no clue what has changed.
@simpleapples can you try to reproduce with our insiders?

Hi, @bpasero, thank you for your response.
I can't reproduce the same result on the latest insider build. There is no essential change between insider build and stable build on the file mime.ts.
So I have the same confusion about the different behaviors.

Ok, looks like this got fixed somehow I cannot explain why. We can reopen if this comes back next month after we have released.

I got reasons about this issue.

Why a dockerfile.go is recognized as a Dockerfile?
Recently, developers of vscode-docker added a Dockerfile.* file association (https://github.com/microsoft/vscode-docker/pull/1908), If a file is called dockerfile.go, it will match this pattern and will be recognized as a Dockerfile.

Why detection behaviors are different between insider and stable?
The extension/docker/package.json of vscode is different from extension/docker/package.json of vscode-docker after https://github.com/microsoft/vscode-docker/pull/1908. So, it will function properly with docker extension installed, whether in insider or in stable.

Next step:
I'm trying to argue with developers of vscode-docker to remove the Dockerfile.* file association, because it will disrupt normal operation of file associaitons of other languages.
Just to explain.

Hi, @bpasero , I'm confused about the mechanism of file type detecting.
As you know, there is a filenameMatch and a extensionMatch. extensionMatch is responsible for checking the extension of files. filenameMatch for the filename.
But, if we add a pattern filename.* on filenameMatch, it can match any extensions. For my perspective, filenameMatch should just match filenames without extension.
What do you think about it ?


Add project 2, DenseNet implementation using SARS-COV-2 Ct-Scan Dataset

Is your feature proposal related to a problem? Please describe.
No
Describe the solution you'd like to implement
For project 2 I will implement a DenseNet classifier using SARS-COV-2 Ct-Scan Dataset by PlamenLancaster.
Describe alternatives you've considered
NA
Additional context
NA

CLosed with pull request https://github.com/COVID-19-AI-Research-Project/AI-Classification/pull/8


Throw when passing in bogus filters

Problem
I just spent about an hour debugging a confusing problem that ultimately turned out to be me running a findFirstOrThrow query with effectively no where filter.
I was doing this:
const thing = await prisma.thing.findFirstOrThrow({
  where: { id: input.thingId },
})

But because of an upstream bug, with a subtle accidental cast to any, input looked like { payload: { thingId: '...' } } rather than { thingId: '...' }. Nothing in the application failed, because findFirstOrThrow just ran with where:  { id: undefined } which is, I think, no filter at all, and just an instruction to turn the first arbitrary result.
Suggested solution
Throw an error when passing in undefined to where filters. undefined doesn't correspond to anything valid in SQL, so it's not clear whether someone passing it in wants where foo is null or just no filter at all. In most cases, I think - like mine, it's just a mistake.
Alternatives
Log a warning instead. Or make it configurable since I guess this is a breaking change.
Additional context
I should also have been using findUniqueOrThrow, in this case. But that won't always be true.

Hi @mmkal
As unfortunate as it might've been in your case, in current Prisma version null vs undefined behaviour is intentional and documented. We might reconsider it for future major versions, but for now this not a bug.


Features/anonymityprofiles

Modifications to the packet to support the Anonymity Profiles (RFC 7844).
Thanks to @yomimono guide to find where the variables are and how to modify them.

The build fails with:
# Error: Unbound constructor Private_classless_static_route

#       ocamlc lib/dhcp_wire.{cmo,cmt} (exit 2)

# (cd _build/default && /home/opam/.opam/4.03.0/bin/ocamlc.opt -w -40 -g -bin-annot -I /home/opam/.opam/4.03.0/lib/bytes -I /home/opam/.opam/4.03.0/lib/cstruct -I /home/opam/.opam/4.03.0/lib/fmt -I /home/opam/.opam/4.03.0/lib/io-page -I /home/opam/.opam/4.03.0/lib/ipaddr -I /home/opam/.opam/4.03.0/lib/logs -I /home/opam/.opam/4.03.0/lib/lwt -I /home/opam/.opam/4.03.0/lib/mirage-device -I /home/opam/.opam/4.03.0/lib/mirage-flow -I /home/opam/.opam/4.03.0/lib/mirage-net -I /home/opam/.opam/4.03.0/lib/mirage-net-lwt -I /home/opam/.opam/4.03.0/lib/mirage-profile -I /home/opam/.opam/4.03.0/lib/mirage-protocols -I /home/opam/.opam/4.03.0/lib/mirage-protocols-lwt -I /home/opam/.opam/4.03.0/lib/mirage-random -I /home/opam/.opam/4.03.0/lib/ocaml -I /home/opam/.opam/4.03.0/lib/ocplib-endian -I /home/opam/.opam/4.03.0/lib/randomconv -I /home/opam/.opam/4.03.0/lib/result -I /home/opam/.opam/4.03.0/lib/rresult -I /home/opam/.opam/4.03.0/lib/sexplib -I /home/opam/.opam/4.03.0/lib/sexplib/0 -I /home/opam/.opam/4.03.0/lib/tcpip -I /home/opam/.opam/4.03.0/lib/tcpip/ethif -I /home/opam/.opam/4.03.0/lib/tcpip/ipv4 -I /home/opam/.opam/4.03.0/lib/tcpip/udp -I /home/opam/.opam/4.03.0/lib/tcpip/unix -I /home/opam/.opam/4.03.0/lib/uchar -no-alias-deps -I lib -o lib/dhcp_wire.cmo -c -impl lib/dhcp_wire.pp.ml)

# File "lib/dhcp_wire.ml", line 1519, characters 24-54:

# Error: Unbound constructor Private_classless_static_route

I think an entry for Private_classless_static_route is missing in the dhcp_option type in dhcp_wire.ml (it is present in dhcp_wire.mli, but needs to be in both the interface and the code).

I think an entry for Private_classless_static_route is missing in the dhcp_option type

Yes, it was missing. Now it should build without errors.


[d3d9] Resident Evil 0 (339340) - Frametime issue on some scenes

Software information
Resident Evil 0 (steam AppID 339340).
When switching to some scenes, framerate is cut by half with terrible frame spikes.
Video demonstrating the issue: https://drive.google.com/file/d/1B2bNTYVpMZlbLcmAXbfLJNmwV6Gkaf1J
I can reproduce this issue as well on windows with DXVK.
Wine3D works fine, however.
System information

GPU: Vega 56;
Driver: Mesa 21.1.1;
Wine version: Proton / Proton Experimental;
DXVK version: master (f4cbc9ae9d4795c5fa4d37715c09b59fcb0358bd)

Apitrace file(s)

https://drive.google.com/file/d/11Kl5JpH373kKZrQJsT80ockmhAggUMwK

Log files

d3d9.log: https://drive.google.com/file/d/1XSVRpXtW8JIDjv37uTR-t1FRMIz4I8U4 (log lists dxvk as being on 1.8.1 version due to proton experimental being weird for whatever reason)

Putting this here so it doesnt get lost:
The game stalls on a D3DPOOL_DEFAULT + D3DUSAGE_DYNAMIC vertex buffer that it locks like once per frame. DXVK chooses the direct mapping mode, so it has to wait for the previous frame.

I don't know if this issue got fixed on master or mitigated somehow, but i can't reproduce this behavior in game anymore (i didn't try to reproduce it with the trace yet).
I'll play a bit longer tonight, but so far so good.

GPU: Vega 56;
Driver: Mesa 21.3.0;
Wine version: Proton 6.3-7;
DXVK version: master.

https://i.imgur.com/gpUEktT.png


The tags for closed, solved question is placed very close to question in mobile view

The tags which tell whether a question is closed or solved or open are placed very close to question in mobile view. Some space would be great there.

Definitely its fixed.:)


Support for REDIRECT

Which version are you using?
v0.9.15
Enhancement request
Hi,
Interested in starting a discussion about implementing the REDIRECT command into the server (at some point) in order to issue a redirect to a different proxy server/instance of rtsp-simple-server. This would be used in proxy mode where-by connected clients may need to be redirected to another server instance/address due to high loads on the first server.
I am currently using a load balancer and this works well but occasionally I end up with clients connected to an unhealthy server, or only a handful of clients on one instance which I would like to redirect to another instance. The redirect address would be to an overflow server which sits outside of the load balancer so that requests aren't routed back to the unhealthy server.
I wonder if it would be possible to execute this command from the CLI.
Eg:
$ rtsp-simple-server -redirect /mystream rtsp://overflow.server:8554/mystream
My use case assumes that all instances are already proxying "mystream". The REDIRECT would therefore just be to redirect connected clients who are receiving /mystream or any specific path from server a, to server b.
I hope this makes sense.
I understand that a large component of supporting REDIRECT comes down to how/if the client app has this feature implemented.
Again, I very much appreciate this great project and the work you do on it.
Interested in your thoughts on the above.

Hello, REDIRECT is include in RFC2326 and makes sense for load balancing - it could be added as additional source, like
paths:
  redirected:
    source: redirect;rtsp://otherurl1;rtsp://otherurl2

The format is terrible and probably it's possible to think a better one.
Regarding the ability to override config with flags or environment variables, refer to this issue https://github.com/aler9/rtsp-simple-server/issues/98

After some research, i can say that

REDIRECT is the only command that goes from server to client; implementing it would be too long and not effective
an equivalent alternative is the 301 status code - when a server replies to a DESCRIBE request with a 301 status code, and provides a "Location" header, the client goes to this new location, that can be in another server.

VLC and ffmpeg both supports the 301 status code.
Therefore, it can be added to both gortsplib and rtsp-simple-server.

redirect sources are now fully supported in master and will be supported in next release.

added in v0.11.0

Great work. Thanks very much for including this.
I tested in master prior to the release and will continue to test in the current release.
I wasn't aware of the 301 alternative. However, 301 will only work if you are wanting to redirect a stream for new clients connecting to the server. I don't believe it will redirect clients who are already connected as it would using the REDIRECT command from S->C where a new SETUP would be issued by the client.
301 implementation works well currently and I understand why implementing REDIRECT fully would be a pain.
Might be something for the future as the project grows and if it is required in other use-cases.
Many thanks for your efforts.


Delete duplicate 'the'

Delete duplicate 'the'

/assign @eparis

/assign @mikedanese

These need to be fixed in the upstream library then revendored.


[KARAF-6417] Make users properties file configurable (again) for Auto…

…EncryptionSupport

@grgrzybek I guess the same should be applied to master right ?

sure - also to master.


Fails to build unless '-lexpat' is added to linker flags

Compilation fails because the linker is not instructed to use libexpat. Ubuntu 16.04, 64-bit.

Can you tell us which commands you were using exactly to compile what exactly?

Per the docs, git clone, cd, mkdir build, cd build, cmake . , make.

Just tested this on Ubuntu 16.04 and it works fine. Is libexpat installed? Can you post the log from the build?

It's installed, and if I add -lexpat it compiles just fine. I'll add the log.


Frame Buster

Closes #542
Been working on a larger task, but saw a quick path here and decided to knock it out. bustFrames blocks pages from sourcing dashboard in a frame/iframe tag. I smoke tested this locally, but couldn’t think of a reasonable way to include a test in the repo without some shenanigans.

Bust some frames Tony!

:+1:

Should we / can we perhaps set the X-Frame-Options header on dashboard?
If we're serving from S3 / CF using static hosting (I believe we are, right?), I seem to remember it's possible to set headers on the bucket objects.

@krallin is exactly right.  We should be able to just set X-Frame-Options on index.html by updating our deploy script here: https://github.com/aptible/dashboard.aptible.com/blob/master/lib/ember-deploy-s3-static-index/adapter.js#L42

Bummer. Looks like this is not supported: https://forums.aws.amazon.com/thread.jspa?threadID=149569
I'll keep looking.

Closing here... added to ember-cli-aptible-shared https://github.com/aptible/ember-cli-aptible-shared/pull/101


Run ci on main push only

Fixes #96
This PR restricts GitHub actions to run on push only to the main branch to make sure that the linting and testing CI actions are not run twice.
I had used 'master' branch by mistake, and had to rename the branch because of that. Renaming a PR branch closes that PR, apparently.
Signed-off-by: Olga Bulat<EMAIL_ADDRESS>

FYI there is a $default-branch variable that can be used in GitHub actions, so that 'main' or 'master' doesn't have to be hardcoded.

Oh, that's great to know!


Inputs not being moved to moved-path (--move-inputs --move-path)

Hi,
Executing the below command and the input files are not being moved to the move-path.
The only files that are moved are the json files and not the raw audio and video stream files.
lsmux.exe --channel-id 10 --input-path C:\data --output-path C:\data\10 --move-inputs --move-path C:\data\10\raw --output-file-name  video-10 --dynamic
How can I move ALL input files to the move-path?
Kind Regards
Carl

I ran the following command:
.\lsmux.exe --input-path "C:\Work\ls-mux\win\recordings" --output-path "C:\Work\ls-mux\win\output" --move-inputs --move-path "C:\Work\ls-mux\win\raw" --dynamic --channel-id "e0b5f515-5b74-459f-b20d-93d638982f06" --output-file-name "video-10"
The files moved correctly. Can you paste your logs?

This issue occurs when you run mux from a path in your filesystem with different letter casing than the path in the json files.
Ex: json path = "C:\temp" and OS Path = "C:\Temp" (note the casing difference for T).
Simple workaround is to confirm your casing matches. As the server will always produce the same path casing, this is a one time setup and would only occur again if you change your server recording setting path and you get the casing wrong.


How can I tell ADF to not overwrite the files that exisits in both containers only write the files that are present?

How can I use the Control statements to do this so that the files that are not present in the destinations are only written and not overwrite the whole thing?

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

ID: df7b56de-6c44-a6a7-7cb1-2d77025f17f5
Version Independent ID: fa99fc00-8d68-a1de-558e-0ef651548f34
Content: Copy data to or from Azure Blob storage by using Data Factory
Content Source: articles/data-factory/connector-azure-blob-storage.md
Service: data-factory
GitHub Login: @linda33wj
Microsoft Alias: jingwang

@Anmolgan81 Could you ask your question in the forums? The audience there would be a better suited to answer your question. Azure Data Factory - Forum.

Sure thing, Thanks!
From: CHEEKATLAPRADEEP-MSFT<EMAIL_ADDRESS>Sent: Friday, March 1, 2019 2:42 PM
To: MicrosoftDocs/azure-docs<EMAIL_ADDRESS>Cc: Anmol Ganju<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>Subject: Re: [MicrosoftDocs/azure-docs] How can I tell ADF to not overwrite the files that exisits in both containers only write the files that are present? (#26012)
@Anmolgan81https://github.com/Anmolgan81 Could you ask your question in the forums? The audience there would be a better suited to answer your question. Azure Data Factory - Forumhttps://social.msdn.microsoft.com/forums/azure/en-US/home?forum=AzureDataFactory.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/MicrosoftDocs/azure-docs/issues/26012#issuecomment-468596688, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AhHKp4U2OdtOKaDWS9bFhHXI3RxI222vks5vSO7PgaJpZM4bYkPh.
This message contains confidential information and is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message, which arise as a result of e-mail transmission. If verification is required please request a hard-copy version. IFI Techsolutions Pvt. Ltd. : www.ifi.tech

@Anmolgan81 We will now proceed to close this thread. If there are further questions regarding this matter, please comment and we will gladly continue the discussion.


Factor out resource usage tracking into a class

I'm planning to reuse this class for tracking usage state within command buffer builds.

Decided offline not to merge this.


@vue/shared generateCodeFrame can infinite loop, breaking a build process.

Version
3.1.1
Reproduction link
https://github.com/DV8FromTheWorld/vue3-sfc-compiler-bug-repro-template
Steps to reproduce

Pull the repo and npm install it.
Run npm run serve
Observe how the build process gets stuck and never completes when it is handing the BrokenComponent.vue file.

What is expected?
The build should complete and generate warnings about using undecorated <template> elements in Vue3.
What is actually happening?
The build hangs forever due to an infinite loop when generating the code frame to display with the vue-migration compatibility warning.

I originally encountered this problem when transitioning my application from Vue 2.6 to @vue/compat: 3.1.1. The problem surfaced as a Webpack build that would never complete the compilation step. The Vue-loader would successfully separate the SFC into the specific template/script/style portions and pitch them, but when compiling the template (thus generating migration warnings) the system will get stuck.
In the screenshot below observe that the generateCodeFrame will infinite loop.

This will infinite loop because j >= lines.length will resolve to true and hit the continue statement without incrementing count any further.
It is possible that the culprit causing this problem is not so much the generateCodeFrame function itself but instead the function calculating the loc for the start and end of the <template> ... </template>. From my testing, the loc.*.column and loc.*.line for both loc.start and loc.end were accurate, however the loc.*.offset for both seemed to be off by 75 - 110 characters. The generateCodeFrame code uses offset as it's source of truth here and thus could be the problem here.
Additionally, another issue caused by this oddity with the offset is that the code frame actually generated has the ^^^^^^^ pointers multiple times in a very confusing fashion. This is caused by the count not exceeding end fast enough.

The provided reproduction gives this: and it doesn't hang in an infinite loop.
The loop you showed still increments j when it continues

The loop indeed does increment j but yes, as mentioned before, the problem is that end > count never changes. You can see that the debugger is currently stopped in a state of infinite loop by comparing the values shown in the Scope tab on the right.
I just freshly pulled the repository, ran npm i, and npm run serve.
I was able to see the error still:

Gif showing it happen

I'm not sure what more information I can provide given that the repo does break for me.
What direction would you like to pursue for this?

Cleared my node_modules, installed yarn, ran yarn install and yarn run serve.
Resulted in the same behavior.
Here is the generated yarn.lock file if you'd like to do a diff between it and your own.
https://gist.github.com/DV8FromTheWorld/8bd1dc6dc8288b86663630b44f466324

...I bet this has to do with the way the parser is consuming characters and adjusting offset. This probably is a difference between \n and \r\n given you are on unix and I am on windows.

Yeah, so the problem here is:
https://github.com/vuejs/vue-next/blob/master/packages/shared/src/codeframe.ts#L8
Basically, everything else in the parser deals with \n vs \r\n by using the .length property, thus getting 1 or 2 respectively.
This split treats \n and \r\n identically, so every time another line is processed, the count will deviate from offset by 1 additional character.
If there are enough lines in the file proceeding the piece of code that the generateCodeFrame is suppose to be generating a codeframe for and not enough content after the fragment to make up for the disparity then this will loop forever.


Searching for a Null Byte Triggers a Server Error

Visiting this URL triggers a 500: /?search=%00
It could be an issue in node-fetch but I am not familiar enough with the code to be sure.

@davidegirardi I've updated the error message to be a bit more understandable: https://github.com/matrix-org/matrix-public-archive/pull/84
But you should also raise this in the Synapse issue tracker since that input to /_matrix/client/v3/publicRooms  causes a 500 error:
2022-10-18 03:55:45,082 - synapse.http.server - 123 - ERROR - POST-51351 - Failed handle request via 'PublicRoomListRestServlet': <XForwardedForRequest at 0x10f50d4c0 method='POST' uri='/_matrix/client/v3/publicRooms?' clientproto='HTTP/1.1' site='8008'>
Traceback (most recent call last):
  File "synapse/synapse/http/server.py", line 306, in _async_render_wrapper
    callback_return = await self._async_render(request)
  File "synapse/synapse/http/server.py", line 512, in _async_render
    callback_return = await raw_callback_return
  File "synapse/synapse/rest/client/room.py", line 544, in on_POST
    data = await handler.get_local_public_room_list(
  File "synapse/synapse/handlers/room_list.py", line 103, in get_local_public_room_list
    return await self._get_public_room_list(
  File "synapse/synapse/handlers/room_list.py", line 164, in _get_public_room_list
    results = await self.store.get_largest_public_rooms(
  File "synapse/synapse/storage/databases/main/room.py", line 472, in get_largest_public_rooms
    ret_val = await self.db_pool.runInteraction(
  File "synapse/synapse/storage/database.py", line 881, in runInteraction
    return await delay_cancellation(_runInteraction())
  File "synapse/.venv/lib/python3.9/site-packages/twisted/internet/defer.py", line 1656, in _inlineCallbacks
    result = current_context.run(
  File "synapse/.venv/lib/python3.9/site-packages/twisted/python/failure.py", line 514, in throwExceptionIntoGenerator
    return g.throw(self.type, self.value, self.tb)
  File "synapse/synapse/storage/database.py", line 848, in _runInteraction
    result = await self.runWithConnection(
  File "synapse/synapse/storage/database.py", line 976, in runWithConnection
    return await make_deferred_yieldable(
  File "synapse/.venv/lib/python3.9/site-packages/twisted/python/threadpool.py", line 244, in inContext
    result = inContext.theWork()  # type: ignore[attr-defined]
  File "synapse/.venv/lib/python3.9/site-packages/twisted/python/threadpool.py", line 260, in <lambda>
    inContext.theWork = lambda: context.call(  # type: ignore[attr-defined]
  File "synapse/.venv/lib/python3.9/site-packages/twisted/python/context.py", line 117, in callWithContext
    return self.currentContext().callWithContext(ctx, func, *args, **kw)
  File "synapse/.venv/lib/python3.9/site-packages/twisted/python/context.py", line 82, in callWithContext
    return func(*args, **kw)
  File "synapse/.venv/lib/python3.9/site-packages/twisted/enterprise/adbapi.py", line 282, in _runWithConnection
    result = func(conn, *args, **kw)
  File "synapse/synapse/storage/database.py", line 969, in inner_func
    return func(db_conn, *args, **kwargs)
  File "synapse/synapse/storage/database.py", line 710, in new_transaction
    r = func(cursor, *args, **kwargs)
  File "synapse/synapse/storage/databases/main/room.py", line 463, in _get_largest_public_rooms_txn
    txn.execute(sql, query_args)
  File "synapse/synapse/storage/database.py", line 388, in execute
    self._do_execute(self.txn.execute, sql, *args)
  File "synapse/synapse/storage/database.py", line 436, in _do_execute
    return func(sql, *args, **kwargs)
ValueError: A string literal cannot contain NUL (0x00) characters.

Done.


fix: do not load particles on the Node.js side and make its loading cancellable

Thanks @arturovt, this looks nice. But I'd like to bring it to branch v1 so it can be released in the current version as well, can you make changes there?

Hey @matteobruni . I don't have experience in changing bases. Should I open a new PR and point my commit to v1 or should I somehow rebase this branch onto v1 and change the base here?

Hey @matteobruni . I don't have experience in changing bases. Should I open a new PR and point my commit to v1 or should I somehow rebase this branch onto v1 and change the base here?

I think a new one is needed, since the dev branch has a lot of unmerged commits


100 soroban txs per ledger

The networks section said there was a max of 30 Soroban txs per ledger when there are really 100 txs per ledger

Preview is available here:http://developers-pr374.previews.kube001.services.stellar-ops.com


Async Swift Action and Promise/Future

Current Swift support is limited to synchronous action.  It should be nice to support GCD queue capabilities and implement a Whisk Swift API based on Promise/Future pattern such as BrightFutures https://github.com/Thomvis/BrightFutures

Issue moved to apache/incubator-openwhisk-runtime-swift #76 via ZenHub


Supporting Bash code blocks and more advanced combining

Hi, thanks for your work with this repo. I forked this repo a long time ago, added some things to it and then haven't touched it since. I wanted to know your opinion on some of the changes I made and whether they're something you'd be interested in implementing here yourself (or accepting via a pull request).

Supporting bash codeblocks. I added this by detecting code blocks for bash and then adding some wrapping around it to run the commands in a subprocess in Python for pytest compatibility. I saved the stdout and validated it using custom Python commands in markdown annotations (see the code and the test case). In theory, you could support any language provided the appropriate backend existed in your code to deal with the language.
Combining multiple code blocks. I see you've added this with your 'cont' annotation. I had something similar where it would by default combine with the previous code block but you could also specify an index to combine it with a particular one (see this test case).

It's been a while since I looked at my own code but if there's anything I can do to help, let me know.

Thanks for the suggestions! I just added support for shell scripts at https://github.com/nschloe/pytest-codeblocks/pull/48.
As for the combine index, I don't think there's enough use to justify the code complication.

Wow, that was fast! Thank you!
Fair enough. I see that pytest-codeblocks:cont prefix respects the pytest-codeblocks:skip prefix so I guess you can work around it.

There is an issue though. By default, subprocess shell=true uses /bin/sh which on ubuntu is dash. For code blocks labeled with bash, you'd need to explicitly use bash. For example, this valid bash script fails to run.
foo=1
if [[ $foo == 1 ]]; then
    echo abc
fi

abc

Let's close this then.

There is an issue though. By default, subprocess shell=true uses /bin/sh which on ubuntu is dash. For code blocks labeled with bash, you'd need to explicitly use bash. For example, this valid bash script fails to run.
foo=1
if [[ $foo == 1 ]]; then
    echo abc
fi

abc

Not sure if you got a notification for my previous comment since I commented/you closed at the same time. There's a bug in the bash implementation.


portfolio: init at 0.46.1

Motivation for this change
Portfolio Performance package not available in nixpkgs.
Fixes #35267.
Things done
Packaged Portfolio Performance.

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

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

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

Updated to the latest version (which dropped i686 support) and setup the webbrowser dependency for the holding diagram. Thanks @0xbe7a for your help :-)

Rebased onto latest master & configured generic jre.

@oyren @0xbe7a could you approve this PR? I think that would help getting it merged.

Updated to the latest version 0.46.3.

@oyren Thanks for your test and review! I've updated the PR and included your suggested changes.

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/prs-already-reviewed/2617/157


Port and protocol?

What port(s) and protocol(s) must be open to be able to reach Key Vault data-plane through Private Endpoint? 443 TCP only?

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

ID: 60f5b07f-ae8b-3f08-e9eb-616775cf62b8
Version Independent ID: 9b524717-fbcf-a553-e95a-fb00aac9e086
Content: Diagnose private links configuration issues on Azure Key Vault
Content Source: articles/key-vault/general/private-link-diagnostics.md
Service: key-vault
Sub-service: general
GitHub Login: @msfcolombo
Microsoft Alias: fcolombo

@o-l-a-v
Thanks for your feedback! We will investigate and update as appropriate.

@o-l-a-v
Thank you for your feedback!
Since this issue isn't directly related to improving our docs, and to gain a better understanding of your issue, I'd recommend working closer with our support team via an Azure support request. Or you can leverage our Q&A forum by posting your issue there so our community, and MVPs can further assist you in troubleshooting this issue or finding potential workarounds.
Teams Q&A forum for technical questions about the configuration and administration of Microsoft Teams on Windows.
Microsoft Teams Community forum
Thank you for your time and patience throughout this issue.

@YashikaTyagii
I disagree. In documentation about troubleshooting connection to Key Vault over Private Endpoint, required port(s) and protocol(s) should be mentioned IMO.

@o-l-a-v
Thanks for your feedback! We have assigned the issue to author who will provide further updates.

@o-l-a-v you call Key Vault data plane using https protocol regardless of private link. If you want to learn more about private link it is better to check their documentation https://learn.microsoft.com/en-us/azure/private-link/private-link-overview
Here we are focused on Key Vault specific issues only.

@jlichwa
In contrast to not using private endpoint, one can easily forget to open firewalls or NSGs for the traffic. Thus specifying that HTTPS 443 TCP is required is especially relevant for private endpoint for Key Vault. I don't se why that shouldn't be added to the doc.

@YashikaTyagii Can you assign this to @jlichwa or his delegate?
Thanks.

@o-l-a-v  any information on Private Link you need to look on their documentation we are just partnering with them. It is not Key Vault specific and applies to all services in Azure. These guidelines are more to help with Key Vault specific scenario.
In general there could be a proxy and various options included so it is out of the scope of Key Vault service.

@jlichwa
Alright.
I see 443 listed here too:

https://learn.microsoft.com/en-us/azure/key-vault/general/access-behind-firewall

So the info exists. Just not where I'd look if I was looking for what ports needs to be open if I put Key Vault behind PE.


Animation exposed to scripting

Review and merge "Animation" first.

SonarQube analysis reported 18 issues

 3 major
 14 minor
 1 info

Watch the comments in this conversation to review them.
Top 10 extra issues
Note: The following issues were found on lines that were not modified in the pull request. Because these issues can't be reported as line comments, they are summarized here:

 ScriptManager.cpp#L658: Memory leak: value
 ScriptManager.cpp#L662: Memory leak: value
 ScriptManager.cpp#L666: Memory leak: value
 AncientFungus:LGEPR: Cppcheck cannot find all the include files (use --check-config for details)
 Hymn.cpp#L184: Variable 'model' is assigned a value that is never used.
 RenderManager.cpp#L361: The function 'GetMaterials' is never used.
 RenderManager.cpp#L379: The function 'GetMeshes' is never used.
 RenderManager.cpp#L398: The function 'GetPointLights' is never used.
 RenderManager.cpp#L419: The function 'GetSpotLights' is never used.
 ResourceManager.hpp#L29: Member variable 'ResourceManager::rectangle' is not initialized in the constructor.

A lot of these changes are the same as in #677. Will review after that has been fixed and merged.

SonarQube analysis reported 24 issues

 3 major
 20 minor
 1 info

Watch the comments in this conversation to review them.
Top 10 extra issues
Note: The following issues were found on lines that were not modified in the pull request. Because these issues can't be reported as line comments, they are summarized here:

 ScriptManager.cpp#L666: Memory leak: value
 ScriptManager.cpp#L670: Memory leak: value
 ScriptManager.cpp#L674: Memory leak: value
 AncientFungus:LGEPR: Cppcheck cannot find all the include files (use --check-config for details)
 Resources.hpp#L149: Unused private function: 'ResourceList::GetInstance'
 RenderManager.cpp#L363: The function 'GetDirectionalLights' is never used.
 RenderManager.cpp#L402: The function 'GetMaterials' is never used.
 RenderManager.cpp#L420: The function 'GetMeshes' is never used.
 RenderManager.cpp#L439: The function 'GetPointLights' is never used.
 RenderManager.cpp#L460: The function 'GetSpotLights' is never used.

SonarQube analysis reported 24 issues

 3 major
 20 minor
 1 info

Watch the comments in this conversation to review them.
Top 10 extra issues
Note: The following issues were found on lines that were not modified in the pull request. Because these issues can't be reported as line comments, they are summarized here:

 ScriptManager.cpp#L666: Memory leak: value
 ScriptManager.cpp#L670: Memory leak: value
 ScriptManager.cpp#L674: Memory leak: value
 AncientFungus:LGEPR: Cppcheck cannot find all the include files (use --check-config for details)
 Resources.hpp#L149: Unused private function: 'ResourceList::GetInstance'
 RenderManager.cpp#L363: The function 'GetDirectionalLights' is never used.
 RenderManager.cpp#L402: The function 'GetMaterials' is never used.
 RenderManager.cpp#L420: The function 'GetMeshes' is never used.
 RenderManager.cpp#L439: The function 'GetPointLights' is never used.
 RenderManager.cpp#L460: The function 'GetSpotLights' is never used.


Contributing to documentation page is not rendered completely

Hi,
I was just browsing through the contribution process and saw that the page is not rendered completely after the "Language Specific source code and paragraphs" section:
https://docs.cucumber.io/community/contributing-to-documentation/
But the source content seems to contain all the information.
https://github.com/cucumber/docs.cucumber.io/blob/master/content/community/contributing-to-documentation.md

Thanks for pointing that out @akshaykamath - I'll have a look

Ok, the hack I tried didn't work.
It has to do with Hugo interpreting the language blocks, e.g. {{% block %}} and I'm trying to find out if those can be escaped and how. Help welcome ;)

@mlvandijk, does {{%/* block */%}} work?
https://discourse.gohugo.io/t/a-way-to-mark-plain-text-and-stop-hugo-from-interpreting/1325/2

@xtrasimplicity Somewhat, in the sense that it does show up. Except it shows {{%/* block */%}} instead of {{% block %}}...


StreamTypeLengthValue: Remove deadcode

https://jenkins.code.rdkcentral.com/job/github-triggered/1148/ started


Changes element from span to i to be compatible with latest FA versions

 was breaking. Latest FontAwesome styles require you to use , as described here.

Awesome, thank you @leonardoeloy. I've pulled in the fa-link change, but left out the version bump; there are a few more things that I want to do before then.


Overarching updates

Short term modifications

[x] Dublin core on top-level readme
[x] Single instructions line about what to do if files are >100mb
[x] Move metadata readme information into HEGSRR-Manual
[ ] Shift language away from R&R to research more broadly

Medium term modifications

[ ] Convert pre-analysis plan .docx into .tex and .md files, and move instructions into HEGSRR-Manual

top readme is good to go with compliance with Dublin Core.
instructions about large files are in the manual. could add more about what to do if you accidentally commit one.
at least copied all good advice from individual readme files into the manual. a last draft of this may go back to the template to make sure those are all still consistent, or largely remove instructions from the template & instead link to appropriate sections of the manual so that there is only one set of cohesive instructions in the Manual. Things get confusing if there are too many different sets of instructions.

These are all set; for now let's work with just a markdown / rmarkdown version of analysis plan


uh its just stuck at something and idk what to do

im very new sorry for asking this probably newbie question  but so idk like everything was running smooth for a bit and now it sort of stopped and idk if its done or not the  last thing powershell said was
10670 Sophia.psm1 Unable to find type [WinAPI.UpdateExplorer].
thank you <3

Joined 9 minutes ago

:3
Your OS build?

Unable to find type [WinAPI.UpdateExplorer]

Seems, you didnt import module... But idk how it could happen. I better need to see by myself what have gone wrong. May be via teamviewer or similar.

Joined 9 minutes ago

:3
Your OS build?

Unable to find type [WinAPI.UpdateExplorer]

Seems, you didnt import module... But idk how it could happen. I better need to see by myself what have gone wrong. May be via teamviewer or similar.

windows 10 latest build
please thank you so much yurixoxo#0404 i am installing tv now i am on kinda fresh windows 10 reset so barely have anything set up

windows 10 latest build
please thank you so much yurixoxo#0404 i am installing tv now i am on kinda fresh windows 10 reset so barely have anything set up

write to me on Discord if you have: @sanctuary_s#6351

oh thats discord btw

write to me on Discord if you have: @sanctuary_s#6351

oh thats discord btw

haha ok thank you!

haha ok thank you!

Anyway, aftee what I've seen on your PC, strongly advise to reinstall the OS. :)

Anyway, aftee what I've seen on your PC, strongly advise to reinstall the OS. :)

yeah, i literally installed fresh windows 10 a couple days ago but i found some bad powershell script for on github.. it was called like windows debloater i think idk it was a mess...
when i reset windows, ill make sure im offline so it doesnt force too many bad drivers, and software, or should i just do it normally and run sofia at the end??

yeah, i literally installed fresh windows 10 a couple days ago but i found some bad powershell script for on github.. it was called like windows debloater i think idk it was a mess...
when i reset windows, ill make sure im offline so it doesnt force too many bad drivers, and software, or should i just do it normally and run sofia at the end??

Reinstall :).  Thanks to that shitty script.
Reinstall OS, update it until there won't be any updates, install NVidia driver via special program (to not to install telemetry, unnecessary apps with the driver), reboot, and apply the script. Don't forget to configure the preset file before applying.
If you're n00b, pm me in Discord. :)

Reinstall :).  Thanks to that shitty script.
Reinstall OS, update it until there won't be any updates, install NVidia driver via special program (to not to install telemetry, unnecessary apps with the driver), reboot, and apply the script. Don't forget to configure the preset file before applying.
If you're n00b, pm me in Discord. :)


Wire mentee selection admin and mentor dashboards views

Purpose

The purpose of this PR is to fix #285 (fixes #283, fixes #274)
Goals

To let admins view the mentor details while going through mentee list

Approach

Make a separate component to keep MentorList
Import it under manage mentees and pass the data down

Screenshots

Mentor Manage -> Admin

Note: Assigned mentors should show up but there's something wrong with the endpoint
Manage mentees -> Mentor

Checklist

[x] This PR doesn't commit any keys, passwords, tokens, usernames, or other secrets.
[x] I have read and understood the development best practices guidelines ( http://bit.ly/sef-best-practices )
[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[x] I have made corresponding changes to the documentation

Related PRs

Test environment

Safari
macOS

Learning

Note: Assigned mentors should show up but there's something wrong with the endpoint

I tested the endpoint locally and it worked for both admin users and logged in users. Try adding withCredentials: true to the request.

Note: Assigned mentors should show up but there's something wrong with the endpoint

I tested the endpoint locally and it worked for both admin users and logged in users. Try adding withCredentials: true to the request.

Note: Assigned mentors should show up but there's something wrong with the endpoint

I tested the endpoint locally and it worked for both admin users and logged in users. Try adding withCredentials: true to the request.

Ah silly me, sorry I totally forgot about it


update to nativescript 6.0

Thanks @vhristov5555 this works great!
I've updated a few more things and plan on releasing a new version soon, but I want to add some more features first.
Your work is greatly appreciated!


Guidance for Training

Could you share the training code?

Sorry, we won't release the training code at the moment. This project is a kind of commercial so we can only open access to testing.


Add device-random as an example

Migrate code from https://github.com/edgexfoundry/device-random and then archive that repository

closed #52