Add charter

It would be good to say who is in charge of the board and how decisions get made on what goes on. You know "Lead Openly" =P

It currently says that two NF staff members have to approve posts, and that the board are in control of the process.  Do we need to specify something in addition to that?

It would be good to say who is in charge of the board and how decisions get made on what goes on. You know "Lead Openly" =P

It currently says that two NF staff members have to approve posts, and that the board are in control of the process. Do we need to specify something in addition to that?

Ah sorry, I missed that. I think that works but two NF staff members might be burdensome. I'll let @lsilen determine that.
Thanks for building this system!

Yes, one staff member approving would be best. We could also leave that open by stating -  NumFOCUS staff will be responsible for approving posts.
Can advertising be replaced with promoting to avoid any assumption that there's a cost associated with the benefit of posting for donors?

@lsilen I updated the text to allow for staff to approve.
I prefer "advertise" over "promote", because I don't think we actively promote, but we do give visibility to (advertise).

The final version was reviewed by Leah.


CopyFilePath update stage wrongly treated as failing

Bug Report
System Information

Ubuntu 20.04.3 LTS
AMP Nightly v20220305.1
Nightly

I confirm:

[x] that I have searched for an existing bug report for this issue.
[x] that I am using the latest available version of AMP.
[x] that my operating system is up-to-date.

Symptoms
I have a CopyFilePath update stage in Generic which is set not to overwrite existing files (because it is a base config copy step, for a config that the user may subsequently have added settings to).
{"UpdateStageName":"Config File Copy","UpdateSourcePlatform":"All","UpdateSource":"CopyFilePath","UpdateSourceData":"./xonotic/Xonotic/ServerData/data/server.cfg","UpdateSourceArgs":"./xonoticserver.cfg","OverwriteExistingFiles":false}

I’d expect that when AMP encounters an existing file as the target, it would simply skip the update stage.
Instead, AMP throws an error:
21:45:30] [Generic:admin Debug]  : Running update stage Config File Copy (CopyFilePath)
[21:45:30] [Generic:admin Error]  : Error performing update stage Config File Copy
[21:45:30] [Core:admin Error]     : IOException
[21:45:30] [Core:admin Error]     : [0] (IOException) : Could not create file "/home/amp/.ampdata/instances/Xonotic01/xonotic/Xonotic/ServerData/data/server.cfg". File already exists.
[21:45:30] [Core:admin Error]     :   at IO.FileStream..ctor (String path, IO.FileMode mode, IO.FileAccess access, IO.FileShare share, Int32 bufferSize, Boolean anonymous, IO.FileOptions options)
  at IO.FileStream..ctor (String path, IO.FileMode mode, IO.FileAccess access, IO.FileShare share, Int32 bufferSize, IO.FileOptions options)
  at (wrapper remoting-invoke-with-check) IO.FileStream..ctor(string,IO.FileMode,IO.FileAccess,IO.FileShare,int,IO.FileOptions)
  at IO.FileCopyFile (String sourceFullPath, String destFullPath, Boolean overwrite)
  at IO.File.Copy (String sourceFileName, String destFileName, Boolean overwrite)
  at IO.File.Copy (String sourceFileName, String destFileName)
  at GenericModule.GenericApp.PerformUpdateStage (GenericModule.GenericModuleConfig+UpdateSourceInfo Stage)
  at GenericModule.GenericApp+<>c__DisplayClass77_0.<Update>b__0 ()

Aside from being an inappropriate response, this is an issue because then any subsequent update stage is also not run.
Reproduction

As per above.

What is OverwriteExistingFiles set to?

Looks like it was a bug in how it decides whether to overwrite or not, fixed now.


Local application and function builds

For application and function create calls with --local-path, we use pack
to build and publish the container from local source before creating the
application or function resource.
The created application/function will not have a Source field in the
spec. The image is resolved to a digest by the riff system controller.
This PR uses mockery to mock the pack client for tests. Use of the mock
is limited to the few tests that use pack. We can swap to a different
mock/stub library in the future.

We may not ultimately want to support local builds vs builds from local source. In either case, this PR is interesting as to how something like pack would integration into the new cli model.

Merging to unblock further updates to riff-system


Pure localization in the voxblox map created by Kimera-Semantics

I am able to generate a 3d semantic mesh (.ply) file using Realsense using Kimera VIO and Kimera Semantics. I am not sure if this issue belongs here, but I have few questions.

I am not sure how can I do only localization in the map that I created. Currently everytime I run the kimera pipeline it generates the map from scratch, is there a way I can use the map that I have already built (like only localization mode in RTAB-Map)?
Is there any way I can extract local map while localization? Per frame mesh from Kimera-Mesher is present but it doesn't seem accurate enough.

Any help or suggestions would be helpful. Thanks in advance.

We don't at this time have relocalization tools in Kimera-VIO or Kimera-Semantics, so this would be a bit of work to get going.
We don't have any API to save the Kimera-Mesher per-frame-mesh to disk as it's not accurate enough for any real use, as you noted. It's meant more for fast applications (e.g., obstacle avoidance). The dense global map can be saved using voxblox tools; there is a rosservice you can call from command line or programmatically. This will not be the local map though. Example:

rosservice call /kimera_semantics_node/generate_mesh "{}"

Accidental close


How to import RSS youtube channels?

Currently, it is not possible to import RSS YouTube channels in (gtk-)youtube-viewer.
However, if you log in, using the OAuth 2.0 authentication mechanism, you will be able to access your subscriptions.


[SC-306] lambda docker runner product

Create a SC product to allow users to provision a lambda that will
run a docker container manually or on a schedule.
depends on https://github.com/Sage-Bionetworks/aws-infra/pull/281 https://github.com/Sage-Bionetworks-IT/organizations-infra/pull/129

We are replacing this implementation with PR 264


Use sub claim in README to load resource

In the above example, the serializer is designed to only take input from the sub field. While you could also implement a pattern to load a resource from the full claim set, I think this is the intended and most common way.

This would be a breaking change. See the Guardian.Plug.LoadResource plug.
Can you give an example of when the full claims would be useful? I'm pretty open if there's a good use case. We'd need to work out a way to move forward with such a change.

I'm not sure what you think I'm proposing we change. I was just correcting what I thought was a documentation issue. Your example serializer depends on only the sub being passed in instead of the full claim.

The current fom_token method doesn't expect the claims, only the entry in the sub field. If you look at the load resource plug:
case Guardian.serializer.from_token(Dict.get(claims, "sub")) do

The sub field is the only one that is passed along. The example in the readme is correct for how the library works at the moment.

Doh! I totally read this in reverse. Thanks for the patience explaining it!


Ci

We will reuse similar settings (path etc.) for regression tests, but this isn't needed for now


CancellationToken is not correctly passed to the query context.

The CancellationToken that that is passed into the executor is not added to the QueryContext and this has no effect.
https://github.com/ChilliCream/hotchocolate/blob/a573d1896894093dcd35ee6347542cd39025420c/src/Core/Core/Execution/QueryExecutor.cs#L46

This issue is fixed with 10.1.1.
https://github.com/ChilliCream/hotchocolate/releases/tag/10.1.1


✨ Introducing rhino.fi

Hey @nicob21 thanks for your contribution, can you please fix the linter? (npm run lint --fix or yarn lint --fix)

@0xlny sure, just done it

Thanks @0xlny
How can we set the background image of our card?


speed up KNN by bitset

Codecov Report

Merging #257 (67d603b) into master (972e98d) will decrease coverage by 0.01%.
The diff coverage is 88.23%.

@@            Coverage Diff             @@
##           master     #257      +/-   ##
==========================================
- Coverage   70.76%   70.74%   -0.02%
==========================================
  Files          41       41
  Lines        7418     7438      +20
==========================================
+ Hits         5249     5262      +13
- Misses       1664     1669       +5
- Partials      505      507       +2

Impacted Files
Coverage Δ

master/tasks.go
38.47% <88.23%> (+1.98%)
:arrow_up:

master/task_manager.go
88.23% <0.00%> (-3.68%)
:arrow_down:

Continue to review full report at Codecov.

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


Fix build validation warnings

Validation warnings:
        background-sync.md: missing required property "mdn_url"
        ....
        webgl-2.md: missing caniuse_ref

Most of the warnings can't be fixed, because what's missing actually doesn't exist (for example, there isn't a MDN page for the Background Sync API).
It's useful to keep the warnings anyway because we can periodically check if we can fix some of them.
I've fixed one with #410.

Also fixed another with #411.


Add hook for reading transition pending status

This hook exposes the useTransition's pending state.
Pending will be true only while a navigation is suspended (concurrent mode).
It's useful for implementing slim progress bars (like YouTube or GitHub) and other global loading indicators.

No longer needed since https://github.com/ReactTraining/react-router/commit/192d6a61a9e7d6b13643cd08f6080436abcf1775


Fixed rules in eslintrc and fixed violations

What did you implement:
Rules defined in the .eslintrc were incorrect and it was not possible to run linter with no errors.

How did you implement it:
Changed rules in .eslintrc to correspond with the ones in the framework.

How can we verify it:
Run linter by npm run lint and see no errors/warnings.

Todos:

[] Write documentation (if required)
[X] Fix linting errors
[X] Enable "Allow edits from maintainers" for this PR
[X] Update the messages below

Is this ready for review?: YES
Is it a breaking change?: NO

@RadoslawZambrowski prefix in PR's title (fix) is missing


Example code missing

Note that the usage guidance for the SitePatchInfo parameter states "see example," where there is no actual example, nor is there a link to any example.
Example code for the SDK is frustratingly limited. Simple and common tasks, such as uploading and installing a third-party TLS certificate, aren't covered, leaving us to resort to guesswork and decompilation of the SDK binaries simply to try to figure out what's going on.
For example, I'm just now winding down my third full day of writing a mere few lines of code that should have taken only an hour or so.
Unfortunately, the state of usage guidance for the SDK is abysmal. Much improvement is sorely needed.

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

ID: 86fed4a9-1099-d649-cb54-2537786300ac
Version Independent ID: a74357e8-8731-116f-9b3e-c8eab6823a71
Content: WebSiteResource.Update(SitePatchInfo, CancellationToken) Method (Azure.ResourceManager.AppService) - Azure for .NET Developers
Content Source: xml/Azure.ResourceManager.AppService/WebSiteResource.xml
Service: azure
GitHub Login: @rloutlaw
Microsoft Alias: routlaw

Very good, thank you.

What is the SDK equivalent of this REST API?
Unfortunately, the SDK is so poorly documented that—after two full days of digging—I finally have to ask.

This need service team to fix the document.


Improvement :modify the program to take user input

          Improvement :modify the program to take user input

Originally posted by @brundabharadwaj in https://github.com/codinasion/program/pull/7021#discussion_r1148599477

I am seeing multiple issues with this same theme. Was it intentional? Also is there any specific files I need to fix or should I look through all the programs?

I am seeing multiple issues with this same theme. Was it intentional? Also is there any specific files I need to fix or should I look through all the programs?

