Raster.reproject() raises confusing error when data are not loaded

Describe the bug
If the data are not loaded before calling reproject, it fails. The error is also not very useful...
To Reproduce
Steps to reproduce the behavior:
import geoutils as gu

img1 = gu.Raster(gu.datasets.get_path("landsat_B4_crop"), load_data=True)
img2 = gu.Raster(gu.datasets.get_path("landsat_B4"), load_data=False)

img2.crop(img1)

#img2.load()

img2_reproj = img2.reproject(img1)

This raises an exception:
Traceback (most recent call last):
  File "/home/erik/temp/hello.py", line 8, in <module>
    img2_reproj = img2.reproject(img1)
  File "/home/erik/Projects/ETH/GeoUtils/geoutils/georaster.py", line 1022, in reproject
    dst_data, dst_transformed = rio.warp.reproject(self.data, **reproj_kwargs)
  File "/home/erik/.local/share/conda/geoutils/lib/python3.9/site-packages/rasterio/env.py", line 387, in wrapper
    return f(*args, **kwds)
  File "/home/erik/.local/share/conda/geoutils/lib/python3.9/site-packages/rasterio/env.py", line 610, in wrapper
    return f(*args, **kwds)
  File "/home/erik/.local/share/conda/geoutils/lib/python3.9/site-packages/rasterio/warp.py", line 368, in reproject
    _reproject(
  File "rasterio/_warp.pyx", line 410, in rasterio._warp._reproject
  File "rasterio/_warp.pyx", line 404, in rasterio._warp._reproject
ValueError: Invalid source

I presume what the error means is that None is an invalid source.
If img2.load() is uncommented in the above example, reprojection works fine.
Expected behavior
Like most other parts of the Raster class, Raster._data should probably be silently loaded in the reproject() function. An alternative (but I think much worse) solution is to just provide an actual descriptive error.
System (please complete the following information):

OS: Linux
Environment: latest main

Additional context
The reason I found this, and also why it bothers me, is that I often have a large reference DEM that I want to compare with a smaller DEM. Then I could do something like:
small_dem = xdem.DEM("...")
# Crop the DEM first and then use `reproject()` to conform the resolution.
large_dem = xdem.DEM("...", load_data=False).crop(small_dem, inplace=False)
large_dem.load()
large_dem = large_dem.reproject(small_dem, resample="bilinear")

This could have been made in a one-liner, if this "bug" is fixed:
small_dem = xdem.DEM("...")
# Crop the DEM first and then use `reproject()` to conform the resolution.
large_dem = xdem.DEM("...", load_data=False).crop(small_dem, inplace=False).reproject(small_dem, resample="bilinear")

This gets me thinking that maybe the Raster() instantiation could have a crop functionality already. Something like:
large_dem = xdem.DEM("...", crop_to=small_dem)

... which would open the dataset, crop it, and then load the data.

You mean, some easy fix like this: https://github.com/GlacioHack/GeoUtils/pull/126/files? 😉
I would favor simply raising an error. Overall, I'm not a big fan of the functions silently loading potentially GB of data in memory. I don't think it is that bad to have an additional line that explicitely loads the data when needed.
I also understand your frustration with the example shown, but I feel like 3 lines of code is not that bad! I find the one-liner example actually less easy to understand. We could possibly include a cropping option to the instantiation (I'm 99% sure it was part of the older geoutils, although with an unclear argument load_data that could be a boolean or a 4-tuple). The only risk I see is that if we duplicate functionalities, users might be confused... So at least the crop option should have the same arguments as the crop method and simply call the method underneath.

Agree with Amaury in that raising an error seems to be the preferable behaviour to me (after all, one has to specify load_data=False, so must expect to have different behaviour from that point on)


test sharding/parallelization

moved e2e tests to jesr

#601 is blocking this. Should be fixed first before merging this.

@LeoNatan why blocker?
there's going to be a bug where PN isn't ready for parallelization but we can fix it when we get to it. No?

I don't think that is the right approach. I think we should fix all known issues before merging this large PR.
in the case of #601, it's a very thing to fix.

closing in favour of https://github.com/wix/detox/pull/609


QueenParseTreeVisitor.java: Implement visiting of unannRe...

The puzzle<PHONE_NUMBER> originating from #49 has to be resolved:
https://github.com/jvmqueen/queen-of-java/blob/d869ce8f509dabc90e6b5ee96da851e6c6292425/src/main/java/org/queenlang/transpiler/QueenParseTreeVisitor.java#L983-L983
"Implement visiting of unannReferenceType".
The puzzle was created by amihaiemil at 2023-01-05 18:53:25 +0200.
Estimation is 60 minutes.
If you have any technical questions, don't ask me, I won't be able to help. Open new issues instead.

@amihaiemil this is your task now, please go ahead. Deadline (when this ticket should be closed) is 2023-01-15T17:00:34.577022.
Estimation here is 60 minutes, that's how much you will be paid.
Remember, you don't have to solve everything in this ticket - you can solve it partially and leave todo markers in the code, which will become future tasks.
If you have any questions don't ask me, I'm not a technical person. Open new tickets instead.
If you don't have time or simply don't want to work on this, you can always resign.

Puzzle disappeared from the code, that's why I closed this ticket.

@amihaiemil thank you for resolving this ticket. I've just added it to your active invoice. You can always check all your invoices and more on the Contributor Dashboard.


Need to accept terms before use

Azure.RequestFailedException: 'User failed validation to purchase resources. Error message: 'You have not accepted the legal terms on this subscription: 'af47a13f-fd84-4989-b969-e268d0e5d2c3' for this plan. Before the subscription can be used, you need to accept the legal terms of the image. To read and accept legal terms, use the Azure CLI commands described at https://go.microsoft.com/fwlink/?linkid=2110637 or the PowerShell commands available at https://go.microsoft.com/fwlink/?linkid=862451. Alternatively, deploying via the Azure portal provides a UI experience for reading and accepting the legal terms. Offer details: publisher='neonforgellc1660679895021' offer = 'neonkube_0-8-0-preview', sku = 'neonkube', Correlation Id: '8ebbdb34-3a93-4c42-b61d-08a959a4d6ab'.'
We might want to see if we can do this in neon desktop

I don't believe that's possible (I looked into that a while ago).  The cloud providers need the user to actually visit the marketplace page and agree there.  Perhaps we can detect whether the user has agreed or not and send them to the product agreement page.

Now that AWS Marketplace images exist, we probably need to do the same for AWS.

For Azure, it looks like it's possible to accept terms using PowerShell cmdlets:
set-azurermmarketplaceterms
set-azmarketplaceterms


basic html based payment form

PR accepted @AlishaKausheen
Just Star this repo too.
Successfully merged to HacktoberFest_22 repo.
🚀🚀👍


Add a new fit model+ MATLAB

I did add a new fit model according to the instruction, but it did not show up in the list of ModelID.m. I noticed I have to add my model to ModelID.m in C:\Sources\Gpufit-master\Gpufit\matlab folder.

In order to use the fit model from Matlab just use it's number as ID. The ModelID.m ist just a convenience method to provide names for the numbers. It's independent from Gpufit and not automatically generated. This means:

Either just use the ID number of your model as model ID.
Or modify ModelID.m to get the same style as the examples.

Agreed that we should update the documentation to include this detail, that modelID.m should be modified when adding a new model function.


Itemsadder compatibility

Description
Add support for itemsadder please
Configuration
Any
Payment (optional)

[ ] I'm willing to pay for this feature

??


Added flake8-bugbear to pre-commit hooks

Summary of changes

[x] .pre-commit-config.yaml: added flake8-bugbear hook for pre-commit
[x] setup.cfg: excluded B011 for tests following dask/distributed#6809
[ ] Individual PRs per warning from flake8-bugbear:

[ ] B007: Unused loop control variable

[x] Closes #9369
[ ] Tests added / passed
[ ] Passes pre-commit run --all-files

Can one of the admins verify this patch?
Admins can comment ok to test to allow this one PR to run or add to allowlist to allow all future PRs from the same author to run.

add to allowlist

Great, thanks very much for all your help!


Mixed Precision Training

Mixed precision training is available in PaddleCV/image_classification but not in this repo. According to Release Notes of PaddlePaddle 1.7, AMP interfaces have been added.

Based on these, I think it would be convenient to implement it.
Mixed precision training is critical to fast training on V100. Please consider adding it. Thank you!

Thanks for your attention, the support for AMP training in PaddleClas is one the way.

You can refer to this PR for the solution. #124


Fix chord component

notesArr was incorrectly a const. Changed to let.

Awesome, thanks! Project style is no semicolons, can you cut the semicolon on line 16?

I'm back online now, I'll take care of it. Thanks so much for contributing!


[FSDE-14968] Fix pipeline issue

The CI pipeline run successfully in https://jenkinsprod.corp.intranet:8443/job/UX-CHI/job/Productive/job/Chi/job/PR-329/3/. :white_check_mark:

Approving Node upgrade from 10.24 to 14.x


[feat]: Dont store CQL commands that generated an error in CQL command history

In this example tracing onl got an error back - we should not store commands that came back with an error in the history

Add a system setting to Disable/Enable storing error CQL with it disabled by default.

But @millerjp if we suppose that the user wants to execute the statement again - let's say it not incorrect but it hasn't been executed as expected -, wouldn't be better to just keep the statement?

Lets leave this for now @mhmdkrmabd - we can review when we plan for 1.1


Move team functionality to new plugin "Team-Plugin"

Issue moved to gigaclub/Team-Plugin #1 via ZenHub


Bordered date picker dev

Area
UI Components
The problem
Need bordered version to be more compatible with theme next's rounded corner
Design aligned to other form controls in #3456
The solution
Add bordered option
Alternatives and examples
/
Are you a JPMorgan Chase & Co. employee?

[X] I am an employee of JPMorgan Chase & Co.

design review required ?
@dplsek

~added provision for dropdowns (month and date) to appear as bordered when the date picker is bordered
Merged to labs.


GATv2 refactoring

Hi @vpj

Fixed readme
Added some clarification about this GATv2 implementation
Updated the dropout in the Core experiment, and added updated links to the experiment.
The paper author's tweeter IDs are @shakedbr @urialon1 @yahave

Can you generate the docs (and the experiment comparison)?
Thanks!
Shaked

I will read the paper and retweet, by Saturday
Thanks

I cleaned up the experiment code to reuse the GAT experiment.
https://nn.labml.ai/graphs/gatv2/experiment.html

Added a little more details to the intro. Let me know if it's ok https://nn.labml.ai/graphs/gatv2/index.html

Looks great!


Clientside JS?

Is there a chance to use this on clientside js? For example click a button and get the excel document from the data on the browser like downloading a document?

I'll have to look into it.

this can be usefull https://stuk.github.io/jszip/

I join to Lacivert request.
can browserify can handle that?

Any progress?

Finally - yes, this is fixed in 0.2.42 :-D

@lacivert hadi hayırlı olsun

How to use exceljs to achieve this, can anyone provide an example?

@wei-nete you can take a look at the spec/browser folder in the github repo which demos a web page creating a spreadsheet, sending it to the server and receiving a modified version.


The names of codebehind files are not updated after renamed of  .mbconfig file.

System Information (please complete the following information):

Windows OS: Windows-10-Enterprise-21H1
ML.Net Model Builder (Preview): <IP_ADDRESS>0201 (Main Branch)
Microsoft Visual Studio Enterprise 2019: 16.10.4
.Net: 5.0.302

Describe the bug

On which step of the process did you run into an issue: Rename model builder on Net472 project
Clear description of the problem: On .netcore project, the names under model builder will be updated after renamed the model builder, but net472 will not.

To Reproduce
Steps to reproduce the behavior:

Select Create a new project from the Visual Studio 2019 start window;
Choose the C# Console App (.NET Framework) project template with .Net Framework 4.7.2;
Add model builder by right click on the project;
Select Text classification scenario to complete training;
Click "Reload All" on the popped File Modification Detected dialog;
Save and close the model builder;
Under Solution Explorer, rename the model builder from "MLModel1.mbconfig" to "Advanced_MLModel1.mbconfig", see that the names of .consumption.cs, .training.cs, .zip files are not updated.

Expected behavior
The names under model builder are updated after renamed the model builder on Net472 project.
Screenshots
If applicable, add screenshots to help explain your problem.
Net472：

.NetCore:

Additional context
Add any other context about the problem here.

#1446

I just noticed that this issue is a little different from 1446.
For this issue,  the rename has to be made after code-behind files are generated and all file names behind the .mbconfig should be updated accordingly.

not repro this issue on main: <IP_ADDRESS>6302


better documentation

We need:

[ ] More tutorials
[ ] A proper README
[ ] Reorganize the manual to split up the object reference by category, and maybe fold some of the concepts in closer to the objects they're for.

And things with significantly less value that need to be decided on:

[ ] do we want a blog?  I'm leaning toward no, but it isn't necessarily a bad idea.
[ ] How much effort should be put into writing and maintaining a section of the manual for potential contributors? This worked well for the Rust compiler and there's enough subtlety that it might be useful for us, but it's unclear if that's enough to make up for needing to keep it up to date.

So I'd like to help, and this area seems like one I could do some good things in.
Do you have anywhere particular you'd like me to start? I'm thinking Tutorials, although they'd have to be in Python.
Is there is a particular folder you'd like stuff in, a particular style, that sort of thing?

So I'd like to help, and this area seems like one I could do some good things in.
Do you have anywhere particular you'd like me to start? I'm thinking Tutorials, although they'd have to be in Python.
Is there is a particular folder you'd like stuff in, a particular style, that sort of thing?

hi
I struggle to get started with HRTF. I had a quick look through the doc but I struggle to find my way.
I started with the python 3d media player, but after reading this I realised that stereo panning has been turned on by default recently, and I do not know how to enable HRTF back. The panning is quite brutal with the stereo mode, by default it is like balanced stereo if x=0, full left if x<0 and full right if x>0, with no smooth transition at all. Not sure if I am doing something wrong, but I am not sure what this example is meant to achieve without HRTF enabled by default anymore.
Then I tried to locate references to HRTF in the doc, there were not that many matches to my surpise. The closet page I found what the  3D panning article, but I do not know how to use the HRTF panning mode still. I search for instance SYZ_PANNER_STRATEGY_HRTF in the git repo code base but could not find a match.
I had a quick look at the python examples in the example folder (fdn_reverb, echo and noise) but no evidence of HRTF settings in those neither.
Please help me, I am lost on how to enable and use HRTF with the lib. thanks a lot.

Happy to help on writing a quick python tutorial complement, but I need your help to get started. I am not sure to understand if the SYZ_P_PANNER_STRATEGY is defined at the context level or the source level.
Let's say I start with the 3D media player python example below, how can setup the HRTF mode?
import sys
import synthizer
if len(sys.argv) != 2:
    print(f"Usage: {sys.argv[0]} <file>")
    sys.exit(1)

synthizer.configure_logging_backend(synthizer.LoggingBackend.STDERR)
synthizer.set_log_level(synthizer.LogLevel.DEBUG)
with synthizer.initialized():
    ctx = synthizer.Context( ???)
    ???

thanks a lot.

@chrisnorman7
I missed your comment.  The answer is it's probably premature.  Let me finish breaking the library's API first.
@Tetsujinfr
As I put in the other issue:
context.panner_strategy = synthizer.PannerStrategy.HRTF

And then create your sources.

Thanks, all good now with enabling HRTF.
I got a few question regarding the HRTF rendering but I will open a new issue or leverage another one if it already exists.

Hi,
I'm currently attempting to write games for the visually impaired. Standardly, when writing a space shoot up, pitch dictates the Y cordinate, and pan the X coordinate. Can I have some clarification on the following:

I want to play a repeated sound (Very short), but depending on the location of the object making the sound, I need to adjust pitch and pan accordingly. The pitch and pan should relate to the relative position of the enemy and the player.
I did look at the manual, but could find nothing that my meager brain could interpret as a solution to this.
Many thanks,
David.

You need BufferGenerator with the pitch_bend property and PannedSource with the panning_scalar property.  Those two together should do what you want.
Avoid StreamingGenerator for this use case until #29 is closed.

Austin,
Thanks so much for this. At least I know what I’m looking for now,
David.
From: Austin Hicks @.>
Sent: 13 June 2021 17:19
To: synthizer/synthizer @.>
Cc: davidkreynolds @.>; Comment @.>
Subject: Re: [synthizer/synthizer] better documentation (#28)
You need BufferGenerator with the pitch_bend property and PannedSource with the panning_scalar property. Those two together should do what you want.
Avoid StreamingGenerator for this use case until #29 https://github.com/synthizer/synthizer/issues/29  is closed.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub https://github.com/synthizer/synthizer/issues/28#issuecomment-860236348 , or unsubscribe https://github.com/notifications/unsubscribe-auth/AD4CGCGFEEZGJUUTUEG2KCDTSTK7LANCNFSM4TTNP5MA .  https://github.com/notifications/beacon/AD4CGCAU2UE7MRRBJ3FTIOLTSTK7LA5CNFSM4TTNP5MKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOGNDCUPA.gif

Hi Austin,
Can you point me in the direction of some usage/coding examples?
Thanks.

Clone the 0.9-dev branch and check examples or bindings/python/examples and you can see what this looks like once 0.9 lands.  That's all I've got.  @chrisnorman7 has at least one open source game written with it.
Can you articulate what's hard about this library?  The big example in the manual should be enough to figure most things out if combined with the object references.  There's not supposed to be anything complicated enough here to need a lot of detailed demonstration, at least not until custom streaming stuff in 0.9 that's not out yet.
If your issue is a lack of Python-specific documentation, this isn't going to be fixed: I don't have the bandwidth to maintain two sets of everything.  Shortly once I take over the Rust bindings that will be 3.  It doesn't scale for a weekend project.  But the C API translates in a very straightforward manner and you should be able to figure it out by reading the cython or even just playing with it in a shell.

Austin,
I completely get it. It’s a little tricky, as the frequency of the sound needs to be linked to the movement of an object, as does the pan position.
Further to this, can I have more than one sound playing at the same time?
I’ll take another look at the big example in the docs…
From: Austin Hicks @.>
Sent: 18 June 2021 15:36
To: synthizer/synthizer @.>
Cc: davidkreynolds @.>; Comment @.>
Subject: Re: [synthizer/synthizer] better documentation (#28)
Clone the 0.9-dev branch and check examples or bindings/python/examples and you can see what this looks like once 0.9 lands. That's all I've got. @chrisnorman7 https://github.com/chrisnorman7  has at least one open source game written with it.
Can you articulate what's hard about this library? The big example in the manual should be enough to figure most things out if combined with the object references. There's not supposed to be anything complicated enough here to need a lot of detailed demonstration, at least not until custom streaming stuff in 0.9 that's not out yet.
If your issue is a lack of Python-specific documentation, this isn't going to be fixed: I don't have the bandwidth to maintain two sets of everything. Shortly once I take over the Rust bindings that will be 3. It doesn't scale for a weekend project. But the C API translates in a very straightforward manner and you should be able to figure it out by reading the cython or even just playing with it in a shell.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub https://github.com/synthizer/synthizer/issues/28#issuecomment-864084832 , or unsubscribe https://github.com/notifications/unsubscribe-auth/AD4CGCAJ6N3VBAGYWZXRZVLTTNKWBANCNFSM4TTNP5MA .  https://github.com/notifications/beacon/AD4CGCC3V5W3QOHNLKV6RS3TTNKWBA5CNFSM4TTNP5MKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOGOAOGYA.gif

Yeah, of course you can have more than one sound.  You just make more sources, or hook more generators to one source, depending.  For what it's worth I am blind, and I am writing this to try to make an MMO for the blind, so I already know what you're trying to do.
pitch_bend is a multiplicative factor.  That is to say that if you make a buffer of a tone at 300 hz and you put it on a generator with pitch_bend=2.0, you get a tone at 600 hz.  If you're looking for an audio library that can take a sound and frequency shift it to a given frequency directly, you're not going to find one that can do so in realtime.  You have to work out the ratio yourself and have whoever is doing sound design make sounds with the same primary frequency so that you know what this should be.
For what it's worth, this issue isn't about answering random questions. It's about collecting documentation requirements and tracking documentation improvements.  Can I assume that you're either (1) new to audio libraries or (2) new to programming, or is Synthizer really that much more confusing than other options?  I am trying to determine how to turn our discussion into something actionable.

Hi Austin,
I’m new to sound libraries. Thanks for explaining the multipative technique.
I get where you’re coming from, and I’ll bother you no more on this issue,
Many thanks,
David.
From: Austin Hicks @.>
Sent: 19 June 2021 23:03
To: synthizer/synthizer @.>
Cc: davidkreynolds @.>; Comment @.>
Subject: Re: [synthizer/synthizer] better documentation (#28)
Yeah, of course you can have more than one sound. You just make more sources, or hook more generators to one source, depending. For what it's worth I am blind, and I am writing this to try to make an MMO for the blind, so I already know what you're trying to do.
pitch_bend is a multiplicative factor. That is to say that if you make a buffer of a tone at 300 hz and you put it on a generator with pitch_bend=2.0, you get a tone at 600 hz. If you're looking for an audio library that can take a sound and frequency shift it to a given frequency directly, you're not going to find one that can do so in realtime. You have to work out the ratio yourself and have whoever is doing sound design make sounds with the same primary frequency so that you know what this should be.
For what it's worth, this issue isn't about answering random questions. It's about collecting documentation requirements and tracking documentation improvements. Can I assume that you're either (1) new to audio libraries or (2) new to programming, or is Synthizer really that much more confusing than other options? I am trying to determine how to turn our discussion into something actionable.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub https://github.com/synthizer/synthizer/issues/28#issuecomment-864469152 , or unsubscribe https://github.com/notifications/unsubscribe-auth/AD4CGCH2KQM7RCEWSG4XCHTTTUH2LANCNFSM4TTNP5MA .  https://github.com/notifications/beacon/AD4CGCGRLOPJG4UXEF7KS7DTTUH2LA5CNFSM4TTNP5MKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOGODMBIA.gif

I don't mind being bothered, and I probably need to set up a proper support mechanism.  I'm just trying to direct stuff that's not related to the issue tracker out of the issue tracker.  For now, if you need further help my e-mail is<EMAIL_ADDRESS> And of course feel free to open issues if you find bugs.
I'll look at getting a google groups or something going in the next few days.  I really should have done it a long time ago.

Closing this out because I just rewrote the manual, massively expanding it in the process.  Taking it further than I now have is infeasible.


[EIAnalytics] [GeneratedWidgets] Chart is not cleared if there is no data

Description:
If user selects a valid date range, charts will be rendered. After that, if user selects a date range where there is no data, the chart still remains the same. It has to be cleared.
Suggested Assignees:
@LakshanSS

Closing this issue since it is fixed in https://github.com/wso2/carbon-dashboards/pull/1143


Update JDK to 21

Debezium has dropped support for 17 and requires JDK 21
[INFO] --- maven-enforcer-plugin:3.0.0-M2:enforce (enforce-java-version) @ debezium-build-parent ---
[WARNING] Rule 1: org.apache.maven.plugins.enforcer.RequireJavaVersion failed with message:
To build this project JDK 21 (or greater) is required. Please install it.

Moving this to 2.7.0 as debezium still supports 17 for connectors, its 21 only for debezium source.


SSL: DECRYPTION_FAILED_OR_BAD_RECORD_MAC when deploying local-universe

Hi,
I'm trying to deploy my own local-universe refering to Installing a selected set of Universe packages. However, I ran in to an issue:
...
Completed: zeppelin
Completed: spark
Stopping docker registry.
registry
Traceback (most recent call last):
  File "/home/todd/utils/dcos-cluster/universe/docker/local-universe/../../scripts/local-universe.py", line 347, in <module>
    sys.exit(main())
  File "/home/todd/utils/dcos-cluster/universe/docker/local-universe/../../scripts/local-universe.py", line 112, in main
    args.selected)):
  File "/usr/lib64/python3.5/concurrent/futures/_base.py", line 556, in result_iterator
    yield future.result()
  File "/usr/lib64/python3.5/concurrent/futures/_base.py", line 398, in result
    return self.__get_result()
  File "/usr/lib64/python3.5/concurrent/futures/_base.py", line 357, in __get_result
    raise self._exception
  File "/usr/lib64/python3.5/concurrent/futures/thread.py", line 55, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/home/todd/utils/dcos-cluster/universe/docker/local-universe/../../scripts/local-universe.py", line 94, in handle_package
    add_http_resource(http_artifacts, url, archive_path)
  File "/home/todd/utils/dcos-cluster/universe/docker/local-universe/../../scripts/local-universe.py", line 261, in add_http_resource
    urllib.request.urlretrieve(url, str(archive_path))
  File "/usr/lib64/python3.5/urllib/request.py", line 217, in urlretrieve
    block = fp.read(bs)
  File "/usr/lib64/python3.5/http/client.py", line 448, in read
    n = self.readinto(b)
  File "/usr/lib64/python3.5/http/client.py", line 488, in readinto
    n = self.fp.readinto(b)
  File "/usr/lib64/python3.5/socket.py", line 575, in readinto
    return self._sock.recv_into(b)
  File "/usr/lib64/python3.5/ssl.py", line 929, in recv_into
    return self.read(nbytes, buffer)
  File "/usr/lib64/python3.5/ssl.py", line 791, in read
    return self._sslobj.read(len, buffer)
  File "/usr/lib64/python3.5/ssl.py", line 575, in read
    v = self._sslobj.read(len, buffer)
ssl.SSLError: [SSL: DECRYPTION_FAILED_OR_BAD_RECORD_MAC] decryption failed or bad record mac (_ssl.c:1977)
Makefile:18: recipe for target 'local-universe' failed
make: *** [local-universe] Error 1

On the other machine, the error message is a bit different:
Stopping docker registry.
registry
Traceback (most recent call last):
  File "/opt/mesosphere/packages/python--533ea12b9ea468de5db5bfc5cee4f28a9d9c4739/lib/python3.5/urllib/request.py", line 1254, in do_open
    h.request(req.get_method(), req.selector, req.data, headers)
  File "/opt/mesosphere/packages/python--533ea12b9ea468de5db5bfc5cee4f28a9d9c4739/lib/python3.5/http/client.py", line 1106, in request
    self._send_request(method, url, body, headers)
  File "/opt/mesosphere/packages/python--533ea12b9ea468de5db5bfc5cee4f28a9d9c4739/lib/python3.5/http/client.py", line 1151, in _send_request
    self.endheaders(body)
  File "/opt/mesosphere/packages/python--533ea12b9ea468de5db5bfc5cee4f28a9d9c4739/lib/python3.5/http/client.py", line 1102, in endheaders
    self._send_output(message_body)
  File "/opt/mesosphere/packages/python--533ea12b9ea468de5db5bfc5cee4f28a9d9c4739/lib/python3.5/http/client.py", line 934, in _send_output
    self.send(msg)
  File "/opt/mesosphere/packages/python--533ea12b9ea468de5db5bfc5cee4f28a9d9c4739/lib/python3.5/http/client.py", line 877, in send
    self.connect()
  File "/opt/mesosphere/packages/python--533ea12b9ea468de5db5bfc5cee4f28a9d9c4739/lib/python3.5/http/client.py", line 1260, in connect
    server_hostname=server_hostname)
  File "/opt/mesosphere/packages/python--533ea12b9ea468de5db5bfc5cee4f28a9d9c4739/lib/python3.5/ssl.py", line 377, in wrap_socket
    _context=self)
  File "/opt/mesosphere/packages/python--533ea12b9ea468de5db5bfc5cee4f28a9d9c4739/lib/python3.5/ssl.py", line 752, in __init__
    self.do_handshake()
  File "/opt/mesosphere/packages/python--533ea12b9ea468de5db5bfc5cee4f28a9d9c4739/lib/python3.5/ssl.py", line 988, in do_handshake
    self._sslobj.do_handshake()
  File "/opt/mesosphere/packages/python--533ea12b9ea468de5db5bfc5cee4f28a9d9c4739/lib/python3.5/ssl.py", line 633, in do_handshake
    self._sslobj.do_handshake()
ssl.SSLError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:645)
During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/root/dcos_cluster/universe/docker/local-universe/../../scripts/local-universe.py", line 347, in <module>
    sys.exit(main())
  File "/root/dcos_cluster/universe/docker/local-universe/../../scripts/local-universe.py", line 112, in main
    args.selected)):
  File "/opt/mesosphere/lib/python3.5/site-packages/concurrent/futures/_base.py", line 580, in map
    yield future.result()
  File "/opt/mesosphere/lib/python3.5/site-packages/concurrent/futures/_base.py", line 407, in result
    return self.__get_result()
  File "/opt/mesosphere/lib/python3.5/site-packages/concurrent/futures/_base.py", line 359, in __get_result
    reraise(self._exception, self._traceback)
  File "/opt/mesosphere/lib/python3.5/site-packages/concurrent/futures/_compat.py", line 111, in reraise
    raise exc
  File "/opt/mesosphere/lib/python3.5/site-packages/concurrent/futures/thread.py", line 61, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/root/dcos_cluster/universe/docker/local-universe/../../scripts/local-universe.py", line 94, in handle_package
    add_http_resource(http_artifacts, url, archive_path)
  File "/root/dcos_cluster/universe/docker/local-universe/../../scripts/local-universe.py", line 261, in add_http_resource
    urllib.request.urlretrieve(url, str(archive_path))
  File "/opt/mesosphere/packages/python--533ea12b9ea468de5db5bfc5cee4f28a9d9c4739/lib/python3.5/urllib/request.py", line 188, in urlretrieve
    with contextlib.closing(urlopen(url, data)) as fp:
  File "/opt/mesosphere/packages/python--533ea12b9ea468de5db5bfc5cee4f28a9d9c4739/lib/python3.5/urllib/request.py", line 163, in urlopen
    return opener.open(url, data, timeout)
  File "/opt/mesosphere/packages/python--533ea12b9ea468de5db5bfc5cee4f28a9d9c4739/lib/python3.5/urllib/request.py", line 466, in open
    response = self._open(req, data)
  File "/opt/mesosphere/packages/python--533ea12b9ea468de5db5bfc5cee4f28a9d9c4739/lib/python3.5/urllib/request.py", line 484, in _open
    '_open', req)
  File "/opt/mesosphere/packages/python--533ea12b9ea468de5db5bfc5cee4f28a9d9c4739/lib/python3.5/urllib/request.py", line 444, in _call_chain
    result = func(*args)
  File "/opt/mesosphere/packages/python--533ea12b9ea468de5db5bfc5cee4f28a9d9c4739/lib/python3.5/urllib/request.py", line 1297, in https_open
    context=self._context, check_hostname=self._check_hostname)
  File "/opt/mesosphere/packages/python--533ea12b9ea468de5db5bfc5cee4f28a9d9c4739/lib/python3.5/urllib/request.py", line 1256, in do_open
    raise URLError(err)
