Some ideas about training with typical object detection datasets.

Hi, thanks for you greate work. I have some ideas about training the model with the typical OD datasets like VOC or COCO.
Since the grozi3.2k datasets needs labeled carefully and it is time consuming to get new data, I wondering if we could use the OD annotations directly.
Here are the steps:

Get the input image and it's bbox labels as a input image
Random select  one class in the labels and crop it out as a class-image.
Considering the case that objects may be looks very different with the same class int the COCO or VOC, we could  treat them as one class for semantic level one-shot OD or treat them as different for instance level one-shot OD.
So we get the input image and the class-image and train it.

Have you tried similar idea and could give me some advice?

Hi, we did try to use cropped objects from images as positives - this is done with the mine_extra_class_images flag. But if I remember correctly it did not really help for all datasets except INSTRE. I think it is the case because for main validation we used our version of Grozi where class images came with the white background.
We have never tried going furhter in this direction for COCO or VOC but I think it is worth exploring.


Request: EFI version?

I would like a version of this that could switch GPUs before booting into an OS, if anyone wants to take a stab at that.

You could try this https://github.com/Redecorating/efi-gpu-power-prefs but it does require a reboot after you run the efi executables (Once you get to the bootloader, its already using the display so a gpu is already connected)

another option would be to write an version of the linux apple-gmux module as an efi executable, but that would only work on older macs


Allow opt out of indexing specific fields in the schema

Allow a user to set which fields should not be indexed and store that information in the index metadata

We going to go the other way around where a user specifies the indexes they want.


Valid Multiple Parenthesis

I want to add the code for Valid Multiple parenthesis to our code base

i have provided the code for Valid Multiple Parenthesis problem

Why this is not counting in the hactoberfest??

plzz merge my code into yr codebase @SoumyadeepMukherjee


Pyserial module not listed in the requirements

Hi, is there any reason why pyserial is not listed in the requirements.txt? I have never used basil before, but I just cloned it in development mode and tried to execute a copy of basil/examples/lab_devices/xray_tube.py. This is the traceback:
Traceback (most recent call last):
  File "/home/pxd9/basil/basil/dut.py", line 255, in _factory
    mod = import_module(importname)
  File "/home/pxd9/anaconda3/envs/mosfet_irrad/lib/python3.10/importlib/__init__.py", line 126, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1050, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1027, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1006, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 688, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 883, in exec_module
  File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
  File "/home/pxd9/basil/basil/TL/Serial.py", line 9, in <module>
    import serial
ModuleNotFoundError: No module named 'serial'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pxd9/mosfet_irrad/irrad/xray_irrad.py", line 35, in <module>
    device = Dut('xray_basil_config.yaml')
  File "/home/pxd9/basil/basil/dut.py", line 101, in __init__
    self.load_hw_configuration(self._conf)
  File "/home/pxd9/basil/basil/dut.py", line 200, in load_hw_configuration
    self._transfer_layer[intf['name']] = self._factory('basil.TL.' + intf['type'], *(), **kargs)
  File "/home/pxd9/basil/basil/dut.py", line 259, in _factory
    mod = import_module(importname)
  File "/home/pxd9/anaconda3/envs/mosfet_irrad/lib/python3.10/importlib/__init__.py", line 126, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1050, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1027, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1004, in _find_and_load_unlocked
ModuleNotFoundError: No module named 'Serial'

This is what pipreqs would give me:
bitarray==2.6.0
cocotb==1.7.1
cocotb_bus==0.2.1
crcmod==1.7
numpy==1.23.4
pyserial==3.5
pytest==7.2.0
pyvisa==1.12.0
PyYAML==6.0
sensirion_shdlc_driver==0.1.5
sensirion_shdlc_sensorbridge==0.1.1
setuptools==65.5.1
six==1.16.0
sphinx_rtd_theme==1.1.1

Hi, in general the basil.TL implementations which are build on top of existing modules, such as pyvisa or pyserial are not listed in the requirements it seems. I do not know if this was an intentional design choice at the time to only list core requirements in the .txt and have users install additional things if they need to use corresponding basil parts but one can argue for both. We could think about adding certain things to the requirements


Would block other AsyncTasks in app...

Since it is an AsyncTask, it would block other AsyncTasks from running in parallel, so I would suggest use of discover.executeOnExecutor(AsyncTask.THREAD_POOL_EXECUTOR); instead of discover.execute(); in the UPnPDiscovery.java

Found workaround:
instead of using discover.execute(); I have used discover.executeOnExecutor(AsyncTask.THREAD_POOL_EXECUTOR);
This way they AsyncTasks won't block each other.

The symptom disappeared when I migrated to Coroutine instead of AsyncTask.


STEP curve import depends on 'import_points' option

🔍 Before submitting the issue

[X] I have searched among the existing issues
[X] I am using a Python virtual environment

🐞 Description of the bug
When importing the attached .step file, the imported curves are incomplete unless the import_points option is also set to True.
ply_boundaries.step.txt
Screenshot with import_points=False [1]

Screenshot with import_points=True

Reproducing code:
from ansys.geometry.core import launch_modeler_with_discovery
from ansys.geometry.core.misc import ImportOptions

modeler = launch_modeler_with_discovery()

design = modeler.open_file(
    "ply_boundaries.step",
    import_options=ImportOptions(
        import_curves=True,
        import_names=True,
        import_points=False,
    )
)

The curves are defined as B_SPLINE_CURVE_WITH_KNOTS. These do reference CARTESIAN_POINT objects in their definition, but I don't understand why the curve import works in some cases, but not in others. Presumably, the curve import should read the points which make up the curve definition, but not import them as separate point objects. And indeed, in neither case are the points separately present in the imported geometry.
[1] I am using launch_modeler_with_discovery for being able to make screenshots, but the issue originally occurred using launch_modeler_with_geometry_service.
📝 Steps to reproduce

Download the STEP file linked above, rename it to remove the .txt extension
Run the Python code listed above

💻 Which operating system are you using?
Windows
📀 Which ANSYS version are you using?
2025R1
🐍 Which Python version are you using?
3.10
📦 Installed packages
aiohttp==3.9.5
aiosignal==1.3.1
ansys-api-dbu==0.3.3
ansys-api-geometry==0.4.4
ansys-geometry-core==0.6.5
ansys-tools-path==0.6.0
ansys-tools-visualization-interface==0.2.6
appdirs==1.4.4
async-timeout==4.0.3
attrs==23.2.0
beartype==0.18.5
certifi==2024.7.4
charset-normalizer==3.3.2
click==8.1.7
colorama==0.4.6
contourpy==1.2.1
cycler==0.12.1
flexcache==0.3
flexparser==0.3.1
fonttools==4.53.1
frozenlist==1.4.1
grpcio==1.65.1
grpcio-health-checking==1.65.1
idna==3.7
kiwisolver==1.4.5
matplotlib==3.9.1
more-itertools==10.3.0
msgpack==1.0.8
multidict==6.0.5
numpy==1.26.4
packaging==24.1
pillow==10.4.0
Pint==0.24.3
platformdirs==4.2.2
pooch==1.8.2
protobuf==5.27.2
pyparsing==3.1.2
python-dateutil==2.9.0.post0
pyvista==0.44.0
requests==2.32.3
scipy==1.14.0
scooby==0.10.0
semver==3.0.2
six==1.16.0
trame==3.6.3
trame-client==3.2.1
trame-server==3.0.3
trame-vtk==2.8.9
trame-vuetify==2.6.1
typing_extensions==4.12.2
urllib3==2.2.2
vtk==9.3.1
websockets==12.0
wslink==2.1.1
yarl==1.9.4

Hi @greschd - thanks for opening the issue. Seems like a backend problem IMO. Pinging @b-matteo @umutsoysalansys @smereu for evaluation


Add Nix

https://github.com/nix-community/awesome-nix
This awesome list is a Nix-Community-maintained curation of Nix and NixOS resources, tooling, and communication for all levels of Nix experience. This list encompasses the package manager, expression language, and the derivative projects, including NixOS and NixOps.
By submitting this pull request I confirm I've read and complied with the below requirements 🖖
Please read it multiple times. I spent a lot of time on these guidelines and most people miss a lot.
Requirements for your pull request

Don't waste my time. Do a good job, adhere to all the guidelines, and be responsive.
You have to review at least 2 other open pull requests.
Try to prioritize unreviewed PRs, but you can also add more comments to reviewed PRs. Go through the below list when reviewing. This requirement is meant to help make the Awesome project self-sustaining. I reviewed prs #1959 and #1936. You're expected to put a good effort into this and to be thorough. Look at previous PR reviews for inspiration. Just commenting “looks good” or simply marking the pull request as approved does not count! You have to actually point out mistakes or improvement suggestions.
You have read and understood the instructions for creating a list.
This pull request has a title in the format Add Name of List.

✅ Add Swift
✅ Add Software Architecture
❌ Update readme.md
❌ Add Awesome Swift
❌ Add swift
❌ add Swift
❌ Adding Swift
❌ Added Swift

Your entry here should include a short description about the project/theme of the list. It should not describe the list itself. The first character should be uppercase and the description should end in a dot. It should be an objective description and not a tagline or marketing blurb.

✅ - [iOS](…) - Mobile operating system for Apple phones and tablets.
✅ - [Framer](…) - Prototyping interactive UI designs.
❌ - [iOS](…) - Resources and tools for iOS development.
❌ - [Framer](…)
❌ - [Framer](…) - prototyping interactive UI designs

Your entry should be added at the bottom of the appropriate category.
The suggested Awesome list complies with the below requirements.

Requirements for your Awesome list

Has been around for at least 30 days.That means 30 days from either the first real commit or when it was open-sourced. Whatever is most recent.
Don't open a Draft / WIP pull request while you work on the guidelines. A pull request should be 100% ready and should adhere to all the guidelines when you open it.
Run awesome-lint on your list and fix the reported issues. If there are false-positives or things that cannot/shouldn't be fixed, please report it.
The default branch should be named main, not master.
Includes a succinct description of the project/theme at the top of the readme. (Example)

✅ Mobile operating system for Apple phones and tablets.
✅ Prototyping interactive UI designs.
❌ Resources and tools for iOS development.
❌ Awesome Framer packages and tools.

It's the result of hard work and the best I could possibly produce.
If you have not put in considerable effort into your list, your pull request will be immediately closed.
The repo name of your list should be in lowercase slug format: awesome-name-of-list.

✅ awesome-swift
✅ awesome-web-typography
❌ awesome-Swift
❌ AwesomeWebTypography

The heading title of your list should be in title case format: # Awesome Name of List.

✅ # Awesome Swift
✅ # Awesome Web Typography
❌ # awesome-swift
❌ # AwesomeSwift

