Web UI does not properly handle different screen sizes / make it responsive

Describe the bug
The sidebar appear at the top of the screen when using firefox to surf to http://localhost:8989/
Also there's no icon for car4wd profile... (small bug)
To Reproduce

Surf to http://localhost:8989/ using firefox on windows

Expected behavior
The sidebar should be at the side like in chrome
System Information
Used latest code: 1.0-pre33.4
Screenshots & Logs

FF/Ubuntu works fine (for me at least). Why is the map not visible on your screenshot?

I'm using FF on windows.
Not sure why I don't see any tiles, but switching to another source shows the map, it might be an issue but not the one reported here :-)

Ok I was asking because its a bit hard to tell from your screen shot what the problem is. You mean the side bar is on the left but does not go all the way to the bottom of the screen?

Sorry, it happens also in chrome. I saw it on the a server I have which has poor resolution when using remote desktop.
When I make the browser "zoom" in to 150% in chrome and 120% in firefox the map moves down and the sidebar stays at top:
Chrome:
This happens in https://graphhopper.com/maps as well:

Firefox:

Ah so its a zooming issue. I can reproduce this too, but if I keep zooming more the map moves to the right of the sidebar again :) Generally, the web UI does not properly deal with different screen sizes, for example I cannot use it on my phone because the sidebar is so large I cannot even see the map.

I would suggest to adopt a responsive framework from one of the following top 5:
https://www.themexpert.com/blog/top-5-responsive-css-framework
I've had the chance to work with bootstrap and it is very good, but it's a bit old in terms of web and I think less and less companies decide to work with it nowadays.
A mobile site can have the search bar at the top and the map at the bottom to facilitate for this. a responsive design is basically the definition of this issue :-).
Reading the Bulma docks seems like a lightweight css only framework which might be what you need for this. If not, you can probably take something more robust...
Ping me if you want a design review/code review or just some brainstorming... :-)

We won't fix this. Due to our effort at https://github.com/graphhopper/graphhopper-maps

Note that a possible fix was already contributed here: #2285, this was not ready to merge yet, but maybe it is close to being mergeable.

If the ui is being rewritten I wouldn't invest in fixing a bug that's open for more than a year...
I'm not using this UI often, I use it when I want to make sure GH is up and running, I personally don't need anything fancy, but I did wanted to let you know there's an issue here :-)
If you are rewiring the UI make sure you use a responsive framework and I also advise to use scss since I guess some of the elements (mainly related to D3) will require some additional work.
Good luck! :-)

If you are rewiring the UI make sure you use a responsive framework and I also advise to use scss since I guess some of the elements (mainly related to D3) will require some additional work.

The new UI is already responsive (to some extent), but we neither use a responsive framework nor scss. Feel free to try it here: http://graphhopper.com/maps2

Looks a lot better on mobile!! Nice work! :-)


3 x 3 Layout Issue

I have opened the layout file for 1920x1080 screen size and edited it with the 9 cameras. I have also tested each RSTP stream in VLC.
The issue Im having is that only 4 cameras on the 9x9 grid are showing up, namely, grid slot 2,3,4,5. The remaining blocks are empty.
I copied the code from the 9x9 layout file into the default layout file.
Is this correct and what are the best methods to follow with regards to using other layouts (i.e. 9x9 / 3x2 etc)

Please post a redacted version of your current layout file.
Andy
On Thu, Aug 20, 2020, 7:46 AM the-real-rob<EMAIL_ADDRESS>wrote:

I have opened the layout file for 1920x1080 screen size and edited it with
the 9 cameras. I have also tested each RSTP stream in VLC.
The issue Im having is that only 4 cameras on the 9x9 grid are showing up,
namely, grid slot 2,3,4,5. The remaining blocks are empty.
I copied the code from the 9x9 layout file into the default layout file.
Is this correct and what are the best methods to follow with regards to
using other layouts (i.e. 9x9 / 3x2 etc)
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/Anonymousdog/displaycameras/issues/75, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AHIYIKMNZ7J6KKA7WNESPPDSBUEJLANCNFSM4QF6VTDA
.

Here is the content from the file - appreciate your assistance! I have simply removed the rasp links, otherwise the file is the same as what I am currently using.
# This is the camera feed/windows layout configuration file for the
# displaycameras service.  It ONLY configures the layout and feeds for
# the cameras; the rest of the configuration is in displaycameras.conf.
# See the comments in that file for notes on configuring the below.

# Window names

# 3x3 640x360 on-screen
windows=(upper_left upper_middle upper_right center_left center_middle center_right lower_left lower_middle lower_right)
# Make sure to account for each window above in the list below.

# Windows positions

window_positions=(
#First Row
#upper_left
# 640x360
"0 0 639 359" \
#upper_middle
"640 0 1279 359" \
#upper_right
"1280 0 1920 359" \

#Second Row (missing all but the far right window because large_left is double size
#center_left
# 640x360
"0 360 639 719" \
#center_middle
"640 360 1279 719" \
#center_right
"1280 360 1920 719" \

#Third Row
#lower_left
# 640x360
"0<PHONE_NUMBER>" \
#lower_middle
"640 720 1279 1079" \
#lower_right
"1280 720 1919 1079" \

)

# Camera Names

camera_names=(Driveway FrontGarden1 FrontGarden2 Alleyway Fountain Pool UpPavement DownPavement DrivewayExterior)
#camera_names=(NE SE South SW West Vestibule NE2 SE2 South2 SW2 West2 Vest2)
# Make sure to account for each camera above in the list of feeds below.

# Camera Feeds

camera_feeds=( \
# Low-Res
#Driveway
"rtsp://xxxx” \
#FontGarden1
"rtsp://xxxx" \
#FrontGarden2
"rtsp://xxxx" \
#Alleyway
"rtsp://xxxx" \
#Fountain
"rtsp://xxxx" \
#Pool
"rtsp://xxxx" \
#UpPavement
"rtsp://xxxx" \
#DownPavement
"rtsp://xxxx" \
#DrivewayExterior
"rtsp://xxxx" \
)

# Are we rotating cameras through the window matrix? (default false if not set here)
rotate="false"

Are the sources higher resolution than 640 x 360? What were the results of
performing the debugging steps in the README.MD file?
Thanks
On Mon, Aug 24, 2020, 3:00 PM the-real-rob<EMAIL_ADDRESS>wrote:

Here is the content from the file - appreciate your assistance! I have
simply removed the rasp links, otherwise the file is the same as what I am
currently using.
This is the camera feed/windows layout configuration file for the
displaycameras service.  It ONLY configures the layout and feeds for
the cameras; the rest of the configuration is in displaycameras.conf.
See the comments in that file for notes on configuring the below.
Window names
3x3 640x360 on-screen
windows=(upper_left upper_middle upper_right center_left center_middle center_right lower_left lower_middle lower_right)
Make sure to account for each window above in the list below.
Windows positions
window_positions=(
#First Row
#upper_left
640x360
"0 0 639 359" \
#upper_middle
"640 0 1279 359" \
#upper_right
"1280 0 1920 359" \
#Second Row (missing all but the far right window because large_left is double size
#center_left
640x360
"0 360 639 719" \
#center_middle
"640 360 1279 719" \
#center_right
"1280 360 1920 719" \
#Third Row
#lower_left
640x360
"0<PHONE_NUMBER>" \
#lower_middle
"640 720 1279 1079" \
#lower_right
"1280 720 1919 1079" \
)
Camera Names
camera_names=(Driveway FrontGarden1 FrontGarden2 Alleyway Fountain Pool UpPavement DownPavement DrivewayExterior)
#camera_names=(NE SE South SW West Vestibule NE2 SE2 South2 SW2 West2 Vest2)
Make sure to account for each camera above in the list of feeds below.

Reply to this email directly, view it on GitHub
https://github.com/Anonymousdog/displaycameras/issues/75#issuecomment-679307096,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AHIYIKKAEBUBGVJYTVLH7VTSCK2EVANCNFSM4QF6VTDA
.

The individual cameras are full HD 1920x1080. I will dive into the readme.md file and follow the steps. Apologies for the delay in getting back to you.

You'll never squeeze 9 full HD feeds onto a single display.  They need to
be the same or smaller resolution as their display windows.
Thanks
On Wed, Aug 26, 2020, 3:20 AM the-real-rob<EMAIL_ADDRESS>wrote:

The individual cameras are full HD 1920x1080. I will dive into the
readme.md file and follow the steps. Apologies for the delay in getting
back to you.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/Anonymousdog/displaycameras/issues/75#issuecomment-680706517,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AHIYIKNL2BOHPVH7PVZAGGLSCSZUJANCNFSM4QF6VTDA
.

In my testing, I can fit at best 2x1080p streams on a 1080p monitor along with 2 low res streams (640x360).
You could maybe get 4x 1080p streams on a 4k monitor, but compressing the stream is very taxing to the GPU of the pi.

I have been successfully using the default layout which is a 2x2 layout and the cameras have been performing great, no issues at all. I have only recently tried to increase the grid to 3x3 and thats where the issue arises where only 4 out of the 9 cameras in the 3x3 grid appear. the other 5 camera grid blocks are empty.

I'm glad you're able to get so many HD videos playing. The blank videos are (from my experience) places where there was no more GPU RAM available, so they can't be displayed.
The cameras don't know the window size that was given, so won't adjust based on that. From my testing cameras will lower the quality and bitrate to respond to a limited bandwidth, but never the resolution.


Documentation updated to point to Istio v0.8 docs

Problem: The links in some of the vetter docs were pointing to docs for the
current version of Istio (v1.0) where things may have changed. Since the vetters
are currently for Istio v0.8, the links were pointing to the wrong docs.
Solution: All links pointing to Istio docs have been changed to point at the
archived 0.8 docs.

LGTM


Current version of Sentry 1.x cannot be installed on PHP 8; old versions of 1.x can however

Environment
PHP 8.x with Sentry PHP 1.x
Steps to Reproduce
Attempt to install current version of Sentry PHP 1.x on PHP 8.x, for example sentry/sentry:^1.7.0
Expected Result
The current version of Sentry 1.x can be installed.
Actual Result
sentry/sentry[1.7.0, ..., 1.11.0] require php ^5.3|^7.0 -> your php version (8.0.3) does not satisfy that requirement.
Note, older versions of Sentry PHP can be installed on PHP 8, for example composer require sentry/sentry:^1 will install sentry/sentry 1.6.2
I realize that Sentry 1.x is ancient history, however it would be useful if legacy apps could install the current version on PHP 8, as a "bridge" until they are upgraded to support Sentry SDK 3.x

That has most likely to do with that we used to have incorrect version constraint (>=5.2.4) that allowed too much versions.

Please note that the 1.x branch of the Sentry PHP SDK is no longer actively maintained and will only receive bug-fix and security updates.

I don't think we will be able to make this happen, as far as I know 1.x was never tested with 8.x and it would require us to dust it of just for 8.x compat which probably requires some fixes too.
I'm leaning towards, just upgrade when you upgrade to 8.x, 1.x is also not compatible with the new API in newer versions of sentry.io (and up-to-date self-hosted instances) so the update would probably come sooner or later anyway.

I agree with @stayallive, we don't even have a working CI for that version as Travis has been replaced with GitHub Actions and we never did the switch on that branch. Any work on that version is for basically no benefit at all, we don't have the resources to do it and I'm pretty sure noone wants to put his time to do it. But, indeed, we should at least update the README to say that that version is no longer maintained, not even for security fixes.

@ste93cry that quote is from the readme and also copied in the 1.11.0 release notes even 👌 so we're good there.

I guess I was imagining that a new but unsupported release could be made, just tweaking the composer.json to allow it to be installed.  But if not, then the work-around would be to not install the library via composer..

so we're good there.

The note is saying that that version is receiving bug-fix and security updates while it's not true, so the note is wrong and should be adjusted