urllib.error.URLError: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:645)>
make: *** [local-universe] Error 1

Seems to be something wrong with SSL and certificate.

I got the same issue.
Here are the error stack :+1: registry
AIM:  Trying to build own universal Installer with selected package and following bellow thing https://dcos.io/docs/1.9/administering-clusters/deploying-a-local-dcos-universe/#scrollNav-2
OS: Ubuntu 14.04
docker 1.12
_**Traceback (most recent call last):
File "/usr/lib/python3.4/urllib/request.py", line 1182, in do_open
h.request(req.get_method(), req.selector, req.data, headers)
File "/usr/lib/python3.4/http/client.py", line 1125, in request
self._send_request(method, url, body, headers)
File "/usr/lib/python3.4/http/client.py", line 1163, in _send_request
self.endheaders(body)
File "/usr/lib/python3.4/http/client.py", line 1121, in endheaders
self._send_output(message_body)
File "/usr/lib/python3.4/http/client.py", line 951, in _send_output
self.send(msg)
File "/usr/lib/python3.4/http/client.py", line 886, in send
self.connect()
File "/usr/lib/python3.4/http/client.py", line 1260, in connect
super().connect()
File "/usr/lib/python3.4/http/client.py", line 863, in connect
self.timeout, self.source_address)
File "/usr/lib/python3.4/socket.py", line 494, in create_connection
for res in getaddrinfo(host, port, 0, SOCK_STREAM):
File "/usr/lib/python3.4/socket.py", line 533, in getaddrinfo
for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/avirup/Downloads/dcos1/universe/docker/local-universe/../../scripts/local-universe.py", line 373, in
sys.exit(main())
File "/home/avirup/Downloads/dcos1/universe/docker/local-universe/../../scripts/local-universe.py", line 123, in main
args.selected)):
File "/usr/lib/python3.4/concurrent/futures/_base.py", line 549, in result_iterator
yield future.result()
File "/usr/lib/python3.4/concurrent/futures/_base.py", line 395, in result
return self.__get_result()
File "/usr/lib/python3.4/concurrent/futures/_base.py", line 354, in __get_result
raise self.exception
File "/usr/lib/python3.4/concurrent/futures/thread.py", line 54, in run
result = self.fn(*self.args, *self.kwargs)
File "/home/avirup/Downloads/dcos1/universe/docker/local-universe/../../scripts/local-universe.py", line 105, in handle_package
add_http_resource(http_artifacts, url, archive_path)
File "/home/avirup/Downloads/dcos1/universe/docker/local-universe/../../scripts/local-universe.py", line 279, in add_http_resource
urllib.request.urlretrieve(url, str(archive_path))
File "/usr/lib/python3.4/urllib/request.py", line 186, in urlretrieve
with contextlib.closing(urlopen(url, data)) as fp:
File "/usr/lib/python3.4/urllib/request.py", line 161, in urlopen
return opener.open(url, data, timeout)
File "/usr/lib/python3.4/urllib/request.py", line 463, in open
response = self._open(req, data)
File "/usr/lib/python3.4/urllib/request.py", line 481, in _open
'_open', req)
File "/usr/lib/python3.4/urllib/request.py", line 441, in _call_chain
result = func(args)
File "/usr/lib/python3.4/urllib/request.py", line 1225, in https_open
context=self._context, check_hostname=self._check_hostname)
File "/usr/lib/python3.4/urllib/request.py", line 1184, in do_open
raise URLError(err)
urllib.error.URLError: <urlopen error [Errno -2] Name or service not known>
make: *** [local-universe] Error 1