Non-generated Markdown file in a GitHub repo.
The repo should have awesome-list & awesome as GitHub topics. I encourage you to add more relevant topics.
Not a duplicate. Please search for existing submissions.
Only has awesome items. Awesome lists are curations of the best, not everything.
Does not contain items that are unmaintained, has archived repo, deprecated, or missing docs. If you really need to include such items, they should be in a separate Markdown file.
Includes a project logo/illustration whenever possible.

Either centered, fullwidth, or placed at the top-right of the readme. (Example)
The image should link to the project website or any relevant website.
The image should be high-DPI. Set it to maximum half the width of the original image.

Entries have a description, unless the title is descriptive enough by itself. It rarely is though.
Includes the Awesome badge.

Should be placed on the right side of the readme heading.

Can be placed centered if the list has a centered graphics header.

Should link back to this list.

Has a Table of Contents section.

Should be named Contents, not Table of Contents.
Should be the first section in the list.
Should only have one level of nested lists, preferably none.
Must not feature Contributing or Footnotes sections.

Has an appropriate license.

We strongly recommend the CC0 license, but any Creative Commons license will work.

Tip: You can quickly add it to your repo by going to this URL: https://github.com/<user>/<repo>/community/license/new?branch=main&template=cc0-1.0 (replace <user> and <repo> accordingly).

A code license like MIT, BSD, Apache, GPL, etc, is not acceptable. Neither are WTFPL and Unlicense.
Place a file named license or LICENSE in the repo root with the license text.
Do not add the license name, text, or a Licence section to the readme. GitHub already shows the license name and link to the full text at the top of the repo.
To verify that you've read all the guidelines, please comment on your pull request with just the word unicorn.

Has contribution guidelines.

The file should be named contributing.md. Casing is up to you.
It can optionally be linked from the readme in a dedicated section titled Contributing, positioned at the top or bottom of the main content.
The section should not appear in the Table of Contents.

All non-important but necessary content (like extra copyright notices, hyperlinks to sources, pointers to expansive content, etc) should be grouped in a Footnotes section at the bottom of the readme. The section should not be present in the Table of Contents.
Has consistent formatting and proper spelling/grammar.

The link and description are separated by a dash. Example: - [AVA](…) - JavaScript test runner.
The description starts with an uppercase character and ends with a period.
Consistent and correct naming. For example, Node.js, not NodeJS or node.js.

Doesn't use hard-wrapping.
Doesn't include a Travis badge.You can still use Travis for list linting, but the badge has no value in the readme.
Doesn't include an Inspired by awesome-foo or Inspired by the Awesome project kinda link at the top of the readme. The Awesome badge is enough.

Go to the top and read it again.
I'm not 100% positive on the section to add Nix to. It's so generally applicable that describing it as a programming language, development tool, or stack-centric system just doesn't fit, so I think "Platform" would work best.

unicorn

You have to review at least 2 other open pull requests.
Try to prioritize unreviewed PRs, but you can also add more comments to reviewed PRs. Go through the below list when reviewing. This requirement is meant to help make the Awesome project self-sustaining. I reviewed prs #1959 and #1936. You're expected to put a good effort into this and to be thorough. Look at previous PR reviews for inspiration. Just commenting “looks good” or simply marking the pull request as approved does not count! You have to actually point out mistakes or improvement suggestions.

You have to review at least 2 other open pull requests.
Try to prioritize unreviewed PRs, but you can also add more comments to reviewed PRs. Go through the below list when reviewing. This requirement is meant to help make the Awesome project self-sustaining. I reviewed prs #1959 and #1936. You're expected to put a good effort into this and to be thorough. Look at previous PR reviews for inspiration. Just commenting “looks good” or simply marking the pull request as approved does not count! You have to actually point out mistakes or improvement suggestions.

I'm not sure I understand here. Not that I don't understand the need to have them reviewed, which I did first thing, but I'm not sure what you mean by pointing this paragraph out.

I've reviewed and suggested changes to #1936, #1959, #1964, #1970, and #1974. Did five just for good measure.

Sorry, I missed that you had included the link to the reviews inside the pull request template.

Tweet: https://twitter.com/awesome__re/status/1378072664896532480


Is v12.3 currently usable?

Hello,
I would like to inquire if v12.3 is currently usable.
It appears that the release notes have been completed,
but the version has not been released on the official site yet.
https://pgbadger.darold.net/
Furthermore, when I attempted to test the v12.3 tag,
I encountered two failures, which did not occur in v12.2 and earlier versions.
Here is my testing log.
$ prove
t/01_lint.t ......... ok
t/02_basics.t ....... 9/17
#   Failed test 'Multiple output format '13487315897134873' = '13511215985135112''
#   at t/02_basics.t line 46.
t/02_basics.t ....... 10/17
#   Failed test 'syslog report to stdout'
#   at t/02_basics.t line 49.
t/02_basics.t ....... 17/17 # Looks like you failed 2 tests of 17.
t/02_basics.t ....... Dubious, test returned 2 (wstat 512, 0x200)
Failed 2/17 subtests
t/03_consistency.t .. ok
t/04_advanced.t ..... ok

Test Summary Report
-------------------
t/02_basics.t     (Wstat: 512 Tests: 17 Failed: 2)
  Failed tests:  9-10
  Non-zero exit status: 2

I tried to output the results of failed testing case, and
I found something wired in v12.3.
9/17:
Add two rows to t/02_basics.t to save the file.
 43 $ret = `perl pgbadger -q --outdir '.' -o $TEXT -o $JSON -o - -x json $LOG > t/ret.json`;
 44 my $ret2 = `stat --printf='%s' t/ret.json $TEXT $JSON`;
 45 chomp($ret);
 46 ok( $? == 0 && $ret2 eq '13511215985135112', "Multiple output format '$ret2' = '13511215985135112'");
 47 ################
 48 `cp $TEXT /somewhere/newtext.text`;
 49 `cp $JSON /somewhere/newjson.json`;
 50 ################

10/17:
$ perl pgbadger -q -o - 't/fixtures/pg-syslog.1.bz2' &> somewhere/10.log
According to /somewhere/newtext.text and somewhere/10.log,
looks like there is 1 ERROR in $LOG and $SYSLOG.
Logs type       Count   Percentage
ERROR           1       0.16%
LOG             629     99.84%

Logs type       Count   Percentage
ERROR           1       0.00%
HINT            1       0.00%
LOG             59,895  100.00%

However, when I tried to check the t/fixtures/light.postgres.log.bz2 and
t/fixtures/pg-syslog.1.bz2, there is not any ERROR in these 2 files.
I will appreciate if you anyone could give me a suggestion or answer.

I'm seeing the regression failure in the Debian package build as well:
t/02_basics.t .......
1..17
ok 1 - Inline help
ok 2 - Light log report to stdout
ok 3 - Light log report to HTML
ok 4 - Light log to binary
ok 5 - From binary to JSON
ok 6 - Incremental mode report
ok 7 - Ressources files in incremental mode
ok 8 - Light log from STDIN
not ok 9 - Multiple output format '13487315897134873' = '13511215985135112'

#   Failed test 'Multiple output format '13487315897134873' = '13511215985135112''
#   at t/02_basics.t line 46.
not ok 10 - syslog report to stdout

#   Failed test 'syslog report to stdout'
#   at t/02_basics.t line 49.
ok 11 - statement type
ok 12 - French encoding
ok 13 - Cyrillic encoding
ok 14 - Anonymization \#1
ok 15 - Anonymization \#2
ok 16 - Anonymization \#3
ok 17
# Looks like you failed 2 tests of 17.
Dubious, test returned 2 (wstat 512, 0x200)
Failed 2/17 subtests

Yes, got it too. I'm working on this. I think it is also related to #807 with the problem on error count.
I will produce a v12.4 after the fixes.

Fixed with commit b1aaa97. New release will be pushed later today.
$ prove
t/01_lint.t ......... ok
t/02_basics.t ....... ok
t/03_consistency.t .. ok
t/04_advanced.t ..... ok
All tests successful.
Files=4, Tests=54, 115 wallclock secs ( 0.03 usr  0.00 sys + 43.80 cusr  1.09 csys = 44.92 CPU)
Result: PASS

A thousand apologies for not being able to find the time to post the new release. It is done now, see https://github.com/darold/pgbadger/releases/tag/v12.4


[Doc] Redelivery count, Redelivery delay table should be updated correctly

Search before asking

[X] I searched in the issues and found nothing similar.

What issue do you find in Pulsar docs?
Step 1: Navigate to the link (https://pulsar.apache.org/docs/2.11.x/concepts-messaging/#negative-acknowledgment)
Step 2: Check the table (Redelivery count, Redelivery delay). This table should have only 6 redelivery counts. 7 and 8 rows should be removed.
What is your suggestion?
Check the table (Redelivery count, Redelivery delay). This table should have only 6 redelivery counts. 7 and 8 rows should be removed.
Any reference?
No response
Are you willing to submit a PR?

[ ] I'm willing to submit a PR!

Document is correct


Useful ideas?

Funny thing I've been developing something somewhat similar, but with some different use cases.
Would love to get your thoughts on the following features:

Ability to connect to the selected container with bash. docker exec -it <container id> /bin/bash. I find myself writing scripts to do this all the time. I was using c for "connect". The program would both connect to the container and stop itself. I didn't try to bring a terminal up in my utility.

Ability to stop/rm containers. I was reporting status in the list (s = stopped, r = running). As a developer - when I'm iterating and starting/stopping lots of containers, I always end up with orphaned containers that I have to remove, etc. Would be nice to have hot-keys to clean up.

I wanted to extend the utility to also manage images in a lightweight way. Ability to list images for the purposes of cleaning up. For example, I built an image and it was bad and I want to delete it. Also for tagging images that somehow are without tags.

If the purpose of the tool is just to monitor, maybe these things aren't useful. But man, the screenshot is just awesome. Really amazing.

Thanks for the feedback and ideas :-)
I really had metrics in mind, which is why I'm not sure about making it a "control center" like I replied in #5, but I haven't really thought it through so it might be worth reconsidering.

Yeah it doesn't seem to make sense to be a control center. In the spirit of one job for a tool it doesn't fit. Mind if I use the inspiration of the UI to make the control center? I was using curses in Python and found it ... very unpleasant.


Doc/ Adding a Sitemap

Description of the Change

Sitemap is being submitted, so google's crawlers could reindex pages.
Benefits

Better SEO
Possible Drawbacks

Will need to be updated when we update the docs. Maybe it would be better to have some sort of an automatic generator in the long run.

@lebdron that makes sense
Let's at least leave this PR as a placeholder, I'll commit the new version after we merge #310

Please reopen this pull request when there will be an agreement on the solution. Did not save the branch because this should be generated. Created task https://jira.hyperledger.org/browse/IR-755


discovered bug with_is_logs_section_empty to allow for log widgets th…

…at don't specify condition
Description of changes

Describe what you're changing and why you're doing these changes.
Link to impacted open issues.

Tests

Describe the automated and/or manual tests executed to validate the patch.
Describe the added/modified tests.

References