I was imagining that a new but unsupported release could be made, just tweaking the composer.json to allow it to be installed

There is nothing preventing us to do it, but I don't think it's the correct thing to do: I see highly unlikely that that version works on PHP 8, even though maybe at a first glance it may look like it does

the work-around would be to not install the library via composer

The time it will take to find and test workarounds to install the old library on PHP 8 in my opinion may be spent in better ways, but this is my opinion :wink:

Wel,l it appears to be working fine on PHP 8 so far.
Currently the older release branches of https://www.drupal.org/project/raven - which require Sentry SDK 1.x - are running on 2524 different websites, which is far more than the number of sites using the current release branches, which require Sentry SDK 3.x.  Thus is the nature of open source libraries for websites - they tend to be integrated by developers and then stick around until the site is thoroughly rearchitected, or disappears...

it appears to be working fine on PHP 8 so far

We had to change some code in the error handler to make it work on PHP 8, so I'm pretty sure that with such an old version you would have subtle bugs and/or things not working as expected. If there was no need to make those changes we would not have done them 😅 Anyway, as I said, that version is EOL, I'm sorry

In this case, Sentry's error handler isn't used - https://www.drupal.org/project/raven disables it - so I don't think we will run into this problem. Our existing integration tests (which includes handling fatal errors and other things) do all pass on PHP 8.

In this case, Sentry's error handler isn't used

I didn't know, I'm sorry. However, we're not going to change our minds about releasing a new compatible version of 1.x, not least because it would mean "encouraging" people to use an old SDK, which in turn means that if people can use it on new versions of PHP and they find bugs or want new features, they will come here to ask for support. Please try to see it from the perspective of us OSS maintainers and the consequences for us if we decide to take such choice. I can feel and understand your frustration, but that's it

Just to be clear, I am not frustrated at all, it was just a suggestion to allow existing integrations to keep working.  I definitely think it's a very good idea to no longer fix bugs or otherwise support this branch, so updating the README is a good idea.

I am not frustrated at all

Sorry, said like this it sounds a bit rude and that was not my intention. What I meant was that I could understand if you didn't like the decision. Hopefully, all is good 👍

updating the README is a good idea

Yea, we will take care of it ASAP


backup: Support multiple parents

What does this PR change? What problem does it solve?
Support multiple parents in the backup command and implements an algorithm to automatically find those.
Some examples:
With this PR, If you previously backed up /foo/bar1 and  /foo/bar2 and now want to backup /foo, both previous snapshots are taken as parent. A side effect of the new parent selection algorithm is: If you previously backed up /foo previously and now backup /foo/bar1, the existing snapshot will be taken as parent.
Note that this PR modifies the Snapshot data structure used in the snapshots files by adding a Parents field.
The current Parent field is only set but never used by restic.
If there is only one (or zero) parent, the Parent field is still used, if there are more than one parents, the Parents field is now used.
Was the change discussed in an issue or in the forum before?
closes #3118
Checklist

[x] I have read the Contribution Guidelines
[x] I have enabled maintainer edits for this PR
[x] I have added tests for all changes in this PR
[x] I have added documentation for the changes (in the manual)
[x] There's a new file in changelog/unreleased/ that describes the changes for our users (template here)
[x] I have run gofmt on the code in all commits
[x] All commit messages are formatted in the same style as the other commits in the repo
[x] I'm done, this Pull Request is ready for review

From my side, this is now ready for review...

I fixed the failing test on windows (sorry, don't use windows myself).

Rebased after #3130 has been merged and now also use the parallelized snapshot loading for finding parents.

Rebased this to the current master and made some smaller changes to clarify the new parent searching algorithm.
The new algorithm to find parents is a quite big part of this change. If this is too big, I can also remove this from this PR, so that only specifying multiple --parents by hand will work (just remove the 6th commit from this PR).

Rebased this to the current master and made some smaller changes to clarify the new parent searching algorithm.
The new algorithm to find parents is a quite big part of this change. If this is too big, I can also remove this from this PR, so that only specifying multiple --parents by hand will work (just remove the 6th commit from this PR).

rebased.

rebased.

rebased.

I asked why there was no review of this at:
https://forum.restic.net/t/support-multiple-parents-3121/7220

@HaleTom Just note that this PR is more than 3 years old and I didn't work with Golang for about 2 years. So I won't be able to work on this PR, but of course I can support if anyone wants to continue here.

It's a pity that the window of ready opportunity has passed.
An easy way of encouraging contributions is to engage with them.
I personally value your contributions here, and at rustic-rs.

An easy way of encouraging contributions is to engage with them.

@HaleTom that requires sufficient time to do so. I won't and can't spend even more time on restic than I already do. That unfortunately means that it will still take a year or more to dig through the pile of old, but interesting PRs that have accumulated :-( .

I appreciate you for investing your time in replying to me.
Thanks for making restic!


Readme.md update

Detailed instructions

Thanks, but I'd prefer to keep the description as is. More details are available under the link in the summary.


Add ability to mark a service as critical, where failure to init should throw app startup

interesting -- would love to hear to hear more about this.
You could always write a tiny bit of custom code in bootstrap for the time being -- at the end of the service init call in question, check if it was actually initialized and throw there,  That will stop startup in its tracks!

Hi - thanks for looking - and, yes, that's exactly what we did. We can close this ticket, but I had added it thinking about the new service-layer metadata we've added in the multi-instance branch with the status maps. Wondering if this would fit into that somehow, but as always it's difficult to know how to label / describe in a general way.
I'll close it now, having put the idea out there in our minds in case something comes up.
BaseService.parallelInit([upgradeService], 2 * MINUTES)
if (!upgradeService.initialized) {
    throw new RuntimeException("Failed to complete required upgrades - will not start")
}


When importing to library, show the library

Because at the moment, nothing happens visually when dropping the lib file into the scene (or opening it)

when we're at it, we should support dropping a file onto an open library itself, not just <canvas>.

I would like to help on this ...

@ikmrgrv sure thing!

hi @ikmrgrv , are you still on it? Otherwise I'd like to take over 😄

Go for it @ThangHuuVu!


Build the RoI&RoDAlign libraries.

When I perform"sudo bash make_all.sh",
E=rod_align_api -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_61,code=sm_61 -std=c++14 FAILED: /home/zm/wd/GAIC/untils/rod_align/build/temp.linux-x86_64-3.6/src/rod_align_kernel.o
'Compiling rod_align kernels by nvcc...
In file included from rod_align_kernel.cu:2:0:
rod_align_kernel.h:4:21: fatal error: THC/THC.h: No such file or directory
#include <THC/THC.h>
^
compilation terminated.'
Can you help me with this problem? Looking forward to your reply!

For compilation issues, please follow instructions on building RoI&RoDAlign in https://github.com/lld533/Grid-Anchor-based-Image-Cropping-Pytorch.

Hello, I did compile it according to the above
“
1.nvcc -c -o roi_align_kernel.cu.o roi_align_kernel.cu -x cu -Xcompiler -fPIC -arch=sm_60
2.export CUDA_HOME=/home/zm/wd/GAIC/untils/roi_align/make.sh && python3 setup.py install
“
Both of these have been modified.
But still report the following
“ errorFAILED:/home/zm/wd/GAIC/untils/roi_align/build/temp.linux-x86_64-3.6/src/roi_align_kernel.o
FAILED:/home/zm/wd/GAIC/untils/roi_align/build/temp.linux-x86_64-3.6/src/roi_align_cuda.o
Traceback (most recent call last):
  File "setup.py", line 65, in <module>
    'build_ext': BuildExtension
  File "/home/Anaconda3/envs/torch16/lib/python3.6/site-packages/setuptools/init.py", line 153, in setup
    return distutils.core.setup(**attrs)
  File "/home/Anaconda3/envs/torch16/lib/python3.6/distutils/core.py", line 148, in setup
    dist.run_commands()
  File "/home/Anaconda3/envs/torch16/lib/python3.6/distutils/dist.py", line 955, in run_commands
    self.run_command(cmd)
  File "/home/Anaconda3/envs/torch16/lib/python3.6/distutils/dist.py", line 974, in run_command
    cmd_obj.run()
  File "/home/Anaconda3/envs/torch16/lib/python3.6/site-packages/setuptools/command/install.py", line 67, in run
    self.do_egg_install()
  File "/home/Anaconda3/envs/torch16/lib/python3.6/site-packages/setuptools/command/install.py", line 109, in do_egg_install
    self.run_command('bdist_egg')
  File "/home/Anaconda3/envs/torch16/lib/python3.6/distutils/cmd.py", line 313, in run_command
    self.distribution.run_command(command)
  File "/home/Anaconda3/envs/torch16/lib/python3.6/distutils/dist.py", line 974, in run_command
    cmd_obj.run()
  File "/home/Anaconda3/envs/torch16/lib/python3.6/site-packages/setuptools/command/bdist_egg.py", line 164, in run
    cmd = self.call_command('install_lib', warn_dir=0)
  File "/home/Anaconda3/envs/torch16/lib/python3.6/site-packages/setuptools/command/bdist_egg.py", line 150, in call_command
    self.run_command(cmdname)
  File "/home/Anaconda3/envs/torch16/lib/python3.6/distutils/cmd.py", line 313, in run_command
    self.distribution.run_command(command)
  File "/home/Anaconda3/envs/torch16/lib/python3.6/distutils/dist.py", line 974, in run_command
    cmd_obj.run()
  File "/home/Anaconda3/envs/torch16/lib/python3.6/site-packages/setuptools/command/install_lib.py", line 11, in run
    self.build()
  File "/home/Anaconda3/envs/torch16/lib/python3.6/distutils/command/install_lib.py", line 107, in build
    self.run_command('build_ext')
  File "/home/Anaconda3/envs/torch16/lib/python3.6/distutils/cmd.py", line 313, in run_command
    self.distribution.run_command(command)
  File "/home/Anaconda3/envs/torch16/lib/python3.6/distutils/dist.py", line 974, in run_command
    cmd_obj.run()
  File "/home/Anaconda3/envs/torch16/lib/python3.6/site-packages/setuptools/command/build_ext.py", line 79, in run
    _build_ext.run(self)
  File "/home/Anaconda3/envs/torch16/lib/python3.6/distutils/command/build_ext.py", line 339, in run
    self.build_extensions()
  File "/home/Anaconda3/envs/torch16/lib/python3.6/site-packages/torch/utils/cpp_extension.py", line 649, in build_extensions
    build_ext.build_extensions(self)
  File "/home/Anaconda3/envs/torch16/lib/python3.6/distutils/command/build_ext.py", line 448, in build_extensions
    self._build_extensions_serial()
  File "/home/Anaconda3/envs/torch16/lib/python3.6/distutils/command/build_ext.py", line 473, in _build_extensions_serial
    self.build_extension(ext)
  File "/home/Anaconda3/envs/torch16/lib/python3.6/site-packages/setuptools/command/build_ext.py", line 202, in build_extension
    _build_ext.build_extension(self, ext)
  File "/home/Anaconda3/envs/torch16/lib/python3.6/distutils/command/build_ext.py", line 533, in build_extension
    depends=ext.depends)
  File "/home/Anaconda3/envs/torch16/lib/python3.6/site-packages/torch/utils/cpp_extension.py", line 478, in unix_wrap_ninja_compile
    with_cuda=with_cuda)
  File "/home/Anaconda3/envs/torch16/lib/python3.6/site-packages/torch/utils/cpp_extension.py", line 1233, in _write_ninja_file_and_compile_objects
    error_prefix='Error compiling objects for extension')
  File "/home/Anaconda3/envs/torch16/lib/python3.6/site-packages/torch/utils/cpp_extension.py", line 1529, in _run_ninja_build
    raise RuntimeError(message)