Add dialogue box at transition with confirm screen.

Add dialogue at transition with confirm screen.

@sasha-abramovich   please provide text

сhecked


activity

{
"Name": "activity2",
"IsCustom": true,
"Description": "Can read and create storage accounts",
"Actions": [
"/read",
"Microsoft.Storage/storageAccounts/write",
"Microsoft.Resources/deployments/"
],
"NotActions": [
],
"AssignableScopes": [
  "/subscriptions/{your-subscription-id}"
]

}

What's this?


Convert version to string

When I tried to use cr.pip on my buildout I get
TypeError: ('Option values must be strings', u'1.2.4')

This pr makes resolves the issue by converting the version to string before passing it to buildout.

Coverage remained the same at 0.0% when pulling 08d14c6d3ed425842096591ce77ffd8034c6abaf on instification-set-str into cdeccfbf833209e3429292963c7c311421da083a on master.


Update README.md

I thought it might be helpful to add some hints for the usage with Docker? It did cost me some time to figure this out.
Thank you! :-)

You do not have to run the directus-template-cli command from inside the container. The cli script is built to be agnostic to the environment, it requires nodejs to run (hence npx).
If the docker host is not reachable to the cli script, there might be something off to your docker environment. Are you able to reach the Directus instance from the browser? Exposing the Directus port is important for this.


