SimpleBar freezes in Angular 4

I'm importing  SimpleBar through modules as follows:
import * as SimpleBar from 'simplebar';
If I try to initialize it programatically the application freezes:
this.myScroll = new SimpleBar(document.getElementById('pageScroll'));
Is there a way to retrieve simplebar after it has been initialized like this?

In your component's ngAfterViewInit, do the following,
//ngZone is the injected NGZone service
this.ngZone.runOutsideAngular(() => {
    setTimeout(() => {
            //this.simpleBar is the ElementRef of simplebar element retrived via @ViewChild
            const scrollBar = new SimpleBar(this.simpleBar.nativeElement);
            //assuming you want to add a listener
            scrollBar.getScrollElement().addEventListener('scroll', (event) => {
                   //do your thing
            });
     });
});

This worked thanks a lot!


refactor context

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
11 unchanged lines in 1 file lost coverage.
Overall coverage decreased (-1.2%) to 84.0%

Files with Coverage Reduction
New Missed Lines
%

dist/index.umd.js
11
84.0%

Totals

Change from base Build<PHONE_NUMBER>:
-1.2%

Covered Lines:
88

Relevant Lines:
99

💛  - Coveralls


Timing

There should probably be some coverage of timing.

Performance trouble shooting should reference how timing can be collected within FGPU2.
Timing/performance metrics should be detailed in logging pages (emphasis perf metrics always logged in ensembles??).
Maybe some advanced discussion regarding accuracy/wddm, impact of cuda event timers etc.

Maybe some advanced discussion regarding accuracy/wddm, impact of cuda event timers etc.

CUDA event timers have a resolution of "around  0.5 microscends", and timing only behaves as intended when the event's are recorded in the NULL (default) stream:

Computes the elapsed time between two events (in milliseconds with a resolution of around 0.5 microseconds).
If either event was last recorded in a non-NULL stream, the resulting time may be greater than expected (even if both used the same stream handle). This happens because the cudaEventRecord() operation takes place asynchronously and there is no guarantee that the measured latency is actually just between the two events. Any number of other different stream operations could execute in between the two measured events, thus altering the timing in a significant way.

soruce
Under WDDM, due to how the WDDM command buffers work, cudaEvent based timing is only meaningful for pure device code (unless you add immediate stream/event/device sync after recording). See FLAMEGPU/FLAMEGPU2#451
std::steady_clock timers are generally not as good, but they are implementation and hardware specific, so can't document a known accuracy / precision. It might be possible to calculate one at runtime though. They might not be precise enough to give useful per step or per layer timing depending on the model.
std::high_resolution_clock sounds like it should be better, but its implementation defined. MSVC it is just a std::steady_clock, but gcc uses std::system_clock which is not good for performance timing (it's not monotonic).


Add logging setup to all invokers

Adds timestamped logging to gridsearch (and other) logs for profiling and bughunting.
Fixes #280

Merging.


Update dependencies

Hello @sommerc,
While working on https://github.com/conda-forge/napari-correct-drift-feedstock/pull/1
We noticed:
The following packages are declared as a dependency but not used in source code

magicgui

The following packages are NOT declared as a dependency and are used in source code

pandas
scikit-image
scipy

Could this be amended for the next release?
Cheers 🚀 !

Yes, I'll update it soon! Thanks for the notice. C


Sp 1367 Use QueryResult as return type for data lake measure API

Purpose

Fixes #1367
Remarks

PR introduces (a) breaking change(s): <yes/no>
PR introduces (a) deprecation(s): <yes/no>

@tenthe changes look good now
There seems to be one merge conflict that needs to be resolved

@bossenti thanks for the hint


Fix little typo in summarize.ipynb

Description
Hello, I found a little typo while reading your documentation. This PR is just fixing a typo in the documentation at Chains > How-To guides > Summarization.

some merge conflicts, so fixed in separate pr


Use flat arrays for Colors and Positions when CanvasKit makes them available

Currently to pass a list of Colors or a List of positions to CanvasKit, you need to instantiate a 2D JavaScript array, only for that array to be flattened and copied into WASM memory by CanvasKit. It would be faster if we could give CanvasKit a pre-flattened array.

@kjlubick @yjbanov

Landed per CanvasKit 0.17.0 ---
In all places where color arrays are accepted (gradient makers, drawAtlas, and MakeSkVertices), You can now provide either flat Float32Arrays of float colors, Uint32Arrays of int colors, or 2d Arrays of Float32Array(4) colors. The one thing you should not pass is an Array of numbers, since canvaskit wouldn't be able to tell whether they're ints or floats without checking them all. The fastest choice for gradients is the flat Float32Array, the fastest choice for drawAtlas and MakeSkVertices is the flat Uint32Array.

We do this now.


Karate UI improvements

Hi
First of all congratulations on this fantastic project and it is really cool. I have been exploring it recently to use it for testing our API.
I am raising this issue to suggest improvements to Karate UI. I would love to contribute to the project but want to discuss few points with you guys. We would like to use Karate UI as the main tool for demoing our API at the end of the sprint. So it will be really good if Karate UI is developed in such a way so that it is the Tool for API demos as well. Below is the list of points which comes to my mind after playing with UI, will be good to know what other people think about it.

Instead of opening one allow the ability to open a directory and then add directory tree on the left. I have done the POC and below is roughly how it can look after the change. Any thoughts?

Added Feature description at the top of the scenarios pane.
Allow the panes to be resizeable
Add a button for each scenario so that I can run all the steps in one scenario
Add a fast-forward button for each step in the scenario and if that button is clicked then all the steps up to that step are executed.
For "method" step add a collapsible panel to show request url , request headers, request params, response headers and response body(with the option to pretty-print or raw). This means when I demo the API I can run all the steps and then I can show how request and response looks like. Something similar to what we get from Chrome developer tools. Difference between this and variables on right side is that even if other steps have been run I can go back to a scenario and show the information for the step.

Ability to generate curl command for each step with "method". This can be another panel just like above. This will be very useful in case I need to send curl examples to API users. Tools like POSTMAN allow this.
Change the env box to selection list which gets populated from karate-config.js or some other config file.
Would love to hear what other people think about these points.

Thanks
Ravinder

this is fantastic. the UI was something I had created quickly but then started focusing on other features (e.g. mocks as a priority). the world needs a better alternative to postman. you can also look at https://insomnia.rest for ideas, but karate's core competency is being able to integrate into a Java project structure if needed.
I agree with all your points, I would not put too much time into 8 since karate-config.js is deliberately un-structured and gives full freedom to the end-user - but if you have a particular idea about an alternate config file I'd love to hear it.
in case you did not see this already - you should be aware that the karate-netty-<version>-all.jar is a new development where all of Karate including the UI and mock-server capabilities are available in one single binary that you can download and run, in fact double-clicking brings up the UI: https://github.com/intuit/karate/tree/master/karate-netty#ui
So all the work that you are doing is super-relevant !

@ptrthomas cool as the time permits I will try to get the implementation done for all the points. I was looking for contribution section but couldn't find one. Do we have any guidelines for contribution? Shall I just raise the pull requests?

@RavinderSinghMaan yes, please raise the pull requests. just make sure you target the develop branch.


[DOCS] Update Readme

Description
Current State:
The Contributing section of the README file requires extra documentation. Some commands that should be applied while contributing to the project are missing.
Desired State:
I know some small basic steps don't require to be explained. But, I would like to add those extra commands like a repository should be pulled by creating a remote repository(for reference), the first step like creating a folder at your desired location, etc. I have divided the whole process into 17-18 simple steps which will be easy to understand by the contributors. I won't be deleting any part will just modify it in a better way. I have the desired image of how it will look after updating the README.
The image attached is just an outlook of how README will be displayed:
Screenshots

Additional information
No response
Checklist

[X] I have checked the existing issues
[X] I have read the Contributing Guidelines
[X] I will work on this issue (optional)
[X] I am a GSSoC'23 contributor

Please assign me this issue, I would like to work on it under gssoc @AshutoshDash1999

These are already added in the readme. Nothing more to add for now.

I have divided the whole process into 17-18 simple steps

don't you think 17-18 steps will be too long to follow?

These are already added in the readme. Nothing more to add for now.

I have divided the whole process into 17-18 simple steps

don't you think 17-18 steps will be too long to follow?

But 2 commands are necessary to follow add remote reference to project, and fetching upstream main


Fix bigtable server-streaming method flattening before release

GAPIC codegen currently doesn't support flattenings on server-streaming methods.
So a hand-written flattened method has been temporarily included. The code-gen must be fixed, and the code-gen'ed version must be used before release.

This applies to the SampleRowKeys method (and possibly more).

Just checking, is this still the case, or has this been done?

I'll need to check, but I'm fairly sure this is still the case; i.e. the code-gen still doesn't generate server-streaming flattenings.

@evildour: Can I check that you still need this functionality, too?

Yes it is still needed for ReadRows and SampleRowKeys in the Data API.

The manual streaming-flattened code needs removing. Re-opening until that is done.

And we need to regenerate, presumably. I can do both of these today.

Yes, removal and re-gen. Hopefully should be quick and trouble-free :)

This is now complete - closing.


Fix delegate VirtualService merging for visibility.Private

For defaultVirtualServiceExportTo: ["."], defaultExportTo is a map containing a key visibility.Instance(".") which doesn't match the key visibility.Instance(root.Namespace).
This PR fixes that check by adding a key visibility.Instance(vs.Namespace), similar to what is done while processing exportTo within VirtualServices.
Fixes #42602
Please provide a description of this PR:

Hi @rajatsharma94. Thanks for your PR.
I'm waiting for a istio member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work. Regular contributors should join the org to skip this step.
Once the patch is verified, the new status will be reflected by the ok-to-test label.
I understand the commands that are listed here.

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@rajatsharma94: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

release-notes_istio
5cac0648a85bdf8fd1b1076de72d68b52ca7d2a8
link
true
/test release-notes

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@rajatsharma94: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

release-notes_istio
5cac0648a85bdf8fd1b1076de72d68b52ca7d2a8
link
true
/test release-notes

lint_istio
5cac0648a85bdf8fd1b1076de72d68b52ca7d2a8
link
true
/test lint

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@rajatsharma94: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

release-notes_istio
5cac0648a85bdf8fd1b1076de72d68b52ca7d2a8
link
true
/test release-notes

lint_istio
5cac0648a85bdf8fd1b1076de72d68b52ca7d2a8
link
true
/test lint

gencheck_istio
5cac0648a85bdf8fd1b1076de72d68b52ca7d2a8
link
true
/test gencheck

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@rajatsharma94: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

lint_istio
5cac0648a85bdf8fd1b1076de72d68b52ca7d2a8
link
true
/test lint

gencheck_istio
5cac0648a85bdf8fd1b1076de72d68b52ca7d2a8
link
true
/test gencheck

release-notes_istio
e04dd769ad011a5f4cb598a33eedda00ce5db089
link
true
/test release-notes

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@rajatsharma94: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

release-notes_istio
dc2b8ec66f676e8b3527557e584ccdadaf0e66c0
link
true
/test release-notes

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.


invalid tap names for svmlight and svmrank