RuntimeError: Error compiling objects for extension
Compiling rod_align kernels by nvcc...
In file included from rod_align_kernel.cu:2:0:
rod_align_kernel.h:4:21: fatal error: THC/THC.h: No such file or directory
 #include <THC/THC.h>
                     ^
”
------------------ 原始邮件 ------------------
发件人:                                                                                "bo-zhang-cs/GAIC-Pytorch"                                                                                @.>;
发送时间: 2022年4月15日(星期五) 中午11:11
@.>;
<EMAIL_ADDRESS>主题: Re: [bo-zhang-cs/GAIC-Pytorch] Build the RoI&RoDAlign libraries. (Issue #1)
For compilation issues, please follow instructions on building RoI&RoDAlign in https://github.com/lld533/Grid-Anchor-based-Image-Cropping-Pytorch.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: @.***>

Hello, I did compile it according to the above
nvcc -c -o roi_align_kernel.cu.o roi_align_kernel.cu -x cu -Xcompiler -fPIC -arch=sm_60 export CUDA_HOME=/home/zm/wd/GAIC/untils/roi_align/make.sh && python3 setup.py install
Both of these have been modified.
But still report the following
errorFAILED:/home/zm/wd/GAIC/untils/roi_align/build/temp.linux-x86_64-3.6/src/roi_align_kernel.o FAILED:/home/zm/wd/GAIC/untils/roi_align/build/temp.linux-x86_64-3.6/src/roi_align_cuda.o Traceback (most recent call last):   File "setup.py", line 65, in <module>     'build_ext': BuildExtension   File "/home/Anaconda3/envs/torch16/lib/python3.6/site-packages/setuptools/__init__.py", line 153, in setup     return distutils.core.setup(**attrs)   File "/home/Anaconda3/envs/torch16/lib/python3.6/distutils/core.py", line 148, in setup     dist.run_commands()   File "/home/Anaconda3/envs/torch16/lib/python3.6/distutils/dist.py", line 955, in run_commands     self.run_command(cmd)   File "/home/Anaconda3/envs/torch16/lib/python3.6/distutils/dist.py", line 974, in run_command     cmd_obj.run()   File "/home/Anaconda3/envs/torch16/lib/python3.6/site-packages/setuptools/command/install.py", line 67, in run     self.do_egg_install()   File "/home/Anaconda3/envs/torch16/lib/python3.6/site-packages/setuptools/command/install.py", line 109, in do_egg_install     self.run_command('bdist_egg')   File "/home/Anaconda3/envs/torch16/lib/python3.6/distutils/cmd.py", line 313, in run_command     self.distribution.run_command(command)   File "/home/Anaconda3/envs/torch16/lib/python3.6/distutils/dist.py", line 974, in run_command     cmd_obj.run()   File "/home/Anaconda3/envs/torch16/lib/python3.6/site-packages/setuptools/command/bdist_egg.py", line 164, in run     cmd = self.call_command('install_lib', warn_dir=0)   File "/home/Anaconda3/envs/torch16/lib/python3.6/site-packages/setuptools/command/bdist_egg.py", line 150, in call_command     self.run_command(cmdname)   File "/home/Anaconda3/envs/torch16/lib/python3.6/distutils/cmd.py", line 313, in run_command     self.distribution.run_command(command)   File "/home/Anaconda3/envs/torch16/lib/python3.6/distutils/dist.py", line 974, in run_command     cmd_obj.run()   File "/home/Anaconda3/envs/torch16/lib/python3.6/site-packages/setuptools/command/install_lib.py", line 11, in run     self.build()   File "/home/Anaconda3/envs/torch16/lib/python3.6/distutils/command/install_lib.py", line 107, in build     self.run_command('build_ext')   File "/home/Anaconda3/envs/torch16/lib/python3.6/distutils/cmd.py", line 313, in run_command     self.distribution.run_command(command)   File "/home/Anaconda3/envs/torch16/lib/python3.6/distutils/dist.py", line 974, in run_command     cmd_obj.run()   File "/home/Anaconda3/envs/torch16/lib/python3.6/site-packages/setuptools/command/build_ext.py", line 79, in run     _build_ext.run(self)   File "/home/Anaconda3/envs/torch16/lib/python3.6/distutils/command/build_ext.py", line 339, in run     self.build_extensions()   File "/home/Anaconda3/envs/torch16/lib/python3.6/site-packages/torch/utils/cpp_extension.py", line 649, in build_extensions     build_ext.build_extensions(self)   File "/home/Anaconda3/envs/torch16/lib/python3.6/distutils/command/build_ext.py", line 448, in build_extensions     self._build_extensions_serial()   File "/home/Anaconda3/envs/torch16/lib/python3.6/distutils/command/build_ext.py", line 473, in _build_extensions_serial     self.build_extension(ext)   File "/home/Anaconda3/envs/torch16/lib/python3.6/site-packages/setuptools/command/build_ext.py", line 202, in build_extension     _build_ext.build_extension(self, ext)   File "/home/Anaconda3/envs/torch16/lib/python3.6/distutils/command/build_ext.py", line 533, in build_extension     depends=ext.depends)   File "/home/Anaconda3/envs/torch16/lib/python3.6/site-packages/torch/utils/cpp_extension.py", line 478, in unix_wrap_ninja_compile     with_cuda=with_cuda)   File "/home/Anaconda3/envs/torch16/lib/python3.6/site-packages/torch/utils/cpp_extension.py", line 1233, in _write_ninja_file_and_compile_objects     error_prefix='Error compiling objects for extension')   File "/home/Anaconda3/envs/torch16/lib/python3.6/site-packages/torch/utils/cpp_extension.py", line 1529, in _run_ninja_build     raise RuntimeError(message) RuntimeError: Error compiling objects for extension Compiling rod_align kernels by nvcc... In file included from rod_align_kernel.cu:2:0: rod_align_kernel.h:4:21: fatal error: THC/THC.h: No such file or directory  #include <THC/THC.h>                      ^
Could you help me?

I also want to ask, is this compilation related to the GCC version? My GCC is 4.8.5
Python：3.6
Torch：1.6
------------------ 原始邮件 ------------------
发件人:                                                                                "bo-zhang-cs/GAIC-Pytorch"                                                                                @.>;
发送时间: 2022年4月15日(星期五) 中午11:11
@.>;
<EMAIL_ADDRESS>主题: Re: [bo-zhang-cs/GAIC-Pytorch] Build the RoI&RoDAlign libraries. (Issue #1)
For compilation issues, please follow instructions on building RoI&RoDAlign in https://github.com/lld533/Grid-Anchor-based-Image-Cropping-Pytorch.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: @.***>


Error while walking on a ground

Describe the bug
When a character based on the example starts walking on a surface, the following can be seen in the logs repeated many times:
Error        AnimBlueprintLog          Current state is a conduit and will reset to ref pose. This can happen if a conduit is an entry state and there isn't at least one valid transition to take. State Machine(Grounded States), Conduit(Entry Conduit), AnimBlueprint(/ALS/ALS/Character/AnimationInstances/AB_Als_Grounded.AB_Als_Grounded).
To reproduce
Steps to reproduce the behavior:

Use the example character to walk around on a ground.
Observe errors in the logs.

Expected behavior
No errors.

This is an editor only error, and it doesn't affect anything, so you can ignore it.


[operator] Integrate matmul primitive from oneDNN in batch dot

Description
This change integrates oneDNNs matmul primitive into batch dot execution.
Checklist
Changes

[x] Integrate oneDNNs primitive

@mxnet-bot run ci [unix-cpu]


[Feature]: Bar Chart in Card

Is your feature request related to a problem?
Please add an option to add bar chart in cards, like in Minimalist UI, this replaces the ugly Gauge card from HA.
Describe the solution you'd like
Reference: https://ui-lovelace-minimalist.github.io/UI/usage/custom_cards/custom_card_bar_card/
Describe alternatives you've considered
No response
Additional context
No response

The goal of Mushroom is not to add all Minimalist cards. We have a lot of card in dev. I prefer to improve/finish the card that are in dev than adding new ones for now.

I totally understand, but this card would be very helpful, the Gauge card
is too ugly, please add it to the To-Do list :)
On Sun, 24 Apr 2022 at 2:30 AM Paul Bottein @.***>
wrote:

The goal of Mushroom is not to add all Minimalist cards. We have a lot of
card in dev. I prefer to improve/finish the card that are in dev than
adding new ones for now.
—
Reply to this email directly, view it on GitHub
https://github.com/piitaya/lovelace-mushroom/issues/387#issuecomment-1107790445,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAJJIOUG24M7XGSIZQ6QMFDVGUBBXANCNFSM5UFUFV7Q
.
You are receiving this because you authored the thread.Message ID:
@.***>

--
A.

+1 for bar gauage, I’ve just asked about this on the community forum and got directed here.
I’d love to be able to track progress of recurring notifications and level sensors using horizontal gauges.

I would also like to have a bar card that can show for instance a progress bar. Maybe the new number card can have a kind of read-only mode that displays a horizontal bar for a sensor entity representing e.g., a percentage value.

I would support also a modification of the number cards into a bar cards. If you just specify the min and max value for the bar it would allow to have a consistent design, including the possibility to have it in the various possible layout (default, vertical/horizontal)

I too was looking for something like this so I built it. I've made a standalone "addon" that contains just the card for anyone that would like it.
I was after a bar gauge to show my energy sensor usage. It has minimum and maximum values and brings in segments from the HA Gauge card to change the colors
https://gist.github.com/JuzzWuzz/bfea1a35020687ae1bfa111936b57ccf

I would also like to see a "bar gauge" type card and provide my input here, hoping it can be useful. In my case I am visualising water capacity in a well and need a single vertical bar. I am currently using the custom:bar-card but it is no longer supported and the UI editor does not work for this anymore so I think its days are numbered. I have seen hacky solutions using mushroom but the one that I found closest to my needs combines the mushroom template card with the custom:bar-card and its just plain difficult to get to work easily (and I want vertical direction and found that difficult).
The solution I have currently looks like this with the custom:bar-card


Incomplete error handling

I suppose there is a dangling error case – it is handled, but the control flow continues as if there was no error, resulting to a nil pointer dereference.
https://github.com/jkuri/bore/blob/master/server/ssh.go#L202
But I'm not sure what is the right way to fix it – continue or break

you are right, it is continue. can you please open a pr for that?