Typos in cost model wizard

Describe the bug
There are some minor typos in cost model wizard
("precentage", "posotive" in markup step, "tthe" in sources)
To Reproduce
Steps to reproduce the behavior:

Go to Cost model details
Go through the wizard
See error

Expected behavior
No typos
Screenshots

Desktop (please complete the following information):

OS: Fedora 31
Browser Firefox
Version 70

Additional context
Tested on CI beta

Thanks.

There's also a typo in markup tab in cost model details


[MM-38850] - only render "recent" divider in quick switch modal

Summary
due to some misunderstanding and a regression coming in by another PR the SuggestionList inside the quick switch modal was rendering type-dividers for the returned results.
I had a PR open for fixing it (#8963), but since I did not have all information on channel request/sorting logic within it and the number of commits that were already in that PR it was easier to provide a new PR for a fix.
Ticket Link
MM-38850
Screenshots
showing recent channels with divider

after typing the results have no divider

Release Note
NONE

@jgilliam17 @matthewbirtch @nevyangelova @deanwhillier please prioritize this PR to get it into daily asap! Thanks! 🙇🏼♂
/cc @hmhealey

Not sure there is/should be anything to do about this, but I noticed that when results take a bit longer to return, the no-results graphic flashes briefly. Wonder if there might be a way to slightly delay showing no-results to help prevent the flash?
NoResultsFlash.mp4

It might be doable depending on the order of how we render the no result indicator. I had similar issues with rhs search and the no results page.

IMO this is out of scope for the current PR. I will create a follow-up ticket to handle that.

follow-up ticket: https://mattermost.atlassian.net/browse/MM-38928

@jgilliam17 please prioritize a review here if possible, this is a pretty bad productivity blocker on daily right now!

Cherry pick is scheduled.


Transition Fade ins

http://lifeaweso.me/

circle
move / fade in
Staggered animation for lists

Circle: https://events.google.com/io2015/about

:+1:


Questions about the code

Hello, I'm an undergraduate student majoring in clinical medicine, and I'm currently minoring in deep learning. Please forgive me for just getting started and not yet mastering deep learning frameworks. I'd like to ask, after running run_train.py, are the images imported in run_infer.py from my own dataset? In other words, are they the images I want to process? Once again, I apologize for the simplicity of my question, but I still hope to receive your reply.

Hi, you only have to run run_train.py if you want to retrain the network on your dataset. But in this case, you have to follow the whole process to use distillation, which shouldn't make sense if HoVerNet doesn't have good results on your dataset. Instead, if you want only inference on your dataset, you have to follow the instructions for inference.

Thanks a lot！


feat: GP2-11 Pipeline setup for GP2

[x] rename crn specific vars
[x] add gp2 package job
[x] add gp2 deploy job
[x] add gp2 remove job
[ ] convert package, deploy and remove jobs to actions

There's this warning on the build


Sharing before signup service name desktop

@keybase/react-hackers
This does the UI work to show the service name on the sharing before signup popup

👍


Random crop segmentation

i get the error when augmentation data by random crop ?
Traceback (most recent call last):
File "tools/train.py", line 97, in
main()
File "tools/train.py", line 93, in main
logger=logger)
File "/home/anhtran/instance_segmentation/mmdetection/mmdet/apis/train.py", line 65, in train_detector
_non_dist_train(model, dataset, cfg, validate=validate)
File "/home/anhtran/instance_segmentation/mmdetection/mmdet/apis/train.py", line 228, in _non_dist_train
runner.run(data_loaders, cfg.workflow, cfg.total_epochs)
File "/home/anhtran/instance_segmentation/mmcv/mmcv/runner/runner.py", line 358, in run
epoch_runner(data_loaders[i], **kwargs)
File "/home/anhtran/instance_segmentation/mmcv/mmcv/runner/runner.py", line 260, in train
for i, data_batch in enumerate(data_loader):
File "/home/anhtran/.conda/envs/project/lib/python3.5/site-packages/torch/utils/data/dataloader.py", line 582, in next
return self._process_next_batch(batch)
File "/home/anhtran/.conda/envs/project/lib/python3.5/site-packages/torch/utils/data/dataloader.py", line 608, in _process_next_batch
raise batch.exc_type(batch.exc_msg)
AssertionError: Traceback (most recent call last):
File "/home/anhtran/.conda/envs/project/lib/python3.5/site-packages/torch/utils/data/_utils/worker.py", line 99, in _worker_loop
samples = collate_fn([dataset[i] for i in batch_indices])
File "/home/anhtran/.conda/envs/project/lib/python3.5/site-packages/torch/utils/data/_utils/worker.py", line 99, in
samples = collate_fn([dataset[i] for i in batch_indices])
File "/home/anhtran/instance_segmentation/mmdetection/mmdet/datasets/custom.py", line 193, in getitem
data = self.prepare_train_img(idx)
File "/home/anhtran/instance_segmentation/mmdetection/mmdet/datasets/custom.py", line 272, in prepare_train_img
scale_factor, flip)
File "/home/anhtran/instance_segmentation/mmdetection/mmdet/datasets/transforms.py", line 118, in call
mmcv.impad(mask, pad_shape[:2], pad_val=0) for mask in masks
File "/home/anhtran/instance_segmentation/mmdetection/mmdet/datasets/transforms.py", line 118, in
mmcv.impad(mask, pad_shape[:2], pad_val=0) for mask in masks
File "/home/anhtran/instance_segmentation/mmcv/mmcv/image/transforms/geometry.py", line 184, in impad
assert shape[i] >= img.shape[i]
AssertionError

Please use the Error report issue template.


Kyverno implementation to all Clusters

Issue #, if available:
Description of changes:
Kyverno implementation to all Clusters

Kyverno Install on all 3 clusters
Enforcment of policies with exceptions to MGMT
Audit on Child Clusters

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Have you tried to deploy the rust application or .net application (OAM) with these policies in place? I am a bit cautious about the impact of policy enforcement as it can affect app deployments. E.g. https://github.com/aws-samples/appmod-blueprints/blob/main/deployment/teams/team-r/dev/application.yml - this deployment should be applied to team-r namespace.

@shapirov103 For child clusters its Audit only, we are not enforcing anything so it wont affect deployments, you can run and double checl. On management clusters which is a critical cluster, we are enforcing so we completely harden our platform core environment. MGMT cluster and Dev Clustes all work fine.


createChatInviteLink shouldn't return Bool

Hey @nerzh
First of all thanks for your great library!
I realized that createChatInviteLink  should return TGChatInviteLink instead of Bool
https://github.com/nerzh/swift-telegram-sdk/blob/8fd55946e455e28f2b8f3d1ab2920aa080219c89/Sources/SwiftTelegramSdk/Bot/Telegram/Methods/CreateChatInviteLink.swift#L61

thank you very much, fixed 3.4.1


Recreating Paper Results

Hello I am struggling to recreate the results presented in the LAMP 2.0 Paper (https://arxiv.org/pdf/2205.13135.pdf)
Setup
OS: Ubuntu 20.04
ROS Distro: Noetic
Python: 3.8
Torch: 1.7.1 (With torch-geometric to match)
Cuda: 10.2
GTSAM: 4.2a9 (the hash mentioned in the README did not work)
Note: The above config required only a single change to the repo -- changing python2 -> python3 in the loop_closure_batcher_node.py, and commenting out the line os.environ["CUDA_VISIBLE_DEVICES"] = "-1"
Experiment Execution
Data: Tunnel Data from https://drive.google.com/drive/folders/1gcUEDBp_aeGwS059xnK4Xv8qlU3JQUNE
Startup Commands
Terminal 1: roslaunch lamp turn_on_lamp_base.launch robot_namespace:=base1
Terminal 2: rosbag play tunnel/rosbag/*.bag -r1 --clock clock:=/clock --wait-for-subscribers
Terminal 3: rviz -d $(rospack find lamp)/rviz/lamp_base.rviz
Issue 1: Loop Closure Module Bug
At about the 4000 second mark in the tunnel dataset, the loop-closure module starts repeatedly spitting out the following error and seems to fail to produce any more loop-closures.
[ERROR] [1702584377.795999]: Error in Run: Traceback (most recent call last):
  File "/home/daniel/Development/lamp_ws/src/localizer_lamp/loop_closure/src/subset_algorithms/base.py", line 54, in run
    self.step()
  File "/home/daniel/Development/lamp_ws/src/localizer_lamp/loop_closure/src/subset_algorithms/gnn.py", line 220, in step
    self.find_initial_solution()
  File "/home/daniel/Development/lamp_ws/src/localizer_lamp/loop_closure/src/subset_algorithms/gnn.py", line 188, in find_i
nitial_solution
    from_node = keys_to_nodes[edge.key_from]
KeyError:<PHONE_NUMBER>754866227

Issue 2: Inlier Loop-Closures
Regardless of the above bug, the loop-closure module does not achieve expected performance.
The paper reports (Table III) that for the tunnel dataset there are 5656 verified loop-closures and 1645 inlier loop-closures.
However, when running LAMP reports that there are only ~350 verified loop-closures and ~170 inlier loop closures.
While the above bug is affecting this number, because the bug does not affect results until near the end of the dataset, it appears that something else is causing an issue.
Issue 3: Trajectory Results
This is likely an affect of the above two issues, but the resulting solution trajectory is very poor relative to the results reported in the paper. Below are two examples map mis-alignments that are are not there in the presented results (Figure: 4)

Questions
The above results leave me with a few questions

Is the loop-closure bug a known issue? are there workarounds to avoid the errors + crashes?
Are the default hyper-parameters in the repo the same used to generate the paper results? If not what parameters should be used to re-create the paper performance?

Not a known issue. Have not seen it before, but the paper experiments were done with Melodic + python2 with an earlier version, so might have been introduced with new changes. I haven't had the chance to check performance with Noetic yet myself, but can try when I get some spare cycles and get back to you on it.
The number of loop closures detected is highly sensitive to compute. However, the bug might also effect things: i.e. if the loop closure prioritization is not working correctly, the significant loop closures might not be detected before crashing (https://arxiv.org/pdf/2205.12402.pdf). Let me find my old experiment files and follow up.

Thank you so much for the fast reply!
Given your comments I preformed 2 additional experiments.

To account for the affect that compute can have on the number of loop-closures I used the setup-above and replayed the bag with a rate of 0.25 to give the loop-closure module additional time between scans (effectively gave it more compute).

To account for the different python+ros versions I setup a docker container with the correct environment and again ran the experiment on the tunnels data set with a replay rate of 0.5.

In both the experiments the lamp code reports ~350 Loop closures detected and ~170 inliers (i.e. the same values as originally reported). While they did deviate some, it was not significant. Additionally, both experiments maintained the trajectory errors shown above.
This would indicate that compute/versioning is not the root cause of the discrepancy between results with the current LAMP code and the results published. I don't have much to go on, but my strong hunch would be it is some difference in configuration parameters. From watching the output the LAMP code as is currently on this repo rejects LOTS of loop closures due to a ICP fitness threshold (default = 0.9), but of course it could be some other parameter that is not as evident from the output.
For reference I have included the docker file I used for the second experiment below.

Dockerfile
FROM ros:melodic-robot

# Source ROS
RUN ["/bin/bash", "-c", "source /opt/ros/melodic/setup.bash"]

# Workspace environment
ENV ROS_WS /home/lamp_ws
RUN mkdir -p $ROS_WS/src
WORKDIR $ROS_WS

# APT pre-reqs
RUN apt-get update
RUN apt-get install -y \
    ros-melodic-catkin \
    python-catkin-tools \
    python-pip \
    ros-melodic-pcl-ros \
    libyaml-cpp-dev \
    libtbb-dev \
    ros-melodic-interactive-markers

# PIP pre-reqs
RUN python -m pip install --upgrade pip future setuptools ez_setup wheel
# Need to Explicitly install torch before torch-geometric packages as their setup imports torch
RUN pip install torch>=1.4.0
RUN pip install --no-cache-dir \
    torch-scatter==1.4.0 \
    torch-sparse==0.4.4 \
    torch-cluster==1.4.5 \
    torch-spline-conv==1.1.1 \
    torch-geometric==1.3.2 \
    torchvision==0.5.0
# Torch vision version ref: https://pytorch.org/get-started/previous-versions/#v140

# Initialize the workspace
RUN catkin init
RUN catkin config --extend /opt/ros/melodic -DCMAKE_BUILD_TYPE=Release -DGTSAM_TANGENT_PREINTEGRATION=OFF -DGTSAM_BUILD_WITH_MARCH_NATIVE=OFF -DOPENGV_BUILD_WITH_MARCH_NATIVE=OFF -DBUILD_TEASER_FPFH=ON

# Get the LAMP Code
WORKDIR $ROS_WS/src
RUN git clone https://github.com/NeBula-Autonomy/LAMP.git localizer_lamp
RUN git clone https://github.com/NeBula-Autonomy/common_nebula_slam.git

# Run wstool for the LAMP dependencies
RUN wstool init
RUN wstool merge localizer_lamp/install/lamp_http.rosinstall
RUN wstool up

# Checkout GTSAM version
WORKDIR $ROS_WS/src/gtsam
# The version specified in the readme does not work due to this bug
# https://github.com/borglab/gtsam/issues/1092
# We need to use a version that contains this commit to avoid bugs: af1dedb879778277dc9fd0759b3defd554d4c947
RUN git checkout 4.2a7

# Checkout Kimera RPGO version
WORKDIR $ROS_WS/src/kimera_rpgo
RUN git checkout master

# Build the LAMP workspace
WORKDIR $ROS_WS
RUN catkin build lamp

# Dataset Directory
ENV DATA_DIR /home/lamp_datasets
RUN mkdir -p $DATA_DIR
WORKDIR $DATA_DIR

# Download the datasets
RUN pip install gdown
# Download the tunnel dataset to /home/lamp_datasets/tunnel
RUN gdown --folder https://drive.google.com/drive/folders/1gcUEDBp_aeGwS059xnK4Xv8qlU3JQUNE

Thanks for looking into this.
I found and copied the parameters from our old tunnel experiment configs, adapted it to the current version, and tested it on the dataset and was able to get similar performance. Diff here . Hope this helps!


cargo fetch can't be parallelized on nightly anymore

Problem
It used to be possible to run multiple cargo fetch in parallel inside the same cargo home, but it's not possible anymore on the latest nightly: the following fetch invocations just wait for the package cache lock until the other fetches finish.
This is bad for Crater since it slows down fetching deps to 1/8.
Steps
#!/bin/bash
set +euo pipefail

if [[ $# -ne 1 ]]; then
    echo "usage: $0 <toolchain-name>"
    exit 1
fi
export RUSTUP_TOOLCHAIN="$1"

# Use a temporary cargo home so the user-wide one is not messed up
export CARGO_HOME=tmp-cargo-home

set -x

# Create a simple repro crate which depends on lazy_static
cargo init --bin repro
cd repro
echo 'reqwest = "*"' >> Cargo.toml

# Generate the lockfile and fetch the dependencies using it
cargo generate-lockfile
cargo fetch --locked >/dev/null 2>&1 &
sleep 0.1
cargo fetch --locked

bash repro.sh stable for the correct behavior
bash repro.sh nightly for the wrong behavior

Possible Solution(s)
After talking to @Eh2406 the issue seems to be caused by https://github.com/rust-lang/cargo/pull/6880.
cc @alexcrichton

This is sort of intentional in the sense that previously Cargo attempted to do fine-grained locking but it became both a performance issue and a correctness burden on Cargo for a use case that very very rarely came up in practice. I believe #6880 is indeed the cause for this though.

Considering the trade off involved here and the small scope of what was slowed down (while instead other cases were sped up), I'm not seeing us reverting to the old locking scheme.  I'm also not seeing a viable alternative.  With that in mind, I'm going to go ahead and close this.


Creating links

Is there any way to give each video within the player it's own individual link for sharing and linking purposes?

yes, easy. you can just edit the template: https://github.com/JohnnyTheTank/apiNG-design-deadwood/blob/master/dist/aping_design_deadwood.html


build: add code coverage to travis-ci steps

Pull Requests should have a code coverage bot telling us about coverage percent. Otherwise it's hard to keep good coverage overtime.
Example without: https://github.com/moov-io/ach/pull/285
Example with: https://github.com/moov-io/auth/pull/33

Is it something with my account? @wadearnold do coverage reports show up on this repo for your PR's?
Mine (no coverage report): https://github.com/moov-io/ach/pull/360
Brooke's (with coverage report): https://github.com/moov-io/ach/pull/358
Both PR's were opened today. Mine never seem to have a coverage bot though.
Switch to codecov?


Add more verbose errors & multiple error emails

1. The error email should contain the cell that might have caused the error.
For example:

Employee Email
Error
Cell

<EMAIL_ADDRESS>taskData[j][assignedOnIndex].toLocaleDateString is not a function
H2

<EMAIL_ADDRESS>taskData[j][assignedOnIndex].toLocaleDateString is not a function
H3

<EMAIL_ADDRESS>taskData[j][assignedOnIndex].toLocaleDateString is not a function
H5

<EMAIL_ADDRESS>taskData[j][assignedOnIndex].toLocaleDateString is not a function
H7

The cell column is a clickable link.
Instead of

2. Multiple error notification emails
For, e.g. Project Manager & IT are notified about tasks not being sent.
The project manager can try to fix the format; IT can fix any bugs.
3. The table in the mail isn't properly formatted. It is difficult to read.
This can be fixed by adding borders and left alignment along with some background colour for the heading.
Refer to below format.

References
For clickable links to cell

resolved in #17


Azure Storage Entity Query (CLI) Crashes for Binary Data

Describe the bug
When querying entities that have binary data properties (Edm.Binary type) the command line interface crashes for some values.
To Reproduce

Create a test table
Insert an entity containing all possible byte values
Query the table

Expected behavior
The command is expected to run and the data to be returned encoded in Base64 for binary properties. The reason I expect Base64 is because I need to pass the value in the same encoding when inserting the entity.
Environment summary
Install method: MSI (for Windows)
CLI version: azure-cli (2.0.52)
OS: Windows 10
Shell Type: PowerShell
Additional context
Below is the script I used to test how binary data is stored (the documentation is not clear, I guessed it required Base64 from the JSON payload sample on Payload Format for Table Service Operations - JSON Format)
$connectionString = "storage emulator or actual storage account connection string"
$tableName = "BinaryDataTestTable"

$binaryData = 0..[byte]::MaxValue # inserting 0..3 values works

# Ensure test table exists
az storage table create,
    --name $tableName,
    --connection-string $connectionString

# Ensure the test entity exists
# Make sure the property type is specified otherwise it is Edm.String
az storage entity insert,
    --table-name $tableName,
    --entity,
        "PartitionKey=partitionKey",
        "RowKey=RowKey",
        "BinaryProperty=$([Convert]::ToBase64String($binaryData))",
<EMAIL_ADDRESS>    --if-exists replace,
    --connection-string $connectionString

# Query the table, should work but it fails for binary data
az storage entity query,
    --table-name $tableName,
    --connection-string $connectionString

I have checked the REST API for binary data and the response uses Base64 strings as well. It's something with the command line tool.

@Andrei15193 what error are you seeing?

@williexu here's the full error message I get:
'utf-8' codec can't decode byte 0x80 in position 128: invalid start byte
Traceback (most recent call last):
  File "C:\Users\VSSADM~1\AppData\Local\Temp\pip-install-e5ce5s7r\knack\knack\cli.py", line 212, in invoke
  File "C:\Users\VSSADM~1\AppData\Local\Temp\pip-install-e5ce5s7r\knack\knack\output.py", line 132, in out
  File "C:\Users\VSSADM~1\AppData\Local\Temp\pip-install-e5ce5s7r\knack\knack\output.py", line 40, in format_json
  File "C:\Program Files (x86)\Microsoft SDKs\Azure\CLI2\lib\json\__init__.py", line 238, in dumps
    **kw).encode(obj)
  File "C:\Program Files (x86)\Microsoft SDKs\Azure\CLI2\lib\json\encoder.py", line 201, in encode
    chunks = list(chunks)
  File "C:\Program Files (x86)\Microsoft SDKs\Azure\CLI2\lib\json\encoder.py", line 430, in _iterencode
    yield from _iterencode_dict(o, _current_indent_level)
  File "C:\Program Files (x86)\Microsoft SDKs\Azure\CLI2\lib\json\encoder.py", line 404, in _iterencode_dict
    yield from chunks
  File "C:\Program Files (x86)\Microsoft SDKs\Azure\CLI2\lib\json\encoder.py", line 325, in _iterencode_list
    yield from chunks
  File "C:\Program Files (x86)\Microsoft SDKs\Azure\CLI2\lib\json\encoder.py", line 404, in _iterencode_dict
    yield from chunks
  File "C:\Program Files (x86)\Microsoft SDKs\Azure\CLI2\lib\json\encoder.py", line 404, in _iterencode_dict
    yield from chunks
  File "C:\Program Files (x86)\Microsoft SDKs\Azure\CLI2\lib\json\encoder.py", line 437, in _iterencode
    o = _default(o)
  File "C:\Users\VSSADM~1\AppData\Local\Temp\pip-install-e5ce5s7r\knack\knack\output.py", line 31, in default
UnicodeDecodeError: 'utf-8' codec can't decode byte 0x80 in position 128: invalid start byte

@Andrei15193 I was able to repro your error.
@zezha-msft the binary info returned using the script above can't be decoded using utf-8. From what I've tried, some base64 strings can be decoded properly, while others cannot.
Is this behavior expected and if so, how should the data be consumed?

@williexu I do not maintain the table SDK.
Adding @srinathnarayanan to help you with this issue.


⚠ Samsung has degraded performance

In 8d63973, Samsung (https://samsung.com) experienced degraded performance:

HTTP code: 200
Response time: 2102 ms

Resolved: Samsung performance has improved in 7b52eab.


bitwarden: Changed pre_install, added architecture, and added autoupdate hash extraction

This was done, because the Bitwarden electron app was NOT made to be portable. This change was made so the portable config folder's contents will be copied over to the Appdata\Roaming directory.
See #10651 if you want to know more of what I am talking about.

[x] I have read the Contributing Guide.

/verify


MetalLB server tasks causing error when cilium is not being defined.

I was running this collection via galaxy for a larger system I am setting up, and I had decided not to use cilium since it looks like it's still being worked on and went with the default flannel for now.
I only included the group_vars I needed, excluding all vars for cilium and calico.  I received an error when it was trying to call the metallb tasks in both the k3s_server and k3s_server_post roles.  I just quickly fixed it for myself in my collection copy, then have set up a pull request to fix it.
Here is the actual error:
FAILED! => {"msg": "The conditional check 'kube_vip_lb_ip_range is not defined and (not cilium_bgp or cilium_iface is not defined)' failed. The error was: error while evaluating conditional (kube_vip_lb_ip_range is not defined and (not cilium_bgp or cilium_iface is not defined)): 'cilium_bgp' is undefined. 'cilium_bgp' is undefined\n\nThe error appears to be in '~/.ansible/collections/ansible_collections/techno_tim/k3s_ansible/roles/k3s_server_post/tasks/main.yml': line 12, column 3, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n\n- name: Deploy metallb pool\n  ^ here\n"}

See  #513 for the fix.

Additional Information:
My group_vars only included the variables that the sample said was necessary for an installation without using calico or cilium.
These are the included variables, but I used the sample values for timezone, token, and IPs.
---

k3s_version: v1.29.2+k3s1
system_timezone: "Your/Timezone"
systemd_dir: /etc/systemd/system
flannel_iface: "eth0"
apiserver_endpoint: "<IP_ADDRESS>"
k3s_token: "some-SUPER-DEDEUPER-secret-password"
k3s_node_ip: "{{ ansible_facts[(cilium_iface | default(calico_iface | default(flannel_iface)))]['ipv4']['address'] }}"
k3s_master_taint: "{{ true if groups['wvm'] | default([]) | length >= 1 else false }}"
extra_args: >-
  {{ '--flannel-iface=' + flannel_iface if calico_iface is not defined and cilium_iface is not defined else '' }}
  --node-ip={{ k3s_node_ip }}
extra_server_args: >-
  {{ extra_args }}
  {{ '--node-taint node-role.kubernetes.io/master=true:NoSchedule' if k3s_master_taint else '' }}
  {% if calico_iface is defined or cilium_iface is defined %}
  --flannel-backend=none
  --disable-network-policy
  --cluster-cidr={{ cluster_cidr | default('<IP_ADDRESS>/16') }}
  {% endif %}
  --tls-san {{ apiserver_endpoint }}
  --disable servicelb
  --disable traefik
extra_agent_args: >-
  {{ extra_args }}
kube_vip_tag_version: "v0.7.2"
metal_lb_type: "native"
metal_lb_mode: "layer2"
metal_lb_speaker_tag_version: "v0.14.3"
metal_lb_controller_tag_version: "v0.14.3"
metal_lb_ip_range: "<IP_ADDRESS>-<IP_ADDRESS>"
group_name_master: 'control'

closed by https://github.com/techno-tim/k3s-ansible/pull/513


hide lifted packages

Bug Report Checklist

[X] I have tried restarting my IDE and the issue persists.
[X] I have pulled the latest main branch of the repository.
[X] I have searched for related issues and found none that matched my issue.

Overview
I'd like to only show packages that aren't already lifted.
Additional Info
No response

Makes sense. I think we could see a --status option added to filter on "available" or "lifted".

and "all" i guess, as the default.


[iOS] Fixed crash if event doesn't have body parameter

Summary
We need to check body[@"target"] wether equal to nil, if it is, return to prevent crash.
Changelog
[iOS] [Fixed] - Fixed crash if event doesn't have body parameter
Test Plan
If body[@"target"] is nil, not crash.

Heads up @zhongwuzw, sendInputEventWithName:body: has been deprecated for a while, and will be removed when #15894 lands today.

@hramos Oh, get it.


Is this active?

Is this project still maintained? Just saw @jherr's videos a few days ago and thought I could give it a try. Just missing some angular template though.

Angular requires the CLI for installation, unlike the other frameworks. Follow the Angular Architects instructions on how to use Module Federation with Angular.

Thanks!


World I/O implementation

This merge request implements world I/O. Dragonfly now uses the current world format used by Minecraft, so single-player worlds may be loaded by Dragonfly.
In addition to the world I/O implementation, this PR fixes a couple of hidden memory leaks and cleans up the shutdown of the server when using ctrl+c.

All looks fine


Typo in AxisType

Category corrected.
This is not affecting anything within crate.

Hi @CGMossa, well spotted! I've added contribution guidelines in the repo, please have a look especially the part about process. In the meantime, I've integrated this change to the dev branch and it'll become available in the next release.

Great. Feel free to close my PRs when you feel like it.
I am just slowly learning how to better contribute to interesting projects,
like this one.
Take care :D
On Sun, 21 Jun 2020 at 21:13, Ioannis Giagkiozis<EMAIL_ADDRESS>wrote:

Hi @CGMossa https://github.com/CGMossa, well spotted! I've added
contribution guidelines in the repo, please have a look especially the part
about process. In the meantime, I've integrated this change to the dev
branch and it'll become available in the next release.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/igiagkiozis/plotly/pull/9#issuecomment-647168909, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AAIDVSGGU4XSUTEZO75OPSTRXZLUDANCNFSM4MQLPZGA
.


Fix CMake build

This should fix #674.
@yzh119 @binhtranmcs

I can verify this fixes the issue on my side

Thanks!


Refactor (remove global var references and split into proper classes)

The functions for resolving the request for a schema directly reference global vars (CONTENT_DIR, SUPPORTED_SUFFIXES, etc.). Need to remove these reference by providing these inputs in the function signature.
Once done, it should be easy to refactor the collection of functions in the current implementation into a small set of classes.

Add support for converting the nodeshapes defined in a model into JSON-schema so models/model elements can directly be referenced in OpenAPI/Swagger definitions without breaking the OpenAPI tooling.

stale issue.

stale issue


Temple-OSRS-Plugin v1

Fetches player's skilling/ bossing gains over the previous day/week/month/etc... using the TempleOSRS API.

Hello, I'm nearly finished with adding the next phase of this plugin which includes support for TempleOSRS's Groups and Competitions API Endpoints. So I figured I'd just leave a comment here so no one wasted their time reviewing this plugin only to have a major update added and have to review it again down the line. Sorry, didn't expect to be moving so quickly, I'll leave another comment in a couple days when everything is wrapped up and in its maintenance phase. Thanks for understanding. Please let me know if this isn't the right idea to follow, I'm new to contributing.

Hi, if this PR isn't in a state where it should be reviewed, it can be closed until then. Otherwise, I'll go ahead and review it.

Thanks, I originally planned on having the plugin remain in the state its at now and only fetch and display user's gains, but afterwards I was given an opportunity/asked to expand its scope and add more functionality. I'll close this request and reopen in a few days when this idea is complete. Sorry for my confusion, I hope this will be my last mess-up 😅


Crash on iPad - device does not support AVCaptureSessionPreset1280x720

Scanning crashes on iPad (with iOS 9.3.5 probably newer versions too) because the requested AVCaptureSessionPreset1280x720 is not available.
*** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '*** Can't add <AVCaptureDeviceInput: 0x17de0180 [Frontkamera]> because the device does not support AVCaptureSessionPreset1280x720.  Use -[AVCaptureDevice supportsAVCaptureSessionPreset:].'
https://github.com/zxingify/zxingify-objc/blob/270ef2d958e7590394bb2af2a93923f4014ffc88/ZXingObjC/client/ZXCapture.m#L575

This change seems to fix the problem:
  self.sessionPreset = AVCaptureSessionPresetMedium;

I am having this issue with an iPad 2 and an iPhone 6. Changing self.sessionPreset made the error message go away, but it still crashes. Right now the only fix I could come up with is to revert to version 3.1.0.

Unfortunately, I can no longer provide support for this codebase, the topic will be closed. I recommend to take a look at https://github.com/zxing-cpp/zxing-cpp created and maintained by the very ambitious @axxel!
Hopefully this is fixed in the current master with the overhaul of the sample app, cf. #527.


Allow multiple gids per cell that reference different voltages.

Description
Allow a cell to have multiple gids that reference voltage at different locations on the cell.
This change is a companion to neuronsimulator/nrn#1850 and is part of the fix for issue neuronsimulator/nrn#1839
This changes the bbcore_write_version to "1.6"
CoreNEURON NetCon source variable references must still be to voltage. This could be generalized to any range variable as is the case with NEURON.  However, as with the substantive problem of multiple gids per cell, a reference to any range variable in CoreNEURON can also be accomplished with the use of a POINT_PROCESS that WATCHes a range variable. I am not aware of any NEURON model that uses a NetCon source reference to anything except voltage.
How to test this?
Build NEURON with -DNRN_ENABLE_CORENEURON=ON
cd test/pynrn
nrnivmodl -coreneuron
python test_multigid.py

Use certain branches in CI pipelines.

CI_BRANCHES:NEURON_BRANCH=hines/multiple-gid-per-cell,NMODL_BRANCH=master,SPACK_BRANCH=develop

please retest this


Multi-thread code samples request

I need to access chakraCore in different thread out of owner context thread (ex. background).
Current existing sample in C# is just in one thread. I need sample code to work in multi-thread chakraCore.

Handling multiple threads would be an interesting topic. It's important to understand that the host can can access a given runtime from one thread at a time (see rental-threading). So in order to switch a runtime from thread A to thread B, you need to give up the runtime on thread A,
// on thread A
JsSetCurrentContext(nullptr);
// on thread B
JsSetCurrentContext(context1);

Do You means generated JS Objects wll adhere to one thread (Context), and can not pass across the thread?

No. All your JS objects are adhered to the context they are created on, and you can move context between threads.

https://github.com/Microsoft/ChakraCore/wiki/JavaScript-Runtime-(JSRT)-Overview#concepts should give you a good idea about what runtime and context are.

I understand "and you can move context between threads.", and I beg to provide C# code to demonstrate in C# to rental thread context switching.

Is there a particular scenario that you're after? I believe the general idea regardless of language is in https://github.com/Microsoft/Chakra-Samples/issues/78#issuecomment-297580357.


Revert "Updates the LeapMotion and UnityAR configuration checkers to be manually triggered"

Reverts microsoft/MixedRealityToolkit-Unity#8287
This is causing a build break because our build machines are still using an older version of Unity 2018 (where missing assemblies leads to an error rather than a warning).
Temporarily reverting this while I get the Unity version updated on the build machines.

/azp run


Wrong Arithmetic When Computing Guest Code Size

Context
The ElfInfo::get_va_size() function is used for determining the size of the gest_code slot during the construction of the sand memory layout.
This function calculates the size based on the loadable program headers, which represent the size of the ELF binary when loaded into memory.
Problem
Although the current implementation works, it does not account for guest binaries that have non-loadable segments which still occupy memory at runtime, such as the BSS segment. As a result, the size computation for these binaries will be incorrect.
Solution
To fix this, we should consider arithmetic on sections that are tagged as SHF_ALLOC. From the ELF Specification [1]:

The section occupies memory during process execution. Some control
sections do not reside in the memory image of an object file; this attribute
is off for those sections.

Code References
https://github.com/hyperlight-dev/hyperlight/blob/b0ea748900024dfc9095974522b260b937f458ca/src/hyperlight_host/src/mem/elf.rs#L62-L70
https://github.com/hyperlight-dev/hyperlight/blob/b0ea748900024dfc9095974522b260b937f458ca/src/hyperlight_host/src/mem/layout.rs#L321-L326
External References

https://refspecs.linuxfoundation.org/elf/elf.pdf

Thanks for getting in touch. Do you have a binary that you are able to share with us where you were experiencing a problem? If you have a binary that isn't loading properly, there is probably a bug in our code---but, at least at first glance, I think it may not be what you have conjectured here & this may not be the right way to solve it.
Traditionally, the section/segment split in ELF reflects a split between information needed by a linker and information needed by a loader; most loaders wouldn't pay attention to the section information when thinking about how to lay out the binary in memory at this stage.
Typically, sections like .bss which do not exist in the file on disk are still loaded via a PT_LOAD header which has p_memsz > p_filesz to reflect that the memory image of the segment should be zero-extended over the on-disk representation of the same. Loading a section uncovered by a program header is difficult in the general case, because it would not be clear what permissions should apply to it. You can see in Book III, Section 2 of the SVR4 spec that you shared that the program loading process is expected to work with segments. and .bss is included in the virtual span of a segment header. The current amd64 System V psABI substantiates this in Chapter 5.
For some real world examples, you can see that the musl ld.so implementation also figures out the in-memory size of the binary via the program headers and then also does the mapping based on them, extending with a MAP_ANONYMOUS mapping whenph->p_memsz > ph->p_filesz. The Linux ELF loader also calculates the total mapped size via the sum of the PT_LOAD header p_memszs before doing the actual mapping, also based on the phdrs.

Hello @syntactically,
Thank you for the details. Based on them I was able to identify that this undefined behavior was triggered to other changes that I introduced in my private fork.
Please, close this issue.


META-993 - MetadataFIBO does not load all of the FIBO content

Signed-off-by: Elisa Kendall<EMAIL_ADDRESS>Description
Revised metadata files so that the provisional ones were consistent with what we have in release, and to ensure that none are missing if one imports MetadataFIBO.  MetadataFIBO can be used together with AboutFIBODev to drive the FIBO viewer as a consequence.
Fixes: #993
Checklist:

[x] I'm familiar with the FIBO developer quide. My contribution meets all the requirements described there.
[x] My contribution follows the principles of best practices for FIBO.
[x] My changes have been reconciled with latest master and no merge conflicts remain.
[x] This PR is related to exactly one issue. The issue is referenced by using a GitHub keyword such as "fixes", "closes", or "resolves".
[x] Hygiene tests have been applied by a PR with "(WIP)" in title.
[x] The issue has been tested locally using a reasoner (for ontology changes).

Indeed MetadataFIBO and AboutFIBODev make FIBO Viewer work correctly. We should make sure that all relevant meta-ontology files are imported and all of them provide up-to-date info about FIBO ontologies.

There are extensive changes that have nothing to do with the purported issue of loading all the FIBO content.
In fact the bulk of the changes consist of duplicating values for dct:abstracts which a) is a change snuck in with no description or justification or even commit comment and b) is sure to result in maintenance issues since I'm sure one will be updated without the other. The Don't Repeat Yourself (DRY) principle should apply! In fact in at least one case (CAECorporateEvents) this PR makes them inconsistent.
Even worse, the PR, if I understand the intent correctly, does not for many modules do what I'd expect to address the issue, and import the ontologies which are listed under hasPart for the Modules (I commented on a couple of specific cases but not all).
The addition or rdfs:seeAlso triples with value of spec.edmcouncil.org/fibo/ while not illegal is bad practice IMO, since as W3C says https://www.w3.org/wiki/UsingSeeAlso "It is reasonable to expect many (probably even "most") rdfs:seeAlso properties to reference to RDF/XML documents. ". Given that we do have a proper RDF resource describing FIBO I strongly feel we should reference that i.e. the MetadataFIBO resource.

Just to follow up, since I responded to this in the issue, Robert and I agreed that the MetadataFIBO SHOULD NOT import the FIBO ontologies, and should be self-contained, but some of the files had horrible metadata (that said, essentially, this is metadata), all in provisional, and at least one of them imported the wrong thing - it imported an ontology not the metadata ontology that it was supposed to reference.  This resolution corrects precisely and only those issues, all in provisional metadata files that can be easily fixed again downstream as the ontologies themselves are revised.
Note too that I anticipate a number of these provisional modules, though not all, will be deleted as we merge and integrate the ontologies.


docs: Update docs/config.json

Implements changes from https://github.com/TanStack/tanstack.com/pull/193

Codecov Report

Merging #7087 (6fb3a06) into main (78ace08) will increase coverage by 0.03%.
Report is 8 commits behind head on main.
The diff coverage is n/a.

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files

@@            Coverage Diff             @@
##             main    #7087      +/-   ##
==========================================
+ Coverage   41.47%   41.50%   +0.03%
==========================================
  Files         184      184
  Lines        7304     7308       +4
  Branches     1509     1511       +2
==========================================
+ Hits         3029     3033       +4
  Misses       3876     3876
  Partials      399      399

Components
Coverage Δ

@tanstack/angular-query-devtools-experimental
∅ <ø> (∅)

@tanstack/angular-query-experimental
86.46% <ø> (ø)

@tanstack/eslint-plugin-query
85.11% <ø> (ø)

@tanstack/query-async-storage-persister
49.20% <ø> (ø)

@tanstack/query-broadcast-client-experimental
∅ <ø> (∅)

@tanstack/query-codemods
0.00% <ø> (ø)

@tanstack/query-core
93.25% <94.73%> (+0.01%)
:arrow_up:

@tanstack/query-devtools
3.99% <ø> (ø)

@tanstack/query-persist-client-core
57.73% <ø> (ø)

@tanstack/query-sync-storage-persister
82.50% <ø> (ø)

@tanstack/react-query
92.77% <ø> (ø)

@tanstack/react-query-devtools
10.71% <ø> (ø)

@tanstack/react-query-next-experimental
∅ <ø> (∅)

@tanstack/react-query-persist-client
100.00% <ø> (ø)

@tanstack/solid-query
82.26% <ø> (ø)

@tanstack/solid-query-devtools
∅ <ø> (∅)

@tanstack/solid-query-persist-client
100.00% <ø> (ø)

@tanstack/svelte-query
62.68% <ø> (ø)

@tanstack/svelte-query-devtools
∅ <ø> (∅)

@tanstack/svelte-query-persist-client
100.00% <ø> (ø)

@tanstack/vue-query
70.81% <ø> (ø)

@tanstack/vue-query-devtools
∅ <ø> (∅)


Autostrafe move check

if (cmd->buttons & (IN_FORWARD | IN_BACK | IN_MOVELEFT | IN_MOVERIGHT)) return;
why not? checks if you are moving when autostrafing

yea simple check but dope

dont know man where should i paste this?

dont know man where should i paste this?

void Misc::autoStrafe(UserCmd* cmd) noexcept
{
    if (cmd->buttons & (IN_FORWARD | IN_BACK | IN_MOVELEFT | IN_MOVERIGHT)) return;
    if (localPlayer
        && config->misc.autoStrafe
        && !(localPlayer->flags() & 1)
        && localPlayer->moveType() != MoveType::NOCLIP) {
        if (cmd->mousedx < 0)
            cmd->sidemove = -450.0f;
        else if (cmd->mousedx > 0)
            cmd->sidemove = 450.0f;
    }
}

nice thx man

Make a pull, please!

Make a pull, please!

hard. i don t know how

Allow me?

Allow me?

sure create one

Still not good autostrafer, this is useless and u dont get 300 velocity on first jump.
What i recommend is viewangles autostrafer.

This is a legit Autostafe.
Em seg., 8 de jun. de 2020 às 13:33, littlehurensohn <
<EMAIL_ADDRESS>escreveu:

Still not good autostrafer, this is useless and u dont get 300 velocity on
first jump.
What i recommend is multidirectional viewangles autostrafer.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/danielkrupinski/Osiris/issues/1711#issuecomment-640737851,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AOQKCYCLT2U5MZ6FX5MFLFDRVUHEDANCNFSM4NYEFYMQ
.

Still not good autostrafer, this is useless and u dont get 300 velocity on first jump.
What i recommend is multidirectional viewangles autostrafer.

i have one is really fun.

Still not good autostrafer, this is useless and u dont get 300 velocity on first jump.
What i recommend is multidirectional viewangles autostrafer.

i have one, is really fun.

Hey. I've been trying to make a multidirectional autostrafer for Osiris but can't seem to make one. If possible, could you give your autostrafe function code?


Rc 2.9.4 -> master

Pull Request Checklist:

[ ] Positive Test Case Written by Dev

[ ] Automated Testing

[ ] Sufficient User and Developer Documentation

[ ] Passing Jenkins Build

[ ] Peer Code review and approval

Positive Test Case

[Enter positive test case here]

tests fail due to 503 pass locally


Update .gitignore

Following development environment files ignored:

NodeJS cache
IntelliJ user settings
VSCode user settings
macOS general files

This action was very necessary.
Thank you Altan for adding these.


🚀 Feature: Allow Removal of Anonymous Uploads

🔖 Feature description
I feel like there should be a way to remove anonymous uploads? Because what if there are some abuse and you need to delete some? and there are also disk space concerns.
🎤 Pitch

Makes sure to deter abuse
Deter spam
Easy management of space/files

You mean an admin should be able to delete shares made by anonymous users?

You mean an admin should be able to delete shares made by anonymous users?

Yes

Commenting this out seems to work:
https://github.com/stonith404/pingvin-share/blob/a511f24a6ba251cede0b75ea69aab08212e764f1/backend/src/share/share.service.ts#L276-L277

Oh, I forgot that anonymous shares can't be deleted. I'm going to remove as this restriction doesn't make sense anymore.

Oh, I forgot that anonymous shares can't be deleted. I'm going to remove this restriction as it doesn't make sense anymore.

Cheers 🥂

This is now fixed in the latest version.


InfluxDB high memory usage and very slow to start

I've been running a POC InfluxDB system (InfluxDB v0.12.1 git: 0.12 e094138084855d444195b252314dfee9eae34cab)  for ~a month.   Over that time the DB has grown to ~15GB.
I'm logging 1000 measurements with just one tag (the name of the server that the measurement was collected from) and using Grafana to generate dashboards.
Looking at memory usage I noticed that InfluxDB was using ~5.5 GB so tried restarting the process to see if memory usage would be reduced.
"service influxdb restart" completed OK, but InfluxDB never started listening on port 8083 or responding to requests.   I left it for ~30 minutes before giving up and deleting the DB.   InfluxDB then started instantly.
Before deleting the DB I ran influxdb with the cpuprofile and memprofile options and left it running for a minute or so.   Outupt attached if this is helpful.
This is obviously a critical issue that we need to resolve before we can take InfluxDB into production.   Any ideas?
profile.zip

@MatMeredith There are number of startup improvements in the currently nightlies.  Can you try running a nightly?

@jwilder Thank you -- I'll try this.  Does the memory usage seem right though?   When I restarted (with no database) memory use was negligible.   Memory use has since been steadily growing.   The database size has reached 4GB so far, and memory usage has increased to ~2GB.   I assume it will continue increasing until it reaches the 5.5GB it was at previously.  Is this expected?   Is RAM usage expected to increase with total DB size?
I do also have a couple of continuous queries running, aggregating / downsampling all of the data received.  I don't know if this is relevant to any of the issues I'm seeing.

It depends on the shape of your data and what queries are running.  The more series and kinds of queries running will incur more RAM usage.

Seems reasonable.   But my number of series and queries haven’t changed since I restarted InfluxDB and yet RAM usage has increased steadily from ~500MB to 2GB and (based on my previous run) will continue to increase to 5.5GB.   Would you expect this increase over time?
From: Jason Wilder<EMAIL_ADDRESS>Sent: 02 June 2016 15:07
To: influxdata/influxdb
Cc: Matthew Meredith; Mention
Subject: Re: [influxdata/influxdb] InfluxDB high memory usage and very slow to start (#6759)
It depends on the shape of your data and what queries are running. The more series and kinds of queries running will incur more RAM usage.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/influxdata/influxdb/issues/6759#issuecomment-223302124, or mute the threadhttps://github.com/notifications/unsubscribe/ADSd0pGrn4n-cD64bGdLMvKv5K2Ak3S6ks5qHuN-gaJpZM4IrTpt.

Slow startup should be fixed by #6743


Ask about judgment date if first hearing date is in the past and add motion to set aside

If there is a default judgment, route to motion to set aside instead of answer.
motion to elevate security is

Add directions to find on case.net (also add directions on file to motion)


[UPGRADE] Path for properties fetched via system.getProperty

Is your feature request related to a problem? Please describe.
We have renamed properties, e.g. es.distribution.type has become opensearch.distribution.type. What is the path forward for those settings?
Describe the solution you'd like
Document the way this breaks for users.
Provide a migration path.
Optionally provide tooling to aid users in the migration path.
Additional context
Coming from #640.

#846 will close this issue. Bumping to v1.1 release


enh: Adding a caution for external tool

Fixes #17984

This PR adds a caution about the Usage of External Tool for data encoding.

/assign @parispittman

/assign @zacharysarah

@zacharysarah Thanks for the review, I will definitely remember the same for the future.

/lgtm
/approve


proposal: net: gnet like net for lightweight and zero alloc / no goroutine per connection etc.

Proposal Details
there are a lot of networking "frameworks" e.g.
https://github.com/panjf2000/gnet
nbios, netpoll  etc, all designed to work around std net limitations.
i understand std net is important but can we have a lightweight version? i'm suggesting so because we have net/ip and netip/ip. so maybe we can also have netlite or something similar.
requesting only these features for the netlite, netx would be fine as well. a super lightweight version, gnet like

no goroutine creation per connection
as fast as gnet or faster.
zero alloc if possible.

i've tested a lot of custom made net versions (because go-net is really too resource intensive) and hope this can be part of the roadmap.
p.s. : suggesting so because std net makes golang feel too slow, supporting a lightweight net framework with io_uring (in future) but currently can be anything (but std net) will put golang in the spotlight as so:
https://www.techempower.com/benchmarks/#section=data-r22&hw=ph&test=plaintext

@ianlancetaylor, I suggest developing a highly streamlined version of the standard libraries (in particular for net) that the community could support in part. According to the TechEmpower benchmarks, the standard library performs suboptimally.
Having worked primarily in environments that prioritize minimal allocation, I've managed to significantly reduce allocations, but I wonder if we could also introduce an extremely optimized and reduced version of Go's packages.
I'm curious whether Go has anything akin to Rust's "nightly" builds, or focused on "zero allocation" and "extreme performance" for particularly demanding applications. e.g. 3 versions

nightly ([experimental], shouldnt we use another version of golang instead of including it as part of the std compiler? just thinking to myself)
extreme performance (minimal zero alloc)
pure zero alloc (with goasm or similar.)

(i understand the rationale and complexity of maintaining more versions)
While I understand this may not be a priority, I believe there's interest within the community for such high-performance capabilities. i know there's vlang etc. but there's potential for Go to establish a similarly high-performance environment.

Thanks, I understand the general goal.  What I'm saying is that this is very vague.  The proposal process is for analyzing specific proposals for changes.  It's not for developing complex ideas.  See https://github.com/golang/proposal#readme.  I'm going to take this out of the proposal process.


Add Thread invite link to a native share dialog

Just thinking this through. Seems like we want,

[ ] a share link in every non-default thread
[ ] clicking the link will grab the URL from textile-go
[ ] toss the payload into the native share method and open it for the user

Later on we talked about adding a block to the Thread saying that a public invite was created, we can do that later.

Giving this to you aaron, seems like the last piece actually remaining to have a little internal test of this tomorrow / tuesday. was going to just hack it in on top of my branch but not sure where that share dialog trigger / construction should live currently. should be quick either way, so let me know if you want me to just do it

Sounds good to me.

done


Returning dtype or device from jitted function returns thunder's dtype or device (not torch.{dtype/device}).

I think this can be a problem where part of the program is called with thunder.jit and it's output is used for non-compatible parts (eg. https://github.com/Lightning-AI/lightning-thunder/issues/461). These non-compatible parts may expect these objects to be torch types.
import thunder
import torch

def foo(x):
    return x.device, x.dtype

jfoo = thunder.jit(foo)
x = torch.randn(4,)
o = jfoo(x)
print(o)  # (cpu, float32)
print(type(o[0]), type(o[1]))  # <class 'thunder.core.devices.Device'> <class 'thunder.core.dtypes.floating'>

print(thunder.last_traces(jfoo)[-1])

# # Constructed by Delete Last Used (took 0 milliseconds)
# import thunder.core.devices as devices
# import thunder.core.dtypes as dtypes
# import torch
# from thunder.executors.torchex import no_autocast

# @torch.no_grad()
# @no_autocast
# def computation():
#   return (devices.Device("cpu"), dtypes.float32)

Hi @kshitij12345 , can I ask you why you think #461 is related to this issue (just trying to get a better understanding)? Because, when I reproduced the recursive error by only jitting the encoder of CLIPTextTransformer, it threw an error during the forward pass of the encoder. Doesn't that mean this error is not related to passing non-compatible parts? Would appreciate it if you can correct me if I am interpreting this incorrectly.

@kshitij12345 Thanks for the clarification. It makes better sense now :)

triage review —

there are several ways we can think of addressing this, the simplest may be to convert all thunder dtype and device outputs to their corresponding torch objects (but this would be incorrect if anyone cared to return the thunder objects, which seems very unlikely)


Fix all issues reported by ruff

I noticed that ruff (the linter) was complaining about some issues in the code, so I ran it with the --fix option to automatically apply fixes where possible, and I also manually fixed one case that ruff couldn't handle on its own. These are the results. After these changes, ruff reports no errors.
@bugen This could be a step toward setting up pre-commit, if you want to do that. (I find it to be a very handy tool and I would recommend it. As usual, I would be happy to help show you how to set it up if you like.)

Thanks! pre-commit is already installed, but it doesn't include ruff checks. I don't have time to address it at the moment due to work commitments, so I will merge it once I'm done with work.

Oh whoops, my bad, I didn't realize there was a pre-commit configuration already. 😢
Anyway, this PR isn't urgent.

I merged. I'll set it up so that pre-commit can perform checks with ruff.

Thanks! Sounds good. I see that the package now appears on PyPI :smile:
If I may offer a tip based on my own experience: ruff 0.0.233 is the last version of ruff that supports Python 3.6, and if you use the pre-commit.ci service, it will periodically try to upgrade the ruff pre-commit hook to a more recent version that does not support Python 3.6. We ran into this problem in another project I maintain. You could choose to modify or reject the upgrades that pre-commit.ci submits, and you can configure it to reduce the frequency of those updates; or, you could avoid using pre-commit.ci entirely and instead have your own Github Actions workflow that runs pre-commit; or, you could choose to drop support for Python 3.6. (Or maybe something else I'm not thinking of)

pypipe has finally been released on PyPI 🎉  Thank you for your contributions!
Thanks for the advice. I'd like to keep support for Python 3.6 for now. The reason is that in RHEL 8-based distributions, Python 3.6 is used as the system default Python. Enterprise-oriented OS distributions like RHEL tend to remain in use for an extended period without updates for system maintenance. I want to ensure that pypipe can easily be used in such slightly older environments. There are a couple of important additional essential features in my roadmap, and I'd like to maintain support for Python 3.6 until those features are implemented, probably around v0.5.0. After that point, I believe it would be acceptable to drop support for Python 3.6.
I would appreciate it if you could tell me how to continue using ruff with Python 3.6 support in pre-commit.


Consistency on the addon naming in the app of app template

We should have a consistent naming in the app of app templates, this allows upstream whoever consumes this repo to follow the same naming patterns for all addons. Examples:
For AWS Load Balancer Controller: 👍
# chart/templates/aws-load-balancer-controller.yaml
{{- if and (.Values.awsLoadBalancerController) (.Values.awsLoadBalancerController.enable) -}}

For Appmesh Controller: 👎
# chart/templates/appmesh-controller.yaml
{{- if and (.Values.appMesh) (.Values.appMesh.enable) -}}  ==> should be Values.appmeshController

Another minor one, but can we change enable to enabled?
{{- if and (.Values.awsLoadBalancerController) (.Values.awsLoadBalancerController.enable) -}}
==>>
{{- if and (.Values.awsLoadBalancerController) (.Values.awsLoadBalancerController.enabled) -}}

I am working on getting SSP CDK to consume this repo (https://github.com/aws-quickstart/ssp-amazon-eks/pull/300). Any feedback on this are appreciated. While waiting, I will submit a PR for this.

I agree on the consistency point. However, I disagree on enable vs enabled. I believe enable is the more commonly used tense for this boolean action

I agree on the consistency point. However, I disagree on enable vs enabled. I believe enable is the more commonly used tense for this boolean action

@bryantbiggs , Thanks for the feedback. Great that we agreed on the add on naming consistency.
I am happy to leave as enable, it is just many helm projects I have seen are all using enabled when it represents as a single word:

https://github.com/kubernetes/ingress-nginx/blob/main/charts/ingress-nginx/values.yaml
https://github.com/bitnami/charts/blob/master/bitnami/external-dns/values.yaml
https://github.com/aws/eks-charts/blob/master/stable/aws-load-balancer-controller/values.yaml

If enable is still the favor, I will update my PR accordingly. Thanks.

I believe this is resolved by now


[Dependency] Adding clingwrap and npm-check-updates

In order to improve the dependency management in azk (specially the npm-shrinkwrap.json update) we added the packages clingwrap and npm-check-updates.
Besides, two things were done:

During development time (AZK_ENV=development), the commands azk (node|npm|gulp|clingwrap|ncu) are now available;
A cleaning in npm-shrinkwrap.json was done for all packages. This caused a big change in this file, but now on, it'll be way easier to maintain it;

Finally, every single time a package is installed, updated or removed, the following command must be run:
$ azk clingwrap [package_name]

LGTM

LGTM

LGTM