Link to related PRs in other packages (i.e. cookbook, node).
Link to documentation useful to understand the changes.

Checklist

[ ] Make sure you are pointing to the right branch and add a label in the PR title (i.e. 2.x vs 3.x)
[ ] Check all commits' messages are clear, describing what and why vs how.
[ ] Make sure to have added unit tests or integration tests to cover the new/modified code.
[ ] Check if documentation is impacted by this change.

Please review the guidelines for contributing and Pull Request Instructions.
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Discovered error when trying to create log widget with no specified condition. Solved by editing function "_is_logs_section_empty" . Before edits if you wanted to create a log with no conditions, not possible to reach the desired empty_section = false in specified function. Now possible to create log with no condition while still checking valid for conditions  on sections where condition exists

Good catch! Please also update the changelog to include the the fix.

Edited comment:
Fixed bug to allow for cloud watch log without log stream conditions


Wrong image size displayed after resizing the window to a larger size

System information
Windows 10, RTX 3090
Issue description
When resizing the window to a larger size, the image seems to be scaled even larger than it is supposed to be.
Before resizing:

After resizing:

We can see that the image is pixelated like it was resize bigger than it's actual size before being displayed.
Steps to reproduce
Launch HelloTriangle (or any other sample) and resize it to a larger size than its initial size.

The pixelating is expected behaviour and can be changed from
here by replacing the filter to vk::Filter::eLlinear. For other samples its abstracted away here and do the same thing as above for this line also.
The triangle shifting effect is mainly due to the camera readjusting and you can move around the scene with WASD keys and rotate using your mouse, so it shouldn't be much of a problem :)

I really don't think this should be an expected behavior.
If the window size is passed to the ray dispatch function, and the image buffer is resized the window size, the image displayed should remain pixel perfect (one pixel of the image equal to one pixel of the screen). But this is not the case.

You're right, the dispatch function should trace the rays according to render resolution and not the window resolution.
But I'll give a rundown on what is/should happening::

There is a fixed output image that the raytraced image is rendered to when instantiating the Application class, which is the size 1280x720, in Application.h.
There are member variables tracking the render resolution and the window resolution. If the resize resolution is greater than the allocated texture, it will keep the render resolution to the size of the output image and change the window resolution variables.
It will trace rays by the render resolution (needs to be fixed) and draw the output image on top of the swapchain image which is pixel perfect if window size is less or equal to the output texture. Otherwise it will upscale to fit.

If you have a fix for it I would be happy to accept a PR. Nice find!

I don't have a clear solution right now but I think I see something that might be part of the issue.
In the Application::HandleResize() function, you destroy the swapchain's ImageViews but not the Images and the swapchain itself, then you rebuild them with the exact same parameters from mOldSwapchain. Does it means that you don't change the extent of the resources?
Last time I've built a Vulkan program, during the resize I destroyed the swapchain along with the images and imageViews, and rebuilt it with the new extent corresponding to the new window size.
Also, in the examples from Sascha Willems he seems to be handling the resize and the command buffer a bit differently than you: https://github.com/SaschaWillems/Vulkan/blob/master/examples/raytracingbasic/raytracingbasic.cpp#L703

The problem is this line. Replacing it with VRDev->DispatchRays(mRTPipeline, mSBTBuffer, mRenderWidth, mRenderHeight, 1, renderCmd); seems to solve the problem

Ok, yes, it solves the issue if you want to keep the current behavior of the swapchain and the image buffer not being resized to the new window size.

Yeah. As I said before if you've implemented a better resize functionality, please make a PR 😄. I'll close this after I commit the changes.

That was intentional. I dont want to abstract away an important part from the introductory sample. The later ones have it abstracted, because it is redundant.

Commit 4a0b2881943d2b1ef2663fdabfa54c7a40cd8165 fixes this issue.


Enable path_info while proxying to Tomcat

Hi Pete,
I hope you want to add this piece of code, as it enables path_info in Lucee/Railo/BD while using nginx-proxy + tomcat.
For reference, see http://www.lucee.nl/post.cfm/enable-path-info-on-nginx-with-lucee-and-railo
Thanks for the install scripts; they were really useful!
Paul

Doing a pull req to my own repo. Yeah, I guess I need more coffee.


License-File

Please add a LICENSE-File.

I have long considered how to license this. No license on github equates to "All Rights Reserved". Despite that, I had portions of my code-base ripped-off without credit (Not going to point fingers at anybody).
I have no legal team, and either it doesn't matter. I have no way of enforcing being credited without counting on the goodwill of users who will either credit, or not credit me in spite of whatever license I put.
Hence, I will legally publish it under good ol' MIT.


Exclude unreferenced pages from search

Description of the change

Checklist
Please make sure that the proposed change checks all the boxes below before requesting a review:

[ ] I have reviewed the guidelines for contributing to this repository.
[ ] The preview looks fine.
[ ] The tests pass.
[ ] The commit history is clean and meaningful.
[ ] The pull request is opened against the main branch.
[ ] The pull request is no longer marked as a draft.
[ ] You agree to license your contribution under the MIT license to Spacelift (not required for Spacelift employees).

If the proposed change is ready to be merged, please request a review from @spacelift-io/solutions-engineering. Someone will review and merge the pull request.
Spacelift employees should request reviews from the relevant engineers and are allowed to merge pull requests after they got at least one approval.
Thank you for your contribution! 🙇

Temporarily closing this because it seems to break the search almost completely.


GH-41467: [CI][Release] Don't push conda-verify-rc image

Rationale for this change
Because it uses ubuntu:20.04 image directly. We don't build our image for it.
What changes are included in this PR?
Don't push an image for conda-verify-rc.
Are these changes tested?
No.
Are there any user-facing changes?
No.

@github-actions crossbow submit verify-rc-source--conda-

@github-actions crossbow submit verify-rc-source--conda-


Poppler subprocess doesn't work on Windows

Poppler subprocess doesn't work on Windows.
Poppler subprocess should work for all the following platforms: Linux, OSX and Windows.
Error:
Can not reproduce the issue. Before there was an issue running the subprocess on Windows platform, but apparently it might work even without this implementation.

This error doesn't seem to be related to Poppler. Seems more like you have no Tesseract installed.

Possible problem has been possibly fixed by this commit https://github.com/KENDAXA-Development/pdf-utils/commit/17aade96715d160a92516412ba95d37b3eabaa89


Improve test cases

working on this, can you merge your commits, preferably including XML ?
https://github.com/lategoodbye/libmbus/commit/e33808ac8fe616625d17b603d9c09c91a52f5e4a
https://github.com/lategoodbye/libmbus/commit/948f384de2114c3e1c41df4a482d02cb1e94a0a1

comment fixed

Sorry for merging my pull request first.
Could you please fix that?
Btw it would be nice if you add the new product strings for the new test cases.

@lategoodbye resolved merge conflict, will add product strings in separate PR, please merge


Editor bug: Cutting screen content

Godot version:
v3.0.5.stable.official.6a88e22
OS/device including version:
Mac OS 10.13.4 (17E202)
Macbook Pro 13-inch, Mid 2012
Intel HD Graphics 4000 1536 MB
Issue description:
Screen content is being cut
Steps to reproduce:
I do not know what triggers this issue. I always have to close project and reopen to get back to normal, but from time to time the problem comes back.
Minimal reproduction project:
Any project

I've experienced this as well, but haven't been able to reproduce it again

Many of the bottom panels cause this (on every OS), I have thought this was solved on the first 3.0 releases.

I discover how to quick fix on MacOs: Double click the titlebar to "shrink", and double click again the titlebar to expand.

This also happends on my Windows laptop. Not on my desktop though. It often happends after debugging for a while without clicking the editor.

This happens when you go to a subpoint in the inspector like AnimatedSprite -> New SpriteFrames -> Click on generated sources -> The editor jumps to the resources and shows it in the inspector <- Bug happened.
For me, it is reproducible this way and happens all time.

Can anyone still reproduce this on Godot 3.2 beta4?

Yes, the central panel seems to have a fixed minimum size that forces the right panels to be cut when the window is smaller than certain size.


apps.c: check the return of EVP_MD_CTX_new

apps.c: check the return of EVP_MD_CTX_new in time to avoid unnecessary call and other further validations.

Thank you for your comments! I just noticed the line 2266 uses the same pattern, so I attempted to create this PR.
This actually not influences the original functionality, but indeed avoid one unnecessary call and one addtional validation.


I have python install from website but when i run there says errror

please help i have it install from website not from store but it still says error i checked in cmd and it says it there the python path

Can you share a screenshot of the output of the command where python && python --version

Can you share a screenshot of the output of the command where python && python --version
Sure just wait a sec

Can you share a screenshot of the output of the command where python && python --version
Mb fucking bad i am so stupid sorry i figured it out i had to many python version installed sorry sorry


Remove built-in pre/post processors

Hello everyone!
I have an issue with the built-in pre/post processors that are now intercepting exceptions. I would like to intercept those myself with an IPipelineBehavior such as the following, in order to return specific responses:
    public virtual async Task<TResponse> Handle(TCommand request, CancellationToken cancellationToken, RequestHandlerDelegate<TResponse> next)
    {
        try
        {
            return await next();
        }
        catch (DomainArgumentException ex)
        {
            TResponse response = (TResponse)Activator.CreateInstance(typeof(TResponse), new object[] { ResponseCode.Invalid, new Error[] { new Error(ex.ArgumentName, ex.Message) } });
            return response;
        }
        catch (DomainException ex)
        {
            TResponse response = (TResponse)Activator.CreateInstance(typeof(TResponse), new object[] { ResponseCode.Invalid, new Error[] { new Error(string.Empty, ex.Message) } });
            return response;
        }
        catch (Exception ex)
        {
            this.Logger.LogError($"An exception occured while handling a command of type '{request.GetType().Name}':{Environment.NewLine}{ex.ToString()}");
            TResponse response = (TResponse)Activator.CreateInstance(typeof(TResponse), new object[] { ResponseCode.InternalError });
            return response;
        }
    }

That behavior is being skipped and the built-in RequestExceptionProcessorBehavior is being called as soon as an exception is being thrown.
How can I achieve this in the current version?
Thanks in advance!

I think you'll need to implement an IRequestExceptionHandler, not a pipeline behavior to achieve this.

@lilasquared Yes, thank you! I was not aware of those new services!


Android focus on sap.m.TextArea

https://openui5.hana.ondemand.com/docs/guide/relnotes/ReleaseNotes-1.24.html#Version1.24.0August2014
Under the Mobile section, I believe in release 1.24.0 there was a fix to sap.m.Input for an issue where when focused on it used to be covered by the android keyboard and not in sight for the user.
However, the same should be done for sap.m.TextArea as this too gets covered when focused on.
Please correct me if I have misinterpreted what the fix was trying to say, for example it might have meant that the focused state (blue border) of the input was not visible for some reason.

@TobiasOetzel @aborjinik  is there news on this one?