thanks. next time you can add (closes #24) in commit message atthe end and
issue is closed automatically,
just for your info, its handy.
On Wed, 19 Oct 2022 at 19:48, Denis Stanishevsky @.***>
wrote:

Closed #24 https://github.com/jkuri/bore/issues/24 as completed.
—
Reply to this email directly, view it on GitHub
https://github.com/jkuri/bore/issues/24#event-7624050846, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AANWPNXAMX5DHOCTFBK7U4TWEAX73ANCNFSM6AAAAAARJK56GM
.
You are receiving this because you commented.Message ID:
@.***>


Update to LLVM 12

This is updating LLVM to version 12.
LLVM 10-12 introduces some minor API changes:

Some out-pointers have been replaced by return values
Some API functions now return llvm::Expected instead of the value directly
llvm::Expected::get() checks in debug mode whether the user has verified that it actually contains a value and not an error.

I'm going to merge this when the CI is done. Ronald, Daniel, let me know if you still wanna have a look before hand.


D365 Finance Quickstart Updates

This pull request includes several updates to the quickstarts/201-D365-finance-environment Terraform module and a minor fix to the README.md file. The most important changes involve updating provider versions, modifying resource definitions, and adjusting output and variable configurations.
Updates to Terraform Module:

Provider Version Update:

Updated the powerplatform provider to version 2.7.0-preview in main.tf.

Resource Configuration Changes:

Modified the dataverse block within the powerplatform_environment resource to use variables for security_group_id and removed hardcoded values.

Output Adjustments:

Corrected the resource name prefix from power-platform_environment to powerplatform_environment in outputs.tf.

Variable Adjustments:

Removed unnecessary variables (client_id, secret, tenant_id) and added a new variable security_group_id in variables.tf. [1] [2]

Documentation Fix:

README.md:

Fixed the order of quickstart examples by moving 101-hello-power-platform to the correct position.

@ianjensenisme can you resolve merge conflicts...? TNKS.


Concurrent develop same object by different abaper

Hi, how abapgit help to concurrent develop the same object by different abaper at the same time? Thanks

putting the sourcecode to git gives a better overview of what changed when
but branching in traditional ABAP systems is done by having multiple systems, in one system one developer can change a source file at a time
git is just files, allowing easy branching, anyone can edit files there(eg. using vscode)

Do we need to have SAP instance development environment for each abaper instead of to achieve  parallel development for same technical object in development box?

one SAP instance per developer will achieve parallel development, yes, https://www.nuveplatform.com can help you setting this up
depending on what your challenges or goals are, there might be other solutions

Hi @larshp , thanks for the recommendation.
My current challenge is the technical object, example an abap report, when developer A make the change for change request 12345, and sometimes there will be a bug fix for the same abap report that assigned to developer B. Due to the abap report is locked by developer A, it need to revert/comment the change, then only can pass on to developer B to fix the bug.
So, without setup the instance development environment, is there other way to solve the locking issue and able to parallel development without conflict? Thanks again.

In short, no.
@hock37wong, parallel development of the same object in the same system is not possible in ABAP. The typical landscape setup for emergency fixes bypassing the regular development flow (Dev > Test > Prod) is to have a separate bug fix system (Fix > Test > Prod, or Fix > Prod).

Can abapGit help by logging all changes in a transport (call it #1), deleting transport #1 (releasing locks) whilst restoring the previous versions of the objects. Then, once the fix is done and transport (#2) released, provide a means to recreate #1 and showing where changes were made in #2 so they can be merged?

Can abapGit help by logging all changes in a transport (call it #1), deleting transport #1 (releasing locks) whilst restoring the previous versions of the objects. Then, once the fix is done and transport (#2) released, provide a means to recreate #1 and showing where changes were made in #2 so they can be merged?

yes
however, IMHO, its better to build/evolve processes to try avoiding that situation all-together. That could be improving testing, reducing change sizes, etc.

In short, no.
@hock37wong, parallel development of the same object in the same system is not possible in ABAP. The typical landscape setup for emergency fixes bypassing the regular development flow (Dev > Test > Prod) is to have a separate bug fix system (Fix > Test > Prod, or Fix > Prod).

Thank you @mbtools


Add Integration Tests for Resolving App Branding after Deleting Org/ App Branding Preferences

Purpose

$Subject

Related Issues

https://github.com/wso2/product-is/issues/20616

Related PRs

https://github.com/wso2-extensions/identity-branding-preference-management/pull/41

Note

This PR should be merged only after merging - https://github.com/wso2-extensions/identity-branding-preference-management/pull/41

PR builder started
Link: https://github.com/wso2/product-is/actions/runs/10109136670

PR builder completed
Link: https://github.com/wso2/product-is/actions/runs/10109136670
Status: success


Class CHtml not found

on humhub 1.0.0-beta.2, when switching to HiveHub theme, I have the following error:
PHP message: PHP Fatal error: Class 'CHtml' not found in /srv/humhub/humhub-0.20.0/themes/HiveHub/views/layouts/main.php on line 7

It hasn't been updated for the new version of humhub.  The migration guide is here. https://www.humhub.org/docs/guide-theming-migrate.html.
I might try to update it myself, but no promises...


Remove detail tab and update formatting

Signed-off-by: Andrew-Butler<EMAIL_ADDRESS>@ckadner As mentioned in the meeting today

@ckadner @Tomcli is this just flaky tests? Says the API failed to build, but nothing has been changed.

@ckadner @Tomcli is this just flaky tests? Says the API failed to build, but nothing has been changed.

This kind of error can happen when thirdparty libraries get update. Will take me a while to solve. Ignore it for the time being.

In your screenshot, the "🏠 Home" tab is illuminated in the navigation, but the content shows a dataset?

@ckadner Here is 30px:

/hold

@ckadner
Well I tried to stop the merging process haha, I hadn't added the 30px in a commit yet. Just showed a picture. I can add it to a separate PR right now if you want it for the gifs?

@ckadner
Well I tried to stop the merging process haha, I hadn't added the 30px in a commit yet. Just showed a picture. I can add it to a separate PR right now if you want it for the gifs?

Yes. Please :-)

Follow-up PR to add the extra padding: #196

@ckadner @Tomcli is this just flaky tests? Says the API failed to build, but nothing has been changed.

#197


[USMON-810]: USM Debug endpoint protocol check

What does this PR do?
It incorporates a check to determine if a protocol is enabled before querying its debug endpoint. If the protocol is disabled, it provides a clear message to the user.

Motivation
This can offer prompt feedback whenever a user attempts to query a debug endpoint without enabling the specific protocol in USM.

Additional Notes

Possible Drawbacks / Trade-offs

Describe how to test/QA your changes

Enable USM in the configuration (service_monitoring_config.enabled: true).
Execute the following command:

  sudo curl --unix /opt/datadog-agent/run/sysprobe.sock http://unix/network_tracer/debug/http_monitoring | jq

Expect an empty response.

Next, run the following commands:

  sudo curl --unix /opt/datadog-agent/run/sysprobe.sock http://unix/network_tracer/debug/kafka_monitoring | jq
  sudo curl --unix /opt/datadog-agent/run/sysprobe.sock http://unix/network_tracer/debug/http2_monitoring | jq

You should expect the following outputs:
   {
     "error": "kafka monitoring is not enabled"
   }

   {
     "error": "http2 monitoring is not enabled"
   }

/merge


Development

Probably worth mentioning here, I built a Helm chart for promcord so it can be deployed on Kubernetes easily.
I contributed it to the k8s-at-home charts repo https://github.com/k8s-at-home/charts/pull/805


Fix not returning task

closes #73
For now, it is not clear why recode runs endlessly in some cases. I have not been able to reproduce it yet.
This PR adds the switch --debug for more debugging.

It turns out that the problem was inside the formatter plugin.


can't select a node in Network settings

I tried to select a node, but it's not work.

Hi @joarrries, thanks for reporting. Please note that you should be switching nodes using the left-bottom corner menu, not network sertings.

@joarrries this view is only for adding new nodes. For switching please use "Node" in bottom left corner.

We have other issue reported to make it more user friendly here: https://github.com/nemgrouplimited/symbol-desktop-wallet/issues/657
So I'm closing this one.


docs: show Netlify badge on footer

Description of the Change
To use Netlify's Open Source plan, I added Netlify badge on the footer as their policy. There are 4 rules but we already met 3 of them.
This PR address 3rd rule.

[x] Open Source Initiative approved license
[x] Code of Conduct
[ ] feature a link to our service
[x] must not be a commercial project

over 960px width

under 960px width

Alternate Designs
Netlify badge can be next to the OpenJS foundation logo, but I think the footer is better since Netlify badge is much smaller.
Benefits
We can use Netlify open source plan.

Coverage remained the same at 92.857% when pulling 3629c3ad5c2a7f4a72abda5ad350623843233246 on outsideris:netlify-badge into ac12f2c9a41f6952f085453a9c25c439813e58d4 on mochajs:master.

Awesome work. Thank you for taking the time to figure this one out


Enable setting the verbose and silent options via config file

The default values that yargs was setting were not allowing the config file to specify the verbose and silent options.
Fixes #127

@carsonfarmer Is this what you were thinking to solve #127

@carsonfarmer Is this what you were thinking to solve #127

Yes, exactly, thanks!


Icon Button

Why icon button does not have the same parameters as flat button in terms of background color, highlightColor, splashColor to control the theme properties?

@Hixie would know.

No reason really, except that the person who contributed the parameters for flat buttons didn't add them to icon buttons. We'd welcome patches to add highlightColor and splashColor (backgroundColor wouldn't make sense for an icon button).

I think this is done now.


Initial version of Kyma Istio Operator installation

Description
Changes proposed in this pull request:

applies IstioCR to the default Istio Operator manifest
runs Istio installer

Related issue(s)

See also:

https://github.com/kyma-project/istio/issues/4

The implementation doesn't follow the technical design we created. There are components like IstioInstallationReconciliation and IstioClient that should be part of this implementation.


Add dereference operator to observable

Simple low-risk extension that should make this type more useful.

It works fine.


dataset.download_BindingDB function may need to be updated

Hi, @kexinhuang12345
Thank you so much for your great work.
I found the BindingDB dataset download URL has been updated on 2021/05/01 on the website so I couldn't use the dataset.download_BindingDB function to download the dataset.
I guess the URL may need to be updated to https://www.bindingdb.org/bind/downloads/BindingDB_All_2021m4.tsv.zip in the dataset.download_BindingDB function.
Thank you.

nice, do you want to make a commit to change that?

Hi, @kexinhuang12345 and @printomi
Sorry！ I missed your message.
Thank you for your reply and change.

It looks like the URL stopped working again, and now the filename needs to be changed to BindingDB_All_2022m4.tsv.zip
I wonder if there is some API that can help us always know the current version.
or otherwise, it might be good to change the code so that it expects the year and month as input from the user. Maybe it's better anyway, for reproducibility purposes.


Give an easy way for community to share their integrations.

Give an easy way for community to share their integrations.
E.g. having a text like https://docs.mattermost.com/developer/webhooks-incoming.html#share-your-integration, or having a link somewhere in the page footer.

This has been completed. :)


openstack: create image from URL

In this PR, we add the ability to ore openstack to create an image from an URL - this is quite handy for CI context, we could just provide the bincache URL to create the Openstack image of the tested version.
$ IMAGE_ID=$(./bin/ore openstack create-imag --file https://alpha.release.flatcar-linux.net/amd64-usr/3305.0.0/flatcar_production_openstack_image.img.gz ...)
$ ./bin/kola run ... --platform openstack --openstack-image "${IMAGE_ID}" kubeadm.v1.23.4.flannel.base

Vendor has been upgraded to the most recent version (0.25.0)

Looks good but I didn't test it. One related task is to teach ore gc to also delete left-over images and not only left-over servers.

@pothos thanks for the review. I was thinking to add SSH keys deletion too.


Cannot compile blink LED example

Hi!
I am a Arduino newbie trying out the library but cannot compile within Arduino IDE the LED blinking example in examples folder.
Arduino IDE 2.0.0
Board: Adafruit Feather nRF52840 Sense
Error message:
In file included from c:\Users\myuser\Documents\Arduino\libraries\TaskScheduler\src/TaskScheduler.h:225,
                 from C:\Users\myuser\Documents\Arduino\sketch_blink\sketch_blink.ino:26:
c:\Users\myuser\Documents\Arduino\libraries\TaskScheduler\src/TaskSchedulerDeclarations.h:140:10: error: 'Scheduler' does not name a type
  140 |   extern Scheduler* iSleepScheduler;
      |          ^~~~~~~~~
c:\Users\myuser\Documents\Arduino\libraries\TaskScheduler\src/TaskSchedulerDeclarations.h:165:93: error: 'Scheduler' is not a type
  165 |     INLINE Task(unsigned long aInterval=0, long aIterations=0, TaskCallback aCallback=NULL, Scheduler* aScheduler=NULL, bool aEnable=false, TaskOnEnable aOnEnable=NULL, TaskOnDisable aOnDisable=NULL);
      |                                                                                ^~~~~~~~~
c:\Users\myuser\Documents\Arduino\libraries\TaskScheduler\src/TaskSchedulerDeclarations.h:175:41: error: 'Scheduler' is not a type
  175 |     INLINE Task(TaskCallback aCallback, Scheduler* aScheduler, TaskOnEnable aOnEnable=NULL, TaskOnDisable aOnDisable=NULL);
      |                                         ^~~~~~~~~
c:\Users\myuser\Documents\Arduino\libraries\TaskScheduler\src/TaskSchedulerDeclarations.h:293:5: error: 'Scheduler' does not name a type
  293 |     Scheduler                *iScheduler;            // pointer to the current scheduler
      |     ^~~~~~~~~
In file included from C:\Users\myuser\Documents\Arduino\sketch_blink\sketch_blink.ino:26:
c:\Users\myuser\Documents\Arduino\libraries\TaskScheduler\src/TaskScheduler.h:266:3: error: 'Scheduler' does not name a type
  266 |   Scheduler* iSleepScheduler;
      |   ^~~~~~~~~
c:\Users\myuser\Documents\Arduino\libraries\TaskScheduler\src/TaskScheduler.h:303:80: error: 'Scheduler' is not a type
  303 | Task::Task( unsigned long aInterval, long aIterations, TaskCallback aCallback, Scheduler* aScheduler, bool aEnable, TaskOnEnable aOnEnable, TaskOnDisable aOnDisable ) {
      |                                                                                ^~~~~~~~~
In file included from C:\Users\myuser\Documents\Arduino\sketch_blink\sketch_blink.ino:26:
c:\Users\myuser\Documents\Arduino\libraries\TaskScheduler\src/TaskScheduler.h: In constructor 'Task::Task(long unsigned int, long int, TaskCallback, int*, bool, TaskOnEnable, TaskOnDisable)':
c:\Users\myuser\Documents\Arduino\libraries\TaskScheduler\src/TaskScheduler.h:308:33: error: request for member 'addTask' in '* aScheduler', which is of non-class type 'int'
  308 |     if (aScheduler) aScheduler->addTask(*this);
      |                                 ^~~~~~~
c:\Users\myuser\Documents\Arduino\libraries\TaskScheduler\src/TaskScheduler.h: In destructor 'virtual Task::~Task()':
c:\Users\myuser\Documents\Arduino\libraries\TaskScheduler\src/TaskScheduler.h:323:9: error: 'iScheduler' was not declared in this scope; did you mean 'Scheduler'?
  323 |     if (iScheduler)
      |         ^~~~~~~~~~
      |         Scheduler
c:\Users\myuser\Documents\Arduino\libraries\TaskScheduler\src/TaskScheduler.h: At global scope:
c:\Users\myuser\Documents\Arduino\libraries\TaskScheduler\src/TaskScheduler.h:340:37: error: 'Scheduler' is not a type
  340 | Task::Task( TaskCallback aCallback, Scheduler* aScheduler, TaskOnEnable aOnEnable, TaskOnDisable aOnDisable ) {
      |                                     ^~~~~~~~~
c:\Users\myuser\Documents\Arduino\libraries\TaskScheduler\src/TaskScheduler.h: In constructor 'Task::Task(TaskCallback, int*, TaskOnEnable, TaskOnDisable)':
c:\Users\myuser\Documents\Arduino\libraries\TaskScheduler\src/TaskScheduler.h:345:33: error: request for member 'addTask' in '* aScheduler', which is of non-class type 'int'
  345 |     if (aScheduler) aScheduler->addTask(*this);
      |                                 ^~~~~~~
c:\Users\myuser\Documents\Arduino\libraries\TaskScheduler\src/TaskScheduler.h: In member function 'void Task::reset()':
c:\Users\myuser\Documents\Arduino\libraries\TaskScheduler\src/TaskScheduler.h:498:5: error: 'iScheduler' was not declared in this scope; did you mean 'Scheduler'?
  498 |     iScheduler = NULL;
      |     ^~~~~~~~~~
      |     Scheduler
c:\Users\myuser\Documents\Arduino\libraries\TaskScheduler\src/TaskScheduler.h: In member function 'bool Task::enable()':
c:\Users\myuser\Documents\Arduino\libraries\TaskScheduler\src/TaskScheduler.h:636:9: error: 'iScheduler' was not declared in this scope; did you mean 'Scheduler'?
  636 |     if (iScheduler) { // activation without active scheduler does not make sense
      |         ^~~~~~~~~~
      |         Scheduler
c:\Users\myuser\Documents\Arduino\libraries\TaskScheduler\src/TaskScheduler.h: In member function 'bool Task::disable()':
c:\Users\myuser\Documents\Arduino\libraries\TaskScheduler\src/TaskScheduler.h:860:25: error: 'iScheduler' was not declared in this scope; did you mean 'Scheduler'?
  860 |         Task *current = iScheduler->iCurrent;
      |                         ^~~~~~~~~~
      |                         Scheduler
c:\Users\myuser\Documents\Arduino\libraries\TaskScheduler\src/TaskScheduler.h: In member function 'void Scheduler::addTask(Task&)':
c:\Users\myuser\Documents\Arduino\libraries\TaskScheduler\src/TaskScheduler.h:995:15: error: 'class Task' has no member named 'iScheduler'
  995 |     if (aTask.iScheduler != NULL)
      |               ^~~~~~~~~~
c:\Users\myuser\Documents\Arduino\libraries\TaskScheduler\src/TaskScheduler.h:1000:11: error: 'class Task' has no member named 'iScheduler'
 1000 |     aTask.iScheduler = this;
      |           ^~~~~~~~~~
c:\Users\myuser\Documents\Arduino\libraries\TaskScheduler\src/TaskScheduler.h: In member function 'void Scheduler::deleteTask(Task&)':
c:\Users\myuser\Documents\Arduino\libraries\TaskScheduler\src/TaskScheduler.h:1023:15: error: 'class Task' has no member named 'iScheduler'
 1023 |     if (aTask.iScheduler != this)
      |               ^~~~~~~~~~
c:\Users\myuser\Documents\Arduino\libraries\TaskScheduler\src/TaskScheduler.h:1028:11: error: 'class Task' has no member named 'iScheduler'
 1028 |     aTask.iScheduler = NULL;
      |           ^~~~~~~~~~
c:\Users\myuser\Documents\Arduino\libraries\TaskScheduler\src/TaskScheduler.h: In member function 'void Scheduler::setSleepMethod(SleepCallback)':
c:\Users\myuser\Documents\Arduino\libraries\TaskScheduler\src/TaskScheduler.h:1207:9: error: 'iSleepScheduler' was not declared in this scope
 1207 |         iSleepScheduler = this;
      |         ^~~~~~~~~~~~~~~
c:\Users\myuser\Documents\Arduino\libraries\TaskScheduler\src/TaskScheduler.h: In member function 'bool Scheduler::execute()':
c:\Users\myuser\Documents\Arduino\libraries\TaskScheduler\src/TaskScheduler.h:1396:14: error: 'iSleepScheduler' was not declared in this scope
 1396 |         if ( iSleepScheduler == this ) { // only one scheduler should make the MC go to sleep.
      |              ^~~~~~~~~~~~~~~
C:\Users\myuser\Documents\Arduino\sketch_blink\sketch_blink.ino: At global scope:
C:\Users\myuser\Documents\Arduino\sketch_blink\sketch_blink.ino:46:1: error: 'Scheduler' does not name a type
   46 | Scheduler ts;
      | ^~~~~~~~~
C:\Users\myuser\Documents\Arduino\sketch_blink\sketch_blink.ino:54:76: error: 'ts' was not declared in this scope
   54 | Task tBlink1 ( PERIOD1 * TASK_MILLISECOND, DURATION / PERIOD1, &blink1CB, &ts, true );
      |                                                                            ^~
C:\Users\myuser\Documents\Arduino\sketch_blink\sketch_blink.ino:62:79: error: 'ts' was not declared in this scope
   62 | Task tBlink2 ( PERIOD2 * TASK_MILLISECOND, DURATION / PERIOD2, &blink2CB_ON, &ts, false );
      |                                                                               ^~
C:\Users\myuser\Documents\Arduino\sketch_blink\sketch_blink.ino:69:75: error: 'ts' was not declared in this scope
   69 | Task tBlink3 (PERIOD3 * TASK_MILLISECOND, DURATION / PERIOD3, &blink3CB, &ts, false);
      |                                                                           ^~
C:\Users\myuser\Documents\Arduino\sketch_blink\sketch_blink.ino:79:68: error: 'ts' was not declared in this scope
   79 | Task tBlink4On  ( PERIOD4 * TASK_MILLISECOND, TASK_ONCE, blink41, &ts, false, &blink41OE );
      |                                                                    ^~
C:\Users\myuser\Documents\Arduino\sketch_blink\sketch_blink.ino:80:68: error: 'ts' was not declared in this scope
   80 | Task tBlink4Off ( PERIOD4 * TASK_MILLISECOND, TASK_ONCE, blink42, &ts, false, NULL, &blink42OD );
      |                                                                    ^~
C:\Users\myuser\Documents\Arduino\sketch_blink\sketch_blink.ino:91:74: error: 'ts' was not declared in this scope
   91 | Task tBlink5On  ( 600 * TASK_MILLISECOND, DURATION / PERIOD5, &blink51, &ts, false, &blink51OE );
      |                                                                          ^~
C:\Users\myuser\Documents\Arduino\sketch_blink\sketch_blink.ino:92:74: error: 'ts' was not declared in this scope
   92 | Task tBlink5Off ( 600 * TASK_MILLISECOND, DURATION / PERIOD5, &blink52, &ts, false, NULL, &blink52OD );
      |                                                                          ^~
C:\Users\myuser\Documents\Arduino\sketch_blink\sketch_blink.ino:102:76: error: 'ts' was not declared in this scope
  102 | Task tBlink6 ( PERIOD6 * TASK_MILLISECOND, DURATION / PERIOD6, &blink6CB, &ts, false, &blink6OE, &blink6OD );
      |                                                                            ^~
C:\Users\myuser\Documents\Arduino\sketch_blink\sketch_blink.ino: In function 'void loop()':
C:\Users\myuser\Documents\Arduino\sketch_blink\sketch_blink.ino:117:3: error: 'ts' was not declared in this scope
  117 |   ts.execute();
      |   ^~

exit status 1

Compilation error: 'Scheduler' does not name a type

hi, @edwardCao -
I confirm that I can reproduce your issue using Adafruit nFR50 Arduino Core.
I do not understand why it behaves this way while on other boards same code compiles without issues.
I will have to have a look into it further.

I am afraid this is because Adafruit core uses FreeRTOS and there is a forward declaration of a Scheduler, which then conflicts with my class definition of a Scheduler. Name conflict - I do not know what to do about it since changing the class name will instantly make all previous code fail to compile. I need to think if there is a way to make this change backwards-compatible.

Yes, there is an object called Scheduler in rtos.cpp and rtos.h files in Adafruit nRF core.
Both Adafruit developer and myself did not think of a more unique name, now here we are...

@arkhipenko thanks for looking into this issue and thanks to @vortigont for providing a solution/patch. I will try this solution on user side (my knowledge about the IDE is limited to using only one sketch file :-) ).

Fixed by 3.6.2 (in testing branch for now)


Checkbox or Radio button not showing the state when custom style is used

Hello,
I used the example you provided for custom styling using @emotion/styled
When it comes to Radio buttons and Checkboxes, it is not showing the current state which in this case should have been "Advanced".

Also when I hover the mouse over the radio button, it disappears:

I tried to use:
  ${menuItemSelector.typeCheckbox} {
    appearance: checkbox;
    color: black;
  }

but that didn't help.
Thanks for your help!
React/React-dom version:17.0.2
React-Menu version:4.0.0

Hi @seperman , the small circles in menu items of your screenshot are default list item style from browsers which should be reset:
${radioGroupSelector.name} {
  list-style: none;
  padding: 0;
}

Menu items are completly unstyled by default, and there aren't any ticks or circles in checkbox and radio items. Here is a sandbox example that adds ticks/circles using css pseudo elements.

@szhsin Fantastic! Thank you.


mask: Use $viewValue instead of $modelValue in initializeElement()

This fixes an issue when ui-mask is used together with other directives
that have $formatters modifying the $modelValue.

cc @PowerKiKi please review


🌐 Add Japanese translation for docs/ja/docs/deployment/server-workers.md

based on https://github.com/tiangolo/fastapi/pull/3974
Japanese translation of Server Workers - Gunicorn with Uvicorn

📝 Docs preview for commit bec7f4bc88f5fa68b0b56c38f8ac1b33433dee1b at: https://d69a16b1.fastapitiangolo.pages.dev

Here is the page I added to this PR


Added 'java.io.Serializable' to a few classes to make them work under…

Added 'java.io.Serializable' to a few classes to make them work under distributed computing tools such as Hadoop, Spark.

:shipit:


Trim the timecode if possible on the Playhead Values

For example, rather than 00:00:01:01, just display 01:01.

This will be fixed in the next beta.


TcpClient in windows seems to have issues

Korio version=1.6.4
Using this simple code:
    GlobalScope.async {
        val tcpClient = createTcpClient(false)
        tcpClient.connect("<IP_ADDRESS>", 12995)
        if(tcpClient.connected){
            println("We are connected!")
            tcpClient.write(dataBytes)
            val result = tcpClient.readAll()
        }
    }

Will casts kotlin.IllegalStateException: WSA error(connect): 10051 on Windows.
This will work on mac, but instead it does not seem to write/read any of the data the server should get/send back

Seems to have to do with the fact that host input is not supporting IP-adress in the library now

Seems to have problem with the recieving the same way when running on mac

Sorry for the huge delay, the last weekend and this week I have been pretty busy. I plan to work on fixing stuff this weekend, so I'll have a look on this!

This is the same issue, I think.

@soywiz Any news?

Sorry for the delay. I have been focusing on the first preview of korge-3d. Now that it is out, I'll review all the projects and will try to fix all the issues. Probably this weekend.

@soywiz Did your latest migration to latest kotlin help this at all?

Also seems that you need to run:
platform.windows.WSAStartup(...)
platform.windows.WSACleanup()
on windows in order to actually setup a proper socket with winsockets


Unable to scan big QR-Code

Dear ZXing Support,
Could you enhance your library to support scanning of bigger QR Codes
Here is an example:

Kind regards,
Novak

Maybe this issue is a duplicate of https://github.com/Redth/ZXing.Net.Mobile/issues/624
That being said, some performance improvements have landed on the dev branch of this repo, which may help your device scan big QR codes. Sadly no nuget package has been published yet that includes these changes, but maybe you can try building the dev branch yourself and trying it out?

3.0.0 should have these enhancements.  Sorry for the frustration with my slowness in getting back to this project.


Code imported from .NETMF for use in nanoFramework

Sonarcloud is very unhappy with the code base. Ignoring for now.


chore: release 1.2.120

:robot: I have created a release *beep* *boop*
1.2.120 (2022-07-05)
Features

kubedog: generic resources tracking (93ed2e5)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/werf/werf/releases/tag/v1.2.120 :sunflower:


exchangerate.host updated free tier

exchangerate.host has updated their free tier to require an API key and disallow SSL. SSL is now a paid feature apparently.
Pricing link for reference: https://exchangerate.host/product
Also for reference, the response I got using SSL:
{
    "success": false,
    "error": {
        "code": 105,
        "type": "https_access_restricted",
        "info": "Access Restricted - Your current Subscription Plan does not support HTTPS Encryption."
    }
}

Updated.


regression in 90th_percentile_vsync_transitions_missed large_image_changer_perf_ios

https://flutter-flutter-perf.skia.org/e/?begin=1603526223&end=1603867624&keys=X7728d6094a7f0aebd80375845eda2829&requestType=0&xbaroffset=22225
At commit https://github.com/flutter/flutter/pull/69067.
Not sure why a tools commit would result in a vsync transitions regression, though.
Including both engine and tools for triage.

Could also be https://github.com/flutter/engine/pull/22118; there are other regressions around this roll.

https://github.com/flutter/flutter/pull/69237 did not appear to help. /cc @jonahwilliams

Seems like the same problem discussed in https://github.com/flutter/flutter/issues/69205#issuecomment-720641300

Duplicate of https://github.com/flutter/flutter/issues/69205


docker run fails

in https://github.com/EOSIO/eos/blob/master/Docker/README.md there is an instruction that fails:
docker run --name nodeos -p 8888:8888 -p 9876:9876 -t eosio/eos nodeosd.sh arg1 arg2
the error it generates is:

docker: Error response from daemon: OCI runtime create failed: container_linux.go:348: starting container process caused "exec: "nodeosd.sh": executable file not found in $PATH": unknown.

arguably arg1 arg2 are merely exemplary but without them it fails all the same since the script is not found

not surprisingly, the docker-compose up fails in the same manner

rather curiously, if I try to inspect the contents of the image:
docker run --rm --name nodeos -t eosio/eos /bin/sh
the command:
# ls
just hangs.  something else is going on here

however, this shows the file isn't there:
docker run --rm --name nodeos -t eosio/eos ls /opt/eosio/bin

cleos	  eosio-abigen	  eosio-s2wasm	eosiowd  start_nodeos.sh
data-dir  eosio-launcher  eosiocpp	nodeos

ah.  in comparing start_nodeos.sh with the nodeosd.sh found in the build directory, I see they're the same.  I don't understand how the file got renamed since the Dockerfile clearly doesn't rename it, but as a fix, we can just fix the documentation to use the correct file name
when I run:
docker run --rm --name nodeos -t eosio/eos start_nodeos.sh
I get something like:

328432ms thread-0   chain_plugin.cpp:93           plugin_initialize    ] initializing chain plugin
328432ms thread-0   http_plugin.cpp:141           plugin_initialize    ] host: <IP_ADDRESS> port: 8888
328432ms thread-0   http_plugin.cpp:144           plugin_initialize    ] configured http to listen on <IP_ADDRESS>:8888
328432ms thread-0   wallet_plugin.cpp:37          plugin_initialize    ] initializing wallet plugin
328432ms thread-0   wallet_api_plugin.cpp:112     plugin_initialize    ]

                              *

--   Wallet NOT on localhost  -- *

Password and/or Private Keys - *

are transferred unencrypted. - *

                              *

which seems much happier.  the docker-compose.yml will also need to be fixed

the instructions also include:
alias cleos='docker-compose exec walletd /opt/eosio/bin/cleos -H nodeos'
cleos get info

but that fails too, with:

ERROR: No such service: walletd_1

sigh...  the docker-compose.yml contains the section:
  walletd:
    image: eosio/eos
    command: /opt/eosio/bin/eosiowd
    links:
      - nodeos
    volumes:
      - walletd-data-volume:/opt/eosio/bin/data-dir

so the exec wallet would run that section, creating a container named walletd_1, execute the binary /opt/eosio/bin/cleos (I verified it's there) passing it the parameters -H nodeos... but the container never gets started
any help would be appreciated

this should fix it: github.com/EOSIO/eos/pull/1878 - I'll let someone else close it once the PR has been accepted

docker rmi eosio/builder
cd eos/Docker/builder && docker build . -t eosio/builder
cd eos/Docker && docker-compose up -d

as you can see from this issue, I simply followed the instructions on the page: https://github.com/EOSIO/eos/blob/master/Docker/README.md and ran into the trouble I've described.  if the 3 steps you indicate are necessary for the README to work, then the document should be edited


feat(wmg): Users need a way to assess the strength of marker genes.

FMG’s users need a way to know how good the marker genes shown are. Currently it is very hard for a user to make a good assessment. The marker score is a quantitative measure that can be used to this goal, but without a sense of the range then it is difficult to do so.
Figma

@pablo-gar How would you expect the color scale to be represented per marker gene? Would the color be displayed in the table or would it replace the gene expression color in the dot plot?

Was something like this what was in mind?

https://images.zenhubusercontent.com/228681195/35d3dd33-1403-47da-a5a6-884ca5b53268/marker_genes_strength.mov

Hey! Thanks for working on this!!
A) Is it possible to reduce the spacing between the gene / marker score
header row and the marker legend + copy button row? Not sure what it's set
to right now on your end (right photo), but it's showing 4px for my Figma
designs (left photo).
B) For the medium 1–2 range, use an en-dash instead of a hyphen please!
[image: image.png]
There are potentially some other notes I have as well, pending our xfn
meeting this afternoon!
On Tue, Feb 21, 2023 at 9:46 AM ashin-czi @.***> wrote:

How does this look? @karenliang0 https://github.com/karenliang0
https://images.zenhubusercontent.com/228681195/35d3dd33-1403-47da-a5a6-884ca5b53268/marker_genes_strength.mov
Still wondering if we were going to still remove the bad marker genes and
limit it to top 25 per the Slack converation?
—
Reply to this email directly, view it on GitHub
https://github.com/chanzuckerberg/single-cell-data-portal/issues/4087#issuecomment-1438874604,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AUYD24O7HKDESQ5BUYRTCY3WYT5RBANCNFSM6AAAAAAULUJBYE
.
You are receiving this because you were mentioned.Message ID:
@.***>

decided that a new ticket would be created to remove bad marker genes and limit to top 25 genes


Check if lightbox.js can be exlcuded from the repo

The lightbox javascript library (lightbox.js and lightbox.css) is currently located at virocon/static/javascript .
If we did make adjustments to it we could load it from the web.
Please check if this is possible and if it is possible load it from the web such that our repository becomes more lightweight and only includes code written by us.

Done and merged into master.


Roll Flutter Engine from 33d932efc68e to 7e7a8a8b08ff (1 revision)

https://github.com/flutter/engine/compare/33d932efc68e...7e7a8a8b08ff
2023-02-03<EMAIL_ADDRESS>[impellerc] sort uniforms on metal backend  (flutter/engine#39366)
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC bdero@google.com,rmistry<EMAIL_ADDRESS>on the revert to ensure that a human
is aware of the problem.
To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose
To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md

Commit queue failed; closing this roll.


Update pen-tests.vue to add IncludeSec

IncludeSec's team has been performing SOC2 related testing since 2011. We have performed thousands of assessments for hundreds of clients in the US. Reach out to info [at sign] includesecurity.com if you need to get in contact with us. Thanks to Warren and Rhosys team for maintaining soc2.fyi!

Thanks! merging this in.


Upgrade cert manager

Let's Encrypt will block all traffic from cert manager in older versions link.
We need to update our fork and we need to make sure our version doesn't break when LE blocks the traffic.
Long term we need to get away from our CM fork, and instead use upstream with webhook for LE challenge.

Nov 1st is when LE blocks traffic.

We are currently one commit ahead of https://github.com/jetstack/cert-manager/commit/b030b7eb4865adf031b0ad92c6b44576dec14d4e on our branch.
This means we just about even with v0.11 of cert-manager.
We are not in danger of Let's Encrypt breaking but we may still want to keep this open to try and move off our own fork.

I think the best way for me to verify this is to wait until November 1st and create new services with rio. They should all have valid Let's Encrypt certificates. Will test on Friday.

This appears not to be an issue in v0.6.0-alpha.2. New certificate issued today is verified by Let's Encrypt.


docker: log image pull time

By default, we don't log image pull lines, buffering them and only logging
them when an image pull fails. This results in weird timestamps though: all
the image pull lines are logged after the failure, making it look like
the image pull was nearly instantaneous, which for very large images it is
not.
We probably do this to keep down on log noise, which is reasonable. Let's
add one more line with the actual elapsed time in the failure case so that
it's more obvious when debugging how long this took.

I'm still investigating how we can surface a reasonable error here (and elsewhere) when things fail due to stuff like this, but it seams like that'll be a larger change. At least this will help us debug such cases in the meantime.

I dunno. If there are any metrics about this they might end up slightly weird, since we care about the error path too. The patch looks something like this:
diff --git a/executor/runtime/docker/docker.go b/executor/runtime/docker/docker.go
index 3143ffdf..3fd2f79b 100644
--- a/executor/runtime/docker/docker.go
+++ b/executor/runtime/docker/docker.go
@@ -640,11 +640,12 @@ func (r *DockerRuntime) DockerPull(ctx context.Context, c runtimeTypes.Container
        r.metrics.Counter("titus.executor.dockerImagePulls", 1, nil)
        logger.Infof("DockerPull: pulling image")
        pullStartTime := time.Now()
-       if err := pullWithRetries(ctx, r.cfg, r.metrics, r.client, c.QualifiedImageName(), doDockerPull); err != nil {
+       err := pullWithRetries(ctx, r.cfg, r.metrics, r.client, c.QualifiedImageName(), doDockerPull)
+       r.metrics.Timer("titus.executor.imagePullTime", time.Since(pullStartTime), c.ImageTagForMetrics())
+       if err != nil {
                tracehelpers.SetStatus(err, span)
                return nil, err
        }
-       r.metrics.Timer("titus.executor.imagePullTime", time.Since(pullStartTime), c.ImageTagForMetrics())
        return nil, nil
 }

which would catch everything that fails, even if a user typos something, etc. I suppose we could check to see if the context is cancelled, and log only then too, but that also feels like we're lying since the image wasn't really successfully downloaded. Maybe that would be easier to detect though? I don't know how that metric is surfaced.

I don't exactly understand what you are saying, but maybe we just need more logging in different places.
The outer log should be info/warn about the overall sucess/fail of the pull.
The inter log can be debug about the exact pull attempt?

I don't exactly understand what you are saying

I'm just worried if we include the error path we'll skew titus.executor.imagePullTime incorrectly.

maybe we just need more logging in different places.

Yes, I think this is what the patch does.

The inter log can be debug about the exact pull attempt?

Right now we log the docker API's output when the thing fails in this inner log, which is lots of lines (think mostly useless progress bars, since the timestamps aren't right). This adds one more line to that inner logging with an explicit duration to hopefully trigger peoples' memories that the timestamps associated with the logs are wrong because of the buffering.


Quicksight based construct to dashboard data from the data lake

Quicksight as code:

Create datasets
Use templates
Provision analyses, dashboards
Dataset refresh schedule
...

Reference:
https://github.com/aws-samples/amazon-quicksight-assets-as-code-sample
https://github.com/gmournos/quicksight-as-code

I know @asenousy also worked on it. If you have any advice, let us know.

hello
interested by this feature, let me know if there is already a branch with draft code related. I saw the quicksight branch having code about subscription creation, which is related to another issue :)