'myedibleenso/nlp/svmrank' and 'myedibleenso/nlp/svmlight' are not available for tapping on brew. Can you update the README file?

@polymorpher, does brew tap myedibleenso/nlp followed by brew install svmlight svmrank work for you?

Yes, that works. Thanks!


APU Square Channel (Wiki)

We need to correct about the square channels, where it is written that they are identical, to point out the difference in the adder.

Fix tran:


⚠ ClamAV has degraded performance

In c09569c, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 94 ms

Resolved: ClamAV performance has improved in b2f619b after 5 minutes.


NuGet Profile78 dll doesn't contain printf functions

Reported on Bugzilla
NuGet Profile78 dll doesn't contain printf functions. Looking here, I don't see FX_NO_SYSTEM_CONSOLE defined, so not sure what is going on here.
Repro steps
Provide the steps required to reproduce the problem

Add FSharp.Core NuGet package to an F# PCL project

FSharp.Core.<IP_ADDRESS>/lib/portable-net45+netcore45+wp8/FSharp.Core.dll should be referenced (<IP_ADDRESS>)

Expected behavior
Should see Printf.printf function available
Actual behavior
Most Printf functions are ifdeffed out

Known workarounds
None
Related information
OSX / Mono (although I don't think this is relevant)

I think this is by design?  That System.Console is not available in Profile 78?

That's what I suspected at first, but then I saw https://github.com/Microsoft/visualfsharp/blob/1f6b0f75c73fb6e485a304560b062013167744c2/src/FSharpSource.targets#L284-L319 . So now I'm not sure :)

OK. It does define FX_NO_SYSTEM_CONSOLE. I'm going code blind. Thanks!


Templates won't load after clearing ampcache

Hey,
I tried clearing the amp cache using https://amp-cache-refresh.appspot.com/. Now surprisingly the templates listed here https://ampstart-iframes.firebaseapp.com/templates don't load. We can see the preview but upon clicking on the template, blank page loads.
Thanks

does it permanently not load ? or was it a one time thing?
I just tried this on incognito works fine for me.


[Snyk] Security upgrade python from 3.13.0a3-slim to 3.14.0a3-slim

Snyk has created this PR to fix 5 vulnerabilities in the dockerfile dependencies of this project.
Keeping your Docker base image up-to-date means you’ll benefit from security fixes in the latest version of your chosen image.
Snyk changed the following file(s):

cmd/earlystopping/medianstop/v1beta1/Dockerfile

We recommend upgrading to python:3.14.0a3-slim, as this image has only 34 known vulnerabilities. To do this, merge this pull request, then verify your application still works as expected.
Vulnerabilities that will be fixed with an upgrade:

Issue
Score

Integer Overflow or Wraparound SNYK-DEBIAN12-EXPAT-7855502
  714

Integer Overflow or Wraparound SNYK-DEBIAN12-EXPAT-7855503
  714

XML External Entity (XXE) Injection SNYK-DEBIAN12-EXPAT-7855507
  614

Out-of-Bounds SNYK-DEBIAN12-SQLITE3-6139924
  614

Allocation of Resources Without Limits or Throttling SNYK-DEBIAN12-SYSTEMD-6277507
  614

[!IMPORTANT]

Check the changes in this PR to ensure they won't cause issues with your project.
Max score is 1000. Note that the real score may have changed since the PR was raised.
This PR was automatically created by Snyk using the credentials of a real user.

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open fix PRs.
For more information:
🧐 View latest project report
📜 Customise PR templates
🛠 Adjust project settings
📚 Read about Snyk's upgrade logic

Learn how to fix vulnerabilities with free interactive lessons:
🦉 Allocation of Resources Without Limits or Throttling
🦉 XML External Entity (XXE) Injection

Pull Request Test Coverage Report for Build<PHONE_NUMBER>0
Details

0 of 0   changed or added relevant lines in 0 files are covered.
5 unchanged lines in 1 file lost coverage.
Overall coverage increased (+0.2%) to 73.279%

Files with Coverage Reduction
New Missed Lines
%

pkg/controller.v1beta1/suggestion/suggestion_controller.go
5
78.72%

Totals

Change from base Build<PHONE_NUMBER>0:
0.2%

Covered Lines:
3129

Relevant Lines:
4270

💛  - Coveralls


Overloaded TITLE metadata results in OSError: [Errno 36] File name too long

Describe the issue
There is an issue for some books where the TITLE is overloaded with inappropriate metadata - usually a list of author names included in either an epub or audiobook that is an anthology.
To Reproduce
Steps to reproduce the behavior:

From terminal: ./kobodl-ubuntu book get 29080c0b-63a7-444d-99c1-79966e93079f
Error: OSError: [Errno 36] File name too long: '/home/USERNAME/kobo_downloads/Lewis Carroll - 100 Books You Must Read Before You Die - volume 1 [newly updated] [Pride and Prejudice; Jane Eyre; Wuthering Heights; Tarzan of the Apes; The Count of Monte Cristo; A Room With a View; The Odyssey; etc.] (Book House Publishing) 29080c0b.epub.downloading'

Expected behavior
A truncated version of the path / filename to align with the limits of the OS (PopOs 22.04)
Desktop (please complete the following information):

OS: PopOs 22.04
Koboldl-ubuntu; Python version 3.10.6
Kobodl Version: 0.9.3

Hey, I replied to the email you sent, but here's the same answer in case anyone else runs into this in the future:
Use the --format-str argument to omit whatever part of the filename is causing trouble: https://github.com/subdavis/kobo-book-downloader/releases/tag/0.7.3
## Omit the title from the file name.  You can edit the file yourself afterward.
kobodl book get --format-str '{Author} - {ShortRevisionId}' <revision-id>

No response, closing due to inactivity.


a question about crystens

Hi, I was wandering about how I can generate npy files, or make a stacked crystens. Since I do not know how to load jsonl file and git lfs to generate npy files. is there any other way to generate npy files? or can you give me these npy files? Thank you!@michaeldalverson

I have solved this problem, thank you, I would like to know if the crystals folder in this project is a training dataset and why it only has more than 20000 files?

Hi, I was wandering about how I can generate npy files, or make a stacked crystens. Since I do not know how to load jsonl file and git lfs to generate npy files. is there any other way to generate npy files? or can you give me these npy files? Thank you!@michaeldalverson


Documentation of individual timeout configurations. [JIRA: RCS-158]

Description of these items should be added into docs.basho.com and 1.5.3 release note.

Release notes are release notes, I believe it's too late to change.


latest version of pvfactors cannot be installed with pvlib 0.10.0

The last several versions of pvfactors require pvlib<0.10 to preempt possible breaking changes.  In fact this turned out to be unnecessary; to the best of my knowledge, there is no actual incompatibility between pvfactors==1.5.2 (the latest) and pvlib==0.10.0.
However, that upper limit does prevent pip from installing pvfactors==1.5.2 and pvlib==0.10.0 simultaneously.  What it does instead is go back to pvfactors==1.4.1, the last version that doesn't require pvlib<0.10.  The problem is that this version of pvfactors is old enough to not contain a compatibility fix with the latest shapely, resulting in a broken installation that errors when you try to actually use pvfactors.  See for example this failed docs build: https://readthedocs.org/projects/pvlib-python/builds/21171307/
Users have two options to work around this problem in the immediate term.  Option 1: downgrade shapely to a version that works with pvfactors==1.4.1:
$ pip install pvlib==0.10.0 pvfactors  # installs pvfactors 1.4.1 and shapely 2.x
$ pip install 'shapely<2.0'  # might need to use double quotes in some terminals

Option 2: tell pip to ignore pvfactors when it says it isn't compatible with pvlib 0.10.0.  This will allow you to keep using pvfactors 1.5.2:
$ pip install pvfactors==1.5.2  # installs pvlib 0.9.5, and shapely 1.8.5
$ pip install --no-deps pvlib==0.10.0  # installs pvlib 0.10.0 alongside pvfactors 1.5.2

For a more permanent fix, the best solution would be for pvfactors to release a new version that doesn't have this unnecessary pvlib<0.10 requirement.  But since that project is no longer maintained, we can't expect that to happen.
In the absence of that, I see two options, both of which require going to 0.10.1:

A simple solution would be to add shapely<2.0 to our optional requirements, effectively making Option 1 above automatic.  This has the downside of using an older version of pvfactors, which is missing a minor bugfix that a small minority of users might care about.
Another option is to use this as motivation to get solarfactors sufficiently up to speed such that we could switch pvlib to depend on it instead of pvfactors.  I will look into how much work that would take.

An aside:  although I did make a local v0.10.0 tag and ensure that the tests passed before making the official 0.10.0 release, I neglected to install pvlib[optional] in the fresh test environment, so the pvfactors tests were skipped and this problem did not arise.  Had I been more thorough, this problem could have been found out before pvlib 0.10.0 was actually released.