Hi i am really sorry this one got lost.
It has been fixed with the following commit:
05f2c34cf276d0bb258bcdc157f321f232d1f9e2
It is fixed in version 1.28.x
There are downports to versions 1.26 and 1.24 but i am sorry i cannot really find out the minor patch any more.
Sorry and best regards,
Tobias


Start cockroach db with higher sql max read buffer size

Overwrite default to 32 MiB, see: #84

Closing in favor of https://github.com/threefoldtech/tfchain_graphql/issues/84


Multilingual improvements

Automatically disable kinds for missing content
When enabling additional languages in the config, but without any content for those languages, it is still creating the default outputs for those languages.

Note: This can be solved by setting disableKinds manually in those language-specific configs

Having something like causes errors without disabling the kinds of missing language-specific content:
{{if .Description -}}
<meta name="description" content="{{.Description}}" />
{{else -}}
{{	erroridf "description" "Missing .Description" -}}
{{end -}}

Order .Translations by defaultContentLanguage
The only weight I care about for translations is the default content language. .AllTranslations seems to take defaultContentLanguage into account but .Translations does not unless I specify a weight.
Consider defaulting lang.Merge to first match
I haven't fully thought out how this would work, but essentially it would let you get the first match if one exists and a variable for the language code of the match.
{{with .Description | lang.Merge -}}
<meta {{with .LangMerged}}lang="{{.}}"{{end}} name="description" content="{{.}}" />
{{else -}}
{{	erroridf "description" "Missing .Description" -}}
{{end -}}

Automatically disable kinds for missing content

Having something like causes errors without disabling the kinds of missing language-specific content

Code defensively by testing for content:
{{ if .File}}
  {{ if .Description }}
    <meta name="description" content="{{ .Description }}">
  {{else -}}
    {{erroridf "description" "Missing .Description" }}
  {{ end }}
{{ end }}

Order .Translations by defaultContentLanguage

.AllTranslations seems to take defaultContentLanguage into account but .Translations does not unless I specify a weight.

.AllTranslations and .Translations are sorted by weight. In the absence of weight, they are sorted alphabetically. The defaultContentLanguage does not affect the sort order of either .AllTranslations or .Translations.
If you don't want them sorted alphabetically, add weights.
Consider defaulting lang.Merge to first match
The lang.Merge function fills in page gaps, not front matter gaps. Use a partial template to get the current language's front matter value, and fallback to another language's front matter value based on language weight (or alphabetically if weight is not set). For example:

layouts/_default/baseof.html
{{ with partial "get-page-param.html" (dict "page" . "param" "description") }}
  <meta lang="{{ .lang }}"name="description" content="{{ .value }}">
{{ end }}

layouts/partials/get-page-param.html
{{ $value := "" }}
{{ $lang := ""}}
{{ with index $.page.Params $.param }}
  {{ $value = . }}
  {{ $lang = $.page.Language.Lang }}
{{ else }}
  {{ range $p := $.page.Translations }}
    {{ with index .Params $.param }}
      {{ $value = . }}
      {{ $lang = $p.Language.Lang }}
      {{ break }}
    {{ end }}
  {{ end }}
{{ end }}
{{ return (dict "value" $value "lang" $lang) }}


Publish on Accrescent store

Would you consider publishing it on Accrescent; an alternative android app store?
See their guide: https://accrescent.app/docs/guide/getting-started/

I have recently published the app on F-Droid and I feel like that should be enough. Do you have any arguments for Accrescent specifically?

Not really, I'm a happy user of F-Droid :)
It's just another FOSS app store, which is in beta stage so maybe not worth for your effort.

Ok, thanks for the suggestion though.


Fix deprecated std::iterator usage (STL4015).

See #60.

Tested locally. Works fine.
Thanks for the contribution.


How to use multiple GPUs in training?

I want to use multiple GPUs to accelerate the training, and I run the training code with extra parameters '--device='0,1,2,3' '. But it seems just using one GPU for training. So how can I use more than one GPU to accelerate training? Thanks!

@kujason Any update on this issue? Thanks a lot!

Please refer to the tensorflow docs for Using multiple GPUs

@jackroos I am now working on the codes and I think currently it can not be trained on multiple GPUs unless you modify it to process batch number > 1. This work is actually a huge one, just look at original object detection api. So you know the answer.

@jackroos  Do you have the solution now?


10/29/2018 21:49 : Create Pull Request for branch master -> prTesting1_2018102921

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details
Dependent Files

split/updateTestRef1.md
:white_check_mark:Succeeded

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


Make issue on Debian Stretch

Hello,
I can't execute Make -j2 successfully.
I can reliably reproduce the issue?
What version of HTMLCOIN are you using?
List the version number --> HTMLCOIN 2.0 downloaded today
Thx for your help.
Machine specs:

OS: Debian Stretch
CPU: Core i5
RAM: 8Go
Disk size: 240 Go SSD