export SamplerPubResult in qiskit.primitives module

Summary
Not sure if this was intentionally left out. If so, feel free to close.
Details and comments

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

0 of 0   changed or added relevant lines in 0 files are covered.
21 unchanged lines in 3 files lost coverage.
Overall coverage decreased (-0.02%) to 89.623%

Files with Coverage Reduction
New Missed Lines
%

qiskit/transpiler/passes/synthesis/unitary_synthesis.py
2
88.2%

crates/qasm2/src/lex.rs
7
91.86%

crates/qasm2/src/parse.rs
12
97.15%

Totals

Change from base Build<PHONE_NUMBER>:
-0.02%

Covered Lines:
62302

Relevant Lines:
69516

💛  - Coveralls


Fix tools GDScript export default value type not matching actual type

Partially fixes #66791 (only partially since there seems to be multiple issues)
This fixes the default value for a tools export being stored as the wrong type when the type annotation doesn't match the primitive type. E.g:
export var test: int = 3.5 // Float being set for int type
export var test2: float = 3 // Int being set for float type
export var test3: bool = 2 // Int being set for bool type

I checked out the 3.5 branch to see how it was handling this, which is by converting the default value before storing it:
/* 3.5 branch */

Variant::Type default_value_type = c->variables[i].default_value.get_type();
Variant::Type export_type = c->variables[i]._export.type;

