Random  tags and unformatting

Version
1.2.6
Test Environment
Google Chrome (latest version), Windows 10.
Current Behavior
When creating multiple line feeds (pressing ENTER twice or more) in the WYSIWYG editor, the editor creates
 tags.  These tags aren't a huge issue, but when removing one of them in the markdown editor, it seems to remove both of them -- making line editing incredibly cumbersome.
Also and probably more importantly, we've noticed that the above behavior will cause bold formatting to be escaped displaying **Some Bold Text** as opposed to Some Bold Text.
This is most noticeable when copying and pasting from Word docs, but the issue can also be created by hand just by using the WYSIWYG editor in this way.
Since the company I am working for expects its clients to not be markdown or HTML savvy, we would like them to be able to use the WYSIWYG editor without need for the mark down editor, but as it stands we need both so customers can do surgery on the markdown to fix any of these bizarre issues.
Expected Behavior
The expected behavior is to add normal line feeds (as per markdown specification) and not
 tags and also to respect any formatting after the line feeds without removing the formatting.

The best way to handle this is to add an option for "no html in markdown on import".  It looks like it's getting confused due to all the unnecessary HTML that's added.

@mdchaney the default sanitizer is always on. The issues are about TUI editor itself.

Random
 tags are not that much about HTML but about crappy whitespace handling.
Consider this HTML code placed on a random web page:

   I am a regular
   html paragraph.

When copied to WYSIWYG mode, TUI Editor will paste these line breaks inside the text node, too. The problem is markdown code will have convert line breaks into
 tags (because it uses GitHub-style line breaks and paragraphs). But WYSIWYG will show a regular text node without any visual issues until you reimport this content or switch to MD mode and back.
Formatting
This is simple, if you occasionally mark a word with a surrounding whitespace as bold/italic/whatever, it will break after reimporting or switching modes.
**this is a valid bold text**
**and this**

**   this is an invalid bold text, but TUI Editor WYSIWYG mode doesn't care    **
**meh **

In short, it all is a result of the poor architecture of TUI Editor that naively converts markdown and HTML back and forth, resulting in two weakly synced data sources. Because of that, and a tail of other quirks and poor API, I can't use this editor in production as these inconsistencies appear 100% of the time when used in real environments.

It also seems that when adding extra lines in WYSWIG mode, when you change to markdown mode, the  tags are shown which is not ideal.
WYSIWG mode:
Test

Test

Produces markdown:
Test