Making all in src
make[1]: Entering directory '/home/myhome/Documents/HTMLCOIN/src'
make[2]: Entering directory '/home/myhome/Documents/HTMLCOIN/src'
CXX      libbitcoinconsensus_la-arith_uint256.lo
CXX      libbitcoinconsensus_la-hash.lo
CXX      libbitcoinconsensus_la-pubkey.lo
CXX      libbitcoinconsensus_la-uint256.lo
CXX      libbitcoinconsensus_la-utilstrencodings.lo
make[3]: Entering directory '/home/myhome/Documents/HTMLCOIN/src/secp256k1'
gcc -I. -g -O2 -Wall -Wextra -Wno-unused-function -c src/gen_context.c -o gen_context.o
gcc gen_context.o -o gen_context
CC       src/java/libsecp256k1_jni_la-org_bitcoin_NativeSecp256k1.lo
CC       src/java/libsecp256k1_jni_la-org_bitcoin_Secp256k1Context.lo
./gen_context
CCLD     libsecp256k1_jni.la
/usr/bin/ar: u' modifier ignored since D' is the default (see U')   CC       src/libsecp256k1_la-secp256k1.lo   CXX      htmlcoind-bitcoind.o   CCLD     libsecp256k1.la /usr/bin/ar: u' modifier ignored since D' is the default (see U')
make[3]: Leaving directory '/home/myhome/Documents/HTMLCOIN/src/secp256k1'
CXX      libbitcoin_server_a-addrman.o
CXX      libbitcoin_server_a-addrdb.o
CXX      libbitcoin_server_a-alert.o
CXX      libbitcoin_server_a-bloom.o
CXX      libbitcoin_server_a-blockencodings.o
CXX      libbitcoin_server_a-chain.o
CXX      libbitcoin_server_a-checkpoints.o
In file included from ./qtum/qtumstate.h:9:0,
from validation.h:37,
from blockencodings.cpp:13:
./qtum/qtumtransaction.h: In static member function ‘static VersionVM VersionVM::fromRaw(uint32_t)’:
./qtum/qtumtransaction.h:24:37: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
VersionVM x = (VersionVM)&val;
^~~
./qtum/qtumtransaction.h:24:37: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
In file included from ./qtum/qtumstate.h:9:0,
from validation.h:37,
from checkpoints.cpp:9:
./qtum/qtumtransaction.h: In static member function ‘static VersionVM VersionVM::fromRaw(uint32_t)’:
./qtum/qtumtransaction.h:24:37: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
VersionVM x = (VersionVM)&val;
^~~
./qtum/qtumtransaction.h:24:37: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
CXX      libbitcoin_server_a-checkpointsync.o
CXX      libbitcoin_server_a-httprpc.o
In file included from ./qtum/qtumstate.h:9:0,
from ./validation.h:37,
from txdb.h:20,
from checkpointsync.cpp:60:
./qtum/qtumtransaction.h: In static member function ‘static VersionVM VersionVM::fromRaw(uint32_t)’:
./qtum/qtumtransaction.h:24:37: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
VersionVM x = (VersionVM)&val;
^~~
./qtum/qtumtransaction.h:24:37: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
checkpointsync.cpp: In member function ‘bool CSyncCheckpoint::ProcessSyncCheckpoint(CNode*)’:
checkpointsync.cpp:342:5: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
if (!ValidateSyncCheckpoint(hashCheckpoint))
^~
checkpointsync.cpp:345:2: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the ‘if’
CBlockIndex* pindexCheckpoint = mapBlockIndex[hashCheckpoint];
^~~~~~~~~~~
checkpointsync.cpp:345:15: warning: unused variable ‘pindexCheckpoint’ [-Wunused-variable]
CBlockIndex* pindexCheckpoint = mapBlockIndex[hashCheckpoint];
^~~~~~~~~~~~~~~~
CXX      libbitcoin_server_a-httpserver.o
CXX      libbitcoin_server_a-init.o
In file included from ./qtum/qtumstate.h:9:0,
from validation.h:37,
from init.cpp:23:
./qtum/qtumtransaction.h: In static member function ‘static VersionVM VersionVM::fromRaw(uint32_t)’:
./qtum/qtumtransaction.h:24:37: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
VersionVM x = (VersionVM)&val;
^~~
./qtum/qtumtransaction.h:24:37: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
CXX      libbitcoin_server_a-dbwrapper.o
CXX      libbitcoin_server_a-merkleblock.o
CXX      libbitcoin_server_a-miner.o
In file included from ./qtum/qtumstate.h:9:0,
from ./validation.h:37,
from miner.h:17,
from miner.cpp:6:
./qtum/qtumtransaction.h: In static member function ‘static VersionVM VersionVM::fromRaw(uint32_t)’:
./qtum/qtumtransaction.h:24:37: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
VersionVM x = (VersionVM)&val;
^~~
./qtum/qtumtransaction.h:24:37: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
CXX      libbitcoin_server_a-net.o
CXX      libbitcoin_server_a-net_processing.o
In file included from ./qtum/qtumstate.h:9:0,
from validation.h:37,
from net_processing.cpp:17:
./qtum/qtumtransaction.h: In static member function ‘static VersionVM VersionVM::fromRaw(uint32_t)’:
./qtum/qtumtransaction.h:24:37: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
VersionVM x = (VersionVM)&val;
^~~
./qtum/qtumtransaction.h:24:37: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
CXX      libbitcoin_server_a-noui.o
CXX      libbitcoin_server_a-pow.o
CXX      libbitcoin_server_a-pos.o
In file included from ./qtum/qtumstate.h:9:0,
from ./validation.h:37,
from txdb.h:20,
from pos.h:10,
from pos.cpp:8:
./qtum/qtumtransaction.h: In static member function ‘static VersionVM VersionVM::fromRaw(uint32_t)’:
./qtum/qtumtransaction.h:24:37: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
VersionVM x = (VersionVM)&val;
^~~
./qtum/qtumtransaction.h:24:37: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
CXX      libbitcoin_server_a-rest.o
In file included from ./qtum/qtumstate.h:9:0,
from validation.h:37,
from rest.cpp:10:
./qtum/qtumtransaction.h: In static member function ‘static VersionVM VersionVM::fromRaw(uint32_t)’:
./qtum/qtumtransaction.h:24:37: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
VersionVM x = (VersionVM)&val;
^~~
./qtum/qtumtransaction.h:24:37: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
CXX      script/libbitcoin_server_a-sigcache.o
CXX      script/libbitcoin_server_a-ismine.o
CXX      libbitcoin_server_a-timedata.o
CXX      libbitcoin_server_a-torcontrol.o
CXX      libbitcoin_server_a-txdb.o
In file included from ./qtum/qtumstate.h:9:0,
from ./validation.h:37,
from txdb.h:20,
from txdb.cpp:6:
./qtum/qtumtransaction.h: In static member function ‘static VersionVM VersionVM::fromRaw(uint32_t)’:
./qtum/qtumtransaction.h:24:37: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
VersionVM x = (VersionVM)&val;
^~~
./qtum/qtumtransaction.h:24:37: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
CXX      libbitcoin_server_a-txmempool.o
CXX      libbitcoin_server_a-ui_interface.o
In file included from ./qtum/qtumstate.h:9:0,
from validation.h:37,
from txmempool.cpp:11:
./qtum/qtumtransaction.h: In static member function ‘static VersionVM VersionVM::fromRaw(uint32_t)’:
./qtum/qtumtransaction.h:24:37: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
VersionVM x = (VersionVM)&val;
^~~
./qtum/qtumtransaction.h:24:37: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
CXX      libbitcoin_server_a-validation.o
In file included from ./qtum/qtumstate.h:9:0,
from validation.h:37,
from validation.cpp:6:
./qtum/qtumtransaction.h: In static member function ‘static VersionVM VersionVM::fromRaw(uint32_t)’:
./qtum/qtumtransaction.h:24:37: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
VersionVM x = (VersionVM)&val;
^~~
./qtum/qtumtransaction.h:24:37: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
validation.cpp: In function ‘bool ContextualCheckBlockHeader(const CBlockHeader&, CValidationState&, const Consensus::Params&, const CBlockIndex*, int64_t)’:
validation.cpp:4124:15: warning: unused variable ‘nHeight’ [-Wunused-variable]
const int nHeight = pindexPrev == NULL ? 0 : pindexPrev->nHeight + 1;
^~~~~~~
CXX      libbitcoin_server_a-validationinterface.o
CXX      libbitcoin_server_a-versionbits.o
CXX      consensus/libbitcoin_server_a-consensus.o
CXX      qtum/libbitcoin_server_a-storageresults.o
CXX      libbitcoin_common_a-amount.o
CXX      libbitcoin_common_a-base58.o
CXX      libbitcoin_common_a-chainparams.o
CXX      libbitcoin_common_a-coins.o
CXX      libbitcoin_common_a-compressor.o
CXX      libbitcoin_common_a-core_read.o
CXX      libbitcoin_common_a-core_write.o
CXX      libbitcoin_common_a-key.o
key.cpp: In function ‘bool EnsureLowS(std::vector&)’:
key.cpp:149:19: error: invalid use of incomplete type ‘ECDSA_SIG {aka struct ECDSA_SIG_st}’
if (BN_cmp(sig->s, halforder) > 0) {
^~
In file included from /usr/include/openssl/ecdsa.h:10:0,
from key.cpp:17:
/usr/include/openssl/ec.h:1039:16: note: forward declaration of ‘ECDSA_SIG {aka struct ECDSA_SIG_st}’
typedef struct ECDSA_SIG_st ECDSA_SIG;
^~~~~~~~~~~~
key.cpp:151:19: error: invalid use of incomplete type ‘ECDSA_SIG {aka struct ECDSA_SIG_st}’
BN_sub(sig->s, order, sig->s);
^~
In file included from /usr/include/openssl/ecdsa.h:10:0,
from key.cpp:17:
/usr/include/openssl/ec.h:1039:16: note: forward declaration of ‘ECDSA_SIG {aka struct ECDSA_SIG_st}’
typedef struct ECDSA_SIG_st ECDSA_SIG;
^~~~~~~~~~~~
key.cpp:151:34: error: invalid use of incomplete type ‘ECDSA_SIG {aka struct ECDSA_SIG_st}’
BN_sub(sig->s, order, sig->s);
^~
In file included from /usr/include/openssl/ecdsa.h:10:0,
from key.cpp:17:
/usr/include/openssl/ec.h:1039:16: note: forward declaration of ‘ECDSA_SIG {aka struct ECDSA_SIG_st}’
typedef struct ECDSA_SIG_st ECDSA_SIG;
^~~~~~~~~~~~
Makefile:7642: recipe for target 'libbitcoin_common_a-key.o' failed
make[2]: *** [libbitcoin_common_a-key.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory '/home/myhome/Documents/HTMLCOIN/src'
Makefile:13710: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/home/myhome/Documents/HTMLCOIN/src'
Makefile:693: recipe for target 'all-recursive' failed
make: *** [all-recursive] Error 1

Do not build with system libs, use the depends folder, presuming 64-bit Linux.
git clean -fdx
cd depends
make HOST=x86_64-pc-linux-gnu
cd ..
rm -Rf src/cpp-ethereum/
git submodule update --init --recursive
./autogen.sh
./configure --prefix=`pwd`/depends/x86_64-pc-linux-gnu --disable-tests --disable-bench --enable-static --disable-shared
make

Long time compilation, many many warnig, but htmlcoind seems working..
Thx a lot.


HETATM and Organic sticks

Hi!
I am trying to show 1EMA model with PV. Using pymol organic sticks can easily be shown (also it can be seen in JSmol), but in PV I cant see it.
In 1r6a model I can see it, but in 1ema cant. Why? Is there some setting in
var ligands = structure.select({ rnames : ['SAH', 'RVP'] });
viewer.ballsAndSticks('ligands', ligands);

Thanks

Hi there!
I encountered the same issue of HETATM not being displayed. I'm not the package author so I can't say why it's setup like this but here is how I did it:
var atoms = structure.atomSelect(function(atom) {return atom.isHetatm() && !atom.residue().isWater();});
viewer.ballsAndSticks('hetatoms', atoms);

Hope that helps!


winget upgrade --all  > install MS C++ > fail

Brief description of your issue
run winget upgrade --all
MS c++  is installed
again
run winget upgrade --all
MS c++  is installed again
MS c++ is not being installed properly
Steps to reproduce
run winget upgrade --all
MS c++  is installed
again
run winget upgrade --all
MS c++  is installed again
MS c++ is not being installed properly
Expected behavior
install once
Actual behavior
update not happening

Environment
C:\Users\denni>winget --info
Windows Package Manager v1.3.2091
Copyright (c) Microsoft Corporation. All rights reserved.

Windows: Windows.Desktop v10.0.19045.2846
System Architecture: X64
Package: Microsoft.DesktopAppInstaller v1.18.2091.0

Logs: %LOCALAPPDATA%\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\DiagOutputDir

Links
---------------------------------------------------------------------------
Privacy Statement   https://aka.ms/winget-privacy
License Agreement   https://aka.ms/winget-license
Third Party Notices https://aka.ms/winget-3rdPartyNotice
Homepage            https://aka.ms/winget
Windows Store Terms https://www.microsoft.com/en-us/storedocs/terms-of-sale

Duplicate of #2995


Library Updates

This commit updates our libraries like this:
$ bundle update
$ yarn upgrade --latest

It was automatically run with this script:
$ ./bin/update

Note I opted to lock faraday based on some chatter here: https://github.com/codegram/hyperclient/issues/161


Add pre commit hooks

Why add the hooks?
These steps will take quite a while and will block a commit from being submitted. This feels like it would be a bad developer experience.

You don't have to install / use them if you think they're detrimental. The fmt is also fairly quick in my experience, and that's the only one running on commit. The other two are running on push only, and, for me at least, I'd rather they fail locally before I push rather than pushing, and then receiving a notification that something went wrong that I may or may not see for a while (while reviewers get notified and review code that may or may not be entirely functional).

Why add the hooks?
These steps will take quite a while and will block a commit from being submitted. This feels like it would be a bad developer experience.

You don't have to install / use them if you think they're detrimental. The fmt is also fairly quick in my experience, and that's the only one running on commit. The other two are running on push only, and, for me at least, I'd rather they fail locally before I push rather than pushing, and then receiving a notification that something went wrong that I may or may not see for a while (while reviewers get notified and review code that may or may not be entirely functional).

As long as the checks are optional I think this looks great! one last request though, could you provide docs in the README.md about these check and how to enable/disable them for those who are interested in using them?


Definition of fix lacks sharing

See https://github.com/purescript/purescript-lists/issues/140#issuecomment-355837879
The recursion with fix f prevents sharing. It should be defined as:
fix f = go where go = defer \_ -> f go

Resolved in 0.12 branch


Editor first commit

Added the editor component
Writing functionality
v-model through contenteditable paragraph
New paragraph on enter key event
Delete paragraph on delete event when string is empty
Sources components and folder structure

Everything is changed and updated with the latest commit to this pr.


[tibs] Allow tibs workspace to preserve tmpDir on deinit

Useful if you want to test closing and reopening the same DB.

@swift-ci please test


Attempt to improve liskov substitution principle error

Background

Subclasses of CBORSerializable tend to override primitive related methods with tighter and specific parameter and return value types.
Mypy raises the same error for most of the CBORSerializable subclasses and network.py module is the smallest module demonstrating the problem.
According to Liskov Principle, subclasses should have looser type requirements rather than having tighter type requirements:

https://mypy.readthedocs.io/en/stable/common_issues.html#incompatible-overrides
https://stackoverflow.com/questions/56860/what-is-an-example-of-the-liskov-substitution-principle

Goal

Start a discussion in an attempt to improve PyCardano code quality
I would love to hear your opinion on this, @cffls.

$ make qa
poetry run flake8 pycardano
poetry run mypy --install-types --non-interactive pycardano
pycardano/network.py:21: error: Return type "int" of "to_primitive" incompatible with return type "Primitive" in supertype "CBORSerializable"
pycardano/network.py:25: error: Argument 1 of "from_primitive" is incompatible with supertype "CBORSerializable"; supertype defines the argument type as "Primitive"
pycardano/network.py:25: note: This violates the Liskov substitution principle
pycardano/network.py:25: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#incompatible-overrides
Found 2 errors in 1 file (checked 10 source files)
make: *** [Makefile:65: qa] Error 1

Thanks @daehan-koreapool  for initiating this convo! Not sure why it is complaining line 21. The return type (int) is more restrictive than the super class (Primitive), even the example in the guide demonstrated that more restrictive return type is allowed.
Regarding line 25, it makes sense to change the type of value to Primitive, and add a check at line 26 to make sure the value is an integer, otherwise raise an exception. This will fail early when the wrong input is passed in, and prevent obscure bugs.

I tried making bunch of changes on serialization.Primitive type since this is where most of the type warnings starts from, and made few observations.
Returning TypeVar without any method parameters raises an error
pycardano/serialization.py:175: error: A function returning TypeVar should receive at least one argument containing the same Typevar
pycardano/serialization.py:175: note: Consider using the upper bound "Union[bytes, bytearray, str, int, float, Decimal, bool, None, Tuple[Any, ...], List[Any], IndefiniteList, Dict[Any, Any], defaultdict[Any, Any], OrderedDict[Any, Any], datetime, Pattern[Any], Any, Any, Set[Any], FrozenSet[Any]]" instead

For a simple method which only returns a generic Primitive type without taking any parameters, mypy cannot infer what value to return.
I also tried defining a generic type with a looser upper bound, but this raises the above error message once agin since we are still using a TypeVar.
Primitive = TypeVar(
    "Primitive",
    bound=Union[
        bytes,
        bytearray,
        str,
        int,
        float,
        Decimal,
        bool,
        None,
        tuple,
        list,
        IndefiniteList,
        dict,
        defaultdict,
        OrderedDict,
        # type(undefined),
        datetime,
        re.Pattern,
        CBORSimpleValue,
        CBORTag,
        set,
        frozenset,
    ],
)

Primitive TypeVar generic type could be a Union type.
With a TypeVar generic type, only a single primitive type can exist in a function scope because how TypeVar works in Python.
Realistically, we should allow multiple CBOR primitive types to exist within a function scope and a Union type represents this better than more strict TypeVar generic type.
Also, when we define more simple Primitive = Union[...], mypy now understands a method can return either of the primitive types.
So, the following error message is satisfied if we use an Union type:
pycardano/network.py:21: error: Return type "int" of "to_primitive" incompatible with return type "Primitive" in supertype "CBORSerializable"

Regarding line 25, it makes sense to change the type of value to Primitive, and add a check at line 26 to make sure the value is an integer, otherwise raise an exception. This will fail early when the wrong input is passed in, and prevent obscure bugs.

Lastly, I do agree and mypy seems to be happy with this approach.
I'll try making few changes and push code changes for you to review through @cffls

Thanks @daehan-koreapool , changing Primitive to a union type makes sense to me.

Codecov Report

Merging #128 (9dcdf18) into main (7787695) will decrease coverage by 0.12%.
The diff coverage is 76.47%.

@@            Coverage Diff             @@
##             main     #128      +/-   ##
==========================================
- Coverage   85.92%   85.80%   -0.13%
==========================================
  Files          25       25
  Lines        2693     2698       +5
  Branches      518      519       +1
==========================================
+ Hits         2314     2315       +1
- Misses        286      289       +3
- Partials       93       94       +1

Impacted Files
Coverage Δ

pycardano/backend/blockfrost.py
33.61% <ø> (ø)

pycardano/network.py
75.00% <60.00%> (-9.62%)
:arrow_down:

pycardano/serialization.py
86.89% <83.33%> (-0.77%)
:arrow_down:

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.


exclude any glibc library; new libGL.so.1 description; redundant entries removed

Thi @darealshinji thanks for your PR which I am sure you put a lot of thinking into. Looking at https://github.com/probonopd/AppImages/pull/223/files alone it is a bit hard to figure out what you changed and why, hence I would appreciate if you could break this down to several smaller PRs which a clear justification in the commit message each. (With this file I am especially hesitant to do changes since they have potential to screw things up badly.)

Here's a new PR with individual commits that should make it more clear what I did and why: https://github.com/probonopd/AppImages/pull/225


LSP and code navigation is very slow when working with C source codes with many lines

When I try to edit a C source file, if it is made of thousands of lines, then code navigation and LSP autocomplete is extremely slow.
What I noticed is that, if I do this to the buffer:
:set filetype=txt
:set syntax=c

then the LSP remains active with autocomplete, diagnostics etc. plus basic syntax highlight, but everything is much faster.
Probably this is due to some plugin or autocommand which supposedly get activated when I open a C file, with subsequent clangd LSP server launch.
Question is, how could I exactly identify the components slowing down everything, eventually disabling them, without having every time to repeat the two commands described above?
Some notes:

Disabling the LSP clangd, still leads to code editing slowness.
TSBufDisable highlight & indent seems to improve speed.
IndentBlanklineDisable also improve speed.

It might come from this plugin -> https://github.com/abzcoding/lvim/blob/ce0e9b37e25b8f3fd61bac9135a3ff4da26bc4ca/lua/user/plugins.lua#L546-L550
please disable that and also remove clangd from this part https://github.com/abzcoding/lvim/blob/ce0e9b37e25b8f3fd61bac9135a3ff4da26bc4ca/config.lua#L94-L99
and check if that helps speed things up,
otherwise, i'm not sure why would indentblankline or highlight and indent slow you down
but you can do these ( inside lua/user/builtin.lua )
lvim.builtin.treesitter.indent = { enable = true, disable = { "yaml", "python", "c" } }
lvim.builtin.treesitter.highlight.disable = { "org", "c" }

make sure to run a :LvimCacheReset after doing those changes

Ok, will try that.
In the meanwhile, even if clangd is now disabled, the slowness still persists, unless I execute the two set commands above.
Probably the cause is something else.
The one to be extremely slow, is insert mode.
Also I tried this:
TSBufDisable highlight
TSBufDisable indent

but it didn't improve things, just a bit in visual mode line/words navigation.
I think it would be the same of your suggestion:
lvim.builtin.treesitter.indent = { enable = true, disable = { "yaml", "python", "c" } }
lvim.builtin.treesitter.highlight.disable = { "org", "c" }

well i'm not sure what else to say, i can't reproduce this on my system, this is my neovim version

what happens when you run :LspInstallInfo ? does it show clangd as installed?

Output of LspInstallInfo:

I tried to do something simpler. I did all of the new tests with LSP disabled.
The fact is that the issue still occurs. Extremely slow in insert mode when opening large files (tested only with C sources).
I did this, all with no LSP:

Open large C file.
Do some quick random edits in insert mode -> extremely laggy.
Disable all of the TreeSitter features for that buffer -> light improvement, still laggy.
:IndentBlanklineDisable -> light improvement, still laggy.
:Gitsigns detach_all -> no noticeable improvements.
:set filetype=txt
:set syntax=c
Did some random quick edits, and it was way faster.

So, LSP is definitely not the cause.
My OS is Windows 10 Pro.

sadly i only have mac and linux environments, but i'm note sure what is causing your config to be this slow
i would suggest trying https://github.com/LunarVim/LunarVim/pull/2330
and also using a simpler lunarvim config and just pick and choose what you like from my config,
since i've not tested my config on windows, i'm not sure what else to add, hope you can find a proper solution to this
i'm closing this issue, since i'm not gonna work on it

I will be happy to investigate my issue, could you please provide me any hint?

I will be happy to investigate my issue, could you please provide me any hint?

couple of notes:

check if changing your terminal/ environment changes anything
check :autocmd to see which autocommands has run, and see if disabling them would help with anything
disable treesitter indent and hightlight

lvim.builtin.treesitter.indent.enable = false
lvim.builtin.treesitter.highlight.enable = false

try disabling tabnine, copilot and lsp_signature

lvim.builtin.sell_your_soul_to_devil = false
lvim.builtin.tabnine = { active = false }
-- comment this part in `lua/user/plugins.lua`
--    {
--      "ray-x/lsp_signature.nvim",
--      config = function()
--        require("user/lsp_signature").config()
--      end,
--      event = { "BufRead", "BufNew" },
--    },

if nothing else worked, look into this
https://github.com/abzcoding/lvim/blob/45698c70b5e9de01308a754ff8ec853b614460ab/lua/user/autocommands.lua#L16-L30
and maybe using

augroup ShowLineNumberForLongFiles
  autocmd!
  autocmd BufEnter * if line('$') > 1024 | set filetype=txt | endif
augroup END

tbh, i'm not sure 🤷


[Feature] Rename all references to white_list or whitelist to allow_list or other suitable alternatives

Describe the solution you'd like
Find and rename all references to whitelist or white_list in the code base to be allowlist or allow_list; or other suitable alternatives.
Describe alternatives you've considered
N/A
Additional context
Related Issue #: https://github.com/cncf/cnf-conformance/issues/631
See also: https://inclusivenaming.org/language/word-list/

Focus on documentation first then code

good first issue

update code, replacing whitelist
https://github.com/search?q=repo%3Acnti-testcatalog%2Ftestsuite+whitelist&type=code
update code, replacing white_list  https://github.com/search?q=repo%3Acnti-testcatalog%2Ftestsuite+white_list&type=code


Allow empty bindings in override bindings

This allows override bindings to not declare a bindings array. This can be useful if the bindings menu will be populated with other overrides. For instance, the sample config will now work:
{
  "whichkey.bindingOverrides": [
    {
      "keys": "g.H",
      "name": "Hunks",
      "type": "bindings"
    },
    {
      "keys": "g.H.s",
      "name": "Stage hunk",
      "type": "command",
      "command": "git.stageSelectedRanges"
    }
  ]
}

Previously, the former config would fail to populate the "Hunks" menu due to the missing bindings entry defaulting to null instead of an empty array. This would cause the overrideBindings function to behave as if the "Hunks" menu didn't exist, and fail to append the item.

Thank you for contributing. This allows multiple ways for adding bindings which might not be ideal. The design is that when you say the type is bindings, the json should contain a bindings key, and that is consistent across the normal bindings and overrides. The follow overrides json is example of how I am imagining you would do this.
{
    "whichkey.bindingOverrides": [
        {
            "keys": "g.H",
            "name": "Hunks",
            "type": "bindings",
            "bindings": [
                {
                    "key": "s",
                    "name": "Stage hunk",
                    "type": "command",
                    "command": "git.stageSelectedRanges"
                }
            ]
        }
    ]
}

Well, currently the JSON I provided will cause a generic error to be shown when attempting to access the Hunks menu: "TaskQueue: Error running task. Cannot read property 'message' of undefined.". This is mostly what I set to fix with this PR.
The way I understang the code, if bindings isn't set, this.items will never be set either. Having this.items be null will cause the action to get rejected, without any information about what went wrong, which I think causes the generic error.
Furthermore, my "way" of declaring a bindings menu and subsequently overriding it still works if we just set bindings: [], like the following json. This PR isn't so much about making this "way" of creating menus from overrides work, and more about making it harder to put the extension in an invalid state through a "broken" settings file.
{
  "whichkey.bindingOverrides": [
    {
      "keys": "g.H",
      "name": "Hunks",
      "type": "bindings",
      "bindings": []
    },
    {
      "keys": "g.H.s",
      "name": "Stage hunk",
      "type": "command",
      "command": "git.stageSelectedRanges"
    }
  ]
}

I understand this is making it more robust when json is "incorrect". My thinking is that if users have incorrect json, they should correct it instead of us guessing what they mean. In your example json, you can interpret it as an empty binding, and can also be interpreted as the users missed the bindings.
How about a warning like notification when the user specifies something that's not correct? Instead of assuming the intent of the missing binding key. The reason I mentioned this is that, this PR doesn't solve the issue when the user didn't specify command if the type is command or any other types.

Added an error message for when executing bindings has incorrect properties in v0.6.0. Hopefully that addresses part of the issue in the PR.


consecutive calls of saver.restore(sess,path) slows down

You must complete this information or else your issue will be closed

Have I written custom code (as opposed to using a stock example script provided in TensorFlow)?: no
TensorFlow installed from (source or binary)?: binary
TensorFlow version: 0.12.1
Bazel version (if compiling from source):
CUDA/cuDNN version: cpu

Describe the problem clearly
Hi I was building and evaluating ensemble models about 45 very simple neural networks.
when evaluating, I noticed that consecutive calls to saver.restore(sess, path) slows down
at first it spent about 0.08 seconds but after 45 calls to  saver.restore(), time spent on restore increased to 0.5 seconds. It kept increasing to 1 second and beyond.
Is anyone having the same problem? In the source code, I called test_model() consecutively. Other part didn't slow down but only the part with saver.restore() did
Source Code / Logs
def test_model(model, batch_gen, batch_num, batch_size, num_class, model_id):

    saver = tf.train.Saver()
    start_time = time.time()

    print('## Testing model : {}'.format(model_id))
    with tf.Session() as sess:
        ot = time.time()
        sess.run(tf.global_variables_initializer())
        # Load latest model to evaluate
        checkpoint_dir = CHECKPOINTS_DIR+str(model_id)+'/'

        ckpt = tf.train.get_checkpoint_state(os.path.dirname(checkpoint_dir))

        if ckpt and ckpt.model_checkpoint_path:
            saver.restore(sess, ckpt.model_checkpoint_path)
        else:
            print('# No trained weight found')
            return
        nt = time.time()
        print('1 : {}'.format(nt-ot))

        vote_list = []
        for i in xrange(batch_num):
            X_batch, Y_batch = batch_gen.next()
            _, loss_batch, softmax_batch = sess.run([model.optimizer, model.loss, model.softmax], feed_dict={model.input: X_batch, model.output:Y_batch})

            vote_batch = dense_to_one_hot(np.argmax(softmax_batch,1), num_class)
            vote_list.append(vote_batch)

        total_vote_list = np.concatenate(vote_list, 0)

        print('# time elapsed :{:.1f} seconds'.format(time.time() - start_time ))
    return total_vote_list

------------------EDIT------------------
Problem was not saver.restore() but consecutive calling of
sess.run(tf.global_variables_initializer())

session is suppose to free all the memories right?
so I think there has to be no performance slow down but there is when making multiple sessions
import time
import tensorflow as tf

a = tf.Variable([1,2,3,4,5])

def test():
    for i in range(1000):
        with tf.Session() as sess:
            ot = time.time()
            sess.run(tf.global_variables_initializer())
            nt = time.time()
            print('test : {:.3f}'.format(nt-ot))

running time of tf.global_varaiables_initializer() op slowly increases

Thanks for reducing the problem to a small reproducible code snippet in your edit, that helps a lot.
This is probably not documented as clearly as it should, but tf.global_variables_initializer() adds an operation to the graph (with control dependencies), so as time goes by you see the graph getting larger and larger. Instead, you should call out tf.global_variables_initializer() once, using something like this:
import time
import tensorflow as tf

a = tf.Variable([1,2,3,4,5])
init_op = tf.global_variables_initializer()

def test():
    for i in range(1000):
        with tf.Session() as sess:
            ot = time.time()
            sess.run(init_op)
            nt = time.time()
            print('test : {:.3f}'.format(nt-ot))

Hope that helps.
Closing this out since it doesn't appear to be a bug. I'll look into improving the documentation.


fix: use string slice for header

When I added two or more headers in dfget, it will meet error like net/http: invalid header field name "[Accept" with an unexpected "[", I find that it is because of viper.
We can notice that the type StringArray is treat as String(default) in the following codes in viper, and the ValueString method of StringArray will add the "[" and "]".

So I suppose that we should use StringSlice instead of StringArray.

Maybe we need more e2e cases to cover these scenarios.


[fix] Extended the Application Period for GSSoC Program to 25/10.

Problem / Issue No.
This PR addresses issue #352.
Describe Problem / Root Cause
As mentioned in the issue, this PR is regarding updating the Application Period for the GSSoC (GirlScript Summer of Code) program to the date 25th of October as per their announcements.
Solution proposed
Changed the duration in text and endDate for the Application Period Block.
Screenshots

Original Screenshot (Problem/Issue)

Updated Screenshot (Fixes/Solution)

Please assign me and add the corresponding hacktoberfest-accepted and gssoc-ext labels to the PR.


cube.c: Remove excess tests from presentation fences

Instead of using a bool array and both checking and writing to it every frame for no reason, just create the presentation fences with the VK_FENCE_CREATE_SIGNALED_BIT flag.

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.

Cherry picked to master


It doesn't run under Windows XP SP3

There are no .dmp files generated in the reports subdirectory of the Crashpad directory when that error message is shown.

Yes in my windows xp 32 bit does not starting too

It happens only in virtual machine or in real windows too? im using virtual machine and does not starting

I just have a VM with Windows XP SP3. Maybe someone else can let us know if it doesn't work on real hardware.

I cannot get the newest release to start (32 or 64) on XP64 on baremetal.

There are no .dmp files generated in the reports subdirectory of the Crashpad directory when that error message is shown.

This crash actually occurs before the initialization of the crash reporter/handler in Supermium, so it is being handled by Windows' exception handler (Dr Watson in this case). It should create a dump file at Documents and Settings\All Users\Application Data\Microsoft\Dr Watson\user.dmp (or wherever the "User Dump" field in drwtsn32 points to), as well as a log file in the same directory with similar information.

drwtsn32.log

That explains it. And #880, #881 and #885 as well. Now using a newer pwrp_k32 in the latest version to load DirectWrite properly without api-ms-win-core-synch-l1-2-0 available.

Now it staring in windows xp 32 bit no problem

Newest release runs straight off updating on XP64 baremetal.
Thank you devs!


Do I need to eject?

This question would be better suited for the CRA repo - but I suspect that, yes, you would need to eject.

What should I specifically ask for?


provider doesn't support nullable values

Description
I am not sure that it is a bug, as I couldn't find any community to ask it - leaving it here.
Why provider can't provide nullable values, is there any specific reason for it?
It may be useful in some cases to have this feature.
Original code:
RequestContext provide<T extends Object>(T Function() create) {
    return RequestContext._(
      request._request.change(
        context: {...request._request.context, '$T': create},
      ),
    );
  }

From this code I can say that '$T' on nullable value will also return string aka "MyType?" - so unfortunatelly I don't see any visible reason not to fix it

A use case would be if you're using context to provide a UserIdentity object which is determined from a jwt. You would likely want to provide a nullable UserIdentity to determine whether or not the request is associated with a UserIdentity.


How to Draw Background Axe

Something like this, it is posible?

Create your own Decoration implementation
Override onDrawBehindChart and draw whatever you want to be shown within it
Use decorations parameter of columnChart or lineChart to add your decoration to your chart

(see https://patrykandpatrick.com/vico/wiki/extra-elements/)

Hello! As per @af-hku’s comment, you can implement this as a Decoration. Another option is to create a custom Axis or AxisRenderer implementation. We plan on making HorizontalAxis more extensible. Thanks for your input, @af-hku!


Need enlarge the refresh all on the Top

The refresh all button on the top is too small and hard to click on the smartphone. Thanks.

Nice. Thanks.


This page is sending me round in circles. What I need is a big button that says "Press here". [WindowsServer2012R2]

[Enter feedback here]
This page is sending me round in circles.
What I need is a big button that says "Press here"
[WindowsServer2012R2]

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

ID: b77c40dd-e4d2-90f5-d70a-b0ee4b430136
Version Independent ID: f0ec110b-7938-5e22-d39e-6ded935a9ced
Content: Onboard Windows servers to the Microsoft Defender for Endpoint service
Content Source: microsoft-365/security/defender-endpoint/configure-server-endpoints.md
Service: microsoft-365-security
Sub-service: mde
GitHub Login: @mjcaparas
Microsoft Alias: macapara

@iamthefaker Thank you for your feedback. Looks like you may need technical assistance, I'd recommend you contact support via the need help section on the admin center so that our support engineer can assist you.
Hope this helps!
Thanks
Sri

@msbemba Thank you very much for the contribution and sharing this explanation. @iamthefaker Hope this comment is helpful for you. Considering the nature of the issue, as advised, please open a service ticket in your tenant and follow with them for the resolution. You can contact Microsoft support via the need help section on the admin center. We proceed to close it as here we are limited to documentation fixes and improvements only.
We will be very happy if you can share the outcome or resolution with us if you see documentation update is required. We will certainly update this documentation with that valuable information. Thanks again, for taking out some time to open the issue. Appreciate and encourage you to do the same in future also.


Connection Error SD

I'm receiving the following error when trying to connect:
Error S Promise: {"state"."Failed" "detailedSessionState":
"errorDetails":{"code":"xccsClientHttpError" "message":"Xccs: XccsError XccsClient: Response status code does not meet expectations. StatusCode: InternalServerError Expected: OK
BadRequest Unauthorized NotFound State
WaitingForServerToRegister "}}
It worked fine a few times before this. I can't find any information by searching. Thanks

I’m getting exact same issue, it’s been fine up till today.

Yep, same up until today no issues. I've tried everything I could possibly think of/find, all to no avail. Hopefully it's something that's easily fixable

I can confirm the problem.
Mac (M1) => Xbox Series X
Steam Deck => Xbox Series X
Girlfriend:
Steam Deck => Xbox Series S

https://www.xbox.com/status reports problems with remote and cloud play, so this might be related

https://www.xbox.com/status reports problems with remote and cloud play, so this might be related

Just a question, isn't supposed to use remote play the local network to stream in home? I guess that it uses MS servers to route ports and such, but why is this necessary?

Everything is working again. So this ticket could be close!
@gsabater If I would need to place a guess, I would assume it's because you could also stream over the internet

Yep, came home and all back in order again. Hurray! Must've been on MS' side. Ticket closed


Implement FoundationDB tutorial as example

https://apple.github.io/foundationdb/class-scheduling-java.html

It seems that tuple layer should be implemented first: https://github.com/bluejekyll/foundationdb-rs/issues/35

Yeah, I started working on a Tuple as part of this... I will break that out for a separate review. Are you already doing that?


Support for openmpi

Checklist

[ ] Used a personal fork of the feedstock to propose changes
[ ] Bumped the build number (if the version is unchanged)
[ ] Reset the build number to 0 (if the version changed)
[ ] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[ ] Ensured the license file is being packaged.

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.
I do have some suggestions for making it better though...
For recipe:

License is not an SPDX identifier (or a custom LicenseRef) nor an SPDX license expression.

Documentation on acceptable licenses can be found here.

@conda-forge-admin, please rerender

Successfully installed fenics-dolfin-2019.1.0
+ cd test
+ /home/conda/feedstock_root/build_artifacts/fenics-pkgs_1637334485747/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold/bin/python -c 'from dolfin import *; info(parameters["form_compiler"], True)'
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/home/conda/feedstock_root/build_artifacts/fenics-pkgs_1637334485747/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold/lib/python3.9/site-packages/dolfin/__init__.py", line 34, in <module>
    from .cpp import __version__
ImportError: /home/conda/feedstock_root/build_artifacts/fenics-pkgs_1637334485747/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold/lib/python3.9/site-packages/dolfin/cpp.cpython-39-x86_64-linux-gnu.so: undefined symbol: petsc_allreduce_ct

@conda-forge-admin, please rerender

@conda-forge-admin, please rerender


Edit Team Fix

Fixes

Fixed a bug where add team without a description will cause a bug
Fixed a bug where edit team will result in deletion of all members and tasks
Add edit team as a subcommand of edit command.

Codecov Report
Base: 43.89% // Head: 43.97% // Increases project coverage by +0.07% :tada:

Coverage data is based on head (3cb8a3c) compared to base (482d867).
Patch coverage: 0.00% of modified lines in pull request are covered.

:exclamation: Current head 3cb8a3c differs from pull request most recent head e68dba7. Consider uploading reports for the commit e68dba7 to get more accurate results

Additional details and impacted files
@@             Coverage Diff              @@
##             master     #109      +/-   ##
============================================
+ Coverage     43.89%   43.97%   +0.07%
- Complexity      427      429       +2
============================================
  Files           130      130
  Lines          2203     2206       +3
  Branches        278      278
============================================
+ Hits            967      970       +3
+ Misses         1176     1175       -1
- Partials         60       61       +1

Impacted Files
Coverage Δ

...a/seedu/address/logic/commands/AddTeamCommand.java
0.00% <ø> (ø)

...java/seedu/address/logic/commands/EditCommand.java
0.00% <ø> (ø)

.../seedu/address/logic/commands/EditTeamCommand.java
16.98% <0.00%> (+4.98%)
:arrow_up:

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


Canvas not being filled properly.

Hi, My name is Adeoluwa, and I am a huge fan of your videos, I hope you could give me a few minutes of your time. I am trying to implement a dark background canvas to cover up a video in its background, the code beneath should be able to do that with fill style and the source over, but for some reason it is not, do you have an Idea of how to solve this?
let canvas = useRef(null);
    const size = useWindowSize();
    const { currentTheme } = useGlobalStateContext()

    useEffect(() => {
        let renderingElement = canvas.current;
        let drawingElement = renderingElement.cloneNode();

        let drawingCtx = drawingElement.getContext("2d");
        let renderingCtx = drawingElement.getContext("2d");

        let lastX;
        let lastY;

        let moving = false;

        renderingCtx.globalCompositeOperation = "source-over"
        renderingCtx.fillStyle = currentTheme === "dark" ? "#000000" : "#ffffff";
        renderingCtx.fillRect(0,0, size.width, size.height)
        console.log(renderingCtx)

    }, [])

This block of code is applying a dark background to the canvas so it can cover up the furrow video behind it
but instead of covering the video up with the dark background canvas ontop of it
It does this instead, its almost like it darkens some areas and leaves the other side alone (the video also stops playing too)
This is the image of the final result

@wrongakram Help!!!

Hi Adeoluwa , I am Abhik and currently I am also facing this same issue , my canvas does not fill up initially in dark mode but fills up initially in light mode . How did you fix your problem ? kindly help me out 🤞

I made a mistake in the code.
This is the correction in the code below:
let drawingCtx = drawingElement.getContext("2d");   let renderingCtx = renderingElement.getContext("2d");


Clicking on Lists Category in Vertical Playground causes error

In the current vertical playground on develop (as well as in the hosted version here: https://utils.asun.co/scratch-blocks/tests/vertical_playground.html) as soon as the "List" category is clicked there is a console error and the app doesn't show the category correctly.

@rachel-fenichel This appears to have been caused by this clean-up of fieldnumber: https://github.com/LLK/scratch-blocks/commit/3bcea6b6feb0328c1752671ae6f0459f1a7362d6
Would you mind taking a look?


Commented the API for LineWrapOutputStream and provided tests

Description: LineWrapOutputStream was found to not utilize the final byte, ie with wrap length 20 it outputs characters only up to 17, reserving 2 for CRLF and one for?

Please don't create pull requests from your master branch. Create a feature branch and open another pull request.
A couple of points to consider:

Even though some classes have extensive JavaDoc comments, we don't do that anymore. It's fine to have a short comment saying what a class does, but not how.
I'm not sure using texts from copyrighted works for unit tests falls under fair use. So please don't use them.
We don't have tests for tests. So you should avoid any non-trivial logic in tests. Code nested 6 levels deep is definitely something we don't want in tests.
okio is great. Consider using Buffer and ByteString over ByteArrayOutputStream and manual string creation.


Respect 0.0 for start and end boundaries of scalar axis

What
The f64::is_normal method rejects 0.0 that is an acceptable boundary value for a range.
This caused issues like forcing -1 as the starting boundary when entering 0.0 for start.
This should be a fix for https://github.com/rerun-io/rerun/issues/6846.
The screenshots show that we can handle 0.0 range boundaries again.

Checklist

[x] I have read and agree to Contributor Guide and the Code of Conduct
[x] I've included a screenshot or gif (if applicable)
[ ] I have tested the web demo (if applicable):

Using examples from latest main build: rerun.io/viewer
Using full set of examples from nightly build: rerun.io/viewer

[x] The PR title and labels are set such as to maximize their usefulness for the next release's CHANGELOG
[ ] If applicable, add a new check to the release checklist!
[ ] If have noted any breaking changes to the log API in CHANGELOG.md and the migration guide

PR Build Summary
Recent benchmark results
Wasm size tracking

To run all checks from main, comment on the PR with @rerun-bot full-check.

Closed in favor of https://github.com/rerun-io/rerun/pull/6887 as I accidentally pushed from the wring branch.


Prototyping toggle button to have basic/advanced Boosted documentation

Boosted is a fork of Bootstrap so we gather all its features (components and utilities) and documentation, and then adapt it to develop our Orange Design System.
It has some drawbacks in our Boosted documentation since some elements become not compliant with our own design system:

Few components
Few variants of those components
Some examples
Some utilities in certain context

This issue proposes to prototype a toggle button in the documentation to have:

a basic documentation containing only things compliant with the design system
an advanced documentation containing all technical things present in our framework (basically the content of our current documentation)

The challenge here is to be able to remove things dynamically from the documentation by identifying in the Markdown elements that must be hidden:

Entire side menu item (page)
Entire right menu item (anchor link in a page)
Part of a section
Example(s) amongst other examples (and associated code)

Side note: how to keep the context of this mode while navigation and what do we do of links to https://boosted.orange.com/docs/5.2/components/badge/ in a paragraph if they are not available for basic usage.

Some comments based on my current investigation, felle free to have look on Hugo's documentation to confirm and/or make suggestions and join the taskforce on this huge topic. No jokes it really is a huge topic, we need people.
My first thought was to use the conditionnal logic of Hugo:
You will need to add a page parameter like:
basic: true
Then it will be possible to do something like:
{{< doc.inline >}}
{{ if .Page.Params.basic}}
// Basic documentation
{{ else }}
// Advanced documentation
{{ end }}
{{< /doc.inline >}}

The problem here is will it be possible to update dynamically a parameter by using js for instance and generate a new template file on the fly?
If yes, perfect.
If not then we need to find another solution.
Another way to achieve it will be to simply wrap all elements in a CSS class 'basic' or 'advanced' and toggle it in JS. Simpler but the high maintenance cost is a huge drawback.
Third possibilty: separate all elements in multiples templates. Once again the maintenance cost may be a problem. In the size of the bundle may also be a problem.
Last possibility for now: it seems that Hugo added render hooks in the latest versions  but we still need to figure out how it works.
*** Complementary informations ***
This topic is not just about basic/advanced documentation. We will also need it to generate a different documentation for the incoming different themes (6 themes).
And some parts of the doc can be basic for one theme but advanced for the others so we need to be able to handle endless combinations.
Please note that we also need to pay attention to accessibility and code validation. For instance, we may need to have two <h1> (one in the basic part and the second one in the advanced part) or multiple element with the same id. Duplicate content will also be a major issue.

Maybe a starting point, using Hugo and Middleman:
https://github.com/gohugoio/hugo/issues/140
https://middlemanapp.com/advanced/dynamic-pages


[WIP] Missing Map Icons

[x] Explorer's Ring

[x] Karamja Gloves

[x] Desert Amulet

[x] Morytania Legs

[x] Fremennik Boots

[x] Kandarin Headgear

[x] Wilderness Sword

[x] Western Banner

not too hip on the western banner icon


Admission thl id incrementation

Codecov Report

Merging #153 (4907ece) into main (72f55eb) will increase coverage by 0.89%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main     #153      +/-   ##
==========================================
+ Coverage   87.26%   88.15%   +0.89%
==========================================
  Files          10       11       +1
  Lines         212      228      +16
  Branches       16       19       +3
==========================================
+ Hits          185      201      +16
  Misses         25       25
  Partials        2        2

Impacted Files
Coverage Δ

backend/models/admissionForm.model.js
100.00% <ø> (ø)

backend/controllers/admissions.js
86.74% <100.00%> (+0.67%)
:arrow_up:

backend/services/idSerializer.js
100.00% <100.00%> (ø)

backend/tests/test_helper.js
100.00% <100.00%> (ø)

Continue to review full report at Codecov.

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


Object Literal destructuring assignment fails when LHS is parenthesized

The following is valid ES6[1], however the second case results in an error during compilation:
({ a } = o);
({ a }) = o; // error TS2364: Invalid left-hand side of assignment expression.

[1] Tested in Firefox Nightly

Superscript1
1

I do not think this is valid, per section 12.14.5:

In certain circumstances when processing the production AssignmentExpression : LeftHandSideExpression = AssignmentExpression the following grammar is used to refine the interpretation of LeftHandSideExpression.

Then it lists the destructuring grammar productions, but they do not include parenthesized expressions. So I think this is by design.


Add OpenStack Packages and SUSE Cloud Packages pages

SCRD-4309 Added two new pages under the Services menu: OpenStack Packages page and SUSE Cloud Packages page (for Ardana packages)
To test, you can point your shimurl in config.dev.js to Jack's machine at http://<IP_ADDRESS>:3000. I'm not sure what's the official name for Ardana is, so I'm using 'SUSE Cloud' for now. I can update if if/when we decide to use a different name.

I updated the code per Gary's suggestion. Please take a look again.