// Convert the default value to the export type to avoid issues with the property editor and scene serialization.
// This is done only in the export side, the script itself will use the default value with no type change.
if (default_value_type != Variant::NIL && default_value_type != export_type) {
	Variant::CallError ce;
	const Variant *args = &c->variables[i].default_value;
	member_default_values_cache[c->variables[i].identifier] = Variant::construct(export_type, &args, 1, ce);
} else {
	member_default_values_cache[c->variables[i].identifier] = c->variables[i].default_value;
}

And so I just ported that over.
Testing notes
See #66791 for a reproduction project. The variations to test are int, float and bool (Are there any others?).
You'll also need to test around some of the other issues with tools scripts (mentioned in #66791). Reloading the scene a couple times should be enough

Fixed by #69416


Dynamic Bi-directional RNN vs Dynamic RNN.- Not working as expected.

I am trying to use Bidirectional RNN and pass the output through a CNN for text classification. However, I am getting all sorts of shape errors with bidirectional RNN. Although, If I use two dynamic rnn with reverse op in the second layer, it appears to work fine:
Here is bidirectional RNN code that DOES NOT work for me:
    # Bidirectional LSTM layer
    with tf.name_scope("bidirectional-lstm"):
        lstm_fw_cell = tf.nn.rnn_cell.BasicLSTMCell(hidden_size, forget_bias=1.0)
        lstm_bw_cell = tf.nn.rnn_cell.BasicLSTMCell(hidden_size, forget_bias=1.0)

        self.lstm_outputs, _ = tf.nn.bidirectional_dynamic_rnn(
            lstm_fw_cell,
            lstm_bw_cell,
            self.embedded_chars,
            sequence_length=self.seqlen,
            dtype=tf.float32)
        self.lstm_outputs = tf.concat(self.lstm_outputs, axis=2)

Here is the two layer dynamic rnn that DOES work for me:
  # Bidirectional LSTM layer
    with tf.name_scope("bidirectional-lstm"):
        lstm_fw_cell = tf.nn.rnn_cell.BasicLSTMCell(hidden_size, forget_bias=1.0)
        lstm_bw_cell = tf.nn.rnn_cell.BasicLSTMCell(hidden_size, forget_bias=1.0)
    with tf.variable_scope("lstm-output-fw"):
        self.lstm_outputs_fw, _ = tf.nn.dynamic_rnn(
            lstm_fw_cell,
            self.embedded_chars,
            sequence_length=self.seqlen,
            dtype=tf.float32)

    with tf.variable_scope("lstm-output-bw"):
        self.embedded_chars_rev = array_ops.reverse_sequence(self.embedded_chars, seq_lengths=self.seqlen, seq_dim=1)
        tmp, _ = tf.nn.dynamic_rnn(
            lstm_bw_cell,
            self.embedded_chars_rev,
            sequence_length=self.seqlen,
            dtype=tf.float32)
        self.lstm_outputs_bw = array_ops.reverse_sequence(tmp, seq_lengths=self.seqlen, seq_dim=1)

    Concatenate outputs
    self.lstm_outputs = tf.add(self.lstm_outputs_fw, self.lstm_outputs_bw, name="lstm_outputs")

I am passing the output of this to CNN and error occurs when computing the
Here is the rest of the code:
Convolution + maxpool layer for each filter size
    pooled_outputs = []
    for i, filter_size in enumerate(filter_sizes):
        with tf.name_scope("conv-maxpool-%s" % filter_size):
            # Convolution Layer
            filter_shape = [filter_size, hidden_size, 1, num_filters]
            W = tf.Variable(tf.truncated_normal(filter_shape, stddev=0.1), name="W")
            b = tf.Variable(tf.constant(0.1, shape=[num_filters]), name="b")

            conv = tf.nn.conv2d(
                self.lstm_outputs_expanded,
                W,
                strides=[1, 1, 1, 1],
                padding="VALID",
                name="conv")

            # Apply nonlinearity
            h = tf.nn.relu(tf.nn.bias_add(conv, b), name="relu")

            # Maxpooling over the outputs
            pooled = tf.nn.max_pool(
                h,
                ksize=[1, sequence_length - filter_size + 1, 1, 1],
                strides=[1, 1, 1, 1],
                padding='VALID',
                name="pool")
            pooled_outputs.append(pooled)

    # Combine all the pooled features
    num_filters_total = num_filters * len(filter_sizes)
    self.h_pool = tf.concat(axis=3, values=pooled_outputs)
    self.h_pool_flat = tf.reshape(self.h_pool, [-1, num_filters_total])

    # Dropout layer
    with tf.name_scope("dropout"):
        self.h_drop = tf.nn.dropout(self.h_pool_flat, self.dropout_keep_prob)

        # Final (unnormalized) scores and predictions
        with tf.name_scope("output"):
            # Standard output weights initialization
            W = tf.get_variable(
                "W",
                shape=[num_filters_total, num_classes],
                initializer=tf.contrib.layers.xavier_initializer())
            b = tf.Variable(tf.constant(0.1, shape=[num_classes]), name="b")

            # # Initialized output weights to 0.0, might improve accuracy
            # W = tf.Variable(tf.constant(0.0, shape=[num_filters_total, num_classes]), name="W")
            # b = tf.Variable(tf.constant(0.0, shape=[num_classes]), name="b")

            l2_loss += tf.nn.l2_loss(W)
            l2_loss += tf.nn.l2_loss(b)

            self.scores = tf.nn.xw_plus_b(self.h_drop, W, b, name="scores")

            self.predictions = tf.argmax(self.scores, 1, name="predictions")

        # Calculate mean cross-entropy loss
        with tf.name_scope("loss"):
            losses = tf.nn.softmax_cross_entropy_with_logits(logits=self.scores, labels=self.input_y)
            self.loss = tf.reduce_mean(losses) + l2_reg_lambda * l2_loss

        # Accuracy
        with tf.name_scope("accuracy"):
            correct_predictions = tf.equal(self.predictions, tf.argmax(self.input_y, 1))
            self.accuracy = tf.reduce_mean(tf.cast(correct_predictions, "float"), name="accuracy")

here are the errors I am getting.
During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "train_upgraded.py", line 209, in <module>
    train_step(x_batch, seqlen_batch, y_batch)
  File "train_upgraded.py", line 177, in train_step
    feed_dict)
  File "/home/hemant/anaconda3/envs/tf14/lib/python3.6/site-packages/tensorflow/python/client/session.py", line 889, in run
    run_metadata_ptr)
  File "/home/hemant/anaconda3/envs/tf14/lib/python3.6/site-packages/tensorflow/python/client/session.py", line 1120, in _run
    feed_dict_tensor, options, run_metadata)
  File "/home/hemant/anaconda3/envs/tf14/lib/python3.6/site-packages/tensorflow/python/client/session.py", line 1317, in _do_run
    options, run_metadata)
  File "/home/hemant/anaconda3/envs/tf14/lib/python3.6/site-packages/tensorflow/python/client/session.py", line 1336, in _do_call
    raise type(e)(node_def, op, message)
tensorflow.python.framework.errors_impl.InvalidArgumentError: logits and labels must be same size: logits_size=[7550,2] labels_size=[50,2]
         [[Node: loss/SoftmaxCrossEntropyWithLogits = SoftmaxCrossEntropyWithLogits[T=DT_FLOAT, _device="/job:localhost/replica:0/task:0/device:CPU:0"](loss/Reshape, loss/Reshape_1)]]

Caused by op 'loss/SoftmaxCrossEntropyWithLogits', defined at:
  File "train_upgraded.py", line 87, in <module>
    l2_reg_lambda=FLAGS.l2_reg_lambda)
  File "/media/hemant/MVV/MyValueVest-local/learning/Initial Embeddings/STEP 2 lstm-context-embeddings-master/model_upgraded.py", line 138, in __init__
    losses = tf.nn.softmax_cross_entropy_with_logits(logits=self.scores, labels=self.input_y)
  File "/home/hemant/anaconda3/envs/tf14/lib/python3.6/site-packages/tensorflow/python/ops/nn_ops.py", line 1783, in softmax_cross_entropy_with_logits
    precise_logits, labels, name=name)
  File "/home/hemant/anaconda3/envs/tf14/lib/python3.6/site-packages/tensorflow/python/ops/gen_nn_ops.py", line 4364, in _softmax_cross_entropy_with_logits
    name=name)
  File "/home/hemant/anaconda3/envs/tf14/lib/python3.6/site-packages/tensorflow/python/framework/op_def_library.py", line 787, in _apply_op_helper
    op_def=op_def)
  File "/home/hemant/anaconda3/envs/tf14/lib/python3.6/site-packages/tensorflow/python/framework/ops.py", line 2956, in create_op
    op_def=op_def)
  File "/home/hemant/anaconda3/envs/tf14/lib/python3.6/site-packages/tensorflow/python/framework/ops.py", line 1470, in __init__
    self._traceback = self._graph._extract_stack()  # pylint: disable=protected-access

InvalidArgumentError (see above for traceback): logits and labels must be same size: logits_size=[7550,2] labels_size=[50,2]
         [[Node: loss/SoftmaxCrossEntropyWithLogits = SoftmaxCrossEntropyWithLogits[T=DT_FLOAT, _device="/job:localhost/replica:0/task:0/device:CPU:0"](loss/Reshape, loss/Reshape_1)]]
During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "train_upgraded.py", line 209, in <module>
    train_step(x_batch, seqlen_batch, y_batch)
  File "train_upgraded.py", line 177, in train_step
    feed_dict)
  File "/home/hemant/anaconda3/envs/tf14/lib/python3.6/site-packages/tensorflow/python/client/session.py", line 889, in run
    run_metadata_ptr)
  File "/home/hemant/anaconda3/envs/tf14/lib/python3.6/site-packages/tensorflow/python/client/session.py", line 1120, in _run
    feed_dict_tensor, options, run_metadata)
  File "/home/hemant/anaconda3/envs/tf14/lib/python3.6/site-packages/tensorflow/python/client/session.py", line 1317, in _do_run
    options, run_metadata)
  File "/home/hemant/anaconda3/envs/tf14/lib/python3.6/site-packages/tensorflow/python/client/session.py", line 1336, in _do_call
    raise type(e)(node_def, op, message)
tensorflow.python.framework.errors_impl.InvalidArgumentError: logits and labels must be same size: logits_size=[7550,2] labels_size=[50,2]
         [[Node: loss/SoftmaxCrossEntropyWithLogits = SoftmaxCrossEntropyWithLogits[T=DT_FLOAT, _device="/job:localhost/replica:0/task:0/device:CPU:0"](loss/Reshape, loss/Reshape_1)]]

Caused by op 'loss/SoftmaxCrossEntropyWithLogits', defined at:
  File "train_upgraded.py", line 87, in <module>
    l2_reg_lambda=FLAGS.l2_reg_lambda)
  File "/media/hemant/MVV/MyValueVest-local/learning/Initial Embeddings/STEP 2 lstm-context-embeddings-master/model_upgraded.py", line 138, in __init__
    losses = tf.nn.softmax_cross_entropy_with_logits(logits=self.scores, labels=self.input_y)
  File "/home/hemant/anaconda3/envs/tf14/lib/python3.6/site-packages/tensorflow/python/ops/nn_ops.py", line 1783, in softmax_cross_entropy_with_logits
    precise_logits, labels, name=name)
  File "/home/hemant/anaconda3/envs/tf14/lib/python3.6/site-packages/tensorflow/python/ops/gen_nn_ops.py", line 4364, in _softmax_cross_entropy_with_logits
    name=name)
  File "/home/hemant/anaconda3/envs/tf14/lib/python3.6/site-packages/tensorflow/python/framework/op_def_library.py", line 787, in _apply_op_helper
    op_def=op_def)
  File "/home/hemant/anaconda3/envs/tf14/lib/python3.6/site-packages/tensorflow/python/framework/ops.py", line 2956, in create_op
    op_def=op_def)
  File "/home/hemant/anaconda3/envs/tf14/lib/python3.6/site-packages/tensorflow/python/framework/ops.py", line 1470, in __init__
    self._traceback = self._graph._extract_stack()  # pylint: disable=protected-access

InvalidArgumentError (see above for traceback): logits and labels must be same size: logits_size=[7550,2] labels_size=[50,2]
         [[Node: loss/SoftmaxCrossEntropyWithLogits = SoftmaxCrossEntropyWithLogits[T=DT_FLOAT, _device="/job:localhost/replica:0/task:0/device:CPU:0"](loss/Reshape, loss/Reshape_1)]]

Nagging Awaiting Response: It has been 14 days with no activityand the awaiting response label was assigned. Is this still an issue?

That was it. Shape issue.


Wip deserialisation refactor

Could we also change the deserialise request function to accept an io.Reader interface to simplify tests?


Setup is run on every boot

Is there any way to prevent this and keeping the setup result ?

I simply use localStorage to save settings, if you get the setup screen on every boot it means there is an issue with how lightdm-webkit2-greeter implements it, sorry but as it is not maintained anymore there is no real solution :/

I see, seems I'll stay with SDDM for now. Thank you for your reply.

I'm using the theme, which by the way, very beautiful congratulations @Litarvan! But here I have no problem with the setup, is running normal, with the settings set.

This issue may happen if you used keyboard instead of clicking on the back button to close the setup screen, if it's was this, then it is fixed in the release.

I'll check, thank you for keeping me updated !


AsgiRequest' object has no attribute '_read_started' (called via tastypie)

{
"error_message": "'AsgiRequest' object has no attribute '_read_started'",
"traceback": "Traceback (most recent call last):
File "/home/pavanv/.virtualenvs/orgzit/local/lib/python2.7/site-packages/tastypie/resources.py", line 219, in wrapper
response = callback(request, *args, **kwargs)
File "/home/pavanv/.virtualenvs/orgzit/local/lib/python2.7/site-packages/tastypie/resources.py", line 459, in dispatch_detail
return self.dispatch('detail', request, **kwargs)
File "/home/pavanv/.virtualenvs/orgzit/local/lib/python2.7/site-packages/tastypie/resources.py", line 481, in dispatch
request = convert_post_to_put(request)
File "/home/pavanv/.virtualenvs/orgzit/local/lib/python2.7/site-packages/tastypie/resources.py", line 2517, in convert_post_to_put
return convert_post_to_VERB(request, verb='PUT')
File "/home/pavanv/.virtualenvs/orgzit/local/lib/python2.7/site-packages/tastypie/resources.py", line 2509, in convert_post_to_VERB
request._load_post_and_files()
File "/home/pavanv/.virtualenvs/orgzit/local/lib/python2.7/site-packages/django/http/request.py", line 249, in _load_post_and_files
if self._read_started and not hasattr(self, '_body'):
AttributeError: 'AsgiRequest' object has no attribute '_read_started'
"
}
This is different from issue #123, since I already have the fix for that in the channels package version I'm running.
Relevant package versions:
Django==1.8.13
channels==0.13.1
django-tastypie==0.13.3

Hmm, technically this is Tastypie accessing internals of the Request object it shouldn't; I'll see if I can work out a way to present _load_post_and_files properly though so this works.

I have the same problem.

@andrewgodwin have you looked further into this issue or will have the bandwidth to do so? This is blocking my application's deployment of web sockets, so it's a high priority issue for us. If it's not possible for you to look into this, I'll try to spend some time on it.

I'm afraid not; I have been focusing on higher priority stuff. You are free to take a look, or keep running HTTP requests via a WSGI server and only send WebSockets to daphne for the meantime.

@pavanv I sent a pull request to Tastypie fixing this issue and they accepted. So you can work with the current stable version, or set daphne to get only websocket connections as @andrewgodwin said.
https://github.com/django-tastypie/django-tastypie/pull/1474

Thanks @MiguelSR. I got it working with your fix to Tastypie.


Recursive accessor

I'm wondering if there's a recursive version of the column accessor (data["temperature"]). I would like to be able to walk the tree of descendants of an item and collect all values associated with a given name.
I tried to achieve that functionality using the Calculist expression language, but I have the impression that recursive function calls are not supported.

Hi @sswatson .
There is a way to construct recursive functions, but it's a bit counter-intuitive, unfortunately. My attempts to implement naturally recursive functions have so far resulted in strange bugs, but I hope to resolve the issues at some point.
For now, the trick is to create partially applied duplicate functions using the lambda function, where one function is passed as the argument to the next. The example below demonstrates this.
f [:] f, x | x > 100 ? x : f(f, x * x)
rf [=] lambda(f, lambda(f))
result [=] rf(3)

I'm not sure how you would use that to collect items in a hierarchy, but there might be other ways to accomplish what you describe. The example below shows how to use the flatten and filter functions to find all the items with the name "x".
root
  first
    attr
      x [=] 1
      x [=] 2
  second
    x [=] 3
get items [=>] items, nm | filter(flatten(items), flow(name, eq(nm)))
[=] join(get_items(root, "x"))

Let me know if that works for you.

Yes, that works great, thanks. I wasn't alert to the possibility of flatten, and that makes things easy.


fixed account length

Fixed CAN account length

resolve https://github.com/canfoundation/can.contracts/issues/12


Demonstrate how to seed the local database

Following  #91
Demonstrate with proper images and commands how to seed the local database.
Assigned to @mhalsubhi

Hey @lelouchB 👋🏼

@lelouchB thank you, I will work on it sometime tomorrow 👍🏼


scapegoatMaxErrors not working

I set the scapegoatMaxErrors value to 1 in my build.sbt to fail the build if there are any errors. I have 5 errors but still the build succeeds.
ThisBuild / scapegoatMaxErrors := 1
addSbtPlugin("com.sksamuel.scapegoat" %% "sbt-scapegoat" % "1.1.0")
scalaVersion := "2.11.8"

Opened in wrong project.


Default scope week.

I have a requirement where I want the default scope as .Week but I’m running into issues.
I have tried setting the scope to .Week in viewDidLoad but it doesn’t work well when I change the calendar scope to .Month.
I’m using autolayout.

Have u implement -calendar:boundingRectWillChange:animated:?

Yes I have.

Can u share your demo which reproduce this via dropbox? There should be problems with the installation of constraints.


Use _pageBindings as a Map

https://github.com/kblok/puppeteer/pull/10/commits/25d7eff37441125b168a2abbf7e78988ed46af2d

It's nodeJS related


Node v5

Any reason here https://github.com/mjohnston/react-native-webpack-server/blob/master/package.json#L39 for using
  "engines": {
    "node": "^4.0.0"
  },

instead of
  "engines": {
    "node": ">=4"
  },

?

No strong reason. I'm not a big fan of over-restrictive version constraints, so I'd be happy with ">=4". Feel free to submit a PR.
Does Node 5 actually work? Afaik Node 5 ships with npm 3 and so far I don't think RN officially supports npm 3. But of course it may work anyway. In any case, Node 4 is an LTS release whereas Node 5 is a "bleeding edge" release (https://nodejs.org/en/blog/community/node-v5/), so Node 4 should remain the strongly recommended version for now IMHO.

Testing it on 5.7 and don't have any issue at the moment ;)

@philikon This can be labeled question or closed.

Thanks! Like I said, happy to entertain a PR that lifts the upper Node version boundary, and perhaps adds Node 5 to the unit test matrix.