I tried both but still getting errors , also i am unable to figure out how to replace the pvfactor code with solarfactors.
Can you update this code, with exactly what lines to be changed ?
[autoreload of pvlib.atmosphere failed: Traceback (most recent call last):
File "C:\Users\SaikatGhosh\anaconda3\lib\site-packages\IPython\extensions\autoreload.py", line 273, in check
superreload(m, reload, self.old_objects)
File "C:\Users\SaikatGhosh\anaconda3\lib\site-packages\IPython\extensions\autoreload.py", line 496, in superreload
update_generic(old_obj, new_obj)
File "C:\Users\SaikatGhosh\anaconda3\lib\site-packages\IPython\extensions\autoreload.py", line 393, in update_generic
update(a, b)
File "C:\Users\SaikatGhosh\anaconda3\lib\site-packages\IPython\extensions\autoreload.py", line 305, in update_function
setattr(old, name, getattr(new, name))
ValueError: first_solar_spectral_correction() requires a code object with 0 free vars, not 3
]
[autoreload of pvlib.pvsystem failed: Traceback (most recent call last):
File "C:\Users\SaikatGhosh\anaconda3\lib\site-packages\IPython\extensions\autoreload.py", line 273, in check
superreload(m, reload, self.old_objects)
File "C:\Users\SaikatGhosh\anaconda3\lib\site-packages\IPython\extensions\autoreload.py", line 496, in superreload
update_generic(old_obj, new_obj)
File "C:\Users\SaikatGhosh\anaconda3\lib\site-packages\IPython\extensions\autoreload.py", line 393, in update_generic
update(a, b)
File "C:\Users\SaikatGhosh\anaconda3\lib\site-packages\IPython\extensions\autoreload.py", line 305, in update_function
setattr(old, name, getattr(new, name))
ValueError: sapm_spectral_loss() requires a code object with 0 free vars, not 3
]
[autoreload of pvlib.modelchain failed: Traceback (most recent call last):
File "C:\Users\SaikatGhosh\anaconda3\lib\site-packages\IPython\extensions\autoreload.py", line 273, in check
superreload(m, reload, self.old_objects)
File "C:\Users\SaikatGhosh\anaconda3\lib\site-packages\IPython\extensions\autoreload.py", line 496, in superreload
update_generic(old_obj, new_obj)
File "C:\Users\SaikatGhosh\anaconda3\lib\site-packages\IPython\extensions\autoreload.py", line 393, in update_generic
update(a, b)
File "C:\Users\SaikatGhosh\anaconda3\lib\site-packages\IPython\extensions\autoreload.py", line 345, in update_class
if update_generic(old_obj, new_obj):
File "C:\Users\SaikatGhosh\anaconda3\lib\site-packages\IPython\extensions\autoreload.py", line 393, in update_generic
update(a, b)
File "C:\Users\SaikatGhosh\anaconda3\lib\site-packages\IPython\extensions\autoreload.py", line 305, in update_function
setattr(old, name, getattr(new, name))
ValueError: repr() requires a code object with 2 free vars, not 0
]
[autoreload of pvfactors failed: Traceback (most recent call last):
File "C:\Users\SaikatGhosh\anaconda3\lib\site-packages\IPython\extensions\autoreload.py", line 273, in check
superreload(m, reload, self.old_objects)
File "C:\Users\SaikatGhosh\anaconda3\lib\site-packages\IPython\extensions\autoreload.py", line 471, in superreload
module = reload(module)
File "C:\Users\SaikatGhosh\anaconda3\lib\importlib_init_.py", line 169, in reload
_bootstrap.exec(spec, module)
File "", line 613, in exec
File "", line 850, in exec_module
File "", line 228, in call_with_frames_removed
File "C:\Users\SaikatGhosh\anaconda3\lib\site-packages\pvfactors_init.py", line 8, in
from shapely.geos import lgeos
ImportError: cannot import name 'lgeos' from 'shapely.geos' (C:\Users\SaikatGhosh\anaconda3\lib\site-packages\shapely\geos.py)
]
[autoreload of pvfactors.geometry.plot failed: Traceback (most recent call last):
File "C:\Users\SaikatGhosh\anaconda3\lib\site-packages\IPython\extensions\autoreload.py", line 273, in check
superreload(m, reload, self.old_objects)
File "C:\Users\SaikatGhosh\anaconda3\lib\site-packages\IPython\extensions\autoreload.py", line 471, in superreload
module = reload(module)
File "C:\Users\SaikatGhosh\anaconda3\lib\importlib_init.py", line 159, in reload
raise ImportError(msg.format(parent_name),
ImportError: parent 'pvfactors.geometry' not in sys.modules
]
[autoreload of pvfactors.geometry.utils failed: Traceback (most recent call last):
File "C:\Users\SaikatGhosh\anaconda3\lib\site-packages\IPython\extensions\autoreload.py", line 273, in check
superreload(m, reload, self.old_objects)
File "C:\Users\SaikatGhosh\anaconda3\lib\site-packages\IPython\extensions\autoreload.py", line 471, in superreload
module = reload(module)
File "C:\Users\SaikatGhosh\anaconda3\lib\importlib_init.py", line 159, in reload
raise ImportError(msg.format(parent_name),
ImportError: parent 'pvfactors.geometry' not in sys.modules
]
Traceback (most recent call last):
File ~\anaconda3\lib\site-packages\spyder_kernels\py3compat.py:356 in compat_exec
exec(code, globals, locals)
File c:\users\saikatghosh\clipping.py:256
irrad = pvfactors_timeseries(solar_position['azimuth'],
File ~\anaconda3\lib\site-packages\pvlib\bifacial\pvfactors.py:97 in pvfactors_timeseries
from pvfactors.run import run_timeseries_engine
File ~\anaconda3\lib\site-packages\pvfactors\run.py:5
from pvfactors.geometry import OrderedPVArray
File ~\anaconda3\lib\site-packages\pvfactors\geometry_init_.py:3
from pvfactors.geometry.pvarray import OrderedPVArray
File ~\anaconda3\lib\site-packages\pvfactors\geometry\pvarray.py:6
from pvfactors.geometry.base import \
File ~\anaconda3\lib\site-packages\pvfactors\geometry\base.py:12
from shapely.geometry.collection import geos_geometrycollection_from_py
ImportError: cannot import name 'geos_geometrycollection_from_py' from 'shapely.geometry.collection' (C:\Users\SaikatGhosh\anaconda3\lib\site-packages\shapely\geometry\collection.py)


Hello, how to using this lib on my self-hosted openai API like LLM?

Hello, how to using this lib on my self-hosted openai API like LLM?

@luohao123  What do you mean by self-hosted LLM? Could you explain a bit more?

If you're just meaning self-hosted openai API, you do this by:
OpenAI.baseUrl = "http(s)://your-api-server-url";

As @scris said, if you need to change the base API url to your self-hosted one, then you can set it directly.
otherwise, can you put me on more context and clarify more what is the issue exactly.


atom snippets not working correctly

As you can see, snippets disappears after I input more than one character. Please fix.

this cant be fixed for now. this package has to use a higher priority than atom snippets, or completions such as std::vector will be overriden.

@Qusic , n00b in coffee script. I just compared atom-ycm with atom-clang, it seems that they used a different priority settings. Their completion seems not having this kind of problem IIRC. Maybe this can be helpful
https://github.com/yasuyuky/autocomplete-clang/blob/master/lib/clang-provider.coffee

One completion will override the other. You can't have both of them. It doesn't make sense to change the priority before we have better solution.

if I understand correctly, this is a issue with autocomplete-plus? Maybe ask them to consider allowing a larger pool of suggestions?

Yes. autocomplete+ will merge completions to make each of them unique. https://github.com/atom/autocomplete-plus/blob/master/lib/autocomplete-manager.coffee#L318


feat: remove github url and name

🫰 Thanks for sending a pull request!  Here are some tips for you:

If this is your first time, please read our contributor guidelines:
📇 https://github.com/kubecub/community/blob/main/CONTRIBUTING.md

Ensure you have added or ran the appropriate tests for your PR:

🔍 What type of PR is this?
/kind documentation

👀 What this PR does / why we need it:

[x] My pull request adheres to the code style of this project
[x] My code requires changes to the documentation
[x] I have updated the documentation as required
[x] All the tests have passed

🅰 Which issue(s) this PR fixes:

Fixes #
📝 Special notes for your reviewer:
 git add .\.gitignore .\config.json .\deploy.sh .\gitsync.sh .\LICENSE .\package-lock.json .\package.json

🎯 Describe how to verify it
📑 Additional documentation e.g., KEPs (kubecub Enhancement Proposals), usage docs, etc.:

contributing
readme
rfc


0.3.x nebulae, proxima textures, fixed moon phases

it's just resource pack stuff, it should be able to be merged with all versions effortlessly

I see you've changed the flip-uv, even though it's supposed to be flipped in order to look like the default Minecraft Moon. Well whatever, I'll just return it back and instead rotate the moon 180 degrees, because flipping along a central axis and rotating are two different things.


Vectors with endpoints/ multiple points API

🚀 Feature
Should we expand the vectors API to add

Support for passing start point and end point as an Nx2xD array. Right now we only support start point + vector. We'd need to add a kwarg such as as_points to the API.

Support for passing multiple points as an NxCxD array. Where C represents the length of the longest multiline. If you wanted to have some lines longer than others you'd need to use NaN to indicate that.

For reference here is current API
https://github.com/napari/napari/blob/410459a45db30efdf84c2339db9ceff8ccc570c8/napari/layers/vectors/vectors.py#L26-L31
Motivation
For 1. sometimes you have data in a start + end point format and converting to a start point + vector format feels annoying / wasteful / a burden
For 2. Right now if you want to display multilines / paths you have to use the shapers layer which has more interactivity but is not as performant, and struggles for datasets will millions of lines. This difference could be even greater after #4005 merges
Additional context
What does @brisvag think? Also curious @alisterburt @kevinyamauchi @jni @andy-sweet and anyone else who has worked with vectors

Support for passing start point and end point as an Nx2xD array. Right now we only support start point + vector. We'd need to add a kwarg such as as_points to the API.

YES, this is great and I don't know why I haven't proposed it earlier, since it seems pretty trivial to implement. @alisterburt  and I have had to juggle with this many times. Support 100%! The only obstacle is the api extension, but I think it's worth it. Something that we need to think about is where the length parameter should go in this new world.

Support for passing multiple points as an NxCxD array. Where C represents the length of the longest multiline. If you wanted to have some lines longer than others you'd need to use NaN to indicate that.

This seems pretty cool as well. This doesn't even require an api extension, since it's just a generalization of the current implementation.

For 1. sometimes you have data in a start + end point format and converting to a start point + vector format feels annoying / wasteful / a burden

My assumption is that this will be converted/coerced internally though, likely by the existing fix_data_vectors function? I.e. the stored type/shape of Vectors.data is the Nx2xD array that represents the start point and vector and won't change, right?
I think that's fine. The API expansion is only as a parameter for __init__, so I also think that's OK. Alternatively, we could define a public utility function that the user has to call, but that may be less discoverable.

For 2. Right now if you want to display multilines / paths you have to use the shapers layer which has more interactivity but is not as performant, and struggles for datasets will millions of lines. This difference could be even greater after #4005 merges

My initial gut reaction is that Vectors is a bad name for this layer now, and something like Lines or Paths would be better. But maybe this is OK as a temporary workaround if there's a need for it. I'm unsure exactly what the Graphs layer is going to be, but I could also imagine a version of that as a better long term generalization of these types of things.

Support for passing start point and end point as an Nx2xD array. Right now we only support start point + vector. We'd need to add a kwarg such as as_points to the API.

I like the utility here but worry that having the same data render different lines might lead to some confusion... the API isn't super intuitive and requires a user to know/understand both possibilities to use the layer properly

Support for passing multiple points as an NxCxD array. Where C represents the length of the longest multiline. If you wanted to have some lines longer than others you'd need to use NaN to indicate that.

This is really great - multilines would be a really nice feature to add

My initial gut reaction is that Vectors is a bad name for this layer now

This is my feeling too. Supporting line/multiline in the vectors layer feels a bit strange - would having the line/multiline visual backing the shapes layer in certain situations be a possibility? this functionality feels like a more natural fit there... maybe we could have a kwarg and disable controls if rendering a large number of lines/multilines?
Requiring different representations for fast visualisation vs interactive editing has come up for the tracks layer (without a clear solution) too in #3896


rework code to only use natural language understanding

After speaking with our Discovery OM (Deepika Devarajan) we realized that the application was made unnecessarily complicated by using Discovery. This application could entirely be done with using Watson's Natural Language Understanding, a critical part of Discovery. Discovery buys us searchability and indexing of documents. But in this instance, we're simply showing results one at a time. We can make API calls to NLU, which provides the sentiment, tone, keywords, all the stuff we're showing in our UI. See https://natural-language-understanding-demo.ng.bluemix.net/ as an example.
The proposal here is to swap out the discovery bits for NLU. This will a) greatly speed up load time of initial products, b) simplify the code base since we'll remove a lot of logic for handling collections.
@horeaporutiu do you think you could do this, otherwise I will ask @rhagarty to take a whack at it.

My hope is that we don't have to redo the video. Minimal changes to blog and README. The UI should not change since NLU will produce the same results.

@stevemart I can look at this next week. I'll work on converting to NLU. Thanks.

thanks so much @horeaporutiu

@stevemart basic NLU working now (sentiment is hardcoded as of now, will change that tomorrow). Will continue to work on this until it is ready.

@horeaporutiu any update on this one, did you need some help? can you post a PR?

@stevemart I have been pushing new code, and should have it done pretty soon. Hoping by end of next week. Only part that I really need to finish is the UI for desktop. (Mobile / tablet view works well). Also, I have just been committing to the repo without doing PR's lately (since I have mostly just changed the UI). I can start making PR's again, and have you review them before merging if you want. But either way shoud be done soon.

@horeaporutiu i think this is closed now?

Yup. Just have to update the README and we should be good to go. Is the
video fine or should I do a different one?
On Fri, Jun 1, 2018 at 1:18 PM Steve Martinelli<EMAIL_ADDRESS>wrote:

@horeaporutiu https://github.com/horeaporutiu i think this is closed
now?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/IBM/watson-second-opinion/issues/38#issuecomment-393997821,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AJ8gZb4SV069b0pPq91gc0T4LcdDlUmjks5t4aGYgaJpZM4TKaD_
.

@horeaporutiu i think it's fine. The gist of it hasn't changed. You've already put in a ton of work and I don't want you to feel obligated to put in even more.

Ok. I’ll go ahead and just clean up the readme and I think we should be all
good!
On Fri, Jun 1, 2018 at 2:29 PM Steve Martinelli<EMAIL_ADDRESS>wrote:

@horeaporutiu https://github.com/horeaporutiu i think it's fine. The
gist of it hasn't changed. You've already put in a ton of work and I don't
want you to feel obligated to put in even more.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/IBM/watson-second-opinion/issues/38#issuecomment-394014011,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AJ8gZZ2RKDPed5SS4anVv1iykTcFGxe1ks5t4bIygaJpZM4TKaD_
.

@horeaporutiu thanks! one comment about the new UI -- if you're including links at the top, i'd have one back to this github repo :)