Yes , It was intentional so that anyone can utilize as tagged with good-first-issue.
You can find the file details by looking into the closed issue. (specifically in this case it's https://github.com/codinasion/program/pull/7021#discussion_r1148599477)

Hey @brundabharadwaj, it will be better if we can specify the file to edit in the issue itself and also add the language label with the good first issue label while creating an issue like this
👉🏻 Update https://github.com/codinasion/program/blob/master/program/convert-decimal-to-octal/ConvertDecimalToOctal.cs
👉🏻 Label: C#


Rename Visual Studio Code.app to VSCode.app

Rename Visual Studio Code.app to VSCode.app build. It seems difficult to find in the Spotlight search(macOS) every time searching VSCode

@deepak1556 Maybe there's a way to let Spotlight know of the VSCode expression?


Resolve merge conflicts with #7050

Codecov Report

Merging #7094 (5d456dd) into dev (ae43a8f) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##               dev     #7094   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files           17        17
  Lines          699       699
=========================================
  Hits           699       699

Continue to review full report at Codecov.

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

Bleed PR still looks good: https://jsfiddle.net/bigtimebuddy/0z4k3cd7/ 👍
#7050 is broken, not sure why this was merged:
https://jsfiddle.net/ShukantPal/rLpnd01q/
This PR, however, produces the same result:
https://jsfiddle.net/bigtimebuddy/g20ynruz/
I'm going to merge this, and @SukantPal can figure what's wrong with #7050.


Add the ability to fetch tiles in parallel

Fetching the web tiles can take a long time when there are many to download.
Would it be possible to do multiple tile requests in parallel using the multiprocessing module?

Thanks for the response! So I'm using contextily to generate static maps from a web api that has high bandwidth. I agree that most of the time is spent on I/O latency.

I have actually been considering making a pull request for this exact functionality. I've been playing around with it in another project, and for large files it can make a rather big difference. The optimal number of parallel downloads differ quite a bit from endpoint to endpoint, but 8-16 is normally a good range. The code below can be used as a drop-in replacement for the for loop:
def bounds2img(
        w, s, e, n, zoom="auto", source=None, ll=False, wait=0, max_retries=2, num_parallel_tile_downloads=8
):
.
.
.
    # download and merge tiles
    # tiles = []
    # arrays = []
    # for t in mt.tiles(w, s, e, n, [zoom]):
    #     x, y, z = t.x, t.y, t.z
    #     tile_url = provider.build_url(x=x, y=y, z=z)
    #     image = _fetch_tile(tile_url, wait, max_retries)
    #     tiles.append(t)
    #     arrays.append(image)
    from joblib import Parallel, delayed  # This should go to the top of the file
    tiles = list(mt.tiles(w, s, e, n, [zoom]))
    tile_urls = [provider.build_url(x=tile.x, y=tile.y, z=tile.z) for tile in tiles]
    max_num_parallel_tile_downloads = 32
    # Note: num_parallel_tile_downloads is currently an argument in the function
    if num_parallel_tile_downloads < 1 or num_parallel_tile_downloads > max_num_parallel_tile_downloads:
        raise ValueError(
            f"num_parallel_tile_downloads must be between 1 and {max_num_parallel_tile_downloads}"
        )
    arrays = \
        Parallel(n_jobs=num_parallel_tile_downloads, prefer="threads")(
            delayed(_fetch_tile)(tile_url, wait, max_retries) for tile_url in tile_urls)

    merged, extent = _merge_tiles(tiles, arrays)
.
.
.

I just tested it in the intro_guide.ipynb notebook by downloading the ghent image in the Coordinate-based searches section, with the following code:
west, south, east, north = (
    3.616218566894531,
    50.98912458110244,
    5.8483047485351562,
    54.13994019806845
             )
import time
start_time = time.time()
ghent_img, ghent_ext = cx.bounds2img(west,
                                     south,
                                     east,
                                     north,
                                     ll=True,
                                     zoom=10,
                                     source=cx.providers.Stamen.Toner,
                                     num_parallel_tile_downloads=8
                                    )
print(f"Download time: {time.time() - start_time}")
ghent_img.shape

Note that I had to out-comment the @memory.cache decorator for the _fetch_tile function during the test.
The shape of the image was (7680, 3584, 4), and the download times were:
num_parallel_tile_downloads=1:   69.49s
num_parallel_tile_downloads=2:   36.11s
num_parallel_tile_downloads=4:   18.32s
num_parallel_tile_downloads=8:     9.55s
num_parallel_tile_downloads=16:   5.02s
num_parallel_tile_downloads=32:   2.92s
I don't think there should be any downside to always do it in parallel (the overhead should be minimal), as long as the number of parallel downloads don't bomb the endpoint. A default value of 16 is a good starting point in my experience, with the different endpoints I've tested. That normally gives almost linear improvements. Above that, it differs quite a bit.
That ended up being quite a bit of text. Hopefully it's useful :wink:
Let me know if you would like a pull request with the change :+1:

Just made a couple more tests with smaller images:
At zoom=9 the shape was (2048, 1024, 4) and download times were:
num_parallel_tile_downloads=1: 5.38s
num_parallel_tile_downloads=16: 0.50s
At zoom=7 the shape was (512, 512, 4) and download times were:
num_parallel_tile_downloads=1: 0.69s
num_parallel_tile_downloads=16: 0.17s (there's only 4 tiles so in practice we only do 4 parallel downloads)

This solution looks very nice Jacob! My vote would be to create a PR and get it into a release ... if that counts.
If not, what are the options to use it from my app? I have a devops pipeline that builds a docker image containing the app.
I don't experience with creating forks or applying patches.

Thanks Jacob.
I monkey patched your original solution and it seems to be working well. I haven't encountered any memory issues but the number of api requests has been light so far.

Closed by #217


Update s3-utils to 0.1.166 in scala-steward-dependencies

About this PR
📦 Updates uk.gov.nationalarchives:s3-utils from 0.1.105 to 0.1.166
📜 GitHub Release Notes - Version Diff
Usage
✅ Please merge!
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

⚙ Adjust future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "uk.gov.nationalarchives", artifactId = "s3-utils" } ]

Or, add this to slow down future updates of this dependency:
dependencyOverrides = [{
  pullRequests = { frequency = "30 days" },
  dependency = { groupId = "uk.gov.nationalarchives", artifactId = "s3-utils" }
}]

labels: library-update, early-semver-minor, semver-spec-patch, commit-count:1

Superseded by #37.


Labels tests and post rebase

test: labels tests
This is after rebase of our fork from influxdata/influxdb
Closes #
Describe your proposed changes here.

[ ] CHANGELOG.md updated with a link to the PR (not the Issue)
[ ] Well-formatted commit messages
[ ] Rebased/mergeable
[ ] Tests pass
[ ] http/swagger.yml updated (if modified Go structs or API)
[ ] Documentation updated or issue created (provide link to issue/pr)
[ ] Signed CLA (if not already signed)

Would love to see these passing in e2e but currently not seeing them.

These tests are running under the bonitoo circleci account
e2e
https://circleci.com/gh/bonitoo-io/influxdb/456
additional tests
Go Test
https://circleci.com/gh/bonitoo-io/influxdb/457
JS Test
https://circleci.com/gh/bonitoo-io/influxdb/458
Build
https://circleci.com/gh/bonitoo-io/influxdb/459


The best possible way would be dispatching a failure event and rejecting the promise when the failure event fires.

fixed. failure event now available.


Return immediately

Trivial changes, without extra variables

I personally prefer the style of only returning singular variables instead of expressions.  Returning a singular variable makes functions easier to debug because one can insert a single print/log line without splitting the return and the expression that generates the returned value.  It also more explicitly declares the meaning of the value returned rather than having to guess the value only based on the return expression and function name.
The change of selfs -> self is good.

@Stranger6667 I am fine with the consolidation effort here to reduce trivial execution lines. It does come at the cost of some readability but I think it's minor.

@Stranger6667 Thanks for your contribution to the library. Much appreciated!


Error = TASK: [ironic-install | Install Ironic using pip] *********************

Hi,
Sorry if this is very basic, but I'm receiving the error below after running the command:
ansible-playbook -K -vvv -i inventory/localhost install.yaml -e cleaning=true
I'm setting up a test rig, but stumbling at what seems the most basic level (the installation).
Thank you in advance for any help and suggestions.
Lee.
------------------------------------------8< ----------------------------
failed: [localhost] => {"cmd": "/usr/local/bin/pip install -U /tmp/ironic.git", "failed": true}
msg: stdout: Processing ./ironic.git
Complete output from command python setup.py egg_info:
Installed /tmp/pip-vL02w2-build/pbr-1.3.0-py2.7.egg
[pbr] Generating ChangeLog
error in setup command: 'test_require' must be a string or list of strings containing valid project/version requirement specifiers

:stderr: Command "python setup.py.egg_info" failed with error code 1 in /tmp/pip-vL02w2-build
FATAL: all hosts have already failed -- aborting

I believe we landed the fix for this a few days in the upstream OpenStack repository.  Try cloning or pulling in http://git.openstack.org/cgit/openstack/bifrost and see if that remedies your issue.


Fix ROCm build CI

ROCm build has not been tested properly.

pfnCI, test this please.

Jenkins CI test (for commit e98e71632a97668bdf7f59b2ee7b9769eac12ac3, target branch master) succeeded!

pfnCI, test this please

@kmaehashi cupy.py3.amd still fails, do you know why?

Jenkins CI test (for commit e98e71632a97668bdf7f59b2ee7b9769eac12ac3, target branch master) succeeded!

/test

/test

@leofang I think the test now runs, if you have time could you merge my changes to #3786 and fix the error there as well?

Test script is here: https://github.com/cupy/cupy/blob/6c70391f2ff066699552bdaf8edd87e9003080f6/.pfnci/script.sh#L64-L78

Thanks! Will do!


What should be the Application Type when creating App Insights for multi-component apps?

We have Micro services written in .NET, JAVA, Node.JS, etc. We want to use one App Insights resource for all these Micro services. What should be the type of Application Insights that we should create so that it can be used by all the Micro services written using different programming languages? Should we use General?

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

ID: 66ca899c-40f6-f27d-dcc5-c42bfa3f4dc8
Version Independent ID: ba07be48-c270-ca16-e4b2-64c063018d74
Content: Azure Application Insights support for multiple components, microservices, and containers
Content Source: articles/application-insights/app-insights-monitor-multi-role-apps.md
Service: application-insights
GitHub Login: @mrbullwinkle
Microsoft Alias: mbullwin

General is probably the best approach for your type of application. Under the hood Application Type selection currently doesn't restrict your access to Application Insights monitoring features or lock you into using a specific SDK. When the classic now deprecated overview experience was in place App Type selection would light-up slightly different overview experiences based on what specific functionality that SDK supported. The only other major difference you are likely to notice between App Type selections at the moment is the Getting Started pane experience can vary depending on what you select.

@kishoregithub1 It looks like your question has been answered (thank you, @mrbullwinkle !), so we are going to close this thread as resolved but if there are any further questions regarding the documentation, please tag me in your reply and we will be happy to continue the conversation.


ntr: 	normal protein degradation during mitotic M-phase

descendant of
FYPO:0002800	normal protein degradation during vegetative growth
another one I missed... moved term suggestion PMID:16483313 to comment

normal protein degradation during mitosis FYPO:0005410

edit file: c8a3c80b1ab0ad92eff599604216ff22314cb836
release: bc216a53995af2ca206b7dc3a28293bf8f3b978b


Not working on Gigabyte Aero 15 2020

I compiled as specified in the README. When I run the binary it gives me the error Unable to initialize embedded controller; did you forget to use sudo?, even though I used sudo. I'm running Ubuntu 20.04.

Check for a device called ec under the /sys tree. The newer laptops may use a different kernel module.
Ex:
/sys/kernel/debug/ec/ec0/io

There appears to be one, what now?

Does it match that example path in my previous message? If so, can run this and see if you get hex output:
sudo hexdump -C /sys/kernel/debug/ec/ec0/io

Yes, the paths match. The command returned hexdump: /sys/kernel/debug/ec/ec0/io: Operation not permitted

Seems like you have some permission issues going on. Are you able to sudo to root, and then try it as root user?

I tried that too, same thing