Test```

In markdown, line break is
 so when change to Markdown from Wysiwyg,
 could be inserted in Markdown. So the appearance
 is the right thing.
We need more investigate for formatting issue when word with a surrounding whitespace.

I am still facing this problem (with version 2.1.1) when hitting return twice, or hitting return after a heading. Is there any workaround I could use? editing the generated markdown solves the problem, but is not an optimal solution for the end-users.
Thanks for the help!

I hit this problem too. :/ on the other end, when we generate HTML again out of the markdown, we disallow all HTML blocks for safety. This makes it a bit difficult, as that removes all the s

I hit this problem too. :/ on the other end, when we generate HTML again out of the markdown, we disallow all HTML blocks for safety. This makes it a bit difficult, as that removes all the s

Oh I got the actual issue
it's because in wysiwyg, you allow multiple newlines, which is not possible to model with "pure" markdow.
so you add s to model that.
That's nice; but I would love to turn it off somehow :D

Oh I got the actual issue
it's because in wysiwyg, you allow multiple newlines, which is not possible to model with "pure" markdow.
so you add s to model that.
That's nice; but I would love to turn it off somehow :D

Same problem here. HTML is not part of Markdown. It’d be very nice if there was an option to disable this altogether.


Add benchmark for ShaderMask RasterCache

Benchmark for https://github.com/flutter/engine/pull/32027
A set of test data on Redmi Note 3 in profile mode is：

Benchmark A/B Test

═════════════════════════╡ ••• Final A/B results ••• ╞══════════════════════════

Score	Average A (noise)	Average B (noise)	Speed-up
average_frame_build_time_millis	2.25 (0.00%)	2.20 (0.00%)	1.02x
worst_frame_build_time_millis	4.23 (0.00%)	3.93 (0.00%)	1.08x
90th_percentile_frame_build_time_millis	3.02 (0.00%)	2.95 (0.00%)	1.02x
99th_percentile_frame_build_time_millis	4.05 (0.00%)	3.15 (0.00%)	1.29x
average_frame_rasterizer_time_millis	6.83 (0.00%)	3.22 (0.00%)	2.12x
worst_frame_rasterizer_time_millis	8.63 (0.00%)	5.22 (0.00%)	1.65x
90th_percentile_frame_rasterizer_time_millis	7.94 (0.00%)	3.72 (0.00%)	2.13x
99th_percentile_frame_rasterizer_time_millis	8.38 (0.00%)	4.46 (0.00%)	1.88x
average_layer_cache_count	0.00 (0.00%)	2.00 (0.00%)	0.00x
90th_percentile_layer_cache_count	0.00 (0.00%)	2.00 (0.00%)	0.00x
99th_percentile_layer_cache_count	0.00 (0.00%)	2.00 (0.00%)	0.00x
worst_layer_cache_count	0.00 (0.00%)	2.00 (0.00%)	0.00x
average_layer_cache_memory	0.00 (0.00%)	3.68 (0.00%)	0.00x
90th_percentile_layer_cache_memory	0.00 (0.00%)	3.68 (0.00%)	0.00x
99th_percentile_layer_cache_memory	0.00 (0.00%)	3.68 (0.00%)	0.00x
worst_layer_cache_memory	0.00 (0.00%)	3.68 (0.00%)	0.00x
average_picture_cache_count	2.00 (0.00%)	0.00 (0.00%)	Infinityx
90th_percentile_picture_cache_count	2.00 (0.00%)	0.00 (0.00%)	Infinityx
99th_percentile_picture_cache_count	2.00 (0.00%)	0.00 (0.00%)	Infinityx
worst_picture_cache_count	2.00 (0.00%)	0.00 (0.00%)	Infinityx
average_picture_cache_memory	3.67 (0.00%)	0.00 (0.00%)	Infinityx
90th_percentile_picture_cache_memory	3.67 (0.00%)	0.00 (0.00%)	Infinityx
99th_percentile_picture_cache_memory	3.67 (0.00%)	0.00 (0.00%)	Infinityx
worst_picture_cache_memory	3.67 (0.00%)	0.00 (0.00%)	Infinityx
new_gen_gc_count	0.00 (0.00%)	0.00 (0.00%)	NaNx
old_gen_gc_count	0.00 (0.00%)	0.00 (0.00%)	NaNx

Memory

NotCached

Cached

Associated with https://github.com/flutter/flutter/pull/99542
Pre-launch Checklist

[x] I read the Contributor Guide and followed the process outlined there for submitting PRs.
[x] I read the Tree Hygiene wiki page, which explains my responsibilities.
[x] I read and followed the Flutter Style Guide, including Features we expect every widget to implement.
[x] I signed the CLA.
[x] I listed at least one issue that this PR fixes in the description above.
[x] I updated/added relevant documentation (doc comments with ///).
[x] I added new tests to check the change I am making, or this PR is test-exempt.
[x] All existing and new tests are passing.

If you need help, consider asking for advice on the #hackers-new channel on Discord.

It looks like the PR needs to be rebased to solve some merge conflicts and you also seem to have an issue with the order of the imports in main.dart?

It looks like the PR needs to be rebased to solve some merge conflicts and you also seem to have an issue with the order of the imports in main.dart?

Yes, I have resolved the conflicts.


[AB#42664] Introduce generated permission-definition.json in media-service

Pull Request
Prerequisites

[ ] The PR is targeting the right branch (dev for features and master for
releases)
[ ] potential release notes to the PR description added
[ ] potential testing notes to the PR description added
[x] appropriate labels for the PR applied

Description
The media-service now contains a permission-definition.json file inside src/generated/security folder.

should we add something for the release notes? into this PR - https://github.com/Axinom/Navy/pull/386

Now the AxGuard plugin generates a permission-definition.json file that serializes the permission-definition of the service. This can be helpful when you need to perform out-of-band permission synchronization to the Mosaic ID Service before the service is started
See this PR https://github.com/Axinom/mosaic-media-template/pull/223 & Library Documentation for the change required on the custom-service, and see here on how to use this JSON file for out-of-band permission synchronization


refactor: add keepCurrentSession option for signUp()

What kind of change does this PR introduce?
Add a boolean variable named keepCurrentSession to signUp() function.
What is the current behavior?
Currently, there are not any options for developers to decide to keep or remove the current session after signing up.
What is the new behavior?
Developers can actively decide whether the session should be kept or reset after signing up.

Additional context
This idea was initiated when I'm building a system using Supabase where users with admin roles (store in public tables with UUID reference to the auth table) can create and manage other user account types (like staff, coordinator). However, when I use the signUp function in the Create New User page, the current session (admin) was removed and replaced by the credential of the new account.
It's somehow really annoying, and I think this refactoring doesn't cause any conflicts to other parts, so it only improves the flexibility of usage for developers. I hope this PR will be merged as soon as possible because I've been stuck for a long time in my project before deciding to create this PR. Many thanks, GoTrue Team!

This PR seems to introduce quite some complexity. With every additional setting the amount of test cases increases exponentially.
Even without this PR it is possible to sign up a user without changeing the local session.
The API is a public property of the client, so instead of supabase.auth.singUp({email, password}), you can just call supabase.auth.api.signUpWithEmail(email, password).
All the api methods you can find in here: https://github.com/supabase/gotrue-js/blob/master/src/GoTrueApi.ts

Thank you for your contribution. The API has advanced quite a bit, so please submit a new PR if you still want to see this.


how to measture a smplx body?

I have a smplx body. How can I obtain the parameters in YAML format? Using GarmentMeasurements isn't working for me.

@MontaEllis our automated measurement evaluation algorithms are designed for our custom statistical body model, shared in GarmentMeasurements
You can either use the bodies from our model or adapt the measurement evaluation code to work with SMPLX topology
If you only need the measurements for a handful of bodies, you can also evaluate them manually

All the code related to the body model is available in GarmentMeasurements


Add matrix based derivative calculation

Now it is extremely slowly to calculate derivatives due to indexed vector elements access in gradient calculator. Use the well known formula.

Done


mApoAgr2 EAR after revision

Updated mApoAgr2 report addressing the ERGA panel review process improvement suggestions.
Assembly review request
ToLID: mApoAgr2
Species: Apodemus agrarius
Project: ERGA-BGE
Affiliation: CNAG

Hi @fcamara7, please do not open a new pull request to address the reviewer's comments. Just update the one that is already open (#28).
Thanks ;)

No, the pull request needs to be updated. See this


ensure home directory exists

when REPO_DIR is set to a non-home dir, $HOME may not exist.
This can prevent the image from starting and various programs from running if $HOME isn't mounted as a volume. Further, intermediate build commands that might touch files in $HOME (even if they shouldn't). conda env update is currently unconditionally touching ~/.conda/environments.txt. This should be harmless, but currently fails because $HOME doesn't exist and cannot be created by the user.
cc @yuvipanda

@betatim incorporated your and my suggestion :)

This doesn't actually seem to fix the issue. Checking through still...

 I'm waiting for a test to run there...

Ah, yeah, this is probably partly our fault for running install-miniconda.bash with $HOME set to the user's home, when not running as the user. That's always a good thing to avoid, and I made sure $HOME is not set during install-miniconda.bash.


Use new docker-compose option to run as a specified user

Once https://github.com/docker/compose/commit/c23189a5faf0572157cecc17a9ef79789bb5822e lands in a release of docker-compose, we can refactor new.js to run docker-compose as the current user, rather than root.  The user option can then be removed from the docker-compose.yml template.

@IanVS I wonder if @kriswill new docker image https://github.com/artificialio/docker-sails/tree/master/nvm-iojs-latest would help with that as well. Any idea @kriswill ?

Yeah, if iojs isn't installed as root (like node was in the other image being used) that would help a lot.


[Feat]: Adding dark mode

Is there an existing issue for this?

[X] I have searched the existing issues

Feature Description
Hey  i think adding dark mode to the website would be beneficial.
Use Case
This will be enhancing the design of the website.
Benefits
Youth is inclined towards using websites that have dark mode.
Priority
Medium
Agreements

[X] I agree to follow this project's Code of Conduct
[X] I'm a GSSoC contributor
[X] I'm a Hacktoberfest contributor
[X] I want to work on this issue
[X] I'm willing to provide further clarification or assistance if needed.

@Tejashri-Taral assign me this!


Update syntax highlighting colors for docs

Hello!
Thank you for creating this great type library and the wonderful read-along! I have learned a lot about typescript from studying this library and I have become a huge advocate both for this library and stronger types in general within my team.
However, one somewhat minor issue I've struggled with here is reading the documentation online. I'm not sure if others have experienced this, but when I view the docs online at https://millsp.github.io/ts-toolbelt/ , I've found the examples to be very difficult to read due to the low contrast of the colors on more than one machine that I use regularly. I typically use an up-to-date install of mainline Google Chrome on MacOS using "Dark Mode" settings, and for me the code examples in the documentation are VERY difficult to read.
As far as I know, I don't have any particularly unusual local settings that would cause this, and I haven't had this issue with other docs or color schemes.
Here is a screenshot from my machine of the README page, both normal and selected. Other examples are similarly difficult for me to read.

Is there any chance of adopting an alternate color scheme?

This is the first time I know this library, after watching a Total Typescript video. And this is what I see in the website.

I see the same using Chrome 108, Firefox 107, and Firefox 108, all on Windows 10, everything set to Light Mode. Based on how the docs are generated, this is most likely an upstream problem with either typedoc or (more likely) the eledoc theme.
As a workaround, you can run the following snippet in your browser's developer console, which simply removes all the styles used for syntax highlighting.
document.querySelectorAll('code span').forEach((span) => span.removeAttribute('style'))

It needs run on every page, though, so you'll probably want to save it as a userscript for the site.

Possibly the worst documentation (in terms of readability) I have encountered on the internet.


Added TimeFormatter

Hello,
Here's my fast implementation for TimeFormatter since Cleave is still missing one.
Missing stuff: 12h format support, milliseconds (if even required?) + test cases.

Awesome, thanks @wex
Made a few changes:

Fix eslint error
Add tests
Change default pattern to ['h', 'm', 's']
Add doc


Sampling

For several use cases such as ML training, one or more sampling processes could be useful.
This came up in the discussions around #295
Related work:

https://eo-learn.readthedocs.io/en/latest/eolearn.geometry.sampling.html
https://developers.google.com/earth-engine/apidocs/ee-image-sample?hl=en

Alternative:

polygon_to_point?
#155

The sampling process could also allow to "extract" all the valid points setting a parameter. This would cover the case where we select some polygons (filter_spatial) and we want to keep all the pixels inside of them for training.
Some questions that come up in my mind:

Is the output a vector-cube?
Does it keep x,y information about the points or do we discard them?

The sampling will be performed using a new process called polygon_to_points:

polygon_to_points takes as input a geoJSON (or other supported formats, TBD) and returns the same structure with point coordinates
possible parameters are:

Sampling strategy: random, fibonacci, ...
Max number of points to extract
Other?

We still need to verify which name to choose, they should be somewhat aligned between vector processes.
Input should probably be GeoJSON or vector cube, as usual.
Would it be useful to also pass lines and get points for them or should this be purely polygon focused?
Sampling strategy could be a callback (so random and Fibonacci would be separate processes) or a given set of methods.

Sorry for being not so clear, with same structure I was referring to the geoJSON or vector-cube structure/data format, not the content itself.

Thanks for the clarification, @clausmichele.
I thought about basing percentages around the pixel centers. You should have a known number of pixels and could create a list of points for the pixel centers, right?

From the last meeting I understood that the process should take as input geometries (geoJSON) and output also geometries to be used in aggregate_spatial, that's why I firstly called it "polygon_to_points". The output would be a list of points which can be used in aggregate_spatial to create a vector-cube for training the ML model.
@mattia6690 @jdries can you comment on this? Do I remember correctly?

Ah, okay! Then I misunderstood or remembered incorrectly. I can change that. That makes the process simpler by only creating points from a shape without directly combining them with the values from the raster cube. That's also fine for me, just didn't fully understood the idea then. Stay tuned for an updated version... :-)

I've added another process vector_to_points to support the use case you have described. So depending on what we want, we can choose one of the processes in this PR and discard the other one. Or if both processes are potentially useful, merge both.
@clausmichele Is the new process okay for you?

From the last meeting I understood that the process should take as input geometries (geoJSON) and output also geometries to be used in aggregate_spatial, that's why I firstly called it "polygon_to_points". The output would be a list of points which can be used in aggregate_spatial to create a vector-cube for training the ML model.
@mattia6690 @jdries can you comment on this? Do I remember correctly?

I am working on an implementation of aggregate_spatial at EODC. Is there an example of aggregate_spatial being used with vector_to_random_points or vector_to_regular_points somewhere?

This is my implementation of it https://github.com/SARScripts/openeo_odc_driver/blob/d1383aa872bdef5a8bde37f5d48b1f7a56cdd57e/openeo_odc_driver.py#L566
There's a lot of room for improvements, the properties are not kept for example. I will provide you also an example using vector_to_*_points soon.

Thanks a lot, that's great! :)


fix(es/compat): transform logical and assignment (&&=) operator

Description:

BREAKING CHANGE:

Related issue (if exists):

fix #3224

Isn't the doc not up-to-date?
Currently, I haven't migrated from babel to swc due to this?
https://swc.rs/docs/migrating-from-babel

Yeah the doc is outdated

It's not stage 1

It's not stage 1

Is ✘ a correct status?
This is a very popular feature, if not being supported it should be prioritized.

No, it's already supported because it's not stage 1 anymore


Use LocationIndex to find all nearest nodes with a custom filter

I have written custom filters for use with finding the nearest node.   This can cause the search to have to be broadened significantly.  As such I had written a workaround for expanding the search to find the nearest node. Recently, something similar (for expanding the search) was built into the system. In upgrading my code, I've refactored to allow the use of this new system. However, it is a broken as far as I can tell. In particular, the part that returns early if a result was found.  This is currently line 742 of LocationIndexTree.
        if (iteration % 2 == 1)
        {
            // Check if something was found already...
            if (foundEntries.size() > 0)
            {
                double rMin = calculateRMin(queryLat, queryLon, iteration);
                double minDistance = calcMinDistance(queryLat, queryLon, foundEntries);

                if (minDistance < rMin)
                {   // resultEntries contains a nearest node for sure
                    break;
                } // else: continue an undetected nearer node may sit in a neighbouring tile.
                // Now calculate how far we have to look outside to find any hidden nearest nodes
                // and repeat whole process with wider search area until this distance is covered.
            }
        }

If I comment this out, it works fine again. It is always finding the same set of entries, but my filter is rejecting them over and over again. What I am doing is checking for nearest node which passes my filter. If none, I expand the search, which now means incrementing maxRegionSearch and trying again. And repeating this until I find something or I my search area becomes too large to manage (which doesn't happen but I still have a limit in case).
Can someone explain what this check and early exit from the iteration is doing?
Cheers,
Ken

Do you have an example where this fails?
See the discussion about these constants in #221, e.g. rMin is the radius to the rectangle and if that is bigger than ALL found entries we do not need the second iteration and it should be possible to leave earlier.

The problem is as I discussed about the filtering. It's not a question of does the expanded search find a node or not, it's does the expanded search find a node that passes my filter. Inside of findClosest the findNetworkEntries returns a set of node ids, then we loop through these nodes using the edge explorer and the supplied filter. The basic search does not find a node that passes my filter so findClosest returns a "null" QueryResult. If I try and expand the search further I still don't find my node because no matter what value of maxRegionSearch, findNetworkEntries returns the first set of nodes that it finds but I already know those don't pass my filter, so once again they don't pass my filter and I get a "null" result. Here is the code in my app that I use to wrap findClosest to get my result. I feel like this could be easily incorporated into LocationIndexTree itself if it makes sense to others. And then it would be clear that there is a link between the search and the filtering. I would be happy to write this up as a pull request if you agree.
private QueryResult findClosest( final LatLong pointLL,
                                 final Map<Integer, EdgeIteratorState> toVisit,
                                 final Collection<Integer> exceptions )
{
    EdgeIteratorState closestEdge = null;
    //
    // Never seen it go near 100 but that is the max I have set just in case something
    // were to go completely wrong.
    //
    int regionSize = MAX_REGION_SEARCH_DEFAULT;
    QueryResult closest = null;
    while ( closestEdge == null && regionSize < 100 ) {
        closest = _locationIndex.findClosest( pointLL.getLatitude(),
                                              pointLL.getLongitude(),
                                              new ToVisitEdgeFilter( toVisit,
                                                                     _edgeFilter,
                                                                     exceptions ) );
        closestEdge = closest.getClosestEdge();

        if ( closestEdge == null ) {
            regionSize += MAX_REGION_SEARCH_INCREMENT;
            _locationIndex.setMaxRegionSearch( regionSize );
        }
    }

    if ( regionSize > MAX_REGION_SEARCH_DEFAULT ) {
        if ( _debug ) {
            System.out.println( "Had to go to regionSize [" + regionSize + "] to find closest node." );
        }

        // reset for any other findClosest calls that might occur and for next time.
        _locationIndex.setMaxRegionSearch(MAX_REGION_SEARCH_DEFAULT);
    }

    return closest;
}

The lookup is just not designed for the purpose you are after I think. So if I understand this correctly this is not a bug, it is a feature request :) ? And yes, this would be nice to have! For that to work you would only need a boolean earlyTermination=false or something.

I think it's fine to have that boolean if that is the best solution we can
come up with but I would argue that it is actually a bug since the
filtering and the searching are combined in this function but are at odds
with each other. I will look at a sleaker solution and propose that.
On Wed Feb 04 2015 at 9:13:05 AM Peter<EMAIL_ADDRESS>wrote:

The lookup is just not designed for the purpose you are after I think. So
if I understand this correctly this is not a bug, it is a feature request
:) ? And yes, this would be nice to have! For that to work you would only
need a boolean earlyTermination=false or something.
—
Reply to this email directly or view it on GitHub
https://github.com/graphhopper/graphhopper/issues/317#issuecomment-72895593
.

Also, I just realized that the edgeFilter passed into findClosest is completely ignored. It uses the class level edge filter.

I have made pull request #318 to show what I would propose.

that it is actually a bug since the filtering and the searching are combined in this function

No, this is definitely not a bug. The sole purpose of the location index is to find ONE closest matching edge. Even my use case of map matching is misusage of the index and not really perfect. So, if we want to use the index for other purposes as well, we have to refactor :)

Peter, take a look at my pull request (#315). I think you'll see what I
mean. I too want ONE closest matching edge. And my code in this pull
request does just that. The code as is does not find me anything.
On Wed Feb 04 2015 at 1:12:27 PM Peter<EMAIL_ADDRESS>wrote:

that it is actually a bug since the filtering and the searching are
combined in this function
No, this is definitely not a bug. The sole purpose of the location index
is to find ONE closest matching edge. Even my use case of map matching
https://github.com/graphhopper/map-matching is misusage of the index
and not really perfect. So, if we want to use the index for other purposes
as well, we have to refactor :)
—
Reply to this email directly or view it on GitHub
https://github.com/graphhopper/graphhopper/issues/317#issuecomment-72940366
.

I've already commented (on #317) I need your use case

As discusses in #318 this is indeed a problem and needs to be fixed.

See https://github.com/graphhopper/graphhopper/pull/318#issuecomment-127329395


Update resvg.h for use with C++

Added extern "C" for use with C++

Agree. You should then remove this line:
https://github.com/RazrFalcon/resvg/blob/3c1adbd09942c0e6f4fd5c6efdba59f2782b1916/capi/include/ResvgQt.h#L18


Python3 support

There's one more change required for python3 support.. in excepthook:
title = traceback.format_exception_only(exc, colored_source)

That line crashes. If I remove that special case test.py still works fine, so I don't know what that is supposed to do.

I'm not seeing it crash using @paradoxxxzero's Python 3 support. Could you add some reproduction steps?

This should already be fixed by https://github.com/Qix-/better-exceptions/commit/4765a593c02ae3598d702c490fc28d279abf6c8e

Awesome, closing this unless @boxed says otherwise :) Thanks!

Great!

On 22 Mar 2017, at 17:21, Josh<EMAIL_ADDRESS>wrote:
Closed #3.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.


chore(dcos-ui): bump to v2.148.2

High-level description
What features does this change enable? What bugs does this change fix?
Bumps DC/OS UI to v2.148.2, which includes a bug fix for quota limit status display
Corresponding DC/OS tickets (required)

DCOS_OSS-5510 Quota enforced shows incorrectly for services that are not quota-enforced

Related tickets (optional)

Checklist for component/package updates:
If you are changing components or packages in DC/OS (e.g. you are bumping the sha or ref of anything underneath packages), then in addition to the above please also include:

[ ] Change log from the last version integrated (this should be a link to commits for easy verification and review): example
[ ] Included a test which will fail if code is reverted but test is not. If there is no test please explain.
[ ] Test Results: [link to CI job test results for component]
[ ] Code Coverage (if available): [link to code coverage report]

@mesosphere-mergebot label [Ready For Review]


Restore Marker texture behavior

Resolves #1712

Looks goods! - I need to fix my NDK setup to test this, clang can't compile it's test program oO..

LGTM, testing on android and merging.


Modernize hpx::future and related facilities

move future (and facilities) to namespace hpx
deprecate those types/functions in namespace hpx::lcos

Looks like one more lcos::future over here: https://cdash.cscs.ch/viewBuildError.php?buildid=198602. But let's get this in once CI is happy.

bors merge

bors merge


fix: correct small typos

source of confusion
the package is being installed

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

Thanks a lot for catching this @RafaelKr 🙌

@nikolasburk no problem these probably aren't the last ones I'll catch 😉
BTW, I already mentioned it in the photonjs repo (https://github.com/prisma/photonjs/pull/346), the CLA for prisma2 is also out of date, it's still about Graphcool.
https://cla-assistant.io/prisma/prisma2


Images not included

Images from plots created with Matplotlib and '%matplotlib inline' are not included in the generated documentation. I get warnings like
/home/jgosmann/Documents/projects/nengo_spa/docs/examples/vocabulary_casting.ipynb:: WARNING: image file not readable: examples/../_build/.doctrees/nbsphinx/examples_vocabulary_casting_7_1.png

even though the file reported an non-readable does exist and is readable.

This is with nbsphinx 0.3.1, sphinx 1.7.1, Matplotlib 2.1.0, and Python 3.6.1.

Can you please provide an example notebook?

Example notebook can be found in nengo/nengo_spa#68, in particular within this folder. Here is also the Sphinx configuration.

OK, thanks, I guess this is a duplicate of #49?

Oops, you're right! I thought I wasn't using any symbolic links, but I checked again and turns out I was.


Added support for webpack 4 & 3

Now dust-loader-complete will support both webpack 4 & 3.

[x] All test cases are passing

Due to webpack 4 breaking changes, this.options is deprecated. it's causing an issue with dust-loader-complete after upgrading to webpack 4.
More details: https://github.com/wombatsecurity/dust-loader-complete/issues/24

Thanks for the pull request! Could you update the devDependencies to support the latest version of webpack (and karma-webpack if necessary)?

Upgrade webpack version as intented.


Possibility of dropping NIOPOSIX?

Given the recommendation to not support Windows under NIOPOSIX, would it be possible to drop the NIOPOSIX dependency?  In particular, NIOHTTP1 drags in NIOPOSIX through NIO.  This prevents the ability to build anything that depends on NIO on Windows.

NIOHTTP1 doesn't actually import NIOPosix  (or NIO) and neither does NIOWebSocket. However, both still have a dependency on NIO because the had it before we split NIO into multiple products. Removing it now would be kind of a source breaking change. SwiftPM doesn't yet enforce that you only import products that you have defined as a dependency in your Package.swift (Swift 5.8 added a flag for it though: --explicit-target-dependency-import-check error). Therefore users could, and a lot do, implicitly depend on products being build implicitly through dependencies and removing any dependency of our targets is therefore a potential source breaking change.
(side note: if NIOWindows becomes a reality we should really drop the NIO umbrella in the next major: https://github.com/apple/swift-nio/issues/2327)
I think at the end we sill want that NIOPosix builds on Windows, similar to how nio-transport-services still builds on Linux. In nio-transport-services we have wrapped all code in #if canImport(Network). We could do something similar for NIOPosix. I would be interested in hearing what @lukasa has to say about it first though.

We can drop the NIOPosix imports for Windows because they never had them, so we can conditionalise those happily.

Yup, I'd also say we can #if !os(Windows) them, right?


Add custom scheme authentication

Purpose

$subject

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (1760b99) 26.43% compared to head (0d7f96d) 80.18%.
Report is 8 commits behind head on main.

Additional details and impacted files
@@             Coverage Diff             @@
##             main    #2005       +/-   ##
===========================================
+ Coverage   26.43%   80.18%   +53.74%
===========================================
  Files         124        9      -115
  Lines       14492      550    -13942
  Branches     2575      246     -2329
===========================================
- Hits         3831      441     -3390
+ Misses      10538      109    -10429
+ Partials      123        0      -123

Flag
Coverage Δ

idp-domain-service
80.18% <ø> (?)

Flags with carried forward coverage won't be shown. Click here to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Grammar fixes

Matches the longer expression first : && before & and !== before !=.

@long-lazuli thanks! :rose: The grammar files are auto generated : https://github.com/TypeStrong/atom-typescript/blob/master/docs/grammar.md Is this pulling stuff from upstream or did you do this locally here? :rose:

@basarat This reminds me, I should add a prefix to the grammar to explain this (also, add a timestamp for the last build time). I'll open another PR, but that's a heads up.

@basarat I'm sorry, I don't understand your question.
I edited the CSON files only, is it an acceptable answer ?
See here : https://github.com/TypeStrong/atom-typescript/pull/926/files

I created this PR : https://github.com/Microsoft/TypeScript-TmLanguage/pull/145
To be continued.

I created this PR : Microsoft/TypeScript-TmLanguage#145

@long-lazuli thanks! Feel free to send a new PR once / if that is merged :rose:


Update to use TypeScript 5.5 and enable isolatedDeclarations

Change Type (required)
Indicate the type of change your pull request is:

[ ] patch
[ ] minor
[ ] major
[x] N/A

Does your PR have any documentation updates?

[ ] Updated docs
[x] No Update needed
[ ] Unable to update docs

Release Notes
Update to use TypeScript 5.5 and enable isolatedDeclarations

besides the conflict this looks good 🚀🚀


Plugin is broken with SLS v1.92 update

Actual Behaviour
When running
sls dynamodb start --migrate
I get:

_.get(...).includes is not a function

Expected Behaviour
To run the local db server and migrate tables.
Steps to reproduce it
Using windows machine:

Upgrade SLS from 1.28 to v1.29.2
run sls dynamodb start --migrate

I got that too. I dug a bit through the code and fixed it by changing the way I had my plugins section of my serverless.yml file formatted.
Doesn't work:
plugins:
  modules:
    - serverless-dynamodb-local
    - serverless-offline

Works:
plugins:
  - serverless-dynamodb-local
  - serverless-offline

https://github.com/99xt/serverless-dynamodb-local/pull/222


Logit and Probit Regression missing

In the Readme, logit and probit regression are mentioned. But I find them nowhere in the code, only in the form of a comment mention in https://github.com/SciRuby/statsample/blob/master/lib/statsample/regression.rb#L18. Did they get lost, or are they still around somewhere?

They are in a separate gem statsample-glm.

Thanks, that should help. That isn't documented anywhere though, right? Are there plans to merge this, or interest in getting a proposal on how to mention that in the statsample readme? Given that the gem works for me.

It's going to remain a separate gem so that GLM methods remain abstracted. Will it be possible for you send a PR with updates to the statsample README? I'd be happy to merge it.


Added "confused_with" & confusion matrix to response selector evaluation

Proposed changes:

Similar to the intent evaluation reports, I added the "confused_with" attribute to the response_selection_report.json
Also similar to intent evaluation, I added a plot of the confusion matrix for response selection evaluation

Status (please check what you already did):

[x] added some tests for the functionality
[ ] updated the documentation
[x] updated the changelog (please check changelog for instructions)
[x] reformat files using black (please check Readme for instructions)

Thanks for submitting a pull request 🚀 @amn41 will take a look at it as soon as possible ✨

@amn41 Thanks for the approval. What are the next steps for being merged?


Added onRunTurn() method to MainDialog

This is a small DCR that was internally approved by @sgellock and others to address a pitfall in the new MainDialog class we added last week. The MainDialog class derives from ComponentDialog and this tweak overrides a some behavior in that class which could cause the developer grief.  It also adds a new required onRunTurn() method which derived classes will override and add all of their bots routing logic.

Pull Request Test Coverage Report for Build 1504

4 of 4 (100.0%)  changed or added relevant lines in 1 file are covered.
2 unchanged lines in 1 file lost coverage.
Overall coverage decreased (-0.03%) to 70.045%

Files with Coverage Reduction
New Missed Lines
%

libraries/botbuilder-dialogs/src/componentDialog.ts
2
63.83%

Totals

Change from base Build 1502:
-0.03%

Covered Lines:
2214

Relevant Lines:
3025

💛  - Coveralls


Allow customizing Axios client

This PR adds support for customizing the underlying Axios client.
Resolves SDK-577.

Do you have any instructions about how to customize is made, what should we do in order to make the error go way
{
"code": 500,
"message": "certificate has expired"
}

Do you have any instructions about how to customize is made, what should we do in order to make the error go way
{ "code": 500, "message": "certificate has expired" }

There are some more details here: https://github.com/workos/workos-node/issues/652#issuecomment-1215131043


Clean out use of 'stashcache'

Purge a few 'stashcache'-isms in the codebase and remove out commented lines and unused functionality that pertained to the changeover from the Python codebase.

Ugh, I'm gonna squash


What is the cross-view aware Transformer?

Hi mvsplat team. I have been reading through your paper here https://arxiv.org/abs/2403.14627 and I'm looking for more info about the cross view transformer blocks.

To construct the cost volumes, we first extract multi-view image features with a CNN and Transformer architecture. Specifically, a shallow ResNet-like CNN is first used to extract 4× downsampled per-view image features. Then, we use a multi-view Transformer with self and cross-attention layers to exchange information between different views.

Skimming through the code, it looks like this means you take each feature image (H, W, C) and turn it into a sequence of tokens by a simple reshape into (H*W, C) and then use a transformer model on these tokens, right? And the only other special thing that is happening is the generation of the shifted window masks for the "swin" style attention?
Thanks for the work.

Hi @axbycc-mark, your understanding is correct. But note that the multi-view Transformer is not our contribution. We mainly adopted the architecture from a well-explored multi-view backbone introduced in GMFlow and UniMatch. Kindly refer to those two papers for related motivations and more implementation details. Thanks.


Does this cyphergui support Apache Age graph database extension?

Apache AGE™ is a PostgreSQL Graph database compatible with PostgreSQL's distributed assets.
Reference
https://github.com/apache/age

cypherGUI works through Bolt protocol. I didn't find any information about Bolt support in their docs. That means no.


numpy.core._exceptions._UFuncNoLoopError: ufunc 'add' did not contain a loop with signature matching types (dtype('int64'), dtype('<U1')) -> None

I'm new to python and cellphonedb, and I'm trying to analyze my data following the tutorial. I got this error when I start the analysis:

deconvoluted, means, relevant_interactions, significant_means = cpdb_degs_analysis_method.call(cpdb_file_path = 'cpdb_database/v4.1.0/cellphonedb.zip', meta_file_path = 'meta_for_cpdb.txt', counts_file_path = 'd25d47sc.qc.h5ad', degs_file_path = 'DEGs_for_cpdb.txt', counts_data = 'hgnc_symbol', threshold = 0.1, output_path = 'output')
[ ][CORE][10/08/23-18:15:15][INFO] [Cluster DEGs Analysis] Threshold:0.1 Precision:3
[ ][CORE][10/08/23-18:15:15][WARNING]

DEGs ANALYSIS IS AN EXPERIMENTAL METHOD STILL UNDER DEVELOPMENT!

Reading user files...
The following user files were loaded successfully:
d25d47sc.qc.h5ad
meta_for_cpdb.txt
DEGs_for_cpdb.txt
[ ][CORE][10/08/23-18:15:22][INFO] Running Real Analysis
Traceback (most recent call last):
File "", line 1, in
File "/home/sun/miniconda3/lib/python3.9/site-packages/cellphonedb/src/core/methods/cpdb_degs_analysis_method.py", line 133, in call
real_mean_analysis = cpdb_statistical_analysis_helper.mean_analysis(interactions_filtered,
File "/home/sun/miniconda3/lib/python3.9/site-packages/cellphonedb/src/core/methods/cpdb_statistical_analysis_helper.py", line 359, in mean_analysis
columns=(pd.Series(cluster1_names) + separator + pd.Series(cluster2_names)).values)
File "/home/sun/miniconda3/lib/python3.9/site-packages/pandas/core/ops/common.py", line 81, in new_method
return method(self, other)
File "/home/sun/miniconda3/lib/python3.9/site-packages/pandas/core/arraylike.py", line 186, in add
return self._arith_method(other, operator.add)
File "/home/sun/miniconda3/lib/python3.9/site-packages/pandas/core/series.py", line 6112, in _arith_method
return base.IndexOpsMixin._arith_method(self, other, op)
File "/home/sun/miniconda3/lib/python3.9/site-packages/pandas/core/base.py", line 1348, in _arith_method
result = ops.arithmetic_op(lvalues, rvalues, op)
File "/home/sun/miniconda3/lib/python3.9/site-packages/pandas/core/ops/array_ops.py", line 232, in arithmetic_op
res_values = _na_arithmetic_op(left, right, op)  # type: ignore[arg-type]
File "/home/sun/miniconda3/lib/python3.9/site-packages/pandas/core/ops/array_ops.py", line 171, in _na_arithmetic_op
result = func(left, right)
numpy.core._exceptions._UFuncNoLoopError: ufunc 'add' did not contain a loop with signature matching types (dtype('int64'), dtype('<U1')) -> None

The data looks fine:

adata = anndata.read_h5ad(d25d47sc.qc.h5ad)
Traceback (most recent call last):
File "", line 1, in
NameError: name 'd25d47sc' is not defined
adata = anndata.read_h5ad('d25d47sc.qc.h5ad')
adata.shape
(14482, 32481)
metadata = pd.read_txt('meta_for_cpdb.txt', sep = '\t')
Traceback (most recent call last):
File "", line 1, in
AttributeError: module 'pandas' has no attribute 'read_txt'
metadata = pd.read_table('meta_for_cpdb.txt', sep = '\t')
metadata.head(3)
barcode_sample  cell_type
0  AAACCCAAGTGGTCAG-1          2
1  AAACCCATCACTTGTT-1          6
2  AAACGAAAGAGCACTG-1          9
metadata.shape
(14482, 2)
list(adata.obs.index).sort() == list(metadata['barcode_sample']).sort()
True
pd.read_table('DEGs_for_cpdb.txt', sep = '\t').head(3)
cluster    gene
0        0  COL2A1
1        0    CNMD
2        0   SNORC

I do the analysis in Ubuntu 20.04, with conda and python 3.9.
How to deal with this error?

Hi.
From the error you show I can't think what the problem is, I have the feeling the issue could be with one of the files you provide. Can run the same method but with the data we provided in the examples notebooks? This way we can discard whether CellPhoneDB is correctly installed in your environment.
Thanks

@ktroule Thank you for your very kind suggestion. I ran cpdb with the example data without error, indicating that there's something wrong with my data. I exported the files from the seurat object 'a', with the following script:
a.markers <- FindAllMarkers(a, only.pos = TRUE, min.pct = 0.25, logfc.threshold = 0.3)
DEGs.cpdb <- a.markers %>% filter(p_val_adj<0.05)
DEGs.cpdb <- DEGs.cpdb %>% select(cluster, gene)
write.table(DEGs.cpdb, file="degs_for_cpdb.txt", row.names=F, sep = "\t", quote = F)
meta <- as.matrix(a$seurat_clusters)
write.table(meta, file="meta_for_cpdb.txt", row.names=T, col.names = NA, sep = "\t", quote = F)
a.counts <- as.matrix(a@assays$RNA@counts)
write.table(a.counts, file="counts_for_cpdb.txt", row.names=T, col.names = NA, sep = "\t", quote = F)
Is there anything I can do to solve this problem?
Thanks again for your help.

@ktroule  Thank you for your very kind suggestion. I ran cpdb with the example data without error, indicating that there's something wrong with my data. I exported the files from the seurat object 'a', with the following script:
a.markers <- FindAllMarkers(a, only.pos = TRUE, min.pct = 0.25, logfc.threshold = 0.3)
DEGs.cpdb <- a.markers %>% filter(p_val_adj<0.05)
DEGs.cpdb <- DEGs.cpdb %>% select(cluster, gene)
write.table(DEGs.cpdb, file="degs_for_cpdb.txt", row.names=F, sep = "\t", quote = F)
meta <- as.matrix(a$seurat_clusters)
write.table(meta, file="meta_for_cpdb.txt", row.names=T, col.names = NA, sep = "\t", quote = F)
a.counts <- as.matrix(a@assays$RNA@counts)
write.table(a.counts, file="counts_for_cpdb.txt", row.names=T, col.names = NA, sep = "\t", quote = F)
I tried both h5ad and txt format for the counts file. h5ad file was obtained from the seurat object using sceasy.
Is there anything I can do to solve this problem?
Thanks again for your help.

@ktroule Progress reporting
I think I solved the problem :)
The Error occurs because I used the cluster number as cell type, but they are numeric rather than character. I changed the cell type names and the codes went through successfully.

i meet the same issue, maybe cellphonedb need to handle the case that when the cell_type is number instead of string that the user haven't annotate yet

Thanks for the suggestion.


SVG logo

In order to use the last version of sbt-microsites we need to convert the brand png into svg format

This was closed thorugh #317


Maya: Texture hardlinks enabled (again) by default in Looks

Bug
We've disabled creation of hardlink for textures by default in #995 but for some reason, this is not in place anymore.
Hardlinks are not very reliable in some scenarios because of opened handles, making them unusable mainly for Hero versions and so on.
Wheter to disable it directly in code, or enable force copy on look instance by default is matter of question.
Related to #879
[cuID:25ej2zj]

Wheter to disable it directly in code, or enable force copy on look instance by default is matter of question.

If we would want to disable in code. Would we want to disable any hardlink feature whatsoever, or only for Looks?
Because the Integrate Hero Version also seems to do hardlinks by default. Which gets around most of the "file in use" issues on Windows due to the original file not getting renamed but the parent folder (version folder) as a backup.

I would suggest not to clutter the look instance with unnecessary attributes and just use the copy in the code.
In this case hardlinks are causing the issue with "file is used by another process" so it is interesting to read that in other cases it is helping to prevent similar issues.

I would suggest not to clutter the look instance with unnecessary attributes and just use the copy in the code.

Be aware that forceCopy is already an existing attribute on the Look instance.

Is this still an ongoing issue currently @antirotor @m-u-r-p-h-y ?

I suppose it is fixed, but will double check with devs.
Thank you @BigRoy for going through the issues!

the thing is, with windows hardcoded force_copy = True (which we needed to fix a client issue)
we should now change it the way it is off by default but it could be overriden on the instance as we have the setting there

which does not work on windows now


"Open Settings" no longer has a keybinding

See also #159875 which I confirmed on Windows but @rzhao271 was unable to reproduce.

If I had to guess: https://github.com/microsoft/vscode/commit/3b26f306d8e7373947acd772106047c5dbb20427

Duplicate of #159875


List queries are failing

Hi,
first, thanks for a great addon!
lately however things are starting to fail. Drama list, Drama movies, and recently filtered no longer work.
It would be great if they could be restored.
Thank you.

It seems to work from my test. Have you tried to reinstall it?

@groggyegg No I haven't - I really don't want to lose my recently watched list which I use to capture what I have, and what I intend to watch. - I'm surprised those features still work for you, I assumed the api had changed a bit and broken this code.
thanks.

Since when did this stop working? I only know that the user db was updated on 3.2.0. But if later version worked for you before then it might be other issue.

Regarding drama list/movies, these are stored in internal db that comes with the addon when installed/updated and should never be an issue.

@groggyegg re drama list and drama movies - I'm specifically talking about the search for these. It just fails. and whilst my recently my recently filtered search list exists the actual searches fail too.
When I select for example 'Korean Drama', then just hit done on the next screen I get an error in a popup toast 'on Conflict clause does not match any primary key'
This does indeed look like a local db issue - If you can tell me what sqllite db I'm looking in maybe I can identify the problem row(s) and fix them. I've commonly seen broken bits of various addons where something fails to write a primary key at all - maybe something similar is going on here?

I'm running Kodi 20.5 with Dramacool addon v3.2.8. When I try to list files for Drama, get error message "On CONFLICT does not match"
Log file uploaded at: https://paste.kodi.tv/miqipahixu

Closing since a workaround exist.


How to print multiple pages?

Does it support automatic pagination to display only a part of the content when printing a long ListView? What methods are available to paginate and display the entire content?

Currently this is not supported. Feel free to open a feature request or a PR to implement this functionality.
Also there currently is an open issue (bug) regarding ListViews. See #66

Blocked by https://github.com/DavBfr/dart_pdf/issues/1680


KeyError: 'input_2' while running data generators in fit_generator

Creating a new issue for this comment https://github.com/tensorflow/neural-structured-learning/issues/73#issuecomment-731274617
Using fit generator and nsl to train an image multi-label classifier
I have already split full_df into train_df and valid_df dataframes.
IMG_SIZE = (128, 128)
core_idg = ImageDataGenerator(samplewise_center=True,
                              samplewise_std_normalization=True,
                              horizontal_flip = True,
                              vertical_flip = False,
                              height_shift_range= 0.05,
                              width_shift_range=0.1,
                              rotation_range=5,
                              shear_range = 0.1,
                              fill_mode = 'reflect',
                              zoom_range=0.15)
# custom flow_from_dataframe
def flow_from_dataframe(img_data_gen, in_df, path_col, y_col, **dflow_args):
    base_dir = os.path.dirname(in_df[path_col].values[0])
    print('## Ignore next message from keras, values are replaced anyways')
    df_gen = img_data_gen.flow_from_directory(base_dir,
                                     class_mode = 'sparse',
                                    **dflow_args)
    df_gen.filenames = in_df[path_col].values
    df_gen.classes = np.stack(in_df[y_col].values)
    df_gen.samples = in_df.shape[0]
    df_gen.n = in_df.shape[0]
    df_gen._set_index_array()
    df_gen.directory = '' # since we have the full path
    print('Reinserting dataframe: {} images'.format(in_df.shape[0]))
    return df_gen

def nsl_train_generator(datagen):
    train_gen = datagen.flow_from_dataframe(dataframe=train_df,
                                         directory=None,
                                         x_col = 'newpath',
                                         y_col = 'newLabel',
                                         class_mode = 'categorical',
                                         classes = all_labels,
                                         target_size = IMG_SIZE,
                                         color_mode = 'rgb',
                                         batch_size = 64)
    for x_batch, y_batch in train_gen:
         yield {'feature': x_batch, 'label': y_batch}

def nsl_valid_generator(datagen):
    valid_gen = datagen.flow_from_dataframe(dataframe=valid_df,
                                         directory=None,
                                         x_col = 'newpath',
                                         y_col = 'newLabel',
                                         class_mode = 'categorical',
                                         classes = all_labels,
                                         target_size = IMG_SIZE,
                                         color_mode = 'rgb',
                                         batch_size = 1024)
    for x_batch, y_batch in valid_gen:
         yield {'feature': x_batch, 'label': y_batch}

the above functions nsl_train_generator and nsl_valid_generator, I referred #3 (comment)
train_generator = nsl_train_generator(core_idg)
valid_generator = nsl_valid_generator(core_idg)
hist = adv_model.fit_generator(train_gen,
                              steps_per_epoch=STEP_SIZE_TRAIN,
                              validation_data = valid_gen,
                              epochs = 1,
                              callbacks = callbacks_list)

I'm getting this error,
Found 42276 validated image filenames belonging to 13 classes.
---------------------------------------------------------------------------
KeyError                                  Traceback (most recent call last)
<ipython-input-38-6b51ad0b4644> in <module>()
      4                               validation_data = valid_gen,
      5                               epochs = 1,
----> 6                               callbacks = callbacks_list)
      7

15 frames
/usr/local/lib/python3.6/dist-packages/neural_structured_learning/keras/adversarial_regularization.py in <listcomp>(.0)
    633         # Converts input dictionary to a list so it conforms with the model's
    634         # expected input.
--> 635         inputs = [inputs[name] for name in base_input_names]
    636     elif not self._base_with_labels_in_features:
    637       # Removes labels and sample weights from the input dictionary, since they

KeyError: 'input_2'

Thanks for your question, @WrathofBhuvan11.
The error is due to that Keras doesn't know which features in the input dictionary to feed to the model. One solution is to name the input placeholder during model construction:
x_in = tf.keras.Input(shape=..., dtype=..., name='feature')
y_pred = ...
model = tf.keras.Model(inputs=x_in, outputs=y_pred)

With the name argument, Keras will use the corresponding feature in the input dictionary for follow-up computation.

Thanks for your question, @WrathofBhuvan11.
The error is due to that Keras doesn't know which features in the input dictionary to feed to the model. One solution is to name the input placeholder during model construction:
x_in = tf.keras.Input(shape=..., dtype=..., name='feature')
y_pred = ...
model = tf.keras.Model(inputs=x_in, outputs=y_pred)

With the name argument, Keras will use the corresponding feature in the input dictionary for follow-up computation.

Thankyou for your response. It worked perfectly. Thankyou once again.

Thanks for your question, @WrathofBhuvan11.
The error is due to that Keras doesn't know which features in the input dictionary to feed to the model. One solution is to name the input placeholder during model construction:
x_in = tf.keras.Input(shape=..., dtype=..., name='feature')
y_pred = ...
model = tf.keras.Model(inputs=x_in, outputs=y_pred)

With the name argument, Keras will use the corresponding feature in the input dictionary for follow-up computation.

I have a quick question for you sir, regards NSL.
In theory how effective will NSL work for hierarchical multi label classification?

If we have information about the hierarchical structure in the labeling space, we should be able to leverage the 'nearby' labels (for example, labels under the same parental class) to enhance the learning. But how to effectively do this remains as an open and research question. My intuition is by leveraging the structure in the labeling space, the model should learn more effectively compared to regular DNN classifiers.
Let's use task of semantic segmentation as an example. Assume 'beach' and 'sea' are under the same parental category 'scenery', while 'people' and 'pets' are under another 'portrait' category. In this hierarchy, the distance between 'beach' and 'sea' should be shorter (since they are under the same parental class) than the distance between 'beach' and 'pet' (under different parental class). The taste is similar to graph regularization where the structure is in the feature space, not label space.
This means when we are training/telling the model that it's incorrect to segment 'beach' as 'sea', but not as wrong to segment 'beach' as 'pet'. See the illustration of Fig 1 in this paper.
Happy to discuss further.

If we have information about the hierarchical structure in the labeling space, we should be able to leverage the 'nearby' labels (for example, labels under the same parental class) to enhance the learning. But how to effectively do this remains as an open and research question. My intuition is by leveraging the structure in the labeling space, the model should learn more effectively compared to regular DNN classifiers.
Let's use semantic segmentation as an example. Assume 'beach' and 'sea' are under the same parental category 'scenery', while 'people' and 'pets' are under another 'portrait' category. In this hierarchy, the distance between 'beach' and 'sea' should be shorter (since they are under the same parental class) than the distance between 'beach' and 'pet' (under different parental class). The taste is similar to graph regularization which leverages the structure is in the feature space---and in this case the structure is in the labeling space.
This means when we are training/telling the model that it's incorrect to segment 'beach' as 'sea', but not as wrong to segment 'beach' as 'pet'. Maybe the illustration of Fig 1(a)(c) in this paper can provide some intuition for this explanation.
Happy to discuss further.

Thankyou for sharing your insights.. I'll go through the paper.

If we have information about the hierarchical structure in the labeling space, we should be able to leverage the 'nearby' labels (for example, labels under the same parental class) to enhance the learning. But how to effectively do this remains as an open and research question. My intuition is by leveraging the structure in the labeling space, the model should learn more effectively compared to regular DNN classifiers.
Let's use semantic segmentation as an example. Assume 'beach' and 'sea' are under the same parental category 'scenery', while 'people' and 'pets' are under another 'portrait' category. In this hierarchy, the distance between 'beach' and 'sea' should be shorter (since they are under the same parental class) than the distance between 'beach' and 'pet' (under different parental class). The taste is similar to graph regularization which leverages the structure is in the feature space---and in this case the structure is in the labeling space.
This means when we are training/telling the model that it's incorrect to segment 'beach' as 'sea', but not as wrong to segment 'beach' as 'pet'. Maybe the illustration of Fig 1(a)(c) in this paper can provide some intuition for this explanation.
Happy to discuss further.

Hello sir, I have one follow up question.
Let's say I have 13 classes. And it's a hierarchical multi label classification problem.
So if I have embedded matrix of shape (13,100) where 100 is word embedding dimension. How can I use this matrix knowledge in enhance traditional CNN based image classifier ? Is there a way to use Neural structure learning graph API to include this embedded matrix?

There are several ways to leverage the structured information in the labeling space. One example is like the method described in this paper. Currently NSL does not have APIs to directly support leveraging structured information in the labeling space for training.

There are several ways to leverage the structured information in the labeling space. One example is like the method described in this paper. Currently NSL does not have APIs to directly support leveraging structured information in the labeling space for training.

How to effectively leverage structured information in the labeling space remains as an open-ended and research question. Some research works have been proposed for this goal (one example work). Currently NSL does not have direct support using the structured signals in the labeling space.

How to effectively leverage structured information in the labeling space remains as an open-ended and research question. Some research works have been proposed for this goal (one example work). Currently NSL does not have direct support using the structured signals in the labeling space.


test job, please disregard

Please disregard this test job

Test this please

Another comment test

correct horse battery staple

another comment


update to es6

My first pass at refactoring this repo
cc: #3
Since there are a number of stand-alone repositories in this organization, one cool idea might be to add detailed annotations to each of these in order to give people interested in functional programming a low-level understanding of these functions' implementations. There are a multitude of guides, like your repo on fp jargon, and large repositories, like Ramda, that implement these functions but this might be a good opportunity to dissect some of these principles.
Thoughts?

Sounds great, it was in the road map to do this, thanks for taking the initiative, I am adding you to the org, feel free to play around.
WRT to PR Travis seems to be bit unhappy.


Update core.py

Return to invoice expiration.
Change
https://github.com/lnbits/bolt11/blob/master/bolt11/core.py
Add
def decode(bech32_pr: str) -> LightningInvoice:
    return LightningInvoice(expiry=tags["x"])

See #2 . This change won't work anyway, because x is not always set.
Better to use expiry_time that returns x or one hour by default.

See #2 . This change won't work anyway, because x is not always set.
Better to use expiry_time that returns x or one hour by default.


Better character color shuffling

I feel our character color changing could improve by making the color change for every pixel in the same character. As it stands, each character has all of it's pixels be painted the same color.
Examples:
VsCode scrollbar:

Ours:

Faking color differences would be unnecessary if #7 was implemented.


Flicker at first character of the line in Windows

Rustyline currently seems to flicker at the first character when typing/backspacing, but this seems to only affect Windows - I haven't seen it on Linux.
I tried to record an animated gif so you can see it:

In practice, it flickers more than you can see in the gif, but this should at least show where it's flickering.

Sorry, I don't have access to a Windows 10 console.
I will try to reproduce with ConEmu on Windows 7.
If you can do the same test with linefeed or replxx, tell me if they flicker or not.

I don't see the same flicker using linefeed (though I think the performance of rustyline is a bit better on Windows, from what I could tell)

Ok, I can reproduce this issue on Windows 7.
It happens when we do a full refresh/redraw of the line (because there is an hint/suggestion or when you press backspace).
There is a WIP here to optimise refresh.
I guess screen flickers because the cursor is first moved at column zero.
I will try to avoid moving the cursor.

https://github.com/AmokHuginnsson/replxx/commit/40774d131eba1aced11447d7bb21070f1678f243
=> Hide / Show cursor
=> Clear screen with an ANSI escape sequence when supported

Could you please give PR #370 a try ?

Should be fixed in 6.1.2


Parse changesets and insert them into Solr

Short term goals:

tokenize changesets (for each lang.)
remove stop words (for each lang.)

and insert into Solr

We could add a few regular expressions specific to each language here. For instance, removing variable names if they are on the left side of an '=' sign in most imperative languages. It would help control the noise.

Finished as of https://github.com/vcu-swim-lab/KnowHows/commit/f1aba4ab51e5a75690e4ea6205ff85d8c5c13130

Updated issue title to be more accurate.


Fix method signature of g2config.Load()

See https://github.com/Senzing/g2-sdk-go/issues/76

Pull requests:

https://github.com/Senzing/serve-grpc/pull/108


mouseHoverAnchor style: null not working

Hi!
When declaring my mouseHoverAnchor with
LeaderLine.mouseHoverAnchor({
	element: device,
	showEffectName: 'draw',
	style: null
})

I'm still getting that weird styling....

How do I get rid of this? I want it to stay the normal element and not to be changed

Hi @Psychokiller1888, thank you for the comment.
That is correct behavior. If you want to disable adding style properties, you have to specify the style properties like style: {backgroundImage: null, backgroundColor: null}, not style: null.
See document: https://anseki.github.io/leader-line/#style

Thanks for the fast reply!
Still does it though...

And comes with a slight movement also

And also, where do we see all the props it is changing??

Sorry, could you explain that?

What did you do?
And, what is result you want?

Ok:

We don't know what css properties you are changing
Shooting in the dark with

this.connectionLinks[link.id] = new LeaderLine(
	LeaderLine.mouseHoverAnchor({
		element: device,
		showEffectName: 'draw',
		style: {
			backgroundImage: null,
			backgroundColor: null,
			backgroundSize: null,
			backgroundUrl: null,
			width: null,
			height: null,
			top: null,
			bottom: null,
			left: null,
			right: null,
			cursor: device.style.cursor
		}
	}
),

I do show() the lines when a specific tool on my UI is activated. When activated, you can see that the AliceCore icon slightly moves and that it is still transformed on mouseHover:

You have to specify hoverStyle option.
See document to save time.

what... are.... the css.... properties.... that are changed....??

Ok, forget it, I totally drop mouseHoveerAnchor, it's way too complicated to geet ride of a styling I don't want, thx
Consider adding styling: null for easier use

And btw, the documentation says:
hoverStyle
Type: Object
Default: undefined

This works same to style option except that these style properties are added when a mouse enters the element.

Default: undefined, so we expect it to be.... undefined.... And not plugin defined.......

It's ok. :smile:


Torii Session Service does not inject into routes/controllers

Have pored over several tutorials for an EmberFire / Torii setup and am not able to get the session service to work at all. Is a step missing or is there possibly an issue with newer versions of EmberJS when injecting the session service?
environment.js
module.exports = function(environment) {
  var ENV = {
    ...
    firebase: {
      apiKey: '',
      authDomain: '',
      databaseURL: '',
      storageBucket: ''
    },
    torii: { sessionServiceName: 'session' },
    ...
  };
}

app/torii-adapters/application.js
import Ember from 'ember';
import ToriiFirebaseAdapter from 'emberfire/torii-adapters/firebase';

export default ToriiFirebaseAdapter.extend({
  firebase: Ember.inject.service()
});

routes/application.js
import Ember from 'ember';

export default Ember.Route.extend({
  beforeModel: function() {
    return this.get("session").fetch().catch(function() {});
  },
  ...
}

Browser console when visiting application route:
ember.debug.js:28058Error while processing route: index Cannot read property 'fetch' of undefined TypeError: Cannot read property 'fetch' of undefined

Guides consulted while trying to sort this out:
http://www.programwitherik.com/emberjs_2-0_example_app_with_firebase/
http://www.danielgynn.com/third-party-auth-in-ember-with-firebase/
Package versions -
"ember-cli": "2.3.0",
"emberfire": "2.0.1",
"ember": "~2.3.1",
"firebase": "^3.0.0"

same problem , i just reported.
It is running fine with ember serve but when running on production it give that weird error.

@thedig this seems like a bug. this file should be running and setting up the injection when called here.

I npm install'd torii and it worked after that. Something is wrong with the bower side.

I encountered the same problem. @kcgolden I also did an extra npm install torri without any luck. How did you managed to get it working?
Package versions:
"ember-cli": "2.9.1",
"ember-data": "^2.9.0",
"emberfire": "2.0.5",
"torii": "0.8.1"

Never mind. I had a typo in the environment configuration. I had sessionsServiceName instead of sessionServiceName.

Bump, I followed https://www.danielgynn.com/third-party-auth-in-ember-with-firebase/
Error I'm getting is just an undefined.  Trying google sign in with firebase and getting a random undefined.

Also getting this issue...

Oddly enough, I built a new Ember instance and it now works following this guide-
https://blog.isnorcreative.com/2016/07/30/ember-firebase.html
I had tried using it before, and it wasn't working. After resetting my original env and then copy/pasting everything over, it now works... ¯_(ツ)_/¯

For me it was because I hosted my application on cloud9 so it had its own public url.  For Firebase auth, any domain other than localhost or the firebase domain which you can deploy your app must be added to the whitelist in the firebase console.

I'm going to close this as it seems the original issue is ok, and there are a few other issues that ended up mixed in here. Please feel free to open something fresh!


Improved event discovery (Laravel 10/11 compatible)

OK, this turned out to be more of a beast than I expected. Because of the way Laravel has special handling for the EventServiceProvider, a lot of the event discovery stuff needed to be rewritten. This takes into account event auto-discovery and event caching (which each operate slightly differently). It also builds on @Wulfheart's work in #82, allowing for explicitly enabling or disabling auto-discovery via a config option.

When will it be available for composer update?

@mra-dev just tagged a new release.


drop models which no longer exist in a project

How do we implement this? I'm afraid of dropping models too aggressively but this might be one of those "great power, great responsibility" scenarios. Some sort of dry-run + a confirmation dialog would go a long way to making me feel better about this.
A stopgap here is to just drop the entire schema, then re-run from scratch.

I made a suggestion in the Slack channel to DROP and CREATE the target schema. I think this is quite dangerous because of dependent objects. If there are any dependent objects, we'd have to run a DROP...CASCADE which could cause problems in other schemas.

Some updated thinking:
This isn't something that we think dbt should actually do. dbt projects should be built s.t. entire schemas can be dropped and recreated at any time. That's the approach we recommend. If folks want to selectively find "stale" relations, they can do so using system catalog tables, or by querying dbt's compiled catalog.json and manifest.json files.
Happy to discuss if anyone from the future finds this issue.


JSON RPC WebSocket API:  subscribeConversation

JSON RPC WebSocket API Documentation:  subscribeConversation
Overview
This document describes the JSON RPC WebSocket API for subscribing to a conversation. It provides a way for clients to receive real-time updates in a conversation thread.
WebSocket Endpoint

URL: wss://protocol.xmtp.com/v1/conversation
Protocol: WebSocket

JSON RPC Protocol
This API follows the JSON RPC 2.0 specification. All messages sent and received are expected to be in valid JSON format.
Authentication
To establish a secure WebSocket connection.  This api may be public and does not require authentication.
Method
1. subscribeConversation
Subscribes the client to receive updates for a specific conversation.

Parameters:

conversationId (string): Unique identifier for the conversation.
startBlock (optional, string): Timestamp to receive updates from. If not provided, defaults to the current time.

Response:

Success: {"jsonrpc": "2.0", "result": "Subscribed to conversation [conversationId]", "id": [requestId]}
Error: Standard JSON RPC error format.

2. see unsubscribeConversation
Notifications
When subscribed to a conversation, the client will receive notifications in the following format:

Method: conversationUpdate
Parameters:

conversationId (string): Identifier of the conversation.
event (string):  Event triggering update: PayloadSent
messages (array): Array of new message objects since the last update.

Error Handling
The API uses standard JSON RPC error responses. Common error codes include:

-32601: Method not found.
-32602: Invalid params.
-32603: Internal error.

Examples
Request:
{
  "jsonrpc": "2.0",
  "method": "subscribeConversation",
  "params": {
    "conversationId": "0x1234abcd..."
  },
  "id": 1
}

Notification:
{
  "method": "conversationUpdate",
  "params": {
    "conversationId": "12345",
    "event": "PayloadSent"
    "messages": [
      {
        "blockNumber": "67890",
        "timestamp": "2024-01-05T12:00:00Z",
        "payload": "<bytes...>"
      }
    ]
  }
}

Possible Implementation
    let conversation_topic = [H256::from(conversation_id)];
    let contract_addr = SENDER_CONTRACT.parse::<Address>().unwrap();
    let filter = Filter::new()
        .from_block(U64::from(start_block.as_u64()))
        .event("PayloadSent(bytes32,bytes,uint256)")
        .address(vec![contract_addr])
        .topic1(conversation_topic.to_vec());

    let mut stream = self.client.subscribe_logs(&filter).await.unwrap();
    while let Some(log) = stream.next().await {
        if tracing::level_enabled!(tracing::Level::TRACE) {
            tracing::trace!("log: {:?}", log);
        }
        let param_result = abi_decode_payload_sent(log.data.to_vec());
        if let Ok(param) = param_result {
            tracing::debug!("param: {:?}", param);
            let message = param[0].clone().into_string().unwrap();
            tracing::trace!("message: {message}");
            callback(&message);
        } else {
            let err = param_result.unwrap_err();
            tracing::error!("param error: {:?}", err);
            return Err(err);
        }
    }
    Ok(())

Versioning and Updates
This document describes version 1.0 of the API. Future updates and changes will be communicated as necessary.

Reference implementation:  https://github.com/xmtp/xps-conversation-producer


Psych Engine keeps crashing for no reason

Describe your bug here.
Im using a downloaded build of psych engine 0.5.1 and the engine keeps crashing for no reason, idk why, like its not giving me a warning or something, The engine lags more as i get into a song aswell
Command Prompt/Terminal logs (if existing)
No response
Are you modding a build from source or with Lua?
Lua
What is your build target?
Windows
Did you edit anything in this build? If so, mention or summarize your changes.
I added 2 lua scripts. Literally 2 of them.

A bug on an outdated version isn't valid

ok


Undefined symbols when used as dependency of multiple targets (Swift Packages in Xcode)

Describe the bug
When building the app, I get undefined symbol errors, saying that it can't find symbols that exist in AppAuthCore:
ld: Undefined symbols:
  _OBJC_CLASS_$_OIDAuthState, referenced from:
       in GoogleSignIn.o
  _OBJC_CLASS_$_OIDAuthorizationRequest, referenced from:
       in GoogleSignIn.o
  _OBJC_CLASS_$_OIDAuthorizationService, referenced from:
       in GoogleSignIn.o
  _OBJC_CLASS_$_OIDIDToken, referenced from:
       in GoogleSignIn.o
  _OBJC_CLASS_$_OIDServiceConfiguration, referenced from:
       in GoogleSignIn.o
  _OBJC_CLASS_$_OIDURLQueryComponent, referenced from:
       in GoogleSignIn.o
  _OIDOAuthErrorResponseErrorKey, referenced from:
      +[GIDEMMSupport handleTokenFetchEMMError:completion:] in GoogleSignIn.o
  _OIDOAuthTokenErrorDomain, referenced from:
      ___53-[GIDGoogleUser refreshTokensIfNeededWithCompletion:]_block_invoke.22 in GoogleSignIn.o
  _OIDResponseTypeCode, referenced from:
      -[GIDSignIn authenticateInteractivelyWithOptions:] in GoogleSignIn.o
clang: error: linker command failed with exit code 1 (use -v to see invocation)

This only happens if GoogleSignIn is added as a dependency of multiple targets that end up in the resulting app. If GoogleSignIn is only included into one target, it seems to be OK. But when it's included in multiple targets, I get the error above.
I have created a reproducible sample using the ObjC sample app provided by this repo.
To Reproduce
Steps to reproduce the behavior:

Open the sample app in Xcode
Create another Framework target that the main app depends on
Make the new Framework target depend on GoogleSignIn
Build the app -- see the errors

Or checkout the reproducible sample that I put together and try building it.
The app is basically structured like this in terms of project and dependencies:
.
└── AppTarget
    ├── GoogleSignIn
    ├── OnboardingFramework
    │   └── GoogleSignIn
    └── LoginFramework
        └── GoogleSignIn

Expected behavior
The app should build.
Screenshots
[available on request, but really nothing worth sharing, I don't think?]
Environment

GoogleSignIn-iOS Versions: 7.1.0, 6.2.4
Xcode: Have tried on Xcode 15.2, 15.3, and 15.4
OS: macOS 14.4.1, 14.5

@cjwirth do you have any solution for this scenario as a workaround?

The same problem occurs when you have App and Unit Testing Bundle and both import GoogleSignIn


TypeScript

Interested to see whether this leans more towards the C# heritage of some of its early adopters or the wider JS community

You can check it out now!


Focus order of pseudo-element scroll markers

What should the focus order of the generated scroll markers be? Currently what's implemented in the polyfill puts them immediately after the scrollable area, but the tree order for pseudo elements would usually place them immediately after their originating element.
there are a few options here:

Immediately before the scrollable area.
Immediately after the scrollable area.
In the order of their originating DOM elements.

I suspect that there are use cases where you would expect 1 (tab-like interfaces) or 2 (marker-like interfaces) depending on where visually the scroll markers appear.
This could be a little odd in that the only tabbable scroll marker, the active one, could be either before or after the content you have focused in the scroller.

Also, the focus order of the next/prev buttons are in this tab flow too, should the buttons go before or after the markers or before or after the focusable scroller? do the a11y guidelines have any answers for us?


operator kiali (1.69.0)

/retest-required

Can someone tell me what is going wrong here and how this can be fixed? This looks unrelated to anything that has to do with my operator:
TASK [bundle_validation_filter : Set fact] *************************************
fatal: [localhost]: FAILED! =>
  msg: |-
    The task includes an option with an undefined variable. The error was: 'bvf_label' is undefined. 'bvf_label' is undefined

    The error appears to be in '/home/runner/.ansible/pull/fv-az1028-527.atwrdzpjfxuexoqyq1q1ta0xqe.cx.internal.cloudapp.net/upstream/roles/bundle_validation_filter/tasks/generate_label.yml': line 94, column 3, but may
    be elsewhere in the file depending on the exact syntax problem.

    The offending line appears to be:

    - name: "Set fact"
      ^ here

round and round we go...
/retest-required

/retest-required

i give up.

@haripate @mporrato any ideas what is going on with this PR?

@haripate @mporrato any ideas what is going on with this PR?

Looking into the issue.

failed: could not watch pod: the pod ci-op-ym98xntv/deploy-operator-on-openshift-deploy-operator failed after 19m26s (failed containers: test): ContainerFailed one or more containers exited

I will assume this is more CI related failures, since that pod ci-op-ym98xntv/deploy-operator-on-openshift-deploy-operator is not related to the operator being published in this PR.

/merge possible

/merge possible


[Improvement][UI] There are too many resource file in shell task, it cannot to filter by keywords

Search before asking

[X] I had searched in the issues and found no similar feature requirement.

Description
When i create a shell task, there are too many resource file, it cannot to filter by keywords. My ds version is 3.1.7
Are you willing to submit a PR?

[X] Yes I am willing to submit a PR!

Code of Conduct

[X] I agree to follow this project's Code of Conduct

Sorry, it has fixed https://github.com/apache/dolphinscheduler/pull/13508


Delete redundant copy of DS client

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by:
To fully approve this pull request, please assign additional approvers.
We suggest the following additional approver: rshriram
If they are not already assigned, you can assign the PR to them by writing /assign @rshriram in a comment when ready.
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

pilot/OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

Hi @fisherxu. 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.
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.

/assign @rshriram @costinm

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: rshriram
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

pilot/OWNERS [rshriram]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@fisherxu: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-pilot-multicluster-e2e.sh
d2379a2d3db8a871c4d85501f247112cbe38e928
link
/test istio-pilot-multicluster-e2e

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.

/ok-to-test

@fisherxu: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/e2e-bookInfoTests-v1alpha3.sh
d2379a2d3db8a871c4d85501f247112cbe38e928
link
/test e2e-bookInfo-envoyv2-v1alpha3

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.


fix twitter URL in config example

Hi @athul  👋
Thanks for your awesome theme.
I found a little copy-paste error in the README. This PR fixes it. 😉

Haha. Don't know how I missed that. Thanks @lxxxvi 🤝


Regular Expression code not executed properly

Describe the bug
VBScript.RegExp COM object does not execute code properly when LISPSYS system variable is 1 or 2 (required to use Visual Studio Code extension)
To Reproduce
Steps to reproduce the behavior:
Have AutoCAD 2021 or newer.
(To "run code below", copy and paste entire code into AutoCAD command line.)

LISPSYS variable of 1 or 2
Restart AutoCAD for changes to take effect
Run code below
A dialog box will show "Failed" for incorrect code execution.
LISPSYS variable of 0
Restart AutoCAD for changes to take effect
Run code below
A dialog box will show "Passed" for correct code execution.

((lambda ( / _RegExExecute)
  ;; Clips from Lee Mac BFIND v2.0
  ;; http://www.lee-mac.com/bfind.html
  (or (vl-bb-ref '*REX*)
    (vl-bb-set '*REX* (vlax-create-object "VBScript.RegExp")))
  (defun _RegExExecute ( pat string case / lst )
    (vlax-put    (vl-bb-ref '*REX*) 'Pattern pat)
    (vlax-put    (vl-bb-ref '*REX*) 'Global actrue)
    (vlax-put    (vl-bb-ref '*REX*) 'IgnoreCase (if case acfalse actrue))
    (vlax-for x  (vlax-invoke (vl-bb-ref '*REX*) 'Execute string)
      (setq lst
        (cons (list (vlax-get x 'Value) (vlax-get x 'FirstIndex)) lst)
      )
    )
    lst
  )
  (if
    (_regExexecute
      (strcat "0" (chr 208)(chr 42) "8" (chr 208)(chr 42) "1" (chr 208)(chr 42)) ;; "081" after transformation
      "081618.21"
      t
    )
    ;; ACADE 2020 or older result: '(("081" . 0))
    ;; ACADE 2021 or newer LISPSYS value 0: '(("081" . 0))
    ;; ACADE 2021 or newer LISPSYS value 1 or 2: nil
    (alert "Passed")
    (alert "Failed")
  )
  (princ)
))

Expected behavior
Expected:
ACADE 2020 or older result: '(("081" . 0))
ACADE 2021 LISPSYS value 0: '(("081" . 0))
Test Program Output: "Passed"
Unexpected:
ACADE 2021 LISPSYS value 1 or 2: nil
Test Program Output: "Failed"
Screenshots
N/A
Desktop:

OS: Windows 10 Enterprise
Version: 22H2
OS build: 19045.2486
Intel(R) Xeon(R) W-10855M CPU @ 2.80GHz
32 GB RAM

Additional context
Clips of this code is provided by Lee Mac
Information on LISPSYS
I have ran the code provided above in AutoCAD Electrical 2018 and AutoCAD Electrical 2021.

Hi @jtoverka , thanks for logging this issue.
I reproduced the problem on ACAD 2021, but it seems fixed already on newer versions of ACAD (2022+).
Would you please have a try?

@jtoverka
I'm closing this issue as it has been fixed in newer versions of ACAD.
Please let me know if I'm missing anything.


Maintainer wanted for COBOL list

The current maintainer @dshimy doesn't seem active. Would be happy to switch the link to an actively maintained fork if anyone is interested.
https://github.com/dshimy/awesome-cobol

Why maintain a prank? Anyways those links are not real. Someone copied the links from awesome go.

Lol, I didn't realize.


Update fabfile.py to fix AWS compatibility

The fabfile is currently out of sync with the rest of the codebase, making it impossible to automatically launch an ATM cluster on AWS. This needs to be fixed.

hi,i have built a datarun and classify model as the instructions but i dont know how to use model to test the data ,i mean training has complete ,but i dont  know how to predict the data label ,my data is local csv file .t looking forward to your reply  .i will appreciate it  very much.

@csala can you look into this?


Added E2E Test Check for Serialization

PR Checklist

Please check if your PR fulfills the following requirements:

[x] All new classes have class-level documentation comments, if there are any at all
[x] Tests for the changes have been added (for bug fixes / features)

PR Type
What kind of change does this PR introduce?

[x] Bug fix (non-breaking change that fixes an issue)
[ ] New feature (non-breaking change that adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Refactoring (no functional changes, no api changes)
[ ] Build related changes
[ ] CI related changes
[ ] Documentation update
[ ] Other... Please describe:

What is the current behavior?

What is the new behavior?

The test environment now checks that messages sent over the network are serializable
Other information

Looks good to me, waiting for tests to pass again


Input field loses focus after selecting a result when "proximity" option is set

Input field loses focus after selecting a result when "proximity" option is set.
To reproduce:

Open the official example on codesandbox
Search for something
Click on a result

=> the map is updated, the search field still has focus, OK

Modify the example to add for example proximity={{ latitude: 43, longitude: 1.4 }} in the options
Search for something

=> the map is updated but the field loses the focus, KO
I also tested directly mapbox-gl-geocoder and I cannot reproduce the same behavior so the issue must be in react-map-gl-geocoder.

Hi @humbkr, thanks for reporting the issue. I was able to reproduce the issue following your steps. I'm not sure why it's doing that, but it's possible that I could focus the input after every search to make sure that it always retains focus.

I figured out why it's doing this. react-map-gl-geocoder is creating a new geocoder instance every time the props change. There was a use case for this in the past, but at the moment I cannot recall what it was. I think someone wanted to show and hide or move the geocoder based on some user controls they made. One of these days I'll get around to working on v3, so that users don't have to worry about these issues. For now, you can get it to work by memoizing props that are objects or functions. I've provided an example here https://codesandbox.io/s/react-map-gl-geocoder-memoize-object-props-and-functions-dmwpb.

Thanks for your help.
I managed to make it work for my specific use case, albeit not how I would ideally like to.
The problem is that I would like to use proximity to filter subsequent searches, example:

user arrives on a page, we don't know his location
he searches for a location and select a result
he removes the result and search again

In this case as the proximity parameter must be set in the onResult callback, there is no way of keeping the focus
More generally, there is no way of programmatically giving the focus to the input field, which would be super useful for example after the user has clicked on a "locate me" button.

You can still accomplish what you are trying to do.
For the proximity, you can store the lat and lng in variables in state, update the proximity object values using those values, and then pass those as deps to the useMemo function in my example.
For setting focus to the input you can store a handle to the Mapbox geocoder object by using the onInit prop and imperatively focusing the input when a new Mapbox geocoder object is initialized which would happen after updating the proximity object reference. https://stackoverflow.com/questions/54576282/can-i-auto-focus-a-mapbox-gl-react-geocoder. Not the ideal solution, but I think that would work.
Another way you could go is to copy pasta the source code for react-map-gl-geocoder into your project and customize it to your needs. It's not much code https://github.com/SamSamskies/react-map-gl-geocoder/blob/master/src/index.js. I purposely put everything in one file to make it easy to copy pasta. This may be a better way to go, since I don't have much bandwidth to work on this these days, and have no idea when I'll get around to improving it.


How to turn off auto exposure in Unity

Required Info

Camera Model
D415

Firmware Version
<IP_ADDRESS>

Operating System & Version
Win10

Platform
PC

SDK Version
2.19.0 }

Language
C# / Unity }

Segment
Image Processing

Issue Description
How to turn off auto exposure of RealSense Camera in Unity like Intel RealSense Viewer?

A RealSense user posted a script for toggling auto-exposure in Unity.
https://github.com/IntelRealSense/librealsense/issues/3088
Although they reported that their script was crashing, it turned out to be a problem that was fixed with a firmware update, rather than there being a problem with the code.

@wodndb Did you get it through? Looking forward to your update. Thanks!

@RealSenseCustomerSupport I can't turn off auto exposure mode of RGB sensor. Because RGB sensor can't support enable or disable auto exposure mode in unity.
        if (ActiveProfile.Device.Sensors[1].Options[Option.WhiteBalance].Supported)
        {
            Debug.Log("WhiteBalance is supported");
        }
        else
        {
            Debug.Log("WhiteBalance is not supported");
        }
        if (ActiveProfile.Device.Sensors[1].Options[Option.AutoExposureMode].Supported)
        {
            Debug.Log("AutoExposureMode is supported");
        }
        else
        {
            Debug.Log("AutoExposureMode is not supported");
        }

@wodndb Please refer to below if you want to control RGB sensor. Thanks!
https://github.com/IntelRealSense/librealsense/blob/v2.21.0/wrappers/csharp/Intel.RealSense/Types/Enums/Option.cs#L44

        if (ActiveProfile.Device.Sensors[1].Options[Option.EnableAutoWhiteBalance].Supported)
        {
            Debug.Log("EnableAutoWhiteBalance is supported");
            ActiveProfile.Device.Sensors[1].Options[Option.EnableAutoWhiteBalance].Value = 0.0f;
            ActiveProfile.Device.Sensors[1].Options[Option.WhiteBalance].Value = 6300.0f;
        }
        else
        {
            Debug.Log("EnableAutoWhiteBalance is not supported");
        }

        if (ActiveProfile.Device.Sensors[1].Options[Option.EnableAutoExposure].Supported)
        {
            Debug.Log("EnableAutoExposure is supported");
            ActiveProfile.Device.Sensors[1].Options[Option.EnableAutoExposure].Value = 0.0f;
        }
        else
        {
            Debug.Log("EnableAutoExposure is not supported");
        }

It works well, Thx, @RealSenseCustomerSupport


[WIP]feat(shwap): add RangeNamespaceDataID along with the RangeNamespaceData

First look. The thing which is still unclear to me is why we need to have Sample in the container and why NamespaceData isn't enough

We need to additionally check the from share, to ensure that the whole range is valid. Since the request contains SampleID, I decided to return Sample as well. The other way is to build a sub-range proof for the from share and verify(but the nmt hasn't supported it)


Prevent drawer from swiping to teams when jump to channel is focused

Ticket Link
https://mattermost.atlassian.net/browse/MM-11185

review pending but going to merge anyway it is a very small change


small doc improvements

some typos and links in documentation, including the one capture by @fvoichick in https://github.com/Qiskit/qiskit/pull/12152

@Mergifyio backport stable/1.1 stable/0.46

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

0 of 0   changed or added relevant lines in 0 files are covered.
11 unchanged lines in 2 files lost coverage.
Overall coverage decreased (-0.007%) to 89.584%

Files with Coverage Reduction
New Missed Lines
%

crates/qasm2/src/lex.rs
5
92.11%

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

Totals

Change from base Build<PHONE_NUMBER>:
-0.007%

Covered Lines:
62518

Relevant Lines:
69787

💛  - Coveralls