resolved


Be able to run models whose compiled SQL include _dbt_max_partition

I am starting to use the package to do dry run of out models in BQ, and I haven't been able to run many of them, as I receive the error Unrecognized name: _dbt_max_partition at [<line>:<column>]. The issue seems to boil down to the fact that many of our models are incremental and make use of that variable, which still appears unrendered in the compiled_sql key of the model in the manifest.json file. Consider a model like:
WITH source_table AS (
  SELECT
    field1
    , field2
    , field3
  FROM
    (
      SELECT
        *
      FROM a_source_table
      WHERE DATE(partition_field) >= DATE_SUB(DATE(_dbt_max_partition), INTERVAL 2 day)
    )
  )
SELECT
  *
FROM source_table

The compiled_sql of the model will still have that _dbt_max_partition variable and thus when running the query with the CLI it will fail. I think simple way to fix that would be replacing that with a timestamp / date literal, or with a function like CURRENT_TIMESTAMP() or CURRENT_DATE()

Looking at how dbt-bigquery declares this variable I think this can be fixed by prepending the compiled SQL for incremental models with a dummy variable declaration in the _modify_sql method in the ModelRunner class. This is how the materialisation declares _dbt_max_partition:
{% macro declare_dbt_max_partition(relation, partition_by, sql) %}

  {% if '_dbt_max_partition' in sql %}

    declare _dbt_max_partition {{ partition_by.data_type }} default (
      select max({{ partition_by.field }}) from {{ this }}
      where {{ partition_by.field }} is not null
    );

  {% endif %}
{% endmacro %}

I can't imagine for dry running the exact value of the max partition would be important so I think I agree that just setting this to any arbitrary timestamp is fine. The function you would need to modify is here, we just need another check that if the model is incremental then prepend the variable declaration to something like:
declare _dbt_max_partition {{node.config.partition_by.data_type}} default (CURRENT_TIMESTAMP());

I will pick this up, thanks for the clarifications!


Add support for inline columns

At present all the elements are added as separate rows. Now with the inline: true attribute we can add up to 4 columns in a row as shown below:

is this inline edit feature ?

No, adds elements in inline columns.
On Mon, Feb 1, 2021, 1:26 PM Sadegh Barati<EMAIL_ADDRESS>wrote:

is this inline edit feature ?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/KasperOlesen/DataTable-AltEditor/pull/167#issuecomment-770651626,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABGB25MEI5KKR7H67BTZQRLS4ZNDVANCNFSM4W4HMJEQ
.


Update TemporalAccessor time coord outputs from MultiIndex to datetime and add convenience methods

Description

Closes #202
Closes #219

Checklist

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[x] My changes generate no new warnings
[x] Any dependent changes have been merged and published in downstream modules

If applicable:

[ ] I have added tests that prove my fix is effective or that my feature works
[ ] New and existing unit tests pass with my changes (locally and CI/CD build)
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[ ] I have noted that this is a breaking change for a major release (fix or feature that would cause existing functionality to not work as expected)

Codecov Report

Merging #221 (11d7a1f) into main (1fdc8a9) will not change coverage.
The diff coverage is 100.00%.

@@            Coverage Diff            @@
##              main      #221   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files            9         8    -1
  Lines          742       701   -41
=========================================
- Hits           742       701   -41

Impacted Files
Coverage Δ

xcdat/__init__.py
100.00% <ø> (ø)

xcdat/utils.py
100.00% <ø> (ø)

xcdat/spatial.py
100.00% <100.00%> (ø)

xcdat/temporal.py
100.00% <100.00%> (ø)

Continue to review full report at Codecov.

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


reloading the database does not work for legacy deployment of the tira-application.

When adding a new VM, the database needs to be reloaded via the admin panel.
Clicking on reload database does not reload the users.prototext properly.

fixed in aed74f7c3e83dcb3c904388272f367b2fa06dd24


Update Website Press Coverage Page

Type of Change

[ ] Enhancement
[x] Content
[ ] Improvement / Suggestion
[ ] Bug
[ ] Other (please clarify below)

Summary

The press coverage page is very out of date.
https://open-web-advocacy.org/press/

Not to say that this will (completely) fix the issue, but just wanted to note here that there is a pull request that adds a ton of links:
https://github.com/OpenWebAdvocacy/website/pull/108
We need a bit of time to review the links, that's why it hasn't been merged yet.


Add a network logs menu

Debugging network requests with vscode is a pain because the Network logs in the developer tools doesn't show network logs for the current instance. Even if it isn't directly in the Network tab in the dev tools, a network logs menu would be extremely helpful for debugging extensions that make web requests.

We closed this issue because we don't plan to address it in the foreseeable future. If you disagree and feel that this issue is crucial: we are happy to listen and to reconsider.
If you wonder what we are up to, please see our roadmap and issue reporting guidelines.
Thanks for your understanding, and happy coding!


Sweeping non-moving objects

The annotated source says "If the sweep isn’t actually moving anywhere, just do a static test. It’s faster and will give us a better result for that case."
and then the code goes on to show:
    if delta.x == 0 and delta.y == 0
      sweep.pos.x = box.pos.x
      sweep.pos.y = box.pos.y
      sweep.hit = this.intersectAABB(box)
      if sweep.hit?
        sweep.time = sweep.hit.time = 0
      else
        sweep.time = 1

Shouldn't sweep.pos.x = box.pos.x actually be sweep.pos.x = this.pos.x? If the object isn't moving, why would the position be the object you are colliding with?
(BTW, this has been a great resource! I've ported it more or less directly to a single C header file along with the tests: https://github.com/sponge/sdlgame/blob/master/src/sweep.h it mostly seems to be working besides a couple of weird edge cases that I'm not sure are my fault or are present in the original. I won't make any claims about how good my C is, though!)

@sponge First, apologies for taking so long to respond!
The sweep in this case is representative of the movement of "box", not of "this". That is, it's intersecting the movement of "box" into a static "this", and the sweep object is capturing the result of that movement.
In the case of a movement where delta x and y are both zero, the sweep is starting at the box's start position and moving nowhere. The box is sitting where it started and not progressing at all, and the sweep time is just a boolean indicating whether it hit anything.

No worries, and I had forgotten about this issue myself! I did indeed have the concept of which box was which messed up, and forgot to close this here :)


Is request access currently not accepted?

Some users submit request access, but have not accepted for a long time. If request access is not  currently accepted, this should be shown on important section.

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

ID: 889b34f3-060f-4507-32db-63d5a33cfd4c
Version Independent ID: 74032f30-05bd-ea1f-4504-3444ba065c8b
Content: Install and run containers - FACE API - Azure Cognitive Services
Content Source: articles/cognitive-services/Face/face-how-to-install-containers.md
Service: cognitive-services
Sub-service: face-api
GitHub Login: @IEvangelist
Microsoft Alias: dapine

@yuharucan Could you please confirm if you are using an email address associated with either a Microsoft Account (MSA) or an Azure Active Directory (Azure AD) account in the form.
Currently access to the containers is private and the request is directly sent to our product team for evaluation. If the request is accepted email with details are sent to the user. We will check internally if the team is still accepting requests and update the document. Thanks for pointing this out.

I appreciate your great help.
Yes, we used MSA and Azure AD accounts.

Hi @yuharucan,
Thank you for raising this question here, much appreciated. I just spoke with the teams and they are in active conversation about this concern. They are making final decisions about the request process but do not yet have final answers. They mentioned that next week they should have a conclusion and we'll share that here and update the docs accordingly.
With that said, I would like to apologize on their behalf for being unresponsive. We appreciate your continued patience.

Hi @yuharucan,
I wanted to let you know that we're still working on this... sorry for the delay.

This has been identified as a product issue, not a doc bug or enhancement.
We want you to get an answer as quickly as possible so, please take a look at this document and post your issue to the relevant forum.
#please-close


Unable to set custom headers when sending POCO

Currently you cannot return an object of type T if you want to set user properties. It would be ideal if you could use the automatic serialisation implemented here and also set the user properties by optionally providing a Dictionary<string, object>.

Label prediction was below confidence level 0.6 for Model:ServiceLabels: 'Azure.Core:0.15911356,Service Bus:0.099675775,Search:0.055200864'

Label prediction was below confidence level 0.6 for Model:ServiceLabels: 'Azure.Core:0.15911356,Service Bus:0.099675775,Search:0.055200864'

//fyi:  @JoshLove-msft

Hi @RiverPhillips, we deeply appreciate your input into this project. Regrettably, this issue has remained inactive for over 2 years, leading us to the decision to close it. We've implemented this policy to maintain the relevance of our issue queue and facilitate easier navigation for new contributors. If you still believe this topic requires attention, please feel free to create a new issue, referencing this one. Thank you for your understanding and ongoing support.


[WIP] Fetch events and logs from functional tests [skip ci]

Not yet done, but it already fetches logs and events.
Missing:

Consistent log formatting
Sorting logs according to time stamp
Fetching logs from kube-system components

/cc @admiyo @stu-gott FYI

@rmohr where do we stand here?

retest this please

@admiyo added everything I have.

as per #529, each container's log can be scraped from /var/log/containers in our vagrant test setup.
I'm closing this PR for now. Feel free to re-open later if necessary.


[Feature] Adds sortWith, ascend, descend