You could try booting to an Ubuntu 18.04 live session and see if perhaps something in the newer Ubuntu 20 release is locking down IO devices. I've not tried this utility on Ubuntu 20.

I'll try this later and let you know the results

I was unable to get 18.04 to boot to a live session for some reason..

Out of curiosity I ran ls in the /sys/kernel/debug/ directory and I don't see ec anywhere. Would it be any of these:

If you rebooted you might need to run sudo modprobe ec_sys write_support=1 for that device to show up.

Ah, there it is. I tried running the program again, but same result. Is there a way to debug this?

The steps I'm walking you through is the way to debug this. The program is using the same commands I'm suggesting you run directly at the console. There is no difference. Once you can hexdump the ec0/io file descriptor the program will begin working.
Did you get 18.04 working? I am unsure of which OS you were using in the last screenshot you sent.

I tried upgrading to 20.10 in case that fixed it, but it didn't. No matter what I try I can't get 18.04 to boot. I'm using the same USB drive I used to install 20.04, with a fresh GPT and FAT32 partition. I used unetbootin to write the files from an ISO downloaded from the Ubuntu site. Is there a different tool I should use? I used Rufus to write the 20.04 files but it's not available for Linux.

I don't know what's going on with your 18.04 boot issue, but you could try disabling secureboot in your BIOS, and see if the hexdump command works.

I used a Rufus in a VM and I was able to boot fine, but I was getting a ton of IO errors and couldn't run the modprobe command. I couldn't even launch gedit.

Did you try Ubuntu 20.04 with Secureboot disabled? There's another issue opened today from another Aero user that is using Manjaro with some success, so perhaps check with that person to see if you can figure out what's going on with your Aero.

My understanding is that if I disable secure boot I can't use the nvidia drivers, in which case I might as well have gotten a 'normal' laptop, so I really don't want to do this unless this isn't true in which case I will gladly save myself the hassle of key enrollment since that level of security isn't very necessary for me. I'll definitely take a look at that issue. It also occurred to me that I could possibly install 18.04 to another flash drive and boot from it.

The newer kernels lock down debugfs when secureboot is enabled, so it Ubuntu 20 has a new enough kernel then it probably is causing this. Older Ubuntu's wouldn't have that locked down so that's why I suggested 18.04 or disabling secureboot.

Wawaweewa it's working and blender still sees my GPU! It appears this issue has been resolved.


Possible to send email via SMTP implicit SSL?

I am using DNN v7.3.3. I've tried successfully the following server and port combinations to send emails:
smtp.sendgrid.net:587
smtp.sendgrid.net:25 (or without port)
It looks like using "colon" between server and port works for me.
However, it did not work when I point to port 465. Sorry if I didn't explain myself well about the implicit SSL. Referring to MSDN, it seems that the SmtpClient class from System.Net.Mail only supports the SMTP Service Extension for Secure SMTP over Transport Layer Security as defined in RFC 3207.
Comparatively, an alternate connection method is where an SSL session is established up front before any protocol commands are sent. This connection method is sometimes called SMTP/SSL, SMTP over SSL, or SMTPS and by default uses port 465. This alternate connection method using SSL is not currently supported. (referring this alternate connection as implicit SSL)
Here is a link I found on MSDN with more details:
https://docs.microsoft.com/en-us/dotnet/api/system.net.mail.smtpclient.enablessl?view=netframework-4.7.2
Is it possible to use the alternate connection (implicit SSL) in DNN?
Here is a post on DNN forum https://www.dnnsoftware.com/forums/forumid/108/threadid/543567/scope/posts

@dnnsoftware/tag is there anybody interested in adding the feature ?

As we continue to work towards .NET Core compatibility and managing the footprint of DNN, we need to support the features/functions that are supported by the underlying .NET Architecture.  If a community member wants to try and address this via a PR it will be reviewed, however, the methods to do this require extensive code additions and creates an undue burden for support within the platform when other methods exist for workarounds.


F bug provider

Introduces a bug.py file containing the classes PygitBug and HashBug, as well as functions to work with them. PygitBug Objects represent their introducing/fixing commits by Pygit2 Commit Objects while HashBug Objects represent them as Commit Hashes in strings.

 Here is an overview of what got changed by this pull request:

Complexity increasing per file
==============================
- varats/plots/bug_annotation.py  8
- varats/plots/blame_interaction_degree.py  3
- varats/utils/github_util.py  5
- varats/data/provider/bug/bug_provider.py  5
- varats/data/provider/bug/bug.py  1

Clones added
============
- varats/plots/bug_annotation.py  1

See the complete overview on Codacy

 Here is an overview of what got changed by this pull request:

Complexity increasing per file
==============================
- varats/utils/github_util.py  5
- varats/data/provider/bug/bug_provider.py  5
- varats/plots/blame_interaction_degree.py  3
- varats/data/provider/bug/bug.py  1
- varats/plots/bug_annotation.py  8

Clones added
============
- varats/plots/bug_annotation.py  1

See the complete overview on Codacy

 Here is an overview of what got changed by this pull request:

Issues
======
- Added 20

Complexity increasing per file
==============================
- varats/plots/blame_interaction_degree.py  3
- varats/utils/github_util.py  5
- varats/plots/bug_annotation.py  8
- varats/data/provider/bug/bug_provider.py  5
- varats/data/provider/bug/bug.py  1

Clones added
============
- varats/plots/bug_annotation.py  1

See the complete overview on Codacy

 Here is an overview of what got changed by this pull request:

Issues
======
- Added 24

Complexity increasing per file
==============================
- varats/utils/github_util.py  5
- varats/data/provider/bug/bug_provider.py  5
- varats/plots/blame_interaction_degree.py  3
- varats/plots/bug_annotation.py  8
- varats/data/provider/bug/bug.py  1

Clones added
============
- varats/plots/bug_annotation.py  1

See the complete overview on Codacy

 Here is an overview of what got changed by this pull request:

Issues
======
- Added 24

Complexity increasing per file
==============================
- varats/data/provider/bug/bug.py  1
- varats/plots/bug_annotation.py  8
- varats/plots/blame_interaction_degree.py  3
- varats/data/provider/bug/bug_provider.py  5
- varats/utils/github_util.py  5

Clones added
============
- varats/plots/bug_annotation.py  1

See the complete overview on Codacy

 Here is an overview of what got changed by this pull request:

Issues
======
- Added 17

Complexity increasing per file
==============================
- varats/data/provider/bug/bug_provider.py  2
- varats/plots/bug_annotation.py  8
- varats/plots/blame_interaction_degree.py  3
- varats/data/provider/bug/bug.py  1

Clones added
============
- varats/plots/bug_annotation.py  1

See the complete overview on Codacy

 Here is an overview of what got changed by this pull request:

Issues
======
- Added 16

Complexity increasing per file
==============================
- varats/plots/bug_annotation.py  8
- varats/plots/blame_interaction_degree.py  3
- varats/data/provider/bug/bug_provider.py  2
- varats/data/provider/bug/bug.py  1

Clones added
============
- varats/plots/bug_annotation.py  1

See the complete overview on Codacy

 Here is an overview of what got changed by this pull request:

Issues
======
- Added 16

Complexity increasing per file
==============================
- varats/plots/blame_interaction_degree.py  3
- varats/data/provider/bug/bug.py  1
- varats/data/provider/bug/bug_provider.py  2
- varats/plots/bug_annotation.py  7

Clones added
============
- varats/plots/bug_annotation.py  1

See the complete overview on Codacy

 Here is an overview of what got changed by this pull request:

Issues
======
- Added 16

Complexity increasing per file
==============================
- varats/data/provider/bug/bug.py  1
- varats/plots/blame_interaction_degree.py  3
- varats/data/provider/bug/bug_provider.py  2
- varats/plots/bug_annotation.py  7

Clones added
============
- varats/plots/bug_annotation.py  1

See the complete overview on Codacy

 Here is an overview of what got changed by this pull request:

Issues
======
- Added 14

Complexity increasing per file
==============================
- varats/plots/bug_annotation.py  7
- varats/plots/blame_interaction_degree.py  3
- varats/data/provider/bug/bug.py  1
- varats/data/provider/bug/bug_provider.py  2

Clones added
============
- varats/plots/bug_annotation.py  1

See the complete overview on Codacy

 Here is an overview of what got changed by this pull request:

Issues
======
- Added 12

Complexity increasing per file
==============================
- varats/data/provider/bug/bug.py  1
- varats/plots/blame_interaction_degree.py  3
- varats/data/provider/bug/bug_provider.py  2
- varats/plots/bug_annotation.py  7

Clones added
============
- varats/plots/bug_annotation.py  1

See the complete overview on Codacy

 Here is an overview of what got changed by this pull request:

Issues
======
- Added 13

Complexity increasing per file
==============================
- varats/plots/bug_annotation.py  7
- varats/plots/blame_interaction_degree.py  3
- varats/data/provider/bug/bug_provider.py  2
- varats/data/provider/bug/bug.py  1

Clones added
============
- varats/plots/bug_annotation.py  1

See the complete overview on Codacy

 Here is an overview of what got changed by this pull request:

Issues
======
- Added 13

Complexity increasing per file
==============================
- varats/data/provider/bug/bug.py  1
- varats/plots/blame_interaction_degree.py  3
- varats/plots/bug_annotation.py  7
- varats/data/provider/bug/bug_provider.py  2

Clones added
============
- varats/plots/bug_annotation.py  1

See the complete overview on Codacy

 Here is an overview of what got changed by this pull request:

Issues
======
- Added 13

Complexity increasing per file
==============================
- varats/plots/blame_interaction_degree.py  3
- varats/data/provider/bug/bug.py  1
- varats/plots/bug_annotation.py  7
- varats/data/provider/bug/bug_provider.py  2

Clones added
============
- varats/plots/bug_annotation.py  1

See the complete overview on Codacy


vscode-folder-templates CLI?

Hi there,
I'm using your extension a lot as it's a great one! Thx for it.
I'm wondering it's it's possible to use it as a "CLI" as well? (or just a part as a CLI)
Being able in javascript for example to call fft <templateName> <path> <FTName> <customVariables>
Let me know 👍
Thx

Hey,
I've been thinking about trying to create a CLI for it and just reuse that in this extension. I will probably do it at some point when I can find the time and motivation for it but it's not going to be anytime soon.
I'll keep this issue around to remind me that this is actually wanted so it might motivate me sooner rather than later.

Hummm, thx @Huuums for the comment 👍
I fully understand you.
If you wish to delegate things ping me, I will be happy to participate. 🎉

Hello there,
I did a small video using your ext as I think it's sooo good and underestimated.
https://youtu.be/96GGBXjATXc
How can I contact you, to go to the next step? 😁
(I did also a bi directionnal generator 😅)


[Bug]: 8-jdk still builds on Jammy - intentional?

Please add the exact image (with tag) that you are using
eclipse-temurin:8-jdk
Please add the version of Docker you are running

What happened?
Hello,
it looks like 11-jdk, 17-jdk, and 21-jdk now build on Noble, but 8-jdk still builds on Jammy. Is this intentional?
The lack of consistency is causing extra complexity here. Unfortunately, we are consuming eclipse-temurin not directly but via the maven image, which has no os-version variants.
Thanks!
Relevant log output
No response

This should be updated now, we had a slight delay publishing our JDK8u updates


Add Visualizer for the pipeline

Inspire from KISS-ICP visualizer.
Provide visualization for all the loop closures detected, with their 2D alignment
Also provide viualization for the local map generation process using KISS-ICP

Fantastico


Is datatables and select2 still supported?

No mention of them in the docs

Third party components  no more supported


Replace Ruby with Go