What difference of sort and sortWith? Both seems to accept comparator function.

@Nodonisko https://github.com/mobily/ts-belt/issues/45


fix:Checking if file size is too big

This warns the user when the upload fails because it is too big. I added a check so that the user will know why the upload failed.
Fixes:
issue fixed #21978.

Screenshots and screen captures:
Before

After

Self-review checklist

[x] Self-reviewed the changes for clarity and maintainability
(variable names, code reuse, readability, etc.).

Communicate decisions, questions, and potential concerns.

[ ] Explains differences from previous plans (e.g., issue description).
[x] Highlights technical choices and bugs encountered.
[ ] Calls out remaining decisions and concerns.
[ ] Automated tests verify logic where appropriate.

Individual commits are ready for review (see commit discipline).

[x] Each commit is a coherent idea.
[x] Commit message(s) explain reasoning and motivation for changes.

Completed manual review and testing of the following:

[x] Visual appearance of the changes.
[x] Responsiveness and internationalization.
[x] Strings and tooltips.
[x] End-to-end functionality of buttons, interactions and flows.
[x] Corner cases, error conditions, and easily imagined bugs.

@IvanToy thanks for working on this! Please read https://zulip.readthedocs.io/en/latest/contributing/version-control.html#commit-discipline for improving your commit messages. You need to squash all your commits.

@amanagr I fixed commits.

@timabbott could you take a look at this PR? The current behavior is definitely problematic; I'm not sure if it's a recent regression.

Hm, when testing this on dev, I got an "An unknown error occurred." message for uploading a 17 mb file. Why would that be?

The error message should make it clear why the file size is a problem. Let's change it to something like: "This file exceeds the attachment size limit. Maximum file size: X"

It would be nice if the user knows what the maximum file size is. Else they keep trying. Maximum file size should be loaded from the config of course. Don't hardcode it :)

Someone else will have to follow up with a full code review; I can only comment on the UX.

I added file name to the error message so that when multiply files are being uploaded it would be clear which file exceeds the limit. I also found that file size limit is set in zporject/default_settings.py on line 142 and zporject/prod_settings_template.py on line 731 and it is set to 25 mb in both files.
Example:

I would like to see MiB instead of mib if it is possible, but the warning seems nice already.

Cool, thanks! @amanagr do you want to take another look?

 Can you please improve your commit message as stated above https://github.com/zulip/zulip/pull/22003#issuecomment-1123128907?

@amanagr I fixed commit message.

@amanagr is this ready for a review from @timabbott ?

LGTM, I don't see any requests in the network tab for large file uploads.

OK @alya, this should be ready aside from finalizing the string. The current version is this:
"%'{file}' exceeds maximum allowed size of {variable} MiB."

Using the language from https://zulip.com/help/share-and-upload-files, how about:

%'{file}' exceeds the maximum file size for attachments ({variable} MB).

Changed and merged. Thanks for doing this @IvanToy!

Finally :)

@timabbott  I'm glad I was able to help!


[Question] Algorithm / Parameters for Ant Maze

Question
I tried hard to train an agent to solve any of the AntMaze environments. I tried the stable baselines 3 implementations of SAC (dense and sparse) and PPO, but could not solve even a small open AntMaze environment. I tried random goal and starting position and fixed positions. Has anyone successfully trained an agent one of the maze envs so far? If so what were the parameters and algorithm used, and which variant of the environment?
What happens a lot in my case is that the Ant flips upside-down. It cannot walk on its "elbows" in that position, so that it remains stuck.
Thanks a lot!
Manfred (Hamburg University of Technology, Germany)

Hey,
it sounds like your agent is incapable of locomotion, can you solve PointEnv?, can you locomote the Ant environment by itself?
@rodrigodelazcano may know which algorithms can solve it

Hi,
yes, PointMaze solves really well.
However, I have to add that I changed the reward a bit. I remember that SAC with sparse rewards and HER went really well with the Ant4Rooms environment as in the hierarchical actor-critic paper by Levy et al https://www.youtube.com/watch?v=TY3gr4SRmPk&ab_channel=AndrewLevy
This was originally for hierarchical actor-critic but went fine without hierarcical approaches. There, the reward was from -1 (goal not reached) to 0 (goal reached).
After I found that your original version of AntMaze with the original reward function did not work with SAC, no matter if sparse or dense rewards, I tried the reward [-1,0], but without improvement. Also, I played around with continuing_task and reset_target parameters, etc. no success in any configuration. I usually stop training after 500k steps, which should be more than sufficient.
My team's general goal is to add a working config for AntMaze to our Scilab-RL framework you can find here: https://scilab-rl.github.io/Scilab-RL/
Any hint is appreciated!
Best, Manfred!
M,

Oh, and yes, the locomotion itself works. At least, sometimes, and only until it flips over.
Here are some videos:
https://api.wandb.ai/links/manfred-eppe/avqvho1o

Hey, I am familiar with this trained locomotion behavior of the Ant model from the Gymnasium/MuJoCo/Ant environment (also happens to other quadrupeds robots, from my testing)
Where:

the Ant falls over
the Ant Jumps really high and fails to land back on its feet

This was addressed in Gymnasium/MuJoCo/Ant environment by adding the healthy_z_range behavior, which adds a negative reward and terminated the environment when the ant falls over or jumps really high.
https://gymnasium.farama.org/main/environments/mujoco/ant/#termination
You could try implementing that by creating a wrapper or forking the environment class.

You could also check minari's datasets


No way to exit on Ubuntu with Gnome Shell

Checklist:

[×] I have checked that there are no issues with similar or the same content
[×] I have checked the FAQ (https://github.com/MarshallOfSound/Google-Play-Music-Desktop-Player-UNOFFICIAL-/wiki/FAQ) and the answer I am looking for is not there
[×] I have double checked and can reproduce the issue

OS: Ubuntu 18.10
GPMDP Version: 4.6.1 (snap)
Issue Description: GPMDP is left running in the background after closing the window.  There is no way that I can find to actually exit the application other than manually killing the parent PID.  Whether closing the window using the native window controls, or right clicking on the dock icon and choosing "Quit," I can see the minimize animation, but the app icon disappears from the dock.  There is no tray icon visible.  I never even tried to log in.
Steps to Reproduce:

Install GPMDP: snap install google-play-music-desktop-player
Open GPMDP
Try to quit GPMDP

If I run with XDG_CURRENT_DESKTOP=Unity, then I get an invisible tray icon, and from there I can actually open Desktop Settings and disable "Minimize to Tray".  From this point, future launches (even without changing XDG_CURRENT_DESKTOP) exit successfully.
This is a known, long-standing bug with Electron apps (#3133, electron/electron#10427), so maybe you need some type of work-around for GNOME Shell like I see you're doing for i3 since it seems like this isn't going to be fixed any time soon.
Also note that "Invert Tray Icon Color" has no effect.  Even after a restart, the icon is still invisible.

This should either be tracked in the Electron issue you linked or you can use the work around detailed in #3133


Improving the README.md.

Fixes #55
Restructured the readme.

Can we add more details around here. examples -> 1, 2

Should I add the description of Harbor in the Harbor CLI project or refer to the Harbor repo?

Hey @muaz-32 You may take a look in this PR #62 ! As it will create conflict of effort, so we can collaborate in one

Sure. I have no problem. @amands98 what's your suggestion?

Work together to solve the problem.

Work together to solve the problem.

To collaborate in one on which branch of which repo should I make the PR? or where @bishal7679 should make the PR?


Remove graph mapper getInstance()

Closes #46
@sshepel

see, this one got merged automatically since it was literally the same commit hash


Add [[Phishing]] #malicious GCS4EM…YFHHRF

Address: GCS4EM4GLHW64L5HJU6PLMZ2KFER6LRBJWOXKRCHTAPAOUTN2VYFHHRF
Tags: malicious
Title: [Phishing]
Requested by @c0x41lch0x41

Address used to disperse funds from phishing attack. Original addresses are GDLUDZY2M5AB3XQNADDHK43ZFXIJUECOLF2Y2AMKGISYBZHGAQ5EW7QT and GD3EF272CQAA4QJPOGT7RJOVDVRPWVG42TTNHKAAXMRVZBOYI3EJDFHH

@C0x41lch0x41
Please continue discussion on original posting on similar types of problems. Please supply any supporting information about these most likely fradulent accounts and activities. Facts need to be supplied to enable flagging a fradulent address.
https://github.com/stellar-expert/public-directory/issues/202


Package isn't working with IOS 14.5

I'm currently develop a telegram mini app and implement this package. But it isn't working with iphone has IOS ver 14.5
Anyone know how to fix this?

Hi @duongmanhhoang, could you share where you are getting the error and what kind of error are you getting?

Hi @duongmanhhoang, could you share where you are getting the error and what kind of error are you getting?

I enabled debug but I don't see any errors being thrown and my component can't display anything. However, when I checked with an iPhone of the same model and iOS version 17, everything works fine.
Ah, and i am using nextjs 14


LSP-provided Routeboost

CLN has a haha-only-serious concept called "routeboost".  Basically, for every invoice CLN issues, CLN will check which of its channels can fit the invoice amount and adds it as the routehint for the invoice.  The idea is that the routehint gives a hint to the payer for at least one channel that the CLN receiver knows is going to be able to receive the invoice.
(In actual implementation, CLN round-robins its channels, and puts the channel which has sufficient inbound capacity to receive an invoice as the routehint in the invoice)
A client will usually have just one LSP, and even if it has multiple LSPs, can already know which one has a channel that can best receive a payment.  The question now is, how can the payer best reach the LSP itself?  Thus, it might be good to have the LSP also provide a way for the client to ask, "hey, I am expecting an inbound payment of size N millisatoshis, what is the best way for the payer to reach your node?"  The LSP can then check for channels that still have inbound capacity, to assist the payer in delivering the payment to the LSP so that the LSP can then deliver to the client.
Open questions:

How do we prevent the client from turning this into a free probe of how much capacity the LSP has?  Note: if the LSP does not rate-limit this query then even randomizing channels may not be enough as the client may just apply statistics on multiple calls to such a query.

In addition to allowing the client to ask "how can I best receive via your node?" we can also add an API to the same LSPS that allows the client to ask "how can I best send via your node?" so that the LSP can continuously probe its peers for how reliable they are at getting payments out to the world, then feed that data to clients that are willing to trust the say-so of the LSP.  This is somewhat incentive-compatible as the LSP gets paid on successful routing of payment to/from the client, so it should honestly report the best way for the client to send/receive payments.


Foodcritic triggers FC120 syntax check failure

Cookbook version
7.5.0
Chef-client version
ChefDK
Platform Details
N/A
Scenario:
When using the aws_ssm_parameter_store resource and then running foodcritic it triggers a syntax check failure
Steps to Reproduce:
Run delivery local syntax or foodcritic .
Expected Result:
Running Syntax Phase
Checking 12 files
............

Actual Result:
Running Syntax Phase
Checking 12 files
......x.....
FC120: Do not set the name property directly on a resource: ./recipes/default.rb:11

This should be cleaned up in #357


when i execute dep int  in windows 10?

when i execute dep int  in windows 10..
goroutine 1 [running]:
github.com/golang/dep/internal/gps.(*metrics).push(0x0, 0x8a0627, 0xb)
        E:/gocode/src/github.com/golang/dep/internal/gps/metrics.go:33 +0x3e
github.com/golang/dep/internal/gps.versionUnifier.intersect(0xa83ec0, 0xc0426be3c0, 0x0, 0xc0423d29a0, 0x1a, 0x0, 0x0, 0xa829a0, 0xc0422baaa0, 0xa82b20, ...)
        E:/gocode/src/github.com/golang/dep/internal/gps/version_unifier.go:119 +0xcf
github.com/golang/dep/internal/gps.(*selection).getConstraint(0xc0424cd200, 0xc0423d29a0, 0x1a, 0x0, 0x0, 0xc0424e8801, 0x49aed9)
        E:/gocode/src/github.com/golang/dep/internal/gps/selection.go:131 +0x1aa
github.com/golang/dep/internal/gps.(*solver).getLockVersionIfValid(0xc042258d80, 0xc0423d29a0, 0x1a, 0x0, 0x0, 0x1, 0x0, 0x0, 0x1)
        E:/gocode/src/github.com/golang/dep/internal/gps/solver.go:925 +0x1b3
github.com/golang/dep/internal/gps.(*solver).createVersionQueue(0xc042258d80, 0xc0423d29a0, 0x1a, 0x0, 0x0, 0xc04247e210, 0x1, 0x1, 0x0, 0x0, ...)
        E:/gocode/src/github.com/golang/dep/internal/gps/solver.go:745 +0xcf7
github.com/golang/dep/internal/gps.(*solver).solve(0xc042258d80, 0x0, 0x0, 0xc0426be330)
        E:/gocode/src/github.com/golang/dep/internal/gps/solver.go:449 +0x478
github.com/golang/dep/internal/gps.(*solver).Solve(0xc042258d80, 0x12, 0xa7ec80, 0xacd188, 0xc04211bb4e)
        E:/gocode/src/github.com/golang/dep/internal/gps/solver.go:399 +0xb2
main.(*initCommand).Run(0xc0421473da, 0xc042127900, 0xc0420583e0, 0x0, 0x0, 0x0, 0x0)
        E:/gocode/src/github.com/golang/dep/cmd/dep/init.go:185 +0xe8b
main.(*Config).Run(0xc042041260, 0xc042041260)
        E:/gocode/src/github.com/golang/dep/cmd/dep/main.go:160 +0x89f
main.main()
        E:/gocode/src/github.com/golang/dep/cmd/dep/main.go:44 +0x25a

Thanks for posting a separate issue!
We've seen this once before, in #474, not on a windows system. The issue went away there, and I was never able to replicate.
I have to imagine this is some kind of issue with an out-of-order assignment of a value, as the solver avoids pointers in some areas. Because otherwise...this is just weird.

Oh. derp. Yes, that's exactly what it is.

thanks~


Add feathercoin.ch DNS seeds

0.16 has seeds on the new pchMessageStart only, hence there's a subset of all the seeders available.

Not sure what you mean, but we should agree on the set of seeds we will maintain.
Currentlzy we also have dnssed.feathercoin.com and dnsseed1.feathercoin.com in addition to the one in this pull request

The 0.9 client has the same pchMessageStart as Litecoin, this was changed in 0.13 which supported new and old. The 0.16 release is on the new pchMessageStart and cannot connect directly to 0.9 clients. The seeder software connects to the network using the pchMessageStart. I have now updated the seeder software to use the new pchMessageStart and have updated the three seeders defined in the 0.16 release.
The updated seeders do not see 0.9 clients and the old seeders will not see 0.16 client. Considering this it does not make sense to me to add seeders with the old pchMessageStart to this release if they cannot see them. Either we update the seeder software to support dual magic numbers or we keep seeders separate.
There are three seeders defined in 0.16.
dnsseed.feathercoin.com
dnsseed.alltheco.in
dnsseed.bushstar.co.uk


Numbers in meta data with leading '0'

Hi,
I've an issue with zip codes starting with '0'.
The example below shows you a meta data block for the company address (for rich snippets).
I'm not sure what happens here, but it looks like a conversion from decimal to octal or something like that.
The zip code '09111' will be converted to '73', '09112' will be '74', '01099' to '8', and '01097' to '71'
Dump:
  ["test"]=>
  array(10) {
    ["id"]=>
    string(8) "test"

    [...snip...]

    ["raw_content"]=>
    string(905) "---
Title: Test
Description: seo description
Author: icro
Date: 2017/06/08
Robots: noindex, nofollow
Template: index
Position: 20
__companyStreetAddress: Foostreet 123
__companyPostalCode: 09111
---

#Hello World

"
    ["meta"]=>
    array(23) {

      [...snip...]

      ["__companypostalcode"]=>
      int(73)

      [...snip...]

    }
  }

Kind regards,
icro

Pico uses Symfony YAML to parse the YAML frontmatter and follows the YAML standard pretty strictly. Numeric values might get interpreted as octal. Postal codes are numeric strings, so you should explicitly tell Symfony YAML to interpret it as string to avoid false assumptions by the YAML parser:
__companyPostalCode: "09111"

Thanks for your reply. I've changed it.


chore: make the 'fixes' test case insensitive

What this PR solves / how to test
I had the PR description check failed because I typed "Fixes n/a" instead of "Fixes N/A"
It should be ok to make this check case insensitive.
Fixes N/A
Author has addressed the following

Tests

[x] TODO (before merge)
[ ] Tests included
[X] Tests not necessary because: trivial change

E2E Tests CI Job required? (Use "e2e" label or ask maintainer to run separately)

[ ] I don't know
[ ] Required
[X] Not required because: CI change

Changeset (Changeset guidelines)

[x] TODO (before merge)
[ ] Changeset included
[X] Changeset not necessary because: CI minor tweak

Public documentation

[x] TODO (before merge)
[ ] Cloudflare docs PR(s):
[X] Documentation not necessary because: CI

While we're here, should we just remove this check entirely? I'm not sure what the benefit to having it is.
We can leave Fixes #etc.  in the template to nudge people into including it, but the check is just a bit annoying 😅
cc @penalosa

Yeah, that makes sense—we're ending up with a lot of Fixes N/A in PRs, which isn't all that useful. Let's remove this entirely.

Thanks for the feedback, I'll update the PR


Add maven jetty:plugin, update doc

Add maven jetty:plugin to run a local Web container with the simple echo service
Update README doc to run the project locally

I'll merge this, but in the future would it be possible to not reformat the pom.xml file when you make changes.  When doing that the result is that github thinks the entire file was changed.  So I can't actually see what changes you made.
There's also a typo in the readme:  "Localy" should be "Locally".


Revert changes made to findup-sync during refactoring

Now that TS propertly supports module targets.
@alexeagle needs this for angular licensing reasons.

LGTM

👍


Lambda was unable to configure your environment variables because the environment variables you have provided exceeded the 4KB limit.

12:46:25 AM | UPDATE_FAILED        | AWS::Lambda::Function                       | ChatBotApiRestApiG...ApiHandler140797C1
1 validation error detected: Value 'Lambda was unable to configure your environment variables because the environment variables you have provided exceeded the 4KB limit.

After the 2 latest commits of 05f2b75611318d7978e781f19d2cd9badde08dae and 198bf5fa42308953891b33e00a6378686ea574c4 https://github.com/aws-samples/aws-genai-llm-chatbot/pull/578 and https://github.com/aws-samples/aws-genai-llm-chatbot/pull/581, I started to encounter this error when I deploy CDK

Might need to start using Parameter Store to store and access these env vars

Likely related to https://github.com/aws-samples/aws-genai-llm-chatbot/commit/05f2b75611318d7978e781f19d2cd9badde08dae#diff-07e07c5729f4979449d5393179aafa12da09ae153006a131d371faa58d674a60R79 @charles-marion

Hi @jarrettyeo , thank you for noticing the issue.
Please use the previous commit if you are blocked. I will look into it.


#292 - fix template name when created from map selection

See #292 - fix for if favorite created from map selection, it resulted in bad template name

This might need some more work. I do see that we are now adding some points with names; however, I am not sure what name we are using for points. My testing included control measures, bathy points and units. It is hard to understand the name that was used in reference to the labels shown in the Military Symbol Editor add-in.
We need to understand what name we should be using:

Here is an example that has confused me.
The standard has this named:
Sonobuoy  213500 as the entity type. I feel like that is what the feature template should be named. If I am missing something please share. FYI @kgonzago @dfoll @lfunkhouser

@topowright - the issue that I understood in #292 and that was addressed in this PR is that templates created from a map selection had an incorrect name ("MAP_SELECTION") when a template was created.
The issue you mention may be about the symbol naming in the styles and addin and layer packages in general.
These names come from the last tag in the symbol in the style. The naming convention and this tag was created when the styles were created and have this general format (and are derived from TABLE A-XXX in the standard):
For the symbol above: 25-213504
Entity : Entity Type : Entity Subtype
Maritime Control Points : Sonobuoy : Bathythermograph Transmitting
I do see that the templates in the Military Overlay Layer Package use 2 different conventions, the convention above for everything except control measures and just the Entity Subtype for Control Measures.


handle indexes

A pandas dataframe has an index, which we simply ignore for now. Suggest a "with index" option on write, which puts the index into a column. Also should check is_monotonic_[in/de]creasing on each column, including the index, and note this sorting in the metadata.
On load enable choice of index: a specific column, a numeric index, or any sorted index, if present. Whether a column is sorted should show up in the ParquetFile instance, to enable the user's choice.
For loading with dask, if the index is a sorted column or numeric index, can fill in the partition divisions. (also, we don't set the numeric index offsets in each partition, they all start at 0, which is not an important problem, but still inconsistent)

On a separate but connected issue, loading partitioned datasets currently just adds categorical columns for each partition key, but it could be a hierarchical index; conversely, writing to partitions could be done via groupby or by requiring a hierarchical index (or both).

So on the Pandas-only side we might establish a convention like the following:

If the index has a name, use that name, otherwise, use 'index'
While this name conflicts with any other column, prefix it with 'index-'

In the common case this convention is not particularly opinionated.  However, it also appears that we can add sorted column metadata, both on the file level and the rowgroup level.  In the case of a sorted index (common) this might help to serve as another cue.
On the dask.dataframe side I'm curious where we can set metadata for a column being sorted.  There appears to be a SortingColumn struct in the thrift file.  Where can we set this?

I agree on the naming when making an index into a column for saving, although we should also have the option to just drop the index. If saving an index, we can check if it is sorted, or ask the user to specify if it is (checking for sorting might be slow for dask-dataframes, and the information should already be known).
Sorting is done per row_group, but we also have the min/max in the column stats per row_group. So on load you would require a column that is the first sorting column in every row_group, and whose min/max form a progression, in order to consider it as a sorted index.

Where in this codebase should we set that information?

In writer.make_row_group, we create the RowGroup structure that would hold sorting information. You would need
rg.sorting_columns = parquet_thrift.SortingStructure(index=<int>, descending=<True/False>, nulls_first=<True/False>)

and make sure that write_column in the block below gets called with the index (which maybe would need to be viewed as a Series to work).

OK, thanks for the pointer.  Are there good ways to test that what I'm doing is correct or do we just round trip things and check that the metadata is there?

Pretty much all my tests are roundtrip - the thrift library is strict about what sorts of information you can put where - but you can also check by loading through spark, where, maybe, the column will show up as sorted in the spark-dataframe schema. On the other hand, there are lots of things spark simply ignores...

OK, diving through the thrift definition file a bit:

FileMetaData contains
many RowGroups
each of which contain a list of SortingColumns and a list of ColumnChunks
each ColumnChunk contains a ColumnMetaData
each ColumnMetaData contains a Statistics
a Statistics contains a min/max/count/ndistinct
each SortingColumn contains an index of the column name and whether or not it is increasing or decreasing

Yes, quite right
https://github.com/Parquet/parquet-format has a diagram

@mrocklin , does #14 close this?

I wouldn't be surprised if we needed to revisit the issue in the future, but yes, lets close for now.


MAINT: Check against mne pip option

Related to https://github.com/mne-tools/mne-python/issues/11831. We should check that mne[test,test_extra,full,doc] is installed by our installer.
Will fail until https://github.com/mne-tools/mne-python/pull/12209 is merged, should say something like:
AssertionError: Unexpected unmet dependencies:
Sphinx-6.2.1
mne-bids-0.14.dev0
mne-connectivity-0.6.0.dev0
mne-gui-addons-0.2.0.dev9+gc245654
pydata-sphinx-theme-0.13.3
sphinx-gallery-0.15.dev0

The GHA build/test architecture had a couple big drawbacks:

The file was getting very long
All builds needed to complete before any tests were run

I thus refactored the action by:

Splitting build, test into build_macos, build_linux, build_windows, test_macos, test_linux, test_windows jobs.
Moving shell commands in building and testing to new tools/*.sh scripts
Removing the name: for any steps where it was obvious from the script name and/or action what was happening

This ends up with some redundancy, but the flow is much more readable (way fewer if clauses), and it ends up at about half the number of lines compared to before. And now if one build finishes first -- like the Linux one -- its tests can start running immediately for faster feedback.

@larsoner please go ahead if you're happy, I won't have time to review today

Linux tests completed before the macOS and Windows builds even completed :heart_eyes:


iOS App - Rare occasions it crashes

Being trying to figure this one out, but it is quite difficult to reproduce. After I have been taking pictures (150++ pictures) in our app for a few hours it crashes in some very rare occasions.
When this happens it crashes when the camera is being initalized.  I have tried to narrow down the issue, and I think it can be related to network / unstable internet connection ( very poor Wifi coverage, no 3G/4G network) as the crash happens when I enter the engine room of a vessel where there is almost no internet.
Any clues on what this can be? We do not use location on our images, so I assume this is disabled by default if not implemented?
Bug Information
IOSurface
IOSurfaceClientGetBaseAddress
AVFoundation
-[AVCapturePhoto fileDataRepresentationWithReplacementMetadata:replacementEmbeddedThumbnailPhotoFormat:replacementEmbeddedThumbnailPixelBuffer:replacementDepthData:]
CameraUI
-[CAMCameraViewController _clientPropertiesForStillImageWithURL:captureOrientation:previewSurface:previewOrientation:uniqueIdentifier:savedToPhotoLibrary:captureResult:]
CameraUI
-[CAMCameraViewController captureController:didGenerateStillImageCaptureResult:fromRequest:]
libdispatch.dylib
_dispatch_call_block_and_release
libdispatch.dylib
_dispatch_client_callout
libdispatch.dylib
_dispatch_queue_serial_drain$VARIANT$mp
libdispatch.dylib
_dispatch_queue_invoke$VARIANT$mp
libdispatch.dylib
_dispatch_root_queue_drain_deferred_wlh$VARIANT$mp
libdispatch.dylib
_dispatch_workloop_worker_thread$VARIANT$mp
libsystem_pthread.dylib
_pthread_wqthread
libsystem_pthread.dylib
start_wqthread

Version Number of Plugin: 3.1.3
Device Tested On: iPad Air 2
Simulator Tested On: N/A
Version of VS: Visual Studio for Mac 7.5 (Build 1254)
Version of Xamarin: Latest stable as of 2018-05-11
Versions of other things you are using:
### Steps to reproduce the Behavior
N/A
### Expected Behavior
Take picture and preview it.
### Actual Behavior
Crash
### Code snippet
				var fileName = Guid.NewGuid().ToString() + ".jpg"; 				var file = await CrossMedia.Current.TakePhotoAsync(new Plugin.Media.Abstractions.StoreCameraMediaOptions 				{ 					Directory = GlobalConstants.ImageDir, 					Name = fileName, 					CompressionQuality = 70, 					MaxWidthHeight = 1200, 					PhotoSize = Plugin.Media.Abstractions.PhotoSize.MaxWidthHeight, 					DefaultCamera = Plugin.Media.Abstractions.CameraDevice.Rear, 					SaveMetaData = false 				});
No stack trace, only crash report from App Center as shown above.
### Screenshots
N/A

I also have the same issue, here is stack trace.
Foundation.MonoTouchException: Objective-C exception thrown. Name: NSGenericException Reason: *** Collection <__NSArrayM: 0x1c0444230> was mutated while being enumerated. Native stack trace: 0 CoreFoundation 0x0000000183912da4 <redacted> + 252 1 libobjc.A.dylib 0x0000000182acc5ec objc_exception_throw + 56 2 CoreFoundation 0x00000001839123c0 <redacted> + 0 3 CameraUI 0x00000001a072e8f4 <redacted> + 480 4 CameraUI 0x00000001a072f394 <redacted> + 716 5 CoreFoundation 0x00000001838a4c3c <redacted> + 20 6 CoreFoundation 0x00000001838a41b8 <redacted> + 428 7 CoreFoundation 0x00000001838a3f14 <redacted> + 216 8 CoreFoundation 0x000000018392184c <redacted> + 1408 9 CoreFoundation 0x00000001837daf38 _CFXNotificationPost + 384 10 Foundation 0x000000018424bbbc <redacted> + 68 11 CameraUI 0x00000001a06e7220 <redacted> + 352 12 CameraUI 0x00000001a06e74c0 <redacted> + 412 13 Foundation 0x000000018435e0ec <redacted> + 340 14 CoreFoundation 0x00000001838bb404 <redacted> + 24 15 CoreFoundation 0x00000001838bac2c <redacted> + 276 16 CoreFoundation 0x00000001838b879c <redacted> + 1204 17 CoreFoundation 0x00000001837d8da8 CFRunLoopRunSpecific + 552 18 GraphicsServices 0x00000001857be020 GSEventRunModal + 100 19 UIKit 0x000000018d7f8758 UIApplicationMain + 236 20 Dispatch.iOS 0x0000000101bfd020 _ZN7plcrash2MS5async24dwarf_cfa_state_iteratorIyxE4nextEPjPNS1_28plcrash_dwarf_cfa_reg_rule_tEPy + 14730384 21 Dispatch.iOS 0x0000000101b7999c _ZN7plcrash2MS5async24dwarf_cfa_state_iteratorIyxE4nextEPjPNS1_28plcrash_dwarf_cfa_reg_rule_tEPy + 14192140 22 Dispatch.iOS 0x0000000101b7995c _ZN7plcrash2MS5async24dwarf_cfa_state_iteratorIyxE4nextEPjPNS1_28plcrash_dwarf_cfa_reg_rule_tEPy + 14192076 23 Dispatch.iOS 0x0000000100e1ebc0 _ZN7plcrash2MS5async24dwarf_cfa_state_iteratorIyxE4nextEPjPNS1_28plcrash_dwarf_cfa_reg_rule_tEPy + 188464 24 Dispatch.iOS 0x00000001010f4158 _ZN7plcrash2MS5async24dwarf_cfa_state_iteratorIyxE4nextEPjPNS1_28plcrash_dwarf_cfa_reg_rule_tEPy + 3159496 25 Dispatch.iOS 0x0000000102808e30 mono_pmip

I've also been running into this issue while running the 3.0.6 version of the Media plugin.  I'm curious if this issue is still present on later versions.  @seanyda What version of the plugin are you running?

This is something we struggle with as well. Something we have discovered when digging into the plugin code; if you set the UIImagePickerController property ShowCameraControls to false, we appear to not get any crashes at all.
This worked fine so long as you didn't want/need to show image previews, as some of our users requested. We then decided to allow users to pick between these modes, and as soon as we added the ability to set ShowCameraControls back to true (ie: show previews), the crashes started rolling in again.
This makes me think it may in fact be a Xamarin iOS issue since we're no longer using the plugin but instead rolled our own code  - and we still get these same crashes, but only if we set ShowCameraControls to true.

@pcampbell83 Where to set the ShowCameraControls to false in the code. I'm using MediaPlugin plugin


Exporting with NVENC encoding options crashes Studio

NVENC is not avaiable on Mac, Studio crashes when selecting these. They shouldn't show up where not available.

On Linux, where the encoding could potentially work, it also crashes, see report in https://github.com/stitchEm/stitchEm/issues/86#issuecomment-623941296

I should note that in Linux the crash occurred as soon as I clicked on the NVENC option in the dropdown. Before even trying to export.

The NVENC encoding feature was being developed for Vahana VR and doesn't have a UI in Studio yet. It shows up in Studio due to code sharing between Vahana VR and Studio, but it was never working. It will be disabled in the next Studio release (#95).


fix: bundled monitor content must be idempotent

fix #573
With this change, we effectively removed the date property which was set by the zip stream to always refer to the Unix epoch time instead of defaulting to current time in UTC which was causing the zipped contents to be changed everytime when we run push command.

Testing

Build the files, npm run build
Initialize a project - node dist/cli.js init dir
cd into dir and change the synthetics package to link to the current one. @elastic/synthetics: file:../ in package.json file.
Install the synthetics package to link - npm install
Run the push command - npm run push

:broken_heart: Build Failed

the below badges are clickable and redirect to their specific view in the CI or DOCS

Expand to view the summary

Build stats

Start Time: 2022-08-15T22:43:58.277+0000

Duration: 6 min 7 sec

Steps errors
Expand to view the steps failures

Checks linting

Took 0 min 4 sec . View more details here
Description: npm run-script lint

:robot: GitHub comments
To re-run your PR in the CI, just comment with:

/test : Re-trigger the build.

I just rebased on top of main to get the streaming changes. It could be related to that. Can you check it again?

I just rebased on top of main to get the streaming changes. It could be related to that. Can you check it again?

I think it was related to this, will let you know once I get another chance to test.


[Question] What is the icon?

I fricking love this extension. Most every user I've recommended it to is also totally stoked to see it!

I must know -- what's the icon?

Thx!

It's the tab from a Red Bull can, here's a link to the original flickr image I lifted it from :)
http://www.flickr.com/photos/renaissancechambara/3380657988/


🚀 Support MultiGPU/SiggleGPU in one base_trainer, Refactor project.

This PR include several changes:

[x] Support Single/Multi-GPU in GanBasedTrainer and Seq2SeqBasedTrainer.
[x] More abstract for BasedTrainer, now you only need override compile, compute_loss, generate_intermediate function for new models.
[x] All dataloader return dictionary with the key name match exactly with model input name.
[x] 20% training speed-up for Tacotron-2 with tensorflow 2.3.0rc1, change BatchNormalization to SyncBatchNormalization.
[x] Remove attention_mask for all model since we can compute it based on input_ids inside a function call.
[x] Change init learning_rate of melgan.stft and multiband_melgan to 0.0005, clip value for stft loss to prevent expoded/nan loss.
[x] Test training for tacotron-2 with multi-gpu.
[x] Test training melgan/melgan.stft/mb_melgan with multi-gpu.
[x] Test FastSpeech/FastSpeech2 with multi-gpu.
[x] CUDA_VISIBLE_DEVICES=0,1,2 to training with multi-gpu.
[x] Replace some typo on README.
[x] batch_size in config is batch_size for each GPU (replica), for multi-GPU a global_batch_size = batch_size * n_gpus.
[x] Test the code with Tensorflow 2.2.0 and Tensorflow 2.3.0rc1, Tensorflow_addons 0.9.1 and Tensorflow_addons 0.10.0.

@azraelkuan @l4zyf9x @MokkeMeguru PTAL before i merge it :)).


design and implement base structure of ui

as you know we want to implement new ui2 by angularjs.
ui should be designed by a metronic theme: http://www.keenthemes.com/preview/metronic/theme/admin_2_angularjs/
@kushaw, please let me know if any question.

@kushaw, you can find source of metronic theme from here: https://github.com/mikesmayer/metronic
you need to refine and polish this theme.
please ping me everytime you want to start this task.

@kushaw
I have created a separated directory in Angular-version branch called ui2.
you can see that here:
https://github.com/Heteroskedastic/Dr-referral-tracker/tree/Angular-version/static
in this "static" dir you have ui2 directory. then you should implement all angular application there in ui2. any new required libraries can be added in /static/js/ and any required css can be added in /static/css/ and any required fonts can be added in /static/fonts/ .
I have added some initial files there in ui2.

@kushaw, this is a wireframe for base structure of ui.

do we need to create this page from scratch or use the Matroni's angular theme from the UI(https://github.com/mikesmayer/metronic/ ......theme/templates/admin/angularjs/index.html) or we just need to create the body part as suggested in the above comment (wire-frame img)

@kushaw
the base structure of our page is "metronic" theme page(http://www.keenthemes.com/preview/metronic/theme/admin_2_angularjs/).
you should polish that page to be look like wireframe. indeed wireframe show you which component in metronic theme is required and which components should be dropped.

I had polished the UI and will commit ti tomorrow. after i complete the organization body part. and connect it with the "http://<IP_ADDRESS>/api/v1/organization/"
if i am going wrong any where please let me know.

great @kushaw
just FYI, we have merged Angular-version branch with master. then please do that steps but using master branch instead of Angular-version branch. now we work with master branch only.

I had committed issue No 82, however i am getting an error on the click of edit button check the attachment, can you check this if you have time i tried it a lot but could not crack. however trying to fix... for some reasons I had used the hard coded JSON for OrganizationsController.js I will change that.


support for self hosted PDS

Thank you for your contribution! I really appreciate the detailed information you provided in the README.

Wouldn't it be better to add this as an extra input in the popup so that users can change it without recompiling the extension locally?

can

Most issue would come with browser web stores and permissions. As we do not know user domains it would require use to ask user to provide permissions to access all pages.

Right. maybe dynamic/optional goat permission would work for this


Abbreviations for included builds referenced from command line

PR #14894 made tasks from included builds available to be called from command line.
Unfortunately you have to spell out the full included build name.
I'd have expected gradlew b-s:depe and gradlew bS:depe  to work, but I had to spell out build-src:depe to get it going.

This was intentional decision because of collisions between included build and subproject names. We can easily check for exact matches, but if we allow fuzzy matching, then more things become ambiguous and surprising.

This was intentional decision because of collisions between included build and subproject names. We can easily check for exact matches, but if we allow fuzzy matching, then more things become ambiguous and surprising.


Missing languages in VOD offline

Made this downloadable on web for UX https://app.bcc.media/episode/1859
Currently on the streaming there are both tradition and simplified chinese, but these languages are not there in the download setting
Re-exporting asset for episodeID 1859

Hi, there is missing languages (at least Chinese) in https://app.bcc.media/episode/1863 as well, could we have it re-exported?
https://mediabanken.brunstad.tv/item/VX-466550/?index=0&search_id=172449&parentPage=search


onNodeHandleMouseEnter and onNodeHandleMouseLeave

Please describe the feature that you want to propose
I can register a callback for onNodeMouseEnter and onNodeMouseLeave which is great. But when having multiple handles within that node, I want to highlight different parts of the graph depending on whether which handle the user hovers. But there is no callback available for hovering over a handle.
I propose to have two new callbacks available at the  component:

onNodeHandleMouseEnter
onNodeHandleMouseLeave

Or this something like this already available? Or is there a workaround to get this functionality?

You could simply wrap your handle in a div and bind mouse over event listeners on there.
<div
  onMouseEnter={() => console.log("mouseenter")}
  onMouseLeave={() => console.log("mouseleave")}
>
  <Handle
    type="target"
    position={targetPosition}
    isConnectable={isConnectable}
  />
</div>

This is already possible. You don't even have to wrap the handles, but you can pass the event handlers directly like:
<Handle
  type="target"
  position={Position.Top}
  onMouseEnter={onMouseEnter}
  onMouseLeave={onMouseLeave}
/>

https://codesandbox.io/s/condescending-yalow-3mnjnq?file=/src/CustomNode.tsx:535-607


feat(tier4_system_rviz_plugin): add parameter of max_line_text_num

Description
inserted a new line so that the text does not cover other visualization
before

after

Related links
Parent Issue:

Link

How was this PR tested?
Notes for reviewers
None.
Interface changes
None.

Effects on system behavior
None.

@kminoda
レビューよろしくお願いします

@kminoda
ping


suggest a possible solution to the problem

last night one of the members of the group where the bot is installed threw a very large text into the chat

after that esp8266 hung.  there is no way to check the console.  esp8266 also stopped sending information from sensors to the Internet.

passed the last information from the esp sensors before sending a large text to the chat
question: how to protect esp from large text messages in chat so that the bot skips them and does not process them?  especially messages in Cyrillic.

forgot to write.  esp continues to work and pings over the network.  but the loop function hung at some point

https://github.com/cotestatnt/AsyncTelegram2/blob/master/src/AsyncTelegram2.cpp#L218-L231
Is that section didn't run? @Demon-MC

I'm not sure about this yet.. is there any way in c++ code to set the maximum length of the received command message


Option for Ignoring Certificate in SMTP settings

Hi,
Just wondering if there any option to ignore self-signed certificate for SMTP server in SMTP settings?
Thanks.

Hi,
Can you please elaborate? Are you seeing any error messages related to the self-signed certificate?

Hi GemGeorge,
Actually i saw this error message from the application when i tried to verify Auto Mailbox Lookup.

Any suggestion to bypass this verification?

I can suggest only checking the certificate you use. If you like, you can discuss in discord.


After migration, failed to load markdown-it-admon plugin

Describe the bug
I use markdown-it-admon plugin to render admonitions like this:
!!! tip
    this is a tip

will be rendered like:

this has been worked at slidev v0.42.11. After upgrade slidev to 0.48.beta, I'll got errors like "  throw Error('Dynamic require of "' + x + '" is not supported');"
To Reproduce

install brand new slidev by npm init slidev@latest
install markdown-it-admon by npm i markdown-it-admon
put the following configure under project root, to load markdown-it-admon:

// vite.config.ts

edit slides.md as the following:

---
theme: seriph
class: text-center
title: Welcome to Slidev
---

!!! tip
    This is a admonition

start serving by npx slidev slides.md, it will reports:

added 1 package in 2m
(base) aaron:slidev aaronyang$ npx slidev slides.md
file:///Users/aaronyang/workspace/test/slidev/vite.config.ts.timestamp-1708566464370-0876d122192b4.mjs:6
  throw Error('Dynamic require of "' + x + '" is not supported');
        ^

Error: Dynamic require of "markdown-it-admon" is not supported
    at file:///Users/aaronyang/workspace/test/slidev/vite.config.ts.timestamp-1708566464370-0876d122192b4.mjs:6:9
    at Object.markdownItSetup (file:///Users/aaronyang/workspace/test/slidev/vite.config.ts.timestamp-1708566464370-0876d122192b4.mjs:30:16)
    at Object.markdownItSetup (file:///Users/aaronyang/workspace/test/slidev/node_modules/@slidev/cli/dist/chunk-U44GKKNH.mjs:3975:35)
    at createMarkdown (file:///Users/aaronyang/workspace/test/slidev/node_modules/unplugin-vue-markdown/dist/chunk-XC4FHL6S.js:144:17)
    at unpluginFactory (file:///Users/aaronyang/workspace/test/slidev/node_modules/unplugin-vue-markdown/dist/chunk-XC4FHL6S.js:314:25)
    at file:///Users/aaronyang/workspace/test/slidev/node_modules/unplugin/dist/index.mjs:1571:32
    at createMarkdownPlugin (file:///Users/aaronyang/workspace/test/slidev/node_modules/@slidev/cli/dist/chunk-U44GKKNH.mjs:3950:10)
    at async ViteSlidevPlugin (file:///Users/aaronyang/workspace/test/slidev/node_modules/@slidev/cli/dist/chunk-U44GKKNH.mjs:4230:26)
    at async createServer (file:///Users/aaronyang/workspace/test/slidev/node_modules/@slidev/cli/dist/chunk-CV7O37IO.mjs:41:11)
    at async initServer (file:///Users/aaronyang/workspace/test/slidev/node_modules/@slidev/cli/dist/cli.mjs:105:16)

I understand this may caused by so-called cjs to ems transition, but I don't understand how to workaround this, and markdown-it-admon has been released years ago, seems not maintained anymore.
Desktop (please complete the following information):

OS:
Browser:
Slidev version:

Could you provide the full vite.config.ts?

sorry, forgot to paste the content of vite config.
Attached pls find workable example, both 0.48 and 0.42 included.
Archive.zip
node_modules are stripped.
when you run npx slidev slides under 0.42 folder, you'll got:

run same cmd under 0.48 folder, you'll got:

sorry for not providing reproducible sample project at very first time. I'm so unfamiliar with web tech stack.
And thanks for handling this case!

Use ESM import statement to import the plugin:

// vite.config.ts

import MdItAdmon from 'markdown-it-admon';

...

        markdown: {
            /* markdown-it options */
            markdownItSetup(md) {
                /* custom markdown-it plugins */
                md.use(MdItAdmon);
            }
        }

Add /styles/index.ts with the following content:

import "markdown-it-admon/styles/admonition.css"

Verified.
I didn't know that I can use any name to carry what export from markdown-it-admon before. That's why I'm stuck.
Thanks again for working on my special case.