As you were curious re the memory usage, NPM was 70ms/op and 27mb/op. Not sure what that translates to when run from the CLI (as I know that Go's own runtime adds a fair bit of weight)
BenchmarkRendererControl	  300000	      5298 ns/op	    1584 B/op	      14 allocs/op
BenchmarkRendererCurl	   20000	     55241 ns/op	    9346 B/op	      62 allocs/op
BenchmarkRendererHomer	   10000	    137403 ns/op	   36858 B/op	     222 allocs/op
BenchmarkRendererPikachu	     300	   4895747 ns/op	 1392493 B/op	   52659 allocs/op
BenchmarkRendererNpm	      20	  77312838 ns/op	27274740 B/op	  542428 allocs/op
ok  	github.com/buildkite/terminal	8.449s

Awesome! Have to get this up and going on my local puter.

So I sent our new terminal gear live on Monday, seems to be going well. It now shells out to the Ruby terminal gem, does the string encoding forcing in Ruby beforehand, and the unicode emojification afterwards. So dropping it for ansi2html should be a cinch. I'll probably feature flag it so we can test with a bunch of accounts first.
I'm wondering… should we keep this repo alive as terminal-ruby with an "unmaintained notice" in the Readme, and leave the gem on rubygems, and start this as a new repo?

Up to you! I'd probably just leave a branch or tag as "last ruby commit" or something.

Just did some testing on a 4MB log:
$ time cat log_4MB.txt | ansi2html > /dev/null

real	0m0.623s
user	0m0.537s
sys	0m0.091s

$ time cat log_4MB.txt | terminal > /dev/null

real	0m8.724s
user	0m7.987s
sys	0m0.587s

Couldn't tell the memory usage for ansi2html because it executed so quickly… whereas terminal hits 1.4GB.
Now just doing some diffing to see if there's any difference in output…

Diffs look good!
Thinking of names… being this is "Terminal" and the command is "ansi2html"… and did a search and found https://github.com/ralphbean/ansi2html/

Yeah - I'd certainly keep the library name as 'terminal'. Maybe the command can be terminal-convert ?

So, thanks to Andy Snow (https://twitter.com/andy_snow/status/570409324322770945):
What happens if you use GNU time with -v?
Look for "Maximum resident set size (kbytes)"
You can install GNU time on OSX with brew install gnu-time or, if already on Linux, just call /usr/bin/time (instead of shell time)

I made a 4mb file by concatenating npm.sh.raw with itself a bunch of times. Running that with GNU time -v on OSX gives me in Go a runtime of 1.06sec, with a maximum RSS of 816mb.
Switching back to Ruby, I get 9.2s and 3106gb RSS.
An improvement on the RSS, but .. I wonder if I can do better :)

Ace! Looks good.
Yeah, perhaps terminal-to-html?

And keep the go lib as terminal?

WFM, done.
On Wed, Feb 25, 2015 at 1:55 PM, Tim Lucas<EMAIL_ADDRESS>wrote:

And keep the go lib as terminal?
—
Reply to this email directly or view it on GitHub
https://github.com/buildkite/terminal/pull/14#issuecomment-75896626.

--
Michael Pearson


Update existing config.yml

It would be useful to be able to rerun the generator on an existing config.yml, so all the questions are asked but the default answers are now taken from the generated yml.

#24 would need to be done first.


new role for configuration of oraclenet files

The current configuration of listener.ora, sqlnet.ora and tnsnames.ora will be moved into a new role for easier configuration in the future.
In a next step the role get the ability to configure listener for Oracle Restart and Grid-Infrastructure.
Change in listener_installed:
The listener_installed needs modifications, when a listener for Restart/GI is configured, because 'home' points to an ORACLE_HOME instead of CRS_HOME.
Example: (current)
listener_installed:
  - home: db19-si-ee
    listener_name: LISTENER1521
    state: present

Idea:
listener_installed:
  - has_listener: yes | default(no)
    listener_name: LISTENER1521
    state: present

solved with https://github.com/oravirt/ansible-oracle/pull/475


Question: hyperparameter tuner for allennlp with cross-validation

Hi @himkt!
I have a question about using cross-validation in optuna.
I have a very small dataset, so my idea is to do a n-fold cross validation in train-dev dataset: I train in the same trial with same hparams but different data (folds) for n times (number of folds). The result is the average of all folds.
Precisely I have:

nfold = 5
trials = 50

I optimized for each of the 5 folds with 50 trials.
What I observed is that for each fold, the hparams are different and I can't do the average (sometimes first x trials have the same hparams among several folds, but it's never always the same).
I thus have some questions:

is it true that CV is unnecessary within optuna since Optuna's Bayesian process is what cross-validation attempts to approximate (in short answer)?
I saw that scikit-learn and LightGBM implemented CV, will allennlp integration include it too in the near future? :)

I also found similar questions in Gitter by @PhilipMay, and an optuna issue #1875. But the responses were unclear to me...
Do you have any idea? Thank you!

Hello @chuyuanli,
Without allennlp-optuna, I think we can run optimization+cross validation by following the example provided in the link you referred. (we can define an arbitrary objective function)
(https://stackoverflow.com/questions/63224426/how-can-i-cross-validate-by-pytorch-and-optuna)
However, it is non-trivial how to implement cross-validation with allennlp-optuna. allennlp-optuna is a simple wrapper of AllenNLP & Optuna, I don't have a plan to support cross-validation in this library. The PR of adding cross validation in AllenNLP is ongoing, I'll support it in allennlp-optuna after the PR being merged.

Hey @himkt , thanks for the prompt response!

(we can define an arbitrary objective function)
(https://stackoverflow.com/questions/63224426/how-can-i-cross-validate-by-pytorch-and-optuna)

Indeed... I'll give it a try :)

The PR of adding cross validation in AllenNLP is ongoing, I'll support it in allennlp-optuna after the PR being merged.

Sounds wonderful. Thank you!

Hi again :)
I tried with the code proposed here, however I think it does not strictly calculate the average of Kfolds.
If I'am not wrong, for each trial the objective fonction only optimize the very first fold, and for other folds it just copies the same score.
I first found it fishy coz it didn't took long to finish optimizing all the folds. So I print out the score for each fold:
0, 1, 2, 3, 4 are my 5 folds and 0.7142857142857143 is the accuracy score obtained by the fold0.

[I 2021-04-18 18:27:41,372] A new study created in RDB with name: train4-18-cv
0
objective-cv.py:137: ExperimentalWarning: AllenNLPPruningCallback is experimental (supported from v2.0.0). The interface can change in the future.
callbacks=[AllenNLPPruningCallback(trial, "validation_accuracy_doc")],
accuracy_turn: 0.1920, accuracy_block: 0.5070, accuracy_doc: 0.4231, loss_turn: 1.6889, loss_block: 0.6916, loss_doc: 0.6997, batch_loss: 1.0244, loss: 1.0020 ||: 100%|##########| 26/26 [00:11<00:00,  2.28it/s]
accuracy_turn: 0.1572, accuracy_block: 0.3879, accuracy_doc: 0.7143, loss_turn: 1.8102, loss_block: 0.6991, loss_doc: 0.6260, batch_loss: 1.0528, loss: 1.0155 ||: 100%|##########| 7/7 [00:01<00:00,  4.25it/s]
accuracy_turn: 0.1890, accuracy_block: 0.4958, accuracy_doc: 0.4615, loss_turn: 1.6335, loss_block: 0.7201, loss_doc: 0.6732, batch_loss: 1.0136, loss: 1.0082 ||: 100%|##########| 26/26 [00:11<00:00,  2.29it/s]
accuracy_turn: 0.1585, accuracy_block: 0.3848, accuracy_doc: 0.7143, loss_turn: 1.7802, loss_block: 0.6995, loss_doc: 0.6264, batch_loss: 1.0431, loss: 1.0089 ||: 100%|##########| 7/7 [00:01<00:00,  4.21it/s]
0.7142857142857143
1
0.7142857142857143
2
0.7142857142857143
3
0.7142857142857143
4
0.7142857142857143

So after fold0, the rest didn't go through optimizing trial.
I feel like it's the reason of optuna.trial.TrialState or of such, meaning that once a trial is complete it won't test on other data... but for cross-validation, we expect that for one trial it repeats n times and tests on all folds. Not sure just a guess ^^
I'm not sure if I'll dig deeper in this topic, as you say it's non-trivial. I have some "silly" but doable ways to get the average of cross-validation, I'll make it happen first :)

I also test the colab notebook, objective() returned different values at each round in the trial.
https://colab.research.google.com/gist/himkt/664174dc6d3bf6ddb51a023d19760995/copy-of-optuna-pytorch-cross-validation.ipynb?authuser=1

and for other folds it just copies the same score.
I think it is not the case. I'm wondering the accuracy could be 0.7143 in the specific situation (e.g. the model predicted one category for all the example).

p.s. One thing I noticed in your notebook: it would be better to call trial.suggest_xxx in objective_cv.
Before
def objective(trial, train_loader, valid_loader):

    # Generate the model.
    model = define_model(trial).to(DEVICE)

    # Generate the optimizers.
    optimizer_name = trial.suggest_categorical("optimizer", ["Adam", "RMSprop", "SGD"])
    lr = trial.suggest_float("lr", 1e-5, 1e-1, log=True)
    optimizer = getattr(optim, optimizer_name)(model.parameters(), lr=lr)

After
def objective(trial, train_loader, valid_loader, optimizer_name, lr):

    # Generate the model.
    model = define_model(trial).to(DEVICE)

    # Generate the optimizers.
    optimizer = getattr(optim, optimizer_name)(model.parameters(), lr=lr)

    ....

def objective_cv(trial):

    # Get the MNIST dataset.
    dataset = datasets.MNIST(DIR, train=True, download=True, transform=transforms.ToTensor())

    # Sample hyperparameters here!!
    optimizer_name = trial.suggest_categorical("optimizer", ["Adam", "RMSprop", "SGD"])
    lr = trial.suggest_float("lr", 1e-5, 1e-1, log=True)

If you have some further question about Optuna, please open an issue in Optuna!

Hi @chuyuanli ! Do you have an updated functioning code, following @himkt suggestions? Do you mind sharing?
Thanks!

Hi @pvcastro !
Actually the updated code is from @himkt :) Have you tried this one? https://colab.research.google.com/gist/himkt/664174dc6d3bf6ddb51a023d19760995/copy-of-optuna-pytorch-cross-validation.ipynb?authuser=1
Best,

Great, thanks @chuyuanli , I'll take a look.
 Do you think you were able to get a better model, that generalized better to your test set? (Considering the test set was not used in the cross validation).

Let me close this issue but please reopen if you have some questions. 😸


HTTP Parameter Override

Subject of the issue
HTTP Parameter Override
https://www.keralarescue.in/find_people/?address__icontains&camped_at&district&gender&name__icontains&notes__icontains&page=396&phone__icontains
Unspecified form action: HTTP parameter override attack potentially possible. This is a known problem with Java Servlets but other platforms may also be
Steps to reproduce
https://www.acunetix.com/blog/whitepaper-http-parameter-pollution/

Tested with OWASP Zap

The forms are created by Django dynamically and is not hardcoded , In this case the same URL endpoint is used for the form as well as rendering the initial page which is why the action is left unspecified

ok, understood.
closing as false positive.


RFC8414 metadata fetch should ask for application/json

I'm trying to get AndStatus to log in to a server of my own creation.
When AndStatus tries to fetch my OAuth2 metadata, it sets the Accept: application/ld+json; profile="https://www.w3.org/ns/activitystreams" header on the request. In my setup this causes the request to be sent to the ActivityPub backend, which doesn't understand anything about OAuth metadata.
RFC8414 specifies that the Content-Type of the response should be application/json. It doesn't seem to mention the Accept header, but I think setting it to application/json too would be more broadly compatible.

Searching the Web, I see that this is not so obvious, see e.g<EMAIL_ADDRESS>mentioning opinion that

while retrieving client metadata, AS should recognize not only
application/json, but application/ld+json (or maybe even
application/*+json, as per
https://datatracker.ietf.org/doc/html/rfc6839#section-3-1)


Cant Customize Favorites Icons

Description
Unable to customize favorite icons (.ico)
Windows 10x64

Files App version

Steps To Reproduce

Right click Folder
Click Properties
Customization
Set the icon(.ico)

Expected behavior
Nothing special, file apps closed up immediately.
Files Version
<IP_ADDRESS>
Windows Version
Win 10x64 21H1 19043.1645
Relevant Assets/Logs
debug.log
debug_fulltrust.log

Merging with #9000


errores

Description
What steps will reproduce the problem?

What is the expected output? What do you see instead?
Please provide any additional information below
File "/usr/local/lib/python3.5/dist-packages/spyder/app/mainwindow.py", line 2795, in open_fileswitcher
self.fileswitcher.setup()
File "/usr/local/lib/python3.5/dist-packages/spyder/widgets/fileswitcher.py", line 757, in setup
current_path = self.current_path
File "/usr/local/lib/python3.5/dist-packages/spyder/widgets/fileswitcher.py", line 346, in current_path
return self.paths_by_widget[self.get_widget()]
KeyError: None
Version and main components

Spyder Version: 3.2.3
Python Version: 3.5.2
Qt Versions: 5.9.1, PyQt5 5.9 on Linux

Dependencies
pyflakes >=0.6.0 :  1.6.0 (OK)
pycodestyle >=2.3:  2.3.1 (OK)
pygments >=2.0   :  2.2.0 (OK)
pandas >=0.13.1  :  0.17.1 (OK)
numpy >=1.7      :  1.11.0 (OK)
sphinx >=0.6.6   :  1.6.4 (OK)
rope >=0.9.4     :  0.10.7 (OK)
jedi >=0.9.0     :  0.11.0 (OK)
psutil >=0.3     :  5.3.1 (OK)
nbconvert >=4.0  :  5.3.1 (OK)
sympy >=0.7.3    :  None (NOK)
cython >=0.21    :  None (NOK)
qtconsole >=4.2.0:  4.3.1 (OK)
IPython >=4.0    :  6.2.1 (OK)
pylint >=0.25    :  1.7.4 (OK)

@ccordoba12 I'm going to take a look at it.
@ram15565 Thanks for the report. Could you tell us a little bit more about what you were doing when the error happened?

For the record, this is not a duplicate, but this is related to Issue#5317. These too issues could probably be fixed with the same PR.

@ccordoba12
This issue is hard to reproduce. So far, I've been able to reproduce it only with the spyder-notebook:
1 - open spyder
2 - go to a notebook tab using the global file switcher (Ctrl+p).
3 - close all tabs of the notebook
4 - open the global file switcher again
Traceback (most recent call last):
  File "C:\Users\jsgosselin\spyder\spyder\app\mainwindow.py", line 2798, in open_fileswitcher
    self.fileswitcher.setup()
  File "C:\Users\jsgosselin\spyder\spyder\widgets\fileswitcher.py", line 757, in setup
    current_path = self.current_path
  File "C:\Users\jsgosselin\spyder\spyder\widgets\fileswitcher.py", line 346, in current_path
    return self.paths_by_widget[self.get_widget()]
KeyError: None

So far, I've been unable to reproduce this error with the Editor because I can't find a case when the Editor would allow to have no file opened. It always open a temp or untitled file, thus preventing this error to occur.
So what I can do is to implement a safeguard in the file switcher to handle the case when self.get_widget() returns None.

So what I can do is to implement a safeguard in the file switcher to handle the case when self.get_widget() returns None.

Sure, I think it's the best solution. @dalthviz, what do think?

Yep I think is ok :+1: @ccordoba12, and thanks again @jnsebgosselin for all the good work in the Fileswitcher :)

Alright then, I'm going to work on this this weekend. Thanks for the feedback guys.

@jnsebgosselin, any updates on this one?

@ccordoba12  I'm going to work on this this week.


additional tests added

small updates

Codecov Report

Merging #15 into master will increase coverage by 10.52%.
The diff coverage is 83.33%.

@@             Coverage Diff             @@
##           master      #15       +/-   ##
===========================================
+ Coverage    5.12%   15.64%   +10.52%
===========================================
  Files           6        6
  Lines         449      441        -8
===========================================
+ Hits           23       69       +46
+ Misses        426      372       -54

Impacted Files
Coverage Δ

src/KLTTrackingAlgorithms.jl
0% <ø> (ø)
:arrow_up:

src/SensorCameraGeometryUtils.jl
71.13% <83.33%> (+45.85%)
:arrow_up:

Continue to review full report at Codecov.

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


ARROW-4412: [DOC][Python] Display only release version in documentation

Linked to ARROW-4412
This change allows for the release version to be displayed in the documentation as opposed to the full development version which was previously display; for example:

Not sure about this. http://arrow.apache.org/docs/ now shows 0.15.0 because it was generated from the right git tag. If the docs are built from some other revision, then we should probably show that in the generated docs.

I see, would you be able to comment more on from :

Based on conversation on the mailing list it might pay to include
version/revision numbers on the specification document.  One way is to include
the "release" version, another might be to only update versioning on changes to
the document.

The version number is in the top left of
http://arrow.apache.org/docs/format/README.html
(it is a dev version number right now... we should fix that)

I think I have misunderstood what is desired. I agree, it's better to
explicitly see the version the docs are generated from, but I thought perhaps
only the latest release/tag was preferred compared to a potentially dirty revision much
like the first picture above.
Happy for this to be closed if felt not necessary, thanks for looking over this.

Yes, no problem, I believe the JIRA is asking for something different. Thank you for the contribution in any case :) I'll close this


NetworkUnavailable ->  RouteController failed to create a route

After a recent install we are getting the following error on each of our nodes.  We used the default install for kubernetes in our azure environment.
In the log for the controller pod we a seeing this issue.
I0403 16:51:16.586553       1 routecontroller.go:154] Creating route for node k8s-agent-708c8d27-1 <IP_ADDRESS>/24 with hint ba6ca9b0-09ac-11e7-8248-000d3a726930, throttled 579ns
I0403 16:51:16.586581       1 azure_routes.go:65] create: creating route. clusterName="jbh-kubernetesmgmt" instance="k8s-agent-708c8d27-1" cidr="<IP_ADDRESS>/24"
I0403 16:51:16.586568       1 routecontroller.go:154] Creating route for node k8s-master-708c8d27-0 <IP_ADDRESS>/24 with hint 7bd59890-09ac-11e7-8248-000d3a726930, throttled 1.158µs
I0403 16:51:16.586709       1 azure_routes.go:65] create: creating route. clusterName="jbh-kubernetesmgmt" instance="k8s-master-708c8d27-0" cidr="<IP_ADDRESS>/24"
I0403 16:51:16.586829       1 routecontroller.go:154] Creating route for node k8s-agent-708c8d27-0 <IP_ADDRESS>/24 with hint e6014f2f-09ac-11e7-8248-000d3a726930, throttled 675ns
I0403 16:51:16.586849       1 azure_routes.go:65] create: creating route. clusterName="jbh-kubernetesmgmt" instance="k8s-agent-708c8d27-0" cidr="<IP_ADDRESS>/24"
I0403 16:51:16.586978       1 routecontroller.go:154] Creating route for node k8s-agent-708c8d27-2 <IP_ADDRESS>/24 with hint c7861bc4-09ac-11e7-8248-000d3a726930, throttled 386ns
I0403 16:51:16.587029       1 azure_routes.go:65] create: creating route. clusterName="jbh-kubernetesmgmt" instance="k8s-agent-708c8d27-2" cidr="<IP_ADDRESS>/24"
E0403 16:51:16.798590       1 routecontroller.go:160] Could not create route e6014f2f-09ac-11e7-8248-000d3a726930 <IP_ADDRESS>/24 for node k8s-agent-708c8d27-0 after 211.767883ms: network.RoutesClient#CreateOrUpdate: Failure responding to request: StatusCode=403 -- Original Error: autorest/azure: Service returned an error. Status=403 Code="AuthorizationFailed" Message="The client 'f02cbf8c-c4cc-406f-9e2b-21d8c7b728ec' with object id 'f02cbf8c-c4cc-406f-9e2b-21d8c7b728ec' does not have authorization to perform action 'Microsoft.Network/routeTables/routes/write' over scope '/subscriptions/2bb0d855-54c8-40a4-8014-f4b28235be9c/resourceGroups/JBH_PROD_PLATFORM-APPSRV-ACS_RG/providers/Microsoft.Network/routeTables/k8s-master-708C8D27-routetable/routes/k8s-agent-708c8d27-0'."
I0403 16:51:16.798663       1 routecontroller.go:154] Creating route for node k8s-agent-708c8d27-0 <IP_ADDRESS>/24 with hint e6014f2f-09ac-11e7-8248-000d3a726930, throttled 675ns
I0403 16:51:16.798672       1 azure_routes.go:65] create: creating route. clusterName="jbh-kubernetesmgmt" instance="k8s-agent-708c8d27-0" cidr="<IP_ADDRESS>/24"
E0403 16:51:16.830856       1 routecontroller.go:160] Could not create route c7861bc4-09ac-11e7-8248-000d3a726930 <IP_ADDRESS>/24 for node k8s-agent-708c8d27-2 after 243.885936ms: network.RoutesClient#CreateOrUpdate: Failure responding to request: StatusCode=403 -- Original Error: autorest/azure: Service returned an error. Status=403 Code="AuthorizationFailed" Message="The client 'f02cbf8c-c4cc-406f-9e2b-21d8c7b728ec' with object id 'f02cbf8c-c4cc-406f-9e2b-21d8c7b728ec' does not have authorization to perform action 'Microsoft.Network/routeTables/routes/write' over scope '/subscriptions/2bb0d855-54c8-40a4-8014-f4b28235be9c/resourceGroups/JBH_PROD_PLATFORM-APPSRV-ACS_RG/providers/Microsoft.Network/routeTables/k8s-master-708C8D27-routetable/routes/k8s-agent-708c8d27-2'."
I0403 16:51:16.830957       1 routecontroller.go:154] Creating route for node k8s-agent-708c8d27-2 <IP_ADDRESS>/24 with hint c7861bc4-09ac-11e7-8248-000d3a726930, throttled 868ns
I0403 16:51:16.831011       1 azure_routes.go:65] create: creating route. clusterName="jbh-kubernetesmgmt" instance="k8s-agent-708c8d27-2" cidr="<IP_ADDRESS>/24"
E0403 16:51:16.961588       1 routecontroller.go:160] Could not create route ba6ca9b0-09ac-11e7-8248-000d3a726930 <IP_ADDRESS>/24 for node k8s-agent-708c8d27-1 after 375.044715ms: network.RoutesClient#CreateOrUpdate: Failure responding to request: StatusCode=403 -- Original Error: autorest/azure: Service returned an error. Status=403 Code="AuthorizationFailed" Message="The client 'f02cbf8c-c4cc-406f-9e2b-21d8c7b728ec' with object id 'f02cbf8c-c4cc-406f-9e2b-21d8c7b728ec'
What client do we need to change to fix the AuthorizationFailed error?
Zach

@zachariahyoung This is pointing at a service principal error.  Here is the troubleshooting guide for this: https://github.com/Azure/acs-engine/blob/master/docs/kubernetes.md#troubleshooting.
How did you create your service principal?

We don't have the service principal setup correctly I believe.  We will try again.
Please close this issue.


Spring Security integration, for user authentication and authorization in gateway

I'm looking forward to Spring Security integration in Spring Cloud Gateway. A common pattern of an API gateway is that the gateway takes responsibilities of user authentication and authorization. In current 2.0.0.M5 version, I see the warning

Spring MVC found on classpath, which is incompatible with Spring Cloud Gateway at this time. Please remove spring-boot-starter-web dependency.

when I attempted to achieve that by integrate Spring Security into my gateway.
So, I'm wondering whether we are able to do user authentication and authorization in a Spring Cloud gateway or not.

@spencergibb could you please give an example on how to access Authentication from a custom GatewayFilter?

I don't understand the problem.

@spencergibb I think the principal of exchange is empty, but it should not. Please have a look at this example. I would expect to see the name of the user to get printed to the console. Am I doing something wrong or is it a bug?
git clone https://github.com/stphngrtz/spring-cloud-gateway-issue-144.git
mvn clean package -f spring-cloud-gateway-issue-144.git
java -jar spring-cloud-gateway-issue-144.git/target/issue144-1.0-SNAPSHOT.jar
curl -u user:pw http://localhost:8080/get

an empty principal doesn't have anything to do with the gateway. It's all spring security.

From my point this issue could be closed, because Spring Security works well with Spring Cloud Gateway. My example has been updated to demonstrate how to access the principal from a custom filter.

How do you integrate Spring-Security-Oauth2 with Spring Cloud Gateway? The integration breaks Spring Cloud Gateway because Spring-security-oauth2 requires spring mvc.

@rapidwein see https://github.com/spring-cloud/spring-cloud-security/issues/141

Closing in favor of https://github.com/spring-cloud/spring-cloud-security/issues/141


Not a IMU

MPU6050_SF is not a IMU this line needs to be removed.
https://github.com/SlimeVR/slimevr-node/blob/b1fd86198406f9265191528940bf008ac9b6d68b/packages/firmware-protocol/src/constants.ts#L41
It was never in the tracker code:
https://github.com/SlimeVR/SlimeVR-Tracker-ESP/blob/fef504e3b40f6990d98ef4f0e86ae8b0b123e37d/src/consts.h#L28
See also discussion
https://github.com/SlimeVR/SlimeVR-Tracker-ESP/pull/322#discussion_r1544877964
And discussion in https://github.com/SlimeVR/SlimeVR-Server/pull/1100

Fixed in #41


ITMS-90809: Deprecated API Usage - New apps that use UIWebView are no longer accepted.

ITMS-90809: Deprecated API Usage - New apps that use UIWebView are no longer accepted. Instead, use WKWebView for improved security and reliability. Learn more (https://developer.apple.com/documentation/uikit/uiwebview).
Hi,
Getting this error from App Store Connect when trying to upload a new build. This now applied to new apps and later will be applied to existing apps already on store as of December 2020.
Reference: Updating Apps that Use Web Views

I have searched for UIWebView usage and found it only in the pods as below:
Binary file ./Pods/Crashlytics/iOS/Crashlytics.framework/Crashlytics matches
Binary file ./Pods/Fabric/upload-symbols matches
./Pods/GoogleSignIn/CHANGELOG.md:- Supports sign-in via UIWebView rather than app switching to a browser,
Binary file ./Pods/GoogleSignIn/Frameworks/GoogleSignIn.framework/GoogleSignIn matches
./Pods/YoutubePlayer-in-WKWebView/README.md:- using WKWebView instead of UIWebView.

@amonsef-github We're working on removing the Fabric and Crashlytics in favor of FirebaseCrashlytics.

@saeedbashir hello, Does this PR #1364 solve this problem. In my case it keeps happening.

Hopefully, this PR #1364 should solve your problem.

I think still it's not, I just got "ITMS-90809: Deprecated API Usage " email from Apple. I think GoogleSignIn pod 4.4.0 still uses "UIWebView"
Binary file ./Pods/GoogleSignIn/Frameworks/GoogleSignIn.framework/GoogleSignIn matches.
Appreciate if anybody can confirm.

We got also this message:

Dear Developer,
We identified one or more issues with a recent delivery for your app, "Zeka Gücü Test" 2.21 (2.2.1). Please correct the following issues, then upload again.
ITMS-90809: Deprecated API Usage - New apps that use UIWebView are no longer accepted. Instead, use WKWebView for improved security and reliability. Learn more (https://developer.apple.com/documentation/uikit/uiwebview).
Best regards,
The App Store Team

We got also this message:

Dear Developer,
We identified one or more issues with a recent delivery for your app, "Abcabc 2.21 (2.2.1). Please correct the following issues, then upload again.
ITMS-90809: Deprecated API Usage - New apps that use UIWebView are no longer accepted. Instead, use WKWebView for improved security and reliability. Learn more (https://developer.apple.com/documentation/uikit/uiwebview).
Best regards,
The App Store Team

This is on our list but at the moment we do have more important stuff to take care of. Hopefully, the issue will be resolved in our next release.

I think still it's not, I just got "ITMS-90809: Deprecated API Usage " email from Apple. I think GoogleSignIn pod 4.4.0 still uses "UIWebView" in the binary file ./Pods/GoogleSignIn/Frameworks/GoogleSignIn.framework/GoogleSignIn .
Appreciate if anybody can confirm.

i tried to update pod with your suggestion and used lastest version of google-sign in now, it is working.

I think still it's not, I just got "ITMS-90809: Deprecated API Usage " email from Apple. I think GoogleSignIn pod 4.4.0 still uses "UIWebView" in the binary file ./Pods/GoogleSignIn/Frameworks/GoogleSignIn.framework/GoogleSignIn .
Appreciate if anybody can confirm.

i tried to update pod with your suggestion and used lastest version of google-sign in now, it is working.

Great if it's working, for me got some issues. I will try again.

@sercesh I tried updating GoogleSignIn with pod update GoogleSignIn but this generates error.
[!] An error occurred while processing the post-install hook of the Podfile. undefined method `headers_build_phase' for #<Xcodeproj::Project::Object::PBXAggregateTarget:0x00007fcdef950050> /Users/DavidPrado/projects/edx-app-ios/Podfile:37:in `block (3 levels) in from_ruby' /Users/DavidPrado/projects/edx-app-ios/Podfile:36:in `each' /Users/DavidPrado/projects/edx-app-ios/Podfile:36:in `block (2 levels) in from_ruby' /Library/Ruby/Gems/2.3.0/gems/cocoapods-core-1.8.4/lib/cocoapods-core/podfile.rb:179:in `post_install!' /Library/Ruby/Gems/2.3.0/gems/cocoapods-1.8.4/lib/cocoapods/installer.rb:856:in `run_podfile_post_install_hook' /Library/Ruby/Gems/2.3.0/gems/cocoapods-1.8.4/lib/cocoapods/installer.rb:844:in `block in run_podfile_post_install_hooks' /Library/Ruby/Gems/2.3.0/gems/cocoapods-1.8.4/lib/cocoapods/user_interface.rb:145:in `message' /Library/Ruby/Gems/2.3.0/gems/cocoapods-1.8.4/lib/cocoapods/installer.rb:843:in `run_podfile_post_install_hooks' /Library/Ruby/Gems/2.3.0/gems/cocoapods-1.8.4/lib/cocoapods/installer.rb:322:in `block in create_and_save_projects' /Library/Ruby/Gems/2.3.0/gems/cocoapods-1.8.4/lib/cocoapods/user_interface.rb:64:in `section' /Library/Ruby/Gems/2.3.0/gems/cocoapods-1.8.4/lib/cocoapods/installer.rb:303:in `create_and_save_projects' /Library/Ruby/Gems/2.3.0/gems/cocoapods-1.8.4/lib/cocoapods/installer.rb:294:in `generate_pods_project' /Library/Ruby/Gems/2.3.0/gems/cocoapods-1.8.4/lib/cocoapods/installer.rb:173:in `integrate' /Library/Ruby/Gems/2.3.0/gems/cocoapods-1.8.4/lib/cocoapods/installer.rb:162:in `install!' /Library/Ruby/Gems/2.3.0/gems/cocoapods-1.8.4/lib/cocoapods/command/update.rb:63:in `run' /Library/Ruby/Gems/2.3.0/gems/claide-1.0.3/lib/claide/command.rb:334:in `run' /Library/Ruby/Gems/2.3.0/gems/cocoapods-1.8.4/lib/cocoapods/command.rb:52:in `run' /Library/Ruby/Gems/2.3.0/gems/cocoapods-1.8.4/bin/pod:55:in `<top (required)>' /usr/local/bin/pod:22:in `load' /usr/local/bin/pod:22:in `<main>'
What steps did you use to update?

@luismorenolopera
Use cocoapods version 1.5.3

@mumer92 is it solved?

I updated GoogleSignIn to the latest version and I still have the same error.

@sercesh @luismorenolopera  currently we don't have an ETA for next release but we are in process of upgrading deprecated libraries. You can use Cocoapods version 1.5.3 to update pods locally on your side.

Closed by #1392


simplify packing of packets

Should be merged after #1525 and #1526.
The main change here is that the packetPacker gets ACK and STOP_WAITING frames itself (previously, these frames were provided by the session).

Codecov Report

Merging #1531 into master will decrease coverage by 0.06%.
The diff coverage is 95.7%.

@@            Coverage Diff             @@
##           master    #1531      +/-   ##
==========================================
- Coverage   89.18%   89.12%   -0.06%
==========================================
  Files         123      123
  Lines        8642     8621      -21
==========================================
- Hits         7707     7683      -24
- Misses        633      636       +3
  Partials      302      302

Impacted Files
Coverage Δ

packet_packer.go
91.43% <100%> (-0.06%)
:arrow_down:

stream_framer.go
100% <100%> (ø)
:arrow_up:

session.go
71.47% <71.43%> (-0.78%)
:arrow_down:

Continue to review full report at Codecov.

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


I can not send and receive simple data with ROS #

[ x ] I am at the right place and my issue is directly related to ROS#. General technical questions I would post e.g. at ROS Answers or Stack Overflow. For library-specific questions I would look for help in the corresponding library forums.
[ x ] I have thoroughly read the Contributing Guideline and writing this issue is the right thing to do in my case.

Hello
I am new using ROS # and I am not very expert using ROS, but I hope to receive your valuable help. I am trying to send data from UNITY3D to ROS using ROS #, I do not need to send or import a URDF because they are simple data like a String, INT or FLOAT.
I have already done the configuration steps and the examples of the wiki https://github.com/siemens/ros-sharp/wiki (Sections 1, 2 and 3). I built a new project in UNITY3D, I create an empty GameObject called "messenger" and add the RosConnector script, select JSON and web socket net and place the IP <IP_ADDRESS>:9090 of the virtual machine.

Then create a new script called ConsoleExample and place the same code as the wiki example https://github.com/siemens/ros-sharp/wiki/Info_CodeExample to start testing but some problems appeared:

there were two compilation errors with Protocols and std_msgs.String.

the first one solved it by adding the name space RosSharp.RosBridgeClient, but I could not solve the second so I commented on the publication section to test only the message subcription, there were no more errors but I would like help to solve the second error and test the publication of messages.

I tried adding the Script ConsoleExample to the mesennger GameObject, but a message appeared saying that ConsoleExample needs to be derived from MonoBehaviour, then add: MonoBehaviour and using UnityEngine; to the code, the code stayed that way.

Now add the Script ConsoleExample to the GameObject mesennger

I have a question!
So far

I do not know if I've done something wrong
I do not know if I've built the project well
why do those errors appear?
Are the lines I add correct?
How can I try the message publishing section?

Now try with ROS
In the virtual machine run ubuntu and ros, in a terminal only execute the following commands:

roslaunch rosbridge_server rosbridge_websocket.launch
rostopic pub /subscription_test std_msgs/String "subscription test message data"

Play the application in UNITY3D the connection with ROS is well established, but I do not know where the message is received?

I have only found these examples:

https://github.com/siemens/ros-sharp/wiki/Info_CodeExample
https://github.com/siemens/ros-sharp/blob/master/Libraries/RosBridgeClientTest/RosSocketConsoleExample.cs
https://rosindustrial.org/news/2018/1/8/announcing-ros
https://github.com/siemens/ros-sharp/wiki/Dev_NewMessageTypes

But I would like to know if someone has a manual where I can find more detailed information about how to send and receive messages with ROS #
I am used:

Windows 10
Unity 2018.3.14
VirtualBox 6.0
Ubuntu 16.04
Ros Kinetic

Thanks for your help

Hi @bgonzupenn I'm glad to know that I'm not the only one in the world with this problem
I was working and found a solution based on the examples of the wiki Info_Info_CodeExample and  RosSocketConsoleExample. I could see that the public static void Main (string [] args) function of Info_CodeExample was never executed, I DO NOT KNOW WHY. So I decided to work with the functions used by default UNITY void Start() and void Update(), my Script is shown below: ExampleSendReceive.zip
using System.Collections;
using System.Collections.Generic;
using RosSharp.RosBridgeClient;
using std_msgs = RosSharp.RosBridgeClient.Messages.Standard;
using UnityEngine;

namespace RosSharp.RosBridgeClient
{

    public class ExampleSendReceive : MonoBehaviour
    {
        RosSocket rosSocket;
        string publication_id;
        string subscription_id;

        // Start is called before the first frame update, here the connection with ROS is established and the tipics are defined
        void Start()
        {
            rosSocket = new RosSocket(new RosBridgeClient.Protocols.WebSocketNetProtocol("ws://<IP_ADDRESS>:9090")); //this line does the same as the script RosConnector
            Debug.Log("Established connection with ros");

            publication_id = rosSocket.Advertise<std_msgs.String>("publication_test");

            subscription_id = rosSocket.Subscribe<std_msgs.String>("/subscription_test", SubscriptionHandler);
        }

        // Update is called once per frame
        void Update()
        {
            if (Input.GetKeyDown(KeyCode.S))            //press S key every time you want to send messages to ROS
            {
                std_msgs.String message = new std_msgs.String
                {
                    data = "Message sent from unity"    //UNITY message for ROS
                };
                rosSocket.Publish(publication_id, message);
                Debug.Log("A message was sent to ROS");
            }

            if (Input.GetKeyDown(KeyCode.C))            //press C key to close the connection
            {
                rosSocket.Close();
                Debug.Log("Closed connection");
            }
        }

        private static void SubscriptionHandler(std_msgs.String message)
        {
            Debug.Log(message.data);                    //print ROS's message to unity
        }
    }
}

I also noticed that the line rosSocket = new RosSocket(new RosBridgeClient.Protocols.WebSocketNetProtocol("ws://<IP_ADDRESS>:9090")); does the same thing as the RosConnector script and that's why I removed it from the project. In this way the project in UNITY remained this way:

To execute, you must do the following:

[ ] In a UBUNTU terminal, run roslaunch rosbridge_server rosbridge_websocket.launch

[ ] Play to the application of UNITY

[ ] In another terminal of UBUNTU run  rostopic echo /publication_test to be able to see the message

[ ] To send a message to ROS from UNITY, press the S key (verify that you have selected the GAME screen) the following will appear

[ ] To send a message to UNITY from ROS, execute rostopic pub /subscription_test std_msgs/String "subscription test message data" in a new UBUNTU terminal, the following will appear

Hi @JuanCarlosGallo - this is really great!! Thanks so much for the advice - I found that the example code that you mentioned for communication was also not really functional for me.
Like you stated, it has a main() function - I think this is because the code is written as a general ROS# example, and not specifically for Unity. Thus, it doesn't account for the fact that Unity must use the Start()/Update() functions for its scripts.
I used your script and everything works smoothly to send messages from ROS to Unity, which is what I need. I'd definitely encourage the Wiki to put up your example script as a guide for users who are specifically looking for simple communication between ROS and Unity. Thanks again! 😁

Hi @JuanCarlosGallo I have tried your codes and they work.
I am totally new to ROS and I am wondering how to write a node in ROS to subscribe the topic "publication_test" and use "ROS_INFO" to print it out.
Thanks!


[Bug fix] Filters not clearing properly when a select2_ajax filter is used

Fixes #2645 and #2653 as far as I can tell.
Please see my detailed description in https://github.com/Laravel-Backpack/CRUD/issues/2645#issuecomment-685692258
@pxpm could you please give it a look/test/review and tell me if I can merge it from your point of view?
Cheers!

A new inspection was created.

The inspection completed: No new issues

Hello @tabacitu
Are you sure you are using the last bp version on that testing site ?
I was not able to reproduce it: https://recordit.co/8TCDiiyWz6
Or I did something wrong ?
Best,
Pedro

Yup, I'm sure. Just ran git pull origin master to make sure, still happening. Here's my test on the Monsters CRUD:

Notice that after I clear "Remove filters" the search URL in developer tools still has one GET parameter.
Also notice that in your video, after you click "Remove filters" it says:

So it's still a little filtered - 8 entries are missing. It should be the same problem - one leftover GET parameter.

I get it now.
Testing your solution. brb o/

A new inspection was created.

Ok, done, thanks! Merged, will be released in today's patch update.

The inspection completed: No new issues


Combine two if conditions in ClassUtils.isAssignable().

Coverage decreased (-0.002%) to 95.089% when pulling 550da9ce4e41432945d3abdac3ea982942200539 on Isira-Seneviratne:Simplify_ClassUtils_isAssignable into f6923510352fc3fbfad68bc6c5ac5258a34671b7 on apache:master.

-1 I think the code is easier to maintain with one "if" per type.


This fixes #359 (modified response writing in shortCircuitResponse call)

@AleksejsGrocevs Is the issue still valid?
I gave ported the fix to https://github.com/LittleProxy/LittleProxy/pull/142, is it good to merge?

@asolntsev LGTM


Test suite consumes an extraordinary amount of memory

Hi,
there is a bug report for the Debian packaged version which says that the ruffus test suite consumes an extraordinary amount of memory on the build machine.  The bug was filed in 2016 for version 2.6.3 of ruffus where a memory consumption of 18GB was measured.  The bug reporter did a new measure for the recent version 2.8.1 he gets 38GB so it became worse.  I tried to reproduce the issue and can confirm that if I do
while true; do grep Committed_AS /proc/meminfo; sleep 1; done

in a separate xterm while running the build time tests I get something like
Committed_AS:    9807008 kB
Committed_AS:   22324324 kB
Committed_AS:   33082052 kB
Committed_AS:   33082052 kB
Committed_AS:   17073508 kB
Committed_AS:   41512736 kB
Committed_AS:   45553976 kB
Committed_AS:   26653296 kB
Committed_AS:    5887392 kB

while the test suite outputs something like
test_pool_manager.py::TestExecutionEngines::test_pipeline_fails_with_unknown_manager PASSED [ 25%]
test_pool_manager.py::TestExecutionEngines::test_pipeline_runs_with_gevent_manager <- ../../../../../../../usr/lib/python2.7/unittest/case.py SKIPPED [ 50%]
test_pool_manager.py::TestExecutionEngines::test_pipeline_runs_with_multiprocessing PASSED [ 75%]
test_pool_manager.py::TestExecutionEngines::test_pipeline_runs_with_multithreading PASSED [100%]

===================== 3 passed, 1 skipped in 2.50 seconds ======================
pytest -v test_cmdline.py
============================= test session starts ==============================
platform linux2 -- Python 2.7.15+, pytest-3.6.4, py-1.7.0, pluggy-0.8.0 -- /usr/bin/python2
cachedir: ../../../../../.pytest_cache
rootdir: /home/andreas/debian-maintain/salsa/med-team/build-area/python-ruffus-2.8.1, inifile:
collecting ... collected 4 items

test_cmdline.py::Test_cmdline::test_argparse PASSED                      [ 25%]
test_cmdline.py::Test_cmdline::test_optparse PASSED                      [ 50%]
test_cmdline.py::Test_cmdline::test_verbose PASSED                       [ 75%]
test_cmdline.py::Test_cmdline::test_verbose_abbreviated_path PASSED      [100%]

Please note:  I'm definitely not sure that this is the affected test neither that these are the only tests which push the memory limit way more far than other programs but I confirm that the reporter is right and that the issue can be found somewhere close here.  I'd suggest some bisecting to find the actual test to find out the reason.
Kind regards, Andreas.

Thanks for reporting this - I will check. I observed something similar
when using multiprocessing for concurrency. One of the reason I added
the ability to use gevent.
Best wishes,
Andreas
On 21/12/2018 18:29, Andreas Tille wrote:

Hi,
there is a bug report https://bugs.debian.org/841073 for the Debian
packaged version which says that the ruffus test suite consumes an
extraordinary amount of memory on the build machine. The bug was filed
in 2016 for version 2.6.3 of ruffus where a memory consumption of 18GB
was measured. The bug reporter did a new measure for the recent version
2.8.1 he gets 38GB so it became worse. I tried to reproduce the issue
and can confirm that if I do
|while true; do grep Committed_AS /proc/meminfo; sleep 1; done |
in a separate xterm while running the build time tests I get something like
|Committed_AS: 9807008 kB Committed_AS: 22324324 kB Committed_AS:
33082052 kB Committed_AS: 33082052 kB Committed_AS: 17073508 kB
Committed_AS: 41512736 kB Committed_AS: 45553976 kB Committed_AS:
26653296 kB Committed_AS: 5887392 kB |
while the test suite outputs something like
|test_pool_manager.py::TestExecutionEngines::test_pipeline_fails_with_unknown_manager
PASSED [ 25%]
test_pool_manager.py::TestExecutionEngines::test_pipeline_runs_with_gevent_manager
<- ../../../../../../../usr/lib/python2.7/unittest/case.py SKIPPED [
50%]
test_pool_manager.py::TestExecutionEngines::test_pipeline_runs_with_multiprocessing
PASSED [ 75%]
test_pool_manager.py::TestExecutionEngines::test_pipeline_runs_with_multithreading
PASSED [100%] ===================== 3 passed, 1 skipped in 2.50 seconds
====================== pytest -v test_cmdline.py
============================= test session starts
============================== platform linux2 -- Python 2.7.15+,
pytest-3.6.4, py-1.7.0, pluggy-0.8.0 -- /usr/bin/python2 cachedir:
../../../../../.pytest_cache rootdir:
/home/andreas/debian-maintain/salsa/med-team/build-area/python-ruffus-2.8.1,
inifile: collecting ... collected 4 items
test_cmdline.py::Test_cmdline::test_argparse PASSED [ 25%]
test_cmdline.py::Test_cmdline::test_optparse PASSED [ 50%]
test_cmdline.py::Test_cmdline::test_verbose PASSED [ 75%]
test_cmdline.py::Test_cmdline::test_verbose_abbreviated_path PASSED [100%] |
Please note: I'm definitely not sure that this is the affected test
neither that these are the only tests which push the memory limit way
more far than other programs but I confirm that the reporter is right
and that the issue can be found somewhere close here. I'd suggest some
bisecting to find the actual test to find out the reason.
Kind regards, Andreas.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/cgat-developers/ruffus/issues/104, or mute the
thread
https://github.com/notifications/unsubscribe-auth/AEOKYO_ZMQXk4A-sIX1GixKxI6zqE9oxks5u7SiegaJpZM4ZekBb.

Hi @AndreasHeger,
Are there some advances for this issue?
Thanks!

Greetings,
I kept a close look to the committed memory while running the test suite and I believe I identified a 20GB bump in the memory consumption in ruffus/test/test_with_logger.py.  The test runs the pipeline at 500 processes on two occurrences, which seemed a bit unreasonable on low cores count machines, possibly having little memory as well.  When I adjusted the process count of the test suite to my PC cores count, the memory consumption delta dropped to 5GB.
Would it be possible to dynamically adjust the multiprocess in the pipeline_run calls of the test suite to the machines allowed cores count (e.g. with len(os.sched_getaffinity(0))), or would it go against the purpose of the test?
Have a nice day,  :)
Étienne.

The change I had in mind is available under the form of patch at the following location in case you are interested:
https://salsa.debian.org/med-team/python-ruffus/-/blob/debian/2.8.4-4/debian/patches/reasonable-multiprocessing.patch
Please feel free to use it if you think this is useful.


Using on Angular 2 project(angular-cli)

I am going to use this component in my angular 2 project.
Is it possible?
If yes, how can i install this in my project?
I ran "npm install angular-bootstrap-colorpicker --save".

is this possible with angular 2 and more?


Recall of RPN stage

Hi,I wrote the eval_rpn.py based on your code, and the results of operation are as follows:
total bbox recall(thresh=0.100): 12516 / 19060 = 0.656663
total bbox recall(thresh=0.300): 12242 / 19060 = 0.642288
total bbox recall(thresh=0.500): 11379 / 19060 = 0.597009
total bbox recall(thresh=0.700): 8201 / 19060 = 0.430273
total bbox recall(thresh=0.900): 653 / 19060 = 0.034260
The recall  with a threshold of 0.7 is quite different from that  in the paper. Is there something wrong with the code or some evaluation details I didn't pay attention to？
eval_rpn.zip

Hi, this library is still a work in progress. I have made several updates in a private branch which may bring results closer to those claimed in paper. (Among others, the smooth L1 loss is missing a scaling factor, the focal loss needs to be averaged by batch size, etc.) I will push those changes here soon in the next major release.


Embedded images in content elements don't automatically publish with the element

Versions:
silverstripe/recipe-content-blocks        dev-master 86552dc
dnadesign/silverstripe-elemental          2.x-dev 0bbe235
silverstripe/cms                          4.1.x-dev 7dea009

Given I:

Add a content element to a page
Add some content to that element, including an inline image in the content (which I've just uploaded to do this with)
Save the content element
Go back and publish the page

Result:

Page and elements in page are all published
Image within content element is still in draft
Frontend users can't see the image

Expected:
- * Image within content element is still in draft
- * Frontend users can't see the image
+ * Image within content element is published as well
+ * Frontend users can see the image

Notes:

Marked as medium impact because a CMS user can manually publish the image to workaround this issue
The CMS has some custom handling for HTML embedded images, it possibly isn't being triggered for this level of nesting

I think what you're observing is probably this: https://github.com/silverstripe/silverstripe-versioned/issues/75

Yep, nice! 😄

This applies to $has_one files as well in elements.

@pxwee5 for physically related files (and any other objects) you can use the $owns config API to have them publish, delete and duplicate with the element

Soon the master branch here will require SS 4.2, so we should be able to implement the new changes from https://github.com/silverstripe/silverstripe-versioned/issues/75

This this not an issue any longer for dev-master at 4.x-dev since a page publish  - which is required to reflect changes made to blocks - saves and publishes all blocks as well as the included files.
To test this I added two content blocks and added images to each via the HTML editor field. The first block I saved, the second block I published.
Then I published the entire page that contains the Elemental Area.
In an incognito window I can see the following:


15602 Merge Legal Name changes into main branch

Issue #: bcgov/entity#15602
Description of changes: See PR #534 .
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of the bcrs-entities-create-ui license (Apache 2.0).

/gcbrun

Temporary Url for review: https://business-edit-dev--pr-538-gnwobvg8.web.app


New package: Nova v0.0.1

Registering package: Nova
Repository: https://github.com/ilkerarslan/Nova.jl
Created by: @ilkerarslan
Version: v0.0.1
Commit: 300aed55d606b818344f865df7b602a6c5e94b1b
Reviewed by: @ilkerarslan
Reference: https://github.com/ilkerarslan/Nova.jl/issues/1

Closing in favor of https://github.com/JuliaRegistries/General/pull/111018


BREAKING: add support for targets as discussed in #3

This is an initial attempt at addressing #3.
The proposed API assumes the following shapes:

samples: (batch_size, num_channels, num_samples)
targets: (batch_size, num_channels, num_frames, num_classes)

Input
Target
num_frames
num_classes

Audio
class(es), fixed length, not correlated with the input length. Low priority.
1
1 or more

Audio
Time series of class(es).
more than 1
1 or more

Audio
Audio (length same as the input).
num_samples
1

and is used like that
augment = MixSamples()
augmented = augment(samples, targets=targets)
mixed_samples = augmented.samples
mixed_targets = augmented.targets

I have just added a Mix transform as an example.

A good next step would be to have it return an ObjectDict (see https://github.com/asteroid-team/torch-audiomentations/pull/126) instead of tensor or tuple

We'll do.

What do you think of automatically inferring target_rate from num_samples = samples.shape[2], sample_rate, and num_frames == target.shape[2]?
target_rate = sample_rate * num_frames / num_samples

with the num_frames = 1  corner case where target_rate does not even exist (one label for the whole sample).

I would prefer to have it explicitly provided by the user. Here's an example that explains why:
Yamnet has a rate of 2,0833 hz (1 classification output for every step of 480 ms). In this example the rate cannot be accurately inferred, especially if the audio is short, because e.g. 1,1 seconds and 1,3 seconds of audio will give the same number of frames.

I would prefer to have it explicitly provided by the user. Here's an example that explains why:
Yamnet has a rate of 2,0833 hz (1 classification output for every step of 480 ms). In this example the rate cannot be accurately inferred, especially if the audio is short, because e.g. 1,1 seconds and 1,3 seconds of audio will give the same number of frames.

Noted.
When target_rate is required but missing, can we still do our best to infer it automatically and warn the user about it?
warnings.warn(
    f"target_rate is required by {self.__class__.__name__}. "
    f"It has been automatically inferred from targets shape to {inferred_target_rate} "
    f"If this is incorrect, please use target_rate to pass it directly.")

Yes, I'm okay with that

Updated with the API discussed in Slack.

Thanks :) I'll have a look

This is starting to look quite good already!
Here's what I think needs to be done:
Before it gets merged:

Mix deserves a unit test or two. Can you make that happen @hbredin?

After it gets merged:

Add an output_format parameter that defaults to the old-style API, so we can release at least one version with backwards-compatible API (and then have the new API style be opt-in)
Have a demo script that processes targets as well as the usual inputs. Maybe also document some examples of how to use the targets feature.
Update changelog

Before it gets merged:
* Mix deserves a unit test or two. Can you make that happen @hbredin?

I definitely can (and will) but I am having trouble thinking about what to test.
I can do the equivalent of AddBackgroundNoise's test_varying_snr_within_batch.
Do you think of a test focusing on targets?

I definitely can (and will) but I am having trouble thinking about what to test.
I can do the equivalent of AddBackgroundNoise's test_varying_snr_within_batch. Do you think of a test focusing on targets?

At the very least I like to have the shape and the dtype of the output tested. And that the output isn't the same as the output. But of course, smart test assertions are useful 👍

Thanks for the contribution 🚀

Thanks for merging this!

After it gets merged:
* Add an output_format parameter that defaults to the old-style API, so we can release at least one version with backwards-compatible API (and then have the new API style be opt-in)

I can take care of it but can you please clarify the API?

* Have a demo script that processes targets as well as the usual inputs. Maybe also document some examples of how to use the targets feature

I can easily create a notebook showing how I use this new feature in pyannote.audio.
Would that be OK or do you want this demo to be 100% torch_audiomentation?

* Update changelog

I suggest you do that :)


CB-22098 Hotfix - Load balancer public IP should not be delete in downscale operation

Problem: When an error occurs in the upscale operation, it downscales back. When it tries to delete the public IP associated with the load balancer, as it is in use, the operation fails.
Test:
Created light duty datalake, then create a data engineering HA data hub.
Throw an exception before the save resources in the upscale operation.
The public IP of the LB is skipped.

Closing the PR, please re-open if it's still relevant.


Only send auth token to Zeus

~Also has CORS issues with the Zeus LSP, told evan he is working on enabling the header~ fixed

added a test for the api, should let us catch this in the future


Anchored activity not moving when dragging parent

This is a slight regression from https://github.com/NASA-AMMOS/aerie-ui/pull/436. We should either:

Fix or
Wait until https://github.com/NASA-AMMOS/aerie/pull/815 is in and use that column instead for this

@camargo are we ready to take this one on now?


Property testing don't accept suspended lambdas

In the same fashion of https://github.com/kotlintest/kotlintest/issues/707, the following code won't work:
"Foo" - {
     forAll<Int> { first: Int ->
        "Bar" { println(first) }
    }
}

@sksamuel
One approach I was trying for this was inlining everything.
However, this leads to a forever-running compilation process, as you'll see for the commit.
We'll have to look for a alternative on this. Perhaps doing the suspend-version again. But this is starting to become a bigger problem

I think we should try to address this soon, maybe we can take a fix for things like this as 3.4 release while we continue to work on 4.0 in the background.

This is nearly done


DataGrid SelectedIndex does  not make selected row visible. There is no ensurevisible like all other List Displays outside avalonia

Describe the bug
use any datagrid with 100 row.
when grid and data is loaded
SeletedIndex = 99
DataGrid does not show selected row
To Reproduce
description
Expected behavior
EnsureVisible = true
Avalonia version
11.1
OS
No response
Additional context
No response

Dispatcher.UIThread.InvokeAsync((System.Action)(() => DataGrid.ScrollIntoView(DataGrid.SelectedItem, null)), DispatcherPriority.ContextIdle);
google search brings answers for wpf even if asked for avalonia


LspRename fails to rename symbols across project.

The above screenshot is the result of renaming a module in alacritty.

Are the files mentioned in the error messages present in those directories?  Are you using the rust language server?  Can you describe the list of steps to reproduce this issue?

yes all the files are present. No changes were made to the repo.
steps to reproduce

clone the repo.
open alacritty/alacritty/src/main.rs
change any mod * to new name.

Lsp: Rust-analyzer

I have committed https://github.com/yegappan/lsp/commit/500947f69f3d9e818cd7ed7260f2541bfb353644 to address this.  Can you try the latest version of the plugin?

New Update works as expected.
Thank you for the quick fix and for a great tool.


How to use the "oauth-owner" middleware and get Owner ID in Laravel 5 version ?

I'm trying to use the oauth-owner middleware in laravel 5 (not 5.1) but I get class not found and after I searched the issues, I found a comment for @lucadegasperi saying that this is for L5.1.
How can I use this middleware with L5 with out the need to upgrade ?
Also I'm trying to use
Authorizer::getResourceOwnerId()
to get the owner ID but get
Class 'LucaDegasperi\OAuth2Server\Facades\Authorizer' not found
Please help

The middlewares doesn't support Laravel 5.0 you have to update to 5.1 to use them.
The Laravel 5.1 upgrading guide is almost none existing. Once updated to 5.1 the facade error wont be thrown.

Thanks, I'll try the upgrade :+1:

:+1: